text stringlengths 2 1.04M | meta dict |
|---|---|
// Generated by ast.js
package com.shapesecurity.shift.es2018.ast;
import javax.annotation.Nonnull;
import com.shapesecurity.functional.data.HashCodeBuilder;
import com.shapesecurity.functional.data.ImmutableList;
public class SwitchDefault implements Node {
@Nonnull
public final ImmutableList<Statement> consequent;
public SwitchDefault (@Nonnull ImmutableList<Statement> consequent) {
this.consequent = consequent;
}
@Override
public boolean equals(Object object) {
return object instanceof SwitchDefault && this.consequent.equals(((SwitchDefault) object).consequent);
}
@Override
public int hashCode() {
int code = HashCodeBuilder.put(0, "SwitchDefault");
code = HashCodeBuilder.put(code, this.consequent);
return code;
}
}
| {
"content_hash": "bdd48c7730370cd02ed038f0f3dfdde6",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 110,
"avg_line_length": 24.11764705882353,
"alnum_prop": 0.7170731707317073,
"repo_name": "shapesecurity/shift-java",
"id": "be76d9b5253a8fcd4684c061a8ecfe0c2e16e8f7",
"size": "1424",
"binary": false,
"copies": "1",
"ref": "refs/heads/es2018",
"path": "generated-sources/main/java/com/shapesecurity/shift/es2018/ast/SwitchDefault.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "3197524"
},
{
"name": "JavaScript",
"bytes": "2901438"
},
{
"name": "Shell",
"bytes": "638"
}
],
"symlink_target": ""
} |
@charset "UTF-8";
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
body {
margin: 0;
}
/* line 33, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/* line 54, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
/* line 67, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
audio:not([controls]) {
display: none;
height: 0;
}
/* line 77, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
[hidden],
template {
display: none;
}
/* line 89, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
a {
background-color: transparent;
}
/* line 98, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
a:active,
a:hover {
outline: 0;
}
/* line 110, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
abbr[title] {
border-bottom: 1px dotted;
}
/* line 118, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
b,
strong {
font-weight: bold;
}
/* line 127, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
dfn {
font-style: italic;
}
/* line 136, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* line 145, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
mark {
background: #ff0;
color: #000;
}
/* line 154, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
small {
font-size: 80%;
}
/* line 162, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
/* line 170, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
sup {
top: -0.5em;
}
/* line 174, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
sub {
bottom: -0.25em;
}
/* line 185, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
img {
border: 0;
}
/* line 193, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
svg:not(:root) {
overflow: hidden;
}
/* line 204, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
figure {
margin: 1em 40px;
}
/* line 212, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
hr {
box-sizing: content-box;
height: 0;
}
/* line 221, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
pre {
overflow: auto;
}
/* line 229, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* line 252, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
/* line 266, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
button {
overflow: visible;
}
/* line 277, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
button,
select {
text-transform: none;
}
/* line 290, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
/* line 302, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
button[disabled],
html input[disabled] {
cursor: default;
}
/* line 311, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/* line 322, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
input {
line-height: normal;
}
/* line 334, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
}
/* line 346, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/* line 356, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
input[type="search"] {
-webkit-appearance: textfield;
box-sizing: content-box;
}
/* line 367, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/* line 376, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/* line 387, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
legend {
border: 0;
padding: 0;
}
/* line 396, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
textarea {
overflow: auto;
}
/* line 405, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
optgroup {
font-weight: bold;
}
/* line 416, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
table {
border-collapse: collapse;
border-spacing: 0;
}
/* line 421, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
td,
th {
padding: 0;
}
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print {
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
*,
*:before,
*:after {
background: transparent !important;
color: #000 !important;
box-shadow: none !important;
text-shadow: none !important;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
a,
a:visited {
text-decoration: underline;
}
/* line 23, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
a[href]:after {
content: " (" attr(href) ")";
}
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
abbr[title]:after {
content: " (" attr(title) ")";
}
/* line 33, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
a[href^="#"]:after,
a[href^="javascript:"]:after {
content: "";
}
/* line 38, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
/* line 44, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
thead {
display: table-header-group;
}
/* line 48, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
tr,
img {
page-break-inside: avoid;
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
img {
max-width: 100% !important;
}
/* line 57, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
/* line 64, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
h2,
h3 {
page-break-after: avoid;
}
/* line 72, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
.navbar {
display: none;
}
/* line 77, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
.btn > .caret,
.dropup > .btn > .caret {
border-top-color: #000 !important;
}
/* line 81, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
.label {
border: 1px solid #000;
}
/* line 85, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
.table {
border-collapse: collapse !important;
}
/* line 88, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
.table td,
.table th {
background-color: #fff !important;
}
/* line 94, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss */
.table-bordered th,
.table-bordered td {
border: 1px solid #ddd !important;
}
}
@font-face {
font-family: 'Glyphicons Halflings';
src: url("../fonts/bootstrap/glyphicons-halflings-regular.eot");
src: url("../fonts/bootstrap/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/bootstrap/glyphicons-halflings-regular.woff2") format("woff2"), url("../fonts/bootstrap/glyphicons-halflings-regular.woff") format("woff"), url("../fonts/bootstrap/glyphicons-halflings-regular.ttf") format("truetype"), url("../fonts/bootstrap/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg");
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon {
position: relative;
top: 1px;
display: inline-block;
font-family: 'Glyphicons Halflings';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-asterisk:before {
content: "\002a";
}
/* line 38, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-plus:before {
content: "\002b";
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-euro:before,
.glyphicon-eur:before {
content: "\20ac";
}
/* line 41, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-minus:before {
content: "\2212";
}
/* line 42, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cloud:before {
content: "\2601";
}
/* line 43, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-envelope:before {
content: "\2709";
}
/* line 44, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-pencil:before {
content: "\270f";
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-glass:before {
content: "\e001";
}
/* line 46, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-music:before {
content: "\e002";
}
/* line 47, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-search:before {
content: "\e003";
}
/* line 48, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-heart:before {
content: "\e005";
}
/* line 49, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-star:before {
content: "\e006";
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-star-empty:before {
content: "\e007";
}
/* line 51, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-user:before {
content: "\e008";
}
/* line 52, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-film:before {
content: "\e009";
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-th-large:before {
content: "\e010";
}
/* line 54, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-th:before {
content: "\e011";
}
/* line 55, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-th-list:before {
content: "\e012";
}
/* line 56, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ok:before {
content: "\e013";
}
/* line 57, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-remove:before {
content: "\e014";
}
/* line 58, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-zoom-in:before {
content: "\e015";
}
/* line 59, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-zoom-out:before {
content: "\e016";
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-off:before {
content: "\e017";
}
/* line 61, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-signal:before {
content: "\e018";
}
/* line 62, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cog:before {
content: "\e019";
}
/* line 63, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-trash:before {
content: "\e020";
}
/* line 64, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-home:before {
content: "\e021";
}
/* line 65, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-file:before {
content: "\e022";
}
/* line 66, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-time:before {
content: "\e023";
}
/* line 67, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-road:before {
content: "\e024";
}
/* line 68, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-download-alt:before {
content: "\e025";
}
/* line 69, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-download:before {
content: "\e026";
}
/* line 70, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-upload:before {
content: "\e027";
}
/* line 71, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-inbox:before {
content: "\e028";
}
/* line 72, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-play-circle:before {
content: "\e029";
}
/* line 73, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-repeat:before {
content: "\e030";
}
/* line 74, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-refresh:before {
content: "\e031";
}
/* line 75, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-list-alt:before {
content: "\e032";
}
/* line 76, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-lock:before {
content: "\e033";
}
/* line 77, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-flag:before {
content: "\e034";
}
/* line 78, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-headphones:before {
content: "\e035";
}
/* line 79, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-volume-off:before {
content: "\e036";
}
/* line 80, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-volume-down:before {
content: "\e037";
}
/* line 81, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-volume-up:before {
content: "\e038";
}
/* line 82, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-qrcode:before {
content: "\e039";
}
/* line 83, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-barcode:before {
content: "\e040";
}
/* line 84, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tag:before {
content: "\e041";
}
/* line 85, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tags:before {
content: "\e042";
}
/* line 86, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-book:before {
content: "\e043";
}
/* line 87, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bookmark:before {
content: "\e044";
}
/* line 88, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-print:before {
content: "\e045";
}
/* line 89, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-camera:before {
content: "\e046";
}
/* line 90, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-font:before {
content: "\e047";
}
/* line 91, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bold:before {
content: "\e048";
}
/* line 92, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-italic:before {
content: "\e049";
}
/* line 93, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-text-height:before {
content: "\e050";
}
/* line 94, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-text-width:before {
content: "\e051";
}
/* line 95, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-align-left:before {
content: "\e052";
}
/* line 96, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-align-center:before {
content: "\e053";
}
/* line 97, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-align-right:before {
content: "\e054";
}
/* line 98, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-align-justify:before {
content: "\e055";
}
/* line 99, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-list:before {
content: "\e056";
}
/* line 100, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-indent-left:before {
content: "\e057";
}
/* line 101, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-indent-right:before {
content: "\e058";
}
/* line 102, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-facetime-video:before {
content: "\e059";
}
/* line 103, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-picture:before {
content: "\e060";
}
/* line 104, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-map-marker:before {
content: "\e062";
}
/* line 105, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-adjust:before {
content: "\e063";
}
/* line 106, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tint:before {
content: "\e064";
}
/* line 107, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-edit:before {
content: "\e065";
}
/* line 108, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-share:before {
content: "\e066";
}
/* line 109, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-check:before {
content: "\e067";
}
/* line 110, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-move:before {
content: "\e068";
}
/* line 111, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-step-backward:before {
content: "\e069";
}
/* line 112, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-fast-backward:before {
content: "\e070";
}
/* line 113, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-backward:before {
content: "\e071";
}
/* line 114, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-play:before {
content: "\e072";
}
/* line 115, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-pause:before {
content: "\e073";
}
/* line 116, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-stop:before {
content: "\e074";
}
/* line 117, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-forward:before {
content: "\e075";
}
/* line 118, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-fast-forward:before {
content: "\e076";
}
/* line 119, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-step-forward:before {
content: "\e077";
}
/* line 120, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-eject:before {
content: "\e078";
}
/* line 121, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-chevron-left:before {
content: "\e079";
}
/* line 122, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-chevron-right:before {
content: "\e080";
}
/* line 123, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-plus-sign:before {
content: "\e081";
}
/* line 124, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-minus-sign:before {
content: "\e082";
}
/* line 125, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-remove-sign:before {
content: "\e083";
}
/* line 126, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ok-sign:before {
content: "\e084";
}
/* line 127, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-question-sign:before {
content: "\e085";
}
/* line 128, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-info-sign:before {
content: "\e086";
}
/* line 129, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-screenshot:before {
content: "\e087";
}
/* line 130, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-remove-circle:before {
content: "\e088";
}
/* line 131, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ok-circle:before {
content: "\e089";
}
/* line 132, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ban-circle:before {
content: "\e090";
}
/* line 133, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-arrow-left:before {
content: "\e091";
}
/* line 134, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-arrow-right:before {
content: "\e092";
}
/* line 135, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-arrow-up:before {
content: "\e093";
}
/* line 136, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-arrow-down:before {
content: "\e094";
}
/* line 137, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-share-alt:before {
content: "\e095";
}
/* line 138, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-resize-full:before {
content: "\e096";
}
/* line 139, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-resize-small:before {
content: "\e097";
}
/* line 140, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-exclamation-sign:before {
content: "\e101";
}
/* line 141, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-gift:before {
content: "\e102";
}
/* line 142, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-leaf:before {
content: "\e103";
}
/* line 143, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-fire:before {
content: "\e104";
}
/* line 144, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-eye-open:before {
content: "\e105";
}
/* line 145, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-eye-close:before {
content: "\e106";
}
/* line 146, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-warning-sign:before {
content: "\e107";
}
/* line 147, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-plane:before {
content: "\e108";
}
/* line 148, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-calendar:before {
content: "\e109";
}
/* line 149, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-random:before {
content: "\e110";
}
/* line 150, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-comment:before {
content: "\e111";
}
/* line 151, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-magnet:before {
content: "\e112";
}
/* line 152, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-chevron-up:before {
content: "\e113";
}
/* line 153, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-chevron-down:before {
content: "\e114";
}
/* line 154, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-retweet:before {
content: "\e115";
}
/* line 155, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-shopping-cart:before {
content: "\e116";
}
/* line 156, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-folder-close:before {
content: "\e117";
}
/* line 157, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-folder-open:before {
content: "\e118";
}
/* line 158, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-resize-vertical:before {
content: "\e119";
}
/* line 159, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-resize-horizontal:before {
content: "\e120";
}
/* line 160, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hdd:before {
content: "\e121";
}
/* line 161, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bullhorn:before {
content: "\e122";
}
/* line 162, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bell:before {
content: "\e123";
}
/* line 163, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-certificate:before {
content: "\e124";
}
/* line 164, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-thumbs-up:before {
content: "\e125";
}
/* line 165, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-thumbs-down:before {
content: "\e126";
}
/* line 166, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hand-right:before {
content: "\e127";
}
/* line 167, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hand-left:before {
content: "\e128";
}
/* line 168, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hand-up:before {
content: "\e129";
}
/* line 169, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hand-down:before {
content: "\e130";
}
/* line 170, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-circle-arrow-right:before {
content: "\e131";
}
/* line 171, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-circle-arrow-left:before {
content: "\e132";
}
/* line 172, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-circle-arrow-up:before {
content: "\e133";
}
/* line 173, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-circle-arrow-down:before {
content: "\e134";
}
/* line 174, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-globe:before {
content: "\e135";
}
/* line 175, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-wrench:before {
content: "\e136";
}
/* line 176, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tasks:before {
content: "\e137";
}
/* line 177, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-filter:before {
content: "\e138";
}
/* line 178, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-briefcase:before {
content: "\e139";
}
/* line 179, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-fullscreen:before {
content: "\e140";
}
/* line 180, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-dashboard:before {
content: "\e141";
}
/* line 181, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-paperclip:before {
content: "\e142";
}
/* line 182, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-heart-empty:before {
content: "\e143";
}
/* line 183, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-link:before {
content: "\e144";
}
/* line 184, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-phone:before {
content: "\e145";
}
/* line 185, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-pushpin:before {
content: "\e146";
}
/* line 186, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-usd:before {
content: "\e148";
}
/* line 187, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-gbp:before {
content: "\e149";
}
/* line 188, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort:before {
content: "\e150";
}
/* line 189, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-alphabet:before {
content: "\e151";
}
/* line 190, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-alphabet-alt:before {
content: "\e152";
}
/* line 191, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-order:before {
content: "\e153";
}
/* line 192, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-order-alt:before {
content: "\e154";
}
/* line 193, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-attributes:before {
content: "\e155";
}
/* line 194, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-attributes-alt:before {
content: "\e156";
}
/* line 195, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-unchecked:before {
content: "\e157";
}
/* line 196, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-expand:before {
content: "\e158";
}
/* line 197, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-collapse-down:before {
content: "\e159";
}
/* line 198, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-collapse-up:before {
content: "\e160";
}
/* line 199, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-log-in:before {
content: "\e161";
}
/* line 200, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-flash:before {
content: "\e162";
}
/* line 201, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-log-out:before {
content: "\e163";
}
/* line 202, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-new-window:before {
content: "\e164";
}
/* line 203, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-record:before {
content: "\e165";
}
/* line 204, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-save:before {
content: "\e166";
}
/* line 205, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-open:before {
content: "\e167";
}
/* line 206, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-saved:before {
content: "\e168";
}
/* line 207, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-import:before {
content: "\e169";
}
/* line 208, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-export:before {
content: "\e170";
}
/* line 209, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-send:before {
content: "\e171";
}
/* line 210, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-disk:before {
content: "\e172";
}
/* line 211, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-saved:before {
content: "\e173";
}
/* line 212, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-remove:before {
content: "\e174";
}
/* line 213, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-save:before {
content: "\e175";
}
/* line 214, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-open:before {
content: "\e176";
}
/* line 215, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-credit-card:before {
content: "\e177";
}
/* line 216, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-transfer:before {
content: "\e178";
}
/* line 217, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cutlery:before {
content: "\e179";
}
/* line 218, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-header:before {
content: "\e180";
}
/* line 219, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-compressed:before {
content: "\e181";
}
/* line 220, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-earphone:before {
content: "\e182";
}
/* line 221, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-phone-alt:before {
content: "\e183";
}
/* line 222, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tower:before {
content: "\e184";
}
/* line 223, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-stats:before {
content: "\e185";
}
/* line 224, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sd-video:before {
content: "\e186";
}
/* line 225, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hd-video:before {
content: "\e187";
}
/* line 226, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-subtitles:before {
content: "\e188";
}
/* line 227, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-stereo:before {
content: "\e189";
}
/* line 228, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-dolby:before {
content: "\e190";
}
/* line 229, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-5-1:before {
content: "\e191";
}
/* line 230, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-6-1:before {
content: "\e192";
}
/* line 231, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-7-1:before {
content: "\e193";
}
/* line 232, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-copyright-mark:before {
content: "\e194";
}
/* line 233, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-registration-mark:before {
content: "\e195";
}
/* line 234, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cloud-download:before {
content: "\e197";
}
/* line 235, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cloud-upload:before {
content: "\e198";
}
/* line 236, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tree-conifer:before {
content: "\e199";
}
/* line 237, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tree-deciduous:before {
content: "\e200";
}
/* line 238, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cd:before {
content: "\e201";
}
/* line 239, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-save-file:before {
content: "\e202";
}
/* line 240, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-open-file:before {
content: "\e203";
}
/* line 241, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-level-up:before {
content: "\e204";
}
/* line 242, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-copy:before {
content: "\e205";
}
/* line 243, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-paste:before {
content: "\e206";
}
/* line 252, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-alert:before {
content: "\e209";
}
/* line 253, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-equalizer:before {
content: "\e210";
}
/* line 254, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-king:before {
content: "\e211";
}
/* line 255, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-queen:before {
content: "\e212";
}
/* line 256, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-pawn:before {
content: "\e213";
}
/* line 257, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bishop:before {
content: "\e214";
}
/* line 258, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-knight:before {
content: "\e215";
}
/* line 259, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-baby-formula:before {
content: "\e216";
}
/* line 260, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tent:before {
content: "\26fa";
}
/* line 261, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-blackboard:before {
content: "\e218";
}
/* line 262, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bed:before {
content: "\e219";
}
/* line 263, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-apple:before {
content: "\f8ff";
}
/* line 264, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-erase:before {
content: "\e221";
}
/* line 265, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hourglass:before {
content: "\231b";
}
/* line 266, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-lamp:before {
content: "\e223";
}
/* line 267, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-duplicate:before {
content: "\e224";
}
/* line 268, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-piggy-bank:before {
content: "\e225";
}
/* line 269, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-scissors:before {
content: "\e226";
}
/* line 270, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bitcoin:before {
content: "\e227";
}
/* line 271, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-btc:before {
content: "\e227";
}
/* line 272, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-xbt:before {
content: "\e227";
}
/* line 273, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-yen:before {
content: "\00a5";
}
/* line 274, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-jpy:before {
content: "\00a5";
}
/* line 275, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ruble:before {
content: "\20bd";
}
/* line 276, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-rub:before {
content: "\20bd";
}
/* line 277, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-scale:before {
content: "\e230";
}
/* line 278, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ice-lolly:before {
content: "\e231";
}
/* line 279, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ice-lolly-tasted:before {
content: "\e232";
}
/* line 280, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-education:before {
content: "\e233";
}
/* line 281, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-option-horizontal:before {
content: "\e234";
}
/* line 282, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-option-vertical:before {
content: "\e235";
}
/* line 283, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-menu-hamburger:before {
content: "\e236";
}
/* line 284, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-modal-window:before {
content: "\e237";
}
/* line 285, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-oil:before {
content: "\e238";
}
/* line 286, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-grain:before {
content: "\e239";
}
/* line 287, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sunglasses:before {
content: "\e240";
}
/* line 288, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-text-size:before {
content: "\e241";
}
/* line 289, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-text-color:before {
content: "\e242";
}
/* line 290, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-text-background:before {
content: "\e243";
}
/* line 291, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-object-align-top:before {
content: "\e244";
}
/* line 292, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-object-align-bottom:before {
content: "\e245";
}
/* line 293, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-object-align-horizontal:before {
content: "\e246";
}
/* line 294, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-object-align-left:before {
content: "\e247";
}
/* line 295, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-object-align-vertical:before {
content: "\e248";
}
/* line 296, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-object-align-right:before {
content: "\e249";
}
/* line 297, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-triangle-right:before {
content: "\e250";
}
/* line 298, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-triangle-left:before {
content: "\e251";
}
/* line 299, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-triangle-bottom:before {
content: "\e252";
}
/* line 300, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-triangle-top:before {
content: "\e253";
}
/* line 301, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-console:before {
content: "\e254";
}
/* line 302, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-superscript:before {
content: "\e255";
}
/* line 303, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-subscript:before {
content: "\e256";
}
/* line 304, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-menu-left:before {
content: "\e257";
}
/* line 305, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-menu-right:before {
content: "\e258";
}
/* line 306, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-menu-down:before {
content: "\e259";
}
/* line 307, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-menu-up:before {
content: "\e260";
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
html {
font-size: 10px;
-webkit-tap-highlight-color: transparent;
}
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
body {
font-family: "Lato", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #1d3d56;
background-color: #ffffff;
}
/* line 36, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
/* line 48, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
a {
color: #1d3d56;
text-decoration: none;
}
/* line 52, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
a:hover, a:focus {
color: #0a141d;
text-decoration: underline;
}
/* line 58, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
a:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
/* line 69, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
figure {
margin: 0;
}
/* line 76, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
img {
vertical-align: middle;
}
/* line 81, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
.img-responsive {
display: block;
max-width: 100%;
height: auto;
}
/* line 86, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
.img-rounded {
border-radius: 6px;
}
/* line 93, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
.img-thumbnail {
padding: 4px;
line-height: 1.42857143;
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
display: inline-block;
max-width: 100%;
height: auto;
}
/* line 106, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
.img-circle {
border-radius: 50%;
}
/* line 113, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eeeeee;
}
/* line 125, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
/* line 141, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
.sr-only-focusable:active, .sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
/* line 159, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss */
[role="button"] {
cursor: pointer;
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: "Lato", Helvetica, Arial, sans-serif;
font-weight: 500;
line-height: 1.2;
color: #2e2ea3;
}
/* line 16, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h1 small,
h1 .small, h2 small,
h2 .small, h3 small,
h3 .small, h4 small,
h4 .small, h5 small,
h5 .small, h6 small,
h6 .small,
.h1 small,
.h1 .small, .h2 small,
.h2 .small, .h3 small,
.h3 .small, .h4 small,
.h4 .small, .h5 small,
.h5 .small, .h6 small,
.h6 .small {
font-weight: normal;
line-height: 1;
color: #999999;
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h1, .h1,
h2, .h2,
h3, .h3 {
margin-top: 20px;
margin-bottom: 10px;
}
/* line 30, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h1 small,
h1 .small, .h1 small,
.h1 .small,
h2 small,
h2 .small, .h2 small,
.h2 .small,
h3 small,
h3 .small, .h3 small,
.h3 .small {
font-size: 65%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h4, .h4,
h5, .h5,
h6, .h6 {
margin-top: 10px;
margin-bottom: 10px;
}
/* line 41, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h4 small,
h4 .small, .h4 small,
.h4 .small,
h5 small,
h5 .small, .h5 small,
.h5 .small,
h6 small,
h6 .small, .h6 small,
.h6 .small {
font-size: 75%;
}
/* line 47, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h1, .h1 {
font-size: 36px;
}
/* line 48, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h2, .h2 {
font-size: 30px;
}
/* line 49, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h3, .h3 {
font-size: 24px;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h4, .h4 {
font-size: 18px;
}
/* line 51, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h5, .h5 {
font-size: 14px;
}
/* line 52, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
h6, .h6 {
font-size: 12px;
}
/* line 58, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
p {
margin: 0 0 10px;
}
/* line 62, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.lead {
margin-bottom: 20px;
font-size: 16px;
font-weight: 300;
line-height: 1.4;
}
@media (min-width: 768px) {
/* line 62, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.lead {
font-size: 21px;
}
}
/* line 78, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
small,
.small {
font-size: 85%;
}
/* line 83, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
mark,
.mark {
background-color: #fcf8e3;
padding: .2em;
}
/* line 90, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.text-left {
text-align: left;
}
/* line 91, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.text-right {
text-align: right;
}
/* line 92, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.text-center {
text-align: center;
}
/* line 93, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.text-justify {
text-align: justify;
}
/* line 94, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.text-nowrap {
white-space: nowrap;
}
/* line 97, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.text-lowercase {
text-transform: lowercase;
}
/* line 98, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.text-uppercase, .initialism {
text-transform: uppercase;
}
/* line 99, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.text-capitalize {
text-transform: capitalize;
}
/* line 102, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.text-muted {
color: #999999;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-primary {
color: #2FA4E7;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-primary:hover,
a.text-primary:focus {
color: #178acc;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-success {
color: #468847;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-success:hover,
a.text-success:focus {
color: #356635;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-info {
color: #3a87ad;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-info:hover,
a.text-info:focus {
color: #2d6987;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-warning {
color: #c09853;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-warning:hover,
a.text-warning:focus {
color: #a47e3c;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-danger {
color: #b94a48;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-danger:hover,
a.text-danger:focus {
color: #953b39;
}
/* line 119, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.bg-primary {
color: #fff;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-primary {
background-color: #2FA4E7;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-primary:hover,
a.bg-primary:focus {
background-color: #178acc;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-success {
background-color: #dff0d8;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-success:hover,
a.bg-success:focus {
background-color: #c1e2b3;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-info {
background-color: #d9edf7;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-info:hover,
a.bg-info:focus {
background-color: #afd9ee;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-warning {
background-color: #fcf8e3;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-warning:hover,
a.bg-warning:focus {
background-color: #f7ecb5;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-danger {
background-color: #f2dede;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-danger:hover,
a.bg-danger:focus {
background-color: #e4b9b9;
}
/* line 138, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.page-header {
padding-bottom: 9px;
margin: 40px 0 20px;
border-bottom: 1px solid #eeeeee;
}
/* line 149, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
ul,
ol {
margin-top: 0;
margin-bottom: 10px;
}
/* line 153, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
ul ul,
ul ol,
ol ul,
ol ol {
margin-bottom: 0;
}
/* line 167, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.list-unstyled {
padding-left: 0;
list-style: none;
}
/* line 173, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.list-inline {
padding-left: 0;
list-style: none;
margin-left: -5px;
}
/* line 177, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.list-inline > li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
}
/* line 185, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
dl {
margin-top: 0;
margin-bottom: 20px;
}
/* line 189, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
dt,
dd {
line-height: 1.42857143;
}
/* line 193, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
dt {
font-weight: bold;
}
/* line 196, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
dd {
margin-left: 0;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.dl-horizontal dd:before, .dl-horizontal dd:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.dl-horizontal dd:after {
clear: both;
}
@media (min-width: 768px) {
/* line 211, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.dl-horizontal dt {
float: left;
width: 160px;
clear: left;
text-align: right;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* line 218, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.dl-horizontal dd {
margin-left: 180px;
}
}
/* line 229, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
abbr[title],
abbr[data-original-title] {
cursor: help;
border-bottom: 1px dotted #999999;
}
/* line 235, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.initialism {
font-size: 90%;
}
/* line 241, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
blockquote {
padding: 10px 20px;
margin: 0 0 20px;
font-size: 17.5px;
border-left: 5px solid #eeeeee;
}
/* line 250, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
margin-bottom: 0;
}
/* line 257, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
blockquote footer,
blockquote small,
blockquote .small {
display: block;
font-size: 80%;
line-height: 1.42857143;
color: #999999;
}
/* line 265, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
blockquote footer:before,
blockquote small:before,
blockquote .small:before {
content: '\2014 \00A0';
}
/* line 274, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.blockquote-reverse,
blockquote.pull-right {
padding-right: 15px;
padding-left: 0;
border-right: 5px solid #eeeeee;
border-left: 0;
text-align: right;
}
/* line 286, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.blockquote-reverse footer:before,
.blockquote-reverse small:before,
.blockquote-reverse .small:before,
blockquote.pull-right footer:before,
blockquote.pull-right small:before,
blockquote.pull-right .small:before {
content: '';
}
/* line 287, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
.blockquote-reverse footer:after,
.blockquote-reverse small:after,
.blockquote-reverse .small:after,
blockquote.pull-right footer:after,
blockquote.pull-right small:after,
blockquote.pull-right .small:after {
content: '\00A0 \2014';
}
/* line 294, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss */
address {
margin-bottom: 20px;
font-style: normal;
line-height: 1.42857143;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss */
code,
kbd,
pre,
samp {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss */
code {
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss */
kbd {
padding: 2px 4px;
font-size: 90%;
color: #fff;
background-color: #333;
border-radius: 3px;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
/* line 32, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss */
kbd kbd {
padding: 0;
font-size: 100%;
font-weight: bold;
box-shadow: none;
}
/* line 41, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss */
pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857143;
word-break: break-all;
word-wrap: break-word;
color: #333333;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
}
/* line 55, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss */
pre code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
border-radius: 0;
}
/* line 66, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss */
.pre-scrollable {
max-height: 340px;
overflow-y: scroll;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss */
.container {
margin-right: auto;
margin-left: auto;
padding-left: 30px;
padding-right: 30px;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.container:before, .container:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.container:after {
clear: both;
}
@media (min-width: 768px) {
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss */
.container {
width: 780px;
}
}
@media (min-width: 992px) {
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss */
.container {
width: 1000px;
}
}
@media (min-width: 1200px) {
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss */
.container {
width: 1200px;
}
}
/* line 30, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss */
.container-fluid {
margin-right: auto;
margin-left: auto;
padding-left: 30px;
padding-right: 30px;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.container-fluid:before, .container-fluid:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.container-fluid:after {
clear: both;
}
/* line 39, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss */
.row {
margin-left: -30px;
margin-right: -30px;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.row:before, .row:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.row:after {
clear: both;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
position: relative;
min-height: 1px;
padding-left: 30px;
padding-right: 30px;
}
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
float: left;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-1 {
width: 8.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-2 {
width: 16.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-3 {
width: 25%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-4 {
width: 33.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-5 {
width: 41.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-6 {
width: 50%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-7 {
width: 58.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-8 {
width: 66.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-9 {
width: 75%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-10 {
width: 83.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-11 {
width: 91.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-12 {
width: 100%;
}
/* line 55, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-0 {
right: auto;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-1 {
right: 8.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-2 {
right: 16.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-3 {
right: 25%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-4 {
right: 33.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-5 {
right: 41.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-6 {
right: 50%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-7 {
right: 58.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-8 {
right: 66.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-9 {
right: 75%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-10 {
right: 83.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-11 {
right: 91.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-12 {
right: 100%;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-0 {
left: auto;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-1 {
left: 8.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-2 {
left: 16.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-3 {
left: 25%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-4 {
left: 33.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-5 {
left: 41.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-6 {
left: 50%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-7 {
left: 58.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-8 {
left: 66.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-9 {
left: 75%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-10 {
left: 83.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-11 {
left: 91.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-12 {
left: 100%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-0 {
margin-left: 0%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-1 {
margin-left: 8.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-2 {
margin-left: 16.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-3 {
margin-left: 25%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-4 {
margin-left: 33.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-5 {
margin-left: 41.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-6 {
margin-left: 50%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-7 {
margin-left: 58.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-8 {
margin-left: 66.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-9 {
margin-left: 75%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-10 {
margin-left: 83.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-11 {
margin-left: 91.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-12 {
margin-left: 100%;
}
@media (min-width: 768px) {
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
float: left;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-1 {
width: 8.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-2 {
width: 16.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-3 {
width: 25%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-4 {
width: 33.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-5 {
width: 41.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-6 {
width: 50%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-7 {
width: 58.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-8 {
width: 66.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-9 {
width: 75%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-10 {
width: 83.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-11 {
width: 91.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-12 {
width: 100%;
}
/* line 55, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-0 {
right: auto;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-1 {
right: 8.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-2 {
right: 16.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-3 {
right: 25%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-4 {
right: 33.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-5 {
right: 41.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-6 {
right: 50%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-7 {
right: 58.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-8 {
right: 66.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-9 {
right: 75%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-10 {
right: 83.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-11 {
right: 91.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-12 {
right: 100%;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-0 {
left: auto;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-1 {
left: 8.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-2 {
left: 16.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-3 {
left: 25%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-4 {
left: 33.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-5 {
left: 41.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-6 {
left: 50%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-7 {
left: 58.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-8 {
left: 66.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-9 {
left: 75%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-10 {
left: 83.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-11 {
left: 91.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-12 {
left: 100%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-0 {
margin-left: 0%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-1 {
margin-left: 8.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-2 {
margin-left: 16.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-3 {
margin-left: 25%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-4 {
margin-left: 33.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-5 {
margin-left: 41.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-6 {
margin-left: 50%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-7 {
margin-left: 58.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-8 {
margin-left: 66.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-9 {
margin-left: 75%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-10 {
margin-left: 83.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-11 {
margin-left: 91.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-12 {
margin-left: 100%;
}
}
@media (min-width: 992px) {
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
float: left;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-1 {
width: 8.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-2 {
width: 16.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-3 {
width: 25%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-4 {
width: 33.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-5 {
width: 41.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-6 {
width: 50%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-7 {
width: 58.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-8 {
width: 66.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-9 {
width: 75%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-10 {
width: 83.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-11 {
width: 91.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-12 {
width: 100%;
}
/* line 55, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-0 {
right: auto;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-1 {
right: 8.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-2 {
right: 16.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-3 {
right: 25%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-4 {
right: 33.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-5 {
right: 41.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-6 {
right: 50%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-7 {
right: 58.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-8 {
right: 66.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-9 {
right: 75%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-10 {
right: 83.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-11 {
right: 91.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-12 {
right: 100%;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-0 {
left: auto;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-1 {
left: 8.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-2 {
left: 16.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-3 {
left: 25%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-4 {
left: 33.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-5 {
left: 41.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-6 {
left: 50%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-7 {
left: 58.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-8 {
left: 66.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-9 {
left: 75%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-10 {
left: 83.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-11 {
left: 91.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-12 {
left: 100%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-0 {
margin-left: 0%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-1 {
margin-left: 8.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-2 {
margin-left: 16.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-3 {
margin-left: 25%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-4 {
margin-left: 33.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-5 {
margin-left: 41.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-6 {
margin-left: 50%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-7 {
margin-left: 58.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-8 {
margin-left: 66.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-9 {
margin-left: 75%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-10 {
margin-left: 83.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-11 {
margin-left: 91.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-12 {
margin-left: 100%;
}
}
@media (min-width: 1200px) {
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
float: left;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-1 {
width: 8.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-2 {
width: 16.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-3 {
width: 25%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-4 {
width: 33.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-5 {
width: 41.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-6 {
width: 50%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-7 {
width: 58.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-8 {
width: 66.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-9 {
width: 75%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-10 {
width: 83.33333333%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-11 {
width: 91.66666667%;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-12 {
width: 100%;
}
/* line 55, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-0 {
right: auto;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-1 {
right: 8.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-2 {
right: 16.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-3 {
right: 25%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-4 {
right: 33.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-5 {
right: 41.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-6 {
right: 50%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-7 {
right: 58.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-8 {
right: 66.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-9 {
right: 75%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-10 {
right: 83.33333333%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-11 {
right: 91.66666667%;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-12 {
right: 100%;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-0 {
left: auto;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-1 {
left: 8.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-2 {
left: 16.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-3 {
left: 25%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-4 {
left: 33.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-5 {
left: 41.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-6 {
left: 50%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-7 {
left: 58.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-8 {
left: 66.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-9 {
left: 75%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-10 {
left: 83.33333333%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-11 {
left: 91.66666667%;
}
/* line 40, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-12 {
left: 100%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-0 {
margin-left: 0%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-1 {
margin-left: 8.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-2 {
margin-left: 16.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-3 {
margin-left: 25%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-4 {
margin-left: 33.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-5 {
margin-left: 41.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-6 {
margin-left: 50%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-7 {
margin-left: 58.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-8 {
margin-left: 66.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-9 {
margin-left: 75%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-10 {
margin-left: 83.33333333%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-11 {
margin-left: 91.66666667%;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-12 {
margin-left: 100%;
}
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
table {
background-color: transparent;
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
caption {
padding-top: 8px;
padding-bottom: 8px;
color: #999999;
text-align: left;
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
th {
text-align: left;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
}
/* line 31, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th,
.table > tfoot > tr > td {
padding: 8px;
line-height: 1.42857143;
vertical-align: top;
border-top: 1px solid transparent;
}
/* line 41, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table > thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid transparent;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table > caption + thead > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > th,
.table > thead:first-child > tr:first-child > td {
border-top: 0;
}
/* line 57, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table > tbody + tbody {
border-top: 2px solid transparent;
}
/* line 62, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table .table {
background-color: #ffffff;
}
/* line 75, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-condensed > thead > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > tfoot > tr > td {
padding: 5px;
}
/* line 88, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-bordered {
border: 1px solid transparent;
}
/* line 94, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > tfoot > tr > td {
border: 1px solid transparent;
}
/* line 101, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
border-bottom-width: 2px;
}
/* line 114, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-striped > tbody > tr:nth-of-type(odd) {
background-color: #f9f9f9;
}
/* line 125, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-hover > tbody > tr:hover {
background-color: #f5f5f5;
}
/* line 135, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
table col[class*="col-"] {
position: static;
float: none;
display: table-column;
}
/* line 143, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
table td[class*="col-"],
table th[class*="col-"] {
position: static;
float: none;
display: table-cell;
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.active,
.table > thead > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th,
.table > tbody > tr > td.active,
.table > tbody > tr > th.active,
.table > tbody > tr.active > td,
.table > tbody > tr.active > th,
.table > tfoot > tr > td.active,
.table > tfoot > tr > th.active,
.table > tfoot > tr.active > td,
.table > tfoot > tr.active > th {
background-color: #f5f5f5;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr:hover > .active, .table-hover > tbody > tr.active:hover > th {
background-color: #e8e8e8;
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.success,
.table > thead > tr > th.success, .table > thead > tr.success > td, .table > thead > tr.success > th,
.table > tbody > tr > td.success,
.table > tbody > tr > th.success,
.table > tbody > tr.success > td,
.table > tbody > tr.success > th,
.table > tfoot > tr > td.success,
.table > tfoot > tr > th.success,
.table > tfoot > tr.success > td,
.table > tfoot > tr.success > th {
background-color: #dff0d8;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr:hover > .success, .table-hover > tbody > tr.success:hover > th {
background-color: #d0e9c6;
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.info,
.table > thead > tr > th.info, .table > thead > tr.info > td, .table > thead > tr.info > th,
.table > tbody > tr > td.info,
.table > tbody > tr > th.info,
.table > tbody > tr.info > td,
.table > tbody > tr.info > th,
.table > tfoot > tr > td.info,
.table > tfoot > tr > th.info,
.table > tfoot > tr.info > td,
.table > tfoot > tr.info > th {
background-color: #d9edf7;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr:hover > .info, .table-hover > tbody > tr.info:hover > th {
background-color: #c4e3f3;
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.warning,
.table > thead > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th,
.table > tbody > tr > td.warning,
.table > tbody > tr > th.warning,
.table > tbody > tr.warning > td,
.table > tbody > tr.warning > th,
.table > tfoot > tr > td.warning,
.table > tfoot > tr > th.warning,
.table > tfoot > tr.warning > td,
.table > tfoot > tr.warning > th {
background-color: #fcf8e3;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr:hover > .warning, .table-hover > tbody > tr.warning:hover > th {
background-color: #faf2cc;
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.danger,
.table > thead > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th,
.table > tbody > tr > td.danger,
.table > tbody > tr > th.danger,
.table > tbody > tr.danger > td,
.table > tbody > tr.danger > th,
.table > tfoot > tr > td.danger,
.table > tfoot > tr > th.danger,
.table > tfoot > tr.danger > td,
.table > tfoot > tr.danger > th {
background-color: #f2dede;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr.danger:hover > th {
background-color: #ebcccc;
}
/* line 171, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive {
overflow-x: auto;
min-height: 0.01%;
}
@media screen and (max-width: 767px) {
/* line 171, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive {
width: 100%;
margin-bottom: 15px;
overflow-y: hidden;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid transparent;
}
/* line 183, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table {
margin-bottom: 0;
}
/* line 191, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table > thead > tr > th,
.table-responsive > .table > thead > tr > td,
.table-responsive > .table > tbody > tr > th,
.table-responsive > .table > tbody > tr > td,
.table-responsive > .table > tfoot > tr > th,
.table-responsive > .table > tfoot > tr > td {
white-space: nowrap;
}
/* line 200, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table-bordered {
border: 0;
}
/* line 208, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table-bordered > thead > tr > th:first-child,
.table-responsive > .table-bordered > thead > tr > td:first-child,
.table-responsive > .table-bordered > tbody > tr > th:first-child,
.table-responsive > .table-bordered > tbody > tr > td:first-child,
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
/* line 212, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table-bordered > thead > tr > th:last-child,
.table-responsive > .table-bordered > thead > tr > td:last-child,
.table-responsive > .table-bordered > tbody > tr > th:last-child,
.table-responsive > .table-bordered > tbody > tr > td:last-child,
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
/* line 225, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table-bordered > tbody > tr:last-child > th,
.table-responsive > .table-bordered > tbody > tr:last-child > td,
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
fieldset {
padding: 0;
margin: 0;
border: 0;
min-width: 0;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: 20px;
font-size: 21px;
line-height: inherit;
color: #1d3d56;
border: 0;
border-bottom: 1px solid #e5e5e5;
}
/* line 32, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
label {
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: bold;
}
/* line 47, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="search"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* line 52, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="radio"],
input[type="checkbox"] {
margin: 4px 0 0;
margin-top: 1px \9;
line-height: normal;
}
/* line 59, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="file"] {
display: block;
}
/* line 64, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="range"] {
display: block;
width: 100%;
}
/* line 70, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
select[multiple],
select[size] {
height: auto;
}
/* line 76, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
/* line 83, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
output {
display: block;
padding-top: 9px;
font-size: 14px;
line-height: 1.42857143;
color: #1d3d56;
}
/* line 114, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-control {
display: block;
width: 100%;
height: 38px;
padding: 8px 12px;
font-size: 14px;
line-height: 1.42857143;
color: #1d3d56;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
/* line 57, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.form-control:focus {
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
/* line 103, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss */
.form-control::-moz-placeholder {
color: #999999;
opacity: 1;
}
/* line 107, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss */
.form-control:-ms-input-placeholder {
color: #999999;
}
/* line 108, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss */
.form-control::-webkit-input-placeholder {
color: #999999;
}
/* line 136, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-control::-ms-expand {
border: 0;
background-color: transparent;
}
/* line 146, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
background-color: #eeeeee;
opacity: 1;
}
/* line 153, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-control[disabled], fieldset[disabled] .form-control {
cursor: not-allowed;
}
/* line 162, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
textarea.form-control {
height: auto;
}
/* line 174, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="search"] {
-webkit-appearance: none;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
/* line 193, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control,
input[type="month"].form-control {
line-height: 38px;
}
/* line 197, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="date"].input-sm, .input-group-sm > input[type="date"].form-control,
.input-group-sm > input[type="date"].input-group-addon,
.input-group-sm > .input-group-btn > input[type="date"].btn, .input-group-sm input[type="date"],
input[type="time"].input-sm,
.input-group-sm > input[type="time"].form-control,
.input-group-sm > input[type="time"].input-group-addon,
.input-group-sm > .input-group-btn > input[type="time"].btn, .input-group-sm
input[type="time"],
input[type="datetime-local"].input-sm,
.input-group-sm > input[type="datetime-local"].form-control,
.input-group-sm > input[type="datetime-local"].input-group-addon,
.input-group-sm > .input-group-btn > input[type="datetime-local"].btn, .input-group-sm
input[type="datetime-local"],
input[type="month"].input-sm,
.input-group-sm > input[type="month"].form-control,
.input-group-sm > input[type="month"].input-group-addon,
.input-group-sm > .input-group-btn > input[type="month"].btn, .input-group-sm
input[type="month"] {
line-height: 30px;
}
/* line 202, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="date"].input-lg, .input-group-lg > input[type="date"].form-control,
.input-group-lg > input[type="date"].input-group-addon,
.input-group-lg > .input-group-btn > input[type="date"].btn, .input-group-lg input[type="date"],
input[type="time"].input-lg,
.input-group-lg > input[type="time"].form-control,
.input-group-lg > input[type="time"].input-group-addon,
.input-group-lg > .input-group-btn > input[type="time"].btn, .input-group-lg
input[type="time"],
input[type="datetime-local"].input-lg,
.input-group-lg > input[type="datetime-local"].form-control,
.input-group-lg > input[type="datetime-local"].input-group-addon,
.input-group-lg > .input-group-btn > input[type="datetime-local"].btn, .input-group-lg
input[type="datetime-local"],
input[type="month"].input-lg,
.input-group-lg > input[type="month"].form-control,
.input-group-lg > input[type="month"].input-group-addon,
.input-group-lg > .input-group-btn > input[type="month"].btn, .input-group-lg
input[type="month"] {
line-height: 54px;
}
}
/* line 215, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-group {
margin-bottom: 15px;
}
/* line 224, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.radio,
.checkbox {
position: relative;
display: block;
margin-top: 10px;
margin-bottom: 10px;
}
/* line 231, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.radio label,
.checkbox label {
min-height: 20px;
padding-left: 20px;
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
}
/* line 239, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
position: absolute;
margin-left: -20px;
margin-top: 4px \9;
}
/* line 248, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.radio + .radio,
.checkbox + .checkbox {
margin-top: -5px;
}
/* line 254, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.radio-inline,
.checkbox-inline {
position: relative;
display: inline-block;
padding-left: 20px;
margin-bottom: 0;
vertical-align: middle;
font-weight: normal;
cursor: pointer;
}
/* line 264, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
margin-top: 0;
margin-left: 10px;
}
/* line 276, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
input[type="radio"][disabled], input[type="radio"].disabled, fieldset[disabled] input[type="radio"],
input[type="checkbox"][disabled],
input[type="checkbox"].disabled, fieldset[disabled]
input[type="checkbox"] {
cursor: not-allowed;
}
/* line 285, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.radio-inline.disabled, fieldset[disabled] .radio-inline,
.checkbox-inline.disabled, fieldset[disabled]
.checkbox-inline {
cursor: not-allowed;
}
/* line 295, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.radio.disabled label, fieldset[disabled] .radio label,
.checkbox.disabled label, fieldset[disabled]
.checkbox label {
cursor: not-allowed;
}
/* line 307, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-control-static {
padding-top: 9px;
padding-bottom: 9px;
margin-bottom: 0;
min-height: 34px;
}
/* line 315, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-control-static.input-lg, .input-group-lg > .form-control-static.form-control,
.input-group-lg > .form-control-static.input-group-addon,
.input-group-lg > .input-group-btn > .form-control-static.btn, .form-control-static.input-sm, .input-group-sm > .form-control-static.form-control,
.input-group-sm > .form-control-static.input-group-addon,
.input-group-sm > .input-group-btn > .form-control-static.btn {
padding-left: 0;
padding-right: 0;
}
/* line 71, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.input-sm, .input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
height: 30px;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
/* line 79, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
select.input-sm, .input-group-sm > select.form-control,
.input-group-sm > select.input-group-addon,
.input-group-sm > .input-group-btn > select.btn {
height: 30px;
line-height: 30px;
}
/* line 84, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
textarea.input-sm, .input-group-sm > textarea.form-control,
.input-group-sm > textarea.input-group-addon,
.input-group-sm > .input-group-btn > textarea.btn,
select[multiple].input-sm,
.input-group-sm > select[multiple].form-control,
.input-group-sm > select[multiple].input-group-addon,
.input-group-sm > .input-group-btn > select[multiple].btn {
height: auto;
}
/* line 333, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-group-sm .form-control {
height: 30px;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
/* line 340, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-group-sm select.form-control {
height: 30px;
line-height: 30px;
}
/* line 344, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-group-sm textarea.form-control,
.form-group-sm select[multiple].form-control {
height: auto;
}
/* line 348, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-group-sm .form-control-static {
height: 30px;
min-height: 32px;
padding: 6px 10px;
font-size: 12px;
line-height: 1.5;
}
/* line 71, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.input-lg, .input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
height: 54px;
padding: 14px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
}
/* line 79, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
select.input-lg, .input-group-lg > select.form-control,
.input-group-lg > select.input-group-addon,
.input-group-lg > .input-group-btn > select.btn {
height: 54px;
line-height: 54px;
}
/* line 84, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
textarea.input-lg, .input-group-lg > textarea.form-control,
.input-group-lg > textarea.input-group-addon,
.input-group-lg > .input-group-btn > textarea.btn,
select[multiple].input-lg,
.input-group-lg > select[multiple].form-control,
.input-group-lg > select[multiple].input-group-addon,
.input-group-lg > .input-group-btn > select[multiple].btn {
height: auto;
}
/* line 359, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-group-lg .form-control {
height: 54px;
padding: 14px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
}
/* line 366, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-group-lg select.form-control {
height: 54px;
line-height: 54px;
}
/* line 370, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-group-lg textarea.form-control,
.form-group-lg select[multiple].form-control {
height: auto;
}
/* line 374, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-group-lg .form-control-static {
height: 54px;
min-height: 38px;
padding: 15px 16px;
font-size: 18px;
line-height: 1.3333333;
}
/* line 388, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.has-feedback {
position: relative;
}
/* line 393, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.has-feedback .form-control {
padding-right: 47.5px;
}
/* line 398, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-control-feedback {
position: absolute;
top: 0;
right: 0;
z-index: 2;
display: block;
width: 38px;
height: 38px;
line-height: 38px;
text-align: center;
pointer-events: none;
}
/* line 410, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.input-lg + .form-control-feedback, .input-group-lg > .form-control + .form-control-feedback,
.input-group-lg > .input-group-addon + .form-control-feedback,
.input-group-lg > .input-group-btn > .btn + .form-control-feedback,
.input-group-lg + .form-control-feedback,
.form-group-lg .form-control + .form-control-feedback {
width: 54px;
height: 54px;
line-height: 54px;
}
/* line 417, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.input-sm + .form-control-feedback, .input-group-sm > .form-control + .form-control-feedback,
.input-group-sm > .input-group-addon + .form-control-feedback,
.input-group-sm > .input-group-btn > .btn + .form-control-feedback,
.input-group-sm + .form-control-feedback,
.form-group-sm .form-control + .form-control-feedback {
width: 30px;
height: 30px;
line-height: 30px;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline, .has-success.radio label, .has-success.checkbox label, .has-success.radio-inline label, .has-success.checkbox-inline label {
color: #468847;
}
/* line 21, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .form-control {
border-color: #468847;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .form-control:focus {
border-color: #356635;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
}
/* line 31, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .input-group-addon {
color: #468847;
border-color: #468847;
background-color: #dff0d8;
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .form-control-feedback {
color: #468847;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline, .has-warning.radio label, .has-warning.checkbox label, .has-warning.radio-inline label, .has-warning.checkbox-inline label {
color: #c09853;
}
/* line 21, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .form-control {
border-color: #c09853;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .form-control:focus {
border-color: #a47e3c;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
}
/* line 31, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .input-group-addon {
color: #c09853;
border-color: #c09853;
background-color: #fcf8e3;
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .form-control-feedback {
color: #c09853;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label {
color: #b94a48;
}
/* line 21, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .form-control {
border-color: #b94a48;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .form-control:focus {
border-color: #953b39;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
}
/* line 31, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .input-group-addon {
color: #b94a48;
border-color: #b94a48;
background-color: #f2dede;
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .form-control-feedback {
color: #b94a48;
}
/* line 439, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.has-feedback label ~ .form-control-feedback {
top: 25px;
}
/* line 442, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.has-feedback label.sr-only ~ .form-control-feedback {
top: 0;
}
/* line 453, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.help-block {
display: block;
margin-top: 5px;
margin-bottom: 10px;
color: #3d81b5;
}
@media (min-width: 768px) {
/* line 478, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .form-group {
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
/* line 485, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .form-control {
display: inline-block;
width: auto;
vertical-align: middle;
}
/* line 492, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .form-control-static {
display: inline-block;
}
/* line 496, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .input-group {
display: inline-table;
vertical-align: middle;
}
/* line 500, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .input-group .input-group-addon,
.form-inline .input-group .input-group-btn,
.form-inline .input-group .form-control {
width: auto;
}
/* line 508, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .input-group > .form-control {
width: 100%;
}
/* line 512, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .control-label {
margin-bottom: 0;
vertical-align: middle;
}
/* line 519, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .radio,
.form-inline .checkbox {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
vertical-align: middle;
}
/* line 526, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .radio label,
.form-inline .checkbox label {
padding-left: 0;
}
/* line 530, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
position: relative;
margin-left: 0;
}
/* line 537, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .has-feedback .form-control-feedback {
top: 0;
}
}
/* line 559, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
margin-top: 0;
margin-bottom: 0;
padding-top: 9px;
}
/* line 569, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .radio,
.form-horizontal .checkbox {
min-height: 29px;
}
/* line 575, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .form-group {
margin-left: -30px;
margin-right: -30px;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.form-horizontal .form-group:before, .form-horizontal .form-group:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.form-horizontal .form-group:after {
clear: both;
}
@media (min-width: 768px) {
/* line 582, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .control-label {
text-align: right;
margin-bottom: 0;
padding-top: 9px;
}
}
/* line 593, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .has-feedback .form-control-feedback {
right: 30px;
}
@media (min-width: 768px) {
/* line 603, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .form-group-lg .control-label {
padding-top: 15px;
font-size: 18px;
}
}
@media (min-width: 768px) {
/* line 611, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .form-group-sm .control-label {
padding-top: 6px;
font-size: 12px;
}
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn {
display: inline-block;
margin-bottom: 0;
font-weight: normal;
text-align: center;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 8px 12px;
font-size: 14px;
line-height: 1.42857143;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* line 26, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus, .btn.active:focus, .btn.active.focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
/* line 32, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn:hover, .btn:focus, .btn.focus {
color: #1d3d56;
text-decoration: none;
}
/* line 39, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn:active, .btn.active {
outline: 0;
background-image: none;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
/* line 46, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
cursor: not-allowed;
opacity: 0.65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
}
/* line 58, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
a.btn.disabled, fieldset[disabled] a.btn {
pointer-events: none;
}
/* line 68, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-default {
color: #1d3d56;
background-color: #fff;
border-color: rgba(0, 0, 0, 0.1);
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default:focus, .btn-default.focus {
color: #1d3d56;
background-color: #e6e6e6;
border-color: rgba(0, 0, 0, 0.1);
}
/* line 17, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default:hover {
color: #1d3d56;
background-color: #e6e6e6;
border-color: rgba(0, 0, 0, 0.1);
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle {
color: #1d3d56;
background-color: #e6e6e6;
border-color: rgba(0, 0, 0, 0.1);
}
/* line 29, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default:active:hover, .btn-default:active:focus, .btn-default:active.focus, .btn-default.active:hover, .btn-default.active:focus, .btn-default.active.focus, .open > .btn-default.dropdown-toggle:hover, .open > .btn-default.dropdown-toggle:focus, .open > .btn-default.dropdown-toggle.focus {
color: #1d3d56;
background-color: #d4d4d4;
border-color: rgba(0, 0, 0, 0.1);
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle {
background-image: none;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled.focus, .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled].focus, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default.focus {
background-color: #fff;
border-color: rgba(0, 0, 0, 0.1);
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default .badge {
color: #fff;
background-color: #1d3d56;
}
/* line 71, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-primary {
color: #fff;
background-color: #2FA4E7;
border-color: #2FA4E7;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary:focus, .btn-primary.focus {
color: #fff;
background-color: #178acc;
border-color: #105b87;
}
/* line 17, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary:hover {
color: #fff;
background-color: #178acc;
border-color: #1684c2;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle {
color: #fff;
background-color: #178acc;
border-color: #1684c2;
}
/* line 29, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus, .open > .btn-primary.dropdown-toggle:hover, .open > .btn-primary.dropdown-toggle:focus, .open > .btn-primary.dropdown-toggle.focus {
color: #fff;
background-color: #1474ac;
border-color: #105b87;
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle {
background-image: none;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary.focus {
background-color: #2FA4E7;
border-color: #2FA4E7;
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary .badge {
color: #2FA4E7;
background-color: #fff;
}
/* line 75, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-success {
color: #fff;
background-color: #73A839;
border-color: #73A839;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success:focus, .btn-success.focus {
color: #fff;
background-color: #59822c;
border-color: #324919;
}
/* line 17, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success:hover {
color: #fff;
background-color: #59822c;
border-color: #547a29;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success:active, .btn-success.active, .open > .btn-success.dropdown-toggle {
color: #fff;
background-color: #59822c;
border-color: #547a29;
}
/* line 29, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success:active:hover, .btn-success:active:focus, .btn-success:active.focus, .btn-success.active:hover, .btn-success.active:focus, .btn-success.active.focus, .open > .btn-success.dropdown-toggle:hover, .open > .btn-success.dropdown-toggle:focus, .open > .btn-success.dropdown-toggle.focus {
color: #fff;
background-color: #476723;
border-color: #324919;
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success:active, .btn-success.active, .open > .btn-success.dropdown-toggle {
background-image: none;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled.focus, .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled].focus, fieldset[disabled] .btn-success:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success.focus {
background-color: #73A839;
border-color: #73A839;
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success .badge {
color: #73A839;
background-color: #fff;
}
/* line 79, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-info {
color: #fff;
background-color: #033C73;
border-color: #033C73;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info:focus, .btn-info.focus {
color: #fff;
background-color: #022241;
border-color: black;
}
/* line 17, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info:hover {
color: #fff;
background-color: #022241;
border-color: #011d37;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info:active, .btn-info.active, .open > .btn-info.dropdown-toggle {
color: #fff;
background-color: #022241;
border-color: #011d37;
}
/* line 29, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info:active:hover, .btn-info:active:focus, .btn-info:active.focus, .btn-info.active:hover, .btn-info.active:focus, .btn-info.active.focus, .open > .btn-info.dropdown-toggle:hover, .open > .btn-info.dropdown-toggle:focus, .open > .btn-info.dropdown-toggle.focus {
color: #fff;
background-color: #01101f;
border-color: black;
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info:active, .btn-info.active, .open > .btn-info.dropdown-toggle {
background-image: none;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled.focus, .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled].focus, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info.focus {
background-color: #033C73;
border-color: #033C73;
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info .badge {
color: #033C73;
background-color: #fff;
}
/* line 83, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-warning {
color: #fff;
background-color: #DD5600;
border-color: #DD5600;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning:focus, .btn-warning.focus {
color: #fff;
background-color: #aa4200;
border-color: #5e2400;
}
/* line 17, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning:hover {
color: #fff;
background-color: #aa4200;
border-color: #a03e00;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning:active, .btn-warning.active, .open > .btn-warning.dropdown-toggle {
color: #fff;
background-color: #aa4200;
border-color: #a03e00;
}
/* line 29, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning:active:hover, .btn-warning:active:focus, .btn-warning:active.focus, .btn-warning.active:hover, .btn-warning.active:focus, .btn-warning.active.focus, .open > .btn-warning.dropdown-toggle:hover, .open > .btn-warning.dropdown-toggle:focus, .open > .btn-warning.dropdown-toggle.focus {
color: #fff;
background-color: #863400;
border-color: #5e2400;
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning:active, .btn-warning.active, .open > .btn-warning.dropdown-toggle {
background-image: none;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled.focus, .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled].focus, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning.focus {
background-color: #DD5600;
border-color: #DD5600;
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning .badge {
color: #DD5600;
background-color: #fff;
}
/* line 87, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-danger {
color: #fff;
background-color: #C71C22;
border-color: #C71C22;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger:focus, .btn-danger.focus {
color: #fff;
background-color: #9a161a;
border-color: #570c0f;
}
/* line 17, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger:hover {
color: #fff;
background-color: #9a161a;
border-color: #911419;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger:active, .btn-danger.active, .open > .btn-danger.dropdown-toggle {
color: #fff;
background-color: #9a161a;
border-color: #911419;
}
/* line 29, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger:active:hover, .btn-danger:active:focus, .btn-danger:active.focus, .btn-danger.active:hover, .btn-danger.active:focus, .btn-danger.active.focus, .open > .btn-danger.dropdown-toggle:hover, .open > .btn-danger.dropdown-toggle:focus, .open > .btn-danger.dropdown-toggle.focus {
color: #fff;
background-color: #7b1115;
border-color: #570c0f;
}
/* line 37, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger:active, .btn-danger.active, .open > .btn-danger.dropdown-toggle {
background-image: none;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled.focus, .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled].focus, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger.focus {
background-color: #C71C22;
border-color: #C71C22;
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger .badge {
color: #C71C22;
background-color: #fff;
}
/* line 96, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link {
color: #1d3d56;
font-weight: normal;
border-radius: 0;
}
/* line 101, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link {
background-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
}
/* line 109, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
border-color: transparent;
}
/* line 115, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link:hover, .btn-link:focus {
color: #0a141d;
text-decoration: underline;
background-color: transparent;
}
/* line 123, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link[disabled]:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:hover, fieldset[disabled] .btn-link:focus {
color: #999999;
text-decoration: none;
}
/* line 135, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-lg, .btn-group-lg > .btn {
padding: 14px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
}
/* line 139, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-sm, .btn-group-sm > .btn {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
/* line 143, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-xs, .btn-group-xs > .btn {
padding: 1px 5px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
/* line 151, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-block {
display: block;
width: 100%;
}
/* line 157, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
.btn-block + .btn-block {
margin-top: 5px;
}
/* line 165, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss */
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
width: 100%;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss */
.fade {
opacity: 0;
-webkit-transition: opacity 0.15s linear;
-o-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
}
/* line 13, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss */
.fade.in {
opacity: 1;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss */
.collapse {
display: none;
}
/* line 21, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss */
.collapse.in {
display: block;
}
/* line 26, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss */
tr.collapse.in {
display: table-row;
}
/* line 28, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss */
tbody.collapse.in {
display: table-row-group;
}
/* line 30, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss */
.collapsing {
position: relative;
height: 0;
overflow: hidden;
-webkit-transition-property: height, visibility;
transition-property: height, visibility;
-webkit-transition-duration: 0.35s;
transition-duration: 0.35s;
-webkit-transition-timing-function: ease;
transition-timing-function: ease;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-top: 4px solid \9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropup,
.dropdown {
position: relative;
}
/* line 26, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-toggle:focus {
outline: 0;
}
/* line 31, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0;
list-style: none;
font-size: 14px;
text-align: left;
background-color: #fff;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
background-clip: padding-box;
}
/* line 54, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu.pull-right {
right: 0;
left: auto;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu .divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
/* line 65, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > li > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #333333;
white-space: nowrap;
}
/* line 78, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
text-decoration: none;
color: #fff;
background-color: #2FA4E7;
}
/* line 88, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
color: #fff;
text-decoration: none;
outline: 0;
background-color: #2FA4E7;
}
/* line 103, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
color: #999999;
}
/* line 110, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
text-decoration: none;
background-color: transparent;
background-image: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
cursor: not-allowed;
}
/* line 123, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.open > .dropdown-menu {
display: block;
}
/* line 128, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.open > a {
outline: 0;
}
/* line 137, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu-right {
left: auto;
right: 0;
}
/* line 147, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu-left {
left: 0;
right: auto;
}
/* line 153, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-header {
display: block;
padding: 3px 20px;
font-size: 12px;
line-height: 1.42857143;
color: #999999;
white-space: nowrap;
}
/* line 163, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-backdrop {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: 990;
}
/* line 173, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.pull-right > .dropdown-menu {
right: 0;
left: auto;
}
/* line 186, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
border-top: 0;
border-bottom: 4px dashed;
border-bottom: 4px solid \9;
content: "";
}
/* line 193, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
top: auto;
bottom: 100%;
margin-bottom: 2px;
}
@media (min-width: 768px) {
/* line 207, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.navbar-right .dropdown-menu {
right: 0;
left: auto;
}
/* line 212, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss */
.navbar-right .dropdown-menu-left {
left: 0;
right: auto;
}
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group,
.btn-group-vertical {
position: relative;
display: inline-block;
vertical-align: middle;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn,
.btn-group-vertical > .btn {
position: relative;
float: left;
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active,
.btn-group-vertical > .btn:hover,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn.active {
z-index: 2;
}
/* line 26, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
margin-left: -1px;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-toolbar {
margin-left: -5px;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.btn-toolbar:before, .btn-toolbar:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.btn-toolbar:after {
clear: both;
}
/* line 39, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-toolbar .btn,
.btn-toolbar .btn-group,
.btn-toolbar .input-group {
float: left;
}
/* line 44, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-toolbar > .btn,
.btn-toolbar > .btn-group,
.btn-toolbar > .input-group {
margin-left: 5px;
}
/* line 51, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
border-radius: 0;
}
/* line 56, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:first-child {
margin-left: 0;
}
/* line 58, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
/* line 63, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
/* line 69, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-group {
float: left;
}
/* line 72, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
/* line 76, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
/* line 81, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
/* line 86, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
outline: 0;
}
/* line 105, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn + .dropdown-toggle {
padding-left: 8px;
padding-right: 8px;
}
/* line 109, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-lg + .dropdown-toggle, .btn-group-lg.btn-group > .btn + .dropdown-toggle {
padding-left: 12px;
padding-right: 12px;
}
/* line 116, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group.open .dropdown-toggle {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
/* line 120, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group.open .dropdown-toggle.btn-link {
-webkit-box-shadow: none;
box-shadow: none;
}
/* line 127, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn .caret {
margin-left: 0;
}
/* line 131, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-lg .caret, .btn-group-lg > .btn .caret {
border-width: 5px 5px 0;
border-bottom-width: 0;
}
/* line 136, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.dropup .btn-lg .caret, .dropup .btn-group-lg > .btn .caret {
border-width: 0 5px 5px;
}
/* line 145, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group,
.btn-group-vertical > .btn-group > .btn {
display: block;
float: none;
width: 100%;
max-width: 100%;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.btn-group-vertical > .btn-group:after {
clear: both;
}
/* line 157, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn-group > .btn {
float: none;
}
/* line 162, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn + .btn,
.btn-group-vertical > .btn + .btn-group,
.btn-group-vertical > .btn-group + .btn,
.btn-group-vertical > .btn-group + .btn-group {
margin-top: -1px;
margin-left: 0;
}
/* line 172, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
border-radius: 0;
}
/* line 175, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn:first-child:not(:last-child) {
border-top-right-radius: 4px;
border-top-left-radius: 4px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
/* line 179, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn:last-child:not(:first-child) {
border-top-right-radius: 0;
border-top-left-radius: 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
/* line 184, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
/* line 188, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
/* line 193, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
border-top-right-radius: 0;
border-top-left-radius: 0;
}
/* line 201, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-justified {
display: table;
width: 100%;
table-layout: fixed;
border-collapse: separate;
}
/* line 206, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-justified > .btn,
.btn-group-justified > .btn-group {
float: none;
display: table-cell;
width: 1%;
}
/* line 212, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-justified > .btn-group .btn {
width: 100%;
}
/* line 216, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-justified > .btn-group .dropdown-menu {
left: auto;
}
/* line 237, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss */
[data-toggle="buttons"] > .btn input[type="radio"],
[data-toggle="buttons"] > .btn input[type="checkbox"],
[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
position: absolute;
clip: rect(0, 0, 0, 0);
pointer-events: none;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group {
position: relative;
display: table;
border-collapse: separate;
}
/* line 13, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group[class*="col-"] {
float: none;
padding-left: 0;
padding-right: 0;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group .form-control {
position: relative;
z-index: 2;
float: left;
width: 100%;
margin-bottom: 0;
}
/* line 33, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group .form-control:focus {
z-index: 3;
}
/* line 58, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon,
.input-group-btn,
.input-group .form-control {
display: table-cell;
}
/* line 63, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child),
.input-group .form-control:not(:first-child):not(:last-child) {
border-radius: 0;
}
/* line 68, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon,
.input-group-btn {
width: 1%;
white-space: nowrap;
vertical-align: middle;
}
/* line 77, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon {
padding: 8px 12px;
font-size: 14px;
font-weight: normal;
line-height: 1;
color: #1d3d56;
text-align: center;
background-color: #eeeeee;
border: 1px solid #ccc;
border-radius: 4px;
}
/* line 89, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon.input-sm,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .input-group-addon.btn {
padding: 5px 10px;
font-size: 12px;
border-radius: 3px;
}
/* line 94, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon.input-lg,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .input-group-addon.btn {
padding: 14px 16px;
font-size: 18px;
border-radius: 6px;
}
/* line 101, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon input[type="radio"],
.input-group-addon input[type="checkbox"] {
margin-top: 0;
}
/* line 108, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
/* line 117, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon:first-child {
border-right: 0;
}
/* line 120, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
/* line 129, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon:last-child {
border-left: 0;
}
/* line 135, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn {
position: relative;
font-size: 0;
white-space: nowrap;
}
/* line 144, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn > .btn {
position: relative;
}
/* line 146, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn > .btn + .btn {
margin-left: -1px;
}
/* line 150, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active {
z-index: 2;
}
/* line 159, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group {
margin-right: -1px;
}
/* line 165, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group {
z-index: 2;
margin-left: -1px;
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav {
margin-bottom: 0;
padding-left: 0;
list-style: none;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.nav:before, .nav:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.nav:after {
clear: both;
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav > li {
position: relative;
display: block;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav > li > a {
position: relative;
display: block;
padding: 10px 15px;
}
/* line 23, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav > li > a:hover, .nav > li > a:focus {
text-decoration: none;
background-color: #eeeeee;
}
/* line 31, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav > li.disabled > a {
color: #999999;
}
/* line 34, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
color: #999999;
text-decoration: none;
background-color: transparent;
cursor: not-allowed;
}
/* line 46, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
background-color: #eeeeee;
border-color: #1d3d56;
}
/* line 59, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav .nav-divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
/* line 66, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav > li > a > img {
max-width: none;
}
/* line 76, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs {
border-bottom: 1px solid #ddd;
}
/* line 78, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs > li {
float: left;
margin-bottom: -1px;
}
/* line 84, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs > li > a {
margin-right: 2px;
line-height: 1.42857143;
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
}
/* line 89, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs > li > a:hover {
border-color: #eeeeee #eeeeee #ddd;
}
/* line 96, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
color: #555555;
background-color: #ffffff;
border: 1px solid #ddd;
border-bottom-color: transparent;
cursor: default;
}
/* line 118, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-pills > li {
float: left;
}
/* line 122, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-pills > li > a {
border-radius: 4px;
}
/* line 125, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-pills > li + li {
margin-left: 2px;
}
/* line 131, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
color: #5b5bd9;
background-color: transparent;
}
/* line 144, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-stacked > li {
float: none;
}
/* line 146, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-stacked > li + li {
margin-top: 2px;
margin-left: 0;
}
/* line 160, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified, .nav-tabs.nav-justified {
width: 100%;
}
/* line 163, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > li, .nav-tabs.nav-justified > li {
float: none;
}
/* line 165, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > li > a, .nav-tabs.nav-justified > li > a {
text-align: center;
margin-bottom: 5px;
}
/* line 171, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > .dropdown .dropdown-menu {
top: auto;
left: auto;
}
@media (min-width: 768px) {
/* line 177, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > li, .nav-tabs.nav-justified > li {
display: table-cell;
width: 1%;
}
/* line 180, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > li > a, .nav-tabs.nav-justified > li > a {
margin-bottom: 0;
}
}
/* line 190, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified, .nav-tabs.nav-justified {
border-bottom: 0;
}
/* line 193, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a {
margin-right: 0;
border-radius: 4px;
}
/* line 199, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus,
.nav-tabs.nav-justified > .active > a:focus {
border: 1px solid #ddd;
}
@media (min-width: 768px) {
/* line 206, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a {
border-bottom: 1px solid #ddd;
border-radius: 4px 4px 0 0;
}
/* line 210, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus,
.nav-tabs.nav-justified > .active > a:focus {
border-bottom-color: #ffffff;
}
}
/* line 224, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.tab-content > .tab-pane {
display: none;
}
/* line 227, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.tab-content > .active {
display: block;
}
/* line 237, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs .dropdown-menu {
margin-top: -1px;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar {
position: relative;
min-height: 50px;
margin-bottom: 20px;
border: 1px solid transparent;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar:before, .navbar:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar:after {
clear: both;
}
@media (min-width: 768px) {
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar {
border-radius: 4px;
}
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar-header:before, .navbar-header:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar-header:after {
clear: both;
}
@media (min-width: 768px) {
/* line 31, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-header {
float: left;
}
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse {
overflow-x: visible;
padding-right: 30px;
padding-left: 30px;
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
-webkit-overflow-scrolling: touch;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar-collapse:before, .navbar-collapse:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar-collapse:after {
clear: both;
}
/* line 59, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse.in {
overflow-y: auto;
}
@media (min-width: 768px) {
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse {
width: auto;
border-top: 0;
box-shadow: none;
}
/* line 68, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse.collapse {
display: block !important;
height: auto !important;
padding-bottom: 0;
overflow: visible !important;
}
/* line 75, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse.in {
overflow-y: visible;
}
/* line 81, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
padding-left: 0;
padding-right: 0;
}
}
/* line 92, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
max-height: 340px;
}
@media (max-device-width: 480px) and (orientation: landscape) {
/* line 92, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
max-height: 200px;
}
}
/* line 108, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.container > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-header,
.container-fluid > .navbar-collapse {
margin-right: -30px;
margin-left: -30px;
}
@media (min-width: 768px) {
/* line 108, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.container > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-header,
.container-fluid > .navbar-collapse {
margin-right: 0;
margin-left: 0;
}
}
/* line 128, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-static-top {
z-index: 1000;
border-width: 0 0 1px;
}
@media (min-width: 768px) {
/* line 128, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-static-top {
border-radius: 0;
}
}
/* line 138, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top,
.navbar-fixed-bottom {
position: fixed;
right: 0;
left: 0;
z-index: 1030;
}
@media (min-width: 768px) {
/* line 138, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top,
.navbar-fixed-bottom {
border-radius: 0;
}
}
/* line 150, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
/* line 154, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-bottom {
bottom: 0;
margin-bottom: 0;
border-width: 1px 0 0;
}
/* line 163, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-brand {
float: left;
padding: 15px 30px;
font-size: 18px;
line-height: 20px;
height: 50px;
}
/* line 170, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-brand:hover, .navbar-brand:focus {
text-decoration: none;
}
/* line 175, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-brand > img {
display: block;
}
@media (min-width: 768px) {
/* line 180, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
margin-left: -30px;
}
}
/* line 193, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle {
position: relative;
float: right;
margin-right: 30px;
padding: 9px 10px;
margin-top: 8px;
margin-bottom: 8px;
background-color: transparent;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
}
/* line 206, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle:focus {
outline: 0;
}
/* line 211, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle .icon-bar {
display: block;
width: 22px;
height: 2px;
border-radius: 1px;
}
/* line 217, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle .icon-bar + .icon-bar {
margin-top: 4px;
}
@media (min-width: 768px) {
/* line 193, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle {
display: none;
}
}
/* line 232, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav {
margin: 7.5px -30px;
}
/* line 235, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav > li > a {
padding-top: 10px;
padding-bottom: 10px;
line-height: 20px;
}
@media (max-width: 767px) {
/* line 243, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav .open .dropdown-menu {
position: static;
float: none;
width: auto;
margin-top: 0;
background-color: transparent;
border: 0;
box-shadow: none;
}
/* line 251, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav .open .dropdown-menu > li > a,
.navbar-nav .open .dropdown-menu .dropdown-header {
padding: 5px 15px 5px 25px;
}
/* line 255, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav .open .dropdown-menu > li > a {
line-height: 20px;
}
/* line 257, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus {
background-image: none;
}
}
@media (min-width: 768px) {
/* line 232, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav {
float: left;
margin: 0;
}
/* line 270, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav > li {
float: left;
}
/* line 272, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav > li > a {
padding-top: 15px;
padding-bottom: 15px;
}
}
/* line 286, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-form {
margin-left: -30px;
margin-right: -30px;
padding: 10px 30px;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
margin-top: 6px;
margin-bottom: 6px;
}
@media (min-width: 768px) {
/* line 478, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .form-group {
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
/* line 485, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .form-control {
display: inline-block;
width: auto;
vertical-align: middle;
}
/* line 492, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .form-control-static {
display: inline-block;
}
/* line 496, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .input-group {
display: inline-table;
vertical-align: middle;
}
/* line 500, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .input-group .input-group-addon,
.navbar-form .input-group .input-group-btn,
.navbar-form .input-group .form-control {
width: auto;
}
/* line 508, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .input-group > .form-control {
width: 100%;
}
/* line 512, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .control-label {
margin-bottom: 0;
vertical-align: middle;
}
/* line 519, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .radio,
.navbar-form .checkbox {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
vertical-align: middle;
}
/* line 526, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .radio label,
.navbar-form .checkbox label {
padding-left: 0;
}
/* line 530, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .radio input[type="radio"],
.navbar-form .checkbox input[type="checkbox"] {
position: relative;
margin-left: 0;
}
/* line 537, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss */
.navbar-form .has-feedback .form-control-feedback {
top: 0;
}
}
@media (max-width: 767px) {
/* line 298, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-form .form-group {
margin-bottom: 5px;
}
/* line 302, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-form .form-group:last-child {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
/* line 286, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-form {
width: auto;
border: 0;
margin-left: 0;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
}
/* line 327, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav > li > .dropdown-menu {
margin-top: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
/* line 332, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
margin-bottom: 0;
border-top-right-radius: 4px;
border-top-left-radius: 4px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
/* line 343, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-btn {
margin-top: 6px;
margin-bottom: 6px;
}
/* line 346, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-btn.btn-sm, .btn-group-sm > .navbar-btn.btn {
margin-top: 10px;
margin-bottom: 10px;
}
/* line 349, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-btn.btn-xs, .btn-group-xs > .navbar-btn.btn {
margin-top: 14px;
margin-bottom: 14px;
}
/* line 359, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-text {
margin-top: 15px;
margin-bottom: 15px;
}
@media (min-width: 768px) {
/* line 359, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-text {
float: left;
margin-left: 30px;
margin-right: 30px;
}
}
@media (min-width: 768px) {
/* line 379, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-left {
float: left !important;
}
/* line 382, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-right {
float: right !important;
margin-right: -30px;
}
/* line 386, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-right ~ .navbar-right {
margin-right: 0;
}
}
/* line 397, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default {
background-color: #ffffff;
border-color: #eeeeee;
}
/* line 401, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-brand {
color: #1d3d56;
}
/* line 403, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
color: #fff;
background-color: none;
}
/* line 410, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-text {
color: #ddd;
}
/* line 415, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > li > a {
color: #1d3d56;
}
/* line 418, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
color: #1d3d56;
background-color: #f7f9fa;
}
/* line 425, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
color: #5b5bd9;
background-color: rgba(91, 91, 217, 0.2);
}
/* line 433, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus {
color: #ddd;
background-color: transparent;
}
/* line 442, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-toggle {
border-color: #e6e6e6;
}
/* line 444, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background-color: #e6e6e6;
}
/* line 448, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-toggle .icon-bar {
background-color: #fff;
}
/* line 453, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
border-color: #eeeeee;
}
/* line 462, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
background-color: rgba(91, 91, 217, 0.2);
color: #5b5bd9;
}
@media (max-width: 767px) {
/* line 473, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #1d3d56;
}
/* line 475, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
color: #1d3d56;
background-color: #f7f9fa;
}
/* line 482, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #5b5bd9;
background-color: rgba(91, 91, 217, 0.2);
}
/* line 490, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
color: #ddd;
background-color: transparent;
}
}
/* line 506, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-link {
color: #1d3d56;
}
/* line 508, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-link:hover {
color: #1d3d56;
}
/* line 513, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .btn-link {
color: #1d3d56;
}
/* line 515, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .btn-link:hover, .navbar-default .btn-link:focus {
color: #1d3d56;
}
/* line 521, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .btn-link[disabled]:hover, .navbar-default .btn-link[disabled]:focus, fieldset[disabled] .navbar-default .btn-link:hover, fieldset[disabled] .navbar-default .btn-link:focus {
color: #ddd;
}
/* line 531, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse {
background-color: #033C73;
border-color: #022f5a;
}
/* line 535, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-brand {
color: #fff;
}
/* line 537, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
color: #fff;
background-color: none;
}
/* line 544, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-text {
color: #fff;
}
/* line 549, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > li > a {
color: #fff;
}
/* line 552, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
color: #fff;
background-color: #022f5a;
}
/* line 559, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
color: #fff;
background-color: #022f5a;
}
/* line 567, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus {
color: #ccc;
background-color: transparent;
}
/* line 577, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-toggle {
border-color: #022f5a;
}
/* line 579, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
background-color: #022f5a;
}
/* line 583, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-toggle .icon-bar {
background-color: #fff;
}
/* line 588, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
border-color: #022a50;
}
/* line 596, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
background-color: #022f5a;
color: #fff;
}
@media (max-width: 767px) {
/* line 607, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
border-color: #022f5a;
}
/* line 610, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
background-color: #022f5a;
}
/* line 613, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
color: #fff;
}
/* line 615, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
color: #fff;
background-color: #022f5a;
}
/* line 622, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #fff;
background-color: #022f5a;
}
/* line 630, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
color: #ccc;
background-color: transparent;
}
}
/* line 641, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-link {
color: #fff;
}
/* line 643, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-link:hover {
color: #fff;
}
/* line 648, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .btn-link {
color: #fff;
}
/* line 650, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .btn-link:hover, .navbar-inverse .btn-link:focus {
color: #fff;
}
/* line 656, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .btn-link[disabled]:hover, .navbar-inverse .btn-link[disabled]:focus, fieldset[disabled] .navbar-inverse .btn-link:hover, fieldset[disabled] .navbar-inverse .btn-link:focus {
color: #ccc;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss */
.breadcrumb {
padding: 8px 15px;
margin-bottom: 20px;
list-style: none;
background-color: #f5f5f5;
border-radius: 4px;
}
/* line 13, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss */
.breadcrumb > li {
display: inline-block;
}
/* line 16, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss */
.breadcrumb > li + li:before {
content: "/ ";
padding: 0 5px;
color: #ccc;
}
/* line 25, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss */
.breadcrumb > .active {
color: #999999;
}
/* line 4, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss */
.pagination {
display: inline-block;
padding-left: 0;
margin: 20px 0;
border-radius: 4px;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li {
display: inline;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li > a,
.pagination > li > span {
position: relative;
float: left;
padding: 8px 12px;
line-height: 1.42857143;
text-decoration: none;
color: #1d3d56;
background-color: #fff;
border: 1px solid #ddd;
margin-left: -1px;
}
/* line 25, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li:first-child > a,
.pagination > li:first-child > span {
margin-left: 0;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
/* line 32, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li:last-child > a,
.pagination > li:last-child > span {
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
}
/* line 41, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
z-index: 2;
color: #0a141d;
background-color: #eeeeee;
border-color: #ddd;
}
/* line 52, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
z-index: 3;
color: #999999;
background-color: #f5f5f5;
border-color: #ddd;
cursor: default;
}
/* line 64, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
color: #999999;
background-color: #fff;
border-color: #ddd;
cursor: not-allowed;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-lg > li > a,
.pagination-lg > li > span {
padding: 14px 16px;
font-size: 18px;
line-height: 1.3333333;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
border-bottom-left-radius: 6px;
border-top-left-radius: 6px;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
border-bottom-right-radius: 6px;
border-top-right-radius: 6px;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-sm > li > a,
.pagination-sm > li > span {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
border-bottom-left-radius: 3px;
border-top-left-radius: 3px;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
border-bottom-right-radius: 3px;
border-top-right-radius: 3px;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss */
.pager {
padding-left: 0;
margin: 20px 0;
list-style: none;
text-align: center;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.pager:before, .pager:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.pager:after {
clear: both;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss */
.pager li {
display: inline;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss */
.pager li > a,
.pager li > span {
display: inline-block;
padding: 5px 14px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 15px;
}
/* line 23, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss */
.pager li > a:hover,
.pager li > a:focus {
text-decoration: none;
background-color: #eeeeee;
}
/* line 31, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss */
.pager .next > a,
.pager .next > span {
float: right;
}
/* line 38, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss */
.pager .previous > a,
.pager .previous > span {
float: left;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss */
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
color: #999999;
background-color: #fff;
cursor: not-allowed;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
.label {
display: inline;
padding: .2em .6em .3em;
font-size: 75%;
font-weight: bold;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
.label:empty {
display: none;
}
/* line 25, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
.btn .label {
position: relative;
top: -1px;
}
/* line 33, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
a.label:hover, a.label:focus {
color: #fff;
text-decoration: none;
cursor: pointer;
}
/* line 44, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
.label-default {
background-color: #999999;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-default[href]:hover, .label-default[href]:focus {
background-color: gray;
}
/* line 48, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
.label-primary {
background-color: #2FA4E7;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-primary[href]:hover, .label-primary[href]:focus {
background-color: #178acc;
}
/* line 52, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
.label-success {
background-color: #73A839;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-success[href]:hover, .label-success[href]:focus {
background-color: #59822c;
}
/* line 56, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
.label-info {
background-color: #033C73;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-info[href]:hover, .label-info[href]:focus {
background-color: #022241;
}
/* line 60, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
.label-warning {
background-color: #DD5600;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-warning[href]:hover, .label-warning[href]:focus {
background-color: #aa4200;
}
/* line 64, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss */
.label-danger {
background-color: #C71C22;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-danger[href]:hover, .label-danger[href]:focus {
background-color: #9a161a;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss */
.badge {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: 12px;
font-weight: bold;
color: #fff;
line-height: 1;
vertical-align: middle;
white-space: nowrap;
text-align: center;
background-color: #2FA4E7;
border-radius: 10px;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss */
.badge:empty {
display: none;
}
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss */
.btn .badge {
position: relative;
top: -1px;
}
/* line 32, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss */
.btn-xs .badge, .btn-group-xs > .btn .badge, .btn-group-xs > .btn .badge {
top: 0;
padding: 1px 5px;
}
/* line 41, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss */
.list-group-item.active > .badge, .nav-pills > .active > a > .badge {
color: #1d3d56;
background-color: #fff;
}
/* line 47, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss */
.list-group-item > .badge {
float: right;
}
/* line 51, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss */
.list-group-item > .badge + .badge {
margin-right: 5px;
}
/* line 55, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss */
.nav-pills > li > a > .badge {
margin-left: 3px;
}
/* line 62, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss */
a.badge:hover, a.badge:focus {
color: #fff;
text-decoration: none;
cursor: pointer;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron {
padding-top: 30px;
padding-bottom: 30px;
margin-bottom: 30px;
color: inherit;
background-color: #eeeeee;
}
/* line 13, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron h1,
.jumbotron .h1 {
color: inherit;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron p {
margin-bottom: 15px;
font-size: 21px;
font-weight: 200;
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron > hr {
border-top-color: #d5d5d5;
}
/* line 28, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss */
.container .jumbotron, .container-fluid .jumbotron {
border-radius: 6px;
padding-left: 30px;
padding-right: 30px;
}
/* line 35, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron .container {
max-width: 100%;
}
@media screen and (min-width: 768px) {
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron {
padding-top: 48px;
padding-bottom: 48px;
}
/* line 43, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss */
.container .jumbotron, .container-fluid .jumbotron {
padding-left: 60px;
padding-right: 60px;
}
/* line 49, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron h1,
.jumbotron .h1 {
font-size: 63px;
}
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss */
.thumbnail {
display: block;
padding: 4px;
margin-bottom: 20px;
line-height: 1.42857143;
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 4px;
-webkit-transition: border 0.2s ease-in-out;
-o-transition: border 0.2s ease-in-out;
transition: border 0.2s ease-in-out;
}
/* line 17, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss */
.thumbnail > img,
.thumbnail a > img {
display: block;
max-width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
}
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss */
.thumbnail .caption {
padding: 9px;
color: #1d3d56;
}
/* line 34, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss */
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
border-color: #1d3d56;
}
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
/* line 16, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert h4 {
margin-top: 0;
color: inherit;
}
/* line 23, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert .alert-link {
font-weight: bold;
}
/* line 28, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert > p,
.alert > ul {
margin-bottom: 0;
}
/* line 33, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert > p + p {
margin-top: 5px;
}
/* line 42, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert-dismissable,
.alert-dismissible {
padding-right: 35px;
}
/* line 47, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert-dismissable .close,
.alert-dismissible .close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
/* line 59, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert-success {
background-color: #dff0d8;
border-color: #d6e9c6;
color: #468847;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-success hr {
border-top-color: #c9e2b3;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-success .alert-link {
color: #356635;
}
/* line 63, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert-info {
background-color: #ffffff;
border-color: #ffffff;
color: #163b5a;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-info hr {
border-top-color: #f2f2f2;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-info .alert-link {
color: #0c2031;
}
/* line 67, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert-warning {
background-color: #fcf8e3;
border-color: #fbeed5;
color: #c09853;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-warning hr {
border-top-color: #f8e5be;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-warning .alert-link {
color: #a47e3c;
}
/* line 71, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss */
.alert-danger {
background-color: #f2dede;
border-color: #eed3d7;
color: #b94a48;
}
/* line 8, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-danger hr {
border-top-color: #e6c1c7;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-danger .alert-link {
color: #953b39;
}
@-webkit-keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
@keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
/* line 26, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress {
overflow: hidden;
height: 20px;
margin-bottom: 20px;
background-color: #f5f5f5;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
/* line 36, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar {
float: left;
width: 0%;
height: 100%;
font-size: 12px;
line-height: 20px;
color: #fff;
text-align: center;
background-color: #2FA4E7;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
-webkit-transition: width 0.6s ease;
-o-transition: width 0.6s ease;
transition: width 0.6s ease;
}
/* line 54, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-striped .progress-bar,
.progress-bar-striped {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-size: 40px 40px;
}
/* line 64, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress.active .progress-bar,
.progress-bar.active {
-webkit-animation: progress-bar-stripes 2s linear infinite;
-o-animation: progress-bar-stripes 2s linear infinite;
animation: progress-bar-stripes 2s linear infinite;
}
/* line 73, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar-success {
background-color: #73A839;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss */
.progress-striped .progress-bar-success {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
/* line 77, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar-info {
background-color: #033C73;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss */
.progress-striped .progress-bar-info {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
/* line 81, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar-warning {
background-color: #DD5600;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss */
.progress-striped .progress-bar-warning {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
/* line 85, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar-danger {
background-color: #C71C22;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss */
.progress-striped .progress-bar-danger {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
/* line 1, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media {
margin-top: 15px;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media:first-child {
margin-top: 0;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media,
.media-body {
zoom: 1;
overflow: hidden;
}
/* line 16, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-body {
width: 10000px;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-object {
display: block;
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-object.img-thumbnail {
max-width: none;
}
/* line 29, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-right,
.media > .pull-right {
padding-left: 10px;
}
/* line 34, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-left,
.media > .pull-left {
padding-right: 10px;
}
/* line 39, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-left,
.media-right,
.media-body {
display: table-cell;
vertical-align: top;
}
/* line 46, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-middle {
vertical-align: middle;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-bottom {
vertical-align: bottom;
}
/* line 55, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-heading {
margin-top: 0;
margin-bottom: 5px;
}
/* line 63, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss */
.media-list {
padding-left: 0;
list-style: none;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group {
margin-bottom: 20px;
padding-left: 0;
}
/* line 21, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item {
position: relative;
display: block;
padding: 10px 15px;
margin-bottom: -1px;
background-color: #fff;
border: 1px solid #ddd;
}
/* line 31, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item:first-child {
border-top-right-radius: 4px;
border-top-left-radius: 4px;
}
/* line 34, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item:last-child {
margin-bottom: 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
/* line 46, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
a.list-group-item,
button.list-group-item {
color: #555;
}
/* line 50, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
a.list-group-item .list-group-item-heading,
button.list-group-item .list-group-item-heading {
color: #333;
}
/* line 55, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
a.list-group-item:hover, a.list-group-item:focus,
button.list-group-item:hover,
button.list-group-item:focus {
text-decoration: none;
color: #555;
background-color: #f5f5f5;
}
/* line 63, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
button.list-group-item {
width: 100%;
text-align: left;
}
/* line 70, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.disabled, .list-group-item.disabled:hover, .list-group-item.disabled:focus {
background-color: #eeeeee;
color: #999999;
cursor: not-allowed;
}
/* line 78, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading {
color: inherit;
}
/* line 81, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.disabled .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text {
color: #999999;
}
/* line 87, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
z-index: 2;
color: #fff;
background-color: #2FA4E7;
border-color: #2FA4E7;
}
/* line 96, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.active .list-group-item-heading,
.list-group-item.active .list-group-item-heading > small,
.list-group-item.active .list-group-item-heading > .small, .list-group-item.active:hover .list-group-item-heading,
.list-group-item.active:hover .list-group-item-heading > small,
.list-group-item.active:hover .list-group-item-heading > .small, .list-group-item.active:focus .list-group-item-heading,
.list-group-item.active:focus .list-group-item-heading > small,
.list-group-item.active:focus .list-group-item-heading > .small {
color: inherit;
}
/* line 101, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.active .list-group-item-text, .list-group-item.active:hover .list-group-item-text, .list-group-item.active:focus .list-group-item-text {
color: #e6f4fc;
}
/* line 4, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
.list-group-item-success {
color: #468847;
background-color: #dff0d8;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-success,
button.list-group-item-success {
color: #468847;
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-success .list-group-item-heading,
button.list-group-item-success .list-group-item-heading {
color: inherit;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-success:hover, a.list-group-item-success:focus,
button.list-group-item-success:hover,
button.list-group-item-success:focus {
color: #468847;
background-color: #d0e9c6;
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-success.active, a.list-group-item-success.active:hover, a.list-group-item-success.active:focus,
button.list-group-item-success.active,
button.list-group-item-success.active:hover,
button.list-group-item-success.active:focus {
color: #fff;
background-color: #468847;
border-color: #468847;
}
/* line 4, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
.list-group-item-info {
color: #3a87ad;
background-color: #d9edf7;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-info,
button.list-group-item-info {
color: #3a87ad;
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-info .list-group-item-heading,
button.list-group-item-info .list-group-item-heading {
color: inherit;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-info:hover, a.list-group-item-info:focus,
button.list-group-item-info:hover,
button.list-group-item-info:focus {
color: #3a87ad;
background-color: #c4e3f3;
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-info.active, a.list-group-item-info.active:hover, a.list-group-item-info.active:focus,
button.list-group-item-info.active,
button.list-group-item-info.active:hover,
button.list-group-item-info.active:focus {
color: #fff;
background-color: #3a87ad;
border-color: #3a87ad;
}
/* line 4, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
.list-group-item-warning {
color: #c09853;
background-color: #fcf8e3;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-warning,
button.list-group-item-warning {
color: #c09853;
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-warning .list-group-item-heading,
button.list-group-item-warning .list-group-item-heading {
color: inherit;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-warning:hover, a.list-group-item-warning:focus,
button.list-group-item-warning:hover,
button.list-group-item-warning:focus {
color: #c09853;
background-color: #faf2cc;
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-warning.active, a.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus,
button.list-group-item-warning.active,
button.list-group-item-warning.active:hover,
button.list-group-item-warning.active:focus {
color: #fff;
background-color: #c09853;
border-color: #c09853;
}
/* line 4, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
.list-group-item-danger {
color: #b94a48;
background-color: #f2dede;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-danger,
button.list-group-item-danger {
color: #b94a48;
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-danger .list-group-item-heading,
button.list-group-item-danger .list-group-item-heading {
color: inherit;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-danger:hover, a.list-group-item-danger:focus,
button.list-group-item-danger:hover,
button.list-group-item-danger:focus {
color: #b94a48;
background-color: #ebcccc;
}
/* line 24, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-danger.active, a.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus,
button.list-group-item-danger.active,
button.list-group-item-danger.active:hover,
button.list-group-item-danger.active:focus {
color: #fff;
background-color: #b94a48;
border-color: #b94a48;
}
/* line 123, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item-heading {
margin-top: 0;
margin-bottom: 5px;
}
/* line 127, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item-text {
margin-bottom: 0;
line-height: 1.3;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel {
margin-bottom: 20px;
background-color: #fff;
border: 1px solid transparent;
border-radius: 5px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
/* line 16, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-body {
padding: 15px;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.panel-body:before, .panel-body:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.panel-body:after {
clear: both;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-right-radius: 4px;
border-top-left-radius: 4px;
}
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-heading > .dropdown .dropdown-toggle {
color: inherit;
}
/* line 33, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 16px;
color: inherit;
}
/* line 39, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-title > a,
.panel-title > small,
.panel-title > .small,
.panel-title > small > a,
.panel-title > .small > a {
color: inherit;
}
/* line 49, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-footer {
padding: 10px 15px;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
/* line 63, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .list-group,
.panel > .panel-collapse > .list-group {
margin-bottom: 0;
}
/* line 67, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .list-group .list-group-item,
.panel > .panel-collapse > .list-group .list-group-item {
border-width: 1px 0;
border-radius: 0;
}
/* line 74, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .list-group:first-child .list-group-item:first-child,
.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
border-top: 0;
border-top-right-radius: 4px;
border-top-left-radius: 4px;
}
/* line 82, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .list-group:last-child .list-group-item:last-child,
.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
border-bottom: 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
/* line 89, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
border-top-right-radius: 0;
border-top-left-radius: 0;
}
/* line 96, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-heading + .list-group .list-group-item:first-child {
border-top-width: 0;
}
/* line 100, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.list-group + .panel-footer {
border-top-width: 0;
}
/* line 110, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table,
.panel > .table-responsive > .table,
.panel > .panel-collapse > .table {
margin-bottom: 0;
}
/* line 115, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table caption,
.panel > .table-responsive > .table caption,
.panel > .panel-collapse > .table caption {
padding-left: 15px;
padding-right: 15px;
}
/* line 121, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child {
border-top-right-radius: 4px;
border-top-left-radius: 4px;
}
/* line 127, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:first-child > thead:first-child > tr:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
/* line 131, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
border-top-left-radius: 4px;
}
/* line 135, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
border-top-right-radius: 4px;
}
/* line 143, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:last-child,
.panel > .table-responsive:last-child > .table:last-child {
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
/* line 149, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
/* line 153, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
border-bottom-left-radius: 4px;
}
/* line 157, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
border-bottom-right-radius: 4px;
}
/* line 164, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive,
.panel > .table + .panel-body,
.panel > .table-responsive + .panel-body {
border-top: 1px solid transparent;
}
/* line 170, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table > tbody:first-child > tr:first-child th,
.panel > .table > tbody:first-child > tr:first-child td {
border-top: 0;
}
/* line 174, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
border: 0;
}
/* line 181, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered > thead > tr > th:first-child,
.panel > .table-bordered > thead > tr > td:first-child,
.panel > .table-bordered > tbody > tr > th:first-child,
.panel > .table-bordered > tbody > tr > td:first-child,
.panel > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
/* line 185, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered > thead > tr > th:last-child,
.panel > .table-bordered > thead > tr > td:last-child,
.panel > .table-bordered > tbody > tr > th:last-child,
.panel > .table-bordered > tbody > tr > td:last-child,
.panel > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
/* line 194, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered > thead > tr:first-child > td,
.panel > .table-bordered > thead > tr:first-child > th,
.panel > .table-bordered > tbody > tr:first-child > td,
.panel > .table-bordered > tbody > tr:first-child > th,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
border-bottom: 0;
}
/* line 203, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered > tbody > tr:last-child > td,
.panel > .table-bordered > tbody > tr:last-child > th,
.panel > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
border-bottom: 0;
}
/* line 210, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-responsive {
border: 0;
margin-bottom: 0;
}
/* line 222, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-group {
margin-bottom: 20px;
}
/* line 226, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel {
margin-bottom: 0;
border-radius: 5px;
}
/* line 230, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel + .panel {
margin-top: 5px;
}
/* line 235, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel-heading {
border-bottom: 0;
}
/* line 238, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel-heading + .panel-collapse > .panel-body,
.panel-group .panel-heading + .panel-collapse > .list-group {
border-top: 1px solid #ddd;
}
/* line 244, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel-footer {
border-top: 0;
}
/* line 246, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel-footer + .panel-collapse .panel-body {
border-bottom: 1px solid #ddd;
}
/* line 254, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-default {
border-color: #ddd;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-default > .panel-heading {
color: #1d3d56;
background-color: #f5f5f5;
border-color: #ddd;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-default > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ddd;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-default > .panel-heading .badge {
color: #f5f5f5;
background-color: #1d3d56;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-default > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ddd;
}
/* line 257, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-primary {
border-color: #ddd;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-primary > .panel-heading {
color: #fff;
background-color: #2FA4E7;
border-color: #ddd;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-primary > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ddd;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-primary > .panel-heading .badge {
color: #2FA4E7;
background-color: #fff;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-primary > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ddd;
}
/* line 260, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-success {
border-color: #ddd;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-success > .panel-heading {
color: #468847;
background-color: #73A839;
border-color: #ddd;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-success > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ddd;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-success > .panel-heading .badge {
color: #73A839;
background-color: #468847;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-success > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ddd;
}
/* line 263, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-info {
border-color: #ddd;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-info > .panel-heading {
color: #3a87ad;
background-color: #033C73;
border-color: #ddd;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-info > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ddd;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-info > .panel-heading .badge {
color: #033C73;
background-color: #3a87ad;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-info > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ddd;
}
/* line 266, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-warning {
border-color: #ddd;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-warning > .panel-heading {
color: #c09853;
background-color: #DD5600;
border-color: #ddd;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-warning > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ddd;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-warning > .panel-heading .badge {
color: #DD5600;
background-color: #c09853;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-warning > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ddd;
}
/* line 269, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss */
.panel-danger {
border-color: #ddd;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-danger > .panel-heading {
color: #b94a48;
background-color: #C71C22;
border-color: #ddd;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-danger > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ddd;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-danger > .panel-heading .badge {
color: #C71C22;
background-color: #b94a48;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-danger > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ddd;
}
/* line 5, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss */
.embed-responsive {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss */
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
position: absolute;
top: 0;
left: 0;
bottom: 0;
height: 100%;
width: 100%;
border: 0;
}
/* line 28, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss */
.embed-responsive-16by9 {
padding-bottom: 56.25%;
}
/* line 33, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss */
.embed-responsive-4by3 {
padding-bottom: 75%;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss */
.well {
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
background-color: #F7F9FA;
border: 1px solid #F7F9FA;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss */
.well blockquote {
border-color: #ddd;
border-color: rgba(0, 0, 0, 0.15);
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss */
.well-lg {
padding: 24px;
border-radius: 6px;
}
/* line 26, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss */
.well-sm {
padding: 9px;
border-radius: 3px;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss */
.close {
float: right;
font-size: 21px;
font-weight: bold;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
opacity: 0.2;
filter: alpha(opacity=20);
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss */
.close:hover, .close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
opacity: 0.5;
filter: alpha(opacity=50);
}
/* line 30, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss */
button.close {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-open {
overflow: hidden;
}
/* line 16, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal {
display: none;
overflow: hidden;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1050;
-webkit-overflow-scrolling: touch;
outline: 0;
}
/* line 32, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal.fade .modal-dialog {
-webkit-transform: translate(0, -25%);
-ms-transform: translate(0, -25%);
-o-transform: translate(0, -25%);
transform: translate(0, -25%);
-webkit-transition: -webkit-transform 0.3s ease-out;
-moz-transition: -moz-transform 0.3s ease-out;
-o-transition: -o-transform 0.3s ease-out;
transition: transform 0.3s ease-out;
}
/* line 36, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal.in .modal-dialog {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0);
}
/* line 38, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-open .modal {
overflow-x: hidden;
overflow-y: auto;
}
/* line 44, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-dialog {
position: relative;
width: auto;
margin: 10px;
}
/* line 51, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-content {
position: relative;
background-color: #fff;
border: 1px solid #999;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px;
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
background-clip: padding-box;
outline: 0;
}
/* line 64, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1040;
background-color: #000;
}
/* line 73, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-backdrop.fade {
opacity: 0;
filter: alpha(opacity=0);
}
/* line 74, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-backdrop.in {
opacity: 0.5;
filter: alpha(opacity=50);
}
/* line 79, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-header {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.modal-header:before, .modal-header:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.modal-header:after {
clear: both;
}
/* line 85, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-header .close {
margin-top: -2px;
}
/* line 90, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-title {
margin: 0;
line-height: 1.42857143;
}
/* line 97, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-body {
position: relative;
padding: 20px;
}
/* line 103, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-footer {
padding: 20px;
text-align: right;
border-top: 1px solid #e5e5e5;
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.modal-footer:before, .modal-footer:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.modal-footer:after {
clear: both;
}
/* line 110, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-footer .btn + .btn {
margin-left: 5px;
margin-bottom: 0;
}
/* line 115, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-footer .btn-group .btn + .btn {
margin-left: -1px;
}
/* line 119, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-footer .btn-block + .btn-block {
margin-left: 0;
}
/* line 125, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-scrollbar-measure {
position: absolute;
top: -9999px;
width: 50px;
height: 50px;
overflow: scroll;
}
@media (min-width: 768px) {
/* line 136, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-dialog {
width: 600px;
margin: 30px auto;
}
/* line 140, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-content {
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
/* line 145, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-sm {
width: 300px;
}
}
@media (min-width: 992px) {
/* line 149, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss */
.modal-lg {
width: 900px;
}
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip {
position: absolute;
z-index: 1070;
display: block;
font-family: "Lato", Helvetica, Arial, sans-serif;
font-style: normal;
font-weight: normal;
letter-spacing: normal;
line-break: auto;
line-height: 1.42857143;
text-align: left;
text-align: start;
text-decoration: none;
text-shadow: none;
text-transform: none;
white-space: normal;
word-break: normal;
word-spacing: normal;
word-wrap: normal;
font-size: 12px;
opacity: 0;
filter: alpha(opacity=0);
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.in {
opacity: 0.9;
filter: alpha(opacity=90);
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.top {
margin-top: -3px;
padding: 5px 0;
}
/* line 20, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.right {
margin-left: 3px;
padding: 0 5px;
}
/* line 21, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.bottom {
margin-top: 3px;
padding: 5px 0;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.left {
margin-left: -3px;
padding: 0 5px;
}
/* line 26, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
color: #fff;
text-align: center;
background-color: #000;
border-radius: 4px;
}
/* line 36, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip-arrow {
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.top .tooltip-arrow {
bottom: 0;
left: 50%;
margin-left: -5px;
border-width: 5px 5px 0;
border-top-color: #000;
}
/* line 52, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.top-left .tooltip-arrow {
bottom: 0;
right: 5px;
margin-bottom: -5px;
border-width: 5px 5px 0;
border-top-color: #000;
}
/* line 59, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.top-right .tooltip-arrow {
bottom: 0;
left: 5px;
margin-bottom: -5px;
border-width: 5px 5px 0;
border-top-color: #000;
}
/* line 66, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.right .tooltip-arrow {
top: 50%;
left: 0;
margin-top: -5px;
border-width: 5px 5px 5px 0;
border-right-color: #000;
}
/* line 73, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.left .tooltip-arrow {
top: 50%;
right: 0;
margin-top: -5px;
border-width: 5px 0 5px 5px;
border-left-color: #000;
}
/* line 80, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.bottom .tooltip-arrow {
top: 0;
left: 50%;
margin-left: -5px;
border-width: 0 5px 5px;
border-bottom-color: #000;
}
/* line 87, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.bottom-left .tooltip-arrow {
top: 0;
right: 5px;
margin-top: -5px;
border-width: 0 5px 5px;
border-bottom-color: #000;
}
/* line 94, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.bottom-right .tooltip-arrow {
top: 0;
left: 5px;
margin-top: -5px;
border-width: 0 5px 5px;
border-bottom-color: #000;
}
/* line 6, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover {
position: absolute;
top: 0;
left: 0;
z-index: 1060;
display: none;
max-width: 276px;
padding: 1px;
font-family: "Lato", Helvetica, Arial, sans-serif;
font-style: normal;
font-weight: normal;
letter-spacing: normal;
line-break: auto;
line-height: 1.42857143;
text-align: left;
text-align: start;
text-decoration: none;
text-shadow: none;
text-transform: none;
white-space: normal;
word-break: normal;
word-spacing: normal;
word-wrap: normal;
font-size: 14px;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.top {
margin-top: -10px;
}
/* line 28, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.right {
margin-left: 10px;
}
/* line 29, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.bottom {
margin-top: 10px;
}
/* line 30, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.left {
margin-left: -10px;
}
/* line 33, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover-title {
margin: 0;
padding: 8px 14px;
font-size: 14px;
background-color: #f7f7f7;
border-bottom: 1px solid #ebebeb;
border-radius: 5px 5px 0 0;
}
/* line 42, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover-content {
padding: 9px 14px;
}
/* line 51, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover > .arrow, .popover > .arrow:after {
position: absolute;
display: block;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
/* line 61, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover > .arrow {
border-width: 11px;
}
/* line 64, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover > .arrow:after {
border-width: 10px;
content: "";
}
/* line 70, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.top > .arrow {
left: 50%;
margin-left: -11px;
border-bottom-width: 0;
border-top-color: #999999;
border-top-color: fadein(rgba(0, 0, 0, 0.2), 5%);
bottom: -11px;
}
/* line 77, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.top > .arrow:after {
content: " ";
bottom: 1px;
margin-left: -10px;
border-bottom-width: 0;
border-top-color: #fff;
}
/* line 85, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.right > .arrow {
top: 50%;
left: -11px;
margin-top: -11px;
border-left-width: 0;
border-right-color: #999999;
border-right-color: fadein(rgba(0, 0, 0, 0.2), 5%);
}
/* line 92, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.right > .arrow:after {
content: " ";
left: 1px;
bottom: -10px;
border-left-width: 0;
border-right-color: #fff;
}
/* line 100, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.bottom > .arrow {
left: 50%;
margin-left: -11px;
border-top-width: 0;
border-bottom-color: #999999;
border-bottom-color: fadein(rgba(0, 0, 0, 0.2), 5%);
top: -11px;
}
/* line 107, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.bottom > .arrow:after {
content: " ";
top: 1px;
margin-left: -10px;
border-top-width: 0;
border-bottom-color: #fff;
}
/* line 116, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.left > .arrow {
top: 50%;
right: -11px;
margin-top: -11px;
border-right-width: 0;
border-left-color: #999999;
border-left-color: fadein(rgba(0, 0, 0, 0.2), 5%);
}
/* line 123, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss */
.popover.left > .arrow:after {
content: " ";
right: 1px;
border-right-width: 0;
border-left-color: #fff;
bottom: -10px;
}
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel {
position: relative;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner {
position: relative;
overflow: hidden;
width: 100%;
}
/* line 16, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .item {
display: none;
position: relative;
-webkit-transition: 0.6s ease-in-out left;
-o-transition: 0.6s ease-in-out left;
transition: 0.6s ease-in-out left;
}
/* line 22, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block;
max-width: 100%;
height: auto;
line-height: 1;
}
@media all and (transform-3d), (-webkit-transform-3d) {
/* line 16, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .item {
-webkit-transition: -webkit-transform 0.6s ease-in-out;
-moz-transition: -moz-transform 0.6s ease-in-out;
-o-transition: -o-transform 0.6s ease-in-out;
transition: transform 0.6s ease-in-out;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-perspective: 1000px;
-moz-perspective: 1000px;
perspective: 1000px;
}
/* line 34, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .item.next, .carousel-inner > .item.active.right {
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
left: 0;
}
/* line 39, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .item.prev, .carousel-inner > .item.active.left {
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
left: 0;
}
/* line 44, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .item.next.left, .carousel-inner > .item.prev.right, .carousel-inner > .item.active {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
left: 0;
}
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
display: block;
}
/* line 59, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .active {
left: 0;
}
/* line 63, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .next,
.carousel-inner > .prev {
position: absolute;
top: 0;
width: 100%;
}
/* line 70, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .next {
left: 100%;
}
/* line 73, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .prev {
left: -100%;
}
/* line 76, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
left: 0;
}
/* line 81, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .active.left {
left: -100%;
}
/* line 84, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .active.right {
left: 100%;
}
/* line 93, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 15%;
opacity: 0.5;
filter: alpha(opacity=50);
font-size: 20px;
color: #fff;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
background-color: transparent;
}
/* line 109, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control.left {
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
}
/* line 112, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control.right {
left: auto;
right: 0;
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
}
/* line 119, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control:hover, .carousel-control:focus {
outline: 0;
color: #fff;
text-decoration: none;
opacity: 0.9;
filter: alpha(opacity=90);
}
/* line 128, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
position: absolute;
top: 50%;
margin-top: -10px;
z-index: 5;
display: inline-block;
}
/* line 138, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
left: 50%;
margin-left: -10px;
}
/* line 143, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
right: 50%;
margin-right: -10px;
}
/* line 148, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 20px;
height: 20px;
line-height: 1;
font-family: serif;
}
/* line 158, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-prev:before {
content: '\2039';
}
/* line 163, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-next:before {
content: '\203a';
}
/* line 174, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-indicators {
position: absolute;
bottom: 10px;
left: 50%;
z-index: 15;
width: 60%;
margin-left: -30%;
padding-left: 0;
list-style: none;
text-align: center;
}
/* line 185, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-indicators li {
display: inline-block;
width: 10px;
height: 10px;
margin: 1px;
text-indent: -999px;
border: 1px solid #fff;
border-radius: 10px;
cursor: pointer;
background-color: #000 \9;
background-color: transparent;
}
/* line 207, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-indicators .active {
margin: 0;
width: 12px;
height: 12px;
background-color: #fff;
}
/* line 218, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-caption {
position: absolute;
left: 15%;
right: 15%;
bottom: 20px;
z-index: 10;
padding-top: 20px;
padding-bottom: 20px;
color: #fff;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
/* line 229, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-caption .btn {
text-shadow: none;
}
@media screen and (min-width: 768px) {
/* line 240, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 30px;
height: 30px;
margin-top: -10px;
font-size: 30px;
}
/* line 249, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
margin-left: -10px;
}
/* line 253, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
margin-right: -10px;
}
/* line 260, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-caption {
left: 20%;
right: 20%;
padding-bottom: 30px;
}
/* line 267, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-indicators {
bottom: 20px;
}
}
/* line 14, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.clearfix:before, .clearfix:after {
content: " ";
display: table;
}
/* line 19, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.clearfix:after {
clear: both;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss */
.center-block {
display: block;
margin-left: auto;
margin-right: auto;
}
/* line 15, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss */
.pull-right {
float: right !important;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss */
.pull-left {
float: left !important;
}
/* line 27, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss */
.hide {
display: none !important;
}
/* line 30, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss */
.show {
display: block !important;
}
/* line 33, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss */
.invisible {
visibility: hidden;
}
/* line 36, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss */
.text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
/* line 45, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss */
.hidden {
display: none !important;
}
/* line 53, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss */
.affix {
position: fixed;
}
@-ms-viewport {
width: device-width;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-xs {
display: none !important;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-sm {
display: none !important;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-md {
display: none !important;
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-lg {
display: none !important;
}
/* line 36, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
display: none !important;
}
@media (max-width: 767px) {
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-xs {
display: block !important;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-xs {
display: table !important;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-xs {
display: table-row !important;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-xs,
td.visible-xs {
display: table-cell !important;
}
}
@media (max-width: 767px) {
/* line 54, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-xs-block {
display: block !important;
}
}
@media (max-width: 767px) {
/* line 59, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-xs-inline {
display: inline !important;
}
}
@media (max-width: 767px) {
/* line 64, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-xs-inline-block {
display: inline-block !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-sm {
display: block !important;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-sm {
display: table !important;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-sm {
display: table-row !important;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-sm,
td.visible-sm {
display: table-cell !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 73, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-sm-block {
display: block !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 78, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-sm-inline {
display: inline !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 83, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-sm-inline-block {
display: inline-block !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-md {
display: block !important;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-md {
display: table !important;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-md {
display: table-row !important;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-md,
td.visible-md {
display: table-cell !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 92, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-md-block {
display: block !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 97, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-md-inline {
display: inline !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 102, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-md-inline-block {
display: inline-block !important;
}
}
@media (min-width: 1200px) {
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-lg {
display: block !important;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-lg {
display: table !important;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-lg {
display: table-row !important;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-lg,
td.visible-lg {
display: table-cell !important;
}
}
@media (min-width: 1200px) {
/* line 111, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-lg-block {
display: block !important;
}
}
@media (min-width: 1200px) {
/* line 116, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-lg-inline {
display: inline !important;
}
}
@media (min-width: 1200px) {
/* line 121, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-lg-inline-block {
display: inline-block !important;
}
}
@media (max-width: 767px) {
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-xs {
display: none !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-sm {
display: none !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-md {
display: none !important;
}
}
@media (min-width: 1200px) {
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-lg {
display: none !important;
}
}
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-print {
display: none !important;
}
@media print {
/* line 7, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-print {
display: block !important;
}
/* line 10, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-print {
display: table !important;
}
/* line 11, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-print {
display: table-row !important;
}
/* line 12, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-print,
td.visible-print {
display: table-cell !important;
}
}
/* line 155, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-block {
display: none !important;
}
@media print {
/* line 155, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-block {
display: block !important;
}
}
/* line 162, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-inline {
display: none !important;
}
@media print {
/* line 162, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-inline {
display: inline !important;
}
}
/* line 169, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-inline-block {
display: none !important;
}
@media print {
/* line 169, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-inline-block {
display: inline-block !important;
}
}
@media print {
/* line 18, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-print {
display: none !important;
}
}
/* line 14, partials/themes/matan-light/_bootswatch.scss */
.navbar-default {
background-color: #ffffff;
filter: none;
}
/* line 19, partials/themes/matan-light/_bootswatch.scss */
.navbar-default .badge {
background-color: #fff;
color: #ffffff;
}
/* line 25, partials/themes/matan-light/_bootswatch.scss */
.navbar-inverse {
background-image: -webkit-linear-gradient(#04519b, #044687 60%, #033769);
background-image: -o-linear-gradient(#04519b, #044687 60%, #033769);
background-image: linear-gradient(#04519b, #044687 60%, #033769);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF04519B', endColorstr='#FF033769', GradientType=0);
filter: none;
border-bottom: 1px solid #022241;
}
/* line 30, partials/themes/matan-light/_bootswatch.scss */
.navbar-inverse .badge {
background-color: #fff;
color: #033C73;
}
/* line 36, partials/themes/matan-light/_bootswatch.scss */
.navbar .navbar-nav > li > a, .navbar-brand {
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
/* line 46, partials/themes/matan-light/_bootswatch.scss */
.navbar .dropdown-header {
color: #fff;
}
/* line 51, partials/themes/matan-light/_bootswatch.scss */
.navbar .dropdown-menu a {
color: #fff;
}
}
/* line 60, partials/themes/matan-light/_bootswatch.scss */
.btn {
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
/* line 64, partials/themes/matan-light/_bootswatch.scss */
.btn .caret {
border-top-color: #fff;
}
/* line 69, partials/themes/matan-light/_bootswatch.scss */
.btn-default {
background-image: -webkit-linear-gradient(white, #fff 60%, whitesmoke);
background-image: -o-linear-gradient(white, #fff 60%, whitesmoke);
background-image: linear-gradient(white, #fff 60%, whitesmoke);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFF5F5F5', GradientType=0);
filter: none;
border-bottom: 1px solid #e6e6e6;
}
/* line 73, partials/themes/matan-light/_bootswatch.scss */
.btn-default:hover {
color: #1d3d56;
}
/* line 77, partials/themes/matan-light/_bootswatch.scss */
.btn-default .caret {
border-top-color: #1d3d56;
}
/* line 82, partials/themes/matan-light/_bootswatch.scss */
.btn-default {
background-image: -webkit-linear-gradient(white, #fff 60%, whitesmoke);
background-image: -o-linear-gradient(white, #fff 60%, whitesmoke);
background-image: linear-gradient(white, #fff 60%, whitesmoke);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFF5F5F5', GradientType=0);
filter: none;
border-bottom: 1px solid #e6e6e6;
}
/* line 86, partials/themes/matan-light/_bootswatch.scss */
.btn-primary {
background-image: -webkit-linear-gradient(#54b4eb, #2FA4E7 60%, #1d9ce5);
background-image: -o-linear-gradient(#54b4eb, #2FA4E7 60%, #1d9ce5);
background-image: linear-gradient(#54b4eb, #2FA4E7 60%, #1d9ce5);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF54B4EB', endColorstr='#FF1D9CE5', GradientType=0);
filter: none;
border-bottom: 1px solid #178acc;
}
/* line 90, partials/themes/matan-light/_bootswatch.scss */
.btn-success {
background-image: -webkit-linear-gradient(#88c149, #73A839 60%, #699934);
background-image: -o-linear-gradient(#88c149, #73A839 60%, #699934);
background-image: linear-gradient(#88c149, #73A839 60%, #699934);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF88C149', endColorstr='#FF699934', GradientType=0);
filter: none;
border-bottom: 1px solid #59822c;
}
/* line 94, partials/themes/matan-light/_bootswatch.scss */
.btn-info {
background-image: -webkit-linear-gradient(#04519b, #033C73 60%, #02325f);
background-image: -o-linear-gradient(#04519b, #033C73 60%, #02325f);
background-image: linear-gradient(#04519b, #033C73 60%, #02325f);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF04519B', endColorstr='#FF02325F', GradientType=0);
filter: none;
border-bottom: 1px solid #022241;
}
/* line 98, partials/themes/matan-light/_bootswatch.scss */
.btn-warning {
background-image: -webkit-linear-gradient(#ff6707, #DD5600 60%, #c94e00);
background-image: -o-linear-gradient(#ff6707, #DD5600 60%, #c94e00);
background-image: linear-gradient(#ff6707, #DD5600 60%, #c94e00);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFF6707', endColorstr='#FFC94E00', GradientType=0);
filter: none;
border-bottom: 1px solid #aa4200;
}
/* line 102, partials/themes/matan-light/_bootswatch.scss */
.btn-danger {
background-image: -webkit-linear-gradient(#e12b31, #C71C22 60%, #b5191f);
background-image: -o-linear-gradient(#e12b31, #C71C22 60%, #b5191f);
background-image: linear-gradient(#e12b31, #C71C22 60%, #b5191f);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFE12B31', endColorstr='#FFB5191F', GradientType=0);
filter: none;
border-bottom: 1px solid #9a161a;
}
/* line 126, partials/themes/matan-light/_bootswatch.scss */
.panel-primary .panel-heading,
.panel-primary .panel-title,
.panel-success .panel-heading,
.panel-success .panel-title,
.panel-warning .panel-heading,
.panel-warning .panel-title,
.panel-danger .panel-heading,
.panel-danger .panel-title,
.panel-info .panel-heading,
.panel-info .panel-title {
color: #fff;
}
/* line 131, partials/themes/matan-light/_bootswatch.scss */
.panel-primary > .panel-heading .badge,
.panel-success > .panel-heading .badge,
.panel-warning > .panel-heading .badge,
.panel-danger > .panel-heading .badge,
.panel-info > .panel-heading .badge {
background-color: #fff;
}
/* line 7, partials/themes/matan-light/_homepage.scss */
.main-page .banner {
border-radius: 2px;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
background-color: #ffffff;
}
/* line 12, partials/themes/matan-light/_homepage.scss */
.main-page .banner p {
line-height: 1.7;
}
/* line 16, partials/themes/matan-light/_homepage.scss */
.main-page .banner.outligned {
border-radius: 4px;
box-shadow: 0 6px 10px -5px rgba(0, 0, 0, 0.2);
}
/* line 22, partials/themes/matan-light/_homepage.scss */
.main-page .examples-heading {
font-weight: bold;
margin-bottom: 18px;
}
/* line 27, partials/themes/matan-light/_homepage.scss */
.main-page .examples-subheading {
font-size: 16px;
margin-bottom: 20px;
}
/* line 32, partials/themes/matan-light/_homepage.scss */
.main-page .example-item-container {
margin-bottom: 56px;
}
@media (max-width: 617px) {
/* line 32, partials/themes/matan-light/_homepage.scss */
.main-page .example-item-container {
font-size: 11px;
}
}
/* line 38, partials/themes/matan-light/_homepage.scss */
.main-page .example-item-container a {
text-decoration: none;
}
/* line 42, partials/themes/matan-light/_homepage.scss */
.main-page .example-item-container .example-item {
width: 100px;
height: 100px;
margin: auto;
padding-top: 23px;
display: inline-block;
margin-bottom: 20px;
}
/* line 50, partials/themes/matan-light/_homepage.scss */
.main-page .example-item-container .example-item img {
width: 50px;
}
/* line 55, partials/themes/matan-light/_homepage.scss */
.main-page .example-item-container .example-item-name {
font-weight: 300;
color: #2b5172;
}
/* line 61, partials/themes/matan-light/_homepage.scss */
.main-page .df-section {
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 992px) {
/* line 70, partials/themes/matan-light/_homepage.scss */
.main-page .grid-24.col-md-24 {
width: 100%;
}
/* line 74, partials/themes/matan-light/_homepage.scss */
.main-page .grid-24.col-md-22 {
width: 91.66666667%;
}
/* line 78, partials/themes/matan-light/_homepage.scss */
.main-page .grid-24.col-md-offset-1 {
margin-left: 4.16666667%;
}
}
@media (min-width: 1200px) {
/* line 84, partials/themes/matan-light/_homepage.scss */
.main-page .grid-24.col-lg-22 {
width: 91.66666667%;
}
/* line 88, partials/themes/matan-light/_homepage.scss */
.main-page .grid-24.col-lg-offset-1 {
margin-left: 4.16666667%;
}
}
/* line 95, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .bdivider {
margin-top: 40px;
}
/* line 99, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .first-banner {
margin-top: 30px;
padding-left: 15px;
padding-right: 15px;
}
/* line 105, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .first-banner .first-banner-container {
padding-top: 15px;
padding-bottom: 25px;
}
/* line 111, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .first-banner .first-banner-container > div {
display: inline-block;
padding-top: 10px;
padding-bottom: 20px;
}
/* line 116, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .first-banner .first-banner-container > div h4 {
font-weight: bold;
color: #2e2ea3;
font-size: 14px;
}
/* line 121, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .first-banner .first-banner-container > div h4 i.fa {
color: #faa20c;
}
/* line 129, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner {
padding-left: 15px;
padding-right: 15px;
margin-top: 30px;
}
/* line 135, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .second-banner-container {
padding-right: 0px;
padding-left: 0px;
font-style: normal;
font-stretch: normal;
line-height: 1.75;
letter-spacing: normal;
font-size: 15px;
}
/* line 146, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .second-banner-container h3 {
margin-top: 0px;
color: #2e2ea3;
font-size: 25px;
font-weight: bold;
margin-bottom: 0px;
padding-bottom: 10px;
}
/* line 155, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .second-banner-container p {
padding-bottom: 20px;
}
/* line 160, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .df-mac-preview {
width: 80%;
display: block;
position: relative;
}
/* line 165, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .df-mac-preview img {
width: 100%;
}
/* line 169, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .df-mac-preview .df-mac-preview-overlay {
width: 100%;
height: 60%;
position: absolute;
top: 0;
left: 0;
z-index: 20;
}
/* line 178, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .df-mac-preview .df-mac-preview-overlay.blured {
opacity: 0.8;
background-color: #ffffff;
}
/* line 183, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .df-mac-preview .df-mac-preview-overlay.circle {
width: calc(2vw + 30px);
height: calc(2vw + 30px);
line-height: calc(2vw + 30px);
left: calc(50% - (2vw + 30px) / 2);
top: calc(32% - (2vw + 30px) / 2);
border-radius: 50%;
border: 1px #5b5bd9 solid;
text-align: center;
}
/* line 193, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .df-mac-preview .df-mac-preview-overlay.circle .fa-play {
vertical-align: middle;
font-size: calc(1vw + 10px);
margin-left: 9%;
color: #5b5bd9;
}
/* line 201, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .df-mac-preview .df-mac-preview-overlay.text {
text-align: center;
font-size: 14px;
}
/* line 205, partials/themes/matan-light/_homepage.scss */
.main-page #welcomePage .second-banner .df-mac-preview .df-mac-preview-overlay.text > div {
display: block;
margin-top: calc(30% + (1vw / 3) + 3px);
color: #0a0a75;
}
/* line 218, partials/themes/matan-light/_homepage.scss */
.main-page #downloadPage h4 {
font-size: 16px;
font-weight: normal;
margin-bottom: 20px;
}
/* line 224, partials/themes/matan-light/_homepage.scss */
.main-page #downloadPage p {
font-size: 16px;
line-height: 1.75;
margin-bottom: 50px;
}
/* line 231, partials/themes/matan-light/_homepage.scss */
.main-page .resource-link {
display: inline-block;
padding-right: 15px;
padding-left: 15px;
padding-top: 2px;
padding-bottom: 3px;
margin-bottom: 10px;
line-height: 1.75;
letter-spacing: normal;
font-size: 15px;
}
/* line 242, partials/themes/matan-light/_homepage.scss */
.main-page .resource-link a {
color: #1d3d56;
text-decoration: none;
}
/* line 247, partials/themes/matan-light/_homepage.scss */
.main-page .resource-link:hover, .main-page .resource-link a:hover {
text-decoration: none;
color: #1d3d56;
opacity: 0.88;
}
/* line 7, partials/themes/matan-light/_forms.scss */
html body .list-group-item button.dropdown-toggle, html body .list-group-item .dropdown-menu, html body table button.dropdown-toggle, html body table .dropdown-menu, html body .form-group button.dropdown-toggle, html body .form-group .dropdown-menu {
background-color: #ffffff;
border: 1px solid #cfd9e2;
border-radius: 4px;
}
/* line 16, partials/themes/matan-light/_forms.scss */
html body form.df-inputs-width .df-inputs-row > input, html body form.df-inputs-width .df-inputs-row select, html body form.df-inputs-width .df-inputs-row .dropdown-toggle, html body form.df-inputs-width .df-inputs-row .dropdown-menu {
width: 100%;
max-width: 500px;
text-align: left;
}
/* line 24, partials/themes/matan-light/_forms.scss */
html body input, html body input.form-control {
border: 1px solid #cfd9e2;
}
/* line 28, partials/themes/matan-light/_forms.scss */
html body label {
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: normal;
padding-left: 8px;
}
/* line 36, partials/themes/matan-light/_forms.scss */
html body div.checkbox, html body div.radio {
padding-left: 7px;
}
/* line 40, partials/themes/matan-light/_forms.scss */
html body i.fa-info-circle {
color: #7490a9;
}
/* line 46, partials/themes/matan-light/_forms.scss */
html body .form-controls .btn {
min-width: 80px;
font-size: 12px;
}
/* line 51, partials/themes/matan-light/_forms.scss */
html body .form-controls .btn-default {
border: 1px solid #8D9CA8;
border-radius: 4px;
height: 35px;
}
/* line 57, partials/themes/matan-light/_forms.scss */
html body .form-controls .btn-primary, html body .form-controls .form-group .btn-primary .btn-primary:hover, html body .form-controls .btn-default.btn-primary:hover {
height: 35px;
border-radius: 4px;
box-shadow: 0 13px 14px -10px rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.05);
background-image: linear-gradient(113deg, #5a6aff, #789dff);
background-color: #789dff;
border: none;
}
/* line 66, partials/themes/matan-light/_forms.scss */
html body .form-controls .btn-dark {
background-color: #1d3d56;
color: #ffffff;
}
/* line 1, partials/themes/matan-light/_alerts_override.scss */
.alert-info {
line-height: 1.71;
border-radius: 2px;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}
/* line 6, partials/themes/matan-light/_alerts_override.scss */
.alert-info .fa-info-circle {
color: #ffa600;
}
/* line 10, partials/themes/matan-light/_alerts_override.scss */
.alert-info p {
word-wrap: break-word;
}
/* line 1, partials/themes/matan-light/_navs_override.scss */
.nav-tabs li.active:after, .df-menu .df-menu-container .nav-pills > li.active:after {
position: absolute;
height: 3px;
margin: 0 auto;
content: '';
left: 0;
right: 0;
width: 90%;
color: #000;
background-color: #5b5bd9;
left: 0;
bottom: 14px;
width: 16px;
opacity: 0.3;
border-radius: 3px;
border: 1px solid #5b5bd9;
border-radius: 10px;
}
/* line 21, partials/themes/matan-light/_navs_override.scss */
.navbar .navbar-nav > li > a, .navbar-brand {
text-shadow: none;
}
/* line 27, partials/themes/matan-light/_navs_override.scss */
.navbar-default {
box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.07);
}
/* line 32, partials/themes/matan-light/_navs_override.scss */
.navbar-fixed-top .navbar-brand {
margin-left: 0px !important;
padding-left: 0px !important;
}
/* line 37, partials/themes/matan-light/_navs_override.scss */
.navbar-fixed-top .navbar-right {
margin-right: 0px !important;
}
/* line 42, partials/themes/matan-light/_navs_override.scss */
.nav-tabs {
border: none;
margin-left: -15px;
}
/* line 46, partials/themes/matan-light/_navs_override.scss */
.nav-tabs li.vert-nav-divider {
padding-top: 10px;
}
/* line 52, partials/themes/matan-light/_navs_override.scss */
.nav-tabs li a, .nav-tabs li a:hover, .nav-tabs li a:active, .nav-tabs li a:visited, .nav-tabs li a:focus, .nav-tabs li.active a, .nav-tabs li.active a:hover, .nav-tabs li.active a:active, .nav-tabs li.active a:visited, .nav-tabs li.active a:focus {
border: none;
background-color: transparent;
margin-bottom: 10px;
}
/* line 61, partials/themes/matan-light/_navs_override.scss */
.nav-tabs li.active a, .nav-tabs li.active a:hover, .nav-tabs li.active a:active, .nav-tabs li.active a:visited, .nav-tabs li.active a:focus {
color: #5b5bd9;
font-weight: 900;
}
/* line 4, partials/themes/matan-light/_tables_override.scss */
.add-rows-btn, .table-rows-extendable thead tr th:last-child .btn-group .btn, table.table.table-rows-extendable thead tr th:last-child .btn-group .btn, .add-rows-btn:hover, .table-rows-extendable thead tr th:last-child .btn-group .btn:hover, table.table.table-rows-extendable thead tr th:last-child .btn-group .btn:hover {
width: 53px;
min-width: 53px;
height: 38px;
color: #ffffff;
background-image: none !important;
border-radius: 4px !important;
box-shadow: 1px 9px 8px -4px rgba(0, 0, 0, 0.2) !important;
background-color: #5b5bd9 !important;
}
/* line 15, partials/themes/matan-light/_tables_override.scss */
.empty-table-placeholder {
color: #718fab;
padding-left: 20px;
}
/* line 19, partials/themes/matan-light/_tables_override.scss */
.empty-table-placeholder i.fa-plus {
border-radius: 2px;
box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.1);
background-color: #5b5bd9;
color: #ffffff;
font-size: 7px;
vertical-align: middle;
width: 26.5px;
height: 19px;
padding-top: 6px;
}
/* line 37, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable thead tr th:last-child, table.table.table-rows-extendable thead tr th:last-child {
background-color: #F7F9FA;
border: none;
padding: 0px;
width: 58px;
}
/* line 43, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable thead tr th:last-child > *, table.table.table-rows-extendable thead tr th:last-child > * {
padding-bottom: 0px !important;
float: right;
}
/* line 47, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable thead tr th:last-child .btn-group, table.table.table-rows-extendable thead tr th:last-child .btn-group {
padding-left: 20px;
}
/* line 59, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable tbody tr .btn, table.table.table-rows-extendable tbody tr .btn {
padding-left: 0px;
}
/* line 63, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable tbody tr .input-cell > *, table.table.table-rows-extendable tbody tr .input-cell > * {
padding-left: 0px !important;
display: block !important;
}
/* line 67, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable tbody tr .input-cell > * input, .table-rows-extendable tbody tr .input-cell > * select, table.table.table-rows-extendable tbody tr .input-cell > * input, table.table.table-rows-extendable tbody tr .input-cell > * select {
width: 94%;
padding-bottom: 0px;
}
/* line 74, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable tbody tr .checkbox-cell, .table-rows-extendable tbody tr .icon-cell, table.table.table-rows-extendable tbody tr .checkbox-cell, table.table.table-rows-extendable tbody tr .icon-cell {
padding-top: 20px !important;
}
/* line 79, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable tbody tr .icon-cell button, table.table.table-rows-extendable tbody tr .icon-cell button {
padding-top: 0px;
}
/* line 83, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable tbody tr .icon-cell i, table.table.table-rows-extendable tbody tr .icon-cell i {
font-size: 14px;
color: #183b59;
text-align: left;
}
/* line 89, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable tbody tr .icon-cell .btn:hover, .table-rows-extendable tbody tr .icon-cell .btn:focus, .table-rows-extendable tbody tr .icon-cell .btn:active, table.table.table-rows-extendable tbody tr .icon-cell .btn:hover, table.table.table-rows-extendable tbody tr .icon-cell .btn:focus, table.table.table-rows-extendable tbody tr .icon-cell .btn:active {
border: none;
background-color: transparent;
outline: none;
box-shadow: none;
}
/* line 97, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable tbody tr td:last-child, table.table.table-rows-extendable tbody tr td:last-child {
min-width: 0px !important;
}
/* line 99, partials/themes/matan-light/_tables_override.scss */
.table-rows-extendable tbody tr td:last-child .cell-content, table.table.table-rows-extendable tbody tr td:last-child .cell-content {
min-width: 0px;
}
/* line 107, partials/themes/matan-light/_tables_override.scss */
div.panel .table, table.table, table.table.table-striped {
background-color: #F7F9FA;
}
/* line 110, partials/themes/matan-light/_tables_override.scss */
div.panel .table > thead, div.panel .table > thead tr, table.table > thead, table.table > thead tr, table.table.table-striped > thead, table.table.table-striped > thead tr {
background-color: #1d3d56;
color: #ffffff;
height: 38px;
}
/* line 115, partials/themes/matan-light/_tables_override.scss */
div.panel .table > thead th, div.panel .table > thead tr th, table.table > thead th, table.table > thead tr th, table.table.table-striped > thead th, table.table.table-striped > thead tr th {
vertical-align: middle;
}
/* line 118, partials/themes/matan-light/_tables_override.scss */
div.panel .table > thead th > *, div.panel .table > thead tr th > *, table.table > thead th > *, table.table > thead tr th > *, table.table.table-striped > thead th > *, table.table.table-striped > thead tr th > * {
padding-bottom: 3px;
padding-left: 5px;
}
/* line 122, partials/themes/matan-light/_tables_override.scss */
div.panel .table > thead th button, div.panel .table > thead tr th button, table.table > thead th button, table.table > thead tr th button, table.table.table-striped > thead th button, table.table.table-striped > thead tr th button {
color: #ffffff;
}
/* line 129, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody.tbody-transparent .cell-content, table.table tbody.tbody-transparent .cell-content, table.table.table-striped tbody.tbody-transparent .cell-content {
background-color: transparent;
box-shadow: none;
border-bottom: 1px solid #cfd9e2;
border-bottom-left-radius: 0px !important;
border-bottom-right-radius: 0px !important;
}
/* line 141, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody > tr > td:first-child > .cell-content, table.table tbody > tr > td:first-child > .cell-content, table.table.table-striped tbody > tr > td:first-child > .cell-content {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
/* line 147, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody > tr > td:last-child > .cell-content, table.table tbody > tr > td:last-child > .cell-content, table.table.table-striped tbody > tr > td:last-child > .cell-content {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
/* line 152, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody > tr td, table.table tbody > tr td, table.table.table-striped tbody > tr td {
padding: 0px;
border: 0px;
background-color: #F7F9FA;
color: #2b5172;
height: 58px;
min-width: 80px;
}
/* line 160, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody > tr td .cell-content, table.table tbody > tr td .cell-content, table.table.table-striped tbody > tr td .cell-content {
margin-top: 3px;
margin-bottom: 3px;
padding-top: 8px;
min-height: 58px;
background-color: #ffffff;
display: block;
line-height: 14px;
word-wrap: break-word;
width: 100%;
height: 92%;
box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.1);
}
/* line 173, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody > tr td .cell-content input, div.panel .table tbody > tr td .cell-content i, table.table tbody > tr td .cell-content input, table.table tbody > tr td .cell-content i, table.table.table-striped tbody > tr td .cell-content input, table.table.table-striped tbody > tr td .cell-content i {
margin-top: 0px;
padding-top: 0px;
vertical-align: top;
}
/* line 179, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody > tr td .cell-content > *, table.table tbody > tr td .cell-content > *, table.table.table-striped tbody > tr td .cell-content > * {
display: table-cell;
vertical-align: top;
padding-top: 8px;
padding-bottom: 16px;
}
/* line 186, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody > tr td .cell-content > *:first-child, table.table tbody > tr td .cell-content > *:first-child, table.table.table-striped tbody > tr td .cell-content > *:first-child {
padding-left: 13px;
}
/* line 190, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody > tr td .cell-content .fa-check, table.table tbody > tr td .cell-content .fa-check, table.table.table-striped tbody > tr td .cell-content .fa-check {
color: #22bca8;
}
/* line 194, partials/themes/matan-light/_tables_override.scss */
div.panel .table tbody > tr td .cell-content .fa-times, table.table tbody > tr td .cell-content .fa-times, table.table.table-striped tbody > tr td .cell-content .fa-times {
color: #f2526a;
}
/* line 1, partials/themes/matan-light/_df-auth-module.scss */
.df-auth-banner-container, .df-auth-container {
height: 25%;
background-color: #FFFFFF;
}
/* line 6, partials/themes/matan-light/_df-auth-module.scss */
.df-auth-container {
margin-top: calc(30px + 5vw) !important;
padding: 0px 20px 20px;
box-shadow: 0 30px 30px -20px rgba(0, 0, 0, 0.2);
border-radius: 7px !important;
}
/* line 12, partials/themes/matan-light/_df-auth-module.scss */
.df-auth-container .df-auth-panel {
margin: auto;
max-width: 600px;
}
/* line 16, partials/themes/matan-light/_df-auth-module.scss */
.df-auth-container .df-auth-panel .panel-title {
color: #2e2ea3;
}
/* line 21, partials/themes/matan-light/_df-auth-module.scss */
.df-auth-container .df-auth-panel, .df-auth-container .panel-default, .df-auth-container .panel-heading {
background-color: #FFFFFF;
}
/* line 24, partials/themes/matan-light/_df-auth-module.scss */
.df-auth-container .df-auth-panel a, .df-auth-container .panel-default a, .df-auth-container .panel-heading a {
color: #7490a9;
}
/* line 4, partials/themes/matan-light/_base_override.scss */
html body .df-service-access {
min-width: 992px;
}
/* line 7, partials/themes/matan-light/_base_override.scss */
html body .df-service-access .df-service-access-heading {
border-radius: 4px;
box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1);
background-color: #1d3d56;
color: #ffffff;
height: 38px;
line-height: 38px;
vertical-align: middle;
font-weight: bold;
padding-left: 20px;
width: calc(99% - (53px + 20px + 20px));
float: left;
}
/* line 20, partials/themes/matan-light/_base_override.scss */
html body .df-service-access .df-service-access-heading i {
color: #ffffff;
}
/* line 25, partials/themes/matan-light/_base_override.scss */
html body .df-service-access .add-rows-btn, html body .df-service-access .table-rows-extendable thead tr th:last-child .btn-group .btn, .table-rows-extendable thead tr th:last-child .btn-group html body .df-service-access .btn {
float: right;
margin-right: 20px;
}
/* line 30, partials/themes/matan-light/_base_override.scss */
html body .df-service-access .df-sa-columns {
color: #2b5172;
}
/* line 33, partials/themes/matan-light/_base_override.scss */
html body .df-service-access .df-sa-columns label {
margin-top: 10px;
padding-left: 18px;
}
/* line 39, partials/themes/matan-light/_base_override.scss */
html body .df-service-access .df-service-access-body {
padding-left: 0px;
padding-right: 0px;
}
/* line 48, partials/themes/matan-light/_base_override.scss */
html body .df-empty-section-row .df-empty-section-body > * {
width: 100%;
max-width: 491px;
text-align: center;
margin: auto;
}
/* line 55, partials/themes/matan-light/_base_override.scss */
html body .df-empty-section-row .df-empty-section-body h1 {
font-size: 20px;
font-weight: bold;
line-height: 1.4;
color: #1d3d56;
margin-bottom: 20px;
}
/* line 63, partials/themes/matan-light/_base_override.scss */
html body .df-empty-section-row .df-empty-section-body p {
line-height: 1.71;
color: #2b5172;
}
/* line 68, partials/themes/matan-light/_base_override.scss */
html body .df-empty-section-row .df-empty-section-body .btn-success {
height: 55px;
width: 474px;
border-radius: 42.5px;
box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.2);
background-image: linear-gradient(to right, #1717ad, #0a0a75);
border: none;
margin: auto;
margin-top: 25px;
}
/* line 81, partials/themes/matan-light/_base_override.scss */
html body .full-color-bg {
background-image: none;
background-color: rgba(236, 239, 242, 0.4);
}
/* line 88, partials/themes/matan-light/_base_override.scss */
html body .help-container .help-box {
box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.2), 0 0 5px 0 rgba(0, 0, 0, 0.1);
min-width: 260px;
}
/* line 92, partials/themes/matan-light/_base_override.scss */
html body .help-container .help-box .panel-heading, html body .help-container .help-box .panel-body {
background-color: #FFFFFF;
color: #1d3d56;
}
/* line 97, partials/themes/matan-light/_base_override.scss */
html body .help-container .help-box .panel-heading {
font-weight: bold;
border-bottom: none;
}
/* line 102, partials/themes/matan-light/_base_override.scss */
html body .help-container .help-box .panel-body {
padding-top: 0px;
}
/* line 108, partials/themes/matan-light/_base_override.scss */
html body .df-section {
background-color: #F7F9FA;
padding-left: 30px;
}
/* line 112, partials/themes/matan-light/_base_override.scss */
html body .df-section a.hiperlinkable {
color: #119add;
text-decoration: underline;
}
/* line 118, partials/themes/matan-light/_base_override.scss */
html body .df-section-header {
text-align: left;
background: #F7F9FA;
padding: 0px;
margin-top: 27px;
margin-bottom: 15px;
}
/* line 127, partials/themes/matan-light/_base_override.scss */
html body .df-section-header h4 {
color: #2e2ea3;
margin: 0;
font-weight: bold;
font-size: 16px;
}
/* line 136, partials/themes/matan-light/_base_override.scss */
html body .df-section-toolbar .well {
padding: 0px;
min-height: auto;
float: right;
margin-bottom: 27px;
}
/* line 142, partials/themes/matan-light/_base_override.scss */
html body .df-section-toolbar .well * {
font-size: 14px;
text-shadow: none;
}
/* line 152, partials/themes/matan-light/_base_override.scss */
html body .df-section-toolbar .well .btn-group {
float: left !important;
}
/* line 158, partials/themes/matan-light/_base_override.scss */
html body .df-section-toolbar .well .df-download-sdk button {
padding-left: 0px;
}
/* line 163, partials/themes/matan-light/_base_override.scss */
html body .df-section-toolbar .well .left-arrow, html body .df-section-toolbar .well .right-arrow {
padding-left: 0px;
padding-right: 0px;
}
/* line 167, partials/themes/matan-light/_base_override.scss */
html body .df-section-toolbar .well .left-arrow i, html body .df-section-toolbar .well .right-arrow i {
width: auto;
}
/* line 11, partials/themes/matan-light/_bootswatch_overrides.scss */
.btn-primary:hover {
color: #FFF;
}
/* line 17, partials/themes/matan-light/_bootswatch_overrides.scss */
.df-menu {
margin: 0px auto !important;
}
/* line 23, partials/themes/matan-light/_bootswatch_overrides.scss */
.df-menu .df-menu-container.second-nav-menu-items {
padding-left: 0px;
padding-right: 0px;
}
/* line 28, partials/themes/matan-light/_bootswatch_overrides.scss */
.df-menu .df-menu-container .df-menu-icon {
vertical-align: middle;
color: #2e2ea3;
padding: 10px 15px 10px 0px;
margin: 10px auto;
}
/* line 36, partials/themes/matan-light/_bootswatch_overrides.scss */
.df-menu .df-menu-container .nav-pills li:hover {
background-color: #eeeeee;
}
/* line 40, partials/themes/matan-light/_bootswatch_overrides.scss */
.df-menu .df-menu-container .nav-pills > li:first-child {
padding-left: 13px;
padding-right: 13px;
}
/* line 48, partials/themes/matan-light/_bootswatch_overrides.scss */
.df-menu .df-menu-container .nav-pills > li a {
color: #7490a9;
margin: 10px auto;
}
/* line 54, partials/themes/matan-light/_bootswatch_overrides.scss */
.df-menu .df-menu-container .nav-pills > li.active {
background-color: #f7f9fa;
}
/* line 59, partials/themes/matan-light/_bootswatch_overrides.scss */
.df-menu .df-menu-container .nav-pills > li.active > a, .df-menu .df-menu-container .nav-pills > li.active > a:hover, .df-menu .df-menu-container .nav-pills > li.active > a:focus {
font-weight: bold;
color: #5b5bd9;
background-color: transparent;
}
/* line 82, partials/themes/matan-light/_bootswatch_overrides.scss */
body .df-sidebar-nav .nav-pills li > a {
padding-left: 0px;
}
/* line 86, partials/themes/matan-light/_bootswatch_overrides.scss */
body .df-sidebar-nav .nav-pills li > a:hover {
background: transparent;
color: #1d3d56;
font-weight: bold;
}
/* line 93, partials/themes/matan-light/_bootswatch_overrides.scss */
body .df-sidebar-nav .nav-pills li.active a {
font-weight: bold;
}
/* line 97, partials/themes/matan-light/_bootswatch_overrides.scss */
body .df-sidebar-nav .nav-pills li.active:hover a {
color: #5b5bd9;
}
/* line 105, partials/themes/matan-light/_bootswatch_overrides.scss */
.well {
box-shadow: none;
}
/* line 110, partials/themes/matan-light/_bootswatch_overrides.scss */
.well .btn-default, table .btn-default {
background-image: none;
background-color: transparent;
border-color: transparent;
opacity: 1 !important;
}
/* line 118, partials/themes/matan-light/_bootswatch_overrides.scss */
.panel {
border: none;
box-shadow: none;
background-color: transparent;
}
/* line 124, partials/themes/matan-light/_bootswatch_overrides.scss */
.row-no-padding > [class*="col-"] {
padding-left: 0 !important;
padding-right: 0 !important;
}
/* line 9, partials/_base.scss */
html {
height: 100%;
}
/* line 13, partials/_base.scss */
body {
height: 100%;
padding-top: 50px;
background-repeat: no-repeat;
background-attachment: fixed;
}
/* line 20, partials/_base.scss */
.full-color-bg {
background-color: #0a0809;
*zoom: 1;
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr='#FF0A0809', endColorstr='#FF2D2F30');
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuMCIgeDI9IjEuMCIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzBhMDgwOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzJkMmYzMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
background-size: 100%;
background-image: -webkit-gradient(linear, 0% 0%, 100% 100%, color-stop(0%, #0a0809), color-stop(100%, #2d2f30));
background-image: -moz-linear-gradient(left top, #0a0809 0%, #2d2f30 100%);
background-image: -webkit-linear-gradient(left top, #0a0809 0%, #2d2f30 100%);
background-image: linear-gradient(to right bottom, #0a0809 0%, #2d2f30 100%);
z-index: -1;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
/* line 35, partials/_base.scss */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
/* line 41, partials/_base.scss */
.df-section {
height: 100%;
padding: 0 20px 20px;
}
@media screen and (max-width: 992px) {
/* line 41, partials/_base.scss */
.df-section {
padding: 0 15px 20px;
}
}
/* line 63, partials/_base.scss */
.df-section-all-round {
border-radius: 4px;
}
@media screen and (max-width: 992px) {
/* line 63, partials/_base.scss */
.df-section-all-round {
border-radius: 3px;
}
}
/* line 74, partials/_base.scss */
.df-section-3-round {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-top-right-radius: 3px;
}
/* line 82, partials/_base.scss */
.df-section-header {
text-align: right;
color: white;
background: #333333;
padding: 10px 15px 11px;
margin-bottom: 10px;
}
/* line 90, partials/_base.scss */
.df-section-header h4 {
margin: 0;
color: #eeeeee;
}
/* line 98, partials/_base.scss */
.df-empty-section-row {
margin-top: 50px;
}
/* line 106, partials/_base.scss */
.df-btn-group {
margin-left: 5px;
margin-right: 5px;
}
/* line 111, partials/_base.scss */
.df-search-box {
margin-left: 10px;
padding-left: 10px;
border: solid 1px #E7E7E7;
border-radius: 3px;
height: 30px;
}
/* line 119, partials/_base.scss */
.df-tab-has-error {
color: red !important;
}
/* line 123, partials/_base.scss */
.mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
z-index: 10;
display: none;
}
/* line 135, partials/_base.scss */
#top-bar-mask {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 50px;
background: rgba(0, 0, 0, 0.7);
z-index: 1031;
display: none;
}
/* line 147, partials/_base.scss */
#df-copyright-footer {
position: fixed;
width: 100%;
bottom: 0;
right: 0;
z-index: 1031;
color: #d5d5d5;
background: #888;
}
/* line 157, partials/_base.scss */
.df-footer-text {
padding: 10px;
display: inline-block;
font-size: 12px;
}
@media screen and (max-width: 992px) {
/* line 157, partials/_base.scss */
.df-footer-text {
font-size: 10px;
}
}
/* line 170, partials/_base.scss */
.table tr {
cursor: pointer;
}
/* line 174, partials/_base.scss */
.fa-clipboard {
cursor: pointer;
}
/* line 2, partials/_base_override.scss */
html body {
background-color: #F7F9FA;
}
/* line 2, partials/_df-top-level-nav-std.scss */
.df-top-navbar {
margin-bottom: 0;
border: none;
}
/* line 8, partials/_df-top-level-nav-std.scss */
.df-top-navbar .navbar-brand {
padding-left: 15px;
padding-top: 4px;
}
/* line 3, partials/_df-swagger-ui.scss */
pre {
margin: 0 0 0 5px;
padding: 0px;
background-color: #7d8492;
border: 0px;
font-size: 10px;
}
/* line 12, partials/_df-swagger-ui.scss */
h2 {
font-weight: bold;
}
/* line 17, partials/_df-swagger-ui.scss */
h4 {
font-weight: bold;
}
| {
"content_hash": "c90dbf1d0071e19c557fc971a9747b98",
"timestamp": "",
"source": "github",
"line_count": 9962,
"max_line_length": 554,
"avg_line_length": 34.0531017867898,
"alnum_prop": 0.6894796263379289,
"repo_name": "dreamfactorysoftware/df-api-docs-ui",
"id": "8722af324a5f352ac3fbfbaff9cb9f29dfee050d",
"size": "339406",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/styles/sass/styles.css",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "340166"
},
{
"name": "HTML",
"bytes": "92486"
},
{
"name": "JavaScript",
"bytes": "368279"
},
{
"name": "Ruby",
"bytes": "880"
},
{
"name": "SCSS",
"bytes": "666009"
}
],
"symlink_target": ""
} |
package com.google.gwtorm.server;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class ListResultSet<T> implements ResultSet<T> {
private List<T> items;
public ListResultSet(final List<T> r) {
items = r;
}
@Override
public Iterator<T> iterator() {
return toList().iterator();
}
@Override
public List<T> toList() {
if (items == null) {
throw new IllegalStateException("Results already obtained");
}
final List<T> r = new ArrayList<>(items);
items = null;
return r;
}
@Override
public void close() {
items = null;
}
}
| {
"content_hash": "e32a233be1a2b52b05c1ead521f32962",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 66,
"avg_line_length": 18.323529411764707,
"alnum_prop": 0.6468699839486356,
"repo_name": "thinkernel/gwtorm",
"id": "019d976e7dd5b64aa780944982176ec45de04cbc",
"size": "1208",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/com/google/gwtorm/server/ListResultSet.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "GAP",
"bytes": "4945"
},
{
"name": "Java",
"bytes": "564365"
},
{
"name": "Shell",
"bytes": "966"
}
],
"symlink_target": ""
} |
extern jclass g_mapObjectClazz;
extern jclass g_featureIdClazz;
extern jclass g_bookmarkClazz;
extern jclass g_myTrackerClazz;
extern jclass g_httpClientClazz;
extern jclass g_httpParamsClazz;
extern jclass g_httpHeaderClazz;
extern jclass g_platformSocketClazz;
extern jclass g_utilsClazz;
extern jclass g_bannerClazz;
extern jclass g_ratingClazz;
extern jclass g_loggerFactoryClazz;
namespace jni
{
JNIEnv * GetEnv();
JavaVM * GetJVM();
jmethodID GetMethodID(JNIEnv * env, jobject obj, char const * name, char const * signature);
jmethodID GetStaticMethodID(JNIEnv * env, jclass clazz, char const * name, char const * signature);
jmethodID GetConstructorID(JNIEnv * env, jclass clazz, char const * signature);
jfieldID GetStaticFieldID(JNIEnv * env, jclass clazz, char const * name, char const * signature);
// Result value should be DeleteGlobalRef`ed by caller
jclass GetGlobalClassRef(JNIEnv * env, char const * s);
std::string ToNativeString(JNIEnv * env, jstring str);
// Converts UTF-8 array to native UTF-8 string. Result differs from simple GetStringUTFChars call for characters greater than U+10000,
// since jni uses modified UTF (MUTF-8) for strings.
std::string ToNativeString(JNIEnv * env, jbyteArray const & utfBytes);
jstring ToJavaString(JNIEnv * env, char const * s);
inline jstring ToJavaString(JNIEnv * env, std::string const & s)
{
return ToJavaString(env, s.c_str());
}
jclass GetStringClass(JNIEnv * env);
char const * GetStringClassName();
std::string DescribeException();
bool HandleJavaException(JNIEnv * env);
my::LogLevel GetLogLevelForException(JNIEnv * env, const jthrowable & e);
std::shared_ptr<jobject> make_global_ref(jobject obj);
using TScopedLocalRef = ScopedLocalRef<jobject>;
using TScopedLocalClassRef = ScopedLocalRef<jclass>;
using TScopedLocalObjectArrayRef = ScopedLocalRef<jobjectArray>;
using TScopedLocalIntArrayRef = ScopedLocalRef<jintArray>;
using TScopedLocalByteArrayRef = ScopedLocalRef<jbyteArray>;
jobject GetNewParcelablePointD(JNIEnv * env, m2::PointD const & point);
jobject GetNewPoint(JNIEnv * env, m2::PointD const & point);
jobject GetNewPoint(JNIEnv * env, m2::PointI const & point);
template<typename TIt, typename TToJavaFn>
jobjectArray ToJavaArray(JNIEnv * env, jclass clazz, TIt begin, TIt end, size_t const size, TToJavaFn && toJavaFn)
{
jobjectArray jArray = env->NewObjectArray((jint) size, clazz, 0);
size_t i = 0;
for (auto it = begin; it != end; ++it)
{
TScopedLocalRef jItem(env, toJavaFn(env, *it));
env->SetObjectArrayElement(jArray, i, jItem.get());
++i;
}
return jArray;
}
template<typename TContainer, typename TToJavaFn>
jobjectArray ToJavaArray(JNIEnv * env, jclass clazz, TContainer const & src, TToJavaFn && toJavaFn)
{
return ToJavaArray(env, clazz, begin(src), end(src), src.size(), std::forward<TToJavaFn>(toJavaFn));
}
jobjectArray ToJavaStringArray(JNIEnv * env, std::vector<std::string> const & src);
void DumpDalvikReferenceTables();
} // namespace jni
| {
"content_hash": "2484466f3ff6b5ef80a85d5bfcaba0e1",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 134,
"avg_line_length": 37.35,
"alnum_prop": 0.7643908969210174,
"repo_name": "mgsergio/omim",
"id": "caea48b44374dfb3bd1678b8196b0eed9332c1d2",
"size": "3150",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "android/jni/com/mapswithme/core/jni_helper.hpp",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Awk",
"bytes": "3962"
},
{
"name": "Batchfile",
"bytes": "5508"
},
{
"name": "C",
"bytes": "13956181"
},
{
"name": "C++",
"bytes": "135270028"
},
{
"name": "CMake",
"bytes": "219235"
},
{
"name": "CSS",
"bytes": "26798"
},
{
"name": "Common Lisp",
"bytes": "17521"
},
{
"name": "DIGITAL Command Language",
"bytes": "36710"
},
{
"name": "GLSL",
"bytes": "50093"
},
{
"name": "Gherkin",
"bytes": "305230"
},
{
"name": "HTML",
"bytes": "9459010"
},
{
"name": "IDL",
"bytes": "10938"
},
{
"name": "Inno Setup",
"bytes": "4337"
},
{
"name": "Java",
"bytes": "1731516"
},
{
"name": "JavaScript",
"bytes": "29076"
},
{
"name": "Lua",
"bytes": "57672"
},
{
"name": "M4",
"bytes": "53992"
},
{
"name": "Makefile",
"bytes": "434976"
},
{
"name": "Module Management System",
"bytes": "2080"
},
{
"name": "Objective-C",
"bytes": "2181212"
},
{
"name": "Objective-C++",
"bytes": "1162968"
},
{
"name": "PHP",
"bytes": "2841"
},
{
"name": "Perl",
"bytes": "52680"
},
{
"name": "PowerShell",
"bytes": "1885"
},
{
"name": "Python",
"bytes": "224092"
},
{
"name": "QMake",
"bytes": "143157"
},
{
"name": "Roff",
"bytes": "13545"
},
{
"name": "Ruby",
"bytes": "59753"
},
{
"name": "Shell",
"bytes": "1242390"
},
{
"name": "Swift",
"bytes": "282498"
}
],
"symlink_target": ""
} |
var raygun = require('raygun');
var raygunClient = new raygun.Client().init({
apiKey: process.env.RAYGUN_KEY
});
var d = require('domain').create();
d.on('error', function(err) {
raygunClient.send(error, {}, function() {
console.log(err);
process.exit(1);
});
});
d.run(function() {
var app = require('express')();
var http = require('http').Server(app);
var io = require('socket.io')(http);
app.set('view engine', 'ejs');
var SourceMapConsumer = require('source-map').SourceMapConsumer;
var request = require('request');
var nUrl = require('url');
var validate = require('sourcemap-validator');
function GetMapFileUrl(mapFiles, url) {
var mapFile = mapFiles[0].substr('//# sourceMappingURL='.length);
var host = nUrl.parse(url);
var mapUrl = host.protocol + "//" + host.host;
var urlPaths = host.path.split('/');
for (var i = 0; i < urlPaths.length - 1; i++) {
mapUrl += urlPaths[i] + '/';
}
mapUrl = nUrl.resolve(mapUrl, mapFile);
return mapUrl;
}
function GetSourceFileUrl(sourceFile, url) {
var host = nUrl.parse(url);
var mapUrl = host.protocol + "//" + host.host;
var urlPaths = host.path.split('/');
for (var i = 0; i < urlPaths.length - 1; i++) {
mapUrl += urlPaths[i] + '/';
}
mapUrl = nUrl.resolve(mapUrl, sourceFile);
return mapUrl;
}
function GetScriptName(url) {
var bits = url.split('/');
return bits[bits.length - 1];
}
app.get('/', function(req, res) {
res.render('index', {
raygunKey: process.env.RAYGUN_KEY,
query: req.query.query
});
});
io.on('connection', function(socket) {
socket.on('process', function(url) {
if (!url) {
socket.emit('log', 'ERROR: No url');
socket.emit('done');
return;
}
if (url.indexOf("http://") === -1 && url.indexOf('https://') === -1) {
url = 'http://' + url;
}
var errors = [];
var minifiedJS = null;
var sourceMap = null;
var normalJS = null;
socket.emit('log', "Trying to get " + url);
request.get(url, function(error, response, body) {
minifiedJS = body;
var regex = /\/\/# sourceMappingURL=(.*)/gmi;
if (error || response.statusCode !== 200) {
socket.emit('log', "Getting " + url + " failed - " + response.statusCode + error);
console.log("Getting", url, "failed -", response.statusCode, error);
socket.emit('done');
return;
}
socket.emit('log', "Got " + url + " (" + response.statusCode + ")");
console.log("Got", url, "(" + response.statusCode + ")");
var mapFiles = body.match(regex);
if (!mapFiles) {
socket.emit('log', 'ERROR: no source map references found');
socket.emit('done');
return;
}
if (mapFiles.length > 1) {
socket.emit('log', "ERROR: Too many map files");
socket.emit('done');
return;
}
var mapUrl = GetMapFileUrl(mapFiles, url);
socket.emit('log', 'Trying to get map file ' + mapUrl);
request.get(mapUrl, function(err, response, body) {
if (err) {
socket.emit('log', 'ERROR: Couldn\'t get map file, error: ' + response.statusCodee);
socket.emit('done');
return;
}
socket.emit('log', 'Got the map file');
sourceMap = body;
var smc = new SourceMapConsumer(body);
for (var z = 0; z < smc.sources.length; z++) {
var scriptName = GetScriptName(url);
if (scriptName === smc.sources[z]) {
socket.emit('log', "ERROR: Source map source (" + smc.sources[z] + ") is the same as the script being checked (" + scriptName + "), it shouldn't be");
socket.emit('done');
return;
}
}
for (var z = 0; z < smc.sources.length; z++) {
var sourceFileUrl = GetSourceFileUrl(smc.sources[z], url);
GetSourceFile(sourceFileUrl, socket);
}
});
});
});
});
function GetSourceFile(sourceFileUrl, socket) {
request.get(sourceFileUrl, function(err, response, body) {
if (err || response.statusCode !== 200) {
if (!response) {
response = {
statusCode: 'UNKNOWN'
};
}
socket.emit('log', 'ERROR getting source file: ' + sourceFileUrl + " (" + response.statusCode + ")");
socket.emit('done');
return;
}
normalJS = body;
try {
socket.emit('log', 'Everything looks OK');
socket.emit('done');
return;
} catch (e) {
console.log("Error");
console.log(e);
socket.emit('log', 'ERROR: ' + e);
}
});
}
app.use(raygunClient.expressHandler);
http.listen(process.env.PORT || 3000, function() {
console.log('listening on *:' + (process.env.PORT || 3000));
});
});
| {
"content_hash": "0e5d67644c86f160fa3716eadddc6ba9",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 157,
"avg_line_length": 24.831521739130434,
"alnum_prop": 0.5889691398555482,
"repo_name": "dwnz/sourcemaptester",
"id": "0b6171bbe5c6aae598a40b0ce9e803dcc6718c73",
"size": "4569",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "4569"
}
],
"symlink_target": ""
} |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "c797abfe6158ef1a65ab3efd19384fd4",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 90,
"avg_line_length": 31.6,
"alnum_prop": 0.6582278481012658,
"repo_name": "ripperhe/ZYSegmentView",
"id": "19a15a757a68b94945122986088eac733c680983",
"size": "338",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "ZYSegmentViewDemo/main.m",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "Objective-C",
"bytes": "17516"
},
{
"name": "Ruby",
"bytes": "6219"
}
],
"symlink_target": ""
} |
<html>
<head>
<title>Image fetching from wboc.images.worldnow.com</title>
<meta name="Description" content="Image fetching from wboc.images.worldnow.com">
<meta name="KEYWORDS" content="www.wboc.com,Delmarva,wboc,Eastern Shore,wboc.com,delaware,dover,maryland,salisbury,salisbury news,virginia,weather forecast,closings">
<meta name="news_keywords" content="www.wboc.com,Delmarva,wboc,Eastern Shore,wboc.com,delaware,dover,maryland,salisbury,salisbury news,virginia,weather forecast,closings">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<meta name="date" content="2016/10/24">
<meta name="owner" content="WBOC">
<meta name="wn-version" content="ContainerE-Story">
<meta name="wn-build" content="Local-Debug">
<meta name="wn-base" content="IIS23">
<meta name="wnreadableurl" content="allen-harim-to-build-hatcher-in-dagsboro">
<link rel="canonical" href="http://wboc.herokuapp.com/story/33461439/allen-harim-to-build-hatcher-in-dagsboro">
<meta name="author" content="Kye Parsons">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Image fetching from wboc.images.worldnow.com">
<meta name="twitter:description" content="Image fetching from wboc.images.worldnow.com has NOT been displayed on Twitter card preview and Twitter post as well">
<meta name="twitter:image" content="http://WBOC.images.worldnow.com/images/9919509_G.jpg">
</head>
<body>
<img src="http://WBOC.images.worldnow.com/images/9919509_G.jpg" />
<h1>Image fetching from wboc.images.worldnow.com
</body>
</html> | {
"content_hash": "8fdc8aee15dd0362b42fa5695365abac",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 176,
"avg_line_length": 64.48,
"alnum_prop": 0.7227047146401985,
"repo_name": "JayEmVey/jayemvey.github.io",
"id": "c93f53df62ce46d84e51fa592fa770ab2eeb057d",
"size": "1612",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "wboc-twitter-card-preview.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "194088"
},
{
"name": "HTML",
"bytes": "1435427"
},
{
"name": "JavaScript",
"bytes": "469550"
},
{
"name": "Python",
"bytes": "509"
}
],
"symlink_target": ""
} |
require 'spec_helper'
RSpec.describe Brcobranca::Boleto::Bradesco do
let(:valid_attributes) do
{
valor: 0.0,
local_pagamento: 'Pagável preferencialmente na Rede Bradesco ou Bradesco Expresso',
cedente: 'Kivanio Barbosa',
documento_cedente: '12345678912',
sacado: 'Claudio Pozzebom',
sacado_documento: '12345678900',
agencia: '4042',
conta_corrente: '61900',
convenio: 12_387_989,
nosso_numero: '777700168'
}
end
it 'Criar nova instancia com atributos padrões' do
boleto_novo = described_class.new
expect(boleto_novo.banco).to eql('237')
expect(boleto_novo.especie_documento).to eql('DM')
expect(boleto_novo.especie).to eql('R$')
expect(boleto_novo.moeda).to eql('9')
expect(boleto_novo.data_processamento).to eql(Date.current)
expect(boleto_novo.data_vencimento).to eql(Date.current)
expect(boleto_novo.aceite).to eql('S')
expect(boleto_novo.quantidade).to be(1)
expect(boleto_novo.valor).to eq(0.0)
expect(boleto_novo.valor_documento).to eq(0.0)
expect(boleto_novo.local_pagamento).to eql('Pagável preferencialmente na Rede Bradesco ou Bradesco Expresso')
expect(boleto_novo.carteira).to eql('06')
end
it 'Criar nova instancia com atributos válidos' do
boleto_novo = described_class.new(valid_attributes)
expect(boleto_novo.banco).to eql('237')
expect(boleto_novo.especie_documento).to eql('DM')
expect(boleto_novo.especie).to eql('R$')
expect(boleto_novo.moeda).to eql('9')
expect(boleto_novo.data_processamento).to eql(Date.current)
expect(boleto_novo.data_vencimento).to eql(Date.current)
expect(boleto_novo.aceite).to eql('S')
expect(boleto_novo.quantidade).to be(1)
expect(boleto_novo.valor).to eq(0.0)
expect(boleto_novo.valor_documento).to eq(0.0)
expect(boleto_novo.local_pagamento).to eql('Pagável preferencialmente na Rede Bradesco ou Bradesco Expresso')
expect(boleto_novo.cedente).to eql('Kivanio Barbosa')
expect(boleto_novo.documento_cedente).to eql('12345678912')
expect(boleto_novo.sacado).to eql('Claudio Pozzebom')
expect(boleto_novo.sacado_documento).to eql('12345678900')
expect(boleto_novo.conta_corrente).to eql('0061900')
expect(boleto_novo.agencia).to eql('4042')
expect(boleto_novo.convenio).to be(12_387_989)
expect(boleto_novo.nosso_numero).to eql('00777700168')
expect(boleto_novo.carteira).to eql('06')
end
it 'Montar código de barras para carteira número 06' do
valid_attributes[:valor] = 2952.95
valid_attributes[:data_documento] = Date.parse('2009-04-30')
valid_attributes[:data_vencimento] = Date.parse('2009-04-30')
valid_attributes[:nosso_numero] = '75896452'
valid_attributes[:conta_corrente] = '0403005'
valid_attributes[:agencia] = '1172'
boleto_novo = described_class.new(valid_attributes)
expect(boleto_novo.codigo_barras_segunda_parte).to eql('1172060007589645204030050')
expect(boleto_novo.codigo_barras).to eql('23795422300002952951172060007589645204030050')
expect(boleto_novo.codigo_barras.linha_digitavel).to eql('23791.17209 60007.589645 52040.300502 5 42230000295295')
end
it 'Montar código de barras para carteira número 03' do
valid_attributes[:valor] = 135.00
valid_attributes[:data_vencimento] = Date.parse('2008-02-02')
valid_attributes[:data_documento] = Date.parse('2008-02-01')
valid_attributes[:nosso_numero] = '777700168'
valid_attributes[:conta_corrente] = '61900'
valid_attributes[:agencia] = '4042'
valid_attributes[:carteira] = '03'
boleto_novo = described_class.new(valid_attributes)
expect(boleto_novo.codigo_barras_segunda_parte).to eql('4042030077770016800619000')
expect(boleto_novo.codigo_barras).to eql('23791377000000135004042030077770016800619000')
expect(boleto_novo.codigo_barras.linha_digitavel).to eql('23794.04201 30077.770011 68006.190000 1 37700000013500')
end
it 'Não permitir gerar boleto com atributos inválido' do
boleto_novo = described_class.new
expect { boleto_novo.codigo_barras }.to raise_error(Brcobranca::BoletoInvalido)
expect(boleto_novo.errors.count).to be(5)
end
it 'Montar nosso_numero_boleto' do
boleto_novo = described_class.new(valid_attributes)
boleto_novo.nosso_numero = '00000000525'
boleto_novo.carteira = '06'
expect(boleto_novo.nosso_numero_boleto).to eql('06/00000000525-P')
expect(boleto_novo.nosso_numero_dv).to eql('P')
boleto_novo.nosso_numero = '00000000001'
boleto_novo.carteira = '09'
expect(boleto_novo.nosso_numero_boleto).to eql('09/00000000001-1')
expect(boleto_novo.nosso_numero_dv).to be(1)
boleto_novo.nosso_numero = '00000000002'
boleto_novo.carteira = '19'
expect(boleto_novo.nosso_numero_boleto).to eql('19/00000000002-8')
expect(boleto_novo.nosso_numero_dv).to be(8)
boleto_novo.nosso_numero = 6
boleto_novo.carteira = '19'
expect(boleto_novo.nosso_numero_boleto).to eql('19/00000000006-0')
expect(boleto_novo.nosso_numero_dv).to be(0)
boleto_novo.nosso_numero = '00000000001'
boleto_novo.carteira = '19'
expect(boleto_novo.nosso_numero_boleto).to eql('19/00000000001-P')
expect(boleto_novo.nosso_numero_dv).to eql('P')
end
it 'Montar agencia_conta_boleto' do
boleto_novo = described_class.new(valid_attributes)
expect(boleto_novo.agencia_conta_boleto).to eql('4042-8 / 0061900-0')
boleto_novo.agencia = '0719'
expect(boleto_novo.agencia_conta_boleto).to eql('0719-6 / 0061900-0')
boleto_novo.agencia = '0548'
boleto_novo.conta_corrente = '1448'
expect(boleto_novo.agencia_conta_boleto).to eql('0548-7 / 0001448-6')
end
describe 'Busca logotipo do banco' do
it_behaves_like 'busca_logotipo'
end
it 'Gerar boleto nos formatos válidos com método to_' do
valid_attributes[:valor] = 2952.95
valid_attributes[:data_documento] = Date.parse('2009-04-30')
valid_attributes[:data_vencimento] = Date.parse('2009-04-30')
valid_attributes[:nosso_numero] = '75896452'
valid_attributes[:conta_corrente] = '0403005'
valid_attributes[:agencia] = '1172'
boleto_novo = described_class.new(valid_attributes)
%w[pdf jpg tif png].each do |format|
file_body = boleto_novo.send("to_#{format}".to_sym)
tmp_file = Tempfile.new(['foobar.', format])
tmp_file.puts file_body
tmp_file.close
expect(File).to exist(tmp_file.path)
expect(File.stat(tmp_file.path)).not_to be_zero
expect(File.delete(tmp_file.path)).to be(1)
expect(File).not_to exist(tmp_file.path)
end
end
it 'Gerar boleto nos formatos válidos' do
valid_attributes[:valor] = 2952.95
valid_attributes[:data_documento] = Date.parse('2009-04-30')
valid_attributes[:data_vencimento] = Date.parse('2009-04-30')
valid_attributes[:nosso_numero] = '75896452'
valid_attributes[:conta_corrente] = '0403005'
valid_attributes[:agencia] = '1172'
boleto_novo = described_class.new(valid_attributes)
%w[pdf jpg tif png].each do |format|
file_body = boleto_novo.to(format)
tmp_file = Tempfile.new(['foobar.', format])
tmp_file.puts file_body
tmp_file.close
expect(File).to exist(tmp_file.path)
expect(File.stat(tmp_file.path)).not_to be_zero
expect(File.delete(tmp_file.path)).to be(1)
expect(File).not_to exist(tmp_file.path)
end
end
describe '#agencia_dv' do
specify(:aggregate_failures) do
expect(described_class.new(agencia: '0255').agencia_dv).to eq(0)
expect(described_class.new(agencia: '0943').agencia_dv).to eq(1)
expect(described_class.new(agencia: '1467').agencia_dv).to eq(2)
expect(described_class.new(agencia: '0794').agencia_dv).to eq(3)
expect(described_class.new(agencia: '0155').agencia_dv).to eq(4)
expect(described_class.new(agencia: '0650').agencia_dv).to eq(5)
expect(described_class.new(agencia: '0199').agencia_dv).to eq(6)
expect(described_class.new(agencia: '1425').agencia_dv).to eq(7)
expect(described_class.new(agencia: '2839').agencia_dv).to eq(8)
expect(described_class.new(agencia: '2332').agencia_dv).to eq(9)
expect(described_class.new(agencia: '0121').agencia_dv).to eq('P')
end
end
describe '#conta_corrente_dv' do
specify(:aggregate_failures) do
expect(described_class.new(conta_corrente: '0325620').conta_corrente_dv).to eq(0)
expect(described_class.new(conta_corrente: '0284025').conta_corrente_dv).to eq(1)
expect(described_class.new(conta_corrente: '0238069').conta_corrente_dv).to eq(2)
expect(described_class.new(conta_corrente: '0135323').conta_corrente_dv).to eq(3)
expect(described_class.new(conta_corrente: '0010667').conta_corrente_dv).to eq(4)
expect(described_class.new(conta_corrente: '0420571').conta_corrente_dv).to eq(5)
expect(described_class.new(conta_corrente: '0510701').conta_corrente_dv).to eq(6)
expect(described_class.new(conta_corrente: '0420536').conta_corrente_dv).to eq(7)
expect(described_class.new(conta_corrente: '0012500').conta_corrente_dv).to eq(8)
expect(described_class.new(conta_corrente: '0010673').conta_corrente_dv).to eq(9)
expect(described_class.new(conta_corrente: '0019669').conta_corrente_dv).to eq('P')
expect(described_class.new(conta_corrente: '0301357').conta_corrente_dv).to eq('P')
end
end
end
| {
"content_hash": "490acf895bb32b5b59c448970bd03246",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 118,
"avg_line_length": 44.514150943396224,
"alnum_prop": 0.69926883543499,
"repo_name": "kivanio/brcobranca",
"id": "696f61c49fb4b5bb23b9855781a5f6eca65f7122",
"size": "9482",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "spec/brcobranca/boleto/bradesco_spec.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "PostScript",
"bytes": "16890"
},
{
"name": "Ruby",
"bytes": "816286"
}
],
"symlink_target": ""
} |
package org.apache.camel;
/**
* The callback interface for an {@link AsyncProcessor} so that it can
* notify you when an {@link Exchange} is done.
* <p/>
* For example a {@link AsyncProcessor} should invoke the done method when the {@link Exchange} is ready
* to be continued routed. This allows to implement asynchronous {@link Producer} which can continue
* routing {@link Exchange} when all the data has been gathered. This allows to build non blocking
* request/reply communication.
*/
public interface AsyncCallback {
/**
* This method is invoked once the {@link Exchange} is done.
* <p/>
* If an exception occurred while processing the exchange, the exception field of the
* {@link Exchange} being processed will hold the caused exception.
*
* @param doneSync is <tt>true</tt> if the processing of the {@link Exchange} was completed by a synchronous thread.
* Otherwise its <tt>false</tt> to indicate it was completed by an asynchronous thread.
*/
void done(boolean doneSync);
}
| {
"content_hash": "13e7641350da9700e13b9a029fa1a6f8",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 120,
"avg_line_length": 40.80769230769231,
"alnum_prop": 0.6983977379830348,
"repo_name": "kevinearls/camel",
"id": "a3b12b3e0fd6ae17f0ac5fe3247621a8b98b0a2a",
"size": "1864",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "camel-api/src/main/java/org/apache/camel/AsyncCallback.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Apex",
"bytes": "6519"
},
{
"name": "Batchfile",
"bytes": "6512"
},
{
"name": "CSS",
"bytes": "30373"
},
{
"name": "Elm",
"bytes": "10852"
},
{
"name": "FreeMarker",
"bytes": "11410"
},
{
"name": "Groovy",
"bytes": "54390"
},
{
"name": "HTML",
"bytes": "190929"
},
{
"name": "Java",
"bytes": "70990879"
},
{
"name": "JavaScript",
"bytes": "90399"
},
{
"name": "Makefile",
"bytes": "513"
},
{
"name": "Python",
"bytes": "36"
},
{
"name": "Ruby",
"bytes": "4802"
},
{
"name": "Scala",
"bytes": "323982"
},
{
"name": "Shell",
"bytes": "23616"
},
{
"name": "Tcl",
"bytes": "4974"
},
{
"name": "Thrift",
"bytes": "6979"
},
{
"name": "XQuery",
"bytes": "546"
},
{
"name": "XSLT",
"bytes": "285105"
}
],
"symlink_target": ""
} |
id: writing-tests
title: "Writing Tests"
---
Playwright assertions are created specifically for the dynamic web. Checks are automatically retried until the necessary conditions are met. Playwright comes with [auto-wait](./actionability.md) built in meaning it waits for elements to be actionable prior to performing actions. Playwright provides [assertThat](./test-assertions.md) overloads to write assertions.
Take a look at the example test below to see how to write a test using web first assertions, locators and selectors.
```java
package org.example;
import java.util.regex.Pattern;
import com.microsoft.playwright.*;
import static com.microsoft.playwright.assertions.PlaywrightAssertions.assertThat;
public class App {
public static void main(String[] args) {
try (Playwright playwright = Playwright.create()) {
Browser browser = playwright.chromium().launch();
Page page = browser.newPage();
page.navigate("http://playwright.dev");
// Expect a title "to contain" a substring.
assertThat(page).hasTitle(Pattern.compile("Playwright"));
// create a locator
Locator getStarted = page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Get Started"))
// Expect an attribute "to be strictly equal" to the value.
assertThat(getStarted).hasAttribute("href", "/docs/intro");
// Click the get started link.
getStarted.click();
// Expects the URL to contain intro.
assertThat(page).hasURL(Pattern.compile(".*intro"));
}
}
}
```
### Assertions
Playwright provides [`assertThat`](./test-assertions.md) overloads which will wait until the expected condition is met.
```java
import java.util.regex.Pattern;
import static com.microsoft.playwright.assertions.PlaywrightAssertions.assertThat;
assertThat(page).hasTitle(Pattern.compile("Playwright"));
```
### Locators
[Locators](./locators.md) are the central piece of Playwright's auto-waiting and retry-ability. Locators represent a way to find element(s) on the page at any moment and are used to perform actions on elements such as `.click` `.fill` etc. Custom locators can be created with the [`method: Page.locator`] method.
```java
import static com.microsoft.playwright.assertions.PlaywrightAssertions.assertThat;
Locator getStarted = page.locator("text=Get Started");
assertThat(getStarted).hasAttribute("href", "/docs/intro");
getStarted.click();
```
[Selectors](./selectors.md) are strings that are used to create Locators. Playwright supports many different selectors like [Text](./selectors.md#text-selector), [CSS](./selectors.md#css-selector), [XPath](./selectors.md#xpath-selectors) and many more. Learn more about available selectors and how to pick one in this [in-depth guide](./selectors.md).
```java
import static com.microsoft.playwright.assertions.PlaywrightAssertions.assertThat;
assertThat(page.locator("text=Installation")).isVisible();
```
### Test Isolation
Playwright has the concept of a [BrowserContext] which is an in-memory isolated browser profile. It's recommended to create a new [BrowserContext] for each test to ensure they don't interfere with each other.
```java
Browser browser = playwright.chromium().launch();
BrowserContext context = browser.newContext();
Page page = context.newPage();
```
## What's Next
- [Run single test, multiple tests, headed mode](./running-tests.md)
- [Generate tests with Codegen](./codegen.md)
- [See a trace of your tests](./trace-viewer-intro.md) | {
"content_hash": "5dfe5439bc067977664d985c51b2d31b",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 365,
"avg_line_length": 38.53763440860215,
"alnum_prop": 0.7268415178571429,
"repo_name": "microsoft/playwright",
"id": "b580bd9b751ab1e8173123eab7dda3060d03edee",
"size": "3588",
"binary": false,
"copies": "1",
"ref": "refs/heads/main",
"path": "docs/src/writing-tests-java.md",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "291"
},
{
"name": "C",
"bytes": "7890"
},
{
"name": "C#",
"bytes": "2296"
},
{
"name": "C++",
"bytes": "116810"
},
{
"name": "CMake",
"bytes": "2704"
},
{
"name": "CSS",
"bytes": "103622"
},
{
"name": "HTML",
"bytes": "339177"
},
{
"name": "Java",
"bytes": "16271"
},
{
"name": "JavaScript",
"bytes": "75700"
},
{
"name": "Makefile",
"bytes": "377"
},
{
"name": "Objective-C",
"bytes": "63418"
},
{
"name": "PowerShell",
"bytes": "4150"
},
{
"name": "Python",
"bytes": "2965"
},
{
"name": "Shell",
"bytes": "43661"
},
{
"name": "Svelte",
"bytes": "3358"
},
{
"name": "TypeScript",
"bytes": "5956124"
},
{
"name": "Vue",
"bytes": "6225"
}
],
"symlink_target": ""
} |
// Copyright (C) 2011 - Will Glozer. All rights reserved.
package com.lambdaworks.redis.protocol;
import static java.lang.Math.*;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.lambdaworks.redis.codec.RedisCodec;
/**
* Redis command argument encoder.
*
* @param <K> Key type.
* @param <V> Value type.
* @author Will Glozer
*/
public class CommandArgs<K, V> {
private static final byte[] CRLF = "\r\n".getBytes(LettuceCharsets.ASCII);
private final RedisCodec<K, V> codec;
private ByteBuffer buffer;
private int count;
private final List<ProtocolKeyword> keywords = new ArrayList<ProtocolKeyword>(8);
private K firstKey;
private byte[] encodedFirstKey;
public CommandArgs(RedisCodec<K, V> codec) {
this.codec = codec;
this.buffer = ByteBuffer.allocate(32);
}
public ByteBuffer buffer() {
buffer.flip();
return buffer;
}
public int count() {
return count;
}
public CommandArgs<K, V> addKey(K key) {
if (firstKey == null) {
firstKey = key;
}
byte[] b = codec.encodeKey(key);
if (encodedFirstKey == null) {
encodedFirstKey = b;
}
return write(b);
}
public CommandArgs<K, V> addKeys(K... keys) {
for (K key : keys) {
addKey(key);
}
return this;
}
public CommandArgs<K, V> addValue(V value) {
return write(codec.encodeValue(value));
}
public CommandArgs<K, V> addValues(V... values) {
for (V value : values) {
addValue(value);
}
return this;
}
public CommandArgs<K, V> add(Map<K, V> map) {
if (map.size() > 2) {
realloc(buffer.capacity() + 16 * map.size());
}
for (Map.Entry<K, V> entry : map.entrySet()) {
write(codec.encodeKey(entry.getKey()));
write(codec.encodeValue(entry.getValue()));
}
return this;
}
public CommandArgs<K, V> add(String s) {
return write(s);
}
public CommandArgs<K, V> add(long n) {
return write(Long.toString(n));
}
public CommandArgs<K, V> add(double n) {
return write(Double.toString(n));
}
public CommandArgs<K, V> add(byte[] value) {
return write(value);
}
public CommandArgs<K, V> add(CommandKeyword keyword) {
keywords.add(keyword);
return write(keyword.bytes);
}
public CommandArgs<K, V> add(CommandType type) {
return write(type.bytes);
}
public CommandArgs<K, V> add(ProtocolKeyword keyword) {
keywords.add(keyword);
return write(keyword.getBytes());
}
private CommandArgs<K, V> write(byte[] arg) {
buffer.mark();
if (buffer.remaining() < arg.length) {
int estimate = buffer.remaining() + arg.length + 10;
realloc(max(buffer.capacity() * 2, estimate));
}
while (true) {
try {
buffer.put((byte) '$');
write(arg.length);
buffer.put(CRLF);
buffer.put(arg);
buffer.put(CRLF);
break;
} catch (BufferOverflowException e) {
buffer.reset();
realloc(buffer.capacity() * 2);
}
}
count++;
return this;
}
private CommandArgs<K, V> write(String arg) {
int length = arg.length();
buffer.mark();
if (buffer.remaining() < length) {
int estimate = buffer.remaining() + length + 10;
realloc(max(buffer.capacity() * 2, estimate));
}
while (true) {
try {
buffer.put((byte) '$');
write(length);
buffer.put(CRLF);
for (int i = 0; i < length; i++) {
buffer.put((byte) arg.charAt(i));
}
buffer.put(CRLF);
break;
} catch (BufferOverflowException e) {
buffer.reset();
realloc(buffer.capacity() * 2);
}
}
count++;
return this;
}
private void write(long value) {
if (value < 10) {
buffer.put((byte) ('0' + value));
return;
}
StringBuilder sb = new StringBuilder(8);
while (value > 0) {
long digit = value % 10;
sb.append((char) ('0' + digit));
value /= 10;
}
for (int i = sb.length() - 1; i >= 0; i--) {
buffer.put((byte) sb.charAt(i));
}
}
private void realloc(int size) {
ByteBuffer newBuffer = ByteBuffer.allocate(size);
this.buffer.flip();
newBuffer.put(this.buffer);
newBuffer.mark();
this.buffer = newBuffer;
}
public byte[] getEncodedKey() {
return encodedFirstKey;
}
public List<ProtocolKeyword> getKeywords() {
return keywords;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [firstKey=").append(firstKey);
sb.append(", keywords=").append(keywords);
sb.append(", buffer=").append(new String(buffer.array()));
sb.append(']');
return sb.toString();
}
}
| {
"content_hash": "0e5779d8e052f7cafc3f4e0b631482dd",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 85,
"avg_line_length": 25.21461187214612,
"alnum_prop": 0.5271640709887722,
"repo_name": "pulse00/lettuce",
"id": "c681b2194f7e8cbb70d29652ed28b6672f776bcb",
"size": "5522",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "src/main/java/com/lambdaworks/redis/protocol/CommandArgs.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "1166172"
},
{
"name": "Makefile",
"bytes": "11290"
},
{
"name": "Shell",
"bytes": "623"
}
],
"symlink_target": ""
} |
package eu.ehealth.ws_client.storagecomponent;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import eu.ehealth.ws_client.xsd.OperationResult;
/**
* <p>Clase Java para anonymous complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="out" type="{http://aladdin-project.eu/xsd}OperationResult"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"out"
})
@XmlRootElement(name = "ChangeTaskStatusResponse")
public class ChangeTaskStatusResponse {
@XmlElement(required = true)
protected OperationResult out;
/**
* Obtiene el valor de la propiedad out.
*
* @return
* possible object is
* {@link OperationResult }
*
*/
public OperationResult getOut() {
return out;
}
/**
* Define el valor de la propiedad out.
*
* @param value
* allowed object is
* {@link OperationResult }
*
*/
public void setOut(OperationResult value) {
this.out = value;
}
}
| {
"content_hash": "3d89459043c71cf47e60456fe284076b",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 101,
"avg_line_length": 24.2,
"alnum_prop": 0.6408137317228226,
"repo_name": "modaclouds-atos/ehealth-app-final-prototype",
"id": "a9c3c31e85d3641d44ee2af01ef7f7d9042c124b",
"size": "1573",
"binary": false,
"copies": "5",
"ref": "refs/heads/master",
"path": "ehealth-webgui/ehealth-modaclouds-gui/src/eu/ehealth/ws_client/storagecomponent/ChangeTaskStatusResponse.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C#",
"bytes": "1025142"
},
{
"name": "CSS",
"bytes": "142176"
},
{
"name": "HTML",
"bytes": "22022"
},
{
"name": "Java",
"bytes": "2219006"
},
{
"name": "JavaScript",
"bytes": "98766"
},
{
"name": "XSLT",
"bytes": "21697"
}
],
"symlink_target": ""
} |
package de.flexiprovider.pqc.hbc.gmss;
import de.flexiprovider.api.MessageDigest;
import de.flexiprovider.common.math.FlexiBigInt;
/**
* This class provides a PRNG for GMSS, using FlexiBigInts
*
* @author Sebastian Blume, Michael Schneider
*/
public class GMSSRandomBigInt {
/**
* Initial FlexiBigInt from where randomizer starts
*/
private FlexiBigInt seed;
/**
* Hash function for the construction of the authentication trees
*/
private MessageDigest messDigestTree;
/**
* @param messDigestTree
*/
public GMSSRandomBigInt(MessageDigest messDigestTree) {
this.messDigestTree = messDigestTree;
}
/**
* sets seed as initial value
*
* @param seed
* the seed to set as initial value
*/
public void setSeed(byte[] seed) {
this.seed = new FlexiBigInt(seed);
}
/**
* computes the next value, returns a random byte array and sets outseed to
* the next value
*
* @param outseed
* random byte array
* @return next random value
*/
public byte[] nextSeed(byte[] outseed) {
byte[] temp;
// byte array value "1"
// RAND <-- H(SEEDin)
byte[] rand = new byte[outseed.length];
messDigestTree.update(seed.toByteArray());
rand = messDigestTree.digest();
FlexiBigInt randBig = new FlexiBigInt(rand);
// SEEDout <-- (1 + SEEDin +RAND) mod 2^n
// int mdLength = messDigestTree.getDigestLength();
seed = (randBig.add(seed)).add(FlexiBigInt.ONE);
temp = seed.toByteArray();
System.arraycopy(temp, 0, outseed, 0, outseed.length);
seed = new FlexiBigInt(outseed);
return rand;
}
}
| {
"content_hash": "a53f4050a9d61ecadc8f2991c691553b",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 79,
"avg_line_length": 25.10144927536232,
"alnum_prop": 0.6229792147806005,
"repo_name": "besom/bbossgroups-mvn",
"id": "ca66d2ffe431e295bcfc0a93921751a02066d1e3",
"size": "1732",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "bboss_security/src/main/java/de/flexiprovider/pqc/hbc/gmss/GMSSRandomBigInt.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "18522119"
},
{
"name": "Shell",
"bytes": "1039"
}
],
"symlink_target": ""
} |
package com.scooter1556.sms.android.fragment.tv;
import android.content.ComponentName;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Handler;
import androidx.annotation.NonNull;
import androidx.leanback.app.BackgroundManager;
import androidx.leanback.widget.ArrayObjectAdapter;
import androidx.leanback.widget.OnItemViewClickedListener;
import androidx.leanback.widget.OnItemViewSelectedListener;
import androidx.leanback.widget.Presenter;
import androidx.leanback.widget.Row;
import androidx.leanback.widget.RowPresenter;
import androidx.leanback.widget.VerticalGridPresenter;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import android.support.v4.media.MediaBrowserCompat;
import android.support.v4.media.session.MediaControllerCompat;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.View;
import android.widget.Toast;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.target.SimpleTarget;
import com.bumptech.glide.request.transition.Transition;
import com.scooter1556.sms.android.R;
import com.scooter1556.sms.android.activity.tv.TvDirectoryDetailsActivity;
import com.scooter1556.sms.android.activity.tv.TvMediaGridActivity;
import com.scooter1556.sms.android.activity.tv.TvVideoPlaybackActivity;
import com.scooter1556.sms.android.domain.MediaElement;
import com.scooter1556.sms.android.presenter.MediaItemPresenter;
import com.scooter1556.sms.android.service.MediaService;
import com.scooter1556.sms.android.service.RESTService;
import com.scooter1556.sms.android.utils.MediaUtils;
import java.util.ArrayList;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
public class TvMediaGridFragment extends androidx.leanback.app.VerticalGridFragment {
private static final String TAG = "TvMediaGridFragment";
private static final int BACKGROUND_UPDATE_DELAY = 300;
private static final int NUM_COLUMNS = 5;
private ArrayObjectAdapter adapter;
private String mediaId;
private List<MediaBrowserCompat.MediaItem> mediaItems;
private MediaBrowserCompat mediaBrowser;
// Background
private final Handler handler = new Handler();
private DisplayMetrics displayMetrics;
private Drawable defaultBackground;
private Timer backgroundTimer;
private String backgroundURI;
private final MediaBrowserCompat.SubscriptionCallback subscriptionCallback =
new MediaBrowserCompat.SubscriptionCallback() {
@Override
public void onChildrenLoaded(@NonNull String parentId,
@NonNull List<MediaBrowserCompat.MediaItem> children) {
Log.d(TAG, "onChildrenLoaded() parentId=" + parentId);
if(children.isEmpty()) {
Log.d(TAG, "Result for " + parentId + " is empty");
return;
}
mediaItems.clear();
mediaItems.addAll(children);
setGrid();
}
@Override
public void onError(@NonNull String id) {
Log.e(TAG, "Media subscription error: " + id);
}
};
private MediaBrowserCompat.ConnectionCallback connectionCallback =
new MediaBrowserCompat.ConnectionCallback() {
@Override
public void onConnected() {
Log.d(TAG, "onConnected()");
if (isDetached()) {
return;
}
// Subscribe to media browser event
mediaBrowser.subscribe(mediaId, subscriptionCallback);
}
@Override
public void onConnectionFailed() {
Log.d(TAG, "onConnectionFailed");
}
@Override
public void onConnectionSuspended() {
Log.d(TAG, "onConnectionSuspended");
}
};
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Set media folder
String title = getActivity().getIntent().getStringExtra(MediaUtils.EXTRA_MEDIA_TITLE);
mediaId = getActivity().getIntent().getStringExtra(MediaUtils.EXTRA_MEDIA_ID);
if(title == null || mediaId == null) {
Toast.makeText(getActivity(), getString(R.string.error_loading_media), Toast.LENGTH_LONG).show();
ActivityCompat.finishAfterTransition(getActivity());
}
if (savedInstanceState == null) {
setTitle(title);
prepareEntranceTransition();
}
// Initialise variables
mediaItems = new ArrayList<>();
adapter = new ArrayObjectAdapter(new MediaItemPresenter());
// Initialise interface
VerticalGridPresenter gridPresenter = new VerticalGridPresenter();
gridPresenter.setNumberOfColumns(NUM_COLUMNS);
setGridPresenter(gridPresenter);
setOnSearchClickedListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
// ToDo: Implement search feature
Toast.makeText(getActivity(), getString(R.string.error_search_not_implemented), Toast.LENGTH_SHORT).show();
}
});
setOnItemViewClickedListener(new ItemViewClickedListener());
setOnItemViewSelectedListener(new ItemViewSelectedListener());
// Set search icon color.
setSearchAffordanceColor(ContextCompat.getColor(getActivity(), R.color.primary_dark));
// Subscribe to relevant media service callbacks
mediaBrowser = new MediaBrowserCompat(getActivity(),
new ComponentName(getActivity(), MediaService.class),
connectionCallback, null);
}
@Override
public void onDestroy() {
super.onDestroy();
}
@Override
public void onStart() {
super.onStart();
mediaBrowser.connect();
if(!BackgroundManager.getInstance(getActivity()).isAttached()) {
prepareBackgroundManager();
}
}
@Override
public void onStop() {
mediaBrowser.disconnect();
if (backgroundTimer != null) {
backgroundTimer.cancel();
backgroundTimer = null;
}
BackgroundManager.getInstance(getActivity()).release();
super.onStop();
}
private void prepareBackgroundManager() {
Log.d(TAG, "prepareBackgroundManager()");
// Setup background manager
BackgroundManager backgroundManager = BackgroundManager.getInstance(getActivity());
backgroundManager.attach(getActivity().getWindow());
// Get default background
defaultBackground = ContextCompat.getDrawable(getActivity(), R.drawable.default_background);
backgroundManager.setDrawable(defaultBackground);
// Get screen size
displayMetrics = new DisplayMetrics();
getActivity().getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
}
private void setGrid() {
adapter.clear();
if(!mediaItems.isEmpty()) {
// Add media elements to grid
for (MediaBrowserCompat.MediaItem item : mediaItems) {
adapter.add(item);
}
}
setAdapter(adapter);
startEntranceTransition();
}
private final class ItemViewClickedListener implements OnItemViewClickedListener {
@Override
public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
RowPresenter.ViewHolder rowViewHolder, Row row) {
if (item instanceof MediaBrowserCompat.MediaItem) {
MediaBrowserCompat.MediaItem mediaItem = (MediaBrowserCompat.MediaItem) item;
if (mediaItem.isPlayable()) {
MediaControllerCompat.getMediaController(getActivity()).getTransportControls().prepareFromMediaId(mediaItem.getMediaId(), null);
// Start video playback activity
if(MediaUtils.getMediaTypeFromID(mediaItem.getMediaId()) == MediaElement.MediaElementType.VIDEO) {
Intent intent = new Intent(getActivity(), TvVideoPlaybackActivity.class);
startActivity(intent);
}
} else if (mediaItem.isBrowsable()) {
Intent intent = null;
switch (MediaUtils.parseMediaId(mediaItem.getMediaId()).get(0)) {
case MediaUtils.MEDIA_ID_FOLDER:
case MediaUtils.MEDIA_ID_DIRECTORY:
intent = new Intent(getActivity(), TvMediaGridActivity.class);
break;
case MediaUtils.MEDIA_ID_DIRECTORY_AUDIO:
case MediaUtils.MEDIA_ID_DIRECTORY_VIDEO:
intent = new Intent(getActivity(), TvDirectoryDetailsActivity.class);
break;
}
if (intent != null) {
intent.putExtra(MediaUtils.EXTRA_MEDIA_ID, mediaItem.getMediaId());
intent.putExtra(MediaUtils.EXTRA_MEDIA_ITEM, mediaItem);
intent.putExtra(MediaUtils.EXTRA_MEDIA_TITLE, mediaItem.getDescription().getTitle());
getActivity().startActivity(intent);
}
} else {
Log.w(TAG, "Ignoring MediaItem that is neither browsable nor playable: mediaID=" + mediaItem.getMediaId());
}
}
}
}
private final class ItemViewSelectedListener implements OnItemViewSelectedListener {
@Override
public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
RowPresenter.ViewHolder rowViewHolder, Row row) {
if (item instanceof MediaBrowserCompat.MediaItem) {
MediaBrowserCompat.MediaItem mediaItem = (MediaBrowserCompat.MediaItem) item;
List<String> id = MediaUtils.parseMediaId(mediaItem.getMediaId());
if(id.size() > 1) {
backgroundURI = RESTService.getInstance().getConnection().getUrl() + "/image/" + id.get(1) + "/fanart?scale=" + displayMetrics.widthPixels;
startBackgroundTimer();
}
}
}
}
//
// Background
//
private void updateBackground() {
// Get screen size
int width = displayMetrics.widthPixels;
int height = displayMetrics.heightPixels;
Glide.with(getActivity())
.asBitmap()
.load(backgroundURI)
.into(new SimpleTarget<Bitmap>(width, height) {
@Override
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
BackgroundManager.getInstance(getActivity()).setBitmap(resource);
}
@Override public void onLoadFailed(Drawable errorDrawable) {
BackgroundManager.getInstance(getActivity()).setDrawable(defaultBackground);
}
});
backgroundTimer.cancel();
}
private void startBackgroundTimer() {
if (backgroundTimer != null) {
backgroundTimer.cancel();
}
backgroundTimer = new Timer();
backgroundTimer.schedule(new UpdateBackgroundTask(), BACKGROUND_UPDATE_DELAY);
}
private class UpdateBackgroundTask extends TimerTask {
@Override
public void run() {
handler.post(new Runnable() {
@Override
public void run() {
if (backgroundURI != null) {
updateBackground();
}
}
});
}
}
}
| {
"content_hash": "b7fb47fd7e42b0a5b210261c11df3a75",
"timestamp": "",
"source": "github",
"line_count": 327,
"max_line_length": 159,
"avg_line_length": 37.43119266055046,
"alnum_prop": 0.6149509803921569,
"repo_name": "scoot-software/sms-android",
"id": "e87dd72fe2f0162a42c9a969db278dff0abe3a30",
"size": "13406",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/src/main/java/com/scooter1556/sms/android/fragment/tv/TvMediaGridFragment.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "717387"
}
],
"symlink_target": ""
} |
using Garnet.Api.ActionResults;
using Garnet.Api.Controllers;
using Garnet.Api.Extensions;
using Garnet.Api.Routes;
using System;
using System.Threading.Tasks;
using Twilio.TwiML;
namespace Garnet.Api.TwilioRequestHandlers
{
public abstract class Browser : IBrowser
{
private readonly string _topGroupName;
protected Browser(string topGroupName)
{
_topGroupName = topGroupName;
}
protected abstract string Name { get; }
protected abstract string ParentName { get; }
protected abstract int NumberOfOptions { get; }
protected abstract void HandleBrowseInternal(TwilioResponse response);
protected abstract Task<TwilioResponseResult> HandleSelectionInternal(string phoneNumber, string selection);
public async Task<TwilioResponseResult> HandleBrowseAsync(string phoneNumber, bool navigatingUp)
{
if (NumberOfOptions == 1)
{
return navigatingUp ?
new TwilioRedirectResult(TwilioVoiceController.GetBrowseUrl(ParentName, true)) :
await HandleSelection(phoneNumber, 1.ToString());
}
var numDigits = NumberOfOptions == 0 ?
0 :
Convert.ToInt32(Math.Floor(Math.Log10(NumberOfOptions))) + 1;
return new TwilioResponseResult(response =>
{
response.BeginGather(new
{
action = TwilioVoiceController.GetBrowseUrl(Name),
numDigits = numDigits,
timeout = 2,
finishOnKey = ""
});
response.AliceSay(Name);
response.Pause();
HandleBrowseInternal(response);
if (ParentName != null)
{
response.AliceSay(string.Concat("Press 0 to exit ", Name, "."));
response.AliceSay("Press star to go elsewhere.");
}
response.AliceSay("Press pound for main menu.");
response.EndGather();
response.Redirect();
});
}
public async Task<TwilioResponseResult> HandleSelection(string phoneNumber, string selection)
{
if (selection == "#")
{
return new TwilioRedirectResult(TwilioVoiceRoutes.MainMenu);
}
if (selection == "*")
{
return new TwilioRedirectResult(TwilioVoiceController.GetBrowseUrl(_topGroupName));
}
if (selection == "0")
{
return new TwilioRedirectResult(TwilioVoiceController.GetBrowseUrl(ParentName, true));
}
return await HandleSelectionInternal(phoneNumber, selection);
}
}
}
| {
"content_hash": "25f34c6cb68a69a3e28d665a43232b8a",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 116,
"avg_line_length": 32.91954022988506,
"alnum_prop": 0.5673882681564246,
"repo_name": "OlsonAndrewD/the-phone-bible",
"id": "098c1ebf0b094a9ddb06329287a883eed3d195e7",
"size": "2866",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Garnet/TwilioRequestHandlers/Browser.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C#",
"bytes": "88939"
},
{
"name": "PowerShell",
"bytes": "4674"
}
],
"symlink_target": ""
} |
import passport = require('passport');
import expressSession = require('express-session');
var RedisStore = require('connect-redis')(expressSession);
import LocalStrategy = require('passport-local');
import flash = require('connect-flash');
import express = require('express');
var router = express.Router();
import user = require('../models/user');
import userLib = require('../libs/users');
import group = require('../models/group');
var jsonfile = require('jsonfile');
import util = require('util');
import ppackage = require('../../../core/ppackage');
import usersAPI = require('../usersAPI');
import parameters = require('../../../core/parameters');
var app:express.Express;
var jwt = require('jsonwebtoken');
passport.serializeUser((user:user.User, done) => {
done(null, user.id);
});
passport.deserializeUser((id, done) => {
user.repository.findById(id, (err, _user:user.User) => {
done(err, _user);
});
});
var loginStrategy = new LocalStrategy.Strategy({
passReqToCallback : true
}, (req, username, password, done) => {
userLib.login(username, password, (err, _user) => {
if (err) {
if (err=='token') {
return done(null, false, req.flash('message', 'Please check your emails to complete the registration.'));
}
return done(err);
}
if (!_user) return done(null, false, req.flash('message', 'Wrong username or password.'));
return done(null, _user);
});
});
passport.use('login', loginStrategy);
var sigupStrategy = new LocalStrategy.Strategy({
passReqToCallback : true
}, (req, username, password, done) => {
if (req.user) {
return done('error');
}
if (!username || !password) {
return done(null, false, req.flash('message', 'Please enter username and password'));
}
usersAPI.getUserLevelStandard((err, stdLevel) => {
var u = {
username: username,
password: password,
role: stdLevel.val
};
userLib.registration(u, (err, user) => {
if (err) {
if (err=='mail') {
return done(null, false, req.flash('message','Username must be a valid email address'));
}
if (err=='token') {
return done(null, false, req.flash('message', 'Please check your emails to complete the registration.'));
}
return done(err);
}
if (!user) return done(null, false, req.flash('message','User already exists.'));
return done(null, user);
});
});
});
passport.use('signup', sigupStrategy);
function jwtAuthenticated(req, res, next) {
var token = req.get('oauth');
if (!token) return next();
jwt.verify(token, usersAPI.getJWTSecret(), function(err, decoded) {
if (err || !decoded || !decoded._id) return next();
user.repository.findById(decoded._id, (err, u) => {
if (err || !u) return next();
req.user = u;
next();
});
});
}
router.post('/login', passport.authenticate('login', {
successRedirect: '/users/successLogin',
failureRedirect: '/users/failureLogin',
failureFlash : true
}));
router.post('/ws/login', usersAPI.mustNotLogged, (req, res) => {
var username = req.body.username;
var password = req.body.password;
if (!username && !password) {
return res.send('error');
}
userLib.login(username, password, (err, u)=> {
if (err || !u) {
return res.send('failed');
}
var token = jwt.sign({ _id: u._id }, usersAPI.getJWTSecret());
res.send({token:token});
});
});
router.post('/signup', passport.authenticate('signup', {
successRedirect: '/users/successSignup',
failureRedirect: '/users/failureSignup',
failureFlash : true
}));
router.get('/successLogin', (req:express.Request, res:express.Response) => {
res.redirect(usersAPI.getLoginSuccessRedirect());
});
router.get('/failureLogin', (req:express.Request, res:express.Response) => {
var string = encodeURIComponent(req.flash('message'));
res.redirect(usersAPI.getLoginFailureRedirect()+'?message='+string);
});
router.get('/successSignup', (req:express.Request, res:express.Response) => {
res.redirect(usersAPI.getSignupSuccessRedirect());
});
router.get('/failureSignup', (req:express.Request, res:express.Response) => {
var string = encodeURIComponent(req.flash('message'));
res.redirect(usersAPI.getSignupFailureRedirect()+'?message='+string);
});
router.get('/login', (req, res) => {
res.render('login', {title: 'Login', message: req.flash('message')});
});
router.get('/signup', (req, res) => {
res.render('signup', {title: 'Sigup', message: req.flash('message') });
});
router.get('/signout', (req, res) => {
req.logout();
res.redirect('/');
});
router.post('/forgotPassword', usersAPI.mustNotLogged, (req, res) => {
var msg = '';
if (!req.body.username) {
msg = 'Please enter the username';
return res.redirect(usersAPI.getForgotPasswordRedirect()+'?message='+msg);
}
userLib.generateNewPassword(req.body.username, (msg) => {
return res.redirect(usersAPI.getForgotPasswordRedirect()+'?message='+msg);
});
});
router.post('/changePassword', usersAPI.isAuth, (req, res) => {
var msg;
if (!req.body.password || !req.body.newPassword) {
msg = 'Please enter the current password and a new one.';
return res.redirect(usersAPI.getChangePasswordRedirect()+'?message='+msg);
}
var user = req.user;
if (!userLib.isValidPassword(user, req.body.password)) {
msg = 'The password is not correct.';
return res.redirect(usersAPI.getChangePasswordRedirect()+'?message='+msg);
}
user.password = userLib.createHash(req.body.newPassword);
user.save();
msg = 'The password has been updated.';
return res.redirect(usersAPI.getChangePasswordRedirect()+'?message='+msg);
})
router.get('/me', usersAPI.isAuth, (req, res) => {
userLib.getGroups(req.user, (err, myGroups:group.Group[]) => {
var toSend = {
_id: req.user._id,
username: req.user.username,
groups: []
};
for (var i = 0; i<myGroups.length; i++) {
toSend.groups.push({
_id: myGroups[i]._id,
name: myGroups[i].name
});
}
res.send(toSend);
});
});
router.get('/activation/:token', usersAPI.mustNotLogged, (req, res) => {
user.repository.findOne({registrationToken:req.params.token}, (err:any, u:user.User) => {
if (err || !u) {
var string = encodeURIComponent('The url is not valid or expiried');
return res.redirect(usersAPI.getLoginFailureRedirect()+'?message='+string);
}
u.registrationToken = '';
u.save();
var string = encodeURIComponent('Email activated. Please login');
res.redirect(usersAPI.getLoginFailureRedirect()+'?message='+string);
usersAPI.getConfig((err, config) => {
if (config.sendConfirmationMail)
userLib.sendConfirmationMail(u, (err)=>{});
});
})
});
export class UsersModule implements ppackage.Package {
isRoot(): boolean {
return false;
}
init(_app:express.Express):void {
app = _app;
var options = {};
var arg = parameters.getParameter('session-redis', false);
if (arg && typeof arg == 'string') {
console.log(arg);
try {
var o = JSON.parse(<string>arg);
options = o;
} catch (e) {
console.error("Invalid parameter for 'session-redis'");
console.error(e);
console.trace();
}
}
app.use(expressSession({
secret: 'P0rTalTSisAgreatToolForFastDev12309asdjcsdioTRAP',
resave: true,
saveUninitialized: true,
store: new RedisStore(options),
}));
app.use(flash());
app.use(passport.initialize());
app.use(passport.session());
app.use(jwtAuthenticated);
}
hasRouter(): boolean {
return true;
}
getRouter(): express.Router {
return router;
}
}
| {
"content_hash": "cc168f0e67db7724ce7d707b3e39e7b6",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 125,
"avg_line_length": 30.594890510948904,
"alnum_prop": 0.5870213527376834,
"repo_name": "portalTS/portalTS",
"id": "2b334c731b6d6f868539ae7c5fe20a64de919988",
"size": "8383",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "pmodules/users/controllers/0_index.ts",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "608295"
},
{
"name": "HTML",
"bytes": "116865"
},
{
"name": "JavaScript",
"bytes": "3159092"
},
{
"name": "TypeScript",
"bytes": "166841"
}
],
"symlink_target": ""
} |
<?php
class
Logger {
private static $logger = array();
private static $priorities = array();
private static $enabled = false;
public static function setLogger ($logger) {
self::$logger = array();
self::$logger[] = $logger;
self::$enabled = true;
}
public static function resetLoggers() {
self::$logger = array();
}
public static function addLogger ($logger,$reset = false) {
if($reset) {
self::$logger = array();
}
self::$logger[] = $logger;
self::$enabled = true;
}
public static function getLogger () {
return self::$logger;
}
public static function setPriorities ($prios) {
self::$priorities = $prios;
}
/**
* return priorities, an array of log levels that will be logged by this logger
*
* @return array
*/
public static function getPriorities () {
return self::$priorities;
}
public static function initDummy() {
self::$enabled = false;
}
public static function disable() {
self::$enabled = false;
}
public static function enable() {
self::$enabled = true;
}
public static function setVerbosePriorities() {
self::setPriorities(array(
Zend_Log::DEBUG,
Zend_Log::INFO,
Zend_Log::NOTICE,
Zend_Log::WARN,
Zend_Log::ERR,
Zend_Log::CRIT,
Zend_Log::ALERT,
Zend_Log::EMERG
));
}
public static function log ($message,$code=Zend_Log::INFO) {
if(!self::$enabled) {
return;
}
if(in_array($code,self::$priorities)) {
$backtrace = debug_backtrace();
if (!isset($backtrace[2])) {
$call = array('class' => '', 'type' => '', 'function' => '');
} else {
$call = $backtrace[2];
}
$call["line"] = $backtrace[1]["line"];
if(is_object($message) || is_array($message)) {
// special formatting for exception
if($message instanceof Exception) {
$message = $call["class"] . $call["type"] . $call["function"] . "() [" . $call["line"] . "]: [Exception] with message: ".$message->getMessage()
."\n"
."In file: "
.$message->getFile()
. " on line "
.$message->getLine()
."\n"
.$message->getTraceAsString();
}
else {
$message = print_r($message,true);
}
} else {
$message = $call["class"] . $call["type"] . $call["function"] . "() [" . $call["line"] . "]: " . $message;
}
// add the memory consumption
$memory = formatBytes(memory_get_usage(), 0);
$memory = str_pad($memory, 6, " ", STR_PAD_LEFT);
$message = $memory . " | " . $message;
foreach (self::$logger as $logger) {
$logger->log($message,$code);
}
}
}
/**
* $l is for backward compatibility
**/
public static function emergency ($m, $l = null) {
self::log($m,Zend_Log::EMERG);
}
public static function emerg ($m, $l = null) {
self::log($m,Zend_Log::EMERG);
}
public static function critical ($m, $l = null) {
self::log($m,Zend_Log::CRIT);
}
public static function crit ($m, $l = null) {
self::log($m,Zend_Log::CRIT);
}
public static function error ($m, $l = null) {
self::log($m,Zend_Log::ERR);
}
public static function err ($m, $l = null) {
self::log($m,Zend_Log::ERR);
}
public static function alert ($m, $l = null) {
self::log($m,Zend_Log::ALERT);
}
public static function warning ($m, $l = null) {
self::log($m,Zend_Log::WARN);
}
public static function warn ($m, $l = null) {
self::log($m,Zend_Log::WARN);
}
public static function notice ($m, $l = null) {
self::log($m,Zend_Log::NOTICE);
}
public static function info ($m, $l = null) {
self::log($m,Zend_Log::INFO);
}
public static function debug ($m, $l = null) {
self::log($m,Zend_Log::DEBUG);
}
}
| {
"content_hash": "d16fb3910d9f811897bc2f523573010d",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 148,
"avg_line_length": 25.267441860465116,
"alnum_prop": 0.4894155545329038,
"repo_name": "adoraxion/appsCms",
"id": "2a70ca57270c89a00c11a0bef6fcb58afb85516a",
"size": "4741",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "pimcore/lib/Logger.php",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "ActionScript",
"bytes": "2430"
},
{
"name": "ApacheConf",
"bytes": "4207"
},
{
"name": "CSS",
"bytes": "8221509"
},
{
"name": "HTML",
"bytes": "1075638"
},
{
"name": "Java",
"bytes": "4161966"
},
{
"name": "JavaScript",
"bytes": "32477455"
},
{
"name": "PHP",
"bytes": "27208069"
},
{
"name": "Ruby",
"bytes": "931"
}
],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Wed Oct 08 15:57:21 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.apache.hadoop.hbase.types.OrderedInt32 (HBase 0.98.7-hadoop2 API)</title>
<meta name="date" content="2014-10-08">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.hadoop.hbase.types.OrderedInt32 (HBase 0.98.7-hadoop2 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../org/apache/hadoop/hbase/types/OrderedInt32.html" title="class in org.apache.hadoop.hbase.types">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/types/class-use/OrderedInt32.html" target="_top">Frames</a></li>
<li><a href="OrderedInt32.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.apache.hadoop.hbase.types.OrderedInt32" class="title">Uses of Class<br>org.apache.hadoop.hbase.types.OrderedInt32</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../org/apache/hadoop/hbase/types/OrderedInt32.html" title="class in org.apache.hadoop.hbase.types">OrderedInt32</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.hadoop.hbase.types">org.apache.hadoop.hbase.types</a></td>
<td class="colLast">
<div class="block">
This package provides the definition and implementation of HBase's
extensible data type API.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.hadoop.hbase.types">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/hadoop/hbase/types/OrderedInt32.html" title="class in org.apache.hadoop.hbase.types">OrderedInt32</a> in <a href="../../../../../../org/apache/hadoop/hbase/types/package-summary.html">org.apache.hadoop.hbase.types</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../../org/apache/hadoop/hbase/types/package-summary.html">org.apache.hadoop.hbase.types</a> declared as <a href="../../../../../../org/apache/hadoop/hbase/types/OrderedInt32.html" title="class in org.apache.hadoop.hbase.types">OrderedInt32</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/types/OrderedInt32.html" title="class in org.apache.hadoop.hbase.types">OrderedInt32</a></code></td>
<td class="colLast"><span class="strong">OrderedInt32.</span><code><strong><a href="../../../../../../org/apache/hadoop/hbase/types/OrderedInt32.html#ASCENDING">ASCENDING</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/types/OrderedInt32.html" title="class in org.apache.hadoop.hbase.types">OrderedInt32</a></code></td>
<td class="colLast"><span class="strong">OrderedInt32.</span><code><strong><a href="../../../../../../org/apache/hadoop/hbase/types/OrderedInt32.html#DESCENDING">DESCENDING</a></strong></code> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../org/apache/hadoop/hbase/types/OrderedInt32.html" title="class in org.apache.hadoop.hbase.types">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/types/class-use/OrderedInt32.html" target="_top">Frames</a></li>
<li><a href="OrderedInt32.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
| {
"content_hash": "e6fb8ce71dea171ae83f4ca1de523dc7",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 340,
"avg_line_length": 43.054545454545455,
"alnum_prop": 0.6371058558558559,
"repo_name": "gsoundar/mambo-ec2-deploy",
"id": "a4ef8ad3ef8194c76b0e874871521f34705ad5d4",
"size": "7104",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "packages/hbase-0.98.7-hadoop2/docs/devapidocs/org/apache/hadoop/hbase/types/class-use/OrderedInt32.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "23179"
},
{
"name": "CSS",
"bytes": "39965"
},
{
"name": "HTML",
"bytes": "263271260"
},
{
"name": "Java",
"bytes": "103085"
},
{
"name": "JavaScript",
"bytes": "1347"
},
{
"name": "Python",
"bytes": "4101"
},
{
"name": "Ruby",
"bytes": "262588"
},
{
"name": "Shell",
"bytes": "118548"
}
],
"symlink_target": ""
} |
CKEDITOR.plugins.setLang( 'language', 'de', {
button: 'Sprache stellen',
remove: 'Sprache entfernen'
} );
| {
"content_hash": "eacb2d6d0fae9d9c4e7c8f89f9fda047",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 45,
"avg_line_length": 18.5,
"alnum_prop": 0.6666666666666666,
"repo_name": "dangerdak/apuniverse",
"id": "23caaea99629bb3d2616d132ccefd903814a64fd",
"size": "272",
"binary": false,
"copies": "5",
"ref": "refs/heads/master",
"path": "apuniverse/ckeditor/static/ckeditor/ckeditor/plugins/language/lang/de.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "148317"
},
{
"name": "JavaScript",
"bytes": "4039056"
},
{
"name": "Makefile",
"bytes": "5612"
},
{
"name": "Python",
"bytes": "81901"
},
{
"name": "Shell",
"bytes": "5120"
}
],
"symlink_target": ""
} |
PACKAGE_NAME=superagent
#PACKAGE_VERSION is configurable can be passed as an argument.
PACKAGE_VERSION=${1:-v3.8.3}
PACKAGE_URL=https://github.com/visionmedia/superagent
#yum install -y yum-utils nodejs nodejs-devel nodejs-packaging npm git jq make cmake
yum install -y yum-utils git jq make cmake
NODE_VERSION=v12.22.4
#installing nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
source ~/.bashrc
nvm install $NODE_VERSION
OS_NAME=$(cat /etc/os-release | grep ^PRETTY_NAME | cut -d= -f2)
#Check if package exists
if [ -d "$PACKAGE_NAME" ] ; then
rm -rf $PACKAGE_NAME
echo "$PACKAGE_NAME | $PACKAGE_VERSION | $OS_NAME | GitHub | Removed existing package if any"
fi
if ! git clone $PACKAGE_URL $PACKAGE_NAME; then
echo "------------------$PACKAGE_NAME:clone_fails---------------------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
echo "$PACKAGE_NAME | $PACKAGE_URL | $PACKAGE_VERSION | $OS_NAME | GitHub | Fail | Clone_Fails"
exit 0
fi
cd $PACKAGE_NAME
git checkout $PACKAGE_VERSION
PACKAGE_VERSION=$(jq -r ".version" package.json)
# run the test command from test.sh
if ! npm install && npm audit fix && npm audit fix --force; then
echo "------------------$PACKAGE_NAME:install_fails-------------------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
echo "$PACKAGE_NAME | $PACKAGE_URL | $PACKAGE_VERSION | $OS_NAME | GitHub | Fail | Install_Fails"
exit 1
fi
if ! npm test; then
echo "------------------$PACKAGE_NAME:install_success_but_test_fails---------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
echo "$PACKAGE_NAME | $PACKAGE_URL | $PACKAGE_VERSION | $OS_NAME | GitHub | Fail | Install_success_but_test_Fails"
exit 1
else
echo "------------------$PACKAGE_NAME:install_&_test_both_success-------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
echo "$PACKAGE_NAME | $PACKAGE_URL | $PACKAGE_VERSION | $OS_NAME | GitHub | Pass | Both_Install_and_Test_Success"
exit 0
fi
| {
"content_hash": "6629cd5728b4ea2c603008cbc9c3773e",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 122,
"avg_line_length": 37.25454545454546,
"alnum_prop": 0.6183504148365057,
"repo_name": "ppc64le/build-scripts",
"id": "b8c5fad4e245d1bd275d9a72bfe39768a1999a5a",
"size": "2921",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "s/superagent/superagent_rhel_8.5.sh",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "1464"
},
{
"name": "C",
"bytes": "14922"
},
{
"name": "Dockerfile",
"bytes": "731231"
},
{
"name": "Groovy",
"bytes": "984"
},
{
"name": "Makefile",
"bytes": "7280"
},
{
"name": "OpenEdge ABL",
"bytes": "37872"
},
{
"name": "Python",
"bytes": "37596"
},
{
"name": "Roff",
"bytes": "7458"
},
{
"name": "Shell",
"bytes": "13688799"
}
],
"symlink_target": ""
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Bad Philophobia: pkg_world/pkg_characters/MovingCharacter.java File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Bad Philophobia
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Packages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_22137d4b8d7cf54005973ad52b141213.html">pkg_world</a></li><li class="navelem"><a class="el" href="dir_ad3d5db305528a2cfc53832af5af7b05.html">pkg_characters</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#namespaces">Packages</a> </div>
<div class="headertitle">
<div class="title">MovingCharacter.java File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a href="MovingCharacter_8java_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpkg__world_1_1pkg__characters_1_1MovingCharacter.html">pkg_world.pkg_characters.MovingCharacter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">class <a class="el" href="classpkg__world_1_1pkg__characters_1_1MovingCharacter.html" title="class MovingCharacter ">MovingCharacter</a> <a href="classpkg__world_1_1pkg__characters_1_1MovingCharacter.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Packages</h2></td></tr>
<tr class="memitem:namespacepkg__world_1_1pkg__characters"><td class="memItemLeft" align="right" valign="top">package  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepkg__world_1_1pkg__characters.html">pkg_world.pkg_characters</a></td></tr>
<tr class="memdesc:namespacepkg__world_1_1pkg__characters"><td class="mdescLeft"> </td><td class="mdescRight">Package containing all the classes handling a <a class="el" href="classpkg__world_1_1pkg__characters_1_1Character.html" title="class Character ">Character</a>. <br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jun 9 2014 21:28:27 for Bad Philophobia by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
| {
"content_hash": "44e38415d82a102ee9e341ff88bcb330",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 823,
"avg_line_length": 55.52459016393443,
"alnum_prop": 0.6764098021848244,
"repo_name": "minijackson/Bad-Philophobia",
"id": "597d54edc266cd9aac76107676c9bbce22ac17a4",
"size": "6774",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "progdoc/html/MovingCharacter_8java.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "59118"
},
{
"name": "Java",
"bytes": "69405"
},
{
"name": "JavaScript",
"bytes": "142904"
},
{
"name": "TeX",
"bytes": "1185922"
}
],
"symlink_target": ""
} |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var LegacyAvailabilityTimeZoneTime_1 = require("./LegacyAvailabilityTimeZoneTime");
var DateTime_1 = require("../../DateTime");
var DayOfTheWeek_1 = require("../../Enumerations/DayOfTheWeek");
var XmlNamespace_1 = require("../../Enumerations/XmlNamespace");
var XmlElementNames_1 = require("../../Core/XmlElementNames");
var ComplexProperty_1 = require("../../ComplexProperties/ComplexProperty");
var LegacyAvailabilityTimeZone = (function (_super) {
__extends(LegacyAvailabilityTimeZone, _super);
function LegacyAvailabilityTimeZone(timeZone /** MomentTimezone */) {
_super.call(this);
if (typeof timeZone !== 'undefined') {
this.daylightTime = new LegacyAvailabilityTimeZoneTime_1.LegacyAvailabilityTimeZoneTime();
this.daylightTime.Delta = DateTime_1.TimeSpan.Zero;
this.daylightTime.DayOrder = 1;
this.daylightTime.DayOfTheWeek = DayOfTheWeek_1.DayOfTheWeek.Sunday;
this.daylightTime.Month = 10;
this.daylightTime.TimeOfDay = DateTime_1.TimeSpan.FromHours(2);
this.daylightTime.Year = 0;
this.standardTime = new LegacyAvailabilityTimeZoneTime_1.LegacyAvailabilityTimeZoneTime();
this.standardTime.Delta = DateTime_1.TimeSpan.Zero;
this.standardTime.DayOrder = 1;
this.standardTime.DayOfTheWeek = DayOfTheWeek_1.DayOfTheWeek.Sunday;
this.standardTime.Month = 3;
this.standardTime.TimeOfDay = DateTime_1.TimeSpan.FromHours(2);
this.daylightTime.Year = 0;
}
}
LegacyAvailabilityTimeZone.prototype.InternalToJson = function (service) { throw new Error("LegacyAvailabilityTimeZone.ts - InternalToJson : Not implemented."); };
LegacyAvailabilityTimeZone.prototype.LoadFromJson = function (jsonProperty, service) { throw new Error("LegacyAvailabilityTimeZone.ts - LoadFromJson : Not implemented."); };
LegacyAvailabilityTimeZone.prototype.ToTimeZoneInfo = function () { throw new Error("LegacyAvailabilityTimeZone.ts - ToTimeZoneInfo : Not implemented."); };
LegacyAvailabilityTimeZone.prototype.ReadElementsFromXmlJsObject = function (reader) { throw new Error("LegacyAvailabilityTimeZone.ts - TryReadElementFromXmlJsObject : Not implemented."); };
LegacyAvailabilityTimeZone.prototype.LoadFromXmlJsObject = function (jsonProperty, service) {
for (var key in jsonProperty) {
switch (key) {
case XmlElementNames_1.XmlElementNames.Bias:
this.bias = DateTime_1.TimeSpan.FromMinutes(Number(jsonProperty[key]));
break;
case XmlElementNames_1.XmlElementNames.StandardTime:
this.standardTime = new LegacyAvailabilityTimeZoneTime_1.LegacyAvailabilityTimeZoneTime();
this.standardTime.LoadFromXmlJsObject(jsonProperty[key], service);
break;
case XmlElementNames_1.XmlElementNames.DaylightTime:
this.daylightTime = new LegacyAvailabilityTimeZoneTime_1.LegacyAvailabilityTimeZoneTime();
this.daylightTime.LoadFromXmlJsObject(jsonProperty[key], service);
break;
default:
break;
}
}
};
LegacyAvailabilityTimeZone.prototype.WriteElementsToXml = function (writer) {
writer.WriteElementValue(XmlNamespace_1.XmlNamespace.Types, XmlElementNames_1.XmlElementNames.Bias, this.bias.TotalMinutes);
this.standardTime.WriteToXml(writer, XmlElementNames_1.XmlElementNames.StandardTime);
this.daylightTime.WriteToXml(writer, XmlElementNames_1.XmlElementNames.DaylightTime);
};
return LegacyAvailabilityTimeZone;
}(ComplexProperty_1.ComplexProperty));
exports.LegacyAvailabilityTimeZone = LegacyAvailabilityTimeZone;
| {
"content_hash": "0cfdfa2fb3e486ead42637df4e84b79b",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 194,
"avg_line_length": 65.1875,
"alnum_prop": 0.6790508149568553,
"repo_name": "guderkar/MExInt",
"id": "471e08e0235cbd705e823594f79fe6628059efd3",
"size": "4172",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "mexint@karel.gudera/server/node_modules/ews-javascript-api/js/Misc/Availability/LegacyAvailabilityTimeZone.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "137184"
},
{
"name": "Makefile",
"bytes": "1018"
}
],
"symlink_target": ""
} |
SLUG="JakeWharton/ProcessPhoenix"
JDK="oraclejdk8"
BRANCH="master"
set -e
if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then
echo "Skipping snapshot deployment: wrong repository. Expected '$SLUG' but was '$TRAVIS_REPO_SLUG'."
elif [ "$TRAVIS_JDK_VERSION" != "$JDK" ]; then
echo "Skipping snapshot deployment: wrong JDK. Expected '$JDK' but was '$TRAVIS_JDK_VERSION'."
elif [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo "Skipping snapshot deployment: was pull request."
elif [ "$TRAVIS_BRANCH" != "$BRANCH" ]; then
echo "Skipping snapshot deployment: wrong branch. Expected '$BRANCH' but was '$TRAVIS_BRANCH'."
else
echo "Deploying snapshot..."
./gradlew clean uploadArchives
echo "Snapshot deployed!"
fi
| {
"content_hash": "db5aa588402af68dc05c9a444ee33ef9",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 102,
"avg_line_length": 37.68421052631579,
"alnum_prop": 0.702513966480447,
"repo_name": "dlew/ProcessPhoenix",
"id": "020094efb59a826e476daf94d71aae6df90bded0",
"size": "948",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": ".buildscript/deploy_snapshot.sh",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "5731"
},
{
"name": "Shell",
"bytes": "948"
}
],
"symlink_target": ""
} |
package org.apache.activemq.artemis.spi.core.security;
import javax.security.auth.Subject;
import java.security.Principal;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.activemq.artemis.core.persistence.StorageManager;
import org.apache.activemq.artemis.core.persistence.config.PersistedRole;
import org.apache.activemq.artemis.core.persistence.config.PersistedUser;
import org.apache.activemq.artemis.core.security.CheckType;
import org.apache.activemq.artemis.core.security.Role;
import org.apache.activemq.artemis.core.security.User;
import org.apache.activemq.artemis.core.server.ActiveMQMessageBundle;
import org.apache.activemq.artemis.core.server.ActiveMQServerLogger;
import org.apache.activemq.artemis.logs.AuditLogger;
import org.apache.activemq.artemis.spi.core.protocol.RemotingConnection;
import org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal;
import org.apache.activemq.artemis.spi.core.security.jaas.UserPrincipal;
import org.apache.activemq.artemis.utils.SecurityManagerUtil;
import org.jboss.logging.Logger;
/**
* All user and role state (both in memory and on disk) is maintained by the underlying StorageManager
*/
public class ActiveMQBasicSecurityManager implements ActiveMQSecurityManager5, UserManagement {
private static final Logger logger = Logger.getLogger(ActiveMQBasicSecurityManager.class);
public static final String BOOTSTRAP_USER = "bootstrapUser";
public static final String BOOTSTRAP_PASSWORD = "bootstrapPassword";
public static final String BOOTSTRAP_ROLE = "bootstrapRole";
private Map<String, String> properties;
private String rolePrincipalClass = RolePrincipal.class.getName();
private StorageManager storageManager;
@Override
public ActiveMQBasicSecurityManager init(Map<String, String> properties) {
if (!properties.containsKey(BOOTSTRAP_USER) || !properties.containsKey(BOOTSTRAP_PASSWORD) || !properties.containsKey(BOOTSTRAP_ROLE)) {
ActiveMQServerLogger.LOGGER.noBootstrapCredentialsFound();
} else {
this.properties = properties;
}
return this;
}
@Override
public boolean validateUser(String user, String password) {
throw new UnsupportedOperationException("Invoke authenticate(String, String, RemotingConnection, String) instead");
}
@Override
public Subject authenticate(final String userToAuthenticate, final String passwordToAuthenticate, RemotingConnection remotingConnection, final String securityDomain) {
try {
if (storageManager.isStarted() && storageManager.getPersistedUsers() != null) {
PersistedUser persistedUser = storageManager.getPersistedUsers().get(userToAuthenticate);
if (persistedUser != null) {
User user = new User(persistedUser.getUsername(), persistedUser.getPassword());
if (user.isValid(userToAuthenticate, passwordToAuthenticate)) {
Subject subject = new Subject();
subject.getPrincipals().add(new UserPrincipal(userToAuthenticate));
for (String role : getRole(userToAuthenticate).getRoles()) {
subject.getPrincipals().add((Principal) SecurityManagerUtil.createGroupPrincipal(role, rolePrincipalClass));
}
if (AuditLogger.isAnyLoggingEnabled() && remotingConnection != null) {
remotingConnection.setAuditSubject(subject);
}
if (AuditLogger.isResourceLoggingEnabled()) {
AuditLogger.userSuccesfullyLoggedInAudit(subject);
}
return subject;
}
}
}
} catch (Exception e) {
if (logger.isDebugEnabled()) {
logger.debug("Couldn't validate user", e);
}
}
return null;
}
@Override
public boolean validateUserAndRole(String user, String password, Set<Role> roles, CheckType checkType) {
throw new UnsupportedOperationException("Invoke authorize(Subject, Set<Role>, CheckType, String) instead");
}
@Override
public boolean authorize(final Subject subject,
final Set<Role> roles,
final CheckType checkType,
final String address) {
boolean authorized = SecurityManagerUtil.authorize(subject, roles, checkType, rolePrincipalClass);
if (logger.isTraceEnabled()) {
logger.trace("user " + (authorized ? " is " : " is NOT ") + "authorized");
}
return authorized;
}
@Override
public synchronized void addNewUser(String user, String password, String... roles) throws Exception {
if (user == null) {
throw ActiveMQMessageBundle.BUNDLE.nullUser();
}
if (password == null) {
throw ActiveMQMessageBundle.BUNDLE.nullPassword();
}
if (userExists(user)) {
throw ActiveMQMessageBundle.BUNDLE.userAlreadyExists(user);
}
storageManager.storeUser(new PersistedUser(user, password));
storageManager.storeRole(new PersistedRole(user, Arrays.asList(roles)));
}
@Override
public synchronized void removeUser(final String user) throws Exception {
if (!userExists(user)) {
throw ActiveMQMessageBundle.BUNDLE.userDoesNotExist(user);
}
storageManager.deleteUser(user);
storageManager.deleteRole(user);
}
@Override
public synchronized Map<String, Set<String>> listUser(String user) {
// a null or empty user is actually valid here
if (user != null && user.length() != 0 && !userExists(user)) {
throw ActiveMQMessageBundle.BUNDLE.userDoesNotExist(user);
}
Map<String, Set<String>> result = new HashMap<>();
if (user != null && user.length() > 0) {
result.put(user, new HashSet<>(getRole(user).getRoles()));
} else {
for (String thisUser : storageManager.getPersistedUsers().keySet()) {
result.put(thisUser, new HashSet<>(getRole(thisUser).getRoles()));
}
}
return result;
}
@Override
public synchronized void updateUser(String user, String password, String... roles) throws Exception {
if (!userExists(user)) {
throw ActiveMQMessageBundle.BUNDLE.userDoesNotExist(user);
}
// potentially update the user's password
if (password != null) {
storageManager.deleteUser(user);
storageManager.storeUser(new PersistedUser(user, password));
}
// potentially update the user's role(s)
if (roles != null && roles.length > 0) {
storageManager.deleteRole(user);
storageManager.storeRole(new PersistedRole(user, Arrays.asList(roles)));
}
}
public void completeInit(StorageManager storageManager) {
this.storageManager = storageManager;
// add/update the bootstrap user now that the StorageManager is set
if (properties != null && properties.containsKey(BOOTSTRAP_USER) && properties.containsKey(BOOTSTRAP_PASSWORD) && properties.containsKey(BOOTSTRAP_ROLE)) {
try {
if (userExists(properties.get(BOOTSTRAP_USER))) {
updateUser(properties.get(BOOTSTRAP_USER), properties.get(BOOTSTRAP_PASSWORD), new String[]{properties.get(BOOTSTRAP_ROLE)});
} else {
addNewUser(properties.get(BOOTSTRAP_USER), properties.get(BOOTSTRAP_PASSWORD), new String[]{properties.get(BOOTSTRAP_ROLE)});
}
} catch (Exception e) {
ActiveMQServerLogger.LOGGER.failedToCreateBootstrapCredentials(e, properties.get(BOOTSTRAP_USER));
}
}
}
private boolean userExists(String user) {
return user != null && storageManager.getPersistedUsers() != null && storageManager.getPersistedUsers().containsKey(user);
}
private PersistedRole getRole(String user) {
return storageManager.getPersistedRoles().get(user);
}
}
| {
"content_hash": "7c00cf0169635bb02cf80dcd6044ba8d",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 170,
"avg_line_length": 41.06122448979592,
"alnum_prop": 0.6833996023856859,
"repo_name": "andytaylor/activemq-artemis",
"id": "e6558a7dd52f8fb7f2705f6a4a7a25c32ab8a9c4",
"size": "8847",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/ActiveMQBasicSecurityManager.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "7894"
},
{
"name": "CSS",
"bytes": "65989"
},
{
"name": "Groovy",
"bytes": "150658"
},
{
"name": "HTML",
"bytes": "28321"
},
{
"name": "Java",
"bytes": "30942400"
},
{
"name": "JavaScript",
"bytes": "223931"
},
{
"name": "Shell",
"bytes": "37318"
}
],
"symlink_target": ""
} |
<HTML>
<BODY BGCOLOR="white">
<PRE>
<FONT color="green">001</FONT> <a name="line.16"></a>
<FONT color="green">017</FONT> <a name="line.17"></a>
<FONT color="green">018</FONT> package org.apache.commons.lang3.time;<a name="line.18"></a>
<FONT color="green">019</FONT> <a name="line.19"></a>
<FONT color="green">020</FONT> /**<a name="line.20"></a>
<FONT color="green">021</FONT> * <p><a name="line.21"></a>
<FONT color="green">022</FONT> * <code>StopWatch</code> provides a convenient API for timings.<a name="line.22"></a>
<FONT color="green">023</FONT> * </p><a name="line.23"></a>
<FONT color="green">024</FONT> * <a name="line.24"></a>
<FONT color="green">025</FONT> * <p><a name="line.25"></a>
<FONT color="green">026</FONT> * To start the watch, call {@link #start()}. At this point you can:<a name="line.26"></a>
<FONT color="green">027</FONT> * </p><a name="line.27"></a>
<FONT color="green">028</FONT> * <ul><a name="line.28"></a>
<FONT color="green">029</FONT> * <li>{@link #split()} the watch to get the time whilst the watch continues in the background. {@link #unsplit()} will<a name="line.29"></a>
<FONT color="green">030</FONT> * remove the effect of the split. At this point, these three options are available again.</li><a name="line.30"></a>
<FONT color="green">031</FONT> * <li>{@link #suspend()} the watch to pause it. {@link #resume()} allows the watch to continue. Any time between the<a name="line.31"></a>
<FONT color="green">032</FONT> * suspend and resume will not be counted in the total. At this point, these three options are available again.</li><a name="line.32"></a>
<FONT color="green">033</FONT> * <li>{@link #stop()} the watch to complete the timing session.</li><a name="line.33"></a>
<FONT color="green">034</FONT> * </ul><a name="line.34"></a>
<FONT color="green">035</FONT> * <a name="line.35"></a>
<FONT color="green">036</FONT> * <p><a name="line.36"></a>
<FONT color="green">037</FONT> * It is intended that the output methods {@link #toString()} and {@link #getTime()} should only be called after stop,<a name="line.37"></a>
<FONT color="green">038</FONT> * split or suspend, however a suitable result will be returned at other points.<a name="line.38"></a>
<FONT color="green">039</FONT> * </p><a name="line.39"></a>
<FONT color="green">040</FONT> * <a name="line.40"></a>
<FONT color="green">041</FONT> * <p><a name="line.41"></a>
<FONT color="green">042</FONT> * NOTE: As from v2.1, the methods protect against inappropriate calls. Thus you cannot now call stop before start,<a name="line.42"></a>
<FONT color="green">043</FONT> * resume before suspend or unsplit before split.<a name="line.43"></a>
<FONT color="green">044</FONT> * </p><a name="line.44"></a>
<FONT color="green">045</FONT> * <a name="line.45"></a>
<FONT color="green">046</FONT> * <p><a name="line.46"></a>
<FONT color="green">047</FONT> * 1. split(), suspend(), or stop() cannot be invoked twice<br /><a name="line.47"></a>
<FONT color="green">048</FONT> * 2. unsplit() may only be called if the watch has been split()<br /><a name="line.48"></a>
<FONT color="green">049</FONT> * 3. resume() may only be called if the watch has been suspend()<br /><a name="line.49"></a>
<FONT color="green">050</FONT> * 4. start() cannot be called twice without calling reset()<a name="line.50"></a>
<FONT color="green">051</FONT> * </p><a name="line.51"></a>
<FONT color="green">052</FONT> * <a name="line.52"></a>
<FONT color="green">053</FONT> * <p>This class is not thread-safe</p><a name="line.53"></a>
<FONT color="green">054</FONT> * <a name="line.54"></a>
<FONT color="green">055</FONT> * @since 2.0<a name="line.55"></a>
<FONT color="green">056</FONT> * @version $Id: StopWatch.java 1199894 2011-11-09 17:53:59Z ggregory $<a name="line.56"></a>
<FONT color="green">057</FONT> */<a name="line.57"></a>
<FONT color="green">058</FONT> public class StopWatch {<a name="line.58"></a>
<FONT color="green">059</FONT> <a name="line.59"></a>
<FONT color="green">060</FONT> private static final long NANO_2_MILLIS = 1000000L;<a name="line.60"></a>
<FONT color="green">061</FONT> <a name="line.61"></a>
<FONT color="green">062</FONT> // running states<a name="line.62"></a>
<FONT color="green">063</FONT> private static final int STATE_UNSTARTED = 0;<a name="line.63"></a>
<FONT color="green">064</FONT> <a name="line.64"></a>
<FONT color="green">065</FONT> private static final int STATE_RUNNING = 1;<a name="line.65"></a>
<FONT color="green">066</FONT> <a name="line.66"></a>
<FONT color="green">067</FONT> private static final int STATE_STOPPED = 2;<a name="line.67"></a>
<FONT color="green">068</FONT> <a name="line.68"></a>
<FONT color="green">069</FONT> private static final int STATE_SUSPENDED = 3;<a name="line.69"></a>
<FONT color="green">070</FONT> <a name="line.70"></a>
<FONT color="green">071</FONT> // split state<a name="line.71"></a>
<FONT color="green">072</FONT> private static final int STATE_UNSPLIT = 10;<a name="line.72"></a>
<FONT color="green">073</FONT> <a name="line.73"></a>
<FONT color="green">074</FONT> private static final int STATE_SPLIT = 11;<a name="line.74"></a>
<FONT color="green">075</FONT> <a name="line.75"></a>
<FONT color="green">076</FONT> /**<a name="line.76"></a>
<FONT color="green">077</FONT> * The current running state of the StopWatch.<a name="line.77"></a>
<FONT color="green">078</FONT> */<a name="line.78"></a>
<FONT color="green">079</FONT> private int runningState = STATE_UNSTARTED;<a name="line.79"></a>
<FONT color="green">080</FONT> <a name="line.80"></a>
<FONT color="green">081</FONT> /**<a name="line.81"></a>
<FONT color="green">082</FONT> * Whether the stopwatch has a split time recorded.<a name="line.82"></a>
<FONT color="green">083</FONT> */<a name="line.83"></a>
<FONT color="green">084</FONT> private int splitState = STATE_UNSPLIT;<a name="line.84"></a>
<FONT color="green">085</FONT> <a name="line.85"></a>
<FONT color="green">086</FONT> /**<a name="line.86"></a>
<FONT color="green">087</FONT> * The start time.<a name="line.87"></a>
<FONT color="green">088</FONT> */<a name="line.88"></a>
<FONT color="green">089</FONT> private long startTime;<a name="line.89"></a>
<FONT color="green">090</FONT> <a name="line.90"></a>
<FONT color="green">091</FONT> /**<a name="line.91"></a>
<FONT color="green">092</FONT> * The start time in Millis - nanoTime is only for elapsed time so we <a name="line.92"></a>
<FONT color="green">093</FONT> * need to also store the currentTimeMillis to maintain the old <a name="line.93"></a>
<FONT color="green">094</FONT> * getStartTime API.<a name="line.94"></a>
<FONT color="green">095</FONT> */<a name="line.95"></a>
<FONT color="green">096</FONT> private long startTimeMillis;<a name="line.96"></a>
<FONT color="green">097</FONT> <a name="line.97"></a>
<FONT color="green">098</FONT> /**<a name="line.98"></a>
<FONT color="green">099</FONT> * The stop time.<a name="line.99"></a>
<FONT color="green">100</FONT> */<a name="line.100"></a>
<FONT color="green">101</FONT> private long stopTime;<a name="line.101"></a>
<FONT color="green">102</FONT> <a name="line.102"></a>
<FONT color="green">103</FONT> /**<a name="line.103"></a>
<FONT color="green">104</FONT> * <p><a name="line.104"></a>
<FONT color="green">105</FONT> * Constructor.<a name="line.105"></a>
<FONT color="green">106</FONT> * </p><a name="line.106"></a>
<FONT color="green">107</FONT> */<a name="line.107"></a>
<FONT color="green">108</FONT> public StopWatch() {<a name="line.108"></a>
<FONT color="green">109</FONT> super();<a name="line.109"></a>
<FONT color="green">110</FONT> }<a name="line.110"></a>
<FONT color="green">111</FONT> <a name="line.111"></a>
<FONT color="green">112</FONT> /**<a name="line.112"></a>
<FONT color="green">113</FONT> * <p><a name="line.113"></a>
<FONT color="green">114</FONT> * Start the stopwatch.<a name="line.114"></a>
<FONT color="green">115</FONT> * </p><a name="line.115"></a>
<FONT color="green">116</FONT> * <a name="line.116"></a>
<FONT color="green">117</FONT> * <p><a name="line.117"></a>
<FONT color="green">118</FONT> * This method starts a new timing session, clearing any previous values.<a name="line.118"></a>
<FONT color="green">119</FONT> * </p><a name="line.119"></a>
<FONT color="green">120</FONT> * <a name="line.120"></a>
<FONT color="green">121</FONT> * @throws IllegalStateException<a name="line.121"></a>
<FONT color="green">122</FONT> * if the StopWatch is already running.<a name="line.122"></a>
<FONT color="green">123</FONT> */<a name="line.123"></a>
<FONT color="green">124</FONT> public void start() {<a name="line.124"></a>
<FONT color="green">125</FONT> if (this.runningState == STATE_STOPPED) {<a name="line.125"></a>
<FONT color="green">126</FONT> throw new IllegalStateException("Stopwatch must be reset before being restarted. ");<a name="line.126"></a>
<FONT color="green">127</FONT> }<a name="line.127"></a>
<FONT color="green">128</FONT> if (this.runningState != STATE_UNSTARTED) {<a name="line.128"></a>
<FONT color="green">129</FONT> throw new IllegalStateException("Stopwatch already started. ");<a name="line.129"></a>
<FONT color="green">130</FONT> }<a name="line.130"></a>
<FONT color="green">131</FONT> this.startTime = System.nanoTime();<a name="line.131"></a>
<FONT color="green">132</FONT> this.startTimeMillis = System.currentTimeMillis();<a name="line.132"></a>
<FONT color="green">133</FONT> this.runningState = STATE_RUNNING;<a name="line.133"></a>
<FONT color="green">134</FONT> }<a name="line.134"></a>
<FONT color="green">135</FONT> <a name="line.135"></a>
<FONT color="green">136</FONT> /**<a name="line.136"></a>
<FONT color="green">137</FONT> * <p><a name="line.137"></a>
<FONT color="green">138</FONT> * Stop the stopwatch.<a name="line.138"></a>
<FONT color="green">139</FONT> * </p><a name="line.139"></a>
<FONT color="green">140</FONT> * <a name="line.140"></a>
<FONT color="green">141</FONT> * <p><a name="line.141"></a>
<FONT color="green">142</FONT> * This method ends a new timing session, allowing the time to be retrieved.<a name="line.142"></a>
<FONT color="green">143</FONT> * </p><a name="line.143"></a>
<FONT color="green">144</FONT> * <a name="line.144"></a>
<FONT color="green">145</FONT> * @throws IllegalStateException<a name="line.145"></a>
<FONT color="green">146</FONT> * if the StopWatch is not running.<a name="line.146"></a>
<FONT color="green">147</FONT> */<a name="line.147"></a>
<FONT color="green">148</FONT> public void stop() {<a name="line.148"></a>
<FONT color="green">149</FONT> if (this.runningState != STATE_RUNNING && this.runningState != STATE_SUSPENDED) {<a name="line.149"></a>
<FONT color="green">150</FONT> throw new IllegalStateException("Stopwatch is not running. ");<a name="line.150"></a>
<FONT color="green">151</FONT> }<a name="line.151"></a>
<FONT color="green">152</FONT> if (this.runningState == STATE_RUNNING) {<a name="line.152"></a>
<FONT color="green">153</FONT> this.stopTime = System.nanoTime();<a name="line.153"></a>
<FONT color="green">154</FONT> }<a name="line.154"></a>
<FONT color="green">155</FONT> this.runningState = STATE_STOPPED;<a name="line.155"></a>
<FONT color="green">156</FONT> }<a name="line.156"></a>
<FONT color="green">157</FONT> <a name="line.157"></a>
<FONT color="green">158</FONT> /**<a name="line.158"></a>
<FONT color="green">159</FONT> * <p><a name="line.159"></a>
<FONT color="green">160</FONT> * Resets the stopwatch. Stops it if need be.<a name="line.160"></a>
<FONT color="green">161</FONT> * </p><a name="line.161"></a>
<FONT color="green">162</FONT> * <a name="line.162"></a>
<FONT color="green">163</FONT> * <p><a name="line.163"></a>
<FONT color="green">164</FONT> * This method clears the internal values to allow the object to be reused.<a name="line.164"></a>
<FONT color="green">165</FONT> * </p><a name="line.165"></a>
<FONT color="green">166</FONT> */<a name="line.166"></a>
<FONT color="green">167</FONT> public void reset() {<a name="line.167"></a>
<FONT color="green">168</FONT> this.runningState = STATE_UNSTARTED;<a name="line.168"></a>
<FONT color="green">169</FONT> this.splitState = STATE_UNSPLIT;<a name="line.169"></a>
<FONT color="green">170</FONT> }<a name="line.170"></a>
<FONT color="green">171</FONT> <a name="line.171"></a>
<FONT color="green">172</FONT> /**<a name="line.172"></a>
<FONT color="green">173</FONT> * <p><a name="line.173"></a>
<FONT color="green">174</FONT> * Split the time.<a name="line.174"></a>
<FONT color="green">175</FONT> * </p><a name="line.175"></a>
<FONT color="green">176</FONT> * <a name="line.176"></a>
<FONT color="green">177</FONT> * <p><a name="line.177"></a>
<FONT color="green">178</FONT> * This method sets the stop time of the watch to allow a time to be extracted. The start time is unaffected,<a name="line.178"></a>
<FONT color="green">179</FONT> * enabling {@link #unsplit()} to continue the timing from the original start point.<a name="line.179"></a>
<FONT color="green">180</FONT> * </p><a name="line.180"></a>
<FONT color="green">181</FONT> * <a name="line.181"></a>
<FONT color="green">182</FONT> * @throws IllegalStateException<a name="line.182"></a>
<FONT color="green">183</FONT> * if the StopWatch is not running.<a name="line.183"></a>
<FONT color="green">184</FONT> */<a name="line.184"></a>
<FONT color="green">185</FONT> public void split() {<a name="line.185"></a>
<FONT color="green">186</FONT> if (this.runningState != STATE_RUNNING) {<a name="line.186"></a>
<FONT color="green">187</FONT> throw new IllegalStateException("Stopwatch is not running. ");<a name="line.187"></a>
<FONT color="green">188</FONT> }<a name="line.188"></a>
<FONT color="green">189</FONT> this.stopTime = System.nanoTime();<a name="line.189"></a>
<FONT color="green">190</FONT> this.splitState = STATE_SPLIT;<a name="line.190"></a>
<FONT color="green">191</FONT> }<a name="line.191"></a>
<FONT color="green">192</FONT> <a name="line.192"></a>
<FONT color="green">193</FONT> /**<a name="line.193"></a>
<FONT color="green">194</FONT> * <p><a name="line.194"></a>
<FONT color="green">195</FONT> * Remove a split.<a name="line.195"></a>
<FONT color="green">196</FONT> * </p><a name="line.196"></a>
<FONT color="green">197</FONT> * <a name="line.197"></a>
<FONT color="green">198</FONT> * <p><a name="line.198"></a>
<FONT color="green">199</FONT> * This method clears the stop time. The start time is unaffected, enabling timing from the original start point to<a name="line.199"></a>
<FONT color="green">200</FONT> * continue.<a name="line.200"></a>
<FONT color="green">201</FONT> * </p><a name="line.201"></a>
<FONT color="green">202</FONT> * <a name="line.202"></a>
<FONT color="green">203</FONT> * @throws IllegalStateException<a name="line.203"></a>
<FONT color="green">204</FONT> * if the StopWatch has not been split.<a name="line.204"></a>
<FONT color="green">205</FONT> */<a name="line.205"></a>
<FONT color="green">206</FONT> public void unsplit() {<a name="line.206"></a>
<FONT color="green">207</FONT> if (this.splitState != STATE_SPLIT) {<a name="line.207"></a>
<FONT color="green">208</FONT> throw new IllegalStateException("Stopwatch has not been split. ");<a name="line.208"></a>
<FONT color="green">209</FONT> }<a name="line.209"></a>
<FONT color="green">210</FONT> this.splitState = STATE_UNSPLIT;<a name="line.210"></a>
<FONT color="green">211</FONT> }<a name="line.211"></a>
<FONT color="green">212</FONT> <a name="line.212"></a>
<FONT color="green">213</FONT> /**<a name="line.213"></a>
<FONT color="green">214</FONT> * <p><a name="line.214"></a>
<FONT color="green">215</FONT> * Suspend the stopwatch for later resumption.<a name="line.215"></a>
<FONT color="green">216</FONT> * </p><a name="line.216"></a>
<FONT color="green">217</FONT> * <a name="line.217"></a>
<FONT color="green">218</FONT> * <p><a name="line.218"></a>
<FONT color="green">219</FONT> * This method suspends the watch until it is resumed. The watch will not include time between the suspend and<a name="line.219"></a>
<FONT color="green">220</FONT> * resume calls in the total time.<a name="line.220"></a>
<FONT color="green">221</FONT> * </p><a name="line.221"></a>
<FONT color="green">222</FONT> * <a name="line.222"></a>
<FONT color="green">223</FONT> * @throws IllegalStateException<a name="line.223"></a>
<FONT color="green">224</FONT> * if the StopWatch is not currently running.<a name="line.224"></a>
<FONT color="green">225</FONT> */<a name="line.225"></a>
<FONT color="green">226</FONT> public void suspend() {<a name="line.226"></a>
<FONT color="green">227</FONT> if (this.runningState != STATE_RUNNING) {<a name="line.227"></a>
<FONT color="green">228</FONT> throw new IllegalStateException("Stopwatch must be running to suspend. ");<a name="line.228"></a>
<FONT color="green">229</FONT> }<a name="line.229"></a>
<FONT color="green">230</FONT> this.stopTime = System.nanoTime();<a name="line.230"></a>
<FONT color="green">231</FONT> this.runningState = STATE_SUSPENDED;<a name="line.231"></a>
<FONT color="green">232</FONT> }<a name="line.232"></a>
<FONT color="green">233</FONT> <a name="line.233"></a>
<FONT color="green">234</FONT> /**<a name="line.234"></a>
<FONT color="green">235</FONT> * <p><a name="line.235"></a>
<FONT color="green">236</FONT> * Resume the stopwatch after a suspend.<a name="line.236"></a>
<FONT color="green">237</FONT> * </p><a name="line.237"></a>
<FONT color="green">238</FONT> * <a name="line.238"></a>
<FONT color="green">239</FONT> * <p><a name="line.239"></a>
<FONT color="green">240</FONT> * This method resumes the watch after it was suspended. The watch will not include time between the suspend and<a name="line.240"></a>
<FONT color="green">241</FONT> * resume calls in the total time.<a name="line.241"></a>
<FONT color="green">242</FONT> * </p><a name="line.242"></a>
<FONT color="green">243</FONT> * <a name="line.243"></a>
<FONT color="green">244</FONT> * @throws IllegalStateException<a name="line.244"></a>
<FONT color="green">245</FONT> * if the StopWatch has not been suspended.<a name="line.245"></a>
<FONT color="green">246</FONT> */<a name="line.246"></a>
<FONT color="green">247</FONT> public void resume() {<a name="line.247"></a>
<FONT color="green">248</FONT> if (this.runningState != STATE_SUSPENDED) {<a name="line.248"></a>
<FONT color="green">249</FONT> throw new IllegalStateException("Stopwatch must be suspended to resume. ");<a name="line.249"></a>
<FONT color="green">250</FONT> }<a name="line.250"></a>
<FONT color="green">251</FONT> this.startTime += System.nanoTime() - this.stopTime;<a name="line.251"></a>
<FONT color="green">252</FONT> this.runningState = STATE_RUNNING;<a name="line.252"></a>
<FONT color="green">253</FONT> }<a name="line.253"></a>
<FONT color="green">254</FONT> <a name="line.254"></a>
<FONT color="green">255</FONT> /**<a name="line.255"></a>
<FONT color="green">256</FONT> * <p><a name="line.256"></a>
<FONT color="green">257</FONT> * Get the time on the stopwatch.<a name="line.257"></a>
<FONT color="green">258</FONT> * </p><a name="line.258"></a>
<FONT color="green">259</FONT> * <a name="line.259"></a>
<FONT color="green">260</FONT> * <p><a name="line.260"></a>
<FONT color="green">261</FONT> * This is either the time between the start and the moment this method is called, or the amount of time between<a name="line.261"></a>
<FONT color="green">262</FONT> * start and stop.<a name="line.262"></a>
<FONT color="green">263</FONT> * </p><a name="line.263"></a>
<FONT color="green">264</FONT> * <a name="line.264"></a>
<FONT color="green">265</FONT> * @return the time in milliseconds<a name="line.265"></a>
<FONT color="green">266</FONT> */<a name="line.266"></a>
<FONT color="green">267</FONT> public long getTime() {<a name="line.267"></a>
<FONT color="green">268</FONT> return getNanoTime() / NANO_2_MILLIS;<a name="line.268"></a>
<FONT color="green">269</FONT> }<a name="line.269"></a>
<FONT color="green">270</FONT> /**<a name="line.270"></a>
<FONT color="green">271</FONT> * <p><a name="line.271"></a>
<FONT color="green">272</FONT> * Get the time on the stopwatch in nanoseconds.<a name="line.272"></a>
<FONT color="green">273</FONT> * </p><a name="line.273"></a>
<FONT color="green">274</FONT> * <a name="line.274"></a>
<FONT color="green">275</FONT> * <p><a name="line.275"></a>
<FONT color="green">276</FONT> * This is either the time between the start and the moment this method is called, or the amount of time between<a name="line.276"></a>
<FONT color="green">277</FONT> * start and stop.<a name="line.277"></a>
<FONT color="green">278</FONT> * </p><a name="line.278"></a>
<FONT color="green">279</FONT> * <a name="line.279"></a>
<FONT color="green">280</FONT> * @return the time in nanoseconds<a name="line.280"></a>
<FONT color="green">281</FONT> * @since 3.0<a name="line.281"></a>
<FONT color="green">282</FONT> */<a name="line.282"></a>
<FONT color="green">283</FONT> public long getNanoTime() {<a name="line.283"></a>
<FONT color="green">284</FONT> if (this.runningState == STATE_STOPPED || this.runningState == STATE_SUSPENDED) {<a name="line.284"></a>
<FONT color="green">285</FONT> return this.stopTime - this.startTime;<a name="line.285"></a>
<FONT color="green">286</FONT> } else if (this.runningState == STATE_UNSTARTED) {<a name="line.286"></a>
<FONT color="green">287</FONT> return 0;<a name="line.287"></a>
<FONT color="green">288</FONT> } else if (this.runningState == STATE_RUNNING) {<a name="line.288"></a>
<FONT color="green">289</FONT> return System.nanoTime() - this.startTime;<a name="line.289"></a>
<FONT color="green">290</FONT> }<a name="line.290"></a>
<FONT color="green">291</FONT> throw new RuntimeException("Illegal running state has occured. ");<a name="line.291"></a>
<FONT color="green">292</FONT> }<a name="line.292"></a>
<FONT color="green">293</FONT> <a name="line.293"></a>
<FONT color="green">294</FONT> /**<a name="line.294"></a>
<FONT color="green">295</FONT> * <p><a name="line.295"></a>
<FONT color="green">296</FONT> * Get the split time on the stopwatch.<a name="line.296"></a>
<FONT color="green">297</FONT> * </p><a name="line.297"></a>
<FONT color="green">298</FONT> * <a name="line.298"></a>
<FONT color="green">299</FONT> * <p><a name="line.299"></a>
<FONT color="green">300</FONT> * This is the time between start and latest split.<a name="line.300"></a>
<FONT color="green">301</FONT> * </p><a name="line.301"></a>
<FONT color="green">302</FONT> * <a name="line.302"></a>
<FONT color="green">303</FONT> * @return the split time in milliseconds<a name="line.303"></a>
<FONT color="green">304</FONT> * <a name="line.304"></a>
<FONT color="green">305</FONT> * @throws IllegalStateException<a name="line.305"></a>
<FONT color="green">306</FONT> * if the StopWatch has not yet been split.<a name="line.306"></a>
<FONT color="green">307</FONT> * @since 2.1<a name="line.307"></a>
<FONT color="green">308</FONT> */<a name="line.308"></a>
<FONT color="green">309</FONT> public long getSplitTime() {<a name="line.309"></a>
<FONT color="green">310</FONT> return getSplitNanoTime() / NANO_2_MILLIS;<a name="line.310"></a>
<FONT color="green">311</FONT> }<a name="line.311"></a>
<FONT color="green">312</FONT> /**<a name="line.312"></a>
<FONT color="green">313</FONT> * <p><a name="line.313"></a>
<FONT color="green">314</FONT> * Get the split time on the stopwatch in nanoseconds.<a name="line.314"></a>
<FONT color="green">315</FONT> * </p><a name="line.315"></a>
<FONT color="green">316</FONT> * <a name="line.316"></a>
<FONT color="green">317</FONT> * <p><a name="line.317"></a>
<FONT color="green">318</FONT> * This is the time between start and latest split.<a name="line.318"></a>
<FONT color="green">319</FONT> * </p><a name="line.319"></a>
<FONT color="green">320</FONT> * <a name="line.320"></a>
<FONT color="green">321</FONT> * @return the split time in nanoseconds<a name="line.321"></a>
<FONT color="green">322</FONT> * <a name="line.322"></a>
<FONT color="green">323</FONT> * @throws IllegalStateException<a name="line.323"></a>
<FONT color="green">324</FONT> * if the StopWatch has not yet been split.<a name="line.324"></a>
<FONT color="green">325</FONT> * @since 3.0<a name="line.325"></a>
<FONT color="green">326</FONT> */<a name="line.326"></a>
<FONT color="green">327</FONT> public long getSplitNanoTime() {<a name="line.327"></a>
<FONT color="green">328</FONT> if (this.splitState != STATE_SPLIT) {<a name="line.328"></a>
<FONT color="green">329</FONT> throw new IllegalStateException("Stopwatch must be split to get the split time. ");<a name="line.329"></a>
<FONT color="green">330</FONT> }<a name="line.330"></a>
<FONT color="green">331</FONT> return this.stopTime - this.startTime;<a name="line.331"></a>
<FONT color="green">332</FONT> }<a name="line.332"></a>
<FONT color="green">333</FONT> <a name="line.333"></a>
<FONT color="green">334</FONT> /**<a name="line.334"></a>
<FONT color="green">335</FONT> * Returns the time this stopwatch was started.<a name="line.335"></a>
<FONT color="green">336</FONT> * <a name="line.336"></a>
<FONT color="green">337</FONT> * @return the time this stopwatch was started<a name="line.337"></a>
<FONT color="green">338</FONT> * @throws IllegalStateException<a name="line.338"></a>
<FONT color="green">339</FONT> * if this StopWatch has not been started<a name="line.339"></a>
<FONT color="green">340</FONT> * @since 2.4<a name="line.340"></a>
<FONT color="green">341</FONT> */<a name="line.341"></a>
<FONT color="green">342</FONT> public long getStartTime() {<a name="line.342"></a>
<FONT color="green">343</FONT> if (this.runningState == STATE_UNSTARTED) {<a name="line.343"></a>
<FONT color="green">344</FONT> throw new IllegalStateException("Stopwatch has not been started");<a name="line.344"></a>
<FONT color="green">345</FONT> }<a name="line.345"></a>
<FONT color="green">346</FONT> // System.nanoTime is for elapsed time<a name="line.346"></a>
<FONT color="green">347</FONT> return this.startTimeMillis;<a name="line.347"></a>
<FONT color="green">348</FONT> }<a name="line.348"></a>
<FONT color="green">349</FONT> <a name="line.349"></a>
<FONT color="green">350</FONT> /**<a name="line.350"></a>
<FONT color="green">351</FONT> * <p><a name="line.351"></a>
<FONT color="green">352</FONT> * Gets a summary of the time that the stopwatch recorded as a string.<a name="line.352"></a>
<FONT color="green">353</FONT> * </p><a name="line.353"></a>
<FONT color="green">354</FONT> * <a name="line.354"></a>
<FONT color="green">355</FONT> * <p><a name="line.355"></a>
<FONT color="green">356</FONT> * The format used is ISO8601-like, <i>hours</i>:<i>minutes</i>:<i>seconds</i>.<i>milliseconds</i>.<a name="line.356"></a>
<FONT color="green">357</FONT> * </p><a name="line.357"></a>
<FONT color="green">358</FONT> * <a name="line.358"></a>
<FONT color="green">359</FONT> * @return the time as a String<a name="line.359"></a>
<FONT color="green">360</FONT> */<a name="line.360"></a>
<FONT color="green">361</FONT> @Override<a name="line.361"></a>
<FONT color="green">362</FONT> public String toString() {<a name="line.362"></a>
<FONT color="green">363</FONT> return DurationFormatUtils.formatDurationHMS(getTime());<a name="line.363"></a>
<FONT color="green">364</FONT> }<a name="line.364"></a>
<FONT color="green">365</FONT> <a name="line.365"></a>
<FONT color="green">366</FONT> /**<a name="line.366"></a>
<FONT color="green">367</FONT> * <p><a name="line.367"></a>
<FONT color="green">368</FONT> * Gets a summary of the split time that the stopwatch recorded as a string.<a name="line.368"></a>
<FONT color="green">369</FONT> * </p><a name="line.369"></a>
<FONT color="green">370</FONT> * <a name="line.370"></a>
<FONT color="green">371</FONT> * <p><a name="line.371"></a>
<FONT color="green">372</FONT> * The format used is ISO8601-like, <i>hours</i>:<i>minutes</i>:<i>seconds</i>.<i>milliseconds</i>.<a name="line.372"></a>
<FONT color="green">373</FONT> * </p><a name="line.373"></a>
<FONT color="green">374</FONT> * <a name="line.374"></a>
<FONT color="green">375</FONT> * @return the split time as a String<a name="line.375"></a>
<FONT color="green">376</FONT> * @since 2.1<a name="line.376"></a>
<FONT color="green">377</FONT> */<a name="line.377"></a>
<FONT color="green">378</FONT> public String toSplitString() {<a name="line.378"></a>
<FONT color="green">379</FONT> return DurationFormatUtils.formatDurationHMS(getSplitTime());<a name="line.379"></a>
<FONT color="green">380</FONT> }<a name="line.380"></a>
<FONT color="green">381</FONT> <a name="line.381"></a>
<FONT color="green">382</FONT> }<a name="line.382"></a>
</PRE>
</BODY>
</HTML>
| {
"content_hash": "bdbc20ab7d2a955b5c567bb82ecef1a1",
"timestamp": "",
"source": "github",
"line_count": 433,
"max_line_length": 208,
"avg_line_length": 73.88221709006929,
"alnum_prop": 0.5899159138507706,
"repo_name": "pyotr777/sshconnect",
"id": "fee347c58f486e3b16e34961380b943f561cb814",
"size": "33626",
"binary": false,
"copies": "6",
"ref": "refs/heads/master",
"path": "lib/commons-lang3-3.1/apidocs/src-html/org/apache/commons/lang3/time/StopWatch.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "3725"
},
{
"name": "CSS",
"bytes": "2622"
},
{
"name": "HTML",
"bytes": "18059212"
},
{
"name": "Java",
"bytes": "972911"
},
{
"name": "Perl",
"bytes": "3736"
},
{
"name": "Python",
"bytes": "2705"
},
{
"name": "Shell",
"bytes": "3703"
}
],
"symlink_target": ""
} |
package com.btoddb.chronicle.catchers;
import com.btoddb.chronicle.Config;
import com.btoddb.chronicle.Event;
import com.btoddb.chronicle.Utils;
import com.fasterxml.jackson.core.type.TypeReference;
import org.eclipse.jetty.jmx.MBeanContainer;
import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;
import org.eclipse.jetty.server.handler.AbstractHandler;
import org.eclipse.jetty.server.handler.ContextHandler;
import org.eclipse.jetty.server.handler.DefaultHandler;
import org.eclipse.jetty.server.handler.ErrorHandler;
import org.eclipse.jetty.server.handler.HandlerCollection;
import org.eclipse.jetty.server.handler.StatisticsHandler;
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.thread.QueuedThreadPool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.management.ManagementFactory;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ArrayBlockingQueue;
import static com.codahale.metrics.MetricRegistry.name;
public class RestCatcherImpl extends CatcherBaseImpl {
private static final Logger logger = LoggerFactory.getLogger(RestCatcherImpl.class);
private Server server;
private int port = 8083;
private String bind = "0.0.0.0";
private int maxBatchSize = 100;
@Override
public void init(Config config) throws Exception {
super.init(config);
updateMetrics(null);
startJettyServer();
}
private void startJettyServer() {
QueuedThreadPool tp = new QueuedThreadPool(200, 8, 30000, new ArrayBlockingQueue<Runnable>(1000));
tp.setName("Chronicle-RestV1-ThreadPool");
server = new Server(tp);
// Setup JMX - do this before setting *anything* else on the server object
MBeanContainer mbContainer = new MBeanContainer(ManagementFactory.getPlatformMBeanServer());
server.addEventListener(mbContainer);
server.addBean(mbContainer);
server.addBean(Log.getLogger(RestCatcherImpl.class));
// bind connector to IP and port
ServerConnector connector = new ServerConnector(server);
connector.setHost(bind);
connector.setPort(port);
server.setConnectors(new Connector[] {connector});
// setup handlers/stats for the context "/v1/events"
HandlerCollection v1EventHandlers = new HandlerCollection();
v1EventHandlers.addHandler(new RequestHandler());
v1EventHandlers.addHandler(new DefaultHandler());
StatisticsHandler statsHandler = new StatisticsHandler();
statsHandler.setHandler(v1EventHandlers);
ContextHandler context = new ContextHandler();
context.setDisplayName("Chronicle-RestV1");
context.setContextPath("/v1/events");
context.setAllowNullPathInfo(true); // to avoid redirect on POST
context.setHandler(statsHandler);
// setup handlers/contexts for the overall server
HandlerCollection serverHandlers = new HandlerCollection();
serverHandlers.addHandler(context);
server.setHandler(serverHandlers);
server.addBean(new ErrorHandler() {
@Override
public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException {
logger.warn(String.format("RESTv1 response code = %d : %s : forward-for=%s : %s", baseRequest.getResponse().getStatus(), baseRequest.getRemoteAddr(), baseRequest.getHeader("X-Forwarded-For"), baseRequest.getRequestURL()));
super.handle(target, baseRequest, request, response);
}
});
try {
server.start();
logger.info("jetty started and listening on port " + port);
}
catch (Exception e) {
logger.error("exception while starting jetty server", e);
}
}
public boolean isJsonArray(InputStream inStream) {
if (null == inStream) {
return false;
}
int count = 100;
inStream.mark(count);
int ch;
try {
do {
ch = inStream.read();
} while ('[' != ch && '{' != ch && Character.isWhitespace((char)ch) && -1 != ch && --count > 0);
inStream.reset();
if (0 == count) {
Utils.logAndThrow(logger, "unrecognizable JSON, or too much whitespace before JSON doc starts");
}
return '[' == ch;
}
catch (IOException e) {
Utils.logAndThrow(logger, "exception while looking for JSON in InputStream", e);
}
return false;
}
@Override
public void shutdown() {
if (null != server) {
try {
server.stop();
}
catch (Exception e) {
logger.error("exception while shutting down jetty server", e);
}
}
}
private void updateMetrics(Integer contentLength) {
if (null != contentLength) {
config.getCatcherMetrics().getRegistry().histogram(name(getId(), "content-length")).update(contentLength);
}
else {
config.getCatcherMetrics().getRegistry().histogram(name(getId(), "content-length"));
}
}
public class RequestHandler extends AbstractHandler {
public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
// make sure we have a POST (PUT has the assumption to be idempotent - FPQ is not)
if (!"POST".equals(request.getMethod())) {
response.setStatus(HttpServletResponse.SC_METHOD_NOT_ALLOWED);
response.getWriter().print("For this request the server only supports POST - in particular PUT is not supported because FPQ is not idempotent");
return;
}
//
// TODO:BTB - check that request isn't "too large"
//
config.getCatcherMetrics().markBatchStart(getId());
updateMetrics(request.getContentLength());
try {
doIt(baseRequest, request, response);
}
finally {
config.getCatcherMetrics().markBatchEnd(getId());
}
}
private void doIt(Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException {
List<Event> eventList;
baseRequest.setHandled(true);
BufferedInputStream reqInStream = new BufferedInputStream(request.getInputStream());
// check for list of events, or single event
try {
if (!isJsonArray(reqInStream)) {
Event event = config.getEventSerializer().deserialize(reqInStream);
eventList = Collections.singletonList(event);
}
else {
eventList = config.getEventSerializer().deserializeList(reqInStream);
}
}
catch (Exception e) {
response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
response.getWriter().print(e.getMessage());
return;
}
// parse list of events
if (eventList.size() > maxBatchSize) {
response.setStatus(HttpServletResponse.SC_REQUEST_ENTITY_TOO_LARGE);
response.getWriter().print(String.format("Too many events received. The maximum batch size is %d", maxBatchSize));
return;
}
try {
catchEvents(eventList);
}
catch (Exception e) {
logger.error("exception while processing events", e);
response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
response.getWriter().print(e.getMessage());
return;
}
response.setStatus(HttpServletResponse.SC_OK);
response.setContentType("application/json");
response.getWriter().print(String.format("{ \"received\": %d}", eventList.size()));
}
}
@SuppressWarnings("unused")
public void setBind(String bind) {
this.bind = bind;
}
@SuppressWarnings("unused")
public void setPort(int port) {
this.port = port;
}
public int getPort() {
return port;
}
public String getBind() {
return bind;
}
@SuppressWarnings("unused")
public int getMaxBatchSize() {
return maxBatchSize;
}
@SuppressWarnings("unused")
public void setMaxBatchSize(int maxBatchSize) {
this.maxBatchSize = maxBatchSize;
}
}
| {
"content_hash": "b871f2dd5f5b246204eabe6b488977b8",
"timestamp": "",
"source": "github",
"line_count": 255,
"max_line_length": 238,
"avg_line_length": 35.74901960784314,
"alnum_prop": 0.6316366827555946,
"repo_name": "btoddb/chronicle",
"id": "cab1297d0d80d21a26beae17eb2985c61ef7708f",
"size": "10280",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/com/btoddb/chronicle/catchers/RestCatcherImpl.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "268832"
},
{
"name": "Shell",
"bytes": "3940"
}
],
"symlink_target": ""
} |
module ReactiveExtensions
def self.files
Files::FILES
end
module Files
LIB_FILES = Dir.glob('./lib/**/*.rb').sort
SPEC_FILES = Dir.glob('./spec/**/*.rb').sort
BASE_FILES = %w(files.rb Gemfile LICENSE reactive_extensions.gemspec README.md version.rb)
FILES = [LIB_FILES, SPEC_FILES, BASE_FILES].flatten
end
end | {
"content_hash": "a8b928ad20d6df7d8232e84d08aee9ee",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 94,
"avg_line_length": 26.076923076923077,
"alnum_prop": 0.6696165191740413,
"repo_name": "danascheider/reactive_extensions",
"id": "89417fe087354f41c863625f0fc99e96374e6427",
"size": "339",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "files.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Ruby",
"bytes": "38586"
}
],
"symlink_target": ""
} |
<section>
<div class="page-header">
<h1>Reports</h1>
</div>
<div class="row">
<div class="col-xs-12 col-sm-6 pull-left">
<a class="btn btn-primary" role="button" ui-sref="reports.create"> <i class="glyphicon glyphicon-pencil"></i> | Create new</a>
</div>
<div class="col-xs-12 col-sm-6 pull-right">
<input type="text" class="form-control" placeholder="Search reports here" ng-model="search">
</div>
</div>
<br>
<br>
<div class="list-group">
<a ng-repeat="report in vm.reports | filter: search"
ui-sref="reports.view({ reportId: report._id })"
class="list-group-item">
<small class="list-group-item-text">
<em>Posted on
<span ng-bind="report.created | date:'mediumDate'"></span>
by
<span ng-if="report.user" ng-bind="report.user.displayName"></span>
<span ng-if="!report.user">Deleted User</span></em>
</small>
<br>
<br>
<h3 class="list-group-item-heading" ng-bind="report.name"></h3>
<p ng-bind="report.report | limitTo: 200"></p>
</a>
</div>
<div class="alert alert-warning text-center" ng-if="vm.reports.$resolved && !vm.reports.length">
No Reports yet, why don't you <a ui-sref="reports.create">create one</a>?
</div>
</section>
| {
"content_hash": "c2ffca87c4e827a69fcf82a96b2a6a7a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 132,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.6012461059190031,
"repo_name": "dnazmije/expenses-app",
"id": "121d1479c42a67ac0e5c176e3f8fe50523958d58",
"size": "1284",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "modules/reports/client/views/list-reports.client.view.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "2281"
},
{
"name": "HTML",
"bytes": "36563"
},
{
"name": "JavaScript",
"bytes": "212094"
},
{
"name": "Shell",
"bytes": "686"
}
],
"symlink_target": ""
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.networkservices.v1.model;
/**
* Specifies how to match traffic and how to route traffic when traffic is matched.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Network Services API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class TlsRouteRouteRule extends com.google.api.client.json.GenericJson {
/**
* Required. The detailed rule defining how to route matched traffic.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TlsRouteRouteAction action;
/**
* Required. RouteMatch defines the predicate used to match requests to a given action. Multiple
* match types are "OR"ed for evaluation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<TlsRouteRouteMatch> matches;
static {
// hack to force ProGuard to consider TlsRouteRouteMatch used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(TlsRouteRouteMatch.class);
}
/**
* Required. The detailed rule defining how to route matched traffic.
* @return value or {@code null} for none
*/
public TlsRouteRouteAction getAction() {
return action;
}
/**
* Required. The detailed rule defining how to route matched traffic.
* @param action action or {@code null} for none
*/
public TlsRouteRouteRule setAction(TlsRouteRouteAction action) {
this.action = action;
return this;
}
/**
* Required. RouteMatch defines the predicate used to match requests to a given action. Multiple
* match types are "OR"ed for evaluation.
* @return value or {@code null} for none
*/
public java.util.List<TlsRouteRouteMatch> getMatches() {
return matches;
}
/**
* Required. RouteMatch defines the predicate used to match requests to a given action. Multiple
* match types are "OR"ed for evaluation.
* @param matches matches or {@code null} for none
*/
public TlsRouteRouteRule setMatches(java.util.List<TlsRouteRouteMatch> matches) {
this.matches = matches;
return this;
}
@Override
public TlsRouteRouteRule set(String fieldName, Object value) {
return (TlsRouteRouteRule) super.set(fieldName, value);
}
@Override
public TlsRouteRouteRule clone() {
return (TlsRouteRouteRule) super.clone();
}
}
| {
"content_hash": "ceaf42ad030c85e7430f70e79b63d393",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 182,
"avg_line_length": 34.57575757575758,
"alnum_prop": 0.7230499561787905,
"repo_name": "googleapis/google-api-java-client-services",
"id": "c730c6d3ca9b4654ad9711b4c893ea7b28fd0caf",
"size": "3423",
"binary": false,
"copies": "2",
"ref": "refs/heads/main",
"path": "clients/google-api-services-networkservices/v1/1.31.0/com/google/api/services/networkservices/v1/model/TlsRouteRouteRule.java",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "65f0f797d03589473068c64780ea9940",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "47a57d45d93b8c0a6ae1b1681205ab0c638ff406",
"size": "173",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "life/Plantae/Magnoliophyta/Magnoliopsida/Malvales/Dipterocarpaceae/Doona/Doona gardneri/README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
"use strict";
let googleApiKey;
chrome.runtime.onMessage.addListener((msg, sender, callback) => {
if (!msg.cmd) return;
switch (msg.cmd) {
case "tab":
chrome.storage.local.set({
tab: sender.tab.id
});
return;
case "login":
if (googleApiKey) {
chrome.identity.removeCachedAuthToken({
token: googleApiKey
}, () => {
auth(msg.interactive, callback);
})
} else {
auth(msg.interactive, callback);
}
return true;
default:
return;
}
});
function auth(interactive, callback) {
chrome.identity.getAuthToken({
interactive: interactive
}, function (token) {
if (chrome.runtime.lastError) {
console.log(chrome.runtime.lastError);
callback(null);
} else {
chrome.storage.sync.set({
googleApiKey: token
});
console.log(`token updated: ${token}`);
callback(token);
}
});
} | {
"content_hash": "299cfe812f42f6a7d7c96f371d4f2ca5",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 65,
"avg_line_length": 21.636363636363637,
"alnum_prop": 0.5703781512605042,
"repo_name": "leonhartX/gas-github",
"id": "8d8cfd920183a698b2b17cc53a0f681fd149d94e",
"size": "952",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "background/background.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "9668"
},
{
"name": "HTML",
"bytes": "36939"
},
{
"name": "JavaScript",
"bytes": "71817"
},
{
"name": "Ruby",
"bytes": "478"
}
],
"symlink_target": ""
} |
package org.apache.openwhisk.core.scheduler.grpc.test
import akka.actor.{Actor, ActorSystem, Props}
import akka.testkit.{ImplicitSender, TestKit}
import common.StreamLogging
import org.apache.openwhisk.common.TransactionId
import org.apache.openwhisk.core.WarmUp.warmUpAction
import org.apache.openwhisk.core.connector.ActivationMessage
import org.apache.openwhisk.core.entity._
import org.apache.openwhisk.core.scheduler.grpc.ActivationServiceImpl
import org.apache.openwhisk.core.scheduler.queue.{
ActionMismatch,
MemoryQueueKey,
MemoryQueueValue,
NoActivationMessage,
NoMemoryQueue,
QueuePool
}
import org.apache.openwhisk.grpc.{FetchRequest, FetchResponse, RescheduleRequest, RescheduleResponse}
import org.junit.runner.RunWith
import org.scalatest.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterAll, BeforeAndAfterEach, FlatSpecLike, Matchers}
import org.apache.openwhisk.core.scheduler.grpc.{ActivationResponse, GetActivation}
import org.scalatest.concurrent.ScalaFutures
import spray.json.JsonParser.ParsingException
import scala.concurrent.{Await, Future}
import scala.concurrent.duration._
@RunWith(classOf[JUnitRunner])
class ActivationServiceImplTests
extends TestKit(ActorSystem("ActivationService"))
with CommonVariable
with ImplicitSender
with FlatSpecLike
with Matchers
with BeforeAndAfterAll
with BeforeAndAfterEach
with ScalaFutures
with StreamLogging {
override def afterAll = {
QueuePool.clear()
TestKit.shutdownActorSystem(system)
}
override def beforeEach = QueuePool.clear()
private def await[T](awaitable: Future[T], timeout: FiniteDuration = 10.seconds) = Await.result(awaitable, timeout)
implicit val timeoutConfig = PatienceConfig(10.seconds)
behavior of "ActivationService"
implicit val ec = system.dispatcher
val messageTransId = TransactionId(TransactionId.testing.meta.id)
val uuid = UUID()
val testDoc = testFQN.toDocId.asDocInfo(testDocRevision)
val message = ActivationMessage(
messageTransId,
FullyQualifiedEntityName(testEntityPath, testEntityName),
DocRevision.empty,
Identity(
Subject(),
Namespace(EntityName(testNamespace), uuid),
BasicAuthenticationAuthKey(uuid, Secret()),
Set.empty),
ActivationId.generate(),
ControllerInstanceId("0"),
blocking = false,
content = None)
it should "delegate the FetchRequest to a MemoryQueue" in {
val mock = system.actorOf(Props(new Actor() {
override def receive: Receive = {
case getActivation: GetActivation =>
testActor ! getActivation
sender() ! ActivationResponse(Right(message))
}
}))
QueuePool.put(MemoryQueueKey(testEntityPath.asString, testDoc), MemoryQueueValue(mock, true))
val activationServiceImpl = ActivationServiceImpl()
val tid = TransactionId(TransactionId.generateTid())
activationServiceImpl
.fetchActivation(
FetchRequest(
tid.serialize,
message.user.namespace.name.asString,
testFQN.serialize,
testDocRevision.serialize,
testContainerId,
false,
alive = true))
.futureValue shouldBe FetchResponse(ActivationResponse(Right(message)).serialize)
expectMsg(GetActivation(tid, testFQN, testContainerId, false, None))
}
it should "return without any retry if there is no such queue" in {
val activationServiceImpl = ActivationServiceImpl()
activationServiceImpl
.fetchActivation(
FetchRequest(
TransactionId(TransactionId.generateTid()).serialize,
message.user.namespace.name.asString,
testFQN.serialize,
testDocRevision.serialize,
testContainerId,
false,
alive = true))
.futureValue shouldBe FetchResponse(ActivationResponse(Left(NoMemoryQueue())).serialize)
expectNoMessage(200.millis)
}
it should "return ActionMismatchError if get request for an old action" in {
val activationServiceImpl = ActivationServiceImpl()
QueuePool.put(MemoryQueueKey(testEntityPath.asString, testDoc), MemoryQueueValue(testActor, true))
activationServiceImpl
.fetchActivation(
FetchRequest( // same doc id but with a different doc revision
TransactionId(TransactionId.generateTid()).serialize,
message.user.namespace.name.asString,
testFQN.serialize,
DocRevision("new-one").serialize,
testContainerId,
false,
alive = true))
.futureValue shouldBe FetchResponse(ActivationResponse(Left(ActionMismatch())).serialize)
expectNoMessage(200.millis)
}
it should "return NoActivationMessage if queue doesn't return response" in {
val activationServiceImpl = ActivationServiceImpl()
QueuePool.put(MemoryQueueKey(testEntityPath.asString, testDoc), MemoryQueueValue(testActor, true))
val tid = TransactionId(TransactionId.generateTid())
activationServiceImpl
.fetchActivation(
FetchRequest(
tid.serialize,
message.user.namespace.name.asString,
testFQN.serialize,
testDocRevision.serialize,
testContainerId,
false,
alive = true))
.futureValue shouldBe FetchResponse(ActivationResponse(Left(NoActivationMessage())).serialize)
expectMsg(GetActivation(tid, testFQN, testContainerId, false, None))
}
it should "return NoActivationMessage if it is a warm-up action" in {
val activationServiceImpl = ActivationServiceImpl()
QueuePool.put(MemoryQueueKey(testEntityPath.asString, testDoc), MemoryQueueValue(testActor, true))
activationServiceImpl
.fetchActivation(
FetchRequest(
TransactionId(TransactionId.generateTid()).serialize,
message.user.namespace.name.asString,
warmUpAction.serialize,
testDocRevision.serialize,
testContainerId,
false,
alive = true))
.futureValue shouldBe FetchResponse(ActivationResponse(Left(NoActivationMessage())).serialize)
expectNoMessage(200.millis)
}
it should "throw parsing error if fqn can't be parsed" in {
val notParsableFqn = "aaaaaaaaa"
val activationServiceImpl = ActivationServiceImpl()
QueuePool.put(MemoryQueueKey(testEntityPath.asString, testDoc), MemoryQueueValue(testActor, true))
a[ParsingException] should be thrownBy await {
activationServiceImpl
.fetchActivation(
FetchRequest(
TransactionId(TransactionId.generateTid()).serialize,
message.user.namespace.name.asString,
notParsableFqn,
testDocRevision.serialize,
testContainerId,
false,
alive = true))
}
}
it should "throw parsing error if rev can't be parsed" in {
val notParsableRev = "aaaaaaaaa"
val activationServiceImpl = ActivationServiceImpl()
QueuePool.put(MemoryQueueKey(testEntityPath.asString, testDoc), MemoryQueueValue(testActor, true))
a[ParsingException] should be thrownBy await {
activationServiceImpl
.fetchActivation(
FetchRequest(
TransactionId(TransactionId.generateTid()).serialize,
message.user.namespace.name.asString,
testFQN.serialize,
notParsableRev,
testContainerId,
false,
alive = true))
}
}
it should "reschedule msg if related queue exist" in {
QueuePool.put(MemoryQueueKey(testEntityPath.asString, testDoc), MemoryQueueValue(testActor, true))
val activationServiceImpl = ActivationServiceImpl()
activationServiceImpl
.rescheduleActivation(
RescheduleRequest(
message.user.namespace.name.asString,
testFQN.serialize,
testDocRevision.serialize,
message.serialize))
.futureValue shouldBe RescheduleResponse(true)
expectMsg(message)
}
it should "not reschedule msg if queue doesn't exist" in {
val activationServiceImpl = ActivationServiceImpl()
activationServiceImpl
.rescheduleActivation(
RescheduleRequest(
message.user.namespace.name.asString,
testFQN.serialize,
testDocRevision.serialize,
message.serialize))
.futureValue shouldBe RescheduleResponse()
}
}
| {
"content_hash": "5c530803b474f525e7f8e8ed7006a42a",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 117,
"avg_line_length": 32.36434108527132,
"alnum_prop": 0.7119760479041917,
"repo_name": "style95/openwhisk",
"id": "b2042f256c9e5506107a41f6a1f54abd5beda477",
"size": "9151",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "tests/src/test/scala/org/apache/openwhisk/core/scheduler/grpc/test/ActivationServiceImplTests.scala",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C#",
"bytes": "1285"
},
{
"name": "CSS",
"bytes": "4339"
},
{
"name": "Dockerfile",
"bytes": "14997"
},
{
"name": "Groovy",
"bytes": "22090"
},
{
"name": "HTML",
"bytes": "6012"
},
{
"name": "Java",
"bytes": "36882"
},
{
"name": "JavaScript",
"bytes": "243847"
},
{
"name": "Jinja",
"bytes": "23038"
},
{
"name": "Lua",
"bytes": "821"
},
{
"name": "Mustache",
"bytes": "2820"
},
{
"name": "Python",
"bytes": "118740"
},
{
"name": "Scala",
"bytes": "4918334"
},
{
"name": "Shell",
"bytes": "85492"
},
{
"name": "Swift",
"bytes": "11486"
}
],
"symlink_target": ""
} |
pc.extend(pc, function () {
/**
* @name pc.Component
* @description Base constructor for a Component
* @class Components are used to attach functionality on a {@link pc.Entity}. Components
* can receive update events each frame, and expose properties to the PlayCanvas Editor.
* @param {pc.ComponentSystem} system The ComponentSystem used to create this Component
* @param {pc.Entity} entity The Entity that this Component is attached to
* @property {Boolean} enabled Enables or disables the component.
*/
var Component = function (system, entity) {
this.system = system;
this.entity = entity;
pc.events.attach(this);
if (this.system.schema && !this._accessorsBuilt) {
this.buildAccessors(this.system.schema);
}
this.on("set", function (name, oldValue, newValue) {
this.fire("set_" + name, name, oldValue, newValue);
});
this.on('set_enabled', this.onSetEnabled, this);
};
Component._buildAccessors = function (obj, schema) {
// Create getter/setter pairs for each property defined in the schema
schema.forEach(function (prop) {
Object.defineProperty(obj, prop, {
get: function () {
return this.data[prop];
},
set: function (value) {
var data = this.data;
var oldValue = data[prop];
data[prop] = value;
this.fire('set', prop, oldValue, value);
},
configurable: true
});
});
obj._accessorsBuilt = true;
};
Component.prototype = {
/**
* @private
* @readonly
* @name pc.Component#data
* @type pc.ComponentData
* @description Access the {@link pc.ComponentData} directly. Usually you should
* access the data properties via the individual properties as modifying this data
* directly will not fire 'set' events.
*/
get data() {
var record = this.system.store[this.entity._guid];
if (record) {
return record.data;
} else {
return null;
}
},
buildAccessors: function (schema) {
Component._buildAccessors(this, schema);
},
onSetEnabled: function (name, oldValue, newValue) {
if (oldValue !== newValue) {
if (this.entity.enabled) {
if (newValue) {
this.onEnable();
} else {
this.onDisable();
}
}
}
},
onEnable: function () { },
onDisable: function () { },
onPostStateChange: function() { }
};
return {
Component: Component
};
}());
| {
"content_hash": "e681b3b7aa7500d42a56a970d0343f9f",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 92,
"avg_line_length": 31.752688172043012,
"alnum_prop": 0.5171012529630884,
"repo_name": "H1Gdev/engine",
"id": "835abd1bae0090ca7d1def0b5a7b0f3b7a2a4944",
"size": "2953",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "src/framework/components/component.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "4860"
},
{
"name": "GLSL",
"bytes": "79620"
},
{
"name": "HTML",
"bytes": "11154"
},
{
"name": "JavaScript",
"bytes": "2396541"
}
],
"symlink_target": ""
} |
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Cross-browser event delegation with vanilla JS</title>
<style>
.forkme {
position: absolute;
position: fixed;
top: 0;
left: 0;
border: 0;
z-index: 9999;
}
body {
font-family: Arial, sans-serif;
}
#clickcontainer {
width: 500px;
margin: 0 auto;
background: #ccc;
padding: 20px;
border: 1px solid #000;
}
#clickcontainer:before,
#clickcontainer:after {
content: " "; /* 1 */
display: table; /* 2 */
}
#clickcontainer:after {
clear: both;
}
p {
text-align: center;
font-weight: bold;
}
h1 {
font-weight: normal;
text-align: center;
}
form {
max-width: 500px;
margin: 0 auto;
border: 1px solid #000;
}
form div {
overflow: hidden;
padding: 10px;
border: 1px solid #000;
}
input {
padding: 5px 0;
}
label {
float: left;
margin-right: 20px;
width: 100px;
text-align: right;
}
.submit {
text-align: center;
}
.submit input {
padding: 0 10px;
}
output {
font-weight: normal;
}
.box {
width: 100px;
height: 100px;
background: aquamarine;
float: left;
margin-right: 20px;
}
.box2 {
width: 100px;
height: 100px;
background: goldenrod;
float: left;
}
@media screen and (max-width: 530px) {
#clickcontainer {
width: auto;
}
}
</style>
</head>
<body>
<a class="forkme" href="https://github.com/jslegers/event-delegation"><img src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png" alt="Fork me on GitHub"></a>
<div id="clickcontainer" data-input="the container">
<h1 tabindex="1" data-input="the heading">Click any Element</h1>
<form id="form" data-input="the form">
<div data-input="the name field wrapper">
<label for="name">Name: </label><input type="text" id="name" data-input="the name field" tabindex="2">
</div>
<div data-input="the email field wrapper">
<label for="email">Email: </label><input type="email" id="email" data-input="the email field" tabindex="3">
</div>
<div data-input="the question field wrapper">
<label for="question">Question: </label><textarea id="question" rows="10" data-input="the question field" tabindex="4"></textarea>
</div>
<div data-input="the button wrapper" class="submit">
<input type="submit" id="btn" data-input="the button" tabindex="5">
</div>
</form>
<p data-input="this paragraph">Click event was triggered by: <output data-input="this output field" id="op">[none]</output></p>
<div class="box" data-input="the first box" tabindex="6"></div>
<div class="box2" data-input="the second box" tabindex="7"></div>
</div>
<script type="text/javascript">
var
clickcontainer = document.getElementById('clickcontainer'),
output = document.getElementById('op');
clickcontainer.addEventListener('click', function(e) {
var target = e.target || e.srcElement;
output.innerHTML = target.getAttribute('data-input');
e.stopPropagation();
}, false);
document.addEventListener('click', function(e) {
output.innerHTML = 'an element outside this container';
}, false);
document.getElementById('btn').addEventListener('click', function(e) {
e.preventDefault();
});
</script>
</body>
</html>
| {
"content_hash": "23ffa859d84880f35c82deea6b2d8a33",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 184,
"avg_line_length": 31.91891891891892,
"alnum_prop": 0.4439034716342083,
"repo_name": "jslegers/event-delegation",
"id": "fee497801343f50f2bee83d209b5bf36348583c9",
"size": "4724",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "index.html",
"mode": "33188",
"license": "mit",
"language": [],
"symlink_target": ""
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols.Retargeting;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.Test.Utilities;
using Xunit;
using Utils = Microsoft.CodeAnalysis.CSharp.UnitTests.CompilationUtils;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests.Symbols.Retargeting
{
public class RetargetingTests : CSharpTestBase
{
[Fact]
public void RetargetExtensionMethods()
{
var source =
@"class C
{
}
static class S1
{
internal static void E(this object x, object y) { }
}
static class S2
{
internal static void E<T, U>(this T t, U u) { }
}";
var compilation = CreateCompilation(source);
var sourceModule = compilation.SourceModule;
var sourceAssembly = (SourceAssemblySymbol)sourceModule.ContainingAssembly;
var sourceNamespace = sourceModule.GlobalNamespace;
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
retargetingAssembly.SetCorLibrary(sourceAssembly.CorLibrary);
var retargetingModule = retargetingAssembly.Modules[0];
var retargetingNamespace = retargetingModule.GlobalNamespace;
var sourceMethods = new ArrayBuilder<MethodSymbol>();
sourceNamespace.GetExtensionMethods(sourceMethods, null, 0, LookupOptions.AllMethodsOnArityZero);
Utils.CheckSymbols(sourceMethods.ToImmutable(),
"void S1.E(object x, object y)",
"void S2.E<T, U>(T t, U u)");
var retargetingMethods = new ArrayBuilder<MethodSymbol>();
retargetingNamespace.GetExtensionMethods(retargetingMethods, null, 0, LookupOptions.AllMethodsOnArityZero);
Utils.CheckSymbols(retargetingMethods.ToImmutable(),
"void S1.E(object x, object y)",
"void S2.E<T, U>(T t, U u)");
for (int i = 0; i < sourceMethods.Count; i++)
{
CheckMethods(sourceMethods[i], retargetingMethods[i]);
}
sourceMethods = new ArrayBuilder<MethodSymbol>();
sourceNamespace.GetExtensionMethods(sourceMethods, "E", 2, LookupOptions.Default);
Utils.CheckSymbols(sourceMethods.ToImmutable(),
"void S2.E<T, U>(T t, U u)");
var sourceMethod = sourceMethods[0];
retargetingMethods = new ArrayBuilder<MethodSymbol>();
retargetingNamespace.GetExtensionMethods(retargetingMethods, "E", 2, LookupOptions.Default);
Utils.CheckSymbols(retargetingMethods.ToImmutable(),
"void S2.E<T, U>(T t, U u)");
var retargetingMethod = retargetingMethods[0];
var sourceType = sourceNamespace.GetMember<NamedTypeSymbol>("C");
var retargetingType = retargetingNamespace.GetMember<NamedTypeSymbol>("C");
CheckTypes(sourceType, retargetingType);
CheckMethods(sourceMethod, retargetingMethod);
var sourceReduced = sourceMethod.ReduceExtensionMethod(sourceType, null!);
var retargetingReduced = retargetingMethod.ReduceExtensionMethod(retargetingType, null!);
CheckReducedExtensionMethods(sourceReduced, retargetingReduced);
}
[Fact]
public void RetargetProperties()
{
var source =
@"interface I
{
object this[string x, object y] { get; set; }
}
struct S
{
I P { get { return null; } }
}
class C
{
internal I Q { get; private set; }
object this[I index]
{
get { return 0; }
set { }
}
}";
var compilation = CreateCompilation(source);
var sourceModule = compilation.SourceModule;
var sourceAssembly = (SourceAssemblySymbol)sourceModule.ContainingAssembly;
var sourceNamespace = sourceModule.GlobalNamespace;
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
retargetingAssembly.SetCorLibrary(sourceAssembly.CorLibrary);
var retargetingModule = retargetingAssembly.Modules[0];
var retargetingNamespace = retargetingModule.GlobalNamespace;
RetargetingSymbolChecker.CheckSymbols(sourceNamespace.GetMember<NamedTypeSymbol>("I"), retargetingNamespace.GetMember<NamedTypeSymbol>("I"));
RetargetingSymbolChecker.CheckSymbols(sourceNamespace.GetMember<NamedTypeSymbol>("S"), retargetingNamespace.GetMember<NamedTypeSymbol>("S"));
RetargetingSymbolChecker.CheckSymbols(sourceNamespace.GetMember<NamedTypeSymbol>("C"), retargetingNamespace.GetMember<NamedTypeSymbol>("C"));
}
[Fact]
public void RetargetFields()
{
var source = @"
using System.Runtime.InteropServices;
class D
{
}
class C
{
internal D F1;
[MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_DISPATCH, SafeArrayUserDefinedSubType = typeof(D))]
internal int F2;
}";
var compilation = CreateCompilation(source);
var sourceModule = compilation.SourceModule;
var sourceAssembly = (SourceAssemblySymbol)sourceModule.ContainingAssembly;
var sourceNamespace = sourceModule.GlobalNamespace;
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
retargetingAssembly.SetCorLibrary(sourceAssembly.CorLibrary);
var retargetingModule = retargetingAssembly.Modules[0];
var retargetingNamespace = retargetingModule.GlobalNamespace;
RetargetingSymbolChecker.CheckSymbols(sourceNamespace.GetMember<NamedTypeSymbol>("C"), retargetingNamespace.GetMember<NamedTypeSymbol>("C"));
Assert.IsType<RetargetingNamedTypeSymbol>(
retargetingNamespace.GetMember<NamedTypeSymbol>("C").GetMember<RetargetingFieldSymbol>("F2").MarshallingInformation.TryGetSafeArrayElementUserDefinedSubtype());
}
[Fact]
public void RetargetMethods()
{
var source = @"
using System.Runtime.InteropServices;
class C
{
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_DISPATCH, SafeArrayUserDefinedSubType = typeof(C))]
internal int M(
[MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_DISPATCH, SafeArrayUserDefinedSubType = typeof(C))]
int arg
)
{
return 1;
}
}";
var compilation = CreateCompilation(source);
var sourceModule = compilation.SourceModule;
var sourceAssembly = (SourceAssemblySymbol)sourceModule.ContainingAssembly;
var sourceNamespace = sourceModule.GlobalNamespace;
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
retargetingAssembly.SetCorLibrary(sourceAssembly.CorLibrary);
var retargetingModule = retargetingAssembly.Modules[0];
var retargetingNamespace = retargetingModule.GlobalNamespace;
RetargetingSymbolChecker.CheckSymbols(sourceNamespace.GetMember<NamedTypeSymbol>("C"), retargetingNamespace.GetMember<NamedTypeSymbol>("C"));
Assert.IsType<RetargetingNamedTypeSymbol>(
retargetingNamespace.GetMember<NamedTypeSymbol>("C").GetMember<RetargetingMethodSymbol>("M").ReturnValueMarshallingInformation.TryGetSafeArrayElementUserDefinedSubtype());
Assert.IsType<RetargetingNamedTypeSymbol>(
((RetargetingParameterSymbol)retargetingNamespace.GetMember<NamedTypeSymbol>("C").GetMember<RetargetingMethodSymbol>("M").Parameters[0]).
MarshallingInformation.TryGetSafeArrayElementUserDefinedSubtype());
}
[Fact]
public void RetargetGenericConstraints()
{
var source =
@"interface I<T> { }
class C<T> where T : I<T>, new() { }
struct S<T> where T : struct
{
void M<U, V>()
where U : class, I<V>
{
}
}
delegate T D<T>() where T : I<T>;";
var compilation = CreateCompilation(source);
var sourceModule = compilation.SourceModule;
var sourceAssembly = (SourceAssemblySymbol)sourceModule.ContainingAssembly;
var sourceNamespace = sourceModule.GlobalNamespace;
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
retargetingAssembly.SetCorLibrary(sourceAssembly.CorLibrary);
var retargetingModule = retargetingAssembly.Modules[0];
var retargetingNamespace = retargetingModule.GlobalNamespace;
RetargetingSymbolChecker.CheckSymbols(sourceNamespace.GetMember<NamedTypeSymbol>("I"), retargetingNamespace.GetMember<NamedTypeSymbol>("I"));
RetargetingSymbolChecker.CheckSymbols(sourceNamespace.GetMember<NamedTypeSymbol>("C"), retargetingNamespace.GetMember<NamedTypeSymbol>("C"));
RetargetingSymbolChecker.CheckSymbols(sourceNamespace.GetMember<NamedTypeSymbol>("S"), retargetingNamespace.GetMember<NamedTypeSymbol>("S"));
RetargetingSymbolChecker.CheckSymbols(sourceNamespace.GetMember<NamedTypeSymbol>("D"), retargetingNamespace.GetMember<NamedTypeSymbol>("D"));
}
[WorkItem(542571, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/542571")]
[Fact]
public void RetargetExplicitImplementationDifferentModule()
{
var source1 =
@"public interface I<T>
{
void M<U>(I<U> o);
void N(I<T> o);
I<T> P { get; }
}
public class A
{
}";
var compilation1_v1 = CreateCompilation(source1, assemblyName: "assembly1");
var compilation1_v2 = CreateCompilation(source1, assemblyName: "assembly1");
var source2 =
@"class B : I<A>
{
void I<A>.M<U>(I<U> o) { }
void I<A>.N(I<A> o) {}
I<A> I<A>.P { get { return null; } }
}
class C<CT> : I<CT>
{
void I<CT>.M<U>(I<U> o) { }
void I<CT>.N(I<CT> o) { }
I<CT> I<CT>.P { get { return null; } }
}
";
var compilation2 = CreateCompilation(source2, new[] { new CSharpCompilationReference(compilation1_v1) }, assemblyName: "assembly2");
var compilation2Ref = new CSharpCompilationReference(compilation2);
var compilation3 = CreateCompilation("", new[] { compilation2Ref, new CSharpCompilationReference(compilation1_v2) }, assemblyName: "assembly3");
var assembly2 = compilation3.GetReferencedAssemblySymbol(compilation2Ref);
MethodSymbol implemented_m;
MethodSymbol implemented_n;
PropertySymbol implemented_p;
var b = assembly2.GetTypeByMetadataName("B");
var m = b.GetMethod("I<A>.M");
implemented_m = m.ExplicitInterfaceImplementations[0];
Assert.Equal("void I<A>.M<U>(I<U> o)", implemented_m.ToTestDisplayString());
var a_v2 = compilation1_v2.GetTypeByMetadataName("A");
var i_a_v2 = compilation1_v2.GetTypeByMetadataName("I`1").Construct(ImmutableArray.Create<TypeSymbol>(a_v2));
var i_a_m_v2 = i_a_v2.GetMethod("M");
Assert.Equal(i_a_m_v2, implemented_m);
var n = b.GetMethod("I<A>.N");
implemented_n = n.ExplicitInterfaceImplementations[0];
Assert.Equal("void I<A>.N(I<A> o)", implemented_n.ToTestDisplayString());
var i_a_n_v2 = i_a_v2.GetMethod("N");
Assert.Equal(i_a_n_v2, implemented_n);
var p = b.GetProperty("I<A>.P");
implemented_p = p.ExplicitInterfaceImplementations[0];
Assert.Equal("I<A> I<A>.P { get; }", implemented_p.ToTestDisplayString());
var i_a_p_v2 = i_a_v2.GetProperty("P");
Assert.Equal(i_a_p_v2, implemented_p);
var c = assembly2.GetTypeByMetadataName("C`1");
var i_ct_v2 = compilation1_v2.GetTypeByMetadataName("I`1").Construct(ImmutableArray.Create<TypeSymbol>(c.TypeParameters[0]));
implemented_m = c.GetMethod("I<CT>.M").ExplicitInterfaceImplementations[0];
Assert.Equal("void I<CT>.M<U>(I<U> o)", implemented_m.ToTestDisplayString());
var i_ct_m_v2 = i_ct_v2.GetMethod("M");
Assert.Equal(i_ct_m_v2, implemented_m);
implemented_n = c.GetMethod("I<CT>.N").ExplicitInterfaceImplementations[0];
Assert.Equal("void I<CT>.N(I<CT> o)", implemented_n.ToTestDisplayString());
var i_ct_n_v2 = i_ct_v2.GetMethod("N");
Assert.Equal(i_ct_n_v2, implemented_n);
implemented_p = c.GetProperty("I<CT>.P").ExplicitInterfaceImplementations[0];
Assert.Equal("I<CT> I<CT>.P { get; }", implemented_p.ToTestDisplayString());
var i_ct_p_v2 = i_ct_v2.GetProperty("P");
Assert.Equal(i_ct_p_v2, implemented_p);
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
public void RetargetMissingEnumUnderlyingType_Implicit()
{
var source = @"
public enum E
{
}
";
var comp = CreateEmptyCompilation(source);
comp.VerifyDiagnostics(
// (2,13): error CS0518: Predefined type 'System.Enum' is not defined or imported
// public enum E
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "E").WithArguments("System.Enum"),
// (2,13): error CS0518: Predefined type 'System.Int32' is not defined or imported
// public enum E
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "E").WithArguments("System.Int32"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("E");
Assert.Equal(0, sourceType.Interfaces().Length); // Always returns an empty list for enums.
Assert.Equal(TypeKind.Error, sourceType.BaseType().TypeKind);
Assert.Equal(SpecialType.System_Enum, sourceType.BaseType().SpecialType);
Assert.Equal(TypeKind.Error, sourceType.EnumUnderlyingType.TypeKind);
Assert.Equal(SpecialType.System_Int32, sourceType.EnumUnderlyingType.SpecialType);
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
retargetingAssembly.SetCorLibrary(MissingCorLibrarySymbol.Instance); // Need to do this explicitly since our retargeting assembly wasn't constructed using the real mechanism.
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("E");
Assert.Equal(0, retargetingType.Interfaces().Length);
Assert.Equal(TypeKind.Error, retargetingType.BaseType().TypeKind);
Assert.Equal(SpecialType.System_Enum, retargetingType.BaseType().SpecialType);
Assert.Equal(TypeKind.Error, retargetingType.EnumUnderlyingType.TypeKind);
Assert.Equal(SpecialType.System_Int32, retargetingType.EnumUnderlyingType.SpecialType);
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
public void RetargetMissingEnumUnderlyingType_Explicit()
{
var source = @"
public enum E : short
{
}
";
var comp = CreateEmptyCompilation(source);
comp.VerifyDiagnostics(
// (2,13): error CS0518: Predefined type 'System.Enum' is not defined or imported
// public enum E : short
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "E").WithArguments("System.Enum"),
// (2,17): error CS0518: Predefined type 'System.Int16' is not defined or imported
// public enum E : short
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "short").WithArguments("System.Int16"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("E");
Assert.Equal(0, sourceType.Interfaces().Length); // Always returns an empty list for enums.
Assert.Equal(TypeKind.Error, sourceType.BaseType().TypeKind);
Assert.Equal(SpecialType.System_Enum, sourceType.BaseType().SpecialType);
Assert.Equal(TypeKind.Error, sourceType.EnumUnderlyingType.TypeKind);
Assert.Equal(SpecialType.System_Int16, sourceType.EnumUnderlyingType.SpecialType);
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
retargetingAssembly.SetCorLibrary(MissingCorLibrarySymbol.Instance); // Need to do this explicitly since our retargeting assembly wasn't constructed using the real mechanism.
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("E");
Assert.Equal(0, retargetingType.Interfaces().Length);
Assert.Equal(TypeKind.Error, retargetingType.BaseType().TypeKind);
Assert.Equal(SpecialType.System_Enum, retargetingType.BaseType().SpecialType);
Assert.Equal(TypeKind.Error, retargetingType.EnumUnderlyingType.TypeKind);
Assert.Equal(SpecialType.System_Int16, retargetingType.EnumUnderlyingType.SpecialType);
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
public void RetargetInvalidBaseType_Class()
{
var source = @"
public class Test : short { }
";
var comp = CreateCompilation(source);
comp.VerifyDiagnostics(
// (2,21): error CS0509: 'Test': cannot derive from sealed type 'short'
// public class Test : short { }
Diagnostic(ErrorCode.ERR_CantDeriveFromSealedType, "short").WithArguments("Test", "short"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(0, sourceType.Interfaces().Length);
Assert.Equal(SpecialType.System_Object, sourceType.BaseType().SpecialType);
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(0, retargetingType.Interfaces().Length);
Assert.Equal(SpecialType.System_Object, retargetingType.BaseType().SpecialType);
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
public void RetargetMissingBaseType_Class()
{
var source = @"
public class Test : short { }
";
var comp = CreateEmptyCompilation(source);
comp.VerifyDiagnostics(
// (2,21): error CS0518: Predefined type 'System.Int16' is not defined or imported
// public class Test : short { }
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "short").WithArguments("System.Int16"),
// (2,21): error CS0518: Predefined type 'System.Int16' is not defined or imported
// public class Test : short { }
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "short").WithArguments("System.Int16"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(0, sourceType.Interfaces().Length);
Assert.Equal(TypeKind.Error, sourceType.BaseType().TypeKind);
Assert.Equal(SpecialType.System_Int16, sourceType.BaseType().SpecialType);
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(0, retargetingType.Interfaces().Length);
Assert.Equal(TypeKind.Error, retargetingType.BaseType().TypeKind);
Assert.Equal(SpecialType.System_Int16, retargetingType.BaseType().SpecialType);
}
[Fact]
[WorkItem(3898, "https://github.com/dotnet/roslyn/issues/3898")]
public void Retarget_IsSerializable()
{
var source = @"
public class Test { }
[System.Serializable]
public class TestS { }
";
var comp = CreateCompilation(source);
comp.VerifyDiagnostics();
var retargetingAssembly = new RetargetingAssemblySymbol((SourceAssemblySymbol)comp.Assembly, isLinked: false);
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.IsType<RetargetingNamedTypeSymbol>(retargetingType);
Assert.False(retargetingType.IsSerializable);
var retargetingTypeS = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("TestS");
Assert.IsType<RetargetingNamedTypeSymbol>(retargetingTypeS);
Assert.True(retargetingTypeS.IsSerializable);
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
public void RetargetInvalidBaseType_Struct()
{
var source = @"
public struct Test : short { }
";
var comp = CreateCompilation(source);
comp.VerifyDiagnostics(
// (2,22): error CS0527: Type 'short' in interface list is not an interface
// public struct Test : short { }
Diagnostic(ErrorCode.ERR_NonInterfaceInInterfaceList, "short").WithArguments("short"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(0, sourceType.Interfaces().Length);
Assert.Equal(SpecialType.System_ValueType, sourceType.BaseType().SpecialType);
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(0, retargetingType.Interfaces().Length);
Assert.Equal(SpecialType.System_ValueType, retargetingType.BaseType().SpecialType);
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
[WorkItem(609515, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/609515")]
public void RetargetMissingBaseType_Struct()
{
var source = @"
public struct Test : short { }
";
var comp = CreateEmptyCompilation(source);
comp.VerifyDiagnostics(
// (2,22): error CS0518: Predefined type 'System.Int16' is not defined or imported
// public struct Test : short { }
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "short").WithArguments("System.Int16"),
// (2,15): error CS0518: Predefined type 'System.ValueType' is not defined or imported
// public struct Test : short { }
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "Test").WithArguments("System.ValueType"),
// (2,15): error CS0518: Predefined type 'System.Int16' is not defined or imported
// public struct Test : short { }
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "Test").WithArguments("System.Int16"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(TypeKind.Error, sourceType.Interfaces().Single().TypeKind);
Assert.Equal(SpecialType.System_Int16, sourceType.Interfaces().Single().SpecialType);
Assert.Equal(TypeKind.Error, sourceType.BaseType().TypeKind);
Assert.Equal(SpecialType.System_ValueType, sourceType.BaseType().SpecialType);
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(TypeKind.Error, retargetingType.Interfaces().Single().TypeKind);
Assert.Equal(SpecialType.System_Int16, retargetingType.Interfaces().Single().SpecialType);
Assert.Equal(TypeKind.Error, retargetingType.BaseType().TypeKind);
Assert.Equal(SpecialType.System_ValueType, retargetingType.BaseType().SpecialType);
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
public void RetargetInvalidBaseType_Interface()
{
var source = @"
public interface Test : short { }
";
var comp = CreateCompilation(source);
comp.VerifyDiagnostics(
// (2,25): error CS0527: Type 'short' in interface list is not an interface
// public interface Test : short { }
Diagnostic(ErrorCode.ERR_NonInterfaceInInterfaceList, "short").WithArguments("short"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(0, sourceType.Interfaces().Length);
Assert.Null(sourceType.BaseType());
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(0, retargetingType.Interfaces().Length);
Assert.Null(retargetingType.BaseType());
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
[WorkItem(609515, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/609515")]
public void RetargetMissingBaseType_Interface()
{
var source = @"
public interface Test : short { }
";
var comp = CreateEmptyCompilation(source);
comp.VerifyDiagnostics(
// (2,25): error CS0518: Predefined type 'System.Int16' is not defined or imported
// public interface Test : short { }
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "short").WithArguments("System.Int16"),
// (2,18): error CS0518: Predefined type 'System.Int16' is not defined or imported
// public interface Test : short { }
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "Test").WithArguments("System.Int16"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(TypeKind.Error, sourceType.Interfaces().Single().TypeKind);
Assert.Equal(SpecialType.System_Int16, sourceType.Interfaces().Single().SpecialType);
Assert.Null(sourceType.BaseType());
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("Test");
Assert.Equal(TypeKind.Error, retargetingType.Interfaces().Single().TypeKind);
Assert.Equal(SpecialType.System_Int16, retargetingType.Interfaces().Single().SpecialType);
Assert.Null(retargetingType.BaseType());
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
[WorkItem(609519, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/609519")]
public void RetargetInvalidConstraint()
{
var source = @"
public class C<T> where T : int
{
}
";
var comp = CreateCompilation(source);
comp.VerifyDiagnostics(
// (2,29): error CS0701: 'int' is not a valid constraint. A type used as a constraint must be an interface, a non-sealed class or a type parameter.
// public class C<T> where T : int
Diagnostic(ErrorCode.ERR_BadBoundType, "int").WithArguments("int"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("C");
var sourceTypeParameter = sourceType.TypeParameters.Single();
Assert.Equal(0, sourceTypeParameter.ConstraintTypes().Length);
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("C");
var retargetingTypeParameter = retargetingType.TypeParameters.Single();
Assert.Equal(0, retargetingTypeParameter.ConstraintTypes().Length);
}
[Fact]
[WorkItem(604878, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/604878")]
[WorkItem(609519, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/609519")]
public void RetargetMissingConstraint()
{
var source = @"
public class C<T> where T : int
{
}
";
var comp = CreateEmptyCompilation(source);
comp.VerifyDiagnostics(
// (2,14): error CS0518: Predefined type 'System.Object' is not defined or imported
// public class C<T> where T : int
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "C").WithArguments("System.Object"),
// (2,29): error CS0518: Predefined type 'System.Int32' is not defined or imported
// public class C<T> where T : int
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "int").WithArguments("System.Int32"),
// (2,16): error CS0518: Predefined type 'System.Int32' is not defined or imported
// public class C<T> where T : int
Diagnostic(ErrorCode.ERR_PredefinedTypeNotFound, "T").WithArguments("System.Int32"),
// (2,14): error CS1729: 'object' does not contain a constructor that takes 0 arguments
// public class C<T> where T : int
Diagnostic(ErrorCode.ERR_BadCtorArgCount, "C").WithArguments("object", "0"));
var sourceAssembly = (SourceAssemblySymbol)comp.Assembly;
var sourceType = sourceAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("C");
var sourceTypeParameter = sourceType.TypeParameters.Single();
var sourceTypeParameterConstraint = sourceTypeParameter.ConstraintTypes().Single();
Assert.Equal(TypeKind.Error, sourceTypeParameterConstraint.TypeKind);
Assert.Equal(SpecialType.System_Int32, sourceTypeParameterConstraint.SpecialType);
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
var retargetingType = retargetingAssembly.GlobalNamespace.GetMember<NamedTypeSymbol>("C");
var retargetingTypeParameter = retargetingType.TypeParameters.Single();
var retargetingTypeParameterConstraint = retargetingTypeParameter.ConstraintTypes().Single();
Assert.Equal(TypeKind.Error, retargetingTypeParameterConstraint.TypeKind);
Assert.Equal(SpecialType.System_Int32, retargetingTypeParameterConstraint.SpecialType);
}
[Theory]
[InlineData("class Test<T> where T : unmanaged { }", true)]
[InlineData("class Test<T> { }", false)]
public void RetargetingUnmanagedTypeParameters(string code, bool isUnmanaged)
{
var compilation = CreateCompilation(code).VerifyDiagnostics();
var sourceAssembly = (SourceAssemblySymbol)compilation.Assembly;
SourceTypeParameterSymbol sourceTypeParameter = (SourceTypeParameterSymbol)sourceAssembly.GlobalNamespace.GetTypeMember("Test").TypeParameters.Single();
Assert.Equal(isUnmanaged, sourceTypeParameter.HasUnmanagedTypeConstraint);
var retargetingAssembly = new RetargetingAssemblySymbol(sourceAssembly, isLinked: false);
retargetingAssembly.SetCorLibrary(sourceAssembly.CorLibrary);
RetargetingTypeParameterSymbol retargetingTypeParameter = (RetargetingTypeParameterSymbol)retargetingAssembly.GlobalNamespace.GetTypeMember("Test").TypeParameters.Single();
Assert.Equal(isUnmanaged, retargetingTypeParameter.HasUnmanagedTypeConstraint);
}
private void CheckTypes(ImmutableArray<TypeSymbol> source, ImmutableArray<TypeSymbol> retargeting)
{
Assert.Equal(source.Length, retargeting.Length);
for (int i = 0; i < source.Length; i++)
{
CheckTypes(source[i], retargeting[i]);
}
}
private void CheckTypes(Symbol source, Symbol retargeting)
{
CheckUnderlyingMember(source.OriginalDefinition, ((RetargetingNamedTypeSymbol)retargeting.OriginalDefinition).UnderlyingNamedType);
}
private void CheckMethods(Symbol source, Symbol retargeting)
{
Assert.Equal(source == null, retargeting == null);
if (source != null)
{
var sourceMethod = (SourceMemberMethodSymbol)source;
var retargetingMethod = (RetargetingMethodSymbol)retargeting;
CheckUnderlyingMember(sourceMethod, retargetingMethod.UnderlyingMethod);
CheckParameters(sourceMethod.Parameters, retargetingMethod.Parameters);
}
}
private void CheckParameters(ImmutableArray<ParameterSymbol> source, ImmutableArray<ParameterSymbol> retargeting)
{
Assert.Equal(source.Length, retargeting.Length);
for (int i = 0; i < source.Length; i++)
{
CheckParameters(source[i], retargeting[i]);
}
}
private void CheckParameters(Symbol source, Symbol retargeting)
{
CheckUnderlyingMember(source, ((RetargetingParameterSymbol)retargeting).UnderlyingParameter);
}
private void CheckUnderlyingMember(Symbol source, Symbol underlying)
{
Assert.NotNull(source);
Assert.NotNull(underlying);
Assert.Same(underlying, source);
}
private void CheckReducedExtensionMethods(MethodSymbol source, MethodSymbol retargeting)
{
CheckMethods(source.ReducedFrom, retargeting.ReducedFrom);
}
[Fact, WorkItem(703433, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/703433")]
public void Bug703433()
{
var source =
@"
class C1<T>
{
}";
var comp1 = CreateEmptyCompilation(source, new[] { MscorlibRef_v20 }, TestOptions.ReleaseDll);
comp1.VerifyDiagnostics();
NamedTypeSymbol c1 = comp1.Assembly.GlobalNamespace.GetTypeMembers("C1").Single();
var comp2 = CreateEmptyCompilation("", new[] { MscorlibRef_v4_0_30316_17626, new CSharpCompilationReference(comp1) }, TestOptions.ReleaseDll);
NamedTypeSymbol c1r = comp2.GlobalNamespace.GetTypeMembers("C1").Single();
Assert.IsType<RetargetingNamedTypeSymbol>(c1r);
Assert.Equal(c1.Name, c1r.Name);
Assert.Equal(c1.Arity, c1r.Arity);
Assert.Equal(c1.MangleName, c1r.MangleName);
Assert.Equal(c1.MetadataName, c1r.MetadataName);
}
[Fact]
public void FunctionPointerRetargeting_FullyConsistent()
{
TestFunctionPointerRetargetingSignature(
"method class [Con]C modopt([Con]C) & modopt([Con]C) *(class [Con]C modopt([Con]C) & modopt([Con]C), class [Con]C modopt([Con]C) & modopt([Con]C))",
"delegate*<ref C, ref C, ref C>",
returnConsistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param1Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param2Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true));
}
[Fact]
public void FunctionPointerRetargeting_Return()
{
TestFunctionPointerRetargetingSignature(
"method class [Ret]R modopt([Con]C) & modopt([Con]C) *(class [Con]C modopt([Con]C) & modopt([Con]C), class [Con]C modopt([Con]C) & modopt([Con]C))",
"delegate*<ref C, ref C, ref R>",
returnConsistent: (typeConsistent: false, refModConsistent: true, typeModConsistent: true),
param1Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param2Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true));
TestFunctionPointerRetargetingSignature(
"method class [Con]C modopt([Con]C) & modopt([Ret]R) *(class [Con]C modopt([Con]C) & modopt([Con]C), class [Con]C modopt([Con]C) & modopt([Con]C))",
"delegate*<ref C, ref C, ref C>",
returnConsistent: (typeConsistent: true, refModConsistent: false, typeModConsistent: true),
param1Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param2Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true));
TestFunctionPointerRetargetingSignature(
"method class [Con]C modopt([Ret]R) & modopt([Con]C) *(class [Con]C modopt([Con]C) & modopt([Con]C), class [Con]C modopt([Con]C) & modopt([Con]C))",
"delegate*<ref C, ref C, ref C>",
returnConsistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: false),
param1Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param2Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true));
}
[Fact]
public void FunctionPointerRetargeting_Param1()
{
TestFunctionPointerRetargetingSignature(
"method class [Con]C modopt([Con]C) & modopt([Con]C) *(class [Ret]R modopt([Con]C) & modopt([Con]C), class [Con]C modopt([Con]C) & modopt([Con]C))",
"delegate*<ref R, ref C, ref C>",
returnConsistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param1Consistent: (typeConsistent: false, refModConsistent: true, typeModConsistent: true),
param2Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true));
TestFunctionPointerRetargetingSignature(
"method class [Con]C modopt([Con]C) & modopt([Con]C) *(class [Con]C modopt([Con]C) & modopt([Ret]R), class [Con]C modopt([Con]C) & modopt([Con]C))",
"delegate*<ref C, ref C, ref C>",
returnConsistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param1Consistent: (typeConsistent: true, refModConsistent: false, typeModConsistent: true),
param2Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true));
TestFunctionPointerRetargetingSignature(
"method class [Con]C modopt([Con]C) & modopt([Con]C) *(class [Con]C modopt([Ret]R) & modopt([Con]C), class [Con]C modopt([Con]C) & modopt([Con]C))",
"delegate*<ref C, ref C, ref C>",
returnConsistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param1Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: false),
param2Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true));
}
[Fact]
public void FunctionPointerRetargeting_Param2()
{
TestFunctionPointerRetargetingSignature(
"method class [Con]C modopt([Con]C) & modopt([Con]C) *(class [Con]C modopt([Con]C) & modopt([Con]C), class [Ret]R modopt([Con]C) & modopt([Con]C))",
"delegate*<ref C, ref R, ref C>",
returnConsistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param1Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param2Consistent: (typeConsistent: false, refModConsistent: true, typeModConsistent: true));
TestFunctionPointerRetargetingSignature(
"method class [Con]C modopt([Con]C) & modopt([Con]C) *(class [Con]C modopt([Con]C) & modopt([Con]C), class [Con]C modopt([Con]C) & modopt([Ret]R))",
"delegate*<ref C, ref C, ref C>",
returnConsistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param1Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param2Consistent: (typeConsistent: true, refModConsistent: false, typeModConsistent: true));
TestFunctionPointerRetargetingSignature(
"method class [Con]C modopt([Con]C) & modopt([Con]C) *(class [Con]C modopt([Con]C) & modopt([Con]C), class [Con]C modopt([Ret]R) & modopt([Con]C))",
"delegate*<ref C, ref C, ref C>",
returnConsistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param1Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: true),
param2Consistent: (typeConsistent: true, refModConsistent: true, typeModConsistent: false));
}
private void TestFunctionPointerRetargetingSignature(
string ilSignature,
string overriddenSignature,
(bool typeConsistent, bool refModConsistent, bool typeModConsistent) returnConsistent,
(bool typeConsistent, bool refModConsistent, bool typeModConsistent) param1Consistent,
(bool typeConsistent, bool refModConsistent, bool typeModConsistent) param2Consistent)
{
var (retargetedAssembly1, retargetedAssembly2, consistentAssembly, originalComp, retargetedComp) = getFunctionPointerRetargetingDefinitions(ilSignature, overriddenSignature);
var mOriginal = getMethodSymbol(originalComp);
var mRetargeted = getMethodSymbol(retargetedComp);
Assert.IsType<RetargetingAssemblySymbol>(mRetargeted.ContainingAssembly);
Assert.NotSame(originalComp.Assembly, mRetargeted.ContainingAssembly);
Assert.NotSame(retargetedAssembly1, retargetedAssembly2);
Assert.Same(originalComp.Assembly, ((RetargetingAssemblySymbol)mRetargeted.ContainingAssembly).UnderlyingAssembly);
var ptrOriginal = (FunctionPointerTypeSymbol)mOriginal.ReturnType;
var ptrRetargeted = (FunctionPointerTypeSymbol)mRetargeted.ReturnType;
FunctionPointerUtilities.CommonVerifyFunctionPointer(ptrOriginal);
FunctionPointerUtilities.CommonVerifyFunctionPointer(ptrRetargeted);
if ((true, true, true) == returnConsistent &&
(true, true, true) == param1Consistent &&
(true, true, true) == param2Consistent)
{
Assert.Same(ptrOriginal, ptrRetargeted);
}
else
{
Assert.NotSame(ptrOriginal, ptrRetargeted);
}
assert(returnConsistent.typeConsistent,
ptrOriginal.Signature.ReturnType,
ptrRetargeted.Signature.ReturnType);
assert(returnConsistent.refModConsistent,
getModifierTypeSymbol(ptrOriginal.Signature.RefCustomModifiers),
getModifierTypeSymbol(ptrRetargeted.Signature.RefCustomModifiers));
assert(returnConsistent.typeModConsistent,
getModifierTypeSymbol(ptrOriginal.Signature.ReturnTypeWithAnnotations.CustomModifiers),
getModifierTypeSymbol(ptrRetargeted.Signature.ReturnTypeWithAnnotations.CustomModifiers));
Assert.Equal(2, ptrOriginal.Signature.ParameterCount);
Assert.Equal(2, ptrRetargeted.Signature.ParameterCount);
var param1Original = ptrOriginal.Signature.Parameters[0];
var param2Original = ptrOriginal.Signature.Parameters[1];
var param1Retargeted = ptrRetargeted.Signature.Parameters[0];
var param2Retargeted = ptrRetargeted.Signature.Parameters[1];
assert(param1Consistent.typeConsistent,
param1Original.Type,
param1Retargeted.Type);
assert(param1Consistent.refModConsistent,
getModifierTypeSymbol(param1Original.RefCustomModifiers),
getModifierTypeSymbol(param1Retargeted.RefCustomModifiers));
assert(param1Consistent.typeModConsistent,
getModifierTypeSymbol(param1Original.TypeWithAnnotations.CustomModifiers),
getModifierTypeSymbol(param1Retargeted.TypeWithAnnotations.CustomModifiers));
assert(param2Consistent.typeConsistent,
param2Original.Type,
param2Retargeted.Type);
assert(param2Consistent.refModConsistent,
getModifierTypeSymbol(param2Original.RefCustomModifiers),
getModifierTypeSymbol(param2Retargeted.RefCustomModifiers));
assert(param2Consistent.typeModConsistent,
getModifierTypeSymbol(param2Original.TypeWithAnnotations.CustomModifiers),
getModifierTypeSymbol(param2Retargeted.TypeWithAnnotations.CustomModifiers));
static MethodSymbol getMethodSymbol(CSharpCompilation compilation)
{
var c = compilation.GetTypeByMetadataName("Source");
return c.GetMethod("M");
}
static TypeSymbol getModifierTypeSymbol(ImmutableArray<CustomModifier> modifiers)
=> ((CSharpCustomModifier)modifiers.Single()).ModifierSymbol;
void assert(bool consistent, TypeSymbol originalType, TypeSymbol retargetedType)
{
Assert.False(originalType.IsErrorType());
Assert.False(retargetedType.IsErrorType());
if (consistent)
{
Assert.Same(consistentAssembly, originalType.ContainingAssembly);
Assert.Same(consistentAssembly, retargetedType.ContainingAssembly);
}
else
{
Assert.Same(retargetedAssembly1, originalType.ContainingAssembly);
Assert.Same(retargetedAssembly2, retargetedType.ContainingAssembly);
}
}
static (AssemblySymbol retargetedAssembly1, AssemblySymbol retargetedAssembly2, AssemblySymbol consistentAssembly, CSharpCompilation originalComp, CSharpCompilation retargetedComp)
getFunctionPointerRetargetingDefinitions(string mIlSignature, string mOverriddenSignature)
{
var retargetedSource = @"public class R {{}}";
var retargetedIdentity = new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true);
var standardReference = TargetFrameworkUtil.StandardReferences.ToArray();
var retargeted1 = CreateCompilation(retargetedIdentity, new[] { retargetedSource }, references: standardReference);
var retargeted1Ref = retargeted1.ToMetadataReference();
var retargeted2 = CreateCompilation(retargetedIdentity.WithVersion(new Version(2, 0, 0, 0)), new[] { retargetedSource }, references: standardReference);
var retargeted2Ref = retargeted2.ToMetadataReference();
var consistent = CreateCompilation("public class C {}", assemblyName: "Con", targetFramework: TargetFramework.Standard);
var consistentRef = consistent.ToMetadataReference();
var ilSource = $@"
{buildAssemblyExternClause(retargeted1)}
{buildAssemblyExternClause(consistent)}
.class public auto ansi beforefieldinit Il
extends [mscorlib]System.Object
{{
.method public hidebysig newslot virtual
instance {mIlSignature} 'M' ()
{{
.maxstack 8
ldnull
throw
}}
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{{
.maxstack 8
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}}
}}
";
var ilRef = CompileIL(ilSource);
var originalComp = CreateCompilation($@"
unsafe class Source : Il
{{
public override {mOverriddenSignature} M() => throw null;
}}", new[] { retargeted1Ref, consistentRef, ilRef }, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Standard);
originalComp.VerifyDiagnostics();
var retargetedComp = CreateCompilation("", references: new[] { originalComp.ToMetadataReference(), retargeted2Ref, consistentRef, ilRef },
options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9,
targetFramework: TargetFramework.Standard);
retargetedComp.VerifyDiagnostics();
return (retargeted1.Assembly, retargeted2.Assembly, consistent.Assembly, originalComp, retargetedComp);
static string buildAssemblyExternClause(CSharpCompilation comp)
{
AssemblyIdentity assemblyIdentity = comp.Assembly.Identity;
System.Version version = assemblyIdentity.Version;
return $@"
.assembly extern {assemblyIdentity.Name}
{{
.ver {version.Major}:{version.Minor}:{version.Build}:{version.Revision}
}}
";
}
}
}
[Fact]
public void RetargetedUnmanagedCallersOnlyData()
{
var originalIdentity = new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true);
// Custom corlib is necessary as the CallConv type must be defined in corlib, and we need to make
// sure that it's retargeted correctly.
string corlibSource = @"
namespace System
{
public class Object { }
public abstract class ValueType { }
public struct Void { }
public abstract partial class Enum : ValueType {}
public class String { }
public struct Boolean { }
public struct Int32 { }
public class Type { }
public class Attribute { }
public class AttributeUsageAttribute : Attribute
{
public AttributeUsageAttribute(AttributeTargets validOn) {}
public bool Inherited { get; set; }
}
public enum AttributeTargets { Method = 0x0040, }
namespace Runtime
{
namespace InteropServices
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class UnmanagedCallersOnlyAttribute : Attribute
{
public UnmanagedCallersOnlyAttribute()
{
}
public Type[] CallConvs;
public string EntryPoint;
}
}
namespace CompilerServices
{
public sealed class CallConvCdecl {}
}
}
}
";
var beforeRetargeting = CreateCompilation(originalIdentity, new[] { corlibSource }, new MetadataReference[0]);
beforeRetargeting.VerifyDiagnostics();
var unmanagedCallersOnlyAssembly = CreateEmptyCompilation(@"
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
public class C
{
[UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvCdecl) } )]
public static void M(int s) {}
}
", new[] { beforeRetargeting.ToMetadataReference() });
unmanagedCallersOnlyAssembly.VerifyDiagnostics();
var afterRetargeting = CreateCompilation(originalIdentity.WithVersion(new Version(2, 0, 0, 0)), new[] { corlibSource }, new MetadataReference[0]);
afterRetargeting.VerifyDiagnostics();
var finalComp = CreateEmptyCompilation(@"C.M(1);", options: TestOptions.ReleaseExe, references: new[] { afterRetargeting.ToMetadataReference(), unmanagedCallersOnlyAssembly.ToMetadataReference() });
finalComp.VerifyDiagnostics(
// (1,1): error CS8901: 'C.M(int)' is attributed with 'UnmanagedCallersOnly' and cannot be called directly. Obtain a function pointer to this method.
// C.M(1);
Diagnostic(ErrorCode.ERR_UnmanagedCallersOnlyMethodsCannotBeCalledDirectly, "C.M(1)").WithArguments("C.M(int)").WithLocation(1, 1)
);
var m = finalComp.GetTypeByMetadataName("C").GetMethod("M");
var unmanagedCallersOnlyData = m.UnmanagedCallersOnlyAttributeData;
Assert.IsType<RetargetingMethodSymbol>(m);
var containingAssembly = unmanagedCallersOnlyData.CallingConventionTypes.Single().ContainingAssembly;
Assert.NotSame(containingAssembly, beforeRetargeting.Assembly);
Assert.Same(containingAssembly, afterRetargeting.Assembly);
}
[Fact]
public void RetargetedUnmanagedCallersOnlyEmptyData()
{
var originalIdentity = new AssemblyIdentity("Ret", new Version(1, 0, 0, 0), isRetargetable: true);
// Custom corlib is necessary as the CallConv type must be defined in corlib, and we need to make
// sure that it's retargeted correctly.
string corlibSource = @"
namespace System
{
public class Object { }
public abstract class ValueType { }
public struct Void { }
public abstract partial class Enum : ValueType {}
public class String { }
public struct Boolean { }
public struct Int32 { }
public class Type { }
public class Attribute { }
public class AttributeUsageAttribute : Attribute
{
public AttributeUsageAttribute(AttributeTargets validOn) {}
public bool Inherited { get; set; }
}
public enum AttributeTargets { Method = 0x0040, }
namespace Runtime
{
namespace InteropServices
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class UnmanagedCallersOnlyAttribute : Attribute
{
public UnmanagedCallersOnlyAttribute()
{
}
public Type[] CallConvs;
public string EntryPoint;
}
}
namespace CompilerServices
{
public sealed class CallConvCdecl {}
}
}
}
";
var beforeRetargeting = CreateCompilation(originalIdentity, new[] { corlibSource }, new MetadataReference[0]);
beforeRetargeting.VerifyDiagnostics();
var unmanagedCallersOnlyAssembly = CreateEmptyCompilation(@"
using System.Runtime.InteropServices;
public class C
{
[UnmanagedCallersOnly]
public static void M(int s) {}
}
", new[] { beforeRetargeting.ToMetadataReference() });
unmanagedCallersOnlyAssembly.VerifyDiagnostics();
var afterRetargeting = CreateCompilation(originalIdentity.WithVersion(new Version(2, 0, 0, 0)), new[] { corlibSource }, new MetadataReference[0]);
afterRetargeting.VerifyDiagnostics();
var finalComp = CreateEmptyCompilation(@"C.M(1);", options: TestOptions.ReleaseExe, references: new[] { afterRetargeting.ToMetadataReference(), unmanagedCallersOnlyAssembly.ToMetadataReference() });
finalComp.VerifyDiagnostics(
// (1,1): error CS8901: 'C.M(int)' is attributed with 'UnmanagedCallersOnly' and cannot be called directly. Obtain a function pointer to this method.
// C.M(1);
Diagnostic(ErrorCode.ERR_UnmanagedCallersOnlyMethodsCannotBeCalledDirectly, "C.M(1)").WithArguments("C.M(int)").WithLocation(1, 1)
);
}
}
internal abstract class SymbolChecker
{
public void CheckSymbols(TypeWithAnnotations a, TypeWithAnnotations b, bool recurse)
{
CheckSymbols(a.Type, b.Type, recurse);
}
public void CheckSymbols(Symbol a, Symbol b, bool recurse)
{
Assert.Equal(a == null, b == null);
if (a != null)
{
Assert.Equal(a.Kind, b.Kind);
CheckSymbolsInternal(a, b);
if (!recurse)
{
return;
}
switch (a.Kind)
{
case SymbolKind.Field:
CheckFields((FieldSymbol)a, (FieldSymbol)b);
break;
case SymbolKind.NamedType:
CheckNamedTypes((NamedTypeSymbol)a, (NamedTypeSymbol)b);
break;
case SymbolKind.Method:
CheckMethods((MethodSymbol)a, (MethodSymbol)b);
break;
case SymbolKind.Parameter:
CheckParameters((ParameterSymbol)a, (ParameterSymbol)b);
break;
case SymbolKind.Property:
CheckProperties((PropertySymbol)a, (PropertySymbol)b);
break;
case SymbolKind.TypeParameter:
CheckTypeParameters((TypeParameterSymbol)a, (TypeParameterSymbol)b);
break;
default:
Assert.True(false, "Unexpected symbol kind: " + a.Kind);
break;
}
}
}
protected abstract void CheckSymbolsInternal(Symbol a, Symbol b);
public void CheckSymbols<T>(ImmutableArray<T> a, ImmutableArray<T> b, bool recurse)
where T : Symbol
{
Assert.Equal(a.Length, b.Length);
for (int i = 0; i < a.Length; i++)
{
CheckSymbols(a[i], b[i], recurse);
}
}
public void CheckMarshallingInformation(MarshalPseudoCustomAttributeData a, MarshalPseudoCustomAttributeData b)
{
Assert.Equal(a == null, b == null);
if (a != null)
{
CheckSymbols((Symbol)a.TryGetSafeArrayElementUserDefinedSubtype(),
(Symbol)b.TryGetSafeArrayElementUserDefinedSubtype(),
recurse: false);
}
}
public void CheckFields(FieldSymbol a, FieldSymbol b)
{
Assert.Equal(a.Name, b.Name);
CheckSymbols(a.TypeWithAnnotations, b.TypeWithAnnotations, recurse: false);
CheckSymbols(a.AssociatedSymbol, b.AssociatedSymbol, recurse: false);
CheckMarshallingInformation(a.MarshallingInformation, b.MarshallingInformation);
}
public void CheckMethods(MethodSymbol a, MethodSymbol b)
{
Assert.Equal(a.Name, b.Name);
CheckSymbols(a.Parameters, b.Parameters, false);
CheckSymbols(a.ReturnTypeWithAnnotations, b.ReturnTypeWithAnnotations, false);
CheckSymbols(a.TypeParameters, b.TypeParameters, true);
CheckMarshallingInformation(a.ReturnValueMarshallingInformation, b.ReturnValueMarshallingInformation);
}
public void CheckNamedTypes(NamedTypeSymbol a, NamedTypeSymbol b)
{
CheckTypes((TypeSymbol)a, (TypeSymbol)b);
CheckSymbols(a.TypeParameters, b.TypeParameters, true);
}
public void CheckParameters(ParameterSymbol a, ParameterSymbol b)
{
Assert.Equal(a.Name, b.Name);
Assert.Equal(a.Ordinal, b.Ordinal);
CheckSymbols(a.TypeWithAnnotations, b.TypeWithAnnotations, false);
CheckMarshallingInformation(a.MarshallingInformation, b.MarshallingInformation);
}
public void CheckProperties(PropertySymbol a, PropertySymbol b)
{
Assert.Equal(a.Name, b.Name);
CheckSymbols(a.Parameters, b.Parameters, false);
CheckSymbols(a.TypeWithAnnotations, b.TypeWithAnnotations, false);
CheckSymbols(a.GetMethod, b.GetMethod, true);
CheckSymbols(a.SetMethod, b.SetMethod, true);
}
public void CheckTypes(TypeSymbol a, TypeSymbol b)
{
Assert.Equal(a.Name, b.Name);
CheckSymbols(a.BaseType(), b.BaseType(), false);
CheckSymbols(a.Interfaces(), b.Interfaces(), false);
CheckSymbols(a.GetMembers(), b.GetMembers(), true);
}
public void CheckTypeParameters(TypeParameterSymbol a, TypeParameterSymbol b)
{
CheckTypes((TypeSymbol)a, (TypeSymbol)b);
Assert.Equal(a.HasConstructorConstraint, b.HasConstructorConstraint);
Assert.Equal(a.HasReferenceTypeConstraint, b.HasReferenceTypeConstraint);
Assert.Equal(a.HasValueTypeConstraint, b.HasValueTypeConstraint);
CheckSymbols(a.ConstraintTypes(), b.ConstraintTypes(), false);
}
}
internal sealed class RetargetingSymbolChecker : SymbolChecker
{
public static void CheckSymbols(Symbol a, Symbol b)
{
var checker = new RetargetingSymbolChecker();
checker.CheckSymbols(a, b, true);
}
protected override void CheckSymbolsInternal(Symbol a, Symbol b)
{
a = a.OriginalDefinition;
b = b.OriginalDefinition;
var underlying = GetUnderlyingSymbol(b);
Assert.NotNull(underlying);
Assert.Same(underlying, a);
}
private static Symbol GetUnderlyingSymbol(Symbol symbol)
{
switch (symbol.Kind)
{
case SymbolKind.NamedType:
{
var retargeting = symbol as RetargetingNamedTypeSymbol;
return ((object)retargeting != null) ? retargeting.UnderlyingNamedType : symbol;
}
case SymbolKind.Field:
return ((RetargetingFieldSymbol)symbol).UnderlyingField;
case SymbolKind.Method:
return ((RetargetingMethodSymbol)symbol).UnderlyingMethod;
case SymbolKind.Parameter:
return ((RetargetingParameterSymbol)symbol).UnderlyingParameter;
case SymbolKind.Property:
return ((RetargetingPropertySymbol)symbol).UnderlyingProperty;
case SymbolKind.TypeParameter:
return ((RetargetingTypeParameterSymbol)symbol).UnderlyingTypeParameter;
}
return null;
}
}
}
| {
"content_hash": "fdecdb68a8028921b3df1bb08194ccee",
"timestamp": "",
"source": "github",
"line_count": 1326,
"max_line_length": 210,
"avg_line_length": 48.119909502262445,
"alnum_prop": 0.6460576425784005,
"repo_name": "genlu/roslyn",
"id": "04eebbbc2dae44681395ff2f7557b61b0d30711d",
"size": "63809",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "src/Compilers/CSharp/Test/Symbol/Symbols/Retargeting/RetargetingTests.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "1C Enterprise",
"bytes": "257760"
},
{
"name": "Batchfile",
"bytes": "9059"
},
{
"name": "C#",
"bytes": "139228314"
},
{
"name": "C++",
"bytes": "5602"
},
{
"name": "CMake",
"bytes": "9153"
},
{
"name": "Dockerfile",
"bytes": "2450"
},
{
"name": "F#",
"bytes": "549"
},
{
"name": "PowerShell",
"bytes": "242675"
},
{
"name": "Shell",
"bytes": "92965"
},
{
"name": "Visual Basic .NET",
"bytes": "71735255"
}
],
"symlink_target": ""
} |
license
=======
The MIT License (MIT)
Copyright (c) Tobias Wellnitz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Contact:
========
Contact Tobias@dh1tw.de
| {
"content_hash": "f67dc0be11d94d3531740d5164d88657",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 78,
"avg_line_length": 42.111111111111114,
"alnum_prop": 0.7915567282321899,
"repo_name": "dh1tw/pyhamtools",
"id": "9eb66c9f03114d9684b1171c7f7bc14fa90ea770",
"size": "1137",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "docs/source/license.rst",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Python",
"bytes": "183187"
}
],
"symlink_target": ""
} |
const argv = require(`command-line-args`)([
{ name: `all`, type: Boolean },
{ name: 'verbose', alias: 'v', type: Boolean },
{ name: `target`, type: String, defaultValue: `` },
{ name: `module`, type: String, defaultValue: `` },
{ name: `coverage`, type: Boolean, defaultValue: false },
{ name: `tests`, type: String, multiple: true, defaultValue: [`spec/*`] },
{ name: `targets`, alias: `t`, type: String, multiple: true, defaultValue: [] },
{ name: `modules`, alias: `m`, type: String, multiple: true, defaultValue: [] },
], { partial: true });
const { targets, modules } = argv;
if (argv.target === `src`) {
argv.target && !targets.length && targets.push(argv.target);
} else {
argv.target && !targets.length && targets.push(argv.target);
argv.module && !modules.length && modules.push(argv.module);
(argv.all || !targets.length) && targets.push(`all`);
(argv.all || !modules.length) && modules.push(`all`);
}
module.exports = { argv, targets, modules };
| {
"content_hash": "8ed245b6552ac093ccbe03865b4a4088",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 82,
"avg_line_length": 42.869565217391305,
"alnum_prop": 0.6227180527383367,
"repo_name": "ReactiveX/IxJS",
"id": "2408858565d723ddc0f3e6e69b68cea9844bccc4",
"size": "1788",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "gulp/argv.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "50918"
},
{
"name": "Shell",
"bytes": "836"
},
{
"name": "TypeScript",
"bytes": "874406"
}
],
"symlink_target": ""
} |
package com.google.android.apps.forscience.whistlepunk.sensors;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import com.google.android.apps.forscience.whistlepunk.Clock;
import com.google.android.apps.forscience.whistlepunk.sensorapi.AbstractSensorRecorder;
import com.google.android.apps.forscience.whistlepunk.sensorapi.AvailableSensors;
import com.google.android.apps.forscience.whistlepunk.sensorapi.ScalarSensor;
import com.google.android.apps.forscience.whistlepunk.sensorapi.SensorEnvironment;
import com.google.android.apps.forscience.whistlepunk.sensorapi.SensorRecorder;
import com.google.android.apps.forscience.whistlepunk.sensorapi.SensorStatusListener;
import com.google.android.apps.forscience.whistlepunk.sensorapi.StreamConsumer;
/** Class to get sensor data from the Ambient Temperature sensor. */
public class AmbientTemperatureSensor extends ScalarSensor {
public static final String ID = "AmbientTemperatureSensor";
private SensorEventListener sensorEventListener;
public AmbientTemperatureSensor() {
super(ID);
}
@Override
protected SensorRecorder makeScalarControl(
final StreamConsumer c,
final SensorEnvironment environment,
final Context context,
final SensorStatusListener listener) {
return new AbstractSensorRecorder() {
@Override
public void startObserving() {
listener.onSourceStatus(getId(), SensorStatusListener.STATUS_CONNECTED);
SensorManager sensorManager = getSensorManager(context);
Sensor sensor = sensorManager.getDefaultSensor(Sensor.TYPE_AMBIENT_TEMPERATURE);
if (sensorEventListener != null) {
getSensorManager(context).unregisterListener(sensorEventListener);
}
final Clock clock = environment.getDefaultClock();
sensorEventListener =
new SensorEventListener() {
@Override
public void onSensorChanged(SensorEvent event) {
c.addData(clock.getNow(), event.values[0]);
}
@Override
public void onAccuracyChanged(Sensor sensor, int accuracy) {}
};
sensorManager.registerListener(
sensorEventListener, sensor, SensorManager.SENSOR_DELAY_NORMAL);
}
@Override
public void stopObserving() {
getSensorManager(context).unregisterListener(sensorEventListener);
listener.onSourceStatus(getId(), SensorStatusListener.STATUS_DISCONNECTED);
}
};
}
public static boolean isAmbientTemperatureSensorAvailable(AvailableSensors availableSensors) {
return availableSensors.isSensorAvailable(Sensor.TYPE_AMBIENT_TEMPERATURE);
}
}
| {
"content_hash": "0f956ac31710fe917f1a0985fafcdcf9",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 96,
"avg_line_length": 40.666666666666664,
"alnum_prop": 0.7498218104062723,
"repo_name": "googlearchive/science-journal",
"id": "20d562bdc2116fdcfed1b04f99ed99f23f387efe",
"size": "3431",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "OpenScienceJournal/whistlepunk_library/src/main/java/com/google/android/apps/forscience/whistlepunk/sensors/AmbientTemperatureSensor.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "30945"
},
{
"name": "Java",
"bytes": "3424733"
},
{
"name": "Shell",
"bytes": "897"
},
{
"name": "Starlark",
"bytes": "493"
}
],
"symlink_target": ""
} |
module GoogleAuthenticatorRails
module ActionController
class RailsAdapter
class LoadedTooLateError < StandardError
def initialize
super("GoogleAuthenticatorRails is trying to prepend a before_filter in ActionController::Base. Because you've already defined" +
" ApplicationController, your controllers will not get this before_filter. Please load GoogleAuthenticatorRails before defining" +
" ApplicationController.")
end
end
def initialize(controller)
@controller = controller
end
def cookies
@controller.send(:cookies)
end
end
module Integration
def self.included(klass)
raise RailsAdapter::LoadedTooLateError.new if defined?(::ApplicationController)
method = klass.respond_to?(:prepend_before_action) ? :prepend_before_action : :prepend_before_filter
klass.send(method, :activate_google_authenticator_rails)
end
private
def activate_google_authenticator_rails
GoogleAuthenticatorRails::Session::Base.controller = RailsAdapter.new(self)
end
end
end
end
ActiveSupport.on_load(:action_controller) do
ActionController::Base.send(:include, GoogleAuthenticatorRails::ActionController::Integration)
end
| {
"content_hash": "0c6437804f76bfb9021ecbd39b84c870",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 141,
"avg_line_length": 33.07692307692308,
"alnum_prop": 0.7108527131782946,
"repo_name": "jaredonline/google-authenticator",
"id": "aa5d925706ccf7a9495e990d09942f66365f5ceb",
"size": "1290",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/google-authenticator-rails/action_controller/rails_adapter.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Ruby",
"bytes": "42064"
}
],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (10.0.2) on Fri Sep 07 19:01:15 PDT 2018 -->
<title>Class Hierarchy</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2018-09-07">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy";
}
}
catch(err) {
}
//-->
var pathtoroot = "./";loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="main/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding"> </div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
<div class="header">
<h1 class="title">Hierarchy For All Packages</h1>
<span class="packageHierarchyLabel">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="main/package-tree.html">main</a></li>
</ul>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li class="circle">java.lang.Object
<ul>
<li class="circle">java.util.AbstractCollection<E> (implements java.util.Collection<E>)
<ul>
<li class="circle">java.util.AbstractList<E> (implements java.util.List<E>)
<ul>
<li class="circle">java.util.ArrayList<E> (implements java.lang.Cloneable, java.util.List<E>, java.util.RandomAccess, java.io.Serializable)
<ul>
<li class="circle">main.<a href="main/MyStack.html" title="class in main"><span class="typeNameLink">MyStack</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="main/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
| {
"content_hash": "64ee0cfda7f452b2a91250a7a34f3f67",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 151,
"avg_line_length": 31.125714285714285,
"alnum_prop": 0.6517348999449238,
"repo_name": "tliang1/Java-Practice",
"id": "6f0b22c9efef71e02a4abe3ff92bacebfe4ecd5d",
"size": "5447",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Practice/Intro-To-Java-8th-Ed-Daniel-Y.-Liang/Chapter-11/Chapter11P04/doc/overview-tree.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "710145"
}
],
"symlink_target": ""
} |
package com.chilliworks.chillisource.androidmanifestbuilder;
import com.chilliworks.chillisource.coreutils.Logging;
import com.chilliworks.chillisource.coreutils.StringUtils;
import com.chilliworks.chillisource.coreutils.Logging.LoggingLevel;
/**
* Handles the entry point into the application. This manages the parsing of the input parameters and
* passes them on to the rest of the tool.
*
* @author Ian Copland
*/
public final class Main
{
private static final String k_paramInput = "--input";
private static final String k_paramInputShort = "-i";
private static final String k_paramTemplate = "--template";
private static final String k_paramTemplateShort = "-t";
private static final String k_paramOutput = "--output";
private static final String k_paramOutputShort = "-o";
private static final String k_paramHelp = "--help";
private static final String k_paramHelpShort = "-h";
/**
* The entry point into the application
*
* @author Ian Copland
*
* @param The input arguments.
*/
public static void main(String[] in_arguments) throws Exception
{
String[] arguments = Logging.start(in_arguments);
if (arguments.length == 0)
{
printHelpText();
return;
}
String input = "";
String template = "";
String output = "";
for (int i = 0; i < arguments.length; ++i)
{
//input
if (arguments[i].equalsIgnoreCase(k_paramInput) == true || arguments[i].equalsIgnoreCase(k_paramInputShort) == true)
{
if (i+1 < arguments.length)
input = StringUtils.standardiseFilePath(arguments[i+1]);
else
Logging.logFatal("No input file path provided!");
i++;
}
//template
else if (arguments[i].equalsIgnoreCase(k_paramTemplate) == true || arguments[i].equalsIgnoreCase(k_paramTemplateShort) == true)
{
if (i+1 < arguments.length)
template = StringUtils.standardiseFilePath(arguments[i+1]);
else
Logging.logFatal("No template file path provided!");
i++;
}
//output
else if (arguments[i].equalsIgnoreCase(k_paramOutput) == true || arguments[i].equalsIgnoreCase(k_paramOutputShort) == true)
{
if (i+1 < arguments.length)
output = StringUtils.standardiseFilePath(arguments[i+1]);
else
Logging.logFatal("No output file path provided!");
i++;
}
//help
else if (arguments[i].equalsIgnoreCase(k_paramHelp) == true || arguments[i].equalsIgnoreCase(k_paramHelpShort) == true)
{
printHelpText();
return;
}
//failure
else
{
Logging.logFatal("Invalid parameter found: " + arguments[i]);
}
}
if (input.length() == 0 || template.length() ==0 || output.length() == 0)
{
Logging.logFatal("Must provide input, template and output file paths.");
}
AndroidManifestBuilder.generate(input, template, output);
Logging.finish();
}
/**
* Outputs help test for this tool. This will be displayed regardless of
* the current logging level.
*
* @author Ian Copland
*/
public static void printHelpText()
{
Logging.setLoggingLevel(LoggingLevel.VERBOSE);
Logging.logVerbose("Usage: java -jar AndroidManifestBuilder.jar --input <file path> --template <file path> --output <file path> [--logginglevel <level>] [--help]");
Logging.logVerbose("Parameters:");
Logging.logVerbose(" " + k_paramInput + "(" + k_paramInputShort + "): The file path to the user manifest.");
Logging.logVerbose(" " + k_paramTemplate + "(" + k_paramTemplateShort + "): The file path to the template manifest.");
Logging.logVerbose(" " + k_paramOutput + "(" + k_paramOutputShort + "): The file path to the output AndroidManifest.xml.");
Logging.logVerbose(" " + Logging.PARAM_LOGGING_LEVEL + "(" + Logging.SHORT_PARAM_LOGGING_LEVEL + "): [Optional] The level of messages to log.");
Logging.logVerbose(" " + k_paramHelp + "(" + k_paramHelpShort + "): [Optional] Display this help message.");
Logging.logVerbose("Logging Levels:");
Logging.logVerbose(" " + Logging.LOGGING_LEVEL_NONE + ": No logging.");
Logging.logVerbose(" " + Logging.LOGGING_LEVEL_FATAL + ": Only log fatal errors.");
Logging.logVerbose(" " + Logging.LOGGING_LEVEL_ERROR + ": Only log errors.");
Logging.logVerbose(" " + Logging.LOGGING_LEVEL_WARNING + ": Log errors and warnings.");
Logging.logVerbose(" " + Logging.LOGGING_LEVEL_VERBOSE + ": Log all messages.");
}
}
| {
"content_hash": "e51ff3d4d7ff0d843de63e10cd678293",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 166,
"avg_line_length": 35.016129032258064,
"alnum_prop": 0.6805619530170428,
"repo_name": "ChilliWorks/ChilliSource",
"id": "6aa98c96554ebf46bfa16ce238fb33f3f5b5a97e",
"size": "5570",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Projects/Tools/AndroidManifestBuilder/src/com/chilliworks/chillisource/androidmanifestbuilder/Main.java",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "9371694"
},
{
"name": "C++",
"bytes": "9942473"
},
{
"name": "Java",
"bytes": "1911615"
},
{
"name": "Makefile",
"bytes": "18869"
},
{
"name": "Objective-C",
"bytes": "210639"
},
{
"name": "Objective-C++",
"bytes": "280471"
},
{
"name": "Python",
"bytes": "53174"
}
],
"symlink_target": ""
} |
package org.jvnet.jaxb2_commons.tests.issues;
import org.junit.Assert;
import junit.framework.TestCase;
public class JIIB38Test extends TestCase {
public void testException() throws Exception {
final IssueJIIB38 one = new IssueJIIB38();
final IssueJIIB38Type two = IssueJIIB38Type.A;
Assert.assertTrue(one instanceof Cloneable);
Assert.assertTrue(two instanceof Cloneable);
}
}
| {
"content_hash": "a103a76f287a4afaf29f518de485fab0",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 48,
"avg_line_length": 23.176470588235293,
"alnum_prop": 0.7817258883248731,
"repo_name": "highsource/jaxb2-basics",
"id": "bbec79347f548ecd64459ab37b62401ba9c327d3",
"size": "394",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "tests/issues/src/test/java/org/jvnet/jaxb2_commons/tests/issues/JIIB38Test.java",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "Batchfile",
"bytes": "3443"
},
{
"name": "Java",
"bytes": "747000"
}
],
"symlink_target": ""
} |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.Threading
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.LanguageServices
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Namespace Microsoft.CodeAnalysis.VisualBasic
Partial Friend Class VisualBasicTypeInferenceService
Private Class TypeInferrer
Inherits AbstractTypeInferrer
Public Sub New(semanticModel As SemanticModel, cancellationToken As CancellationToken)
MyBase.New(semanticModel, cancellationToken)
End Sub
Protected Overrides Function IsUnusableType(otherSideType As ITypeSymbol) As Boolean
Return otherSideType.IsErrorType() AndAlso
otherSideType.Name = String.Empty
End Function
Protected Overrides Function GetTypes_DoNotCallDirectly(expression As ExpressionSyntax, objectAsDefault As Boolean) As IEnumerable(Of TypeInferenceInfo)
If expression IsNot Nothing Then
Dim info = SemanticModel.GetTypeInfo(expression)
If info.Type IsNot Nothing AndAlso info.Type.TypeKind <> TypeKind.Error Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(info.Type))
End If
If info.ConvertedType IsNot Nothing AndAlso info.ConvertedType.TypeKind <> TypeKind.Error Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(info.ConvertedType))
End If
If expression.Kind = SyntaxKind.AddressOfExpression Then
Dim unaryExpression = DirectCast(expression, UnaryExpressionSyntax)
Dim symbol = SemanticModel.GetSymbolInfo(unaryExpression.Operand, CancellationToken).GetAnySymbol()
Dim type = symbol.ConvertToType(Me.Compilation)
If type IsNot Nothing Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(type))
End If
End If
End If
Return If(objectAsDefault, SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.ObjectType)), SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)())
End Function
Protected Overrides Function InferTypesWorker_DoNotCallDirectly(expression As ExpressionSyntax) As IEnumerable(Of TypeInferenceInfo)
expression = expression.WalkUpParentheses()
Dim parent = expression.Parent
Return parent.TypeSwitch(
Function(addRemoveHandlerStatement As AddRemoveHandlerStatementSyntax) InferTypeInAddRemoveHandlerStatementSyntax(addRemoveHandlerStatement, expression),
Function(argument As ArgumentSyntax) InferTypeInArgument(argument),
Function(arrayCreationExpression As ArrayCreationExpressionSyntax) InferTypeInArrayCreationExpression(arrayCreationExpression),
Function(arrayRank As ArrayRankSpecifierSyntax) InferTypeInArrayRankSpecifier(),
Function(arrayType As ArrayTypeSyntax) InferTypeInArrayType(arrayType),
Function(asClause As AsClauseSyntax) InferTypeInAsClause(asClause, expression),
Function(assignmentStatement As AssignmentStatementSyntax) InferTypeInAssignmentStatement(assignmentStatement, expression),
Function(attribute As AttributeSyntax) InferTypeInAttribute(attribute),
Function(awaitExpression As AwaitExpressionSyntax) InferTypeInAwaitExpression(awaitExpression),
Function(binaryExpression As BinaryExpressionSyntax) InferTypeInBinaryExpression(binaryExpression, expression),
Function(callStatement As CallStatementSyntax) InferTypeInCallStatement(),
Function(castExpression As CastExpressionSyntax) InferTypeInCastExpression(castExpression, expression),
Function(catchFilterClause As CatchFilterClauseSyntax) InferTypeInCatchFilterClause(catchFilterClause),
Function(collectionInitializer As CollectionInitializerSyntax) InferTypeInCollectionInitializerExpression(collectionInitializer, expression),
Function(conditionalAccessExpression As ConditionalAccessExpressionSyntax) InferTypeInConditionalAccessExpression(conditionalAccessExpression),
Function(conditionalExpression As BinaryConditionalExpressionSyntax) InferTypeInBinaryConditionalExpression(conditionalExpression, expression),
Function(conditionalExpression As TernaryConditionalExpressionSyntax) InferTypeInTernaryConditionalExpression(conditionalExpression, expression),
Function(doStatement As DoStatementSyntax) InferTypeInDoStatement(),
Function(equalsValue As EqualsValueSyntax) InferTypeInEqualsValue(equalsValue),
Function(expressionStatement As ExpressionStatementSyntax) InferTypeInExpressionStatement(expressionStatement),
Function(forEachStatement As ForEachStatementSyntax) InferTypeInForEachStatement(forEachStatement, expression),
Function(forStatement As ForStatementSyntax) InferTypeInForStatement(forStatement, expression),
Function(forStepClause As ForStepClauseSyntax) InferTypeInForStepClause(forStepClause),
Function(ifStatement As ElseIfStatementSyntax) InferTypeInIfOrElseIfStatement(),
Function(ifStatement As IfStatementSyntax) InferTypeInIfOrElseIfStatement(),
Function(memberAccessExpression As MemberAccessExpressionSyntax) InferTypeInMemberAccessExpression(memberAccessExpression, expression),
Function(namedFieldInitializer As NamedFieldInitializerSyntax) InferTypeInNamedFieldInitializer(namedFieldInitializer),
Function(parenthesizedLambda As MultiLineLambdaExpressionSyntax) InferTypeInLambda(parenthesizedLambda),
Function(prefixUnary As UnaryExpressionSyntax) InferTypeInUnaryExpression(prefixUnary),
Function(returnStatement As ReturnStatementSyntax) InferTypeForReturnStatement(returnStatement),
Function(singleLineLambdaExpression As SingleLineLambdaExpressionSyntax) InferTypeInLambda(singleLineLambdaExpression),
Function(switchStatement As SelectStatementSyntax) InferTypeInSelectStatement(switchStatement),
Function(throwStatement As ThrowStatementSyntax) InferTypeInThrowStatement(),
Function(typeOfExpression As TypeOfExpressionSyntax) InferTypeInTypeOfExpressionSyntax(typeOfExpression),
Function(usingStatement As UsingStatementSyntax) InferTypeInUsingStatement(usingStatement),
Function(whileStatement As WhileOrUntilClauseSyntax) InferTypeInWhileOrUntilClause(),
Function(whileStatement As WhileStatementSyntax) InferTypeInWhileStatement(),
Function(yieldStatement As YieldStatementSyntax) InferTypeInYieldStatement(yieldStatement),
Function(x) SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)())
End Function
Private Function InferTypeInTypeOfExpressionSyntax(typeOfExpression As TypeOfExpressionSyntax) As IEnumerable(Of TypeInferenceInfo)
Dim expressionType = typeOfExpression.Type
If expressionType Is Nothing Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Dim typeSymbol = SemanticModel.GetTypeInfo(expressionType).Type
If TypeOf typeSymbol IsNot INamedTypeSymbol Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(typeSymbol))
End Function
Private Function InferTypeInAddRemoveHandlerStatementSyntax(addRemoveHandlerStatement As AddRemoveHandlerStatementSyntax,
expression As ExpressionSyntax) As IEnumerable(Of TypeInferenceInfo)
If expression Is addRemoveHandlerStatement.DelegateExpression Then
Return GetTypes(addRemoveHandlerStatement.EventExpression)
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Protected Overrides Function InferTypesWorker_DoNotCallDirectly(position As Integer) As IEnumerable(Of TypeInferenceInfo)
Dim tree = TryCast(Me.SemanticModel.SyntaxTree, SyntaxTree)
Dim token = tree.FindTokenOnLeftOfPosition(position, CancellationToken)
token = token.GetPreviousTokenIfTouchingWord(position)
Dim parent = token.Parent
Return parent.TypeSwitch(
Function(argument As ArgumentSyntax) InferTypeInArgument(argument, previousToken:=token),
Function(argumentList As ArgumentListSyntax) InferTypeInArgumentList(argumentList, previousToken:=token),
Function(arrayCreationExpression As ArrayCreationExpressionSyntax) InferTypeInArrayCreationExpression(arrayCreationExpression),
Function(arrayRank As ArrayRankSpecifierSyntax) InferTypeInArrayRankSpecifier(),
Function(arrayType As ArrayTypeSyntax) InferTypeInArrayType(arrayType),
Function(asClause As AsClauseSyntax) InferTypeInAsClause(asClause, previousToken:=token),
Function(assignmentStatement As AssignmentStatementSyntax) InferTypeInAssignmentStatement(assignmentStatement, previousToken:=token),
Function(attribute As AttributeSyntax) InferTypeInAttribute(attribute),
Function(awaitExpression As AwaitExpressionSyntax) InferTypeInAwaitExpression(awaitExpression),
Function(binaryExpression As BinaryExpressionSyntax) InferTypeInBinaryExpression(binaryExpression, previousToken:=token),
Function(callStatement As CallStatementSyntax) InferTypeInCallStatement(),
Function(caseStatement As CaseStatementSyntax) InferTypeInCaseStatement(caseStatement),
Function(castExpression As CastExpressionSyntax) InferTypeInCastExpression(castExpression),
Function(catchFilterClause As CatchFilterClauseSyntax) InferTypeInCatchFilterClause(catchFilterClause, previousToken:=token),
Function(conditionalExpression As BinaryConditionalExpressionSyntax) InferTypeInBinaryConditionalExpression(conditionalExpression, previousToken:=token),
Function(conditionalExpression As TernaryConditionalExpressionSyntax) InferTypeInTernaryConditionalExpression(conditionalExpression, previousToken:=token),
Function(doStatement As DoStatementSyntax) InferTypeInDoStatement(token),
Function(equalsValue As EqualsValueSyntax) InferTypeInEqualsValue(equalsValue, token),
Function(expressionStatement As ExpressionStatementSyntax) InferTypeInExpressionStatement(expressionStatement),
Function(forEachStatement As ForEachStatementSyntax) InferTypeInForEachStatement(forEachStatement, previousToken:=token),
Function(forStatement As ForStatementSyntax) InferTypeInForStatement(forStatement, previousToken:=token),
Function(forStepClause As ForStepClauseSyntax) InferTypeInForStepClause(forStepClause, token),
Function(ifStatement As IfStatementSyntax) InferTypeInIfOrElseIfStatement(token),
Function(memberAccessExpression As MemberAccessExpressionSyntax) InferTypeInMemberAccessExpression(memberAccessExpression, previousToken:=token),
Function(nameColonEquals As NameColonEqualsSyntax) InferTypeInArgumentList(TryCast(nameColonEquals.Parent.Parent, ArgumentListSyntax), DirectCast(nameColonEquals.Parent, ArgumentSyntax)),
Function(namedFieldInitializer As NamedFieldInitializerSyntax) InferTypeInNamedFieldInitializer(namedFieldInitializer, token),
Function(objectCreation As ObjectCreationExpressionSyntax) InferTypes(objectCreation),
Function(parameterListSyntax As ParameterListSyntax) InferTypeInParameterList(parameterListSyntax),
Function(parenthesizedLambda As MultiLineLambdaExpressionSyntax) InferTypeInLambda(parenthesizedLambda, token),
Function(prefixUnary As UnaryExpressionSyntax) InferTypeInUnaryExpression(prefixUnary, token),
Function(returnStatement As ReturnStatementSyntax) InferTypeForReturnStatement(returnStatement, token),
Function(singleLineLambdaExpression As SingleLineLambdaExpressionSyntax) InferTypeInLambda(singleLineLambdaExpression, token),
Function(switchStatement As SelectStatementSyntax) InferTypeInSelectStatement(switchStatement, token),
Function(throwStatement As ThrowStatementSyntax) InferTypeInThrowStatement(),
Function(usingStatement As UsingStatementSyntax) InferTypeInUsingStatement(usingStatement),
Function(whileStatement As WhileOrUntilClauseSyntax) InferTypeInWhileOrUntilClause(),
Function(whileStatement As WhileStatementSyntax) InferTypeInWhileStatement(),
Function(yieldStatement As YieldStatementSyntax) InferTypeInYieldStatement(yieldStatement, token),
Function(x) SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)())
End Function
Private Function InferTypeInParameterList(parameterList As ParameterListSyntax) As IEnumerable(Of TypeInferenceInfo)
Return If(parameterList.Parent IsNot Nothing,
InferTypeInLambda(TryCast(parameterList.Parent.Parent, LambdaExpressionSyntax)),
SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)())
End Function
Private Function InferTypeInArgument(argument As ArgumentSyntax,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If TypeOf argument.Parent Is ArgumentListSyntax Then
Return InferTypeInArgumentList(
DirectCast(argument.Parent, ArgumentListSyntax), argument, previousToken)
End If
If TypeOf argument.Parent Is TupleExpressionSyntax Then
Return InferTypeInTupleExpression(
DirectCast(argument.Parent, TupleExpressionSyntax),
DirectCast(argument, SimpleArgumentSyntax))
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)
End Function
Private Function InferTypeInTupleExpression(tupleExpression As TupleExpressionSyntax,
argument As SimpleArgumentSyntax) As IEnumerable(Of TypeInferenceInfo)
Dim index = tupleExpression.Arguments.IndexOf(argument)
Dim parentTypes = InferTypes(tupleExpression)
Return parentTypes.Select(Function(TypeInfo) TypeInfo.InferredType).
OfType(Of INamedTypeSymbol)().
Where(Function(namedType) namedType.IsTupleType AndAlso index < namedType.TupleElements.Length).
Select(Function(tupleType) New TypeInferenceInfo(tupleType.TupleElements(index).Type))
End Function
Private Function InferTypeInArgumentList(argumentList As ArgumentListSyntax,
Optional argumentOpt As ArgumentSyntax = Nothing,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If argumentList Is Nothing Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
If argumentList.Parent IsNot Nothing Then
If argumentList.IsParentKind(SyntaxKind.ArrayCreationExpression) Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Compilation.GetSpecialType(SpecialType.System_Int32)))
ElseIf argumentList.IsParentKind(SyntaxKind.InvocationExpression) Then
Dim invocation = TryCast(argumentList.Parent, InvocationExpressionSyntax)
Dim index As Integer = 0
If argumentOpt IsNot Nothing Then
index = invocation.ArgumentList.Arguments.IndexOf(argumentOpt)
Else
index = GetArgumentListIndex(argumentList, previousToken)
End If
If index < 0 Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Dim info = SemanticModel.GetSymbolInfo(invocation)
' Check all the methods that have at least enough arguments to support being
' called with argument at this position. Note: if they're calling an extension
' method then it will need one more argument in order for us to call it.
Dim symbols = info.GetBestOrAllSymbols()
If symbols.Any() Then
Return InferTypeInArgument(argumentOpt, index, symbols)
Else
' It may be an array access
Dim targetExpression As ExpressionSyntax = Nothing
If invocation.Expression IsNot Nothing Then
targetExpression = invocation.Expression
ElseIf invocation.Parent.IsKind(SyntaxKind.ConditionalAccessExpression) Then
targetExpression = DirectCast(invocation.Parent, ConditionalAccessExpressionSyntax).Expression
End If
If targetExpression IsNot Nothing Then
Dim expressionType = SemanticModel.GetTypeInfo(targetExpression)
If TypeOf expressionType.Type Is IArrayTypeSymbol Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Compilation.GetSpecialType(SpecialType.System_Int32)))
End If
End If
End If
ElseIf argumentList.IsParentKind(SyntaxKind.ObjectCreationExpression) Then
' new Outer(Foo());
'
' new Outer(a: Foo());
'
' etc.
Dim creation = TryCast(argumentList.Parent, ObjectCreationExpressionSyntax)
Dim info = SemanticModel.GetSymbolInfo(creation.Type)
Dim namedType = TryCast(info.Symbol, INamedTypeSymbol)
If namedType IsNot Nothing Then
If namedType.TypeKind = TypeKind.Delegate Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(namedType))
Else
Dim index As Integer = 0
If argumentOpt IsNot Nothing Then
index = creation.ArgumentList.Arguments.IndexOf(argumentOpt)
Else
index = GetArgumentListIndex(argumentList, previousToken)
End If
If index < 0 Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Dim constructors = namedType.InstanceConstructors.Where(Function(m) m.Parameters.Length > index)
Return InferTypeInArgument(argumentOpt, index, constructors)
End If
End If
ElseIf argumentList.IsParentKind(SyntaxKind.Attribute) Then
' Ex: <SomeAttribute(here)>
Dim attribute = TryCast(argumentList.Parent, AttributeSyntax)
If argumentOpt IsNot Nothing AndAlso argumentOpt.IsNamed Then
Return GetTypes(DirectCast(argumentOpt, SimpleArgumentSyntax).NameColonEquals.Name)
End If
Dim index As Integer = 0
If argumentOpt IsNot Nothing Then
index = attribute.ArgumentList.Arguments.IndexOf(argumentOpt)
Else
index = GetArgumentListIndex(argumentList, previousToken)
End If
If index < 0 Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Dim info = SemanticModel.GetSymbolInfo(attribute)
Dim symbols = info.GetBestOrAllSymbols()
If symbols.Any() Then
Dim methods = symbols.OfType(Of IMethodSymbol)()
Return InferTypeInArgument(argumentOpt, index, methods)
End If
#If False Then
ElseIf argument.Parent.IsParentKind(SyntaxKind.ElementAccessExpression) Then
' Outer[Foo()];
'
' Outer[a: Foo()];
'
' etc.
Dim elementAccess = TryCast(argument.Parent.Parent, ElementAccessExpressionSyntax)
Dim info = Me.Binding.GetSemanticInfo(elementAccess.Expression)
If TypeOf info.Type Is ArrayTypeSymbol Then
Return Me.Compilation.GetSpecialType(SpecialType.System_Int32)
Else
Dim [type] = TryCast(info.Type, NamedTypeSymbol)
Dim index = elementAccess.ArgumentList.Arguments.IndexOf(argument)
Dim indexer = [type].GetMembers().OfType().Where(Function(p) p.IsIndexer).Where(Function(p) p.Parameters.Count > index).FirstOrDefault()
If indexer IsNot Nothing Then
Return InferTypeInArgument(argument, index, SpecializedCollections.SingletonEnumerable(indexer.Parameters))
End If
End If
#End If
End If
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInArgument(argument As ArgumentSyntax, index As Integer, symbols As IEnumerable(Of ISymbol)) As IEnumerable(Of TypeInferenceInfo)
Dim methods = symbols.OfType(Of IMethodSymbol)()
If methods.Any() Then
Dim parameters = methods.Select(Function(m) m.Parameters)
Return InferTypeInArgument(argument, index, parameters)
End If
Dim properties = symbols.OfType(Of IPropertySymbol)()
If properties.Any() Then
Dim parameters = properties.Select(Function(p) p.Parameters)
Return InferTypeInArgument(argument, index, parameters)
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInArgument(
argument As ArgumentSyntax,
index As Integer,
parameterizedSymbols As IEnumerable(Of ImmutableArray(Of IParameterSymbol))) As IEnumerable(Of TypeInferenceInfo)
Dim simpleArgument = TryCast(argument, SimpleArgumentSyntax)
If simpleArgument IsNot Nothing AndAlso simpleArgument.IsNamed Then
Dim parameters = parameterizedSymbols _
.SelectMany(Function(m) m) _
.Where(Function(p) p.Name = simpleArgument.NameColonEquals.Name.Identifier.ValueText)
Return parameters.Select(Function(p) New TypeInferenceInfo(p.Type, p.IsParams))
Else
' Otherwise, just take the first overload and pick what type this parameter is
' based on index.
Return parameterizedSymbols.Where(Function(a) index < a.Length).Select(Function(a) New TypeInferenceInfo(a(index).Type, a(index).IsParams))
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInArrayCreationExpression(arrayCreationExpression As ArrayCreationExpressionSyntax) As IEnumerable(Of TypeInferenceInfo)
Dim outerTypes = InferTypes(arrayCreationExpression)
Return outerTypes.Where(Function(c) TypeOf c.InferredType Is IArrayTypeSymbol) _
.Select(Function(c) New TypeInferenceInfo(DirectCast(c.InferredType, IArrayTypeSymbol).ElementType))
End Function
Private Function InferTypeInArrayRankSpecifier() As IEnumerable(Of TypeInferenceInfo)
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Int32)))
End Function
Private Function InferTypeInArrayType(arrayType As ArrayTypeSyntax) As IEnumerable(Of TypeInferenceInfo)
' Bind the array type, then unwrap whatever we get back based on the number of rank
' specifiers we see.
Dim currentTypes = InferTypes(arrayType)
Dim i = 0
While i < arrayType.RankSpecifiers.Count
currentTypes = currentTypes.WhereAsArray(Function(c) TypeOf c.InferredType Is IArrayTypeSymbol).
SelectAsArray(Function(c) New TypeInferenceInfo(DirectCast(c.InferredType, IArrayTypeSymbol).ElementType))
i = i + 1
End While
Return currentTypes
End Function
Private Function InferTypeInAsClause(asClause As AsClauseSyntax,
Optional expressionOpt As ExpressionSyntax = Nothing,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If previousToken <> Nothing AndAlso previousToken.Kind <> SyntaxKind.AsKeyword Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
If asClause.IsParentKind(SyntaxKind.CatchStatement) Then
If expressionOpt Is asClause.Type OrElse previousToken.Kind = SyntaxKind.AsKeyword Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.ExceptionType))
End If
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInAssignmentStatement(assignmentStatement As AssignmentStatementSyntax,
Optional expressionOpt As ExpressionSyntax = Nothing,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If assignmentStatement.IsKind(SyntaxKind.LeftShiftAssignmentStatement) OrElse
assignmentStatement.IsKind(SyntaxKind.RightShiftAssignmentStatement) Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Int32)))
End If
If expressionOpt Is assignmentStatement.Right OrElse previousToken = assignmentStatement.OperatorToken Then
Return GetTypes(assignmentStatement.Left)
End If
If expressionOpt Is assignmentStatement.Left Then
Return GetTypes(assignmentStatement.Right)
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInAttribute(attribute As AttributeSyntax) As IEnumerable(Of TypeInferenceInfo)
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.AttributeType))
End Function
Private Function InferTypeInAwaitExpression(awaitExpression As AwaitExpressionSyntax) As IEnumerable(Of TypeInferenceInfo)
' await <expression>
Dim types = InferTypes(awaitExpression, filterUnusable:=False)
Dim task = Me.Compilation.GetTypeByMetadataName(GetType(Task).FullName)
Dim taskOfT = Me.Compilation.GetTypeByMetadataName(GetType(Task(Of)).FullName)
If task Is Nothing OrElse taskOfT Is Nothing Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
If Not types.Any() Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(task))
End If
Return types.Select(Function(t) New TypeInferenceInfo(If(t.InferredType.SpecialType = SpecialType.System_Void, task, taskOfT.Construct(t.InferredType))))
End Function
Private Function InferTypeInConditionalAccessExpression(conditional As ConditionalAccessExpressionSyntax) As IEnumerable(Of TypeInferenceInfo)
Return InferTypes(conditional)
End Function
Private Function InferTypeInBinaryConditionalExpression(conditional As BinaryConditionalExpressionSyntax,
Optional expressionOpt As ExpressionSyntax = Nothing,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If previousToken <> Nothing AndAlso previousToken <> conditional.OpenParenToken AndAlso previousToken <> conditional.CommaToken Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
If conditional.FirstExpression Is expressionOpt OrElse previousToken = conditional.OpenParenToken Then
Dim rightTypes = GetTypes(conditional.SecondExpression, objectAsDefault:=True)
' value type : If (Foo(), 0)
' otherwise : If (Foo(), "")
Return rightTypes.Select(Function(t) If(t.InferredType.IsValueType,
New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Nullable_T).Construct(t.InferredType)),
t))
Else
Dim leftTypes = GetTypes(conditional.FirstExpression)
Return leftTypes.Select(Function(t)
If t.InferredType.OriginalDefinition.SpecialType = SpecialType.System_Nullable_T Then
Return New TypeInferenceInfo(DirectCast(t.InferredType, INamedTypeSymbol).TypeArguments(0))
Else
Return t
End If
End Function)
End If
End Function
Private Function InferTypeInBinaryExpression(binop As BinaryExpressionSyntax,
Optional expression As ExpressionSyntax = Nothing,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
' If we got a token, it must be the operator in the binary expression
Contract.ThrowIfTrue(previousToken <> Nothing AndAlso binop.OperatorToken <> previousToken)
Dim rightSide = previousToken <> Nothing OrElse expression Is binop.Right
Select Case binop.OperatorToken.Kind
Case SyntaxKind.LessThanLessThanToken,
SyntaxKind.GreaterThanGreaterThanToken,
SyntaxKind.LessThanLessThanEqualsToken,
SyntaxKind.GreaterThanGreaterThanEqualsToken
If rightSide Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Int32)))
End If
End Select
' Try to figure out what's on the other size of the binop. If we can, then just that
' type. This is often a reasonable heuristics to use for most operators. NOTE(cyrusn):
' we could try to bind the token to see what overloaded operators it corresponds to.
' But the gain is pretty marginal IMO.
Dim otherSide = If(rightSide, binop.Left, binop.Right)
Dim otherSideTypes = GetTypes(otherSide)
If otherSideTypes.Any(Function(t) t.InferredType.SpecialType <> SpecialType.System_Object AndAlso Not t.InferredType.IsErrorType()) Then
Return otherSideTypes
End If
Select Case binop.OperatorToken.Kind
Case SyntaxKind.CaretToken,
SyntaxKind.AmpersandToken,
SyntaxKind.LessThanToken,
SyntaxKind.LessThanEqualsToken,
SyntaxKind.GreaterThanToken,
SyntaxKind.GreaterThanEqualsToken,
SyntaxKind.PlusToken,
SyntaxKind.MinusToken,
SyntaxKind.AsteriskToken,
SyntaxKind.SlashToken,
SyntaxKind.CaretEqualsToken,
SyntaxKind.PlusEqualsToken,
SyntaxKind.MinusEqualsToken,
SyntaxKind.AsteriskEqualsToken,
SyntaxKind.SlashEqualsToken,
SyntaxKind.LessThanLessThanToken,
SyntaxKind.GreaterThanGreaterThanToken,
SyntaxKind.LessThanLessThanEqualsToken,
SyntaxKind.GreaterThanGreaterThanEqualsToken
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Int32)))
Case SyntaxKind.AndKeyword,
SyntaxKind.AndAlsoKeyword,
SyntaxKind.OrKeyword,
SyntaxKind.OrElseKeyword
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Boolean)))
End Select
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInCastExpression(castExpression As CastExpressionSyntax,
Optional expressionOpt As ExpressionSyntax = Nothing) As IEnumerable(Of TypeInferenceInfo)
If castExpression.Expression Is expressionOpt Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Return GetTypes(castExpression.Type)
End Function
Private Function InferTypeInCatchFilterClause(catchFilterClause As CatchFilterClauseSyntax, Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If previousToken <> Nothing AndAlso previousToken <> catchFilterClause.WhenKeyword Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Boolean)))
End Function
Private Function InferTypeInDoStatement(Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Boolean)))
End Function
Private Function InferTypeInEqualsValue(equalsValue As EqualsValueSyntax, Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If equalsValue.IsParentKind(SyntaxKind.VariableDeclarator) Then
Dim variableDeclarator = DirectCast(equalsValue.Parent, VariableDeclaratorSyntax)
If variableDeclarator.AsClause Is Nothing AndAlso variableDeclarator.IsParentKind(SyntaxKind.UsingStatement) Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_IDisposable)))
End If
If variableDeclarator.Names.Count >= 1 Then
Dim name = variableDeclarator.Names(0)
Dim symbol = SemanticModel.GetDeclaredSymbol(name, CancellationToken)
If symbol IsNot Nothing Then
Select Case symbol.Kind
Case SymbolKind.Field
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(DirectCast(symbol, IFieldSymbol).Type))
Case SymbolKind.Local
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(DirectCast(symbol, ILocalSymbol).Type))
End Select
End If
End If
If TypeOf variableDeclarator.AsClause Is SimpleAsClauseSyntax Then
Dim asClause = DirectCast(variableDeclarator.AsClause, SimpleAsClauseSyntax)
Return GetTypes(asClause.Type)
End If
ElseIf equalsValue.IsParentKind(SyntaxKind.PropertyStatement) Then
Dim propertySyntax = CType(equalsValue.Parent, PropertyStatementSyntax)
Dim propertySymbol = SemanticModel.GetDeclaredSymbol(propertySyntax)
If propertySymbol Is Nothing Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Return If(propertySymbol.Type IsNot Nothing,
SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(propertySymbol.Type)),
SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)())
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInExpressionStatement(expressionStatement As ExpressionStatementSyntax) As IEnumerable(Of TypeInferenceInfo)
If expressionStatement.Expression.IsKind(SyntaxKind.InvocationExpression) Then
Return InferTypeInCallStatement()
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInCallStatement() As IEnumerable(Of TypeInferenceInfo)
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Void)))
End Function
Private Function InferTypeInForEachStatement(forEachStatement As ForEachStatementSyntax,
Optional expressionOpt As ExpressionSyntax = Nothing,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If expressionOpt Is forEachStatement.Expression OrElse previousToken = forEachStatement.InKeyword Then
If TypeOf forEachStatement.ControlVariable Is VariableDeclaratorSyntax Then
Dim declarator = DirectCast(forEachStatement.ControlVariable, VariableDeclaratorSyntax)
If TypeOf declarator.AsClause Is SimpleAsClauseSyntax Then
Dim variableTypes = GetTypes(DirectCast(declarator.AsClause, SimpleAsClauseSyntax).Type, objectAsDefault:=True)
Dim type = Me.Compilation.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T)
Return variableTypes.Select(Function(t) New TypeInferenceInfo(type.Construct(t.InferredType)))
End If
ElseIf TypeOf forEachStatement.ControlVariable Is SimpleNameSyntax Then
Dim type = Me.Compilation.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T)
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(type.Construct(Compilation.GetSpecialType(SpecialType.System_Object))))
End If
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInForStatement(forStatement As ForStatementSyntax,
Optional expressionOpt As ExpressionSyntax = Nothing,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If (expressionOpt IsNot Nothing AndAlso expressionOpt IsNot forStatement.ControlVariable) OrElse
previousToken = forStatement.ToKeyword OrElse
previousToken = forStatement.EqualsToken Then
If TypeOf forStatement.ControlVariable Is VariableDeclaratorSyntax Then
Dim declarator = DirectCast(forStatement.ControlVariable, VariableDeclaratorSyntax)
If TypeOf declarator.AsClause Is SimpleAsClauseSyntax Then
Return GetTypes(DirectCast(declarator.AsClause, SimpleAsClauseSyntax).Type, objectAsDefault:=True)
End If
End If
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInForStepClause(forStepClause As ForStepClauseSyntax, Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
' TODO(cyrusn): Potentially infer a different type based on the type of the variable
' being foreach-ed over.
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Int32)))
End Function
Private Function InferTypeInIfOrElseIfStatement(Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Boolean)))
End Function
Private Function InferTypeInLambda(lambda As ExpressionSyntax, Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If lambda Is Nothing Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
' Func<int,string> = i => Foo();
Dim lambdaTypes = GetTypes(lambda).Where(IsUsableTypeFunc)
If lambdaTypes.IsEmpty() Then
lambdaTypes = InferTypes(lambda)
End If
Return lambdaTypes.Where(Function(t) t.InferredType.TypeKind = TypeKind.Delegate).SelectMany(Function(t) t.InferredType.GetMembers(WellKnownMemberNames.DelegateInvokeName).OfType(Of IMethodSymbol)().Select(Function(m) New TypeInferenceInfo(m.ReturnType)))
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeForReturnStatement(returnStatement As ReturnStatementSyntax, Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
' If we're position based, we must have gotten the Return token
If previousToken <> Nothing AndAlso previousToken.Kind <> SyntaxKind.ReturnKeyword Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
' If we're in a lambda, then use the return type of the lambda to figure out what to
' infer. i.e. Func<int,string> f = i => { return Foo(); }
Dim lambda = returnStatement.GetAncestorsOrThis(Of ExpressionSyntax)().FirstOrDefault(
Function(e) TypeOf e Is MultiLineLambdaExpressionSyntax OrElse
TypeOf e Is SingleLineLambdaExpressionSyntax)
If lambda IsNot Nothing Then
Return InferTypeInLambda(lambda)
End If
If returnStatement.GetAncestorOrThis(Of MethodBlockBaseSyntax) Is Nothing Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)
End If
Dim memberSymbol = GetDeclaredMemberSymbolFromOriginalSemanticModel(SemanticModel, returnStatement.GetAncestor(Of MethodBlockBaseSyntax).BlockStatement)
Dim memberMethod = TryCast(memberSymbol, IMethodSymbol)
If memberMethod IsNot Nothing Then
If memberMethod.IsAsync Then
Dim typeArguments = memberMethod.ReturnType.GetTypeArguments()
Dim taskOfT = Me.Compilation.TaskOfTType()
Return If(
taskOfT IsNot Nothing AndAlso memberMethod.ReturnType.OriginalDefinition Is taskOfT AndAlso typeArguments.Any(),
SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(typeArguments.First())),
SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo))
Else
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(memberMethod.ReturnType))
End If
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInYieldStatement(yieldStatement As YieldStatementSyntax, Optional previoustoken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
' If we're position based, we must be after the Yield token
If previoustoken <> Nothing AndAlso Not previoustoken.IsKind(SyntaxKind.YieldKeyword) Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)
End If
If yieldStatement.GetAncestorOrThis(Of MethodBlockBaseSyntax) Is Nothing Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)
End If
Dim memberSymbol = GetDeclaredMemberSymbolFromOriginalSemanticModel(SemanticModel, yieldStatement.GetAncestor(Of MethodBlockBaseSyntax).BlockStatement)
Dim memberType = If(TryCast(memberSymbol, IMethodSymbol)?.ReturnType,
TryCast(memberSymbol, IPropertySymbol)?.Type)
If TypeOf memberType Is INamedTypeSymbol Then
If memberType.OriginalDefinition.SpecialType = SpecialType.System_Collections_Generic_IEnumerable_T OrElse
memberType.OriginalDefinition.SpecialType = SpecialType.System_Collections_Generic_IEnumerator_T Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(DirectCast(memberType, INamedTypeSymbol).TypeArguments(0)))
End If
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)
End Function
Private Function GetDeclaredMemberSymbolFromOriginalSemanticModel(currentSemanticModel As SemanticModel, declarationInCurrentTree As DeclarationStatementSyntax) As ISymbol
Dim originalSemanticModel = currentSemanticModel.GetOriginalSemanticModel()
Dim declaration As DeclarationStatementSyntax
If currentSemanticModel.IsSpeculativeSemanticModel Then
Dim tokenInOriginalTree = originalSemanticModel.SyntaxTree.GetRoot(CancellationToken).FindToken(currentSemanticModel.OriginalPositionForSpeculation)
declaration = tokenInOriginalTree.GetAncestor(Of DeclarationStatementSyntax)
Else
declaration = declarationInCurrentTree
End If
Return originalSemanticModel.GetDeclaredSymbol(declaration, CancellationToken)
End Function
Private Function InferTypeInSelectStatement(switchStatementSyntax As SelectStatementSyntax, Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
' Use the first case label to determine the return type.
If TypeOf switchStatementSyntax.Parent Is SelectBlockSyntax Then
Dim firstCase = DirectCast(switchStatementSyntax.Parent, SelectBlockSyntax).CaseBlocks.SelectMany(Function(c) c.CaseStatement.Cases).OfType(Of SimpleCaseClauseSyntax).FirstOrDefault()
If firstCase IsNot Nothing Then
Return GetTypes(firstCase.Value)
End If
End If
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Int32)))
End Function
Private Function InferTypeInTernaryConditionalExpression(conditional As TernaryConditionalExpressionSyntax,
Optional expressionOpt As ExpressionSyntax = Nothing,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If previousToken <> Nothing AndAlso previousToken.Kind <> SyntaxKind.OpenParenToken AndAlso previousToken.Kind <> SyntaxKind.CommaToken Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
ElseIf previousToken = conditional.OpenParenToken Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Boolean)))
ElseIf previousToken = conditional.FirstCommaToken Then
Return GetTypes(conditional.WhenTrue)
ElseIf previousToken = conditional.SecondCommaToken Then
Return GetTypes(conditional.WhenFalse)
End If
If conditional.Condition Is expressionOpt Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Boolean)))
Else
Return If(conditional.WhenTrue Is expressionOpt, GetTypes(conditional.WhenFalse), GetTypes(conditional.WhenTrue))
End If
End Function
Private Function InferTypeInThrowStatement(Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
' If we're not the Throw token, there's nothing to do
If previousToken <> Nothing AndAlso previousToken.Kind <> SyntaxKind.ThrowKeyword Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.ExceptionType))
End Function
Private Function InferTypeInUnaryExpression(unaryExpressionSyntax As UnaryExpressionSyntax, Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
Select Case unaryExpressionSyntax.Kind
Case SyntaxKind.UnaryPlusExpression, SyntaxKind.UnaryMinusExpression
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Int32)))
Case SyntaxKind.NotExpression
Dim types = InferTypes(unaryExpressionSyntax)
If types.Any(Function(t) t.InferredType.IsNumericType) Then
Return types.Where(Function(t) t.InferredType.IsNumericType)
End If
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Boolean)))
Case SyntaxKind.AddressOfExpression
Return InferTypes(unaryExpressionSyntax)
End Select
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeInUsingStatement(usingStatement As UsingStatementSyntax, Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_IDisposable)))
End Function
Private Function InferTypeInVariableDeclarator(expression As ExpressionSyntax,
variableDeclarator As VariableDeclaratorSyntax,
Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
If variableDeclarator.AsClause IsNot Nothing Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End If
Return GetTypes(variableDeclarator.AsClause.Type)
End Function
Private Function InferTypeInWhileStatement(Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Boolean)))
End Function
Private Function InferTypeInWhileOrUntilClause(Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(Me.Compilation.GetSpecialType(SpecialType.System_Boolean)))
End Function
Private Function InferTypeInMemberAccessExpression(
memberAccessExpression As MemberAccessExpressionSyntax,
Optional expressionOpt As ExpressionSyntax = Nothing,
Optional previousToken As SyntaxToken? = Nothing) As IEnumerable(Of TypeInferenceInfo)
' We need to be on the right of the dot to infer an appropriate type for
' the member access expression. i.e. if we have "Foo.Bar" then we can
' def infer what the type of 'Bar' should be (it's whatever type we infer
' for 'Foo.Bar' itself. However, if we're on 'Foo' then we can't figure
' out anything about its type.
If previousToken <> Nothing Then
If previousToken.Value <> memberAccessExpression.OperatorToken Then
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)
End If
Return InferTypes(memberAccessExpression)
Else
' If we're on the left side of a dot, it's possible in a few cases
' to figure out what type we should be. Specifically, if we have
'
' await foo.ConfigureAwait()
'
' then we can figure out what 'foo' should be based on teh await
' context.
If expressionOpt Is memberAccessExpression.Expression Then
Return InferTypeForExpressionOfMemberAccessExpression(memberAccessExpression)
End If
Return InferTypes(memberAccessExpression)
End If
End Function
Private Function InferTypeForExpressionOfMemberAccessExpression(memberAccessExpression As MemberAccessExpressionSyntax) As IEnumerable(Of TypeInferenceInfo)
Dim name = memberAccessExpression.Name.Identifier.Value
If name.Equals(NameOf(Task(Of Integer).ConfigureAwait)) AndAlso
memberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression) AndAlso
memberAccessExpression.Parent.IsParentKind(SyntaxKind.AwaitExpression) Then
Return InferTypes(DirectCast(memberAccessExpression.Parent, ExpressionSyntax))
ElseIf name.Equals(NameOf(Task(Of Integer).ContinueWith)) Then
' foo.ContinueWith(...)
' We want to infer Task<T>. For now, we'll just do Task<object>,
' in the future it would be nice to figure out the actual result
' type based on the argument to ContinueWith.
Dim taskOfT = Me.Compilation.TaskOfTType()
If taskOfT IsNot Nothing Then
Return SpecializedCollections.SingletonEnumerable(
New TypeInferenceInfo(taskOfT.Construct(Me.Compilation.ObjectType)))
End If
ElseIf name.Equals(NameOf(Enumerable.Select)) OrElse
name.Equals(NameOf(Enumerable.Where)) Then
Dim ienumerableType = Me.Compilation.IEnumerableOfTType()
' foo.Select
' We want to infer IEnumerable<T>. We can try to figure out what
' T if we get a delegate as the first argument to Select/Where.
If ienumerableType IsNot Nothing AndAlso memberAccessExpression.IsParentKind(SyntaxKind.InvocationExpression) Then
Dim invocation = DirectCast(memberAccessExpression.Parent, InvocationExpressionSyntax)
If invocation.ArgumentList.Arguments.Count > 0 AndAlso
TypeOf invocation.ArgumentList.Arguments(0) Is SimpleArgumentSyntax Then
Dim argumentExpression = DirectCast(invocation.ArgumentList.Arguments(0), SimpleArgumentSyntax).Expression
Dim argumentTypes = GetTypes(argumentExpression)
Dim delegateType = argumentTypes.FirstOrDefault().InferredType.GetDelegateType(Me.Compilation)
Dim typeArg = If(delegateType?.TypeArguments.Length > 0,
delegateType.TypeArguments(0),
Me.Compilation.ObjectType)
If delegateType Is Nothing OrElse IsUnusableType(typeArg) Then
If TypeOf argumentExpression Is LambdaExpressionSyntax Then
typeArg = If(InferTypeForFirstParameterOfLambda(DirectCast(argumentExpression, LambdaExpressionSyntax)),
Me.Compilation.ObjectType)
End If
End If
Return SpecializedCollections.SingletonEnumerable(
New TypeInferenceInfo(ienumerableType.Construct(typeArg)))
End If
End If
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function InferTypeForFirstParameterOfLambda(
lambda As LambdaExpressionSyntax) As ITypeSymbol
If lambda.SubOrFunctionHeader.ParameterList.Parameters.Count > 0 Then
Dim parameter = lambda.SubOrFunctionHeader.ParameterList.Parameters(0)
Dim parameterName = parameter.Identifier.Identifier.ValueText
If TypeOf lambda Is SingleLineLambdaExpressionSyntax Then
Dim singleLine = DirectCast(lambda, SingleLineLambdaExpressionSyntax)
Return InferTypeForFirstParameterOfLambda(parameterName, singleLine.Body)
ElseIf TypeOf lambda Is MultiLineLambdaExpressionSyntax Then
Dim multiLine = DirectCast(lambda, MultiLineLambdaExpressionSyntax)
For Each statement In multiLine.Statements
Dim type = InferTypeForFirstParameterOfLambda(parameterName, statement)
If type IsNot Nothing Then
Return type
End If
Next
End If
End If
Return Nothing
End Function
Private Function InferTypeForFirstParameterOfLambda(
parameterName As String, node As SyntaxNode) As ITypeSymbol
If node.IsKind(SyntaxKind.IdentifierName) Then
Dim identifier = DirectCast(node, IdentifierNameSyntax)
If CaseInsensitiveComparison.Equals(parameterName, identifier.Identifier.ValueText) AndAlso
SemanticModel.GetSymbolInfo(identifier.Identifier).Symbol?.Kind = SymbolKind.Parameter Then
Return InferTypes(identifier).FirstOrDefault().InferredType
End If
Else
For Each child In node.ChildNodesAndTokens()
If child.IsNode Then
Dim type = InferTypeForFirstParameterOfLambda(parameterName, child.AsNode)
If type IsNot Nothing Then
Return type
End If
End If
Next
End If
Return Nothing
End Function
Private Function InferTypeInNamedFieldInitializer(initializer As NamedFieldInitializerSyntax, Optional previousToken As SyntaxToken = Nothing) As IEnumerable(Of TypeInferenceInfo)
Dim right = SemanticModel.GetTypeInfo(initializer.Name).Type
If right IsNot Nothing AndAlso TypeOf right IsNot IErrorTypeSymbol Then
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(right))
End If
Return SpecializedCollections.SingletonEnumerable(New TypeInferenceInfo(SemanticModel.GetTypeInfo(initializer.Expression).Type))
End Function
Public Function InferTypeInCaseStatement(caseStatement As CaseStatementSyntax) As IEnumerable(Of TypeInferenceInfo)
Dim selectBlock = caseStatement.GetAncestor(Of SelectBlockSyntax)()
If selectBlock IsNot Nothing Then
Return GetTypes(selectBlock.SelectStatement.Expression)
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)()
End Function
Private Function GetArgumentListIndex(argumentList As ArgumentListSyntax, previousToken As SyntaxToken) As Integer
If previousToken = argumentList.OpenParenToken Then
Return 0
End If
Dim index = argumentList.Arguments.GetWithSeparators().IndexOf(previousToken)
Return If(index >= 0, (index + 1) \ 2, -1)
End Function
Private Function InferTypeInCollectionInitializerExpression(
collectionInitializer As CollectionInitializerSyntax,
Optional expression As ExpressionSyntax = Nothing,
Optional previousToken As SyntaxToken? = Nothing) As IEnumerable(Of TypeInferenceInfo)
' New List(Of T) From { x }
If expression IsNot Nothing Then
Dim expressionAddMethodSymbols = SemanticModel.GetCollectionInitializerSymbolInfo(expression).GetAllSymbols()
Dim expressionAddMethodParameterTypes = expressionAddMethodSymbols _
.Where(Function(a) DirectCast(a, IMethodSymbol).Parameters.Count() = 1) _
.Select(Function(a) New TypeInferenceInfo(DirectCast(a, IMethodSymbol).Parameters(0).Type))
If expressionAddMethodParameterTypes.Any() Then
Return expressionAddMethodParameterTypes
End If
End If
' New Dictionary<K,V> From { { x, ... } }
Dim parameterIndex = If(previousToken.HasValue,
collectionInitializer.Initializers.GetSeparators().ToList().IndexOf(previousToken.Value) + 1,
collectionInitializer.Initializers.IndexOf(expression))
Dim initializerAddMethodSymbols = SemanticModel.GetCollectionInitializerSymbolInfo(collectionInitializer).GetAllSymbols()
Dim initializerAddMethodParameterTypes = initializerAddMethodSymbols _
.Where(Function(a) DirectCast(a, IMethodSymbol).Parameters.Count() = collectionInitializer.Initializers.Count) _
.Select(Function(a) DirectCast(a, IMethodSymbol).Parameters.ElementAtOrDefault(parameterIndex)?.Type) _
.WhereNotNull() _
.Select(Function(a) New TypeInferenceInfo(a))
If initializerAddMethodParameterTypes.Any() Then
Return initializerAddMethodParameterTypes
End If
Return SpecializedCollections.EmptyEnumerable(Of TypeInferenceInfo)
End Function
End Class
End Class
End Namespace | {
"content_hash": "139ac719e8073283b972c76fdd315f9d",
"timestamp": "",
"source": "github",
"line_count": 1033,
"max_line_length": 271,
"avg_line_length": 66.26331074540174,
"alnum_prop": 0.6386851716581446,
"repo_name": "yeaicc/roslyn",
"id": "9edca4167d799a0242901cb814452b9e76a679ec",
"size": "68452",
"binary": false,
"copies": "4",
"ref": "refs/heads/master",
"path": "src/Workspaces/VisualBasic/Portable/LanguageServices/VisualBasicTypeInferenceService.TypeInferrer.vb",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "14520"
},
{
"name": "C#",
"bytes": "80812337"
},
{
"name": "C++",
"bytes": "6311"
},
{
"name": "F#",
"bytes": "421"
},
{
"name": "Groovy",
"bytes": "7012"
},
{
"name": "Makefile",
"bytes": "3368"
},
{
"name": "PowerShell",
"bytes": "25676"
},
{
"name": "Shell",
"bytes": "7446"
},
{
"name": "Visual Basic",
"bytes": "61233287"
}
],
"symlink_target": ""
} |
package org.intellij.xquery.completion;
import com.intellij.codeInsight.completion.CompletionType;
import org.intellij.xquery.BaseFunctionalTestCase;
import java.util.List;
public abstract class BaseCollectorTest extends BaseFunctionalTestCase {
protected List<String> getCompletionProposals() {
return getCompletionProposals(getTestName() + ".xq");
}
protected List<String> getCompletionProposals(String additionalPath) {
return getCompletionProposals(getTestName() + ".xq", additionalPath);
}
private List<String> getCompletionProposals(String... additionalPaths) {
myFixture.configureByFiles(additionalPaths);
myFixture.complete(CompletionType.BASIC, 1);
return myFixture.getLookupElementStrings();
}
protected void testInsertHandler(char completionChar) {
testInsertHandler(null, completionChar);
}
protected void testInsertHandler(String typedText, char completionChar) {
myFixture.configureByFile(getTestName() + ".xq");
myFixture.completeBasic();
if (typedText != null) {
myFixture.type(typedText);
}
myFixture.type(completionChar);
myFixture.checkResultByFile(getTestName() + "_after.xq");
}
}
| {
"content_hash": "a644dd60e38f9f63a5539f707954ca0b",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 77,
"avg_line_length": 30.78048780487805,
"alnum_prop": 0.7131537242472267,
"repo_name": "ligasgr/intellij-xquery",
"id": "f9beb0f2d6c7d466105299013fb99ab913d05f31",
"size": "1935",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/testFunctional/java/org/intellij/xquery/completion/BaseCollectorTest.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "18427"
},
{
"name": "Java",
"bytes": "3994896"
},
{
"name": "Lex",
"bytes": "51063"
},
{
"name": "XQuery",
"bytes": "126191"
}
],
"symlink_target": ""
} |
<% if (fontfaceStyles) { %>
<% if (fontSrc1 && embed.length) { %>
@font-face {
font-family:"<%= fontFamilyName %>";
src:<%= fontSrc1 %>;
font-weight:normal;
font-style:normal;
}
<% } %>@font-face {
font-family:"<%= fontFamilyName %>";<% if (fontSrc1) { %>
src:<%= fontSrc1 %>;<% }%>
src:<%= fontSrc2 %>;
font-weight:normal;
font-style:normal;
}
<% } %>
/*
.octicon is optimized for 16px.
.mega-octicon is optimized for 32px but can be used larger.
*/
.octicon, .mega-octicon {
font: normal normal normal 16px/1 <%= fontFamilyName %>;
display: inline-block;
text-decoration: none;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
speak: none;
}
.mega-octicon { font-size: 32px; }
<% if (iconsStyles) { for (var glyphIdx = 0; glyphIdx < glyphs.length; glyphIdx++) { %>
.<%= classPrefix %><%= glyphs[glyphIdx] %>:before { content:"\<%= codepoints[glyphIdx] %>"; }
<% } } %>
| {
"content_hash": "2e0f58d25983cd601beac3520b5fe843",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 93,
"avg_line_length": 26.325,
"alnum_prop": 0.6258309591642925,
"repo_name": "Altius/soda",
"id": "6451ee7b09fd82588fe1a69ef0bad8d0ed968be7",
"size": "1053",
"binary": false,
"copies": "5",
"ref": "refs/heads/master",
"path": "octicons/lib/font/template.css",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "22245"
},
{
"name": "HTML",
"bytes": "8284"
},
{
"name": "JavaScript",
"bytes": "82700"
},
{
"name": "Python",
"bytes": "51630"
},
{
"name": "Shell",
"bytes": "72"
}
],
"symlink_target": ""
} |
<!--
Copyright (c) 2014. Knowledge Media Institute - The Open University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
NodeRed node with support for BLE interaction
@author <a href="mailto:carlos.pedrinaci@open.ac.uk">Carlos Pedrinaci</a> (KMi - The Open University)
-->
<script type="text/x-red" data-template-name="scan ble">
<!-- data-template-name identifies the node type this is for -->
<!-- Each of the following divs creates a field in the edit dialog. -->
<!-- Generally, there should be an input for each property of the node. -->
<!-- The for and id attributes identify the corresponding property -->
<!-- (with the 'node-input-' prefix). -->
<!-- The available icon classes are defined Twitter Bootstrap glyphicons -->
<!-- Limit to list of UUIDs -->
<div class="form-row">
<label for="node-input-uuids"><i class="fa fa-tasks"></i> Restrict by Service UUID</label>
<input type="text" id="node-input-uuids" placeholder="Comma separated list">
</div>
<div class="form-tips">Leave empty for scanning all devices offering any service.</div>
<!-- Allow duplicates -->
<div class="form-row">
<label> </label>
<input type="checkbox" id="node-input-duplicates" style="display: inline-block; width: auto; vertical-align: top;">
<label for="node-input-duplicates" style="width: 70%;">Allow duplicates?</label>
</div>
<!-- By convention, most nodes have a 'name' property. The following div -->
<!-- provides the necessary field. Should always be the last option -->
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<!-- Next, some simple help text is provided for the node. -->
<script type="text/x-red" data-help-name="scan ble">
<p>This node allows scanning for BLE devices, restricted if necessary by the services they offer.</p>
<p>This node will generate one message per BLE device detected according to the node configuration.</p>
<p>The node will also generate events according to the status of the bluetooth interface when it changes. Those status messages include:</p>
<ul>
<li>Whether there was an <b>msg.error</b></li>
<li>Whether there was a <b>msg.stateChange</b></li>
<li>The current <b>msg.state</b> of the interface</li>
<li>The <b>msg.payload</b> will be empty in this case to prevent mistreating status messages as BLE detection messages.</li>
</ul>
<p>The node will begin scanning after it is deployed, and will not stop until it is deployed again. It can be useful to turn on and off scanning to conserve energy and force scan requests to be sent triggering devices to respond. To control scanning, you may send a message containing <code>msg.payload.scan=false</code> to turn off scanning, and <code>msg.payload.scan=true</code> to turn it on.</p>
<p>The output will contain in <b>msg.payload</b> the <i>peripheral uuid</i> and the <i>local name</i> of the BLE device detected.</p>
<p>Additionally the node will set the following values:</p>
<ul>
<li>Sets the <b>msg.peripheralUuid</b> to the <i>peripheral uuid</i> of the BLE device detected.</li>
<li>Sets the <b>msg.rssi</b> to the <i>received signal strength indicator (RSSI)</i> of the BLE device detected.</li>
<li>Sets <b>msg.localName</b> to the name of the device if any.</li>
<li>Sets <b>msg.detectedAt</b> to the moment the device was detected on milliseconds since 1 Jan 1970.</li>
<li>Sets <b>msg.detectedBy</b> to the name of the machine that detected the BLE device.</li>
<li>Sets <b>msg.advertisement</b> to the full advertisement of the BLE device (see Noble documentation).</li>
</ul>
<p>If the device follows the iBeacon specification, the message will also contain the following properties</p>
<ul>
<li>Sets the <b>msg.manufacturerUuid</b> to the <i>uuid</i> of the manufacturer of the BLE device detected.</li>
<li>Sets the <b>msg.major</b> to the <i>major number</i> of the manufacturer of the BLE device detected.</li>
<li>Sets the <b>msg.minor</b> to the <i>minor number</i> of the manufacturer of the BLE device detected.</li>
<li>Sets the <b>msg.measuredPower</b> to the <i>measured power at one meter</i> of the BLE device detected.</li>
<li>Sets the <b>msg.accuracy</b> to the <i>accuracy</i> estimated for this measurement.</li>
<li>Sets the <b>msg.proximity</b> to the <i>proximity</i> guessed for this device. The value will be one of: 'unknown', 'immediate', 'near', 'far' </li>
</ul>
</script>
<!-- Finally, the node type is registered along with all of its properties -->
<!-- The example below shows a small subset of the properties that can be set-->
<script type="text/javascript">
RED.nodes.registerType('scan ble',{
category: 'advanced', // the palette category
color:"#C0DEED",
defaults: { // defines the editable properties of the node
uuids: {value:"", validate:RED.validators.regex(/^([a-fA-F0-9]{32}){0,1}(?:,[a-fA-F0-9]{32})*$/)},
duplicates: {value:false},
name: {value:""}
},
inputs:1, // set the number of inputs - only 0 or 1
outputs:1, // set the number of outputs - 0 to n
// set the icon (held in icons dir below where you save the node)
icon: "bluetooth.png", // saved in icons/myicon.png
label: function() { // sets the default label contents
if (this.name) {
return this.name;
} else {
return "Scan BLEs";
}
},
labelStyle: function() { // sets the class to apply to the label
return this.name ? "node_label_italic" : "";
}
});
</script>
| {
"content_hash": "e7f305acce77bf2a34fad0729d4ae626",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 406,
"avg_line_length": 54.74166666666667,
"alnum_prop": 0.6454559293652001,
"repo_name": "kmi/node-red-contrib-noble",
"id": "0a2fb14980ec8b921814db349e668042b1803224",
"size": "6569",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "noble/node-red-contrib-noble.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "6569"
},
{
"name": "JavaScript",
"bytes": "7267"
}
],
"symlink_target": ""
} |
using System;
using System.Data;
namespace Nohros.Data
{
/// <summary>
/// An implementation of the <see cref="IDataField{T}"/> that maps a
/// <see cref="Double"/> data type to a concrete <see cref="IDataField{T}"/>
/// object.
/// </summary>
public class DataFieldDouble: DataField<double>
{
/// <summary>
/// Initializes a new instance of the <see cref="DataFieldDouble"/> class by
/// using the specified field name and position.
/// </summary>
/// <param name="name">
/// THe name of the field.
/// </param>
/// <param name="position">
/// The zero based ordinal position of the field within an
/// <see cref="IDataReader"/>.
/// </param>
public DataFieldDouble(string name, int position)
: base(name, position) {
}
/// <summary>
/// Gets the value of the field as a <see cref="Double"/>
/// </summary>
/// <param name="reader">
/// A <see cref="IDataReader"/> that can be used to extract a
/// <see cref="Double"/> at the field position.
/// </param>
public override double GetValue(IDataReader reader) {
return reader.GetDouble(position);
}
}
}
| {
"content_hash": "d74479eb3e3f085f80adb3d157b06926",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 80,
"avg_line_length": 31.025641025641026,
"alnum_prop": 0.5859504132231405,
"repo_name": "nohros/must",
"id": "3f88a623662e4770e3eda50d46e50dbc91cd2203",
"size": "1212",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/base/common/data/readers/DataFieldDouble.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP",
"bytes": "588"
},
{
"name": "C#",
"bytes": "1940593"
},
{
"name": "CSS",
"bytes": "18259"
},
{
"name": "JavaScript",
"bytes": "10"
},
{
"name": "Protocol Buffer",
"bytes": "342291"
},
{
"name": "Python",
"bytes": "4365"
},
{
"name": "SQLPL",
"bytes": "1904"
}
],
"symlink_target": ""
} |
class AddDeletedAtToEvents < ActiveRecord::Migration[5.2]
def change
add_column :events, :deleted_at, :datetime
add_index :events, :deleted_at
end
end
| {
"content_hash": "11b19b88cc742b78b61d03d6fa07b113",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 57,
"avg_line_length": 27.166666666666668,
"alnum_prop": 0.7239263803680982,
"repo_name": "hackclub/api",
"id": "4e80702cef0cac767cca9e4f3e951240dc807d23",
"size": "194",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "db/migrate/20180327190842_add_deleted_at_to_events.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "81"
},
{
"name": "Dockerfile",
"bytes": "913"
},
{
"name": "HTML",
"bytes": "12138"
},
{
"name": "Procfile",
"bytes": "100"
},
{
"name": "Ruby",
"bytes": "657422"
},
{
"name": "Shell",
"bytes": "1631"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="utf-8"?>
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="kernel.root_dir">/var/www/Jenkins/app</parameter>
<parameter key="kernel.environment">test</parameter>
<parameter key="kernel.debug">true</parameter>
<parameter key="kernel.name">app</parameter>
<parameter key="kernel.cache_dir">/var/www/Jenkins/app/cache/test</parameter>
<parameter key="kernel.logs_dir">/var/www/Jenkins/app/logs</parameter>
<parameter key="kernel.bundles" type="collection">
<parameter key="FrameworkBundle">Symfony\Bundle\FrameworkBundle\FrameworkBundle</parameter>
<parameter key="SecurityBundle">Symfony\Bundle\SecurityBundle\SecurityBundle</parameter>
<parameter key="TwigBundle">Symfony\Bundle\TwigBundle\TwigBundle</parameter>
<parameter key="MonologBundle">Symfony\Bundle\MonologBundle\MonologBundle</parameter>
<parameter key="SwiftmailerBundle">Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle</parameter>
<parameter key="AsseticBundle">Symfony\Bundle\AsseticBundle\AsseticBundle</parameter>
<parameter key="DoctrineBundle">Doctrine\Bundle\DoctrineBundle\DoctrineBundle</parameter>
<parameter key="SensioFrameworkExtraBundle">Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle</parameter>
<parameter key="AcmeDemoBundle">Acme\DemoBundle\AcmeDemoBundle</parameter>
<parameter key="WebProfilerBundle">Symfony\Bundle\WebProfilerBundle\WebProfilerBundle</parameter>
<parameter key="SensioDistributionBundle">Sensio\Bundle\DistributionBundle\SensioDistributionBundle</parameter>
<parameter key="SensioGeneratorBundle">Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle</parameter>
</parameter>
<parameter key="kernel.charset">UTF-8</parameter>
<parameter key="kernel.container_class">appTestDebugProjectContainer</parameter>
<parameter key="database_driver">pdo_mysql</parameter>
<parameter key="database_host">127.0.0.1</parameter>
<parameter key="database_port">null</parameter>
<parameter key="database_name">symfony</parameter>
<parameter key="database_user">root</parameter>
<parameter key="database_password">null</parameter>
<parameter key="mailer_transport">smtp</parameter>
<parameter key="mailer_host">127.0.0.1</parameter>
<parameter key="mailer_user">null</parameter>
<parameter key="mailer_password">null</parameter>
<parameter key="locale">en</parameter>
<parameter key="secret">ThisTokenIsNotSoSecretChangeIt</parameter>
<parameter key="debug_toolbar">true</parameter>
<parameter key="debug_redirects">false</parameter>
<parameter key="use_assetic_controller">true</parameter>
<parameter key="controller_resolver.class">Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver</parameter>
<parameter key="controller_name_converter.class">Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser</parameter>
<parameter key="response_listener.class">Symfony\Component\HttpKernel\EventListener\ResponseListener</parameter>
<parameter key="streamed_response_listener.class">Symfony\Component\HttpKernel\EventListener\StreamedResponseListener</parameter>
<parameter key="locale_listener.class">Symfony\Component\HttpKernel\EventListener\LocaleListener</parameter>
<parameter key="event_dispatcher.class">Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher</parameter>
<parameter key="http_kernel.class">Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel</parameter>
<parameter key="filesystem.class">Symfony\Component\Filesystem\Filesystem</parameter>
<parameter key="cache_warmer.class">Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate</parameter>
<parameter key="cache_clearer.class">Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer</parameter>
<parameter key="file_locator.class">Symfony\Component\HttpKernel\Config\FileLocator</parameter>
<parameter key="uri_signer.class">Symfony\Component\HttpKernel\UriSigner</parameter>
<parameter key="request_stack.class">Symfony\Component\HttpFoundation\RequestStack</parameter>
<parameter key="fragment.handler.class">Symfony\Component\HttpKernel\Fragment\FragmentHandler</parameter>
<parameter key="fragment.renderer.inline.class">Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer</parameter>
<parameter key="fragment.renderer.hinclude.class">Symfony\Bundle\FrameworkBundle\Fragment\ContainerAwareHIncludeFragmentRenderer</parameter>
<parameter key="fragment.renderer.hinclude.global_template">null</parameter>
<parameter key="fragment.renderer.esi.class">Symfony\Component\HttpKernel\Fragment\EsiFragmentRenderer</parameter>
<parameter key="fragment.path">/_fragment</parameter>
<parameter key="translator.class">Symfony\Bundle\FrameworkBundle\Translation\Translator</parameter>
<parameter key="translator.identity.class">Symfony\Component\Translation\IdentityTranslator</parameter>
<parameter key="translator.selector.class">Symfony\Component\Translation\MessageSelector</parameter>
<parameter key="translation.loader.php.class">Symfony\Component\Translation\Loader\PhpFileLoader</parameter>
<parameter key="translation.loader.yml.class">Symfony\Component\Translation\Loader\YamlFileLoader</parameter>
<parameter key="translation.loader.xliff.class">Symfony\Component\Translation\Loader\XliffFileLoader</parameter>
<parameter key="translation.loader.po.class">Symfony\Component\Translation\Loader\PoFileLoader</parameter>
<parameter key="translation.loader.mo.class">Symfony\Component\Translation\Loader\MoFileLoader</parameter>
<parameter key="translation.loader.qt.class">Symfony\Component\Translation\Loader\QtFileLoader</parameter>
<parameter key="translation.loader.csv.class">Symfony\Component\Translation\Loader\CsvFileLoader</parameter>
<parameter key="translation.loader.res.class">Symfony\Component\Translation\Loader\IcuResFileLoader</parameter>
<parameter key="translation.loader.dat.class">Symfony\Component\Translation\Loader\IcuDatFileLoader</parameter>
<parameter key="translation.loader.ini.class">Symfony\Component\Translation\Loader\IniFileLoader</parameter>
<parameter key="translation.loader.json.class">Symfony\Component\Translation\Loader\JsonFileLoader</parameter>
<parameter key="translation.dumper.php.class">Symfony\Component\Translation\Dumper\PhpFileDumper</parameter>
<parameter key="translation.dumper.xliff.class">Symfony\Component\Translation\Dumper\XliffFileDumper</parameter>
<parameter key="translation.dumper.po.class">Symfony\Component\Translation\Dumper\PoFileDumper</parameter>
<parameter key="translation.dumper.mo.class">Symfony\Component\Translation\Dumper\MoFileDumper</parameter>
<parameter key="translation.dumper.yml.class">Symfony\Component\Translation\Dumper\YamlFileDumper</parameter>
<parameter key="translation.dumper.qt.class">Symfony\Component\Translation\Dumper\QtFileDumper</parameter>
<parameter key="translation.dumper.csv.class">Symfony\Component\Translation\Dumper\CsvFileDumper</parameter>
<parameter key="translation.dumper.ini.class">Symfony\Component\Translation\Dumper\IniFileDumper</parameter>
<parameter key="translation.dumper.json.class">Symfony\Component\Translation\Dumper\JsonFileDumper</parameter>
<parameter key="translation.dumper.res.class">Symfony\Component\Translation\Dumper\IcuResFileDumper</parameter>
<parameter key="translation.extractor.php.class">Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor</parameter>
<parameter key="translation.loader.class">Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader</parameter>
<parameter key="translation.extractor.class">Symfony\Component\Translation\Extractor\ChainExtractor</parameter>
<parameter key="translation.writer.class">Symfony\Component\Translation\Writer\TranslationWriter</parameter>
<parameter key="property_accessor.class">Symfony\Component\PropertyAccess\PropertyAccessor</parameter>
<parameter key="debug.errors_logger_listener.class">Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener</parameter>
<parameter key="debug.event_dispatcher.class">Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher</parameter>
<parameter key="debug.stopwatch.class">Symfony\Component\Stopwatch\Stopwatch</parameter>
<parameter key="debug.container.dump">/var/www/Jenkins/app/cache/test/appTestDebugProjectContainer.xml</parameter>
<parameter key="debug.controller_resolver.class">Symfony\Component\HttpKernel\Controller\TraceableControllerResolver</parameter>
<parameter key="debug.debug_handlers_listener.class">Symfony\Component\HttpKernel\EventListener\DebugHandlersListener</parameter>
<parameter key="kernel.secret">ThisTokenIsNotSoSecretChangeIt</parameter>
<parameter key="kernel.http_method_override">true</parameter>
<parameter key="kernel.trusted_hosts" type="collection"/>
<parameter key="kernel.trusted_proxies" type="collection"/>
<parameter key="kernel.default_locale">en</parameter>
<parameter key="test.client.class">Symfony\Bundle\FrameworkBundle\Client</parameter>
<parameter key="test.client.parameters" type="collection"/>
<parameter key="test.client.history.class">Symfony\Component\BrowserKit\History</parameter>
<parameter key="test.client.cookiejar.class">Symfony\Component\BrowserKit\CookieJar</parameter>
<parameter key="test.session.listener.class">Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListener</parameter>
<parameter key="session.class">Symfony\Component\HttpFoundation\Session\Session</parameter>
<parameter key="session.flashbag.class">Symfony\Component\HttpFoundation\Session\Flash\FlashBag</parameter>
<parameter key="session.attribute_bag.class">Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag</parameter>
<parameter key="session.storage.metadata_bag.class">Symfony\Component\HttpFoundation\Session\Storage\MetadataBag</parameter>
<parameter key="session.metadata.storage_key">_sf2_meta</parameter>
<parameter key="session.storage.native.class">Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage</parameter>
<parameter key="session.storage.php_bridge.class">Symfony\Component\HttpFoundation\Session\Storage\PhpBridgeSessionStorage</parameter>
<parameter key="session.storage.mock_file.class">Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage</parameter>
<parameter key="session.handler.native_file.class">Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler</parameter>
<parameter key="session.handler.write_check.class">Symfony\Component\HttpFoundation\Session\Storage\Handler\WriteCheckSessionHandler</parameter>
<parameter key="session_listener.class">Symfony\Bundle\FrameworkBundle\EventListener\SessionListener</parameter>
<parameter key="session.storage.options" type="collection">
<parameter key="gc_probability">1</parameter>
</parameter>
<parameter key="session.save_path">/var/www/Jenkins/app/cache/test/sessions</parameter>
<parameter key="session.metadata.update_threshold">0</parameter>
<parameter key="security.secure_random.class">Symfony\Component\Security\Core\Util\SecureRandom</parameter>
<parameter key="form.resolved_type_factory.class">Symfony\Component\Form\ResolvedFormTypeFactory</parameter>
<parameter key="form.registry.class">Symfony\Component\Form\FormRegistry</parameter>
<parameter key="form.factory.class">Symfony\Component\Form\FormFactory</parameter>
<parameter key="form.extension.class">Symfony\Component\Form\Extension\DependencyInjection\DependencyInjectionExtension</parameter>
<parameter key="form.type_guesser.validator.class">Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser</parameter>
<parameter key="form.type_extension.form.request_handler.class">Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationRequestHandler</parameter>
<parameter key="form.type_extension.csrf.enabled">true</parameter>
<parameter key="form.type_extension.csrf.field_name">_token</parameter>
<parameter key="security.csrf.token_generator.class">Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator</parameter>
<parameter key="security.csrf.token_storage.class">Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage</parameter>
<parameter key="security.csrf.token_manager.class">Symfony\Component\Security\Csrf\CsrfTokenManager</parameter>
<parameter key="templating.engine.delegating.class">Symfony\Bundle\FrameworkBundle\Templating\DelegatingEngine</parameter>
<parameter key="templating.name_parser.class">Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser</parameter>
<parameter key="templating.filename_parser.class">Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser</parameter>
<parameter key="templating.cache_warmer.template_paths.class">Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplatePathsCacheWarmer</parameter>
<parameter key="templating.locator.class">Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator</parameter>
<parameter key="templating.loader.filesystem.class">Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader</parameter>
<parameter key="templating.loader.cache.class">Symfony\Component\Templating\Loader\CacheLoader</parameter>
<parameter key="templating.loader.chain.class">Symfony\Component\Templating\Loader\ChainLoader</parameter>
<parameter key="templating.finder.class">Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinder</parameter>
<parameter key="templating.engine.php.class">Symfony\Bundle\FrameworkBundle\Templating\PhpEngine</parameter>
<parameter key="templating.helper.slots.class">Symfony\Component\Templating\Helper\SlotsHelper</parameter>
<parameter key="templating.helper.assets.class">Symfony\Component\Templating\Helper\CoreAssetsHelper</parameter>
<parameter key="templating.helper.actions.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper</parameter>
<parameter key="templating.helper.router.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper</parameter>
<parameter key="templating.helper.request.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper</parameter>
<parameter key="templating.helper.session.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper</parameter>
<parameter key="templating.helper.code.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper</parameter>
<parameter key="templating.helper.translator.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper</parameter>
<parameter key="templating.helper.form.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper</parameter>
<parameter key="templating.helper.stopwatch.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\StopwatchHelper</parameter>
<parameter key="templating.form.engine.class">Symfony\Component\Form\Extension\Templating\TemplatingRendererEngine</parameter>
<parameter key="templating.form.renderer.class">Symfony\Component\Form\FormRenderer</parameter>
<parameter key="templating.globals.class">Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables</parameter>
<parameter key="templating.asset.path_package.class">Symfony\Bundle\FrameworkBundle\Templating\Asset\PathPackage</parameter>
<parameter key="templating.asset.url_package.class">Symfony\Component\Templating\Asset\UrlPackage</parameter>
<parameter key="templating.asset.package_factory.class">Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory</parameter>
<parameter key="templating.helper.code.file_link_format">null</parameter>
<parameter key="templating.helper.form.resources" type="collection">
<parameter>FrameworkBundle:Form</parameter>
</parameter>
<parameter key="debug.templating.engine.php.class">Symfony\Bundle\FrameworkBundle\Templating\TimedPhpEngine</parameter>
<parameter key="templating.loader.cache.path">null</parameter>
<parameter key="templating.engines" type="collection">
<parameter>twig</parameter>
</parameter>
<parameter key="validator.class">Symfony\Component\Validator\ValidatorInterface</parameter>
<parameter key="validator.builder.class">Symfony\Component\Validator\ValidatorBuilderInterface</parameter>
<parameter key="validator.builder.factory.class">Symfony\Component\Validator\Validation</parameter>
<parameter key="validator.mapping.cache.apc.class">Symfony\Component\Validator\Mapping\Cache\ApcCache</parameter>
<parameter key="validator.mapping.cache.prefix"></parameter>
<parameter key="validator.validator_factory.class">Symfony\Bundle\FrameworkBundle\Validator\ConstraintValidatorFactory</parameter>
<parameter key="validator.legacy_validator_factory.class">Symfony\Bundle\FrameworkBundle\Validator\LegacyConstraintValidatorFactory</parameter>
<parameter key="validator.expression.class">Symfony\Component\Validator\Constraints\ExpressionValidator</parameter>
<parameter key="validator.email.class">Symfony\Component\Validator\Constraints\EmailValidator</parameter>
<parameter key="validator.translation_domain">validators</parameter>
<parameter key="fragment.listener.class">Symfony\Component\HttpKernel\EventListener\FragmentListener</parameter>
<parameter key="form.resolved_type_factory.data_collector_proxy.class">Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeFactoryDataCollectorProxy</parameter>
<parameter key="form.type_extension.form.data_collector.class">Symfony\Component\Form\Extension\DataCollector\Type\DataCollectorTypeExtension</parameter>
<parameter key="profiler.class">Symfony\Component\HttpKernel\Profiler\Profiler</parameter>
<parameter key="profiler_listener.class">Symfony\Component\HttpKernel\EventListener\ProfilerListener</parameter>
<parameter key="data_collector.config.class">Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector</parameter>
<parameter key="data_collector.request.class">Symfony\Component\HttpKernel\DataCollector\RequestDataCollector</parameter>
<parameter key="data_collector.exception.class">Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector</parameter>
<parameter key="data_collector.events.class">Symfony\Component\HttpKernel\DataCollector\EventDataCollector</parameter>
<parameter key="data_collector.logger.class">Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector</parameter>
<parameter key="data_collector.time.class">Symfony\Component\HttpKernel\DataCollector\TimeDataCollector</parameter>
<parameter key="data_collector.memory.class">Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector</parameter>
<parameter key="data_collector.router.class">Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector</parameter>
<parameter key="data_collector.form.class">Symfony\Component\Form\Extension\DataCollector\FormDataCollector</parameter>
<parameter key="data_collector.form.extractor.class">Symfony\Component\Form\Extension\DataCollector\FormDataExtractor</parameter>
<parameter key="profiler_listener.only_exceptions">false</parameter>
<parameter key="profiler_listener.only_master_requests">false</parameter>
<parameter key="profiler.storage.dsn">file:/var/www/Jenkins/app/cache/test/profiler</parameter>
<parameter key="profiler.storage.username"></parameter>
<parameter key="profiler.storage.password"></parameter>
<parameter key="profiler.storage.lifetime">86400</parameter>
<parameter key="router.class">Symfony\Bundle\FrameworkBundle\Routing\Router</parameter>
<parameter key="router.request_context.class">Symfony\Component\Routing\RequestContext</parameter>
<parameter key="routing.loader.class">Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader</parameter>
<parameter key="routing.resolver.class">Symfony\Component\Config\Loader\LoaderResolver</parameter>
<parameter key="routing.loader.xml.class">Symfony\Component\Routing\Loader\XmlFileLoader</parameter>
<parameter key="routing.loader.yml.class">Symfony\Component\Routing\Loader\YamlFileLoader</parameter>
<parameter key="routing.loader.php.class">Symfony\Component\Routing\Loader\PhpFileLoader</parameter>
<parameter key="router.options.generator_class">Symfony\Component\Routing\Generator\UrlGenerator</parameter>
<parameter key="router.options.generator_base_class">Symfony\Component\Routing\Generator\UrlGenerator</parameter>
<parameter key="router.options.generator_dumper_class">Symfony\Component\Routing\Generator\Dumper\PhpGeneratorDumper</parameter>
<parameter key="router.options.matcher_class">Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher</parameter>
<parameter key="router.options.matcher_base_class">Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher</parameter>
<parameter key="router.options.matcher_dumper_class">Symfony\Component\Routing\Matcher\Dumper\PhpMatcherDumper</parameter>
<parameter key="router.cache_warmer.class">Symfony\Bundle\FrameworkBundle\CacheWarmer\RouterCacheWarmer</parameter>
<parameter key="router.options.matcher.cache_class">appTestUrlMatcher</parameter>
<parameter key="router.options.generator.cache_class">appTestUrlGenerator</parameter>
<parameter key="router_listener.class">Symfony\Component\HttpKernel\EventListener\RouterListener</parameter>
<parameter key="router.request_context.host">localhost</parameter>
<parameter key="router.request_context.scheme">http</parameter>
<parameter key="router.request_context.base_url"></parameter>
<parameter key="router.resource">/var/www/Jenkins/app/cache/test/assetic/routing.yml</parameter>
<parameter key="router.cache_class_prefix">appTest</parameter>
<parameter key="request_listener.http_port">80</parameter>
<parameter key="request_listener.https_port">443</parameter>
<parameter key="annotations.reader.class">Doctrine\Common\Annotations\AnnotationReader</parameter>
<parameter key="annotations.cached_reader.class">Doctrine\Common\Annotations\CachedReader</parameter>
<parameter key="annotations.file_cache_reader.class">Doctrine\Common\Annotations\FileCacheReader</parameter>
<parameter key="security.context.class">Symfony\Component\Security\Core\SecurityContext</parameter>
<parameter key="security.user_checker.class">Symfony\Component\Security\Core\User\UserChecker</parameter>
<parameter key="security.encoder_factory.generic.class">Symfony\Component\Security\Core\Encoder\EncoderFactory</parameter>
<parameter key="security.encoder.digest.class">Symfony\Component\Security\Core\Encoder\MessageDigestPasswordEncoder</parameter>
<parameter key="security.encoder.plain.class">Symfony\Component\Security\Core\Encoder\PlaintextPasswordEncoder</parameter>
<parameter key="security.encoder.pbkdf2.class">Symfony\Component\Security\Core\Encoder\Pbkdf2PasswordEncoder</parameter>
<parameter key="security.encoder.bcrypt.class">Symfony\Component\Security\Core\Encoder\BCryptPasswordEncoder</parameter>
<parameter key="security.user.provider.in_memory.class">Symfony\Component\Security\Core\User\InMemoryUserProvider</parameter>
<parameter key="security.user.provider.in_memory.user.class">Symfony\Component\Security\Core\User\User</parameter>
<parameter key="security.user.provider.chain.class">Symfony\Component\Security\Core\User\ChainUserProvider</parameter>
<parameter key="security.authentication.trust_resolver.class">Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver</parameter>
<parameter key="security.authentication.trust_resolver.anonymous_class">Symfony\Component\Security\Core\Authentication\Token\AnonymousToken</parameter>
<parameter key="security.authentication.trust_resolver.rememberme_class">Symfony\Component\Security\Core\Authentication\Token\RememberMeToken</parameter>
<parameter key="security.authentication.manager.class">Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager</parameter>
<parameter key="security.authentication.session_strategy.class">Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy</parameter>
<parameter key="security.access.decision_manager.class">Symfony\Component\Security\Core\Authorization\AccessDecisionManager</parameter>
<parameter key="security.access.simple_role_voter.class">Symfony\Component\Security\Core\Authorization\Voter\RoleVoter</parameter>
<parameter key="security.access.authenticated_voter.class">Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter</parameter>
<parameter key="security.access.role_hierarchy_voter.class">Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter</parameter>
<parameter key="security.access.expression_voter.class">Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter</parameter>
<parameter key="security.firewall.class">Symfony\Component\Security\Http\Firewall</parameter>
<parameter key="security.firewall.map.class">Symfony\Bundle\SecurityBundle\Security\FirewallMap</parameter>
<parameter key="security.firewall.context.class">Symfony\Bundle\SecurityBundle\Security\FirewallContext</parameter>
<parameter key="security.matcher.class">Symfony\Component\HttpFoundation\RequestMatcher</parameter>
<parameter key="security.expression_matcher.class">Symfony\Component\HttpFoundation\ExpressionRequestMatcher</parameter>
<parameter key="security.role_hierarchy.class">Symfony\Component\Security\Core\Role\RoleHierarchy</parameter>
<parameter key="security.http_utils.class">Symfony\Component\Security\Http\HttpUtils</parameter>
<parameter key="security.validator.user_password.class">Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator</parameter>
<parameter key="security.expression_language.class">Symfony\Component\Security\Core\Authorization\ExpressionLanguage</parameter>
<parameter key="security.authentication.retry_entry_point.class">Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint</parameter>
<parameter key="security.channel_listener.class">Symfony\Component\Security\Http\Firewall\ChannelListener</parameter>
<parameter key="security.authentication.form_entry_point.class">Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint</parameter>
<parameter key="security.authentication.listener.form.class">Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener</parameter>
<parameter key="security.authentication.listener.simple_form.class">Symfony\Component\Security\Http\Firewall\SimpleFormAuthenticationListener</parameter>
<parameter key="security.authentication.listener.simple_preauth.class">Symfony\Component\Security\Http\Firewall\SimplePreAuthenticationListener</parameter>
<parameter key="security.authentication.listener.basic.class">Symfony\Component\Security\Http\Firewall\BasicAuthenticationListener</parameter>
<parameter key="security.authentication.basic_entry_point.class">Symfony\Component\Security\Http\EntryPoint\BasicAuthenticationEntryPoint</parameter>
<parameter key="security.authentication.listener.digest.class">Symfony\Component\Security\Http\Firewall\DigestAuthenticationListener</parameter>
<parameter key="security.authentication.digest_entry_point.class">Symfony\Component\Security\Http\EntryPoint\DigestAuthenticationEntryPoint</parameter>
<parameter key="security.authentication.listener.x509.class">Symfony\Component\Security\Http\Firewall\X509AuthenticationListener</parameter>
<parameter key="security.authentication.listener.anonymous.class">Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener</parameter>
<parameter key="security.authentication.switchuser_listener.class">Symfony\Component\Security\Http\Firewall\SwitchUserListener</parameter>
<parameter key="security.logout_listener.class">Symfony\Component\Security\Http\Firewall\LogoutListener</parameter>
<parameter key="security.logout.handler.session.class">Symfony\Component\Security\Http\Logout\SessionLogoutHandler</parameter>
<parameter key="security.logout.handler.cookie_clearing.class">Symfony\Component\Security\Http\Logout\CookieClearingLogoutHandler</parameter>
<parameter key="security.logout.success_handler.class">Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler</parameter>
<parameter key="security.access_listener.class">Symfony\Component\Security\Http\Firewall\AccessListener</parameter>
<parameter key="security.access_map.class">Symfony\Component\Security\Http\AccessMap</parameter>
<parameter key="security.exception_listener.class">Symfony\Component\Security\Http\Firewall\ExceptionListener</parameter>
<parameter key="security.context_listener.class">Symfony\Component\Security\Http\Firewall\ContextListener</parameter>
<parameter key="security.authentication.provider.dao.class">Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider</parameter>
<parameter key="security.authentication.provider.simple.class">Symfony\Component\Security\Core\Authentication\Provider\SimpleAuthenticationProvider</parameter>
<parameter key="security.authentication.provider.pre_authenticated.class">Symfony\Component\Security\Core\Authentication\Provider\PreAuthenticatedAuthenticationProvider</parameter>
<parameter key="security.authentication.provider.anonymous.class">Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider</parameter>
<parameter key="security.authentication.success_handler.class">Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler</parameter>
<parameter key="security.authentication.failure_handler.class">Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler</parameter>
<parameter key="security.authentication.simple_success_failure_handler.class">Symfony\Component\Security\Http\Authentication\SimpleAuthenticationHandler</parameter>
<parameter key="security.authentication.provider.rememberme.class">Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider</parameter>
<parameter key="security.authentication.listener.rememberme.class">Symfony\Component\Security\Http\Firewall\RememberMeListener</parameter>
<parameter key="security.rememberme.token.provider.in_memory.class">Symfony\Component\Security\Core\Authentication\RememberMe\InMemoryTokenProvider</parameter>
<parameter key="security.authentication.rememberme.services.persistent.class">Symfony\Component\Security\Http\RememberMe\PersistentTokenBasedRememberMeServices</parameter>
<parameter key="security.authentication.rememberme.services.simplehash.class">Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices</parameter>
<parameter key="security.rememberme.response_listener.class">Symfony\Component\Security\Http\RememberMe\ResponseListener</parameter>
<parameter key="templating.helper.logout_url.class">Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper</parameter>
<parameter key="templating.helper.security.class">Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper</parameter>
<parameter key="twig.extension.logout_url.class">Symfony\Bundle\SecurityBundle\Twig\Extension\LogoutUrlExtension</parameter>
<parameter key="twig.extension.security.class">Symfony\Bridge\Twig\Extension\SecurityExtension</parameter>
<parameter key="data_collector.security.class">Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector</parameter>
<parameter key="security.access.denied_url">null</parameter>
<parameter key="security.authentication.manager.erase_credentials">true</parameter>
<parameter key="security.authentication.session_strategy.strategy">migrate</parameter>
<parameter key="security.access.always_authenticate_before_granting">false</parameter>
<parameter key="security.authentication.hide_user_not_found">true</parameter>
<parameter key="security.role_hierarchy.roles" type="collection">
<parameter key="ROLE_ADMIN" type="collection">
<parameter>ROLE_USER</parameter>
</parameter>
<parameter key="ROLE_SUPER_ADMIN" type="collection">
<parameter>ROLE_USER</parameter>
<parameter>ROLE_ADMIN</parameter>
<parameter>ROLE_ALLOWED_TO_SWITCH</parameter>
</parameter>
</parameter>
<parameter key="twig.class">Twig_Environment</parameter>
<parameter key="twig.loader.filesystem.class">Symfony\Bundle\TwigBundle\Loader\FilesystemLoader</parameter>
<parameter key="twig.loader.chain.class">Twig_Loader_Chain</parameter>
<parameter key="templating.engine.twig.class">Symfony\Bundle\TwigBundle\TwigEngine</parameter>
<parameter key="twig.cache_warmer.class">Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheCacheWarmer</parameter>
<parameter key="twig.extension.trans.class">Symfony\Bridge\Twig\Extension\TranslationExtension</parameter>
<parameter key="twig.extension.assets.class">Symfony\Bundle\TwigBundle\Extension\AssetsExtension</parameter>
<parameter key="twig.extension.actions.class">Symfony\Bundle\TwigBundle\Extension\ActionsExtension</parameter>
<parameter key="twig.extension.code.class">Symfony\Bridge\Twig\Extension\CodeExtension</parameter>
<parameter key="twig.extension.routing.class">Symfony\Bridge\Twig\Extension\RoutingExtension</parameter>
<parameter key="twig.extension.yaml.class">Symfony\Bridge\Twig\Extension\YamlExtension</parameter>
<parameter key="twig.extension.form.class">Symfony\Bridge\Twig\Extension\FormExtension</parameter>
<parameter key="twig.extension.httpkernel.class">Symfony\Bridge\Twig\Extension\HttpKernelExtension</parameter>
<parameter key="twig.extension.debug.stopwatch.class">Symfony\Bridge\Twig\Extension\StopwatchExtension</parameter>
<parameter key="twig.extension.expression.class">Symfony\Bridge\Twig\Extension\ExpressionExtension</parameter>
<parameter key="twig.form.engine.class">Symfony\Bridge\Twig\Form\TwigRendererEngine</parameter>
<parameter key="twig.form.renderer.class">Symfony\Bridge\Twig\Form\TwigRenderer</parameter>
<parameter key="twig.translation.extractor.class">Symfony\Bridge\Twig\Translation\TwigExtractor</parameter>
<parameter key="twig.exception_listener.class">Symfony\Component\HttpKernel\EventListener\ExceptionListener</parameter>
<parameter key="twig.controller.exception.class">Symfony\Bundle\TwigBundle\Controller\ExceptionController</parameter>
<parameter key="twig.exception_listener.controller">twig.controller.exception:showAction</parameter>
<parameter key="twig.form.resources" type="collection">
<parameter>form_div_layout.html.twig</parameter>
</parameter>
<parameter key="debug.templating.engine.twig.class">Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine</parameter>
<parameter key="twig.options" type="collection">
<parameter key="debug">true</parameter>
<parameter key="strict_variables">true</parameter>
<parameter key="exception_controller">twig.controller.exception:showAction</parameter>
<parameter key="autoescape_service">null</parameter>
<parameter key="autoescape_service_method">null</parameter>
<parameter key="cache">/var/www/Jenkins/app/cache/test/twig</parameter>
<parameter key="charset">UTF-8</parameter>
<parameter key="paths" type="collection"/>
</parameter>
<parameter key="monolog.logger.class">Symfony\Bridge\Monolog\Logger</parameter>
<parameter key="monolog.gelf.publisher.class">Gelf\MessagePublisher</parameter>
<parameter key="monolog.gelfphp.publisher.class">Gelf\Publisher</parameter>
<parameter key="monolog.handler.stream.class">Monolog\Handler\StreamHandler</parameter>
<parameter key="monolog.handler.console.class">Symfony\Bridge\Monolog\Handler\ConsoleHandler</parameter>
<parameter key="monolog.handler.group.class">Monolog\Handler\GroupHandler</parameter>
<parameter key="monolog.handler.buffer.class">Monolog\Handler\BufferHandler</parameter>
<parameter key="monolog.handler.rotating_file.class">Monolog\Handler\RotatingFileHandler</parameter>
<parameter key="monolog.handler.syslog.class">Monolog\Handler\SyslogHandler</parameter>
<parameter key="monolog.handler.syslogudp.class">Monolog\Handler\SyslogUdpHandler</parameter>
<parameter key="monolog.handler.null.class">Monolog\Handler\NullHandler</parameter>
<parameter key="monolog.handler.test.class">Monolog\Handler\TestHandler</parameter>
<parameter key="monolog.handler.gelf.class">Monolog\Handler\GelfHandler</parameter>
<parameter key="monolog.handler.rollbar.class">Monolog\Handler\RollbarHandler</parameter>
<parameter key="monolog.handler.flowdock.class">Monolog\Handler\FlowdockHandler</parameter>
<parameter key="monolog.handler.browser_console.class">Monolog\Handler\BrowserConsoleHandler</parameter>
<parameter key="monolog.handler.firephp.class">Symfony\Bridge\Monolog\Handler\FirePHPHandler</parameter>
<parameter key="monolog.handler.chromephp.class">Symfony\Bridge\Monolog\Handler\ChromePhpHandler</parameter>
<parameter key="monolog.handler.debug.class">Symfony\Bridge\Monolog\Handler\DebugHandler</parameter>
<parameter key="monolog.handler.swift_mailer.class">Symfony\Bridge\Monolog\Handler\SwiftMailerHandler</parameter>
<parameter key="monolog.handler.native_mailer.class">Monolog\Handler\NativeMailerHandler</parameter>
<parameter key="monolog.handler.socket.class">Monolog\Handler\SocketHandler</parameter>
<parameter key="monolog.handler.pushover.class">Monolog\Handler\PushoverHandler</parameter>
<parameter key="monolog.handler.raven.class">Monolog\Handler\RavenHandler</parameter>
<parameter key="monolog.handler.newrelic.class">Monolog\Handler\NewRelicHandler</parameter>
<parameter key="monolog.handler.hipchat.class">Monolog\Handler\HipChatHandler</parameter>
<parameter key="monolog.handler.cube.class">Monolog\Handler\CubeHandler</parameter>
<parameter key="monolog.handler.amqp.class">Monolog\Handler\AmqpHandler</parameter>
<parameter key="monolog.handler.error_log.class">Monolog\Handler\ErrorLogHandler</parameter>
<parameter key="monolog.handler.loggly.class">Monolog\Handler\LogglyHandler</parameter>
<parameter key="monolog.handler.logentries.class">Monolog\Handler\LogEntriesHandler</parameter>
<parameter key="monolog.activation_strategy.not_found.class">Symfony\Bundle\MonologBundle\NotFoundActivationStrategy</parameter>
<parameter key="monolog.handler.fingers_crossed.class">Monolog\Handler\FingersCrossedHandler</parameter>
<parameter key="monolog.handler.fingers_crossed.error_level_activation_strategy.class">Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy</parameter>
<parameter key="monolog.handler.filter.class">Monolog\Handler\FilterHandler</parameter>
<parameter key="monolog.handler.mongo.class">Monolog\Handler\MongoDBHandler</parameter>
<parameter key="monolog.mongo.client.class">MongoClient</parameter>
<parameter key="monolog.swift_mailer.handlers" type="collection"/>
<parameter key="monolog.handlers_to_channels" type="collection">
<parameter key="monolog.handler.console">null</parameter>
<parameter key="monolog.handler.main">null</parameter>
</parameter>
<parameter key="swiftmailer.class">Swift_Mailer</parameter>
<parameter key="swiftmailer.transport.sendmail.class">Swift_Transport_SendmailTransport</parameter>
<parameter key="swiftmailer.transport.mail.class">Swift_Transport_MailTransport</parameter>
<parameter key="swiftmailer.transport.failover.class">Swift_Transport_FailoverTransport</parameter>
<parameter key="swiftmailer.plugin.redirecting.class">Swift_Plugins_RedirectingPlugin</parameter>
<parameter key="swiftmailer.plugin.impersonate.class">Swift_Plugins_ImpersonatePlugin</parameter>
<parameter key="swiftmailer.plugin.messagelogger.class">Swift_Plugins_MessageLogger</parameter>
<parameter key="swiftmailer.plugin.antiflood.class">Swift_Plugins_AntiFloodPlugin</parameter>
<parameter key="swiftmailer.transport.smtp.class">Swift_Transport_EsmtpTransport</parameter>
<parameter key="swiftmailer.plugin.blackhole.class">Swift_Plugins_BlackholePlugin</parameter>
<parameter key="swiftmailer.spool.file.class">Swift_FileSpool</parameter>
<parameter key="swiftmailer.spool.memory.class">Swift_MemorySpool</parameter>
<parameter key="swiftmailer.email_sender.listener.class">Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener</parameter>
<parameter key="swiftmailer.data_collector.class">Symfony\Bundle\SwiftmailerBundle\DataCollector\MessageDataCollector</parameter>
<parameter key="swiftmailer.mailer.default.transport.name">smtp</parameter>
<parameter key="swiftmailer.mailer.default.delivery.enabled">false</parameter>
<parameter key="swiftmailer.mailer.default.transport.smtp.encryption">null</parameter>
<parameter key="swiftmailer.mailer.default.transport.smtp.port">25</parameter>
<parameter key="swiftmailer.mailer.default.transport.smtp.host">127.0.0.1</parameter>
<parameter key="swiftmailer.mailer.default.transport.smtp.username">null</parameter>
<parameter key="swiftmailer.mailer.default.transport.smtp.password">null</parameter>
<parameter key="swiftmailer.mailer.default.transport.smtp.auth_mode">null</parameter>
<parameter key="swiftmailer.mailer.default.transport.smtp.timeout">30</parameter>
<parameter key="swiftmailer.mailer.default.transport.smtp.source_ip">null</parameter>
<parameter key="swiftmailer.spool.default.memory.path">/var/www/Jenkins/app/cache/test/swiftmailer/spool/default</parameter>
<parameter key="swiftmailer.mailer.default.spool.enabled">true</parameter>
<parameter key="swiftmailer.mailer.default.plugin.impersonate">null</parameter>
<parameter key="swiftmailer.mailer.default.single_address">null</parameter>
<parameter key="swiftmailer.spool.enabled">true</parameter>
<parameter key="swiftmailer.delivery.enabled">false</parameter>
<parameter key="swiftmailer.single_address">null</parameter>
<parameter key="swiftmailer.mailers" type="collection">
<parameter key="default">swiftmailer.mailer.default</parameter>
</parameter>
<parameter key="swiftmailer.default_mailer">default</parameter>
<parameter key="assetic.asset_factory.class">Symfony\Bundle\AsseticBundle\Factory\AssetFactory</parameter>
<parameter key="assetic.asset_manager.class">Assetic\Factory\LazyAssetManager</parameter>
<parameter key="assetic.asset_manager_cache_warmer.class">Symfony\Bundle\AsseticBundle\CacheWarmer\AssetManagerCacheWarmer</parameter>
<parameter key="assetic.cached_formula_loader.class">Assetic\Factory\Loader\CachedFormulaLoader</parameter>
<parameter key="assetic.config_cache.class">Assetic\Cache\ConfigCache</parameter>
<parameter key="assetic.config_loader.class">Symfony\Bundle\AsseticBundle\Factory\Loader\ConfigurationLoader</parameter>
<parameter key="assetic.config_resource.class">Symfony\Bundle\AsseticBundle\Factory\Resource\ConfigurationResource</parameter>
<parameter key="assetic.coalescing_directory_resource.class">Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource</parameter>
<parameter key="assetic.directory_resource.class">Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource</parameter>
<parameter key="assetic.filter_manager.class">Symfony\Bundle\AsseticBundle\FilterManager</parameter>
<parameter key="assetic.worker.ensure_filter.class">Assetic\Factory\Worker\EnsureFilterWorker</parameter>
<parameter key="assetic.value_supplier.class">Symfony\Bundle\AsseticBundle\DefaultValueSupplier</parameter>
<parameter key="assetic.node.paths" type="collection"/>
<parameter key="assetic.cache_dir">/var/www/Jenkins/app/cache/test/assetic</parameter>
<parameter key="assetic.bundles" type="collection"/>
<parameter key="assetic.twig_extension.class">Symfony\Bundle\AsseticBundle\Twig\AsseticExtension</parameter>
<parameter key="assetic.twig_formula_loader.class">Assetic\Extension\Twig\TwigFormulaLoader</parameter>
<parameter key="assetic.helper.dynamic.class">Symfony\Bundle\AsseticBundle\Templating\DynamicAsseticHelper</parameter>
<parameter key="assetic.helper.static.class">Symfony\Bundle\AsseticBundle\Templating\StaticAsseticHelper</parameter>
<parameter key="assetic.php_formula_loader.class">Symfony\Bundle\AsseticBundle\Factory\Loader\AsseticHelperFormulaLoader</parameter>
<parameter key="assetic.debug">true</parameter>
<parameter key="assetic.use_controller">true</parameter>
<parameter key="assetic.enable_profiler">false</parameter>
<parameter key="assetic.read_from">/var/www/Jenkins/app/../web</parameter>
<parameter key="assetic.write_to">/var/www/Jenkins/app/../web</parameter>
<parameter key="assetic.variables" type="collection"/>
<parameter key="assetic.java.bin">/usr/bin/java</parameter>
<parameter key="assetic.node.bin">/usr/bin/node</parameter>
<parameter key="assetic.ruby.bin">/usr/bin/ruby</parameter>
<parameter key="assetic.sass.bin">/usr/bin/sass</parameter>
<parameter key="assetic.filter.cssrewrite.class">Assetic\Filter\CssRewriteFilter</parameter>
<parameter key="assetic.twig_extension.functions" type="collection"/>
<parameter key="assetic.controller.class">Symfony\Bundle\AsseticBundle\Controller\AsseticController</parameter>
<parameter key="assetic.routing_loader.class">Symfony\Bundle\AsseticBundle\Routing\AsseticLoader</parameter>
<parameter key="assetic.cache.class">Assetic\Cache\FilesystemCache</parameter>
<parameter key="assetic.use_controller_worker.class">Symfony\Bundle\AsseticBundle\Factory\Worker\UseControllerWorker</parameter>
<parameter key="assetic.request_listener.class">Symfony\Bundle\AsseticBundle\EventListener\RequestListener</parameter>
<parameter key="doctrine.dbal.logger.chain.class">Doctrine\DBAL\Logging\LoggerChain</parameter>
<parameter key="doctrine.dbal.logger.profiling.class">Doctrine\DBAL\Logging\DebugStack</parameter>
<parameter key="doctrine.dbal.logger.class">Symfony\Bridge\Doctrine\Logger\DbalLogger</parameter>
<parameter key="doctrine.dbal.configuration.class">Doctrine\DBAL\Configuration</parameter>
<parameter key="doctrine.data_collector.class">Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector</parameter>
<parameter key="doctrine.dbal.connection.event_manager.class">Symfony\Bridge\Doctrine\ContainerAwareEventManager</parameter>
<parameter key="doctrine.dbal.connection_factory.class">Doctrine\Bundle\DoctrineBundle\ConnectionFactory</parameter>
<parameter key="doctrine.dbal.events.mysql_session_init.class">Doctrine\DBAL\Event\Listeners\MysqlSessionInit</parameter>
<parameter key="doctrine.dbal.events.oracle_session_init.class">Doctrine\DBAL\Event\Listeners\OracleSessionInit</parameter>
<parameter key="doctrine.class">Doctrine\Bundle\DoctrineBundle\Registry</parameter>
<parameter key="doctrine.entity_managers" type="collection">
<parameter key="default">doctrine.orm.default_entity_manager</parameter>
</parameter>
<parameter key="doctrine.default_entity_manager">default</parameter>
<parameter key="doctrine.dbal.connection_factory.types" type="collection"/>
<parameter key="doctrine.connections" type="collection">
<parameter key="default">doctrine.dbal.default_connection</parameter>
</parameter>
<parameter key="doctrine.default_connection">default</parameter>
<parameter key="doctrine.orm.configuration.class">Doctrine\ORM\Configuration</parameter>
<parameter key="doctrine.orm.entity_manager.class">Doctrine\ORM\EntityManager</parameter>
<parameter key="doctrine.orm.manager_configurator.class">Doctrine\Bundle\DoctrineBundle\ManagerConfigurator</parameter>
<parameter key="doctrine.orm.cache.array.class">Doctrine\Common\Cache\ArrayCache</parameter>
<parameter key="doctrine.orm.cache.apc.class">Doctrine\Common\Cache\ApcCache</parameter>
<parameter key="doctrine.orm.cache.memcache.class">Doctrine\Common\Cache\MemcacheCache</parameter>
<parameter key="doctrine.orm.cache.memcache_host">localhost</parameter>
<parameter key="doctrine.orm.cache.memcache_port">11211</parameter>
<parameter key="doctrine.orm.cache.memcache_instance.class">Memcache</parameter>
<parameter key="doctrine.orm.cache.memcached.class">Doctrine\Common\Cache\MemcachedCache</parameter>
<parameter key="doctrine.orm.cache.memcached_host">localhost</parameter>
<parameter key="doctrine.orm.cache.memcached_port">11211</parameter>
<parameter key="doctrine.orm.cache.memcached_instance.class">Memcached</parameter>
<parameter key="doctrine.orm.cache.redis.class">Doctrine\Common\Cache\RedisCache</parameter>
<parameter key="doctrine.orm.cache.redis_host">localhost</parameter>
<parameter key="doctrine.orm.cache.redis_port">6379</parameter>
<parameter key="doctrine.orm.cache.redis_instance.class">Redis</parameter>
<parameter key="doctrine.orm.cache.xcache.class">Doctrine\Common\Cache\XcacheCache</parameter>
<parameter key="doctrine.orm.cache.wincache.class">Doctrine\Common\Cache\WinCacheCache</parameter>
<parameter key="doctrine.orm.cache.zenddata.class">Doctrine\Common\Cache\ZendDataCache</parameter>
<parameter key="doctrine.orm.metadata.driver_chain.class">Doctrine\ORM\Mapping\Driver\DriverChain</parameter>
<parameter key="doctrine.orm.metadata.annotation.class">Doctrine\ORM\Mapping\Driver\AnnotationDriver</parameter>
<parameter key="doctrine.orm.metadata.xml.class">Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver</parameter>
<parameter key="doctrine.orm.metadata.yml.class">Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver</parameter>
<parameter key="doctrine.orm.metadata.php.class">Doctrine\ORM\Mapping\Driver\PHPDriver</parameter>
<parameter key="doctrine.orm.metadata.staticphp.class">Doctrine\ORM\Mapping\Driver\StaticPHPDriver</parameter>
<parameter key="doctrine.orm.proxy_cache_warmer.class">Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer</parameter>
<parameter key="form.type_guesser.doctrine.class">Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser</parameter>
<parameter key="doctrine.orm.validator.unique.class">Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator</parameter>
<parameter key="doctrine.orm.validator_initializer.class">Symfony\Bridge\Doctrine\Validator\DoctrineInitializer</parameter>
<parameter key="doctrine.orm.security.user.provider.class">Symfony\Bridge\Doctrine\Security\User\EntityUserProvider</parameter>
<parameter key="doctrine.orm.listeners.resolve_target_entity.class">Doctrine\ORM\Tools\ResolveTargetEntityListener</parameter>
<parameter key="doctrine.orm.naming_strategy.default.class">Doctrine\ORM\Mapping\DefaultNamingStrategy</parameter>
<parameter key="doctrine.orm.naming_strategy.underscore.class">Doctrine\ORM\Mapping\UnderscoreNamingStrategy</parameter>
<parameter key="doctrine.orm.auto_generate_proxy_classes">true</parameter>
<parameter key="doctrine.orm.proxy_dir">/var/www/Jenkins/app/cache/test/doctrine/orm/Proxies</parameter>
<parameter key="doctrine.orm.proxy_namespace">Proxies</parameter>
<parameter key="sensio_framework_extra.view.guesser.class">Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser</parameter>
<parameter key="sensio_framework_extra.controller.listener.class">Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener</parameter>
<parameter key="sensio_framework_extra.routing.loader.annot_dir.class">Symfony\Component\Routing\Loader\AnnotationDirectoryLoader</parameter>
<parameter key="sensio_framework_extra.routing.loader.annot_file.class">Symfony\Component\Routing\Loader\AnnotationFileLoader</parameter>
<parameter key="sensio_framework_extra.routing.loader.annot_class.class">Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader</parameter>
<parameter key="sensio_framework_extra.converter.listener.class">Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener</parameter>
<parameter key="sensio_framework_extra.converter.manager.class">Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager</parameter>
<parameter key="sensio_framework_extra.converter.doctrine.class">Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter</parameter>
<parameter key="sensio_framework_extra.converter.datetime.class">Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter</parameter>
<parameter key="sensio_framework_extra.view.listener.class">Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener</parameter>
<parameter key="web_profiler.controller.profiler.class">Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController</parameter>
<parameter key="web_profiler.controller.router.class">Symfony\Bundle\WebProfilerBundle\Controller\RouterController</parameter>
<parameter key="web_profiler.controller.exception.class">Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController</parameter>
<parameter key="twig.extension.webprofiler.class">Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension</parameter>
<parameter key="web_profiler.debug_toolbar.position">bottom</parameter>
<parameter key="sensio_distribution.webconfigurator.class">Sensio\Bundle\DistributionBundle\Configurator\Configurator</parameter>
<parameter key="data_collector.templates" type="collection">
<parameter key="data_collector.config" type="collection">
<parameter>config</parameter>
<parameter>@WebProfiler/Collector/config.html.twig</parameter>
</parameter>
<parameter key="data_collector.request" type="collection">
<parameter>request</parameter>
<parameter>@WebProfiler/Collector/request.html.twig</parameter>
</parameter>
<parameter key="data_collector.exception" type="collection">
<parameter>exception</parameter>
<parameter>@WebProfiler/Collector/exception.html.twig</parameter>
</parameter>
<parameter key="data_collector.events" type="collection">
<parameter>events</parameter>
<parameter>@WebProfiler/Collector/events.html.twig</parameter>
</parameter>
<parameter key="data_collector.logger" type="collection">
<parameter>logger</parameter>
<parameter>@WebProfiler/Collector/logger.html.twig</parameter>
</parameter>
<parameter key="data_collector.time" type="collection">
<parameter>time</parameter>
<parameter>@WebProfiler/Collector/time.html.twig</parameter>
</parameter>
<parameter key="data_collector.memory" type="collection">
<parameter>memory</parameter>
<parameter>@WebProfiler/Collector/memory.html.twig</parameter>
</parameter>
<parameter key="data_collector.router" type="collection">
<parameter>router</parameter>
<parameter>@WebProfiler/Collector/router.html.twig</parameter>
</parameter>
<parameter key="data_collector.form" type="collection">
<parameter>form</parameter>
<parameter>@WebProfiler/Collector/form.html.twig</parameter>
</parameter>
<parameter key="data_collector.security" type="collection">
<parameter>security</parameter>
<parameter>@Security/Collector/security.html.twig</parameter>
</parameter>
<parameter key="swiftmailer.data_collector" type="collection">
<parameter>swiftmailer</parameter>
<parameter>@Swiftmailer/Collector/swiftmailer.html.twig</parameter>
</parameter>
<parameter key="data_collector.doctrine" type="collection">
<parameter>db</parameter>
<parameter>DoctrineBundle:Collector:db</parameter>
</parameter>
</parameter>
<parameter key="console.command.ids" type="collection"/>
</parameters>
<services>
<service id="controller_name_converter" class="Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser" public="false">
<tag name="monolog.logger" channel="request"/>
<argument type="service" id="kernel"/>
</service>
<service id="response_listener" class="Symfony\Component\HttpKernel\EventListener\ResponseListener">
<tag name="kernel.event_subscriber"/>
<argument>UTF-8</argument>
</service>
<service id="streamed_response_listener" class="Symfony\Component\HttpKernel\EventListener\StreamedResponseListener">
<tag name="kernel.event_subscriber"/>
</service>
<service id="locale_listener" class="Symfony\Component\HttpKernel\EventListener\LocaleListener">
<tag name="kernel.event_subscriber"/>
<argument>en</argument>
<argument type="service" id="router" on-invalid="ignore"/>
<argument type="service" id="request_stack"/>
</service>
<service id="http_kernel" class="Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel">
<argument type="service" id="debug.event_dispatcher"/>
<argument type="service" id="service_container"/>
<argument type="service" id="debug.controller_resolver"/>
<argument type="service" id="request_stack"/>
</service>
<service id="request_stack" class="Symfony\Component\HttpFoundation\RequestStack"/>
<service id="cache_warmer" class="Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate">
<argument type="collection">
<argument type="service">
<service class="Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplatePathsCacheWarmer" public="false">
<tag name="kernel.cache_warmer" priority="20"/>
<argument type="service">
<service class="Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinder" public="false">
<argument type="service" id="kernel"/>
<argument type="service" id="templating.filename_parser"/>
<argument>/var/www/Jenkins/app/Resources</argument>
</service>
</argument>
<argument type="service" id="templating.locator"/>
</service>
</argument>
<argument type="service">
<service class="Symfony\Bundle\AsseticBundle\CacheWarmer\AssetManagerCacheWarmer" public="false">
<tag name="kernel.cache_warmer" priority="10"/>
<argument type="service" id="service_container"/>
</service>
</argument>
<argument type="service">
<service class="Symfony\Bundle\FrameworkBundle\CacheWarmer\RouterCacheWarmer" public="false">
<tag name="kernel.cache_warmer"/>
<argument type="service" id="router"/>
</service>
</argument>
<argument type="service">
<service class="Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheCacheWarmer" public="false">
<tag name="kernel.cache_warmer"/>
<argument type="service" id="service_container"/>
<argument type="service">
<service class="Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinder" public="false">
<argument type="service" id="kernel"/>
<argument type="service" id="templating.filename_parser"/>
<argument>/var/www/Jenkins/app/Resources</argument>
</service>
</argument>
</service>
</argument>
<argument type="service">
<service class="Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer" public="false">
<tag name="kernel.cache_warmer"/>
<argument type="service" id="doctrine"/>
</service>
</argument>
</argument>
</service>
<service id="cache_clearer" class="Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer">
<argument type="collection"/>
</service>
<service id="request" scope="request" synthetic="true" synchronized="true"/>
<service id="service_container" synthetic="true"/>
<service id="kernel" synthetic="true"/>
<service id="filesystem" class="Symfony\Component\Filesystem\Filesystem"/>
<service id="file_locator" class="Symfony\Component\HttpKernel\Config\FileLocator">
<argument type="service" id="kernel"/>
<argument>/var/www/Jenkins/app/Resources</argument>
</service>
<service id="uri_signer" class="Symfony\Component\HttpKernel\UriSigner">
<argument>ThisTokenIsNotSoSecretChangeIt</argument>
</service>
<service id="fragment.handler" class="Symfony\Component\HttpKernel\Fragment\FragmentHandler">
<argument type="collection"/>
<argument>true</argument>
<argument type="service" id="request_stack"/>
<call method="addRenderer">
<argument type="service" id="fragment.renderer.inline"/>
</call>
<call method="addRenderer">
<argument type="service" id="fragment.renderer.hinclude"/>
</call>
<call method="addRenderer">
<argument type="service" id="fragment.renderer.esi"/>
</call>
</service>
<service id="fragment.renderer.inline" class="Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer">
<tag name="kernel.fragment_renderer"/>
<argument type="service" id="http_kernel"/>
<argument type="service" id="debug.event_dispatcher"/>
<call method="setFragmentPath">
<argument>/_fragment</argument>
</call>
</service>
<service id="fragment.renderer.hinclude" class="Symfony\Bundle\FrameworkBundle\Fragment\ContainerAwareHIncludeFragmentRenderer">
<tag name="kernel.fragment_renderer"/>
<argument type="service" id="service_container"/>
<argument type="service" id="uri_signer"/>
<argument>null</argument>
<call method="setFragmentPath">
<argument>/_fragment</argument>
</call>
</service>
<service id="fragment.renderer.esi" class="Symfony\Component\HttpKernel\Fragment\EsiFragmentRenderer">
<tag name="kernel.fragment_renderer"/>
<argument>null</argument>
<argument type="service" id="fragment.renderer.inline"/>
<call method="setFragmentPath">
<argument>/_fragment</argument>
</call>
</service>
<service id="translator.default" class="Symfony\Bundle\FrameworkBundle\Translation\Translator">
<argument type="service" id="service_container"/>
<argument type="service" id="translator.selector"/>
<argument type="collection">
<argument key="translation.loader.php" type="collection">
<argument>php</argument>
</argument>
<argument key="translation.loader.yml" type="collection">
<argument>yml</argument>
</argument>
<argument key="translation.loader.xliff" type="collection">
<argument>xlf</argument>
<argument>xliff</argument>
</argument>
<argument key="translation.loader.po" type="collection">
<argument>po</argument>
</argument>
<argument key="translation.loader.mo" type="collection">
<argument>mo</argument>
</argument>
<argument key="translation.loader.qt" type="collection">
<argument>ts</argument>
</argument>
<argument key="translation.loader.csv" type="collection">
<argument>csv</argument>
</argument>
<argument key="translation.loader.res" type="collection">
<argument>res</argument>
</argument>
<argument key="translation.loader.dat" type="collection">
<argument>dat</argument>
</argument>
<argument key="translation.loader.ini" type="collection">
<argument>ini</argument>
</argument>
<argument key="translation.loader.json" type="collection">
<argument>json</argument>
</argument>
</argument>
<argument type="collection">
<argument key="cache_dir">/var/www/Jenkins/app/cache/test/translations</argument>
<argument key="debug">true</argument>
</argument>
</service>
<service id="translator" class="Symfony\Component\Translation\IdentityTranslator">
<argument type="service" id="translator.selector"/>
</service>
<service id="translator.selector" class="Symfony\Component\Translation\MessageSelector" public="false"/>
<service id="translation.loader.php" class="Symfony\Component\Translation\Loader\PhpFileLoader">
<tag name="translation.loader" alias="php"/>
</service>
<service id="translation.loader.yml" class="Symfony\Component\Translation\Loader\YamlFileLoader">
<tag name="translation.loader" alias="yml"/>
</service>
<service id="translation.loader.xliff" class="Symfony\Component\Translation\Loader\XliffFileLoader">
<tag name="translation.loader" alias="xlf" legacy_alias="xliff" legacy-alias="xliff"/>
</service>
<service id="translation.loader.po" class="Symfony\Component\Translation\Loader\PoFileLoader">
<tag name="translation.loader" alias="po"/>
</service>
<service id="translation.loader.mo" class="Symfony\Component\Translation\Loader\MoFileLoader">
<tag name="translation.loader" alias="mo"/>
</service>
<service id="translation.loader.qt" class="Symfony\Component\Translation\Loader\QtFileLoader">
<tag name="translation.loader" alias="ts"/>
</service>
<service id="translation.loader.csv" class="Symfony\Component\Translation\Loader\CsvFileLoader">
<tag name="translation.loader" alias="csv"/>
</service>
<service id="translation.loader.res" class="Symfony\Component\Translation\Loader\IcuResFileLoader">
<tag name="translation.loader" alias="res"/>
</service>
<service id="translation.loader.dat" class="Symfony\Component\Translation\Loader\IcuDatFileLoader">
<tag name="translation.loader" alias="dat"/>
</service>
<service id="translation.loader.ini" class="Symfony\Component\Translation\Loader\IniFileLoader">
<tag name="translation.loader" alias="ini"/>
</service>
<service id="translation.loader.json" class="Symfony\Component\Translation\Loader\JsonFileLoader">
<tag name="translation.loader" alias="json"/>
</service>
<service id="translation.dumper.php" class="Symfony\Component\Translation\Dumper\PhpFileDumper">
<tag name="translation.dumper" alias="php"/>
</service>
<service id="translation.dumper.xliff" class="Symfony\Component\Translation\Dumper\XliffFileDumper">
<tag name="translation.dumper" alias="xlf"/>
</service>
<service id="translation.dumper.po" class="Symfony\Component\Translation\Dumper\PoFileDumper">
<tag name="translation.dumper" alias="po"/>
</service>
<service id="translation.dumper.mo" class="Symfony\Component\Translation\Dumper\MoFileDumper">
<tag name="translation.dumper" alias="mo"/>
</service>
<service id="translation.dumper.yml" class="Symfony\Component\Translation\Dumper\YamlFileDumper">
<tag name="translation.dumper" alias="yml"/>
</service>
<service id="translation.dumper.qt" class="Symfony\Component\Translation\Dumper\QtFileDumper">
<tag name="translation.dumper" alias="ts"/>
</service>
<service id="translation.dumper.csv" class="Symfony\Component\Translation\Dumper\CsvFileDumper">
<tag name="translation.dumper" alias="csv"/>
</service>
<service id="translation.dumper.ini" class="Symfony\Component\Translation\Dumper\IniFileDumper">
<tag name="translation.dumper" alias="ini"/>
</service>
<service id="translation.dumper.json" class="Symfony\Component\Translation\Dumper\JsonFileDumper">
<tag name="translation.dumper" alias="json"/>
</service>
<service id="translation.dumper.res" class="Symfony\Component\Translation\Dumper\IcuResFileDumper">
<tag name="translation.dumper" alias="res"/>
</service>
<service id="translation.extractor.php" class="Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor">
<tag name="translation.extractor" alias="php"/>
</service>
<service id="translation.loader" class="Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader">
<call method="addLoader">
<argument>php</argument>
<argument type="service" id="translation.loader.php"/>
</call>
<call method="addLoader">
<argument>yml</argument>
<argument type="service" id="translation.loader.yml"/>
</call>
<call method="addLoader">
<argument>xlf</argument>
<argument type="service" id="translation.loader.xliff"/>
</call>
<call method="addLoader">
<argument>xliff</argument>
<argument type="service" id="translation.loader.xliff"/>
</call>
<call method="addLoader">
<argument>po</argument>
<argument type="service" id="translation.loader.po"/>
</call>
<call method="addLoader">
<argument>mo</argument>
<argument type="service" id="translation.loader.mo"/>
</call>
<call method="addLoader">
<argument>ts</argument>
<argument type="service" id="translation.loader.qt"/>
</call>
<call method="addLoader">
<argument>csv</argument>
<argument type="service" id="translation.loader.csv"/>
</call>
<call method="addLoader">
<argument>res</argument>
<argument type="service" id="translation.loader.res"/>
</call>
<call method="addLoader">
<argument>dat</argument>
<argument type="service" id="translation.loader.dat"/>
</call>
<call method="addLoader">
<argument>ini</argument>
<argument type="service" id="translation.loader.ini"/>
</call>
<call method="addLoader">
<argument>json</argument>
<argument type="service" id="translation.loader.json"/>
</call>
</service>
<service id="translation.extractor" class="Symfony\Component\Translation\Extractor\ChainExtractor">
<call method="addExtractor">
<argument>php</argument>
<argument type="service" id="translation.extractor.php"/>
</call>
<call method="addExtractor">
<argument>twig</argument>
<argument type="service" id="twig.translation.extractor"/>
</call>
</service>
<service id="translation.writer" class="Symfony\Component\Translation\Writer\TranslationWriter">
<call method="addDumper">
<argument>php</argument>
<argument type="service" id="translation.dumper.php"/>
</call>
<call method="addDumper">
<argument>xlf</argument>
<argument type="service" id="translation.dumper.xliff"/>
</call>
<call method="addDumper">
<argument>po</argument>
<argument type="service" id="translation.dumper.po"/>
</call>
<call method="addDumper">
<argument>mo</argument>
<argument type="service" id="translation.dumper.mo"/>
</call>
<call method="addDumper">
<argument>yml</argument>
<argument type="service" id="translation.dumper.yml"/>
</call>
<call method="addDumper">
<argument>ts</argument>
<argument type="service" id="translation.dumper.qt"/>
</call>
<call method="addDumper">
<argument>csv</argument>
<argument type="service" id="translation.dumper.csv"/>
</call>
<call method="addDumper">
<argument>ini</argument>
<argument type="service" id="translation.dumper.ini"/>
</call>
<call method="addDumper">
<argument>json</argument>
<argument type="service" id="translation.dumper.json"/>
</call>
<call method="addDumper">
<argument>res</argument>
<argument type="service" id="translation.dumper.res"/>
</call>
</service>
<service id="property_accessor" class="Symfony\Component\PropertyAccess\PropertyAccessor"/>
<service id="debug.emergency_logger_listener" class="Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener">
<tag name="kernel.event_subscriber"/>
<tag name="monolog.logger" channel="emergency"/>
<argument>emergency</argument>
<argument type="service" id="monolog.logger.emergency" on-invalid="null"/>
</service>
<service id="debug.stopwatch" class="Symfony\Component\Stopwatch\Stopwatch"/>
<service id="debug.event_dispatcher" class="Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher">
<tag name="monolog.logger" channel="event"/>
<argument type="service">
<service class="Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher" public="false">
<argument type="service" id="service_container"/>
</service>
</argument>
<argument type="service" id="debug.stopwatch"/>
<argument type="service" id="monolog.logger.event" on-invalid="null"/>
<call method="addListenerService">
<argument>kernel.controller</argument>
<argument type="collection">
<argument>data_collector.router</argument>
<argument>onKernelController</argument>
</argument>
<argument>0</argument>
</call>
<call method="addListenerService">
<argument>console.command</argument>
<argument type="collection">
<argument>monolog.handler.console</argument>
<argument>onCommand</argument>
</argument>
<argument>255</argument>
</call>
<call method="addListenerService">
<argument>console.terminate</argument>
<argument type="collection">
<argument>monolog.handler.console</argument>
<argument>onTerminate</argument>
</argument>
<argument>-255</argument>
</call>
<call method="addListenerService">
<argument>kernel.request</argument>
<argument type="collection">
<argument>assetic.request_listener</argument>
<argument>onKernelRequest</argument>
</argument>
<argument>0</argument>
</call>
<call method="addListenerService">
<argument>kernel.controller</argument>
<argument type="collection">
<argument>acme.demo.listener</argument>
<argument>onKernelController</argument>
</argument>
<argument>0</argument>
</call>
<call method="addSubscriberService">
<argument>response_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\ResponseListener</argument>
</call>
<call method="addSubscriberService">
<argument>streamed_response_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\StreamedResponseListener</argument>
</call>
<call method="addSubscriberService">
<argument>locale_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\LocaleListener</argument>
</call>
<call method="addSubscriberService">
<argument>debug.emergency_logger_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener</argument>
</call>
<call method="addSubscriberService">
<argument>debug.deprecation_logger_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener</argument>
</call>
<call method="addSubscriberService">
<argument>debug.scream_logger_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener</argument>
</call>
<call method="addSubscriberService">
<argument>debug.debug_handlers_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\DebugHandlersListener</argument>
</call>
<call method="addSubscriberService">
<argument>test.session.listener</argument>
<argument>Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListener</argument>
</call>
<call method="addSubscriberService">
<argument>session_listener</argument>
<argument>Symfony\Bundle\FrameworkBundle\EventListener\SessionListener</argument>
</call>
<call method="addSubscriberService">
<argument>fragment.listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\FragmentListener</argument>
</call>
<call method="addSubscriberService">
<argument>profiler_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\ProfilerListener</argument>
</call>
<call method="addSubscriberService">
<argument>data_collector.request</argument>
<argument>Symfony\Component\HttpKernel\DataCollector\RequestDataCollector</argument>
</call>
<call method="addSubscriberService">
<argument>router_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\RouterListener</argument>
</call>
<call method="addSubscriberService">
<argument>security.firewall</argument>
<argument>Symfony\Component\Security\Http\Firewall</argument>
</call>
<call method="addSubscriberService">
<argument>security.rememberme.response_listener</argument>
<argument>Symfony\Component\Security\Http\RememberMe\ResponseListener</argument>
</call>
<call method="addSubscriberService">
<argument>twig.exception_listener</argument>
<argument>Symfony\Component\HttpKernel\EventListener\ExceptionListener</argument>
</call>
<call method="addSubscriberService">
<argument>swiftmailer.email_sender.listener</argument>
<argument>Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener</argument>
</call>
<call method="addSubscriberService">
<argument>sensio_framework_extra.controller.listener</argument>
<argument>Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener</argument>
</call>
<call method="addSubscriberService">
<argument>sensio_framework_extra.converter.listener</argument>
<argument>Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener</argument>
</call>
<call method="addSubscriberService">
<argument>sensio_framework_extra.view.listener</argument>
<argument>Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener</argument>
</call>
<call method="addSubscriberService">
<argument>sensio_framework_extra.cache.listener</argument>
<argument>Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener</argument>
</call>
<call method="addSubscriberService">
<argument>sensio_framework_extra.security.listener</argument>
<argument>Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener</argument>
</call>
</service>
<service id="debug.controller_resolver" class="Symfony\Component\HttpKernel\Controller\TraceableControllerResolver">
<argument type="service">
<service class="Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver" public="false">
<tag name="monolog.logger" channel="request"/>
<argument type="service" id="service_container"/>
<argument type="service" id="controller_name_converter"/>
<argument type="service" id="monolog.logger.request" on-invalid="ignore"/>
</service>
</argument>
<argument type="service" id="debug.stopwatch"/>
</service>
<service id="debug.deprecation_logger_listener" class="Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener">
<tag name="kernel.event_subscriber"/>
<tag name="monolog.logger" channel="deprecation"/>
<argument>deprecation</argument>
<argument type="service" id="monolog.logger.deprecation" on-invalid="null"/>
</service>
<service id="debug.scream_logger_listener" class="Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener">
<tag name="kernel.event_subscriber"/>
<tag name="monolog.logger" channel="scream"/>
<argument>scream</argument>
<argument type="service" id="monolog.logger.scream" on-invalid="null"/>
</service>
<service id="debug.debug_handlers_listener" class="Symfony\Component\HttpKernel\EventListener\DebugHandlersListener">
<tag name="kernel.event_subscriber"/>
<argument type="collection">
<argument type="service" id="http_kernel" on-invalid="null"/>
<argument>terminateWithException</argument>
</argument>
</service>
<service id="test.client" class="Symfony\Bundle\FrameworkBundle\Client" scope="prototype">
<argument type="service" id="kernel"/>
<argument type="collection"/>
<argument type="service">
<service class="Symfony\Component\BrowserKit\History" scope="prototype"/>
</argument>
<argument type="service">
<service class="Symfony\Component\BrowserKit\CookieJar" scope="prototype"/>
</argument>
</service>
<service id="test.client.history" class="Symfony\Component\BrowserKit\History" scope="prototype"/>
<service id="test.client.cookiejar" class="Symfony\Component\BrowserKit\CookieJar" scope="prototype"/>
<service id="test.session.listener" class="Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListener">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="service_container"/>
</service>
<service id="session" class="Symfony\Component\HttpFoundation\Session\Session">
<argument type="service" id="session.storage.filesystem"/>
<argument type="service">
<service class="Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag" public="false"/>
</argument>
<argument type="service">
<service class="Symfony\Component\HttpFoundation\Session\Flash\FlashBag" public="false"/>
</argument>
</service>
<service id="session.storage.metadata_bag" class="Symfony\Component\HttpFoundation\Session\Storage\MetadataBag" public="false">
<argument>_sf2_meta</argument>
<argument>0</argument>
</service>
<service id="session.storage.native" class="Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage">
<argument type="collection">
<argument key="gc_probability">1</argument>
</argument>
<argument>null</argument>
<argument type="service" id="session.storage.metadata_bag"/>
</service>
<service id="session.storage.php_bridge" class="Symfony\Component\HttpFoundation\Session\Storage\PhpBridgeSessionStorage">
<argument>null</argument>
<argument type="service" id="session.storage.metadata_bag"/>
</service>
<service id="session_listener" class="Symfony\Bundle\FrameworkBundle\EventListener\SessionListener">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="service_container"/>
</service>
<service id="security.secure_random" class="Symfony\Component\Security\Core\Util\SecureRandom">
<tag name="monolog.logger" channel="security"/>
<argument>/var/www/Jenkins/app/cache/test/secure_random.seed</argument>
<argument type="service" id="monolog.logger.security" on-invalid="ignore"/>
</service>
<service id="form.resolved_type_factory" class="Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeFactoryDataCollectorProxy">
<argument type="service" id="f100c53db13701babc79d21e7e4bb673380fb1a16a733b0d2978741d53645f68_1"/>
<argument type="service" id="data_collector.form"/>
</service>
<service id="form.registry" class="Symfony\Component\Form\FormRegistry">
<argument type="collection">
<argument type="service">
<service class="Symfony\Component\Form\Extension\DependencyInjection\DependencyInjectionExtension" public="false">
<argument type="service" id="service_container"/>
<argument type="collection">
<argument key="form">form.type.form</argument>
<argument key="birthday">form.type.birthday</argument>
<argument key="checkbox">form.type.checkbox</argument>
<argument key="choice">form.type.choice</argument>
<argument key="collection">form.type.collection</argument>
<argument key="country">form.type.country</argument>
<argument key="date">form.type.date</argument>
<argument key="datetime">form.type.datetime</argument>
<argument key="email">form.type.email</argument>
<argument key="file">form.type.file</argument>
<argument key="hidden">form.type.hidden</argument>
<argument key="integer">form.type.integer</argument>
<argument key="language">form.type.language</argument>
<argument key="locale">form.type.locale</argument>
<argument key="money">form.type.money</argument>
<argument key="number">form.type.number</argument>
<argument key="password">form.type.password</argument>
<argument key="percent">form.type.percent</argument>
<argument key="radio">form.type.radio</argument>
<argument key="repeated">form.type.repeated</argument>
<argument key="search">form.type.search</argument>
<argument key="textarea">form.type.textarea</argument>
<argument key="text">form.type.text</argument>
<argument key="time">form.type.time</argument>
<argument key="timezone">form.type.timezone</argument>
<argument key="url">form.type.url</argument>
<argument key="button">form.type.button</argument>
<argument key="submit">form.type.submit</argument>
<argument key="reset">form.type.reset</argument>
<argument key="currency">form.type.currency</argument>
<argument key="entity">form.type.entity</argument>
</argument>
<argument type="collection">
<argument key="form" type="collection">
<argument>form.type_extension.form.http_foundation</argument>
<argument>form.type_extension.form.validator</argument>
<argument>form.type_extension.csrf</argument>
<argument>form.type_extension.form.data_collector</argument>
</argument>
<argument key="repeated" type="collection">
<argument>form.type_extension.repeated.validator</argument>
</argument>
<argument key="submit" type="collection">
<argument>form.type_extension.submit.validator</argument>
</argument>
</argument>
<argument type="collection">
<argument>form.type_guesser.validator</argument>
<argument>form.type_guesser.doctrine</argument>
</argument>
</service>
</argument>
</argument>
<argument type="service" id="form.resolved_type_factory"/>
</service>
<service id="form.factory" class="Symfony\Component\Form\FormFactory">
<argument type="service" id="form.registry"/>
<argument type="service" id="form.resolved_type_factory"/>
</service>
<service id="form.type_guesser.validator" class="Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser">
<tag name="form.type_guesser"/>
<argument type="service" id="validator"/>
</service>
<service id="form.type.form" class="Symfony\Component\Form\Extension\Core\Type\FormType">
<tag name="form.type" alias="form"/>
<argument type="service" id="property_accessor"/>
</service>
<service id="form.type.birthday" class="Symfony\Component\Form\Extension\Core\Type\BirthdayType">
<tag name="form.type" alias="birthday"/>
</service>
<service id="form.type.checkbox" class="Symfony\Component\Form\Extension\Core\Type\CheckboxType">
<tag name="form.type" alias="checkbox"/>
</service>
<service id="form.type.choice" class="Symfony\Component\Form\Extension\Core\Type\ChoiceType">
<tag name="form.type" alias="choice"/>
</service>
<service id="form.type.collection" class="Symfony\Component\Form\Extension\Core\Type\CollectionType">
<tag name="form.type" alias="collection"/>
</service>
<service id="form.type.country" class="Symfony\Component\Form\Extension\Core\Type\CountryType">
<tag name="form.type" alias="country"/>
</service>
<service id="form.type.date" class="Symfony\Component\Form\Extension\Core\Type\DateType">
<tag name="form.type" alias="date"/>
</service>
<service id="form.type.datetime" class="Symfony\Component\Form\Extension\Core\Type\DateTimeType">
<tag name="form.type" alias="datetime"/>
</service>
<service id="form.type.email" class="Symfony\Component\Form\Extension\Core\Type\EmailType">
<tag name="form.type" alias="email"/>
</service>
<service id="form.type.file" class="Symfony\Component\Form\Extension\Core\Type\FileType">
<tag name="form.type" alias="file"/>
</service>
<service id="form.type.hidden" class="Symfony\Component\Form\Extension\Core\Type\HiddenType">
<tag name="form.type" alias="hidden"/>
</service>
<service id="form.type.integer" class="Symfony\Component\Form\Extension\Core\Type\IntegerType">
<tag name="form.type" alias="integer"/>
</service>
<service id="form.type.language" class="Symfony\Component\Form\Extension\Core\Type\LanguageType">
<tag name="form.type" alias="language"/>
</service>
<service id="form.type.locale" class="Symfony\Component\Form\Extension\Core\Type\LocaleType">
<tag name="form.type" alias="locale"/>
</service>
<service id="form.type.money" class="Symfony\Component\Form\Extension\Core\Type\MoneyType">
<tag name="form.type" alias="money"/>
</service>
<service id="form.type.number" class="Symfony\Component\Form\Extension\Core\Type\NumberType">
<tag name="form.type" alias="number"/>
</service>
<service id="form.type.password" class="Symfony\Component\Form\Extension\Core\Type\PasswordType">
<tag name="form.type" alias="password"/>
</service>
<service id="form.type.percent" class="Symfony\Component\Form\Extension\Core\Type\PercentType">
<tag name="form.type" alias="percent"/>
</service>
<service id="form.type.radio" class="Symfony\Component\Form\Extension\Core\Type\RadioType">
<tag name="form.type" alias="radio"/>
</service>
<service id="form.type.repeated" class="Symfony\Component\Form\Extension\Core\Type\RepeatedType">
<tag name="form.type" alias="repeated"/>
</service>
<service id="form.type.search" class="Symfony\Component\Form\Extension\Core\Type\SearchType">
<tag name="form.type" alias="search"/>
</service>
<service id="form.type.textarea" class="Symfony\Component\Form\Extension\Core\Type\TextareaType">
<tag name="form.type" alias="textarea"/>
</service>
<service id="form.type.text" class="Symfony\Component\Form\Extension\Core\Type\TextType">
<tag name="form.type" alias="text"/>
</service>
<service id="form.type.time" class="Symfony\Component\Form\Extension\Core\Type\TimeType">
<tag name="form.type" alias="time"/>
</service>
<service id="form.type.timezone" class="Symfony\Component\Form\Extension\Core\Type\TimezoneType">
<tag name="form.type" alias="timezone"/>
</service>
<service id="form.type.url" class="Symfony\Component\Form\Extension\Core\Type\UrlType">
<tag name="form.type" alias="url"/>
</service>
<service id="form.type.button" class="Symfony\Component\Form\Extension\Core\Type\ButtonType">
<tag name="form.type" alias="button"/>
</service>
<service id="form.type.submit" class="Symfony\Component\Form\Extension\Core\Type\SubmitType">
<tag name="form.type" alias="submit"/>
</service>
<service id="form.type.reset" class="Symfony\Component\Form\Extension\Core\Type\ResetType">
<tag name="form.type" alias="reset"/>
</service>
<service id="form.type.currency" class="Symfony\Component\Form\Extension\Core\Type\CurrencyType">
<tag name="form.type" alias="currency"/>
</service>
<service id="form.type_extension.form.http_foundation" class="Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension">
<tag name="form.type_extension" alias="form"/>
<argument type="service">
<service class="Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationRequestHandler" public="false"/>
</argument>
</service>
<service id="form.type_extension.form.validator" class="Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension">
<tag name="form.type_extension" alias="form"/>
<argument type="service" id="validator"/>
</service>
<service id="form.type_extension.repeated.validator" class="Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension">
<tag name="form.type_extension" alias="repeated"/>
</service>
<service id="form.type_extension.submit.validator" class="Symfony\Component\Form\Extension\Validator\Type\SubmitTypeValidatorExtension">
<tag name="form.type_extension" alias="submit"/>
</service>
<service id="form.csrf_provider" class="Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfTokenManagerAdapter">
<argument type="service" id="security.csrf.token_manager"/>
</service>
<service id="form.type_extension.csrf" class="Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension">
<tag name="form.type_extension" alias="form"/>
<argument type="service" id="form.csrf_provider"/>
<argument>true</argument>
<argument>_token</argument>
<argument type="service" id="translator.default"/>
<argument>validators</argument>
</service>
<service id="security.csrf.token_manager" class="Symfony\Component\Security\Csrf\CsrfTokenManager">
<argument type="service">
<service class="Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator" public="false">
<argument type="service" id="security.secure_random"/>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage" public="false">
<argument type="service" id="session"/>
</service>
</argument>
</service>
<service id="templating.name_parser" class="Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser">
<argument type="service" id="kernel"/>
</service>
<service id="templating.filename_parser" class="Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser"/>
<service id="templating.locator" class="Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator" public="false">
<argument type="service" id="file_locator"/>
<argument>/var/www/Jenkins/app/cache/test</argument>
</service>
<service id="templating.helper.slots" class="Symfony\Component\Templating\Helper\SlotsHelper">
<tag name="templating.helper" alias="slots"/>
</service>
<service id="templating.helper.assets" class="Symfony\Component\Templating\Helper\CoreAssetsHelper" scope="request">
<tag name="templating.helper" alias="assets"/>
<argument type="service">
<service class="Symfony\Bundle\FrameworkBundle\Templating\Asset\PathPackage" scope="request" public="false">
<argument type="service" id="request"/>
<argument>null</argument>
<argument>%%s?%%s</argument>
</service>
</argument>
<argument type="collection"/>
</service>
<service id="templating.asset.package_factory" class="Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory">
<argument type="service" id="service_container"/>
</service>
<service id="templating.helper.request" class="Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper">
<tag name="templating.helper" alias="request"/>
<argument type="service" id="request_stack"/>
</service>
<service id="templating.helper.session" class="Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper">
<tag name="templating.helper" alias="session"/>
<argument type="service" id="request_stack"/>
</service>
<service id="templating.helper.router" class="Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper">
<tag name="templating.helper" alias="router"/>
<argument type="service" id="router"/>
</service>
<service id="templating.helper.actions" class="Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper">
<tag name="templating.helper" alias="actions"/>
<argument type="service" id="fragment.handler"/>
</service>
<service id="templating.helper.code" class="Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper">
<tag name="templating.helper" alias="code"/>
<argument>null</argument>
<argument>/var/www/Jenkins/app</argument>
<argument>UTF-8</argument>
</service>
<service id="templating.helper.translator" class="Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper">
<tag name="templating.helper" alias="translator"/>
<argument type="service" id="translator"/>
</service>
<service id="templating.helper.form" class="Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper">
<tag name="templating.helper" alias="form"/>
<argument type="service">
<service class="Symfony\Component\Form\FormRenderer" public="false">
<argument type="service">
<service class="Symfony\Component\Form\Extension\Templating\TemplatingRendererEngine" public="false">
<argument type="service" id="debug.templating.engine.php"/>
<argument type="collection">
<argument>FrameworkBundle:Form</argument>
</argument>
</service>
</argument>
<argument type="service" id="form.csrf_provider" on-invalid="null"/>
</service>
</argument>
</service>
<service id="templating.helper.stopwatch" class="Symfony\Bundle\FrameworkBundle\Templating\Helper\StopwatchHelper">
<tag name="templating.helper" alias="stopwatch"/>
<argument type="service" id="debug.stopwatch" on-invalid="ignore"/>
</service>
<service id="templating.globals" class="Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables">
<argument type="service" id="service_container"/>
</service>
<service id="validator" class="Symfony\Component\Validator\ValidatorInterface" factory-method="getValidator" factory-service="validator.builder"/>
<service id="validator.builder" class="Symfony\Component\Validator\ValidatorBuilderInterface" factory-method="createValidatorBuilder" factory-class="%validator.builder.factory.class%">
<call method="setConstraintValidatorFactory">
<argument type="service">
<service class="Symfony\Bundle\FrameworkBundle\Validator\ConstraintValidatorFactory" public="false">
<argument type="service" id="service_container"/>
<argument type="collection">
<argument key="validator.expression">validator.expression</argument>
<argument key="Symfony\Component\Validator\Constraints\EmailValidator">validator.email</argument>
<argument key="security.validator.user_password">security.validator.user_password</argument>
<argument key="doctrine.orm.validator.unique">doctrine.orm.validator.unique</argument>
</argument>
</service>
</argument>
</call>
<call method="setTranslator">
<argument type="service" id="translator"/>
</call>
<call method="setTranslationDomain">
<argument>validators</argument>
</call>
<call method="addXmlMappings">
<argument type="collection">
<argument>/var/www/Jenkins/vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml</argument>
</argument>
</call>
<call method="enableAnnotationMapping">
<argument type="service" id="annotation_reader"/>
</call>
<call method="addMethodMapping">
<argument>loadValidatorMetadata</argument>
</call>
<call method="addObjectInitializers">
<argument type="collection">
<argument type="service" id="doctrine.orm.validator_initializer"/>
</argument>
</call>
</service>
<service id="validator.expression" class="Symfony\Component\Validator\Constraints\ExpressionValidator">
<tag name="validator.constraint_validator" alias="validator.expression"/>
<argument type="service" id="property_accessor"/>
</service>
<service id="validator.email" class="Symfony\Component\Validator\Constraints\EmailValidator">
<tag name="validator.constraint_validator" alias="Symfony\Component\Validator\Constraints\EmailValidator"/>
<argument>false</argument>
</service>
<service id="fragment.listener" class="Symfony\Component\HttpKernel\EventListener\FragmentListener">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="uri_signer"/>
<argument>/_fragment</argument>
</service>
<service id="f100c53db13701babc79d21e7e4bb673380fb1a16a733b0d2978741d53645f68_1" class="Symfony\Component\Form\ResolvedFormTypeFactory"/>
<service id="form.type_extension.form.data_collector" class="Symfony\Component\Form\Extension\DataCollector\Type\DataCollectorTypeExtension">
<tag name="form.type_extension" alias="form"/>
<argument type="service" id="data_collector.form"/>
</service>
<service id="profiler" class="Symfony\Component\HttpKernel\Profiler\Profiler">
<tag name="monolog.logger" channel="profiler"/>
<argument type="service">
<service class="Symfony\Component\HttpKernel\Profiler\FileProfilerStorage" public="false">
<argument>file:/var/www/Jenkins/app/cache/test/profiler</argument>
<argument></argument>
<argument></argument>
<argument>86400</argument>
</service>
</argument>
<argument type="service" id="monolog.logger.profiler" on-invalid="null"/>
<call method="disable"/>
<call method="add">
<argument type="service">
<service class="Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector" public="false">
<tag name="data_collector" template="@WebProfiler/Collector/config.html.twig" id="config" priority="255"/>
<call method="setKernel">
<argument type="service" id="kernel" on-invalid="ignore"/>
</call>
</service>
</argument>
</call>
<call method="add">
<argument type="service" id="data_collector.request"/>
</call>
<call method="add">
<argument type="service">
<service class="Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector" public="false">
<tag name="data_collector" template="@WebProfiler/Collector/exception.html.twig" id="exception" priority="255"/>
</service>
</argument>
</call>
<call method="add">
<argument type="service">
<service class="Symfony\Component\HttpKernel\DataCollector\EventDataCollector" public="false">
<tag name="data_collector" template="@WebProfiler/Collector/events.html.twig" id="events" priority="255"/>
<argument type="service" id="debug.event_dispatcher" on-invalid="ignore"/>
</service>
</argument>
</call>
<call method="add">
<argument type="service">
<service class="Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector" public="false">
<tag name="data_collector" template="@WebProfiler/Collector/logger.html.twig" id="logger" priority="255"/>
<tag name="monolog.logger" channel="profiler"/>
<argument type="service" id="monolog.logger.profiler" on-invalid="ignore"/>
</service>
</argument>
</call>
<call method="add">
<argument type="service">
<service class="Symfony\Component\HttpKernel\DataCollector\TimeDataCollector" public="false">
<tag name="data_collector" template="@WebProfiler/Collector/time.html.twig" id="time" priority="255"/>
<argument type="service" id="kernel" on-invalid="ignore"/>
<argument type="service" id="debug.stopwatch" on-invalid="ignore"/>
</service>
</argument>
</call>
<call method="add">
<argument type="service">
<service class="Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector" public="false">
<tag name="data_collector" template="@WebProfiler/Collector/memory.html.twig" id="memory" priority="255"/>
</service>
</argument>
</call>
<call method="add">
<argument type="service" id="data_collector.router"/>
</call>
<call method="add">
<argument type="service" id="data_collector.form"/>
</call>
<call method="add">
<argument type="service">
<service class="Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector" public="false">
<tag name="data_collector" template="@Security/Collector/security.html.twig" id="security"/>
<argument type="service" id="security.context" on-invalid="ignore"/>
</service>
</argument>
</call>
<call method="add">
<argument type="service">
<service class="Symfony\Bundle\SwiftmailerBundle\DataCollector\MessageDataCollector" public="false">
<tag name="data_collector" template="@Swiftmailer/Collector/swiftmailer.html.twig" id="swiftmailer"/>
<argument type="service" id="service_container"/>
</service>
</argument>
</call>
<call method="add">
<argument type="service">
<service class="Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector" public="false">
<tag name="data_collector" template="DoctrineBundle:Collector:db" id="db"/>
<argument type="service" id="doctrine"/>
<call method="addLogger">
<argument>default</argument>
<argument type="service" id="doctrine.dbal.logger.profiling.default"/>
</call>
</service>
</argument>
</call>
</service>
<service id="profiler_listener" class="Symfony\Component\HttpKernel\EventListener\ProfilerListener">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="profiler"/>
<argument>null</argument>
<argument>false</argument>
<argument>false</argument>
<argument type="service" id="request_stack"/>
</service>
<service id="data_collector.request" class="Symfony\Component\HttpKernel\DataCollector\RequestDataCollector">
<tag name="kernel.event_subscriber"/>
<tag name="data_collector" template="@WebProfiler/Collector/request.html.twig" id="request" priority="255"/>
</service>
<service id="data_collector.router" class="Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector">
<tag name="kernel.event_listener" event="kernel.controller" method="onKernelController"/>
<tag name="data_collector" template="@WebProfiler/Collector/router.html.twig" id="router" priority="255"/>
</service>
<service id="data_collector.form.extractor" class="Symfony\Component\Form\Extension\DataCollector\FormDataExtractor"/>
<service id="data_collector.form" class="Symfony\Component\Form\Extension\DataCollector\FormDataCollector">
<tag name="data_collector" template="@WebProfiler/Collector/form.html.twig" id="form" priority="255"/>
<argument type="service" id="data_collector.form.extractor"/>
</service>
<service id="routing.loader" class="Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader">
<tag name="monolog.logger" channel="router"/>
<argument type="service" id="controller_name_converter"/>
<argument type="service" id="monolog.logger.router" on-invalid="null"/>
<argument type="service">
<service class="Symfony\Component\Config\Loader\LoaderResolver" public="false">
<call method="addLoader">
<argument type="service">
<service class="Symfony\Component\Routing\Loader\XmlFileLoader" public="false">
<tag name="routing.loader"/>
<argument type="service" id="file_locator"/>
</service>
</argument>
</call>
<call method="addLoader">
<argument type="service">
<service class="Symfony\Component\Routing\Loader\YamlFileLoader" public="false">
<tag name="routing.loader"/>
<argument type="service" id="file_locator"/>
</service>
</argument>
</call>
<call method="addLoader">
<argument type="service">
<service class="Symfony\Component\Routing\Loader\PhpFileLoader" public="false">
<tag name="routing.loader"/>
<argument type="service" id="file_locator"/>
</service>
</argument>
</call>
<call method="addLoader">
<argument type="service">
<service class="Symfony\Bundle\AsseticBundle\Routing\AsseticLoader" public="false">
<tag name="routing.loader"/>
<argument type="service" id="assetic.asset_manager"/>
</service>
</argument>
</call>
<call method="addLoader">
<argument type="service">
<service class="Symfony\Component\Routing\Loader\AnnotationDirectoryLoader" public="false">
<tag name="routing.loader"/>
<argument type="service" id="file_locator"/>
<argument type="service">
<service class="Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader" public="false">
<tag name="routing.loader"/>
<argument type="service" id="annotation_reader"/>
</service>
</argument>
</service>
</argument>
</call>
<call method="addLoader">
<argument type="service">
<service class="Symfony\Component\Routing\Loader\AnnotationFileLoader" public="false">
<tag name="routing.loader"/>
<argument type="service" id="file_locator"/>
<argument type="service">
<service class="Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader" public="false">
<tag name="routing.loader"/>
<argument type="service" id="annotation_reader"/>
</service>
</argument>
</service>
</argument>
</call>
<call method="addLoader">
<argument type="service">
<service class="Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader" public="false">
<tag name="routing.loader"/>
<argument type="service" id="annotation_reader"/>
</service>
</argument>
</call>
</service>
</argument>
</service>
<service id="router.request_context" class="Symfony\Component\Routing\RequestContext" public="false">
<argument></argument>
<argument>GET</argument>
<argument>localhost</argument>
<argument>http</argument>
<argument>80</argument>
<argument>443</argument>
</service>
<service id="router_listener" class="Symfony\Component\HttpKernel\EventListener\RouterListener">
<tag name="kernel.event_subscriber"/>
<tag name="monolog.logger" channel="request"/>
<argument type="service" id="router"/>
<argument type="service" id="router.request_context" on-invalid="ignore"/>
<argument type="service" id="monolog.logger.request" on-invalid="ignore"/>
<argument type="service" id="request_stack"/>
</service>
<service id="security.context" class="Symfony\Component\Security\Core\SecurityContext">
<argument type="service" id="security.authentication.manager"/>
<argument type="service" id="security.access.decision_manager"/>
<argument>false</argument>
</service>
<service id="security.authentication.manager" class="Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager" public="false">
<argument type="collection">
<argument type="service">
<service class="Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider" public="false">
<argument type="service" id="security.user.provider.concrete.in_memory"/>
<argument type="service">
<service class="Symfony\Component\Security\Core\User\UserChecker" public="false"/>
</argument>
<argument>demo_secured_area</argument>
<argument type="service" id="security.encoder_factory"/>
<argument>true</argument>
</service>
</argument>
</argument>
<argument>true</argument>
<call method="setEventDispatcher">
<argument type="service" id="debug.event_dispatcher"/>
</call>
</service>
<service id="security.authentication.trust_resolver" class="Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver" public="false">
<argument>Symfony\Component\Security\Core\Authentication\Token\AnonymousToken</argument>
<argument>Symfony\Component\Security\Core\Authentication\Token\RememberMeToken</argument>
</service>
<service id="security.access.decision_manager" class="Symfony\Component\Security\Core\Authorization\AccessDecisionManager" public="false">
<argument type="collection">
<argument type="service">
<service class="Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter" public="false">
<tag name="security.voter" priority="245"/>
<argument type="service" id="security.role_hierarchy"/>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter" public="false">
<tag name="security.voter" priority="245"/>
<argument type="service">
<service class="Symfony\Component\Security\Core\Authorization\ExpressionLanguage" public="false"/>
</argument>
<argument type="service" id="security.authentication.trust_resolver"/>
<argument type="service" id="security.role_hierarchy" on-invalid="null"/>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter" public="false">
<tag name="security.voter" priority="250"/>
<argument type="service" id="security.authentication.trust_resolver"/>
</service>
</argument>
</argument>
<argument>affirmative</argument>
<argument>false</argument>
<argument>true</argument>
</service>
<service id="security.role_hierarchy" class="Symfony\Component\Security\Core\Role\RoleHierarchy" public="false">
<argument type="collection">
<argument key="ROLE_ADMIN" type="collection">
<argument>ROLE_USER</argument>
</argument>
<argument key="ROLE_SUPER_ADMIN" type="collection">
<argument>ROLE_USER</argument>
<argument>ROLE_ADMIN</argument>
<argument>ROLE_ALLOWED_TO_SWITCH</argument>
</argument>
</argument>
</service>
<service id="security.firewall" class="Symfony\Component\Security\Http\Firewall">
<tag name="kernel.event_subscriber"/>
<argument type="service">
<service class="Symfony\Bundle\SecurityBundle\Security\FirewallMap" public="false">
<argument type="service" id="service_container"/>
<argument type="collection">
<argument key="security.firewall.map.context.dev" type="service">
<service class="Symfony\Component\HttpFoundation\RequestMatcher" public="false">
<argument>^/(_(profiler|wdt)|css|images|js)/</argument>
</service>
</argument>
<argument key="security.firewall.map.context.demo_login" type="service">
<service class="Symfony\Component\HttpFoundation\RequestMatcher" public="false">
<argument>^/demo/secured/login$</argument>
</service>
</argument>
<argument key="security.firewall.map.context.demo_secured_area" type="service">
<service class="Symfony\Component\HttpFoundation\RequestMatcher" public="false">
<argument>^/demo/secured/</argument>
</service>
</argument>
</argument>
</service>
</argument>
<argument type="service" id="debug.event_dispatcher"/>
</service>
<service id="security.validator.user_password" class="Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator">
<tag name="validator.constraint_validator" alias="security.validator.user_password"/>
<argument type="service" id="security.context"/>
<argument type="service" id="security.encoder_factory"/>
</service>
<service id="security.rememberme.response_listener" class="Symfony\Component\Security\Http\RememberMe\ResponseListener">
<tag name="kernel.event_subscriber"/>
</service>
<service id="templating.helper.logout_url" class="Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper">
<tag name="templating.helper" alias="logout_url"/>
<argument type="service" id="service_container"/>
<argument type="service" id="router"/>
<call method="registerListener">
<argument>demo_secured_area</argument>
<argument>_demo_logout</argument>
<argument>logout</argument>
<argument>_csrf_token</argument>
<argument>null</argument>
</call>
</service>
<service id="templating.helper.security" class="Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper">
<tag name="templating.helper" alias="security"/>
<argument type="service" id="security.context" on-invalid="ignore"/>
</service>
<service id="security.user.provider.concrete.in_memory" class="Symfony\Component\Security\Core\User\InMemoryUserProvider" public="false">
<call method="createUser">
<argument type="service">
<service class="Symfony\Component\Security\Core\User\User" public="false">
<argument>user</argument>
<argument>userpass</argument>
<argument type="collection">
<argument>ROLE_USER</argument>
</argument>
</service>
</argument>
</call>
<call method="createUser">
<argument type="service">
<service class="Symfony\Component\Security\Core\User\User" public="false">
<argument>admin</argument>
<argument>adminpass</argument>
<argument type="collection">
<argument>ROLE_ADMIN</argument>
</argument>
</service>
</argument>
</call>
</service>
<service id="security.firewall.map.context.dev" class="Symfony\Bundle\SecurityBundle\Security\FirewallContext">
<argument type="collection"/>
<argument>null</argument>
</service>
<service id="security.firewall.map.context.demo_login" class="Symfony\Bundle\SecurityBundle\Security\FirewallContext">
<argument type="collection"/>
<argument>null</argument>
</service>
<service id="security.firewall.map.context.demo_secured_area" class="Symfony\Bundle\SecurityBundle\Security\FirewallContext">
<argument type="collection">
<argument type="service">
<service class="Symfony\Component\Security\Http\Firewall\ChannelListener" public="false">
<tag name="monolog.logger" channel="security"/>
<argument type="service">
<service class="Symfony\Component\Security\Http\AccessMap" public="false"/>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint" public="false">
<argument>80</argument>
<argument>443</argument>
</service>
</argument>
<argument type="service" id="monolog.logger.security" on-invalid="null"/>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\Firewall\ContextListener" public="false">
<argument type="service" id="security.context"/>
<argument type="collection">
<argument type="service" id="security.user.provider.concrete.in_memory"/>
</argument>
<argument>demo_secured_area</argument>
<argument type="service" id="monolog.logger.security" on-invalid="null"/>
<argument type="service" id="debug.event_dispatcher" on-invalid="null"/>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\Firewall\LogoutListener" public="false">
<argument type="service" id="security.context"/>
<argument type="service">
<service class="Symfony\Component\Security\Http\HttpUtils" public="false">
<argument type="service" id="router" on-invalid="null"/>
<argument type="service" id="router" on-invalid="null"/>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler" public="false">
<argument type="service">
<service class="Symfony\Component\Security\Http\HttpUtils" public="false">
<argument type="service" id="router" on-invalid="null"/>
<argument type="service" id="router" on-invalid="null"/>
</service>
</argument>
<argument>_demo</argument>
</service>
</argument>
<argument type="collection">
<argument key="csrf_parameter">_csrf_token</argument>
<argument key="intention">logout</argument>
<argument key="logout_path">_demo_logout</argument>
</argument>
<call method="addHandler">
<argument type="service">
<service class="Symfony\Component\Security\Http\Logout\SessionLogoutHandler" public="false"/>
</argument>
</call>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener" public="false">
<tag name="security.remember_me_aware" id="demo_secured_area" provider="security.user.provider.concrete.in_memory"/>
<argument type="service" id="security.context"/>
<argument type="service" id="security.authentication.manager"/>
<argument type="service">
<service class="Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy" public="false">
<argument>migrate</argument>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\HttpUtils" public="false">
<argument type="service" id="router" on-invalid="null"/>
<argument type="service" id="router" on-invalid="null"/>
</service>
</argument>
<argument>demo_secured_area</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler" public="false">
<argument type="service">
<service class="Symfony\Component\Security\Http\HttpUtils" public="false">
<argument type="service" id="router" on-invalid="null"/>
<argument type="service" id="router" on-invalid="null"/>
</service>
</argument>
<argument type="collection">
<argument key="login_path">_demo_login</argument>
<argument key="always_use_default_target_path">false</argument>
<argument key="default_target_path">/</argument>
<argument key="target_path_parameter">_target_path</argument>
<argument key="use_referer">false</argument>
</argument>
<call method="setProviderKey">
<argument>demo_secured_area</argument>
</call>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler" public="false">
<argument type="service" id="http_kernel"/>
<argument type="service">
<service class="Symfony\Component\Security\Http\HttpUtils" public="false">
<argument type="service" id="router" on-invalid="null"/>
<argument type="service" id="router" on-invalid="null"/>
</service>
</argument>
<argument type="collection">
<argument key="login_path">_demo_login</argument>
<argument key="failure_path">null</argument>
<argument key="failure_forward">false</argument>
<argument key="failure_path_parameter">_failure_path</argument>
</argument>
<argument type="service" id="monolog.logger.security" on-invalid="null"/>
</service>
</argument>
<argument type="collection">
<argument key="check_path">_demo_security_check</argument>
<argument key="use_forward">false</argument>
<argument key="require_previous_session">true</argument>
<argument key="username_parameter">_username</argument>
<argument key="password_parameter">_password</argument>
<argument key="csrf_parameter">_csrf_token</argument>
<argument key="intention">authenticate</argument>
<argument key="post_only">true</argument>
</argument>
<argument type="service" id="monolog.logger.security" on-invalid="null"/>
<argument type="service" id="debug.event_dispatcher" on-invalid="null"/>
<argument>null</argument>
</service>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\Firewall\AccessListener" public="false">
<tag name="monolog.logger" channel="security"/>
<argument type="service" id="security.context"/>
<argument type="service" id="security.access.decision_manager"/>
<argument type="service">
<service class="Symfony\Component\Security\Http\AccessMap" public="false"/>
</argument>
<argument type="service" id="security.authentication.manager"/>
</service>
</argument>
</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\Firewall\ExceptionListener" public="false">
<argument type="service" id="security.context"/>
<argument type="service" id="security.authentication.trust_resolver"/>
<argument type="service">
<service class="Symfony\Component\Security\Http\HttpUtils" public="false">
<argument type="service" id="router" on-invalid="null"/>
<argument type="service" id="router" on-invalid="null"/>
</service>
</argument>
<argument>demo_secured_area</argument>
<argument type="service">
<service class="Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint" public="false">
<argument type="service" id="http_kernel"/>
<argument type="service">
<service class="Symfony\Component\Security\Http\HttpUtils" public="false">
<argument type="service" id="router" on-invalid="null"/>
<argument type="service" id="router" on-invalid="null"/>
</service>
</argument>
<argument>_demo_login</argument>
<argument>false</argument>
</service>
</argument>
<argument>null</argument>
<argument>null</argument>
<argument type="service" id="monolog.logger.security" on-invalid="null"/>
</service>
</argument>
</service>
<service id="twig" class="Twig_Environment">
<argument type="service" id="twig.loader"/>
<argument type="collection">
<argument key="debug">true</argument>
<argument key="strict_variables">true</argument>
<argument key="exception_controller">twig.controller.exception:showAction</argument>
<argument key="autoescape_service">null</argument>
<argument key="autoescape_service_method">null</argument>
<argument key="cache">/var/www/Jenkins/app/cache/test/twig</argument>
<argument key="charset">UTF-8</argument>
<argument key="paths" type="collection"/>
</argument>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bundle\SecurityBundle\Twig\Extension\LogoutUrlExtension" public="false">
<tag name="twig.extension"/>
<argument type="service" id="templating.helper.logout_url"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bridge\Twig\Extension\SecurityExtension" public="false">
<tag name="twig.extension"/>
<argument type="service" id="security.context" on-invalid="ignore"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bridge\Twig\Extension\TranslationExtension" public="false">
<tag name="twig.extension"/>
<argument type="service" id="translator"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bundle\TwigBundle\Extension\AssetsExtension" public="false">
<tag name="twig.extension"/>
<argument type="service" id="service_container"/>
<argument type="service" id="router.request_context"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bundle\TwigBundle\Extension\ActionsExtension" public="false">
<tag name="twig.extension"/>
<argument type="service" id="service_container"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bridge\Twig\Extension\CodeExtension" public="false">
<tag name="twig.extension"/>
<argument>null</argument>
<argument>/var/www/Jenkins/app</argument>
<argument>UTF-8</argument>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bridge\Twig\Extension\RoutingExtension" public="false">
<tag name="twig.extension"/>
<argument type="service" id="router"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bridge\Twig\Extension\YamlExtension" public="false">
<tag name="twig.extension"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bridge\Twig\Extension\StopwatchExtension" public="false">
<tag name="twig.extension"/>
<argument type="service" id="debug.stopwatch" on-invalid="ignore"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bridge\Twig\Extension\ExpressionExtension" public="false">
<tag name="twig.extension"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bridge\Twig\Extension\HttpKernelExtension" public="false">
<tag name="twig.extension"/>
<argument type="service" id="fragment.handler"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bridge\Twig\Extension\FormExtension" public="false">
<tag name="twig.extension"/>
<argument type="service">
<service class="Symfony\Bridge\Twig\Form\TwigRenderer" public="false">
<argument type="service">
<service class="Symfony\Bridge\Twig\Form\TwigRendererEngine" public="false">
<argument type="collection">
<argument>form_div_layout.html.twig</argument>
</argument>
</service>
</argument>
<argument type="service" id="form.csrf_provider" on-invalid="null"/>
</service>
</argument>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Twig_Extension_Debug" public="false">
<tag name="twig.extension"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bundle\AsseticBundle\Twig\AsseticExtension" public="false">
<tag name="twig.extension"/>
<tag name="assetic.templating.twig"/>
<argument type="service" id="assetic.asset_factory"/>
<argument type="service" id="templating.name_parser"/>
<argument>true</argument>
<argument type="collection"/>
<argument type="collection"/>
<argument type="service" id="assetic.value_supplier.default" on-invalid="null"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service">
<service class="Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension" public="false">
<tag name="twig.extension"/>
</service>
</argument>
</call>
<call method="addExtension">
<argument type="service" id="twig.extension.acme.demo"/>
</call>
<call method="addExtension">
<argument type="service">
<service class="Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension" public="false">
<tag name="twig.extension"/>
</service>
</argument>
</call>
<call method="addGlobal">
<argument>app</argument>
<argument type="service" id="templating.globals"/>
</call>
</service>
<service id="twig.translation.extractor" class="Symfony\Bridge\Twig\Translation\TwigExtractor">
<tag name="translation.extractor" alias="twig"/>
<argument type="service" id="twig"/>
</service>
<service id="twig.exception_listener" class="Symfony\Component\HttpKernel\EventListener\ExceptionListener">
<tag name="kernel.event_subscriber"/>
<tag name="monolog.logger" channel="request"/>
<argument>twig.controller.exception:showAction</argument>
<argument type="service" id="monolog.logger.request" on-invalid="null"/>
</service>
<service id="twig.controller.exception" class="Symfony\Bundle\TwigBundle\Controller\ExceptionController">
<argument type="service" id="twig"/>
<argument>true</argument>
</service>
<service id="monolog.handler.main" class="Monolog\Handler\StreamHandler">
<argument>/var/www/Jenkins/app/logs/test.log</argument>
<argument>100</argument>
<argument>true</argument>
</service>
<service id="monolog.handler.console" class="Symfony\Bridge\Monolog\Handler\ConsoleHandler">
<tag name="kernel.event_listener" event="console.command" method="onCommand" priority="255"/>
<tag name="kernel.event_listener" event="console.terminate" method="onTerminate" priority="-255"/>
<argument>null</argument>
<argument>false</argument>
<argument type="collection"/>
</service>
<service id="e194ed1e768439cc7f2d1a02bc7be2e477587330b63d92e3fe4e6190d8589f12_3" class="Swift_Transport_Esmtp_Auth_PlainAuthenticator"/>
<service id="e194ed1e768439cc7f2d1a02bc7be2e477587330b63d92e3fe4e6190d8589f12_2" class="Swift_Transport_Esmtp_Auth_LoginAuthenticator"/>
<service id="e194ed1e768439cc7f2d1a02bc7be2e477587330b63d92e3fe4e6190d8589f12_1" class="Swift_Transport_Esmtp_Auth_CramMd5Authenticator"/>
<service id="swiftmailer.email_sender.listener" class="Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="service_container"/>
</service>
<service id="swiftmailer.mailer.default.transport.eventdispatcher" class="Swift_Events_SimpleEventDispatcher" public="false"/>
<service id="swiftmailer.mailer.default" class="Swift_Mailer">
<argument type="service" id="swiftmailer.mailer.default.transport"/>
</service>
<service id="swiftmailer.mailer.default.plugin.messagelogger" class="Swift_Plugins_MessageLogger">
<tag name="swiftmailer.default.plugin"/>
</service>
<service id="assetic.filter_manager" class="Symfony\Bundle\AsseticBundle\FilterManager">
<argument type="service" id="service_container"/>
<argument type="collection">
<argument key="cssrewrite">assetic.filter.cssrewrite</argument>
</argument>
</service>
<service id="assetic.asset_manager" class="Assetic\Factory\LazyAssetManager">
<argument type="service" id="assetic.asset_factory"/>
<argument type="collection">
<argument key="twig" type="service">
<service class="Assetic\Factory\Loader\CachedFormulaLoader" public="false">
<tag name="assetic.formula_loader" alias="twig"/>
<tag name="assetic.templating.twig"/>
<argument type="service">
<service class="Assetic\Extension\Twig\TwigFormulaLoader" public="false">
<tag name="assetic.templating.twig"/>
<argument type="service" id="twig"/>
</service>
</argument>
<argument type="service">
<service class="Assetic\Cache\ConfigCache" public="false">
<argument>/var/www/Jenkins/app/cache/test/assetic/config</argument>
</service>
</argument>
<argument>true</argument>
</service>
</argument>
</argument>
<call method="addResource">
<argument type="service">
<service class="Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource" public="false">
<tag name="assetic.templating.twig"/>
<tag name="assetic.formula_resource" loader="twig"/>
<argument type="service" id="templating.loader"/>
<argument></argument>
<argument>/var/www/Jenkins/app/Resources/views</argument>
<argument>/\.[^.]+\.twig$/</argument>
</service>
</argument>
<argument>twig</argument>
</call>
</service>
<service id="assetic.asset_factory" class="Symfony\Bundle\AsseticBundle\Factory\AssetFactory" public="false">
<argument type="service" id="kernel"/>
<argument type="service" id="service_container"/>
<argument type="service">
<service class="Symfony\Component\DependencyInjection\ParameterBag\ParameterBag" factory-method="getParameterBag" factory-service="service_container" public="false"/>
</argument>
<argument>/var/www/Jenkins/app/../web</argument>
<argument>true</argument>
<call method="addWorker">
<argument type="service">
<service class="Symfony\Bundle\AsseticBundle\Factory\Worker\UseControllerWorker" public="false">
<tag name="assetic.factory_worker"/>
</service>
</argument>
</call>
</service>
<service id="assetic.value_supplier.default" class="Symfony\Bundle\AsseticBundle\DefaultValueSupplier" public="false">
<argument type="service" id="service_container"/>
</service>
<service id="assetic.filter.cssrewrite" class="Assetic\Filter\CssRewriteFilter">
<tag name="assetic.filter" alias="cssrewrite"/>
</service>
<service id="assetic.controller" class="Symfony\Bundle\AsseticBundle\Controller\AsseticController" scope="prototype">
<argument type="service" id="request"/>
<argument type="service" id="assetic.asset_manager"/>
<argument type="service" id="assetic.cache"/>
<argument>false</argument>
<argument type="service" id="profiler" on-invalid="null"/>
<call method="setValueSupplier">
<argument type="service" id="assetic.value_supplier.default" on-invalid="ignore"/>
</call>
</service>
<service id="assetic.cache" class="Assetic\Cache\FilesystemCache" public="false">
<argument>/var/www/Jenkins/app/cache/test/assetic/assets</argument>
</service>
<service id="assetic.request_listener" class="Symfony\Bundle\AsseticBundle\EventListener\RequestListener">
<tag name="kernel.event_listener" event="kernel.request" method="onKernelRequest"/>
</service>
<service id="doctrine.dbal.connection_factory" class="Doctrine\Bundle\DoctrineBundle\ConnectionFactory">
<argument type="collection"/>
</service>
<service id="doctrine" class="Doctrine\Bundle\DoctrineBundle\Registry">
<argument type="service" id="service_container"/>
<argument type="collection">
<argument key="default">doctrine.dbal.default_connection</argument>
</argument>
<argument type="collection">
<argument key="default">doctrine.orm.default_entity_manager</argument>
</argument>
<argument>default</argument>
<argument>default</argument>
</service>
<service id="doctrine.dbal.logger.profiling.default" class="Doctrine\DBAL\Logging\DebugStack" public="false"/>
<service id="doctrine.dbal.default_connection" class="stdClass" factory-method="createConnection" factory-service="doctrine.dbal.connection_factory">
<argument type="collection">
<argument key="driver">pdo_mysql</argument>
<argument key="host">127.0.0.1</argument>
<argument key="port">null</argument>
<argument key="dbname">symfony</argument>
<argument key="user">root</argument>
<argument key="password">null</argument>
<argument key="charset">UTF8</argument>
<argument key="driverOptions" type="collection"/>
</argument>
<argument type="service">
<service class="Doctrine\DBAL\Configuration" public="false">
<call method="setSQLLogger">
<argument type="service">
<service class="Doctrine\DBAL\Logging\LoggerChain" public="false">
<call method="addLogger">
<argument type="service">
<service class="Symfony\Bridge\Doctrine\Logger\DbalLogger" public="false">
<tag name="monolog.logger" channel="doctrine"/>
<argument type="service" id="monolog.logger.doctrine" on-invalid="null"/>
<argument type="service" id="debug.stopwatch" on-invalid="null"/>
</service>
</argument>
</call>
<call method="addLogger">
<argument type="service" id="doctrine.dbal.logger.profiling.default"/>
</call>
</service>
</argument>
</call>
</service>
</argument>
<argument type="service">
<service class="Symfony\Bridge\Doctrine\ContainerAwareEventManager" public="false">
<argument type="service" id="service_container"/>
</service>
</argument>
<argument type="collection"/>
</service>
<service id="form.type_guesser.doctrine" class="Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser">
<tag name="form.type_guesser"/>
<argument type="service" id="doctrine"/>
</service>
<service id="form.type.entity" class="Symfony\Bridge\Doctrine\Form\Type\EntityType">
<tag name="form.type" alias="entity"/>
<argument type="service" id="doctrine"/>
</service>
<service id="doctrine.orm.validator.unique" class="Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator">
<tag name="validator.constraint_validator" alias="doctrine.orm.validator.unique"/>
<argument type="service" id="doctrine"/>
</service>
<service id="doctrine.orm.validator_initializer" class="Symfony\Bridge\Doctrine\Validator\DoctrineInitializer">
<tag name="validator.initializer"/>
<argument type="service" id="doctrine"/>
</service>
<service id="doctrine.orm.default_manager_configurator" class="Doctrine\Bundle\DoctrineBundle\ManagerConfigurator">
<argument type="collection"/>
<argument type="collection"/>
</service>
<service id="doctrine.orm.default_entity_manager" class="Doctrine\ORM\EntityManager" factory-method="create" factory-class="%doctrine.orm.entity_manager.class%">
<argument type="service" id="doctrine.dbal.default_connection"/>
<argument type="service">
<service class="Doctrine\ORM\Configuration" public="false">
<call method="setEntityNamespaces">
<argument type="collection"/>
</call>
<call method="setMetadataCacheImpl">
<argument type="service">
<service class="Doctrine\Common\Cache\ArrayCache" public="false">
<call method="setNamespace">
<argument>sf2orm_default_fc1aebb1a5ad097f6787f0d938f6c1f115a70400808d39e6d3090b15013cc5e2</argument>
</call>
</service>
</argument>
</call>
<call method="setQueryCacheImpl">
<argument type="service">
<service class="Doctrine\Common\Cache\ArrayCache" public="false">
<call method="setNamespace">
<argument>sf2orm_default_fc1aebb1a5ad097f6787f0d938f6c1f115a70400808d39e6d3090b15013cc5e2</argument>
</call>
</service>
</argument>
</call>
<call method="setResultCacheImpl">
<argument type="service">
<service class="Doctrine\Common\Cache\ArrayCache" public="false">
<call method="setNamespace">
<argument>sf2orm_default_fc1aebb1a5ad097f6787f0d938f6c1f115a70400808d39e6d3090b15013cc5e2</argument>
</call>
</service>
</argument>
</call>
<call method="setMetadataDriverImpl">
<argument type="service">
<service class="Doctrine\ORM\Mapping\Driver\DriverChain" public="false"/>
</argument>
</call>
<call method="setProxyDir">
<argument>/var/www/Jenkins/app/cache/test/doctrine/orm/Proxies</argument>
</call>
<call method="setProxyNamespace">
<argument>Proxies</argument>
</call>
<call method="setAutoGenerateProxyClasses">
<argument>true</argument>
</call>
<call method="setClassMetadataFactoryName">
<argument>Doctrine\ORM\Mapping\ClassMetadataFactory</argument>
</call>
<call method="setDefaultRepositoryClassName">
<argument>Doctrine\ORM\EntityRepository</argument>
</call>
<call method="setNamingStrategy">
<argument type="service">
<service class="Doctrine\ORM\Mapping\DefaultNamingStrategy" public="false"/>
</argument>
</call>
</service>
</argument>
<configurator service="doctrine.orm.default_manager_configurator" method="configure"/>
</service>
<service id="sensio_framework_extra.view.guesser" class="Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser">
<argument type="service" id="kernel"/>
</service>
<service id="sensio_framework_extra.controller.listener" class="Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="annotation_reader"/>
</service>
<service id="sensio_framework_extra.converter.listener" class="Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="sensio_framework_extra.converter.manager"/>
<argument>true</argument>
</service>
<service id="sensio_framework_extra.converter.manager" class="Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager">
<call method="add">
<argument type="service" id="sensio_framework_extra.converter.doctrine.orm"/>
<argument>0</argument>
<argument>doctrine.orm</argument>
</call>
<call method="add">
<argument type="service" id="sensio_framework_extra.converter.datetime"/>
<argument>0</argument>
<argument>datetime</argument>
</call>
</service>
<service id="sensio_framework_extra.converter.doctrine.orm" class="Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter">
<tag name="request.param_converter" converter="doctrine.orm"/>
<argument type="service" id="doctrine" on-invalid="ignore"/>
</service>
<service id="sensio_framework_extra.converter.datetime" class="Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter">
<tag name="request.param_converter" converter="datetime"/>
</service>
<service id="sensio_framework_extra.view.listener" class="Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="service_container"/>
</service>
<service id="sensio_framework_extra.cache.listener" class="Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener">
<tag name="kernel.event_subscriber"/>
</service>
<service id="sensio_framework_extra.security.listener" class="Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="security.context" on-invalid="null"/>
<argument type="service">
<service class="Sensio\Bundle\FrameworkExtraBundle\Security\ExpressionLanguage" public="false"/>
</argument>
<argument type="service" id="security.authentication.trust_resolver" on-invalid="null"/>
<argument type="service" id="security.role_hierarchy" on-invalid="null"/>
</service>
<service id="twig.extension.acme.demo" class="Acme\DemoBundle\Twig\Extension\DemoExtension" public="false">
<tag name="twig.extension"/>
<argument type="service" id="twig.loader"/>
</service>
<service id="acme.demo.listener" class="Acme\DemoBundle\EventListener\ControllerListener">
<tag name="kernel.event_listener" event="kernel.controller" method="onKernelController"/>
<argument type="service" id="twig.extension.acme.demo"/>
</service>
<service id="web_profiler.controller.profiler" class="Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController">
<argument type="service" id="router" on-invalid="null"/>
<argument type="service" id="profiler" on-invalid="null"/>
<argument type="service" id="twig"/>
<argument type="collection">
<argument key="data_collector.config" type="collection">
<argument>config</argument>
<argument>@WebProfiler/Collector/config.html.twig</argument>
</argument>
<argument key="data_collector.request" type="collection">
<argument>request</argument>
<argument>@WebProfiler/Collector/request.html.twig</argument>
</argument>
<argument key="data_collector.exception" type="collection">
<argument>exception</argument>
<argument>@WebProfiler/Collector/exception.html.twig</argument>
</argument>
<argument key="data_collector.events" type="collection">
<argument>events</argument>
<argument>@WebProfiler/Collector/events.html.twig</argument>
</argument>
<argument key="data_collector.logger" type="collection">
<argument>logger</argument>
<argument>@WebProfiler/Collector/logger.html.twig</argument>
</argument>
<argument key="data_collector.time" type="collection">
<argument>time</argument>
<argument>@WebProfiler/Collector/time.html.twig</argument>
</argument>
<argument key="data_collector.memory" type="collection">
<argument>memory</argument>
<argument>@WebProfiler/Collector/memory.html.twig</argument>
</argument>
<argument key="data_collector.router" type="collection">
<argument>router</argument>
<argument>@WebProfiler/Collector/router.html.twig</argument>
</argument>
<argument key="data_collector.form" type="collection">
<argument>form</argument>
<argument>@WebProfiler/Collector/form.html.twig</argument>
</argument>
<argument key="data_collector.security" type="collection">
<argument>security</argument>
<argument>@Security/Collector/security.html.twig</argument>
</argument>
<argument key="swiftmailer.data_collector" type="collection">
<argument>swiftmailer</argument>
<argument>@Swiftmailer/Collector/swiftmailer.html.twig</argument>
</argument>
<argument key="data_collector.doctrine" type="collection">
<argument>db</argument>
<argument>DoctrineBundle:Collector:db</argument>
</argument>
</argument>
<argument>bottom</argument>
</service>
<service id="web_profiler.controller.router" class="Symfony\Bundle\WebProfilerBundle\Controller\RouterController">
<argument type="service" id="profiler" on-invalid="null"/>
<argument type="service" id="twig"/>
<argument type="service" id="router" on-invalid="null"/>
</service>
<service id="web_profiler.controller.exception" class="Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController">
<argument type="service" id="profiler" on-invalid="null"/>
<argument type="service" id="twig"/>
<argument>true</argument>
</service>
<service id="sensio_distribution.webconfigurator" class="Sensio\Bundle\DistributionBundle\Configurator\Configurator">
<argument>/var/www/Jenkins/app</argument>
</service>
<service id="monolog.logger.request" class="Symfony\Bridge\Monolog\Logger">
<argument>request</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.logger.emergency" class="Symfony\Bridge\Monolog\Logger">
<argument>emergency</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.logger.event" class="Symfony\Bridge\Monolog\Logger">
<argument>event</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.logger.deprecation" class="Symfony\Bridge\Monolog\Logger">
<argument>deprecation</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.logger.scream" class="Symfony\Bridge\Monolog\Logger">
<argument>scream</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.logger.security" class="Symfony\Bridge\Monolog\Logger">
<argument>security</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.logger.templating" class="Symfony\Bridge\Monolog\Logger">
<argument>templating</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.logger.profiler" class="Symfony\Bridge\Monolog\Logger">
<argument>profiler</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.logger.router" class="Symfony\Bridge\Monolog\Logger">
<argument>router</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.logger.doctrine" class="Symfony\Bridge\Monolog\Logger">
<argument>doctrine</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="monolog.handler.debug" class="Symfony\Bridge\Monolog\Handler\DebugHandler">
<argument>100</argument>
<argument>true</argument>
</service>
<service id="session.storage.filesystem" class="Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage">
<argument>/var/www/Jenkins/app/cache/test/sessions</argument>
<argument>MOCKSESSID</argument>
<argument type="service" id="session.storage.metadata_bag"/>
</service>
<service id="templating.loader" class="Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader">
<argument type="service" id="templating.locator"/>
</service>
<service id="debug.templating.engine.php" class="Symfony\Bundle\FrameworkBundle\Templating\TimedPhpEngine">
<argument type="service" id="templating.name_parser"/>
<argument type="service" id="service_container"/>
<argument type="service" id="templating.loader"/>
<argument type="service" id="debug.stopwatch"/>
<argument type="service" id="templating.globals"/>
<call method="setCharset">
<argument>UTF-8</argument>
</call>
<call method="setHelpers">
<argument type="collection">
<argument key="slots">templating.helper.slots</argument>
<argument key="assets">templating.helper.assets</argument>
<argument key="request">templating.helper.request</argument>
<argument key="session">templating.helper.session</argument>
<argument key="router">templating.helper.router</argument>
<argument key="actions">templating.helper.actions</argument>
<argument key="code">templating.helper.code</argument>
<argument key="translator">templating.helper.translator</argument>
<argument key="form">templating.helper.form</argument>
<argument key="stopwatch">templating.helper.stopwatch</argument>
<argument key="logout_url">templating.helper.logout_url</argument>
<argument key="security">templating.helper.security</argument>
<argument key="assetic">assetic.helper.dynamic</argument>
</argument>
</call>
</service>
<service id="templating" class="Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine">
<argument type="service" id="twig"/>
<argument type="service" id="templating.name_parser"/>
<argument type="service" id="templating.locator"/>
<argument type="service" id="debug.stopwatch"/>
<call method="setDefaultEscapingStrategy">
<argument type="collection">
<argument type="service" id="templating"/>
<argument>guessDefaultEscapingStrategy</argument>
</argument>
</call>
</service>
<service id="router" class="Symfony\Bundle\FrameworkBundle\Routing\Router">
<tag name="monolog.logger" channel="router"/>
<argument type="service" id="service_container"/>
<argument>/var/www/Jenkins/app/cache/test/assetic/routing.yml</argument>
<argument type="collection">
<argument key="cache_dir">/var/www/Jenkins/app/cache/test</argument>
<argument key="debug">true</argument>
<argument key="generator_class">Symfony\Component\Routing\Generator\UrlGenerator</argument>
<argument key="generator_base_class">Symfony\Component\Routing\Generator\UrlGenerator</argument>
<argument key="generator_dumper_class">Symfony\Component\Routing\Generator\Dumper\PhpGeneratorDumper</argument>
<argument key="generator_cache_class">appTestUrlGenerator</argument>
<argument key="matcher_class">Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher</argument>
<argument key="matcher_base_class">Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher</argument>
<argument key="matcher_dumper_class">Symfony\Component\Routing\Matcher\Dumper\PhpMatcherDumper</argument>
<argument key="matcher_cache_class">appTestUrlMatcher</argument>
<argument key="strict_requirements">true</argument>
</argument>
<argument type="service" id="router.request_context" on-invalid="ignore"/>
<argument type="service" id="monolog.logger.router" on-invalid="ignore"/>
</service>
<service id="annotation_reader" class="Doctrine\Common\Annotations\FileCacheReader">
<argument type="service">
<service class="Doctrine\Common\Annotations\AnnotationReader" public="false"/>
</argument>
<argument>/var/www/Jenkins/app/cache/test/annotations</argument>
<argument>true</argument>
</service>
<service id="security.encoder_factory" class="Symfony\Component\Security\Core\Encoder\EncoderFactory">
<argument type="collection">
<argument key="Symfony\Component\Security\Core\User\User" type="collection">
<argument key="class">%security.encoder.plain.class%</argument>
<argument key="arguments" type="collection">
<argument>false</argument>
</argument>
</argument>
</argument>
</service>
<service id="twig.loader" class="Symfony\Bundle\TwigBundle\Loader\FilesystemLoader">
<tag name="twig.loader"/>
<argument type="service" id="templating.locator"/>
<argument type="service" id="templating.name_parser"/>
<call method="addPath">
<argument>/var/www/Jenkins/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/views</argument>
<argument>Framework</argument>
</call>
<call method="addPath">
<argument>/var/www/Jenkins/vendor/symfony/symfony/src/Symfony/Bundle/SecurityBundle/Resources/views</argument>
<argument>Security</argument>
</call>
<call method="addPath">
<argument>/var/www/Jenkins/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views</argument>
<argument>Twig</argument>
</call>
<call method="addPath">
<argument>/var/www/Jenkins/vendor/symfony/swiftmailer-bundle/Symfony/Bundle/SwiftmailerBundle/Resources/views</argument>
<argument>Swiftmailer</argument>
</call>
<call method="addPath">
<argument>/var/www/Jenkins/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Resources/views</argument>
<argument>Doctrine</argument>
</call>
<call method="addPath">
<argument>/var/www/Jenkins/src/Acme/DemoBundle/Resources/views</argument>
<argument>AcmeDemo</argument>
</call>
<call method="addPath">
<argument>/var/www/Jenkins/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views</argument>
<argument>WebProfiler</argument>
</call>
<call method="addPath">
<argument>/var/www/Jenkins/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/views</argument>
<argument>SensioDistribution</argument>
</call>
<call method="addPath">
<argument>/var/www/Jenkins/app/Resources/views</argument>
</call>
<call method="addPath">
<argument>/var/www/Jenkins/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form</argument>
</call>
</service>
<service id="logger" class="Symfony\Bridge\Monolog\Logger">
<argument>app</argument>
<call method="pushHandler">
<argument type="service" id="monolog.handler.console"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.main"/>
</call>
<call method="pushHandler">
<argument type="service" id="monolog.handler.debug"/>
</call>
</service>
<service id="swiftmailer.mailer.default.transport" class="Swift_Transport_SpoolTransport">
<argument type="service" id="swiftmailer.mailer.default.transport.eventdispatcher"/>
<argument type="service" id="swiftmailer.mailer.default.spool"/>
<call method="registerPlugin">
<argument type="service" id="swiftmailer.mailer.default.plugin.messagelogger"/>
</call>
</service>
<service id="swiftmailer.mailer.default.spool" class="Swift_MemorySpool"/>
<service id="swiftmailer.mailer.default.transport.real" class="Swift_Transport_NullTransport">
<argument type="service" id="swiftmailer.mailer.default.transport.eventdispatcher"/>
</service>
<service id="event_dispatcher" alias="debug.event_dispatcher"/>
<service id="session.storage" alias="session.storage.filesystem"/>
<service id="debug.templating.engine.twig" alias="templating"/>
<service id="swiftmailer.spool" alias="swiftmailer.mailer.default.spool"/>
<service id="swiftmailer.transport.real" alias="swiftmailer.mailer.default.transport.real"/>
<service id="swiftmailer.plugin.messagelogger" alias="swiftmailer.mailer.default.plugin.messagelogger"/>
<service id="swiftmailer.mailer" alias="swiftmailer.mailer.default"/>
<service id="swiftmailer.transport" alias="swiftmailer.mailer.default.transport"/>
<service id="mailer" alias="swiftmailer.mailer.default"/>
<service id="database_connection" alias="doctrine.dbal.default_connection"/>
<service id="doctrine.orm.entity_manager" alias="doctrine.orm.default_entity_manager"/>
<service id="sensio.distribution.webconfigurator" alias="sensio_distribution.webconfigurator"/>
</services>
</container>
| {
"content_hash": "4d4c93393b07282c65795c43de7cedff",
"timestamp": "",
"source": "github",
"line_count": 2851,
"max_line_length": 228,
"avg_line_length": 60.091897579796566,
"alnum_prop": 0.7003537198958686,
"repo_name": "drentas/Jenkins",
"id": "1a2f2935a085a4df5af41500180738b937ff6ec7",
"size": "171322",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/cache/test/appTestDebugProjectContainer.xml",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "32323"
},
{
"name": "JavaScript",
"bytes": "20062"
},
{
"name": "PHP",
"bytes": "51987"
}
],
"symlink_target": ""
} |
Material CalendarView Sample App
================================
The sample app contains a mixture of implementations to help test and debug during development,
and to help new users understand how to implement some functionality. | {
"content_hash": "9c219183c89b2e4992313f4220ac4d75",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 95,
"avg_line_length": 46.4,
"alnum_prop": 0.7198275862068966,
"repo_name": "anasanasanas/material-calendarview",
"id": "fb08c91e0dab0588ebf4ddb5b0352279d6c74e3e",
"size": "232",
"binary": false,
"copies": "12",
"ref": "refs/heads/develop",
"path": "sample/README.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "159881"
}
],
"symlink_target": ""
} |
[](https://www.codacy.com/app/joostvdg/keep-watching?utm_source=github.com&utm_medium=referral&utm_content=joostvdg/keep-watching&utm_campaign=badger)
[]()
[]()
[]()
[](https://circleci.com/gh/joostvdg/keep-watching)
[](https://depshield.github.io)
[Documentation](https://joostvdg.github.io/keep-watching/)
## Usage
To run, do the following.
```bash
git clone git@github.com:joostvdg/keep-watching.git
git pull
docker-compose pull
docker-compose up
```
| {
"content_hash": "96b2476e00b4ef013e6e2e5956f8896e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 242,
"avg_line_length": 50.473684210526315,
"alnum_prop": 0.7716371220020855,
"repo_name": "joostvdg/keep-watching",
"id": "9e6dc5c5f821154ff58ae75d9cd14a824e53f211",
"size": "976",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "README.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Dockerfile",
"bytes": "792"
},
{
"name": "HTML",
"bytes": "2080"
},
{
"name": "Java",
"bytes": "70976"
},
{
"name": "JavaScript",
"bytes": "50800"
},
{
"name": "Shell",
"bytes": "7126"
}
],
"symlink_target": ""
} |
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
set -e
# Source environment variables.
SCRIPTDIR=$(cd $(dirname $0) && pwd)
source $SCRIPTDIR/env_vars.sh
. $SCRIPTDIR/svc_utils.sh
TM=/opt/treadmill/bin/treadmill
echo Extracting cell config
$TM --outfmt yaml admin ldap cell configure local >/var/tmp/cell_conf.yml
echo Installing Treadmill Node
del_svc treadmill-node
$TM admin install \
--install-dir /var/tmp/treadmill-node \
--install-dir /var/tmp/treadmill \
--config /var/tmp/cell_conf.yml \
node
add_svc treadmill-node
| {
"content_hash": "7bcf49ff92f900335a586fb45bf42937",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 73,
"avg_line_length": 18.903225806451612,
"alnum_prop": 0.6996587030716723,
"repo_name": "ceache/treadmill",
"id": "477e18481f27efbefa53f79f76a0f703bdd41f71",
"size": "597",
"binary": false,
"copies": "7",
"ref": "refs/heads/master",
"path": "vagrant/scripts/install-node-components.sh",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "PowerShell",
"bytes": "3750"
},
{
"name": "Python",
"bytes": "3362298"
},
{
"name": "Ruby",
"bytes": "3712"
},
{
"name": "Shell",
"bytes": "51646"
}
],
"symlink_target": ""
} |
/*
* Skin: Blue
* ----------
*/
.skin-blue .main-header .navbar {
background-color: #00c0ef;
}
.skin-blue .main-header .navbar .nav > li > a {
color: #ffffff;
}
.skin-blue .main-header .navbar .nav > li > a:hover,
.skin-blue .main-header .navbar .nav > li > a:active,
.skin-blue .main-header .navbar .nav > li > a:focus,
.skin-blue .main-header .navbar .nav .open > a,
.skin-blue .main-header .navbar .nav .open > a:hover,
.skin-blue .main-header .navbar .nav .open > a:focus,
.skin-blue .main-header .navbar .nav > .active > a {
background: rgba(0, 0, 0, 0.1);
color: #f6f6f6;
}
.skin-blue .main-header .navbar .sidebar-toggle {
color: #ffffff;
}
.skin-blue .main-header .navbar .sidebar-toggle:hover {
color: #f6f6f6;
background: rgba(0, 0, 0, 0.1);
}
.skin-blue .main-header .navbar .sidebar-toggle {
color: #fff;
}
.skin-blue .main-header .navbar .sidebar-toggle:hover {
background-color: #367fa9;
}
@media (max-width: 767px) {
.skin-blue .main-header .navbar .dropdown-menu li.divider {
background-color: rgba(255, 255, 255, 0.1);
}
.skin-blue .main-header .navbar .dropdown-menu li a {
color: #fff;
}
.skin-blue .main-header .navbar .dropdown-menu li a:hover {
background: #367fa9;
}
}
.skin-blue .main-header .logo {
background-color: #00c0ef;
color: #ffffff;
border-bottom: 0 solid transparent;
}
.skin-blue .main-header .logo:hover {
background-color: #357ca5;
}
.skin-blue .main-header li.user-header {
background-color: #3c8dbc;
}
.skin-blue .content-header {
background: transparent;
}
.skin-blue .wrapper,
.skin-blue .main-sidebar,
.skin-blue .left-side {
background-color: #444444;
}
.skin-blue .user-panel > .info,
.skin-blue .user-panel > .info > a {
color: #fff;
}
.skin-blue .sidebar-menu > li.header {
color: #4b646f;
background: #1a2226;
}
.skin-blue .sidebar-menu > li > a {
border-left: 3px solid transparent;
}
.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li.active > a {
color: #ffffff;
background: #00c0ef;
border-left-color: #1e282c;
}
.skin-blue .sidebar-menu > li > .treeview-menu {
margin: 0 1px;
background: #2c3b41;
}
.skin-blue .sidebar a {
color: #ffffff;
}
.skin-blue .sidebar a:hover {
text-decoration: none;
}
.skin-blue .treeview-menu > li > a {
color: #8aa4af;
}
.skin-blue .treeview-menu > li.active > a,
.skin-blue .treeview-menu > li > a:hover {
color: #ffffff;
}
.skin-blue .sidebar-form {
border-radius: 3px;
border: 1px solid #374850;
margin: 10px 10px;
}
.skin-blue .sidebar-form input[type="text"],
.skin-blue .sidebar-form .btn {
box-shadow: none;
background-color: #374850;
border: 1px solid transparent;
height: 35px;
}
.skin-blue .sidebar-form input[type="text"] {
color: #666;
border-top-left-radius: 2px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 2px;
}
.skin-blue .sidebar-form input[type="text"]:focus,
.skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn {
background-color: #fff;
color: #666;
}
.skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn {
border-left-color: #fff;
}
.skin-blue .sidebar-form .btn {
color: #999;
border-top-left-radius: 0;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 0;
}
.skin-blue.layout-top-nav .main-header > .logo {
background-color: #3c8dbc;
color: #ffffff;
border-bottom: 0 solid transparent;
}
.skin-blue.layout-top-nav .main-header > .logo:hover {
background-color: #3b8ab8;
}
| {
"content_hash": "7b144b788ee9b098f6680bb77d21803e",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 75,
"avg_line_length": 25.58273381294964,
"alnum_prop": 0.6653543307086615,
"repo_name": "cindywang0728/adminset",
"id": "3e9117f665c1150927f4c01492779bfc5aa88c68",
"size": "3556",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "static/dist/css/skins/skin-blue.css",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "2187"
},
{
"name": "Nginx",
"bytes": "1980"
},
{
"name": "PHP",
"bytes": "1684"
},
{
"name": "Python",
"bytes": "5876789"
},
{
"name": "Shell",
"bytes": "9215"
}
],
"symlink_target": ""
} |
package org.apache.carbondata.core.mutate;
import java.io.Serializable;
import java.util.Set;
import java.util.TreeSet;
/**
* This class stores the blocklet details of delete delta file
*/
public class DeleteDeltaBlockletDetails implements Serializable {
private static final long serialVersionUID = 1206104914911491724L;
private String id;
private Integer pageId;
private Set<Integer> deletedRows;
public DeleteDeltaBlockletDetails(String id, Integer pageId) {
this.id = id;
deletedRows = new TreeSet<Integer>();
this.pageId = pageId;
}
public boolean addDeletedRows(Set<Integer> rows) {
return deletedRows.addAll(rows);
}
public boolean addDeletedRow(Integer row) {
return deletedRows.add(row);
}
public Integer getPageId() {
return pageId;
}
public Set<Integer> getDeletedRows() {
return deletedRows;
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof DeleteDeltaBlockletDetails)) {
return false;
}
DeleteDeltaBlockletDetails that = (DeleteDeltaBlockletDetails) obj;
if (null == pageId || null == that.pageId) {
return false;
}
return id.equals(that.id) && (pageId.intValue() == that.pageId.intValue());
}
@Override
public int hashCode() {
return id.hashCode() + pageId.hashCode();
}
public String getBlockletKey() {
return this.id + '_' + this.pageId;
}
}
| {
"content_hash": "f25fdd44a5335ebd256a52337a0d4d89",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 79,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.6824966078697422,
"repo_name": "jackylk/incubator-carbondata",
"id": "4b87388c461f006ad11ec809fda87067196b73ca",
"size": "2274",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "core/src/main/java/org/apache/carbondata/core/mutate/DeleteDeltaBlockletDetails.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "1639"
},
{
"name": "C++",
"bytes": "110888"
},
{
"name": "CMake",
"bytes": "1555"
},
{
"name": "Java",
"bytes": "7172203"
},
{
"name": "Python",
"bytes": "365111"
},
{
"name": "Scala",
"bytes": "10579226"
},
{
"name": "Shell",
"bytes": "7259"
},
{
"name": "Smalltalk",
"bytes": "86"
},
{
"name": "Thrift",
"bytes": "24309"
}
],
"symlink_target": ""
} |
@extends('layout')
@section('content')
<div class="row">
<div class="col-xs-12 col-md-4 col-md-offset-4">
<br><br>
{{ Form::open(array('url' => 'password/remind', 'role' => 'form')) }}
<div class="form-group">
{{ Form::text('email', null, array('class'=>'form-control text-center', 'placeholder'=>'Email Address')) }}
</div>
<button type="submit" class="btn btn-primary btn-block">Forgot Password</button>
{{ Form::close() }}
</div>
</div>
@stop | {
"content_hash": "0d77bb5dfa2c14d822e9418bc1152a0a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 124,
"avg_line_length": 31.555555555555557,
"alnum_prop": 0.5017605633802817,
"repo_name": "TerryKLin/project-manager",
"id": "cf2b06e80177513e012652fb7f1d203039f5d88e",
"size": "568",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/views/password/remind.blade.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "27"
},
{
"name": "PHP",
"bytes": "80567"
}
],
"symlink_target": ""
} |
Extending Numba
===============
.. module:: numba.extending
This chapter describes how to extend Numba to make it recognize and support
additional operations, functions or types. Numba provides two categories
of APIs to this end:
* The high-level APIs provide abstracted entry points which are sufficient
for simple uses. They require little knowledge of Numba's internal
compilation chain.
* The low-level APIs reflect Numba's internal compilation chain and allow
flexible interaction with its various layers, but require more effort
and experience with Numba internals.
It may be helpful for readers of this chapter to also read some of the
documents in the :doc:`developer manual </developer/index>`, especially
the :doc:`architecture document </developer/architecture>`.
.. toctree::
high-level.rst
low-level.rst
interval-example.rst
| {
"content_hash": "615c9364c3634ac470d59495d18892ec",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 75,
"avg_line_length": 30.928571428571427,
"alnum_prop": 0.766743648960739,
"repo_name": "stefanseefeld/numba",
"id": "035c00cb68fcf96c6910dbf65e49c8adb53b96cb",
"size": "867",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "docs/source/extending/index.rst",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "Batchfile",
"bytes": "5535"
},
{
"name": "C",
"bytes": "303376"
},
{
"name": "C++",
"bytes": "17024"
},
{
"name": "Cuda",
"bytes": "214"
},
{
"name": "HTML",
"bytes": "98846"
},
{
"name": "Jupyter Notebook",
"bytes": "110325"
},
{
"name": "Python",
"bytes": "3946372"
},
{
"name": "Shell",
"bytes": "2414"
}
],
"symlink_target": ""
} |
#include "luainterface/luainterface.h"
#include <readline/readline.h>
#include <readline/history.h>
#include <string.h>
// Let's be honest: the following code is from a different era.
// All examples dealing with readline feel like they come straight
// from 1985. There's bad looking stuff going on here.
static lua_State* _L = 0; // readline is not stateful :(
static int ac_pos = 2; // autocomplete func on stack
static char* history_file = 0;
/**
* @brief Duplicate a C string
* @param s Source string
* @return duplicate, must free manually
*/
static char* dupstr(const char* s)
{
char *r = (char*) malloc((strlen(s) + 1));
strcpy(r, s);
return(r);
}
const char* cmd [] ={ "hello", "world", "hell" ,"word", "quit", " " };
// passed autocomplete responsibility to Lua
char* my_generator(const char* text, int state)
{
if (_L)
{
lua_pushvalue(_L, ac_pos);
lua_pushstring(_L, text);
lua_pushinteger(_L, state + 1); // for lua niceness
if(lua_pcall(_L, 2, 1, 0))
{
fprintf(stderr, "%s\n", lua_tostring(_L, -1));
lua_pop(_L, 1);
return 0;
}
if(lua_isstring(_L, -1))
{
char* g = dupstr(lua_tostring(_L, -1));
lua_pop(_L, 1);
return g;
}
return 0;
}
return 0;
}
static char** my_completion(const char * text, int start, int end)
{
char** matches;
matches = (char **)NULL;
if (start == 0)
{
matches = rl_completion_matches ((char*)text, &my_generator);
}
else
{
rl_bind_key('\t',rl_abort);
}
return (matches);
}
// Static variable for holding the line.
// personal note: this is disgusting
static char *line_read = (char *)0;
static char *last_line_read = (char *)0;
char* rl_gets (const char* prompt = 0)
{
rl_bind_key('\t', rl_complete);
if (line_read)
{
if (last_line_read)
{
free(last_line_read);
last_line_read = (char *)NULL;
}
last_line_read = line_read;
}
/* Get a line from the user. */
line_read = readline(prompt ? prompt : "");
// If the line has any text in it, that's different tha the last line, save it on the history.
if (line_read && *line_read)
{
int add_to_history = 1;
if (last_line_read)
{
// don't add if same
add_to_history = strcmp(last_line_read, line_read);
}
if (add_to_history)
{
add_history(line_read);
}
if (history_file) // writing to file every line since many interactive scripts end with ctrl+c
{
write_history(history_file);
}
}
return (line_read);
}
static void initialize_readline()
{
rl_readline_name = "Interactive";
rl_attempted_completion_function = my_completion;
rl_completion_entry_function = my_generator; // disable filename auto-complete
using_history();
}
static int l_interactive_setHistoryFile(lua_State* L)
{
if (history_file)
{
free(history_file);
history_file = 0;
}
if (lua_isstring(L, 1))
{
const int len = strlen(lua_tostring(L, 1)) + 1;
history_file = (char*) malloc(len);
memcpy(history_file, lua_tostring(L, 1), len);
}
return 0;
}
static int l_interactive_readline(lua_State* L)
{
ac_pos = 2;
_L = L;
char* line;
if (lua_isstring(L, 1))
{
line = rl_gets(lua_tostring(L, 1));
}
else
{
line = rl_gets("");
}
if (line)
{
lua_pushstring(L, line);
}
else
{
lua_pushnil(L);
}
return 1;
}
#include "interactive_code.h"
void register_interactive(lua_State* L)
{
_L = L;
initialize_readline();
lua_pushcfunction(L, l_interactive_readline);
lua_setglobal(L, "interactive_readline");
lua_pushcfunction(L, l_interactive_setHistoryFile);
lua_setglobal(L, "interactive_setHistoryFile");
LuaInterface::luaL_dostringn(L, interactive_code, "interactive_code.h");
// clearing aux functions:
lua_pushnil(L);
lua_setglobal(L, "interactive_setHistoryFile");
lua_pushnil(L);
lua_setglobal(L, "interactive_readline");
if (history_file)
{
read_history(history_file);
}
}
| {
"content_hash": "57549c8e96552a85f685915a4f6570ef",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 99,
"avg_line_length": 19.546341463414635,
"alnum_prop": 0.6166708260544048,
"repo_name": "jasonimercer/atomalign",
"id": "19eb5080f3eeb377538bf3011ca0a36a6c99919d",
"size": "4298",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/interactive.cpp",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "C",
"bytes": "239"
},
{
"name": "C++",
"bytes": "76376"
},
{
"name": "CMake",
"bytes": "2021"
},
{
"name": "Lua",
"bytes": "10565"
},
{
"name": "Shell",
"bytes": "334"
}
],
"symlink_target": ""
} |
<?php namespace Wubs\Directions\Response;
class Route
{
public $distance;
public $duration;
/**
* @param $distance
* @param $duration
*/
private function __construct($distance, $duration)
{
$this->distance = $distance;
$this->duration = $duration;
}
/**
* @param $json
* @return Route
*/
public static function fromObject($json)
{
$leg = $json->legs[0];
return new static($leg->distance, $leg->duration);
}
} | {
"content_hash": "efaf32835d1d4fe09dba38fa1c3fdfd5",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 58,
"avg_line_length": 16.677419354838708,
"alnum_prop": 0.5435203094777563,
"repo_name": "megawubs/simple-goolge-directions-api",
"id": "9f6eac7e8dd61182ba6d5d07872f290d7560d468",
"size": "517",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Directions/Response/Route.php",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "PHP",
"bytes": "7901"
}
],
"symlink_target": ""
} |
package com.tinylabproductions.u3d_gps_bridge;
import com.google.android.gms.common.ConnectionResult;
import java.util.HashMap;
import java.util.Map;
// Class for passing data between activities.
public class StaticData {
public static final String KEY = "KEY";
public static Map<Long, ConnectionResult> results =
new HashMap<Long, ConnectionResult>();
public static Map<Long, U3DGamesClient> clients =
new HashMap<Long, U3DGamesClient>();
public static String asString() {
return String.format(
"StaticData[results: %s, clients: %s]",
results.toString(), clients.toString()
);
}
}
| {
"content_hash": "a4413c5d1a6b6954c032274ab409bf0d",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 54,
"avg_line_length": 28.17391304347826,
"alnum_prop": 0.6959876543209876,
"repo_name": "tinylabproductions/u3d_gps_bridge",
"id": "e50006e5027de9da942d0cbdd6f3be86ecf3bc46",
"size": "648",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "java/src/com/tinylabproductions/u3d_gps_bridge/StaticData.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "19479"
},
{
"name": "Shell",
"bytes": "3071"
}
],
"symlink_target": ""
} |
/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */
'use strict';
exports.Operations = require('./operations');
exports.Workspaces = require('./workspaces');
exports.MachineLearningCompute = require('./machineLearningCompute');
| {
"content_hash": "a2928643b0b918a76df6ff5dea408f8a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 69,
"avg_line_length": 23.545454545454547,
"alnum_prop": 0.722007722007722,
"repo_name": "xingwu1/azure-sdk-for-node",
"id": "2e633c091dfb1b2e8a78d54eda6977d954e109a7",
"size": "576",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "lib/services/machinelearningservicesManagement/lib/operations/index.js",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "661"
},
{
"name": "JavaScript",
"bytes": "122792600"
},
{
"name": "Shell",
"bytes": "437"
},
{
"name": "TypeScript",
"bytes": "2558"
}
],
"symlink_target": ""
} |
namespace Microsoft.Azure.Management.DataMigration.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Exception object for all custom exceptions
/// </summary>
public partial class ReportableException
{
/// <summary>
/// Initializes a new instance of the ReportableException class.
/// </summary>
public ReportableException()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the ReportableException class.
/// </summary>
/// <param name="message">Error message</param>
/// <param name="filePath">The path to the file where exception
/// occurred</param>
/// <param name="lineNumber">The line number where exception
/// occurred</param>
/// <param name="hResult">Coded numerical value that is assigned to a
/// specific exception</param>
/// <param name="stackTrace">Stack trace</param>
public ReportableException(string message = default(string), string filePath = default(string), string lineNumber = default(string), int? hResult = default(int?), string stackTrace = default(string))
{
Message = message;
FilePath = filePath;
LineNumber = lineNumber;
HResult = hResult;
StackTrace = stackTrace;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets error message
/// </summary>
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
/// <summary>
/// Gets or sets the path to the file where exception occurred
/// </summary>
[JsonProperty(PropertyName = "filePath")]
public string FilePath { get; set; }
/// <summary>
/// Gets or sets the line number where exception occurred
/// </summary>
[JsonProperty(PropertyName = "lineNumber")]
public string LineNumber { get; set; }
/// <summary>
/// Gets or sets coded numerical value that is assigned to a specific
/// exception
/// </summary>
[JsonProperty(PropertyName = "hResult")]
public int? HResult { get; set; }
/// <summary>
/// Gets or sets stack trace
/// </summary>
[JsonProperty(PropertyName = "stackTrace")]
public string StackTrace { get; set; }
}
}
| {
"content_hash": "a4f74893ffa6bbfe37295abd1ba360bd",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 207,
"avg_line_length": 34.064935064935064,
"alnum_prop": 0.5772016774685474,
"repo_name": "AzureAutomationTeam/azure-sdk-for-net",
"id": "5264c7dc791d76a0c07c8e462f4cffb3c049db36",
"size": "2976",
"binary": false,
"copies": "5",
"ref": "refs/heads/psSdkJson6",
"path": "src/SDKs/DataMigration/Management.DataMigration/Generated/Models/ReportableException.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP",
"bytes": "118"
},
{
"name": "Batchfile",
"bytes": "19041"
},
{
"name": "C#",
"bytes": "80818733"
},
{
"name": "CSS",
"bytes": "685"
},
{
"name": "JavaScript",
"bytes": "7875"
},
{
"name": "PowerShell",
"bytes": "30922"
},
{
"name": "Shell",
"bytes": "10166"
},
{
"name": "XSLT",
"bytes": "6114"
}
],
"symlink_target": ""
} |
<?php
namespace App\Infrastructure\Storage;
use Doctrine\DBAL\Connection;
use Novosga\Entity\Contador;
use Novosga\Entity\Servico;
use Novosga\Entity\Unidade;
/**
* PostgreSQL Storage
*
* @author Rogerio Lino <rogeriolino@gmail.com>
*/
class PostgreSQLStorage extends RelationalStorage
{
/**
* {@inheritdoc}
*/
protected function numeroAtual(Connection $conn, Unidade $unidade, Servico $servico): int
{
$contadorTable = $this->om->getClassMetadata(Contador::class)->getTableName();
$stmt = $conn->prepare("
SELECT numero
FROM {$contadorTable}
WHERE
unidade_id = :unidade AND
servico_id = :servico
FOR UPDATE
");
$stmt->bindValue('unidade', $unidade->getId());
$stmt->bindValue('servico', $servico->getId());
$stmt->execute();
$numeroAtual = (int) $stmt->fetchColumn();
return $numeroAtual;
}
/**
* {@inheritdoc}
*/
protected function preAcumularAtendimentos(Connection $conn, Unidade $unidade = null)
{
}
/**
* {@inheritdoc}
*/
protected function preApagarDadosAtendimento(Connection $conn, Unidade $unidade = null)
{
}
}
| {
"content_hash": "661434aa87fb3a7be985d646c7a8c2bf",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 93,
"avg_line_length": 22.875,
"alnum_prop": 0.5878220140515222,
"repo_name": "novosga/novosga",
"id": "f4e074e7de36b91f1370b2f745941f63b1590bea",
"size": "1510",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Infrastructure/Storage/PostgreSQLStorage.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "2119"
},
{
"name": "JavaScript",
"bytes": "18086"
},
{
"name": "PHP",
"bytes": "213165"
},
{
"name": "Shell",
"bytes": "1739"
},
{
"name": "Twig",
"bytes": "60048"
}
],
"symlink_target": ""
} |
.class public interface abstract Lcom/payu/android/sdk/internal/q;
.super Ljava/lang/Object;
# virtual methods
.method public abstract a()Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"()Ljava/util/List<Lcom/payu/android/sdk/internal/n;>;"
}
.end annotation
.end method
.method public abstract b()Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"()Ljava/util/List<Ljava/lang/Class<+Landroid/app/Service;>;>;"
}
.end annotation
.end method
| {
"content_hash": "7e48736169e34d2093bed8fb6d0d44d0",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 75,
"avg_line_length": 28.6,
"alnum_prop": 0.6643356643356644,
"repo_name": "gelldur/jak_oni_to_robia_prezentacja",
"id": "47c4d62c3c5860936a6c74cba8d1d064c5624bcd",
"size": "572",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Starbucks/output/smali/com/payu/android/sdk/internal/q.smali",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "8427"
},
{
"name": "Shell",
"bytes": "2303"
},
{
"name": "Smali",
"bytes": "57557982"
}
],
"symlink_target": ""
} |
/*
This file is licensed to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.xmlunit.matchers;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.mockito.Mockito;
import org.w3c.dom.Element;
import org.xml.sax.InputSource;
import org.xmlunit.XMLUnitException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.xpath.XPathFactory;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.HashMap;
import static org.hamcrest.CoreMatchers.both;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.Matchers.isEmptyString;
import static org.junit.Assert.assertThat;
import static org.xmlunit.matchers.EvaluateXPathMatcher.hasXPath;
public class EvaluateXPathMatcherTest {
@Rule
public ExpectedException thrown = ExpectedException.none();
@Test
public void testXPathCountInXmlString() throws Exception {
String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
"<fruits>" +
"<fruit name=\"apple\"/>" +
"<fruit name=\"orange\"/>" +
"<fruit name=\"banana\"/>" +
"</fruits>";
assertThat(xml, hasXPath("count(//fruits/fruit)", equalTo("3")));
assertThat(xml, hasXPath("//fruits/fruit/@name", equalTo("apple")));
assertThat(xml, hasXPath("count(//fruits/fruit[@name=\"orange\"])", equalTo("1")));
assertThat(xml, hasXPath("count(//fruits/fruit[@name=\"apricot\"])", equalTo("0")));
}
@Test
public void testXPathAttributeValueMatchingInXmlString() throws Exception {
String xml = "<a><b attr=\"abc\"></b></a>";
assertThat(xml, hasXPath("//a/b/@attr", equalTo("abc")));
assertThat(xml, hasXPath("count(//a/b/c)", equalTo("0")));
try {
assertThat(xml, hasXPath("//a/b/@attr", equalTo("something")));
Assert.fail("Should throw AssertionError");
} catch(AssertionError e) {
assertThat(e.getMessage(), containsString("was \"abc\""));
}
}
@Test
public void testXPathAttributeValueMatchingInXmlElement() throws Exception {
String xml = "<a><b attr=\"abc\"></b></a>";
DocumentBuilderFactory f = DocumentBuilderFactory.newInstance();
f.setNamespaceAware(true);
DocumentBuilder db = f.newDocumentBuilder();
Element xmlRootElement = db.parse(
new InputSource(new ByteArrayInputStream(xml.getBytes("utf-8")))).getDocumentElement();
assertThat(xmlRootElement, hasXPath("//a/b/@attr", equalTo("abc")));
}
@Test
public void testXPathEvaluationWithNamespaceContext() throws Exception {
String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
"<feed xmlns=\"http://www.w3.org/2005/Atom\">" +
" <title>Search Engine Feed</title>" +
" <link href=\"https://en.wikipedia.org/wiki/Web_search_engine\"/>" +
" <entry>" +
" <title>Google</title>" +
" <id>goog</id>" +
" </entry>" +
" <entry>" +
" <title>Bing</title>" +
" <id>msft</id>" +
" </entry>" +
"</feed>";
HashMap<String, String> prefix2Uri = new HashMap<String, String>();
prefix2Uri.put("atom", "http://www.w3.org/2005/Atom");
assertThat(xml, hasXPath("count(//atom:feed/atom:entry)", equalTo("2")).withNamespaceContext(prefix2Uri));
assertThat(xml, hasXPath("//atom:feed/atom:entry/atom:title/text()",
equalTo("Google")).withNamespaceContext(prefix2Uri));
assertThat(xml, hasXPath("//atom:feed/atom:entry[2]/atom:title/text()",
equalTo("Bing")).withNamespaceContext(prefix2Uri));
}
/**
* Really only tests there is no NPE.
* @see "https://github.com/xmlunit/xmlunit/issues/81"
*/
@Test(expected = AssertionError.class)
public void canBeCombinedWithFailingMatcher() {
assertThat("not empty", both(isEmptyString())
.and(hasXPath("count(//atom:feed/atom:entry)", equalTo("2"))));
}
@Test
public void canBeCombinedWithPassingMatcher() {
String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
"<fruits>" +
"<fruit name=\"apple\"/>" +
"<fruit name=\"orange\"/>" +
"<fruit name=\"banana\"/>" +
"</fruits>";
assertThat(xml, both(not(isEmptyString()))
.and(hasXPath("count(//fruits/fruit)", equalTo("3"))));
}
@Test
public void usesDocumentBuilderFactory() throws Exception {
DocumentBuilderFactory dFac = Mockito.mock(DocumentBuilderFactory.class);
DocumentBuilder b = Mockito.mock(DocumentBuilder.class);
Mockito.when(dFac.newDocumentBuilder()).thenReturn(b);
Mockito.doThrow(new IOException())
.when(b).parse(Mockito.any(InputSource.class));
String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
"<fruits>" +
"<fruit name=\"apple\"/>" +
"<fruit name=\"orange\"/>" +
"<fruit name=\"banana\"/>" +
"</fruits>";
try {
assertThat(xml, hasXPath("count(//fruits/fruit)", equalTo("3"))
.withDocumentBuilderFactory(dFac));
Assert.fail("Expected exception");
} catch (XMLUnitException ex) {
Mockito.verify(b).parse(Mockito.any(InputSource.class));
}
}
@Test
public void createsAUsefulMessageWhenFailingCombinedWithNotOnTheOutside() throws Exception {
thrown.expect(AssertionError.class);
thrown.expectMessage("not XML with XPath count(//fruits/fruit) evaluated to \"3\"");
String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
"<fruits>" +
"<fruit name=\"apple\"/>" +
"<fruit name=\"orange\"/>" +
"<fruit name=\"banana\"/>" +
"</fruits>";
assertThat(xml, not(hasXPath("count(//fruits/fruit)", equalTo("3"))));
}
@Test
public void createsAUsefulMessageWhenFailingCombinedWithNotOnTheInside() throws Exception {
thrown.expect(AssertionError.class);
thrown.expectMessage("XML with XPath count(//fruits/fruit) evaluated to not \"3\"");
String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
"<fruits>" +
"<fruit name=\"apple\"/>" +
"<fruit name=\"orange\"/>" +
"<fruit name=\"banana\"/>" +
"</fruits>";
assertThat(xml, hasXPath("count(//fruits/fruit)", not(equalTo("3"))));
}
@Test
public void usesXPathFactory() throws Exception {
XPathFactory xFac = Mockito.mock(XPathFactory.class);
Mockito.when(xFac.newXPath()).thenReturn(XPathFactory.newInstance().newXPath());
assertThat("<foo/>", not(hasXPath("//bar", equalTo("a")).withXPathFactory(xFac)));
Mockito.verify(xFac).newXPath();
}
}
| {
"content_hash": "346b9ec485fd86dda49348e3733eff37",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 114,
"avg_line_length": 41.255208333333336,
"alnum_prop": 0.5915919707107689,
"repo_name": "xmlunit/xmlunit",
"id": "bab50af9d4e55779201da176145d7b34323c1fbb",
"size": "7921",
"binary": false,
"copies": "1",
"ref": "refs/heads/main",
"path": "xmlunit-matchers/src/test/java/org/xmlunit/matchers/EvaluateXPathMatcherTest.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "2192835"
},
{
"name": "Shell",
"bytes": "13222"
}
],
"symlink_target": ""
} |
#region Header
//
// _ _ ____ _ _ _ _ _ _
// _| || |_| __ ) __ _| |_| |_| | ___ | \ | | ___| |_
// |_ .. _ | _ \ / _` | __| __| |/ _ \ | \| |/ _ \ __|
// |_ _| |_) | (_| | |_| |_| | __/_ | |\ | __/ |_
// |_||_| |____/ \__,_|\__|\__|_|\___(_)_ | \_|\___|\__|
//
// The MIT License
//
// Copyright(c) 2014 Wynand Pieters. https://github.com/wpieterse/SharpBattleNet
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#endregion
namespace SharpBattleNet.DiabloIIRealmServer
{
#region Usings
using System;
using Ninject.Modules;
using SharpBattleNet.Runtime;
using SharpBattleNet.Runtime.Application;
#endregion
public sealed class DiabloIIRealmServerModule : NinjectModule
{
public override void Load()
{
Bind<IApplicationListener>().To<DiabloIIRealmServerApplication>();
return;
}
}
}
| {
"content_hash": "cba348f726d83dfe5389e232718fbc08",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 80,
"avg_line_length": 37.59615384615385,
"alnum_prop": 0.6235294117647059,
"repo_name": "wynandpieterse/SharpBattleNet",
"id": "bdec661d2764ce5e29aee0f681bc8424679a685c",
"size": "1957",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Source/Programs/DiabloIIRealmServer/SharpBattleNet.DiabloIIRealmServer/DiabloIIRealmServerModule.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "6478"
},
{
"name": "C#",
"bytes": "315641"
}
],
"symlink_target": ""
} |
class CreateTriggerAndStoredProcs < ActiveRecord::Migration
INS_GAMES_TRIGGER = "cg_games_ins_trigger"
UPD_GAMES_TRIGGER = "cg_games_upd_trigger"
DEL_GAMES_TRIGGER = "cg_games_del_trigger"
INCREMENT_PLAYER_STATS = "cg_increment_player_stats"
DECREMENT_PLAYER_STATS = "cg_decrement_player_stats"
RESET_PLAYER_STATS = "cg_reset_player_stats"
INCREMENT_PAIR_STATS = "cg_increment_pair_stats"
DECREMENT_PAIR_STATS = "cg_decrement_pair_stats"
RESET_PAIR_STATS = "cg_reset_pair_stats"
def up
ActiveRecord::Base.connection.execute "DROP TRIGGER IF EXISTS #{INS_GAMES_TRIGGER}"
ActiveRecord::Base.connection.execute <<-SQL
CREATE TRIGGER #{INS_GAMES_TRIGGER}
AFTER INSERT ON cg_games FOR EACH ROW
BEGIN
CALL #{INCREMENT_PLAYER_STATS}(NEW.black_id, NEW.white_id, NEW.winner);
CALL #{INCREMENT_PAIR_STATS}(NEW.black_id, NEW.white_id, NEW.winner);
END
SQL
ActiveRecord::Base.connection.execute "DROP TRIGGER IF EXISTS #{UPD_GAMES_TRIGGER}"
ActiveRecord::Base.connection.execute <<-SQL
CREATE TRIGGER #{UPD_GAMES_TRIGGER}
BEFORE UPDATE ON cg_games FOR EACH ROW
BEGIN
IF OLD.black_id <> NEW.black_id || OLD.white_id <> NEW.white_id || OLD.winner <> NEW.winner THEN
CALL #{DECREMENT_PLAYER_STATS}(OLD.black_id, OLD.white_id, OLD.winner);
CALL #{DECREMENT_PAIR_STATS}(OLD.black_id, OLD.white_id, OLD.winner);
CALL #{INCREMENT_PLAYER_STATS}(NEW.black_id, NEW.white_id, NEW.winner);
CALL #{INCREMENT_PAIR_STATS}(NEW.black_id, NEW.white_id, NEW.winner);
END IF;
END
SQL
ActiveRecord::Base.connection.execute "DROP TRIGGER IF EXISTS #{DEL_GAMES_TRIGGER}"
ActiveRecord::Base.connection.execute <<-SQL
CREATE TRIGGER #{DEL_GAMES_TRIGGER}
BEFORE DELETE ON cg_games FOR EACH ROW
BEGIN
CALL #{DECREMENT_PLAYER_STATS}(OLD.black_id, OLD.white_id, OLD.winner);
CALL #{DECREMENT_PAIR_STATS}(OLD.black_id, OLD.white_id, OLD.winner);
END
SQL
# player_stats stored procedures
ActiveRecord::Base.connection.execute "DROP PROCEDURE IF EXISTS #{INCREMENT_PLAYER_STATS}"
ActiveRecord::Base.connection.execute <<-SQL
CREATE PROCEDURE #{INCREMENT_PLAYER_STATS} (IN black_id INT, IN white_id INT, IN winner INT)
BEGIN
DECLARE black_won, black_lost INT DEFAULT 0;
DECLARE white_won, white_lost INT DEFAULT 0;
IF winner = 1 THEN
SET black_won = 1;
SET white_lost = 1;
ELSEIF winner = 2 THEN
SET black_lost = 1;
SET white_won = 1;
END IF;
if black_id > 0 THEN
UPDATE cg_player_stats SET
games_as_black = games_as_black + 1,
games_won_as_black = games_won_as_black + black_won,
games_lost_as_black = games_lost_as_black + black_lost
WHERE player_id = black_id;
END IF;
if white_id > 0 THEN
UPDATE cg_player_stats SET
games_as_white = games_as_white + 1,
games_won_as_white = games_won_as_white + white_won,
games_lost_as_white = games_lost_as_white + white_lost
WHERE player_id = white_id;
END IF;
END
SQL
ActiveRecord::Base.connection.execute "DROP PROCEDURE IF EXISTS #{DECREMENT_PLAYER_STATS}"
ActiveRecord::Base.connection.execute <<-SQL
CREATE PROCEDURE #{DECREMENT_PLAYER_STATS} (IN black_id INT, IN white_id INT, IN winner INT)
BEGIN
DECLARE black_won, black_lost INT DEFAULT 0;
DECLARE white_won, white_lost INT DEFAULT 0;
IF winner = 1 THEN
SET black_won = 1;
SET white_lost = 1;
ELSEIF winner = 2 THEN
SET black_lost = 1;
SET white_won = 1;
END IF;
if black_id > 0 THEN
UPDATE cg_player_stats SET
games_as_black = games_as_black - 1,
games_won_as_black = games_won_as_black - black_won,
games_lost_as_black = games_lost_as_black - black_lost
WHERE player_id = black_id;
END IF;
if white_id > 0 THEN
UPDATE cg_player_stats SET
games_as_white = games_as_white - 1,
games_won_as_white = games_won_as_white - white_won,
games_lost_as_white = games_lost_as_white - white_lost
WHERE player_id = white_id;
END IF;
END
SQL
ActiveRecord::Base.connection.execute "DROP PROCEDURE IF EXISTS #{RESET_PLAYER_STATS}"
ActiveRecord::Base.connection.execute <<-SQL
CREATE PROCEDURE #{RESET_PLAYER_STATS}()
BEGIN
DECLARE _black_id, _white_id, _winner, end_of_cursor INT DEFAULT 0;
DECLARE game_cursor CURSOR FOR
SELECT black_id, white_id, winner FROM games;
DECLARE CONTINUE HANDLER FOR NOT FOUND
SET end_of_cursor = 1;
UPDATE player_stats SET games_as_black = 0, games_won_as_black = 0, games_lost_as_black = 0,
games_as_white = 0, games_won_as_white = 0, games_lost_as_white = 0;
OPEN game_cursor;
WHILE end_of_cursor = 0 DO
FETCH game_cursor INTO _black_id, _white_id, _winner;
CALL increment_player_stats(_black_id, _white_id, _winner);
END WHILE;
CLOSE game_cursor;
END
SQL
# pair_stats stored procedures
ActiveRecord::Base.connection.execute "DROP PROCEDURE IF EXISTS #{INCREMENT_PAIR_STATS}"
ActiveRecord::Base.connection.execute <<-SQL
CREATE PROCEDURE #{INCREMENT_PAIR_STATS} (IN black_id INT, IN white_id INT, IN winner INT)
BEGIN
DECLARE black_won, black_lost INT DEFAULT 0;
DECLARE white_won, white_lost INT DEFAULT 0;
IF winner = 1 THEN
SET black_won = 1;
SET white_lost = 1;
ELSEIF winner = 2 THEN
SET black_lost = 1;
SET white_won = 1;
END IF;
UPDATE cg_pair_stats SET
games_as_black = games_as_black + 1,
games_won_as_black = games_won_as_black + black_won,
games_lost_as_black = games_lost_as_black + black_lost
WHERE player_id = black_id and opponent_id = white_id;
UPDATE cg_pair_stats SET
games_as_white = games_as_white + 1,
games_won_as_white = games_won_as_white + white_won,
games_lost_as_white = games_lost_as_white + white_lost
WHERE player_id = white_id and opponent_id = black_id;
END
SQL
ActiveRecord::Base.connection.execute "DROP PROCEDURE IF EXISTS #{DECREMENT_PAIR_STATS}"
ActiveRecord::Base.connection.execute <<-SQL
CREATE PROCEDURE #{DECREMENT_PAIR_STATS} (IN black_id INT, IN white_id INT, IN winner INT)
BEGIN
DECLARE black_won, black_lost INT DEFAULT 0;
DECLARE white_won, white_lost INT DEFAULT 0;
IF winner = 1 THEN
SET black_won = 1;
SET white_lost = 1;
ELSEIF winner = 2 THEN
SET black_lost = 1;
SET white_won = 1;
END IF;
UPDATE cg_pair_stats SET
games_as_black = games_as_black - 1,
games_won_as_black = games_won_as_black - black_won,
games_lost_as_black = games_lost_as_black - black_lost
WHERE player_id = black_id and opponent_id = white_id;
UPDATE cg_pair_stats SET
games_as_white = games_as_white - 1,
games_won_as_white = games_won_as_white - white_won,
games_lost_as_white = games_lost_as_white - white_lost
WHERE player_id = white_id and opponent_id = black_id;
END
SQL
ActiveRecord::Base.connection.execute "DROP PROCEDURE IF EXISTS #{RESET_PAIR_STATS}"
ActiveRecord::Base.connection.execute <<-SQL
CREATE PROCEDURE #{RESET_PAIR_STATS}()
BEGIN
DECLARE _black_id, _white_id, _winner, end_of_cursor INT DEFAULT 0;
DECLARE game_cursor CURSOR FOR
SELECT black_id, white_id, winner FROM games;
DECLARE CONTINUE HANDLER FOR NOT FOUND
SET end_of_cursor = 1;
UPDATE pair_stats SET games_as_black = 0, games_won_as_black = 0, games_lost_as_black = 0,
games_as_white = 0, games_won_as_white = 0, games_lost_as_white = 0;
OPEN game_cursor;
WHILE end_of_cursor = 0 DO
FETCH game_cursor INTO _black_id, _white_id, _winner;
CALL increment_pair_stats(_black_id, _white_id, _winner);
END WHILE;
CLOSE game_cursor;
END
SQL
end
def down
end
end
| {
"content_hash": "5969dd5096008645e2f4eb78db53e18c",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 98,
"avg_line_length": 34.08370044052864,
"alnum_prop": 0.6781698332687088,
"repo_name": "gcao/cool_games",
"id": "37ad6ecdc05ce0a429556fab5dd114d3be57d85e",
"size": "7737",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "db/migrate/20120525120000_create_trigger_and_stored_procs.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "187430"
},
{
"name": "Ruby",
"bytes": "118228"
}
],
"symlink_target": ""
} |
InputStringBuf::InputStringBuf() : _waiting_for_input(false)
{
}
InputStringBuf::int_type InputStringBuf::underflow()
{
std::unique_lock<std::mutex> lock(_input_mutex);
_waiting_for_input = true;
_has_input.wait(lock, [this](){ return !str().empty(); });
_waiting_for_input = false;
return basic_stringbuf<char>::underflow();
}
void InputStringBuf::set_str(std::string const &__s)
{
basic_stringbuf::str(__s + "\n");
_has_input.notify_one();
}
| {
"content_hash": "3526823bb42ee8e62ba9d37ebc1511da",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 62,
"avg_line_length": 21.727272727272727,
"alnum_prop": 0.6443514644351465,
"repo_name": "humblehacker/taskwarrior-ios",
"id": "6252cb2fe1ab7a83b0114d1191eeb12b2b8881e5",
"size": "664",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "taskwarrior-ios/InputStringBuf.cc",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "11935"
},
{
"name": "C++",
"bytes": "13531"
},
{
"name": "D",
"bytes": "264"
},
{
"name": "Objective-C",
"bytes": "59472"
},
{
"name": "Objective-C++",
"bytes": "37250"
},
{
"name": "Ruby",
"bytes": "58"
},
{
"name": "Shell",
"bytes": "1577"
}
],
"symlink_target": ""
} |
DELETE FROM `sys_objects_page` WHERE `module` = 'bx_timeline';
DELETE FROM `sys_pages_blocks` WHERE `module` = 'bx_timeline' OR `object` IN('bx_timeline_view', 'bx_timeline_view_home', 'bx_timeline_item', 'bx_photos_item_brief');
-- MENU
DELETE FROM `sys_objects_menu` WHERE `module` = 'bx_timeline';
DELETE FROM `sys_menu_sets` WHERE `module` = 'bx_timeline';
DELETE FROM `sys_menu_items` WHERE `module` = 'bx_timeline' OR `set_name` IN('bx_timeline_menu_item_share', 'bx_timeline_menu_item_manage', 'bx_timeline_menu_item_actions', 'bx_timeline_menu_item_meta', 'bx_timeline_menu_post_attachments');
-- SETTINGS
SET @iTypeId = (SELECT `ID` FROM `sys_options_types` WHERE `name` = 'bx_timeline' LIMIT 1);
SET @iCategId = (SELECT `ID` FROM `sys_options_categories` WHERE `type_id` = @iTypeId LIMIT 1);
DELETE FROM `sys_options` WHERE `category_id` = @iCategId;
DELETE FROM `sys_options_categories` WHERE `type_id` = @iTypeId;
DELETE FROM `sys_options_types` WHERE `id` = @iTypeId;
-- PRIVACY
DELETE FROM `sys_objects_privacy` WHERE `module` = 'bx_timeline';
-- ACL
DELETE `sys_acl_actions`, `sys_acl_matrix` FROM `sys_acl_actions`, `sys_acl_matrix` WHERE `sys_acl_matrix`.`IDAction` = `sys_acl_actions`.`ID` AND `sys_acl_actions`.`Module` = 'bx_timeline';
DELETE FROM `sys_acl_actions` WHERE `Module` = 'bx_timeline';
-- ALERTS
SET @iHandlerId = (SELECT `id` FROM `sys_alerts_handlers` WHERE `name` = 'bx_timeline' LIMIT 1);
DELETE FROM `sys_alerts` WHERE `handler_id` = @iHandlerId;
DELETE FROM `sys_alerts_handlers` WHERE `id` = @iHandlerId LIMIT 1;
-- SEARCH
DELETE FROM `sys_objects_search` WHERE `ObjectName` IN ('bx_timeline', 'bx_timeline_cmts');
-- GRIDS
DELETE FROM `sys_objects_grid` WHERE `object` IN ('bx_timeline_administration');
DELETE FROM `sys_grid_fields` WHERE `object` IN ('bx_timeline_administration');
DELETE FROM `sys_grid_actions` WHERE `object` IN ('bx_timeline_administration');
-- METATAGS
DELETE FROM `sys_objects_metatags` WHERE `object` = 'bx_timeline';
-- EMAIL TEMPLATES
DELETE FROM `sys_email_templates` WHERE `Module` = 'bx_timeline';
-- CRON
DELETE FROM `sys_cron_jobs` WHERE `name` LIKE 'bx_timeline%';
-- PRELOADER
DELETE FROM `sys_preloader` WHERE `module` = 'bx_timeline';
| {
"content_hash": "dcdcb8b76880418e4f82d939eda76c9c",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 240,
"avg_line_length": 40.6,
"alnum_prop": 0.7062248096730855,
"repo_name": "boonex/trident",
"id": "195f785d5a02e24e6758b3538eeedb784ffcd339",
"size": "2251",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "modules/boonex/timeline/updates/9.0.14_10.0.0/source/install/sql/disable.sql",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ApacheConf",
"bytes": "1763"
},
{
"name": "CSS",
"bytes": "1481231"
},
{
"name": "HTML",
"bytes": "690596"
},
{
"name": "JavaScript",
"bytes": "4916309"
},
{
"name": "PHP",
"bytes": "28451148"
},
{
"name": "Shell",
"bytes": "1265"
}
],
"symlink_target": ""
} |
BSLS_IDENT("$Id$ $CSID$")
//@PURPOSE: Provide a mechanism for regular expression pattern matching.
//
//@CLASSES:
// bdlpcre::RegEx: mechanism for compiling and matching regular expressions
//
//@SEE_ALSO: http://www.pcre.org/
//
//@DESCRIPTION: This component provides a mechanism, 'bdlpcre::RegEx', for
// compiling (or "preparing") regular expressions, and subsequently matching
// subject strings against a prepared expression. The regular expressions
// supported by this component correspond approximately with Perl 5.10. See
// the appendix entitled "Perl Compatibility" below for more information.
//
// Upon construction, a 'bdlpcre::RegEx' object is initially not associated
// with a regular expression. A regular expression pattern is compiled for use
// by the object using the 'prepare' method. Subject strings may then be
// matched against the prepared pattern using the set of overloaded 'match'
// methods.
//
// The component provides the following groups of 'match' overloads:
//: 1 The first group of 'match' overloads simply returns 0 if a given subject
//: string matches the prepared regular expression, and returns a non-zero
//: value otherwise.
//:
//: 2 The second group of 'match' overloads returns the substring of the
//: subject that was matched, either as a 'bslstl::StringRef', or as a
//: 'bsl::pair<size_t, size_t>' holding the (offset, length) pair.
//:
//: 3 The third group of 'match' overloads returns a vector of either
//: 'bslstl::StringRef' or 'bsl::pair<size_t, size_t>' holding the matched
//: substrings. The first element of the vector indicate the substring of
//: the subject that matched the entire pattern. Subsequent elements
//: indicate the substrings of the subject that matched respective
//: sub-patterns.
//
///"Prepared" State
///----------------
// A 'bdlpcre::RegEx' object must first be prepared with a valid regular
// expression before attempting to match subject strings. We say that an
// instance of 'bdlpcre::RegEx' is in the "prepared" state if the object holds
// a valid regular expression, in which case calls to the overloaded 'match'
// methods of that instance are valid. Otherwise, the object is in the
// "unprepared" state. Upon construction, an 'bdlpcre::RegEx' object is in the
// "unprepared" state. A successful call to the 'prepare' method puts the
// object into the "prepared" state. The 'clear' method, as well as an
// unsuccessful call to 'prepare', puts the object into the "unprepared" state.
// The 'isPrepared' accessor may be used to determine whether an object is
// prepared.
//
///Prepare-Time Flags
///------------------
// A set of flags may be optionally supplied to the 'prepare' method to affect
// specific pattern matching behavior. The flags recognized by 'prepare' are
// defined in an enumeration declared within the 'bdlpcre::RegEx'. The
// following describes these flags and their effects.
//
///Case-Insensitive Matching
///- - - - - - - - - - - - -
// If 'RegEx::k_FLAG_CASELESS' is included in the flags supplied to 'prepare',
// then letters in the regular expression pattern supplied to 'prepare' match
// both lower- and upper-case letters in subject strings subsequently supplied
// to 'match'. This is equivalent to Perl's '/i' option, and can be turned off
// within a pattern by a '(?i)' option setting.
//
///Multi-Line Matching
///- - - - - - - - - -
// By default, a subject string supplied to 'match' is treated as consisting of
// a single line of characters (even if it actually contains '\n' characters).
// The start-of-line meta-character '^' matches only at the beginning of the
// string, and the end-of-line meta-character '$' matches only at the end of
// the string (or before a terminating '\n', if present). This matches the
// behavior of Perl.
//
// If 'RegEx::k_FLAG_MULTILINE' is included in the flags supplied to 'prepare',
// then start-of-line and end-of-line meta-characters match immediately
// following or immediately before any '\n' characters in subject strings
// supplied to 'match', respectively (as well as at the very start and end of
// subject strings). This is equivalent to Perl's '/m' option, and can be
// turned off within a pattern by a '(?m)' option setting. If there are no
// '\n' characters in the subject string, or if there are no occurrences of '^'
// or '$' in the prepared pattern, then including 'k_FLAG_MULTILINE' has no
// effect.
//
///UTF-8 Support
///- - - - - - -
// If 'RegEx::k_FLAG_UTF8' is included in the flags supplied to 'prepare', then
// the regular expression pattern supplied to 'prepare', as well as the subject
// strings subsequently supplied to 'match', are interpreted as strings of
// UTF-8 characters instead of strings of ASCII characters. The behavior of
// 'match' methods is undefined if 'pattern()' was prepared with 'k_FLAG_UTF8',
// but 'subject' is not a valid UTF-8 string.
//
///Dot Matches All
///- - - - - - - -
// If 'RegEx::k_FLAG_DOTMATCHESALL' is included in the flags supplied to
// 'prepare', then a dot metacharacter in the pattern matches a character of
// any value, including one that indicates a newline. However, it only ever
// matches one character, even if newlines are encoded as '\r\n'. If
// 'k_FLAG_DOTMATCHESALL' is not used to prepare a regular expression, a dot
// metacharacter will *not* match a newline; hence, patterns expected to match
// across lines will fail to do so. This flag is equivalent to Perl's '/s'
// option, and can be changed within a pattern by a '(?s)' option setting. A
// negative class such as '[^a]' always matches newline characters, independent
// of the setting of this option.
//
///JIT Compiling optimization
///--------------------------
// Just-in-time compiling is a heavyweight optimization that can greatly speed
// up pattern matching on supported platforms. However, it comes at the cost
// of extra processing before the match is performed, so it is of most benefit
// when the same pattern is going to be matched many times. This does not
// necessarily mean many calls of a matching function; if the pattern is not
// anchored, matching attempts may take place many times at various positions
// in the subject, even for a single call. Therefore, if the subject string is
// very long, it may still pay to use JIT even for one-off matches.
//
// If 'RegEx::k_FLAG_JIT' is included in the flags supplied to 'prepare', then
// all following matches will be performed with JIT optimization. To turn off
// JIT optimization support, regular expression should be prepared again,
// without using 'k_FLAG_JIT'.
//
// JIT is supported on following platforms:
//..
// ARM 32-bit (v5, v7, and Thumb2)
// ARM 64-bit
// Intel x86 32-bit and 64-bit
// MIPS 32-bit and 64-bit
// Power PC 32-bit and 64-bit
// SPARC 32-bit
//..
//
// The tables below demonstrate the benefit of the 'match' method with JIT
// optimizations, as well as the increased cost for 'prepare' when enabling JIT
// optimizations:
//..
// Legend
// ------
// 'SIMPLE_PATTERN':
// Pattern - X(abc)*Z
// Subject - XXXabcabcZZZ
//
// 'EMAIL_PATTERN':
// Pattern - [A-Za-z0-9._-]+@[[A-Za-z0-9.-]+
// Subject - john.dow@bloomberg.net
//
// 'IP_ADDRESS_PATTERN':
// Pattern - (?:[0-9]{1,3}\.){3}[0-9]{1,3}
// Subject - 255.255.255.255
//
// Each pattern/subject returns 1 match.
//..
// In this first table, for each pattern, 'prepare' was called once, and match
// was called 100000 times (measurements are in seconds):
//..
// Table 1: Performance Improvement for 'match' using k_JIT_FLAG
// +--------------------+---------------------+---------------------+
// | Pattern | 'match' without-JIT | 'match' using-JIT |
// +====================+=====================+=====================+
// | SIMPLE_PATTERN | 0.0559 (~5.1x) | 0.0108 |
// +--------------------+---------------------+---------------------+
// | EMAIL_PATTERN | 0.0222 (~2.6x) | 0.0086 |
// +--------------------+---------------------+---------------------+
// | IP_ADDRESS_PATTERN | 0.0331 (~5.3x) | 0.0062 |
// +--------------------+---------------------+---------------------+
//..
// In this second table, for each pattern, we measured 10000 iterations, where
// 'prepare' was called once, and 'match' was called once (measurements are in
// seconds):
//..
// Table 2: Performance Cost for 'prepare' using k_JIT_FLAG
// +--------------------+-----------------------+-----------------------+
// | Pattern | 'prepare' without-JIT | 'prepare' using-JIT |
// +====================+=======================+=======================+
// | SIMPLE_PATTERN | 0.2514 | 2.1426 (~8.5x) |
// +--------------------+-----------------------+-----------------------+
// | EMAIL_PATTERN | 0.3386 | 2.5758 (~7.6x) |
// +--------------------+-----------------------+-----------------------+
// | IP_ADDRESS_PATTERN | 0.3016 | 2.4433 (~8.1x) |
// +--------------------+-----------------------+-----------------------+
//..
// Note that the tests were run on Linux / Intel Xeon CPU (3.47GHz, 64-bit),
// compiled with gcc-4.8.2 in optimized mode.
//
///Thread Safety
///-------------
// 'bdlpcre::RegEx' is *const* *thread-safe*, meaning that accessors may be
// invoked concurrently from different threads, but it is not safe to access or
// modify a 'bdlpcre::RegEx' in one thread while another thread modifies the
// same object. Specifically, the 'match' method can be called from multiple
// threads after the pattern has been prepared.
//
// Note that 'bdlpcre::RegEx' incurs some overhead in order to provide
// thread-safe pattern matching functionality. To perform the pattern match,
// the underlaying PCRE2 library requires a set of buffers that cannot be
// shared between threads.
//
// The table below demonstrate the difference of invoking the 'match' method
// from main (thread that invokes 'prepare') and other threads:
//..
// Table 3: Performance cost for 'match' in multi-threaded application
// +--------------------+-----------------------+----------------------------+
// | Pattern | 'match' (main thread) | 'match' (other thread(s)) |
// +====================+=======================+============================+
// | SIMPLE_PATTERN | 0.0549 (~1.4x) | 0.0759 |
// +--------------------+-----------------------+----------------------------+
// | EMAIL_PATTERN | 0.0259 (~1.8x) | 0.0464 |
// +--------------------+-----------------------+----------------------------+
// | IP_ADDRESS_PATTERN | 0.0377 (~1.5x) | 0.0560 |
// +--------------------+-----------------------+----------------------------+
//..
// Note that JIT stack is functionally part of the match context. Using large
// JIT stack can incur additional performance penalty in the multi-threaded
// applications.
//
///Note on memory allocation exceptions
///------------------------------------
// PCRE2 library supports memory allocation/deallocation functions supplied by
// the client. 'bdlpcre_regex' provides wrappers around bslma allocators that
// are called from the context of the PCRE2 library (C linkage). Any
// exceptions thrown during memory allocation are caught by the wrapper
// functions and are not propagated to the PCRE2 library.
//
///Usage
///-----
// The following snippets of code illustrate using this component to extract
// the text of the "Subject:" field from an Internet e-mail message (RFC822).
// The following 'parseSubject' function accepts an RFC822-compliant message of
// a specified length and returns the text of the message's subject in the
// 'result' "out" parameter:
//..
// int parseSubject(bsl::string *result,
// const char *message,
// bsl::size_t messageLength)
// // Parse the specified 'message' of the specified 'messageLength' for
// // the "Subject:" field of 'message'. Return 0 on success and load the
// // specified 'result' with the text of the subject of 'message'; return
// // a non-zero value otherwise with no effect on 'result'.
// {
//..
// The following is the regular expression that will be used to find the
// subject text of 'message'. The "?P<subjectText>" syntax, borrowed from
// Python, allows us later to refer to a particular matched sub-pattern (i.e.,
// the text between the ':' and the '\r' in the "Subject:" field of the header)
// by the name "subjectText":
//..
// const char PATTERN[] = "^subject:(?P<subjectText>[^\r]*)";
//..
// First we compile the 'PATTERN', using the 'prepare' method, in order to
// match subject strings against it. In the event that 'prepare' fails, the
// first two arguments will be loaded with diagnostic information (an
// informational string and an index into the pattern at which the error
// occurred, respectively). Two flags, 'RegEx::k_FLAG_CASELESS' and
// 'RegEx::k_FLAG_MULTILINE', are used in preparing the pattern since Internet
// message headers contain case-insensitive content as well as '\n' characters.
// The 'prepare' method returns 0 on success, and a non-zero value otherwise:
//..
// RegEx regEx;
// bsl::string errorMessage;
// size_t errorOffset;
//
// int returnValue = regEx.prepare(&errorMessage,
// &errorOffset,
// PATTERN,
// RegEx::k_FLAG_CASELESS |
// RegEx::k_FLAG_MULTILINE);
// assert(0 == returnValue);
//..
// Next we call 'match' supplying 'message' and its length. The 'matchVector'
// will be populated with (offset, length) pairs describing substrings in
// 'message' that match the prepared 'PATTERN'. All variants of the overloaded
// 'match' method return 0 if a match is found, and return a non-zero value
// otherwise:
//..
// bsl::vector<bsl::pair<size_t, size_t> > matchVector;
// returnValue = regEx.match(&matchVector, message, messageLength);
//
// if (0 != returnValue) {
// return returnValue; // no match
// }
//..
// Then we pass "subjectText" to the 'subpatternIndex' method to obtain the
// index into 'matchVector' that describes how to locate the subject text
// within 'message'. The text is then extracted from 'message' and assigned to
// the 'result' "out" parameter:
//..
// const bsl::pair<size_t, size_t> capturedSubject =
// matchVector[regEx.subpatternIndex("subjectText")];
//
// *result = bsl::string(&message[capturedSubject.first],
// capturedSubject.second);
//
// return 0;
// }
//..
// The following array contains the sample Internet e-mail message from which
// we will extract the subject:
//..
// const char RFC822_MESSAGE[] =
// "Received: ; Fri, 23 Apr 2004 14:30:00 -0400\r\n"
// "Message-ID: <12345@mailgate.bloomberg.net>\r\n"
// "Date: Fri, 23 Apr 2004 14:30:00 -0400\r\n"
// "From: <someone@bloomberg.net>\r\n"
// "To: <someone_else@bloomberg.net>\r\n"
// "Subject: This is the subject text\r\n"
// "MIME-Version: 1.0\r\n"
// "Content-Type: text/plain\r\n"
// "\r\n"
// "This is the message body.\r\n"
// ".\r\n";
//..
// Finally, we call 'parseSubject' to extract the subject from
// 'RFC822_MESSAGE'. The assertions verify that the subject of the message is
// correctly extracted and assigned to the local 'subject' variable:
//..
// int main()
// {
// bsl::string subject;
// const int returnValue = parseSubject(&subject,
// RFC822_MESSAGE,
// sizeof(RFC822_MESSAGE) - 1);
// assert(0 == returnValue);
// assert(" This is the subject text" == subject);
// }
//..
//
///Appendix: Perl Compatibility
/// - - - - - - - - - - - - - -
// This section describes the differences in the ways that PCRE2 and Perl
// handle regular expressions. The differences described here are with respect
// to Perl versions 5.10 and above.
//
// 1) PCRE2 has only a subset of Perl's Unicode support.
//
// 2) PCRE2 allows repeat quantifiers only on parenthesized assertions, but
// they do not mean what you might think. For example, '(?!a){3}' does not
// assert that the next three characters are not '"a"'. It just asserts that
// the next character is not '"a"' three times (in principle: PCRE2 optimizes
// this to run the assertion just once). Perl allows repeat quantifiers on
// other assertions such as '\b', but these do not seem to have any use.
//
// 3) Capturing subpatterns that occur inside negative lookahead assertions are
// counted, but their entries in the offsets vector are never set. Perl
// sometimes (but not always) sets its numerical variables from inside negative
// assertions.
//
// 4) The following Perl escape sequences are not supported: '\l', '\u', '\L',
// '\U', and '\N' when followed by a character name or Unicode value. ('\N' on
// its own, matching a non-newline character, is supported.) In fact these are
// implemented by Perl's general string-handling and are not part of its
// pattern matching engine. If any of these are encountered by PCRE2, an error
// is generated by default.
//
// 5) The Perl escape sequences '\p,' '\P,' and '\X' are supported only if
// PCRE2 is built with Unicode support. The properties that can be tested with
// '\p' and '\P' are limited to the general category properties such as 'Lu'
// and 'Nd', script names such as Greek or Han, and the derived properties
// 'Any' and 'L&'. PCRE2 does support the 'Cs' (surrogate) property, which
// Perl does not; the Perl documentation says "Because Perl hides the need for
// the user to understand the internal representation of Unicode characters,
// there is no need to implement the somewhat messy concept of surrogates."
//
// 6) PCRE2 does support the '\Q...\E' escape for quoting substrings.
// Characters in between are treated as literals. This is slightly different
// from Perl in that '$' and '@' are also handled as literals inside the
// quotes. In Perl, they cause variable interpolation (but of course PCRE2
// does not have variables). Note the following examples:
//..
// Pattern PCRE2 matches Perl matches
// ---------------- ------------- ------------------------------------
// \Qabc$xyz\E abc$xyz abc followed by the contents of $xyz
// \Qabc\$xyz\E abc\$xyz abc\$xyz
// \Qabc\E\$\Qxyz\E abc$xyz abc$xyz
//..
// The '\Q...\E' sequence is recognized both inside and outside character
// classes.
//
// 7) PCRE2 does not support the '(?{code})' and '(??{code})' constructions.
// However, there is support for recursive patterns. This is not available in
// Perl 5.8, but it is in Perl 5.10.
//
// 8) Subroutine calls (whether recursive or not) are treated as atomic groups.
// Atomic recursion is like Python, but unlike Perl. Captured values that are
// set outside a subroutine call can be referenced from inside in PCRE2, but
// not in Perl.
//
// 9) If any of the backtracking control verbs are used in a subpattern that is
// called as a subroutine (whether or not recursively), their effect is
// confined to that subpattern; it does not extend to the surrounding pattern.
// This is not always the case in Perl. In particular, if '(*THEN)' is present
// in a group that is called as a subroutine, its action is limited to that
// group, even if the group does not contain any '|' characters. Note that
// such subpatterns are processed as anchored at the point where they are
// tested.
//
// 10) If a pattern contains more than one backtracking control verb, the first
// one that is backtracked onto acts. For example, in the pattern
// 'A(*COMMIT)B(*PRUNE)C' a failure in 'B' triggers '(*COMMIT),' but a failure
// in 'C' triggers '(*PRUNE)'. Perl's behaviour is more complex; in many cases
// it is the same as PCRE2, but there are examples where it differs.
//
// 11) Most backtracking verbs in assertions have their normal actions. They
// are not confined to the assertion.
//
// 12) There are some differences that are concerned with the settings of
// captured strings when part of a pattern is repeated. For example, matching
// '"aba"' against the pattern '/^(a(b)?)+$/' in Perl leaves '$2' unset, but in
// PCRE2 it is set to '"b"'.
//
// 13) PCRE2's handling of duplicate subpattern numbers and duplicate
// subpattern names is not as general as Perl's. This is a consequence of the
// fact the PCRE2 works internally just with numbers, using an external table
// to translate between numbers and names. In particular, a pattern such as
// '(?|(?<a>A)|(?<b)B)', where the two capturing parentheses have the same
// number but different names, is not supported, and causes an error at compile
// time. If it were allowed, it would not be possible to distinguish which
// parentheses matched, because both names map to capturing subpattern number
// 1. To avoid this confusing situation, an error is given at compile time.
//
// 14) Perl recognizes comments in some places that PCRE2 does not, for
// example, between the '(' and '?' at the start of a subpattern. If the '/x'
// modifier is set, Perl allows white space between '(' and '?' (though current
// Perls warn that this is deprecated) but PCRE2 never does, even if the
// 'PCRE2_EXTENDED' option is set.
//
// 15) Perl, when in warning mode, gives warnings for character classes such as
// '[A-\d]' or '[a-[:digit:]]'. It then treats the hyphens as literals. PCRE2
// has no warning features, so it gives an error in these cases because they
// are almost certainly user mistakes.
//
// 16) In PCRE2, the upper/lower case character properties 'Lu' and 'Ll' are
// not affected when case-independent matching is specified. For example,
// '\p{Lu}' always matches an upper case letter.
//
// 17) PCRE2 provides some extensions to the Perl regular expression
// facilities. This list is with respect to Perl 5.10:
//
// (a) Although lookbehind assertions in PCRE2 must match fixed length strings,
// each alternative branch of a lookbehind assertion can match a different
// length of string. Perl requires them all to have the same length.
//
// (b) If 'PCRE2_DOLLAR_ENDONLY' is set and 'PCRE2_MULTILINE' is not set, the
// '$' meta-character matches only at the very end of the string.
//
// (c) A backslash followed by a letter with no special meaning is faulted.
// (Perl can be made to issue a warning.)
//
// (d) If 'PCRE2_UNGREEDY' is set, the greediness of the repetition quantifiers
// is inverted, that is, by default they are not greedy, but if followed by a
// question mark they are.
//
// (e) 'PCRE2_ANCHORED' can be used at matching time to force a pattern to be
// tried only at the first matching position in the subject string.
//
// (f) The 'PCRE2_NOTBOL', 'PCRE2_NOTEOL', 'PCRE2_NOTEMPTY',
// 'PCRE2_NOTEMPTY_ATSTART', and 'PCRE2_NO_AUTO_CAPTURE' options have no Perl
// equivalents.
//
// (g) The '\R' escape sequence can be restricted to match only 'CR,' 'LF,' or
// 'CRLF' by the 'PCRE2_BSR_ANYCRLF' option.
//
// (h) The callout facility is PCRE2-specific.
//
// (i) The partial matching facility is PCRE2-specific.
//
// (j) The alternative matching function ('pcre2_dfa_match()' matches in a
// different way and is not Perl-compatible.
//
// (k) PCRE2 recognizes some special sequences such as '(*CR)' at the start of
// a pattern that set overall options that cannot be changed within the
// pattern.
//
///Additional Copyright Notice
///- - - - - - - - - - - - - -
//..
// Copyright (c) 1997-2015 University of Cambridge
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// * Neither the name of the University of Cambridge nor the names of any
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
// Copyright (c) 1997-2015 University of Cambridge
//..
#include <bdlscm_version.h>
#include <bslma_allocator.h>
#include <bslma_managedptr.h>
#include <bslma_usesbslmaallocator.h>
#include <bslmf_nestedtraitdeclaration.h>
#include <bsl_cstddef.h>
#include <bsls_types.h>
#include <bsl_string.h>
#include <bsl_utility.h> // 'bsl::pair'
#include <bsl_vector.h>
#include <bsls_atomicoperations.h>
#ifndef _PCRE2_H
#define PCRE2_CODE_UNIT_WIDTH 8
#define PCRE2_STATIC
#include <pcre2/pcre2.h>
#endif
namespace BloombergLP {
namespace bdlpcre {
class RegEx_MatchContext;
// ===========
// class RegEx
// ===========
class RegEx {
// This class provides a mechanism for compiling and matching regular
// expressions. A regular expression approximately compatible with Perl
// 5.10 is compiled with the 'prepare' method. Subsequently, strings are
// matched against the compiled (prepared) pattern using the overloaded
// 'match' methods. Note that the underlying implementation uses the
// open-source Perl Compatible Regular Expressions (PCRE2) library that was
// developed at the University of Cambridge ('http://www.pcre.org/').
// CLASS DATA
static
bsls::AtomicOperations::AtomicTypes::Int s_depthLimit; // process-wide
// default maximum
// evaluation
// recursion depth
// PRIVATE DATA
int d_flags; // prepare/match flags
bsl::string d_pattern; // regular expression pattern
pcre2_general_context *d_pcre2Context_p; // PCRE2 general context
pcre2_compile_context *d_compileContext_p; // PCRE2 compile context
pcre2_code *d_patternCode_p; // PCRE2 compiled pattern
int d_depthLimit; // evaluation recursion depth
size_t d_jitStackSize; // PCRE JIT stack size
bslma::ManagedPtr<RegEx_MatchContext>
d_matchContext; // match context helper
bslma::Allocator *d_allocator_p; // allocator to supply memory
private:
// NOT IMPLEMENTED
RegEx(const RegEx&);
RegEx& operator=(const RegEx&);
// PRIVATE ACCESSORS
int privateMatch(const char *subject,
size_t subjectLength,
size_t subjectOffset,
bool skipValidation,
pcre2_match_data *matchData,
pcre2_match_context *matchContext) const;
// Match the specified 'subject', having the specified 'subjectLength',
// against the pattern held by this regular-expression object
// ('pattern()'). Begin matching at the specified 'subjectOffset' in
// 'subject'. The specified 'skipValidation' flag indicates whether
// UTF string validity check should be bypassed or not. Use the
// specified 'matchData' and 'matchContext' as PCRE2 match data and
// context buffers respectively. Return 0 on success, 1 if the depth
// limit was exceeded, 2 if memory available for the JIT stack is not
// large enough (applicable only if 'pattern()' was prepared with
// 'k_FLAG_JIT'), and another non-zero value otherwise. The behavior
// is undefined unless 'isPrepared() == true',
// 'subject || subjectLength == 0', 'subjectOffset <= subjectLength',
// and 'matchData' and 'matchContext' point to a valid PCRE2 match data
// buffers. The behavior is also undefined if 'pattern()' was prepared
// with 'k_FLAG_UTF8', but 'subject' is not valid UTF-8. Note that
// 'subject' need not be null-terminated and may contain embedded null
// characters.
void extractMatchResult(pcre2_match_data *matchData,
bsl::pair<size_t, size_t> *result) const;
// Extract result of matching from the specified 'matchData' and load
// the specified 'result' with the '(offset, length)' pair indicating
// the leftmost match of 'pattern()'.
void extractMatchResult(pcre2_match_data *matchData,
bslstl::StringRef *result,
const char *subject) const;
// Extract result of matching the specified 'subject' from the
// specified 'matchData' and load the specified 'result' with the
// 'bslstl::StringRef' indicating the leftmost match of 'pattern()'.
void extractMatchResult(
pcre2_match_data *matchData,
bsl::vector<bsl::pair<size_t, size_t> > *result) const;
// Extract result of matching from the specified 'matchData' and (1)
// load the first element of the specified 'result' with
// '(offset, length)' pair indicating the leftmost match of
// 'pattern()', (2) load elements of 'result' in the range
// '[ 1 .. numSubpatterns() ]' with the pairs indicating the respective
// matches of sub-patterns (unmatched sub-patterns have their
// respective 'result' elements loaded with the '(k_INVALID_OFFSET, 0)'
// pair; sub-patterns matching multiple times have their respective
// 'result' elements loaded with the pairs indicating the rightmost
// match). 'result' will contain exactly 'numSubpatterns() + 1'
// elements.
void extractMatchResult(pcre2_match_data *matchData,
bsl::vector<bslstl::StringRef> *result,
const char *subject) const;
// Extract result of matching the specified 'subject' from the
// specified 'matchData' and (1) load the first element of the
// specified 'result' with 'bslstl::StringRef' indicating the leftmost
// match of 'pattern()', (2) load elements of 'result' in the range
// '[ 1 .. numSubpatterns() ]' with the 'bslstl::StringRef' objects
// indicating the respective matches of sub-patterns (unmatched
// sub-patterns have their respective 'result' elements loaded with
// empty 'StringRef'; sub-patterns matching multiple times have their
// respective 'result' elements loaded with the objects indicating the
// rightmost match). 'result' will contain exactly
// 'numSubpatterns() + 1' elements.
public:
// TRAITS
BSLMF_NESTED_TRAIT_DECLARATION(RegEx, bslma::UsesBslmaAllocator);
// CONSTANTS
enum {
k_FLAG_CASELESS = 1 << 0, // case-insensitive matching
k_FLAG_DOTMATCHESALL = 1 << 1, // dot metacharacter matches all chars
// (including newlines)
k_FLAG_MULTILINE = 1 << 2, // multi-line matching
k_FLAG_UTF8 = 1 << 3, // UTF-8 support
k_FLAG_JIT = 1 << 4 // just-in-time compiling optimization
// required
};
// This enumeration defines the flags that may be supplied to the
// 'prepare' method to effect specific pattern matching behavior.
static const size_t k_INVALID_OFFSET;
// Value used to denote an invalid offset for match methods returning
// pairs.
// CLASS METHODS
static int defaultDepthLimit();
// Returns the process-wide default evaluation recursion depth limit.
static bool isJitAvailable();
// Return 'true' if just-in-time compiling optimization is supported by
// current hardware platform and 'false' otherwise. Note that JIT
// support is limited to the following hardware platforms:
//..
// ARM 32-bit (v5, v7, and Thumb2)
// ARM 64-bit
// Intel x86 32-bit and 64-bit
// MIPS 32-bit and 64-bit
// Power PC 32-bit and 64-bit
// SPARC 32-bit
//..
static int setDefaultDepthLimit(int depthLimit);
// Set the process-wide default evaluation recursion depth limit to the
// specified 'depthLimit'. Returns the previous depth limit.
// CREATORS
RegEx(bslma::Allocator *basicAllocator = 0); // IMPLICIT
// Create a regular-expression object in the "unprepared" state.
// Optionally specify a 'basicAllocator' used to supply memory. The
// alignment strategy of the allocator must be "maximum" or "natural".
// If 'basicAllocator' is 0, the currently installed default allocator
// is used.
~RegEx();
// Destroy this regular-expression object.
// MANIPULATORS
void clear();
// Free resources used by this regular-expression object and put this
// object into the "unprepared" state. This method has no effect if
// this object is already in the "unprepared" state.
int prepare(bsl::string *errorMessage,
size_t *errorOffset,
const char *pattern,
int flags = 0,
size_t jitStackSize = 0);
// Prepare this regular-expression object with the specified 'pattern'
// and the optionally specified 'flags'. 'flags', if supplied, should
// contain a bit-wise or of the 'k_FLAG_*' constants defined by this
// class, which indicate additional configuration parameters for the
// regular expression. Optionally specify 'jitStackSize'. If 'flags'
// has the 'k_FLAG_JIT' flag set, 'jitStackSize' indicates the size of
// the allocated JIT stack to be used for this pattern. If 'flags'
// has the 'k_FLAG_JIT' bit set and 'jitStackSize' is 0 (or not
// supplied), no memory will be allocated for the JIT stack and the
// program stack will be used as the JIT stack. If 'flags' does not
// have 'k_FLAG_JIT' set, or 'isJitAvailable is 'false', the
// 'jitStackSize' parameter, if supplied, is ignored. On success, put
// this object into the "prepared" state and return 0, with no effect
// on the specified 'errorMessage' and 'errorOffset'. Otherwise, (1)
// put this object into the "unprepared" state, (2) load 'errorMessage'
// (if non-null) with a string describing the error detected, (3) load
// 'errorOffset' (if non-null) with the offset in 'pattern' at which
// the error was detected, and (4) return a non-zero value. The
// behavior is undefined unless 'flags' is the bit-wise inclusive-or of
// 0 or more of the following values:
//..
// k_FLAG_CASELESS
// k_FLAG_DOTMATCHESALL
// k_FLAG_MULTILINE
// k_FLAG_UTF8
// k_FLAG_JIT
//..
// Note that the flag 'k_FLAG_JIT' is ignored if 'isJitAvailable' is
// 'false'.
int setDepthLimit(int depthLimit);
// Set the evaluation recursion depth limit for this regular-expression
// object to the specified 'depthLimit'. Return the previous depth
// limit.
// ACCESSORS
int depthLimit() const;
// Returns the evaluation recursion depth limit for this
// regular-expression object.
int flags() const;
// Return the flags that were supplied to the most recent successful
// call to the 'prepare' method of this regular-expression object. The
// behavior is undefined unless 'isPrepared() == true'. Note that the
// returned value will be the bit-wise inclusive-or of 0 or more of the
// following values:
//..
// k_FLAG_CASELESS
// k_FLAG_DOTMATCHESALL
// k_FLAG_MULTILINE
// k_FLAG_UTF8
// k_FLAG_JIT
//..
// Also note that 'k_FLAG_JIT' is ignored, but still returned by this
// method, if 'isJitAvailable' is 'false'.
bool isPrepared() const;
// Return 'true' if this regular-expression object is in the "prepared"
// state, and 'false' otherwise.
size_t jitStackSize() const;
// Return the size of the dynamically allocated JIT stack if it has
// been specified explicitly with 'prepare' method. Return '0' if zero
// 'jitStackSize' value has been passed to 'prepare' method (or not
// supplied at all). Return '0' if 'isPrepared' is 'false'.
int match(const char *subject,
size_t subjectLength,
size_t subjectOffset = 0) const;
// Match the specified 'subject', having the specified 'subjectLength',
// against the pattern held by this regular-expression object
// ('pattern()'). Begin matching at the optionally specified
// 'subjectOffset' in 'subject'. If 'subjectOffset' is not specified,
// then begin matching from the start of 'subject'. Return 0 on
// success, 1 if the depth limit was exceeded, 2 if memory available
// for the JIT stack is not large enough (applicable only if
// 'pattern()' was prepared with 'k_FLAG_JIT'), and another non-zero
// value otherwise. The behavior is undefined unless
// 'isPrepared() == true', 'subject || subjectLength == 0', and
// 'subjectOffset <= subjectLength'. The behavior is also undefined if
// 'pattern()' was prepared with 'k_FLAG_UTF8', but 'subject' is not
// valid UTF-8. Note that 'subject' need not be null-terminated and
// may contain embedded null characters.
int match(bsl::pair<size_t, size_t> *result,
const char *subject,
size_t subjectLength,
size_t subjectOffset = 0) const;
int match(bslstl::StringRef *result,
const char *subject,
size_t subjectLength,
size_t subjectOffset = 0) const;
// Match the specified 'subject', having the specified 'subjectLength',
// against the pattern held by this regular-expression object
// ('pattern()'). Begin matching at the optionally specified
// 'subjectOffset' in 'subject'. If 'subjectOffset' is not specified,
// then begin matching from the start of 'subject'. On success, load
// the specified 'result' with respectively the '(offset, length)' pair
// or 'bslstl::StringRef' indicating the leftmost match of 'pattern()',
// and return 0. Otherwise, return a non-zero value with no effect on
// 'result'. The return value is 1 if the failure is caused by
// exceeding the depth limit, and 2 if memory available for the JIT
// stack is not large enough (applicable only if 'pattern()' was
// prepared with 'k_FLAG_JIT'). The behavior is undefined unless
// 'isPrepared() == true', 'subject || subjectLength == 0' , and
// 'subjectOffset <= subjectLength'. The behavior is also undefined if
// 'pattern()' was prepared with 'k_FLAG_UTF8', but 'subject' is not
// valid UTF-8. Note that 'subject' need not be null-terminated and
// may contain embedded null characters.
int match(bsl::vector<bsl::pair<size_t, size_t> > *result,
const char *subject,
size_t subjectLength,
size_t subjectOffset = 0)
const;
int match(bsl::vector<bslstl::StringRef> *result,
const char *subject,
size_t subjectLength,
size_t subjectOffset = 0) const;
// Match the specified 'subject', having the specified 'subjectLength',
// against the pattern held by this regular-expression object
// ('pattern()'). Begin matching at the optionally specified
// 'subjectOffset' in 'subject'. If 'subjectOffset' is not specified,
// then begin matching from the start of 'subject'. On success, (1)
// load the first element of the specified 'result' with respectively
// '(offset, length)' pair or 'bslstl::StringRef' indicating the
// leftmost match of 'pattern()', (2) load elements of 'result' in the
// range '[ 1 .. numSubpatterns() ]' with the pairs
// ('bslstl::StringRef') indicating the respective matches of
// sub-patterns (unmatched sub-patterns have their respective 'result'
// elements loaded with either the '(k_INVALID_OFFSET, 0)' pair or an
// empty 'StringRef'; sub-patterns matching multiple times have their
// respective 'result' elements loaded with the pairs indicating the
// rightmost match), and (3) return 0. Otherwise, return a non-zero
// value with no effect on 'result'. The return value is 1 if the
// failure is caused by exceeding the depth limit, and 2 if memory
// available for the JIT stack is not large enough (applicable only if
// 'pattern()' was prepared with 'k_FLAG_JIT'). The behavior is
// undefined unless 'isPrepared() == true', 'subject || subjectLength
// == 0', and 'subjectOffset <= subjectLength'. The behavior is also
// undefined if 'pattern()' was prepared with 'k_FLAG_UTF8', but
// 'subject' is not valid UTF-8. Note that 'subject' need not be
// null-terminated and may contain embedded null characters. Also note
// that after a successful call, 'result' will contain exactly
// 'numSubpatterns() + 1' elements.
int matchRaw(const char *subject,
size_t subjectLength,
size_t subjectOffset = 0) const;
// Match the specified 'subject', having the specified 'subjectLength',
// against the pattern held by this regular-expression object
// ('pattern()'), but bypassing UTF string validity check. Begin
// matching at the optionally specified 'subjectOffset' in 'subject'.
// If 'subjectOffset' is not specified, then begin matching from the
// start of 'subject'. Return 0 on success, 1 if the depth limit was
// exceeded, 2 if memory available for the JIT stack is not large
// enough (applicable only if 'pattern()' was prepared with
// 'k_FLAG_JIT'), and another non-zero value otherwise. The behavior
// is undefined unless 'isPrepared() == true',
// 'subject || subjectLength == 0', and
// 'subjectOffset <= subjectLength'. The behavior is also undefined if
// 'pattern()' was prepared with 'k_FLAG_UTF8', but 'subject' is not
// valid UTF-8. Note that 'subject' need not be null-terminated and
// may contain embedded null characters. Also note that 'subject' may
// be null if '0 == subjectLength' (denoting the empty string).
int matchRaw(bsl::pair<size_t, size_t> *result,
const char *subject,
size_t subjectLength,
size_t subjectOffset = 0) const;
int matchRaw(bslstl::StringRef *result,
const char *subject,
size_t subjectLength,
size_t subjectOffset = 0) const;
// Match the specified 'subject', having the specified 'subjectLength',
// against the pattern held by this regular-expression object
// ('pattern()'), but bypassing UTF string validity check. Begin
// matching at the optionally specified 'subjectOffset' in 'subject'.
// If 'subjectOffset' is not specified, then begin matching from the
// start of 'subject'. On success, load the specified 'result' with
// respectively the '(offset, length)' pair or 'bslstl::StringRef'
// indicating the leftmost match of 'pattern()', and return 0.
// Otherwise, return a non-zero value with no effect on 'result'. The
// return value is 1 if the failure is caused by exceeding the depth
// limit, and 2 if memory available for the JIT stack is not large
// enough (applicable only if 'pattern()' was prepared with
// 'k_FLAG_JIT'). The behavior is undefined unless
// 'isPrepared() == true', 'subject || subjectLength == 0', and
// 'subjectOffset <= subjectLength'. The behavior is also undefined if
// 'pattern()' was prepared with 'k_FLAG_UTF8', but 'subject' is not
// valid UTF-8. Note that 'subject' need not be null-terminated and
// may contain embedded null characters.
int matchRaw(bsl::vector<bsl::pair<size_t, size_t> > *result,
const char *subject,
size_t subjectLength,
size_t subjectOffset = 0)
const;
int matchRaw(bsl::vector<bslstl::StringRef> *result,
const char *subject,
size_t subjectLength,
size_t subjectOffset = 0) const;
// Match the specified 'subject', having the specified 'subjectLength',
// against the pattern held by this regular-expression object
// ('pattern()'), but bypassing UTF string validity check. Begin
// matching at the optionally specified 'subjectOffset' in 'subject'.
// If 'subjectOffset' is not specified, then begin matching from the
// start of 'subject'. On success, (1) load the first element of the
// specified 'result' with respectively '(offset, length)' pair or
// 'bslstl::StringRef' indicating the leftmost match of 'pattern()',
// (2) load elements of 'result' in the range
// '[ 1 .. numSubpatterns() ]' with the pairs ('bslstl::StringRef')
// indicating the respective matches of sub-patterns (unmatched
// sub-patterns have their respective 'result' elements loaded with
// either the '(k_INVALID_OFFSET, 0)' pair or an empty 'StringRef';
// sub-patterns matching multiple times have their respective 'result'
// elements loaded with the pairs indicating the rightmost match), and
// (3) return 0. Otherwise, return a non-zero value with no effect on
// 'result'. The return value is 1 if the failure is caused by
// exceeding the depth limit, and 2 if memory available for the JIT
// stack is not large enough (applicable only if 'pattern()' was
// prepared with 'k_FLAG_JIT'). The behavior is undefined unless
// 'isPrepared() == true', 'subject || subjectLength == 0', and
// 'subjectOffset <= subjectLength'. The behavior is also undefined if
// 'pattern()' was prepared with 'k_FLAG_UTF8', but 'subject' is not
// valid UTF-8. Note that 'subject' need not be null-terminated and
// may contain embedded null characters. Also note that after a
// successful call, 'result' will contain exactly 'numSubpatterns() +
// 1' elements.
int numSubpatterns() const;
// Return the number of sub-patterns in the pattern held by this
// regular-expression object ('pattern()'). The behavior is undefined
// unless 'isPrepared() == true'.
const bsl::string& pattern() const;
// Return a reference to the non-modifiable pattern held by this
// regular-expression object. The behavior is undefined unless
// 'isPrepared() == true'.
int subpatternIndex(const char *name) const;
// Return the 1-based index of the sub-pattern having the specified
// 'name' in the pattern held by this regular-expression object
// ('pattern()'); return -1 if 'pattern()' does not contain a
// sub-pattern identified by 'name'. The behavior is undefined unless
// 'isPrepared() == true'. Note that the returned value is intended to
// be used as an index into the 'bsl::vector<bsl::pair<int, int> >'
// returned by 'match'.
};
// ============================================================================
// INLINE DEFINITIONS
// ============================================================================
// -----------
// class RegEx
// -----------
// CLASS METHODS
inline
int RegEx::defaultDepthLimit()
{
return bsls::AtomicOperations::getIntRelaxed(&s_depthLimit);
}
inline
int RegEx::setDefaultDepthLimit(int depthLimit)
{
int previous = defaultDepthLimit();
bsls::AtomicOperations::setIntRelaxed(&s_depthLimit, depthLimit);
return previous;
}
// CREATORS
inline
RegEx::~RegEx()
{
clear();
pcre2_compile_context_free(d_compileContext_p);
pcre2_general_context_free(d_pcre2Context_p);
}
// ACCESSORS
inline
int RegEx::depthLimit() const
{
return d_depthLimit;
}
inline
int RegEx::flags() const
{
return d_flags;
}
inline
bool RegEx::isPrepared() const
{
return (0 != d_patternCode_p);
}
inline
size_t RegEx::jitStackSize() const
{
return d_jitStackSize;
}
inline
const bsl::string& RegEx::pattern() const
{
return d_pattern;
}
} // close package namespace
} // close enterprise namespace
#endif
// ----------------------------------------------------------------------------
// Copyright 2016 Bloomberg Finance L.P.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------- END-OF-FILE ----------------------------------
| {
"content_hash": "76da09c5a1092b19408f858efc207b06",
"timestamp": "",
"source": "github",
"line_count": 1056,
"max_line_length": 79,
"avg_line_length": 49.359848484848484,
"alnum_prop": 0.6224963548461362,
"repo_name": "che2/bde",
"id": "d01d2264ee04723e4a531b75fb0d41ac306e78fe",
"size": "52291",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "groups/bdl/bdlpcre/bdlpcre_regex.h",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "153030"
},
{
"name": "C++",
"bytes": "95839894"
},
{
"name": "Perl",
"bytes": "2008"
},
{
"name": "Python",
"bytes": "920"
}
],
"symlink_target": ""
} |
package skinny.exception
/**
* Represents that route's metadata is invalid.
*
* @param message message
* @param cause cause
*/
case class RouteMetadataException(message: String, cause: Throwable = null)
extends RuntimeException(message, cause)
| {
"content_hash": "a43adf89156aad7a456dc3b7bbde7ddc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 75,
"avg_line_length": 25.2,
"alnum_prop": 0.753968253968254,
"repo_name": "holycattle/skinny-framework",
"id": "e60de6ebd3e9dbb4faec399826a4a6998f1a321f",
"size": "252",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "framework/src/main/scala/skinny/exception/RouteMetadataException.scala",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "13301"
},
{
"name": "CSS",
"bytes": "1095"
},
{
"name": "CoffeeScript",
"bytes": "781"
},
{
"name": "HTML",
"bytes": "25208"
},
{
"name": "Java",
"bytes": "117679"
},
{
"name": "JavaScript",
"bytes": "554451"
},
{
"name": "Scala",
"bytes": "1887761"
},
{
"name": "Shell",
"bytes": "21034"
},
{
"name": "TypeScript",
"bytes": "124"
}
],
"symlink_target": ""
} |
'use strict';
// Module dependencies.
const mongoose = require('mongoose');
const User = mongoose.models.User;
const Constants = require('../library').Constants;
const Util = require('../library').Util;
const debug = require('debug')('Tools:Seed');
const API = {};
API.Run = async () => {
Util.PrintTitle('Running CreateOwnerUser ...');
return API.CreateOwnerUser().then(x => {
return 'Created Owner with email ' + x.email;
});
};
API.CreateOwnerUser = async () => {
debug('Creating Owner User');
const usr = new User({
email: 'admin@<%= hostUrl%>',
password: '@abcd1234',
profile: {
firstName: 'Admin',
lastName: '<%= capName %>'
},
role: Constants.UserRole.Owner
});
return usr.save();
};
module.exports = API;
| {
"content_hash": "1f94ae7cd88f4a70e5b82cb13fd6390a",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 50,
"avg_line_length": 22,
"alnum_prop": 0.6207792207792208,
"repo_name": "vikz91/generator-restgoose",
"id": "bf88956a20bb866f57c34c673dd9cc371367c540",
"size": "770",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "generators/app/templates/tools/createowner.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "2253"
},
{
"name": "Dockerfile",
"bytes": "485"
},
{
"name": "HTML",
"bytes": "12048"
},
{
"name": "JavaScript",
"bytes": "130535"
},
{
"name": "Shell",
"bytes": "1881"
}
],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>ErrorHandler.UnknownServerException</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ErrorHandler.UnknownServerException";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/openqa/selenium/remote/ErrorHandler.html" title="class in org.openqa.selenium.remote"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/openqa/selenium/remote/ExecuteMethod.html" title="interface in org.openqa.selenium.remote"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/openqa/selenium/remote/ErrorHandler.UnknownServerException.html" target="_top">Frames</a></li>
<li><a href="ErrorHandler.UnknownServerException.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#fields_inherited_from_class_org.openqa.selenium.WebDriverException">Field</a> | </li>
<li>Constr | </li>
<li><a href="#methods_inherited_from_class_org.openqa.selenium.WebDriverException">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li>Constr | </li>
<li>Method</li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.openqa.selenium.remote</div>
<h2 title="Class ErrorHandler.UnknownServerException" class="title">Class ErrorHandler.UnknownServerException</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Throwable</li>
<li>
<ul class="inheritance">
<li>java.lang.Exception</li>
<li>
<ul class="inheritance">
<li>java.lang.RuntimeException</li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/openqa/selenium/WebDriverException.html" title="class in org.openqa.selenium">org.openqa.selenium.WebDriverException</a></li>
<li>
<ul class="inheritance">
<li>org.openqa.selenium.remote.ErrorHandler.UnknownServerException</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable</dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../../org/openqa/selenium/remote/ErrorHandler.html" title="class in org.openqa.selenium.remote">ErrorHandler</a></dd>
</dl>
<hr>
<br>
<pre>public static class <span class="strong">ErrorHandler.UnknownServerException</span>
extends <a href="../../../../org/openqa/selenium/WebDriverException.html" title="class in org.openqa.selenium">WebDriverException</a></pre>
<div class="block">Exception used as a place holder if the server returns an error without a stack trace.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#org.openqa.selenium.remote.ErrorHandler.UnknownServerException">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.openqa.selenium.WebDriverException">
<!-- -->
</a>
<h3>Fields inherited from class org.openqa.selenium.<a href="../../../../org/openqa/selenium/WebDriverException.html" title="class in org.openqa.selenium">WebDriverException</a></h3>
<code><a href="../../../../org/openqa/selenium/WebDriverException.html#DRIVER_INFO">DRIVER_INFO</a>, <a href="../../../../org/openqa/selenium/WebDriverException.html#SESSION_ID">SESSION_ID</a></code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.openqa.selenium.WebDriverException">
<!-- -->
</a>
<h3>Methods inherited from class org.openqa.selenium.<a href="../../../../org/openqa/selenium/WebDriverException.html" title="class in org.openqa.selenium">WebDriverException</a></h3>
<code><a href="../../../../org/openqa/selenium/WebDriverException.html#addInfo(java.lang.String, java.lang.String)">addInfo</a>, <a href="../../../../org/openqa/selenium/WebDriverException.html#getBuildInformation()">getBuildInformation</a>, <a href="../../../../org/openqa/selenium/WebDriverException.html#getDriverInformation()">getDriverInformation</a>, <a href="../../../../org/openqa/selenium/WebDriverException.html#getDriverName(java.lang.StackTraceElement[])">getDriverName</a>, <a href="../../../../org/openqa/selenium/WebDriverException.html#getMessage()">getMessage</a>, <a href="../../../../org/openqa/selenium/WebDriverException.html#getSupportUrl()">getSupportUrl</a>, <a href="../../../../org/openqa/selenium/WebDriverException.html#getSystemInformation()">getSystemInformation</a>, <a href="../../../../org/openqa/selenium/WebDriverException.html#setSessionId(java.lang.String)">setSessionId</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Throwable">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Throwable</h3>
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/openqa/selenium/remote/ErrorHandler.html" title="class in org.openqa.selenium.remote"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/openqa/selenium/remote/ExecuteMethod.html" title="interface in org.openqa.selenium.remote"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/openqa/selenium/remote/ErrorHandler.UnknownServerException.html" target="_top">Frames</a></li>
<li><a href="ErrorHandler.UnknownServerException.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#fields_inherited_from_class_org.openqa.selenium.WebDriverException">Field</a> | </li>
<li>Constr | </li>
<li><a href="#methods_inherited_from_class_org.openqa.selenium.WebDriverException">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li>Constr | </li>
<li>Method</li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
| {
"content_hash": "40eac83f8e80ae0029913f080b44bf6d",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 923,
"avg_line_length": 39.991769547325106,
"alnum_prop": 0.6624819921794608,
"repo_name": "krosenvold/selenium-git-release-candidate",
"id": "b056889f243a5182ef4c5b8cf174cb4e2f0acc74",
"size": "9718",
"binary": false,
"copies": "4",
"ref": "refs/heads/master",
"path": "docs/api/java/org/openqa/selenium/remote/ErrorHandler.UnknownServerException.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "ASP",
"bytes": "22777"
},
{
"name": "C",
"bytes": "314870"
},
{
"name": "C#",
"bytes": "2203951"
},
{
"name": "C++",
"bytes": "1518448"
},
{
"name": "Java",
"bytes": "7955275"
},
{
"name": "JavaScript",
"bytes": "14251736"
},
{
"name": "Objective-C",
"bytes": "1207597"
},
{
"name": "Python",
"bytes": "656045"
},
{
"name": "Ruby",
"bytes": "768789"
},
{
"name": "Shell",
"bytes": "8624"
}
],
"symlink_target": ""
} |
MathJax.Localization.addTranslation("en","MathML",{
version: "2.7.1",
isLoaded: true,
strings: {
BadMglyph: "Bad mglyph: %1",
BadMglyphFont: "Bad font: %1",
MathPlayer: "MathJax was not able to set up MathPlayer.\n\nIf MathPlayer is not installed, you need to install it first.\nOtherwise, your security settings may be preventing ActiveX\ncontrols from running. Use the Internet Options item under\nthe Tools menu and select the Security tab, then press the\nCustom Level button. Check that the settings for\n'Run ActiveX Controls', and 'Binary and script behaviors'\nare enabled.\n\nCurrently you will see error messages rather than\ntypeset mathematics",
CantCreateXMLParser: "MathJax cannot create an XML parser for MathML. Check that\nthe 'Script ActiveX controls marked safe for scripting' security\nsetting is enabled (use the Internet Options item in the Tools\nmenu, and select the Security panel, then press the Custom Level\nbutton to check this).\n\nMathML equations will not be able to be processed by MathJax",
UnknownNodeType: "Unknown node type: %1",
UnexpectedTextNode: "Unexpected text node: %1",
ErrorParsingMathML: "Error parsing MathML",
ParsingError: "Error parsing MathML: %1",
MathMLSingleElement: "MathML must be formed by a single element",
MathMLRootElement: "MathML must be formed by a \u003Cmath\u003E element, not %1"
}
});
MathJax.Ajax.loadComplete("[MathJax]/localization/en/MathML.js");
| {
"content_hash": "82ed92ac7dc7f422877ffd2713e3175c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 510,
"avg_line_length": 81.78947368421052,
"alnum_prop": 0.7181467181467182,
"repo_name": "rluo/rluo.github.io",
"id": "aee8df7de286fc7777485bc40f203f88ccd166a9",
"size": "2284",
"binary": false,
"copies": "13",
"ref": "refs/heads/master",
"path": "slides/bower_components/MathJax/unpacked/localization/en/MathML.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "788091"
},
{
"name": "HTML",
"bytes": "4331888"
},
{
"name": "JavaScript",
"bytes": "1829605"
},
{
"name": "Jupyter Notebook",
"bytes": "320557"
},
{
"name": "Less",
"bytes": "695"
},
{
"name": "Makefile",
"bytes": "734"
},
{
"name": "SCSS",
"bytes": "196697"
}
],
"symlink_target": ""
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InWorldz.PhysxPhysics
{
class CharacterRideOnBehavior : PhysX.ControllerBehaviorCallback
{
/// <summary>
/// The amount of time that a user must stay standing on top of an object before
/// </summary>
private const uint MIN_TIME_TO_STICK_TO_OBJECT = 1000;
private uint _timeBeganStandingOnPrim;
private PhysxPrim _standingOnPrim;
public void AvatarStandingOn(PhysxPrim prim)
{
if (_standingOnPrim != prim)
{
_timeBeganStandingOnPrim = (uint)Environment.TickCount;
_standingOnPrim = prim;
}
}
public void AvatarNotStandingOnPrim()
{
_standingOnPrim = null;
_timeBeganStandingOnPrim = 0;
}
internal void AvatarKicked(PhysxPrim physxPrim)
{
if (_standingOnPrim == physxPrim)
{
AvatarNotStandingOnPrim();
}
}
public override PhysX.ControllerBehaviorFlag GetBehaviorFlags(PhysX.Shape shape)
{
if (IsRideOnPrim(shape))
{
return PhysX.ControllerBehaviorFlag.CctCanRideOnObject;
}
else
{
return 0;
}
}
private bool IsRideOnPrim(PhysX.Shape shape)
{
if (_standingOnPrim == null)
{
return false;
}
PhysxPrim shapePrim = shape.Actor.UserData as PhysxPrim;
return IsRideOnPrim(shapePrim);
}
public bool IsRideOnPrim(PhysxPrim shapePrim)
{
if (shapePrim == _standingOnPrim && (uint)Environment.TickCount - _timeBeganStandingOnPrim > MIN_TIME_TO_STICK_TO_OBJECT)
{
return true;
}
return false;
}
public override PhysX.ControllerBehaviorFlag GetBehaviorFlags(PhysX.Controller controller)
{
return 0;
}
}
}
| {
"content_hash": "400f4619ece43765bc12593c9e6258b2",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 133,
"avg_line_length": 25.963414634146343,
"alnum_prop": 0.5486143729450447,
"repo_name": "emperorstarfinder/halcyon",
"id": "94d3ea0d1315b2b4ad5168bf610d0087e3414577",
"size": "3724",
"binary": false,
"copies": "7",
"ref": "refs/heads/master",
"path": "InWorldz/InWorldz.PhysxPhysics/CharacterRideOnBehavior.cs",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "Batchfile",
"bytes": "531"
},
{
"name": "C",
"bytes": "1118"
},
{
"name": "C#",
"bytes": "12484778"
},
{
"name": "C++",
"bytes": "7190"
},
{
"name": "JavaScript",
"bytes": "556"
},
{
"name": "LSL",
"bytes": "40942"
},
{
"name": "PHP",
"bytes": "1640"
},
{
"name": "PLpgSQL",
"bytes": "38499"
},
{
"name": "PowerShell",
"bytes": "95"
},
{
"name": "Python",
"bytes": "9386"
},
{
"name": "Shell",
"bytes": "178"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="UTF-8"?>
<billStatus>
<bill>
<actions>
<actionByCounts>
<houseOfRepresentatives>3</houseOfRepresentatives>
</actionByCounts>
<item>
<type>IntroReferral</type>
<links />
<text>Referred to the House Committee on Energy and Commerce.</text>
<sourceSystem>
<name>House floor actions</name>
<code>2</code>
</sourceSystem>
<committee>
<name>Energy and Commerce Committee</name>
<systemCode>hsif00</systemCode>
</committee>
<actionCode>H11100</actionCode>
<actionDate>2017-07-18</actionDate>
</item>
<item>
<type>IntroReferral</type>
<links />
<text>Introduced in House</text>
<sourceSystem>
<name>Library of Congress</name>
<code>9</code>
</sourceSystem>
<committee />
<actionCode>Intro-H</actionCode>
<actionDate>2017-07-18</actionDate>
</item>
<item>
<type>IntroReferral</type>
<links />
<text>Introduced in House</text>
<sourceSystem>
<name>Library of Congress</name>
<code>9</code>
</sourceSystem>
<committee />
<actionCode>1000</actionCode>
<actionDate>2017-07-18</actionDate>
</item>
<actionTypeCounts>
<introducedInHouse>1</introducedInHouse>
<billReferrals>1</billReferrals>
<introducedInTheHouse>1</introducedInTheHouse>
</actionTypeCounts>
</actions>
<relatedBills />
<sponsors>
<item>
<fullName>Rep. Ryan, Tim [D-OH-13]</fullName>
<state>OH</state>
<firstName>TIM</firstName>
<middleName />
<party>D</party>
<district>13</district>
<byRequestType />
<identifiers>
<bioguideId>R000577</bioguideId>
<lisID>1756</lisID>
<gpoId>8107</gpoId>
</identifiers>
<bioguideId>R000577</bioguideId>
<lastName>RYAN</lastName>
</item>
</sponsors>
<summaries>
<billSummaries />
</summaries>
<version>1.0.0</version>
<originChamber>House</originChamber>
<notes />
<laws />
<createDate>2017-07-19T03:11:33Z</createDate>
<cboCostEstimates />
<policyArea>
<name>Health</name>
</policyArea>
<constitutionalAuthorityStatementText><![CDATA[<pre>From the Congressional Record Online through the Government Publishing Office [<a href='http://www.gpo.gov'>www.gpo.gov</a>]By Mr. RYAN of Ohio:H.R. 3291.Congress has the power to enact this legislation pursuantto the following:Article I, Section 8: To make all Laws which shall benecessary and proper for carrying into Execution theforegoing Powers, and all other Powers vested by thisConstitution in the Government of the United States, or inany Department or Officer thereof.[Page H5978]</pre>]]></constitutionalAuthorityStatementText>
<cosponsors>
<item>
<sponsorshipWithdrawnDate />
<district>3</district>
<identifiers>
<bioguideId>L000570</bioguideId>
<gpoId>8058</gpoId>
<lisID>1939</lisID>
</identifiers>
<isOriginalCosponsor>True</isOriginalCosponsor>
<middleName>Ray</middleName>
<bioguideId>L000570</bioguideId>
<fullName>Rep. Lujan, Ben Ray [D-NM-3]</fullName>
<state>NM</state>
<party>D</party>
<lastName>Lujan</lastName>
<firstName>Ben</firstName>
<sponsorshipDate>2017-07-18</sponsorshipDate>
</item>
</cosponsors>
<titles>
<item>
<chamberName />
<parentTitleType />
<titleType>Short Titles as Introduced</titleType>
<title>Alleviating Adverse Childhood Experiences Act</title>
<chamberCode />
</item>
<item>
<chamberName />
<parentTitleType />
<titleType>Official Title as Introduced</titleType>
<title>To amend title XIX of the Social Security Act to provide for a State option to provide for maternal, infant, and early childhood home visiting programs, and for other purposes.</title>
<chamberCode />
</item>
<item>
<chamberName />
<parentTitleType />
<titleType>Display Title</titleType>
<title>Alleviating Adverse Childhood Experiences Act</title>
<chamberCode />
</item>
<item>
<chamberName />
<parentTitleType />
<titleType>(Extracted from GPO) Short Titles as Introduced</titleType>
<title>Alleviating Adverse Childhood Experiences Act</title>
<chamberCode />
</item>
</titles>
<updateDate>2017-09-11T02:55:04Z</updateDate>
<subjects>
<billSubjects>
<legislativeSubjects />
<policyArea>
<name>Health</name>
</policyArea>
</billSubjects>
</subjects>
<recordedVotes />
<billNumber>3291</billNumber>
<committeeReports />
<amendments />
<title>Alleviating Adverse Childhood Experiences Act</title>
<introducedDate>2017-07-18</introducedDate>
<billType>HR</billType>
<committees>
<billCommittees>
<item>
<chamber>House</chamber>
<name>Energy and Commerce Committee</name>
<systemCode>hsif00</systemCode>
<subcommittees />
<activities>
<item>
<date>2017-07-18T14:01:20Z</date>
<name>Referred to</name>
</item>
</activities>
<type>Standing</type>
</item>
</billCommittees>
</committees>
<calendarNumbers />
<congress>115</congress>
<latestAction>
<text>Referred to the House Committee on Energy and Commerce.</text>
<actionDate>2017-07-18</actionDate>
<links />
</latestAction>
</bill>
<dublinCore xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:format>text/xml</dc:format>
<dc:language>EN</dc:language>
<dc:rights>Pursuant to Title 17 Section 105 of the United States Code, this file is not subject to copyright protection and is in the public domain.</dc:rights>
<dc:contributor>Congressional Research Service, Library of Congress</dc:contributor>
<dc:description>This file contains bill summaries and statuses for federal legislation. A bill summary describes the most significant provisions of a piece of legislation and details the effects the legislative text may have on current law and federal programs. Bill summaries are authored by the Congressional Research Service (CRS) of the Library of Congress. As stated in Public Law 91-510 (2 USC 166 (d)(6)), one of the duties of CRS is "to prepare summaries and digests of bills and resolutions of a public general nature introduced in the Senate or House of Representatives". For more information, refer to the User Guide that accompanies this file.</dc:description>
</dublinCore>
</billStatus>
| {
"content_hash": "3646aa12a0ab3fc73ea02f559d25a353",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 676,
"avg_line_length": 37.93478260869565,
"alnum_prop": 0.6296561604584527,
"repo_name": "peter765/power-polls",
"id": "ed8388a6e91fc87032436fc1709114da648126c6",
"size": "6980",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "db/bills/hr/hr3291/fdsys_billstatus.xml",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "58567"
},
{
"name": "JavaScript",
"bytes": "7370"
},
{
"name": "Python",
"bytes": "22988"
}
],
"symlink_target": ""
} |
<?php
# Copyright 2013 Mike Thorn (github: WasabiVengeance). All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
class bsc_widget_control_label extends bsc_widget
{
function init()
{
$this->option_order = array('label','for');
$this->options['tag'] = 'label';
$this->class('control-label');
$this->options['for'] = '';
$this->options['label'] = '';
}
function render_start($data = array())
{
$html = '<label'.$this->get_attributes();
if($this->options['for'] != '')
{
$html .= ' for="'.$this->options['for'].'"';
}
$html .= '>'.$this->options['label'].'</label>';
return $html;
}
}
?> | {
"content_hash": "adfd2b9faeecabe2ca0b9f456452c879",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 21.272727272727273,
"alnum_prop": 0.5954415954415955,
"repo_name": "Dev-Lucid/BootstrapConstructor",
"id": "fb0859cc425305be412a8caebf2238a8d1ee36d3",
"size": "702",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/php/widgets/control_label.php",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "CSS",
"bytes": "4226"
},
{
"name": "JavaScript",
"bytes": "9551"
},
{
"name": "PHP",
"bytes": "99465"
}
],
"symlink_target": ""
} |
'use strict';
require('../common');
const assert = require('assert');
const vm = require('vm');
const { Worker, isMainThread } = require('worker_threads');
assert(Object.prototype.hasOwnProperty('__proto__'));
assert.throws(() => {
// eslint-disable-next-line no-proto
({}).__proto__;
}, {
code: 'ERR_PROTO_ACCESS'
});
assert.throws(() => {
// eslint-disable-next-line no-proto
({}).__proto__ = {};
}, {
code: 'ERR_PROTO_ACCESS',
});
const ctx = vm.createContext();
assert.throws(() => {
vm.runInContext('({}).__proto__;', ctx);
}, {
code: 'ERR_PROTO_ACCESS'
});
assert.throws(() => {
vm.runInContext('({}).__proto__ = {};', ctx);
}, {
code: 'ERR_PROTO_ACCESS',
});
if (isMainThread) {
new Worker(__filename);
} else {
process.exit();
}
| {
"content_hash": "ff9734e2a7d8fa8e8fdca895fff9bcad",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 59,
"avg_line_length": 18.30952380952381,
"alnum_prop": 0.577373211963589,
"repo_name": "enclose-io/compiler",
"id": "e7a1f679765235fac2d0b2265ca1b24e37f04e11",
"size": "802",
"binary": false,
"copies": "4",
"ref": "refs/heads/master",
"path": "current/test/parallel/test-disable-proto-throw.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Ruby",
"bytes": "11474"
},
{
"name": "Shell",
"bytes": "131"
}
],
"symlink_target": ""
} |
namespace doris {
class VectorizedRowBatch;
class NullPredicate : public ColumnPredicate {
public:
NullPredicate(int32_t column_id, bool is_null);
virtual ~NullPredicate();
virtual void evaluate(VectorizedRowBatch* batch) const override;
private:
int32_t _column_id;
bool _is_null; //true for null, false for not null
};
} //namespace doris
#endif //DORIS_BE_SRC_OLAP_NULL_PREDICATE_H
| {
"content_hash": "9ad8af55612c0efe53a73180259a2e5a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 68,
"avg_line_length": 22.77777777777778,
"alnum_prop": 0.7268292682926829,
"repo_name": "imay/palo",
"id": "152d945cf4226e5ec4654b984aabb789823fa566",
"size": "1355",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "be/src/olap/null_predicate.h",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "439083"
},
{
"name": "C++",
"bytes": "9302365"
},
{
"name": "CMake",
"bytes": "59781"
},
{
"name": "CSS",
"bytes": "3843"
},
{
"name": "Java",
"bytes": "6067362"
},
{
"name": "JavaScript",
"bytes": "383133"
},
{
"name": "Lex",
"bytes": "28991"
},
{
"name": "Makefile",
"bytes": "9065"
},
{
"name": "Protocol Buffer",
"bytes": "6901"
},
{
"name": "Python",
"bytes": "124344"
},
{
"name": "Shell",
"bytes": "31602"
},
{
"name": "Thrift",
"bytes": "168000"
},
{
"name": "Yacc",
"bytes": "96795"
}
],
"symlink_target": ""
} |
<?php
namespace Bpaulin\UpfitBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class ObjectiveType extends AbstractType
{
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add(
'will',
'choice',
array(
'choices' => array(
-1 => "None",
0 => "Normal",
1 => "Intense",
)
)
)
->add(
'muscle',
null,
array (
'property'=>'name',
'disabled'=>true
)
);
}
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
$resolver->setDefaults(
array(
'data_class' => 'Bpaulin\UpfitBundle\Entity\Objective'
)
);
}
public function getName()
{
return 'bpaulin_upfitbundle_objectivetype';
}
}
| {
"content_hash": "8dd01639147551fe07f1555e109bed12",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 76,
"avg_line_length": 24.607843137254903,
"alnum_prop": 0.4756972111553785,
"repo_name": "bpaulin/upfit",
"id": "bee12ab75309a3a7536a3d5ff3db3d92cd67fc95",
"size": "1255",
"binary": false,
"copies": "1",
"ref": "refs/heads/develop",
"path": "src/Bpaulin/UpfitBundle/Form/ObjectiveType.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "31288"
},
{
"name": "PHP",
"bytes": "213593"
},
{
"name": "Ruby",
"bytes": "1374"
},
{
"name": "Shell",
"bytes": "238"
}
],
"symlink_target": ""
} |
package com.github.ljtfreitas.restify.http.netflix.client.request.ribbon.async;
import java.net.URI;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import com.github.ljtfreitas.restify.http.client.request.async.AsyncHttpClientRequest;
import com.github.ljtfreitas.restify.http.client.request.async.AsyncHttpClientRequestFactory;
import com.github.ljtfreitas.restify.http.client.response.HttpClientResponse;
import com.github.ljtfreitas.restify.http.netflix.client.request.ribbon.RibbonExceptionHandler;
import com.github.ljtfreitas.restify.http.netflix.client.request.ribbon.RibbonLoadBalancedClient;
import com.github.ljtfreitas.restify.http.netflix.client.request.ribbon.RibbonRequest;
import com.github.ljtfreitas.restify.http.netflix.client.request.ribbon.RibbonResponse;
import com.github.ljtfreitas.restify.http.netflix.client.request.ribbon.SimpleRibbonExceptionHandler;
import com.netflix.client.ClientException;
import com.netflix.client.RetryHandler;
import com.netflix.client.config.IClientConfig;
import com.netflix.loadbalancer.ILoadBalancer;
import com.netflix.loadbalancer.LoadBalancerContext;
import com.netflix.loadbalancer.Server;
import com.netflix.loadbalancer.reactive.LoadBalancerCommand;
import com.netflix.loadbalancer.reactive.ServerOperation;
import rx.Observable;
public class AsyncRibbonLoadBalancedClient implements RibbonLoadBalancedClient {
private final LoadBalancerContext loadBalancerContext;
private final AsyncHttpClientRequestFactory asyncHttpClientRequestFactory;
private final RibbonExceptionHandler ribbonExceptionHandler;
public AsyncRibbonLoadBalancedClient(ILoadBalancer loadBalancer, IClientConfig clientConfig,
AsyncHttpClientRequestFactory asyncHttpClientRequestFactory) {
this(loadBalancer, clientConfig, asyncHttpClientRequestFactory, new SimpleRibbonExceptionHandler());
}
public AsyncRibbonLoadBalancedClient(ILoadBalancer loadBalancer, IClientConfig clientConfig,
AsyncHttpClientRequestFactory asyncHttpClientRequestFactory, RibbonExceptionHandler ribbonExceptionHandler) {
this(new LoadBalancerContext(loadBalancer, clientConfig), asyncHttpClientRequestFactory, ribbonExceptionHandler);
}
public AsyncRibbonLoadBalancedClient(LoadBalancerContext loadBalancerContext, AsyncHttpClientRequestFactory asyncHttpClientRequestFactory,
RibbonExceptionHandler ribbonExceptionHandler) {
this.loadBalancerContext = loadBalancerContext;
this.asyncHttpClientRequestFactory = asyncHttpClientRequestFactory;
this.ribbonExceptionHandler = ribbonExceptionHandler;
}
@Override
public RibbonResponse withLoadBalancer(RibbonRequest request) throws ClientException {
return doExecuteAsync(request).toCompletableFuture().join();
}
public CompletionStage<RibbonResponse> executeAsync(RibbonRequest request) {
return doExecuteAsync(request);
}
private CompletionStage<RibbonResponse> doExecuteAsync(RibbonRequest request) {
LoadBalancerCommand<RibbonResponse> command = LoadBalancerCommand.<RibbonResponse> builder()
.withLoadBalancerContext(loadBalancerContext)
.withRetryHandler(retryHandler())
.withLoadBalancerURI(request.getUri()).build();
CompletableFuture<RibbonResponse> future = new CompletableFuture<>();
command.submit(new LoadBalancedRequest(request))
.doOnError(future::completeExceptionally)
.single()
.forEach(future::complete);
return future;
}
private RetryHandler retryHandler() {
return null;
}
private class LoadBalancedRequest implements ServerOperation<RibbonResponse> {
private final RibbonRequest request;
private LoadBalancedRequest(RibbonRequest request) {
this.request = request;
}
@Override
public Observable<RibbonResponse> call(Server server) {
URI finalUri = loadBalancerContext.reconstructURIWithServer(server, request.getUri());
RibbonRequest newRequest = request.replaceUri(finalUri);
AsyncHttpClientRequest asyncRibbonHttpRequestMessage = asyncHttpClientRequestFactory
.createAsyncOf(newRequest.endpointRequest());
request.writeTo(asyncRibbonHttpRequestMessage);
CompletionStage<HttpClientResponse> httpClientResponseAsFuture = asyncRibbonHttpRequestMessage.executeAsync();
return Observable.from(httpClientResponseAsFuture.toCompletableFuture()).map(RibbonResponse::new).onErrorResumeNext(this::onError);
}
private Observable<RibbonResponse> onError(Throwable e) {
ribbonExceptionHandler.onException(request, e);
return e.getCause() instanceof ClientException ?
Observable.error((ClientException) e.getCause()) :
Observable.error(new ClientException(e));
}
}
}
| {
"content_hash": "9f535c59b7e9b4d187043e0be7d22c69",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 139,
"avg_line_length": 42.870370370370374,
"alnum_prop": 0.8367170626349892,
"repo_name": "ljtfreitas/java-restify",
"id": "3575f4fc4eda69f3482be35c22963b152813b921",
"size": "5935",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "java-restify-netflix-ribbon/src/main/java/com/github/ljtfreitas/restify/http/netflix/client/request/ribbon/async/AsyncRibbonLoadBalancedClient.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "3295925"
}
],
"symlink_target": ""
} |
/* Example for use of GNU gettext.
This file is in the public domain.
Source code of the AppController class. */
#include "AppController.h"
#include "Hello.h"
@implementation AppController
static NSDictionary *infoDict = nil;
+ (void)initialize
{
NSMutableDictionary *defaults = [NSMutableDictionary dictionary];
[[NSUserDefaults standardUserDefaults] registerDefaults: defaults];
[[NSUserDefaults standardUserDefaults] synchronize];
}
- (id)init
{
self = [super init];
return self;
}
- (void)dealloc
{
if (hello)
RELEASE (hello);
[super dealloc];
}
- (void)awakeFromNib
{
}
- (void)applicationDidFinishLaunching:(NSNotification *)notif
{
}
- (BOOL)applicationShouldTerminate:(id)sender
{
return YES;
}
- (void)applicationWillTerminate:(NSNotification *)notification
{
}
- (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName
{
}
- (void)showPrefPanel:(id)sender
{
}
- (void)showInfoPanel:(id)sender
{
if (!infoDict)
{
NSString *fp;
NSBundle *bundle = [NSBundle mainBundle];
fp = [bundle pathForResource: @"Info-project" ofType: @"plist"];
infoDict = [[NSDictionary dictionaryWithContentsOfFile: fp] retain];
}
[[NSApplication sharedApplication] orderFrontStandardInfoPanelWithOptions: infoDict];
}
- (void)showHelloWindow:(id)sender
{
if (!hello)
hello = [[Hello alloc] init];
[hello makeKeyAndOrderFront];
}
@end
| {
"content_hash": "235b61041168071b9bb3a2cfca2b37a2",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 87,
"avg_line_length": 17.65432098765432,
"alnum_prop": 0.706993006993007,
"repo_name": "BenKeyFSI/poedit",
"id": "96475cd38b7623a74be5005a3b4dbab2f8b6c829",
"size": "1430",
"binary": false,
"copies": "46",
"ref": "refs/heads/master",
"path": "deps/gettext/gettext-tools/examples/hello-objc-gnustep/AppController.m",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "24827"
},
{
"name": "C++",
"bytes": "913779"
},
{
"name": "Inno Setup",
"bytes": "11293"
},
{
"name": "Makefile",
"bytes": "9174"
},
{
"name": "Objective-C",
"bytes": "4693"
},
{
"name": "Objective-C++",
"bytes": "15875"
},
{
"name": "Python",
"bytes": "3040"
},
{
"name": "Ruby",
"bytes": "232"
},
{
"name": "Shell",
"bytes": "10607"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingStart="20dp"
android:paddingTop="12dp"
android:paddingEnd="20dp">
<ListView xmlns:tools="http://schemas.android.com/tools"
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:choiceMode="singleChoice"
tools:listitem="@android:layout/simple_list_item_single_choice" />
<CheckBox
android:id="@+id/cbConfig"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:checked="true"
android:text="@string/action_settings" />
<CheckBox
android:id="@+id/cbKeyboard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/PREF_VIRTUAL_KEYBOARD_OPTIONS" />
</LinearLayout> | {
"content_hash": "c1b459e5b091dc07aab2fa94fcd96fc5",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 74,
"avg_line_length": 36.3125,
"alnum_prop": 0.6635111876075731,
"repo_name": "nikita36078/J2ME-Loader",
"id": "d98edcacdb2f5715d061f2843e6ccc613c612b30",
"size": "1162",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/src/main/res/layout/dialog_load_profile.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "1300517"
},
{
"name": "C++",
"bytes": "18134"
},
{
"name": "GLSL",
"bytes": "4901"
},
{
"name": "HTML",
"bytes": "4536"
},
{
"name": "Java",
"bytes": "4440747"
},
{
"name": "Makefile",
"bytes": "1041"
}
],
"symlink_target": ""
} |
/*fonts*/
@font-face {
font-family: 'DroidSansRegular';
src: url('fonts/DroidSans-webfont.eot?') format('eot'),
url('fonts/DroidSans-webfont.woff') format('woff'),
url('fonts/DroidSans-webfont.ttf') format('truetype'),
url('fonts/DroidSans-webfont.svg#webfont6rGBoMAO') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'DroidSansBold';
src: url('fonts/DroidSans-Bold-webfont.eot?') format('eot'),
url('fonts/DroidSans-Bold-webfont.woff') format('woff'),
url('fonts/DroidSans-Bold-webfont.ttf') format('truetype'),
url('fonts/DroidSans-Bold-webfont.svg#webfontSruMVOI5') format('svg');
font-weight: normal;
font-style: normal;
}
/*----------------------------Main Structure starts---------------------------------------*/
body {
background: #0f1c25 url(../images/bg-image.png) repeat-x left top;
font-family: 'DroidSansRegular', Arial, sans-serif;
font-size: 13px;
color: #cfd2d3;
}
.bodyLoginBg {
background: #0f1c25 url(../images/bg-imageLogin.png) repeat-x left top
!important;
font-family: 'DroidSansRegular', Arial, sans-serif;
font-size: 13px;
color: #cfd2d3;
}
.header {
height: 49px;
float: left;
width: 100%
}
.headerTopLinksMaster {
height: 25px;
}
.headerTopLinks {
color: #808080;
padding: 6px 7px 5px 7px;
}
.welcomeLabelPRZero {
padding-right: 0px !important
}
.font-size12 {
font-size: 12px;
}
.headerTopSeperator {
color: #4d4d4d;
height: 25px;
width: 1px;
background: url(../images/seperator.png) no-repeat center center
}
/*about */
.aboutClicked-Off {
cursor: pointer;
display: block;
}
.aboutClicked-On {
background: #506d94;
color: #dce2ea !important
}
.aboutBlock {
background: #202e3d;
position: absolute;
right: 0px;
top: 25px;
border: 1px solid #546579;
z-index: 999;
width: 610px;
padding: 20px;
box-shadow: #1a222e 0px 3px 2px;
}
.aboutDetailsBlock {
width: 610px;
float: left
}
.marginBottom30 {
margin-bottom: 30px;
}
.aboutVersionBlock {
color: #899095;
padding-left: 23px;
font-size: 11px;
}
.aboutVersionBlock a {
color: #899095;
text-decoration: underline
}
.aboutText {
width: 405px;
color: #899095;
line-height: 20px;
}
.copyright {
color: #636c78;
font-size: 12px;
padding-bottom: 8px;
}
.termsBlock {
color: #818891;
font-size: 12px;
}
.termsBlock a {
color: #818891;
text-decoration: underline
}
.termsBlockLink {
color: #818891;
text-decoration: underline;
font-size: 12px;
}
.termsBlockLink:hover {
color: #818891;
}
#canvasWidth {
margin: 0px auto;
width: 1258px
}
#loginWidth {
margin: 0px auto;
width: 1000px
}
#dataView {
margin: 0px auto;
width: 1000px
}
.textbold {
font-family: /*'DroidSansBold',*/ Arial, sans-serif;
font-weight: bold
}
/* version details*/
.versionDetailsOuterBlock {
background: #202e3d;
position: absolute;
right: 90px;
top: 150px;
border: 1px solid #546579;
z-index: 9999;
width: 400px;
padding: 20px;
box-shadow: #1a222e 0px 3px 2px;
}
.versionDetailsBlock {
width: 400px;
float: left;
color: #899095;
line-height: 20px;
}
/*---------------------------- Main Structure ends---------------------------------------*/
/*----------------------------Header ends---------------------------------------*/
.logoBlock {
background: url(../images/pivotal-logo.png) no-repeat right;
width: 185px;
height: 36px;
cursor: pointer;
margin: 6px 0px
}
.logoBlock img {
width: 100px;
vertical-align: middle;
padding-top: 2px;
}
.logoBlock a {
visibility: hidden;
display: block;
height: inherit
}
.HeaderLink {
background: #d8d9da;
color: #545454;
padding: 16px 19px 16px 19px;
margin: 0px 0px 0px 0px;
font-size: 14px;
border-left: 1px solid #fff
}
.HeaderLink:first-child {
border-left: none
}
.HeaderLink:hover {
color: #0363a0
}
.HeaderLinkActive {
background: #0f1c25;
color: #cfd2d3;
}
.HeaderLinkActive:hover {
color: #cfd2d3;
cursor: default
}
/*----------------------------Top Navigation starts---------------------------------------*/
.linkButton {
background: #202b39;
border-top: 1px solid #37414d;
color: #81878f;
padding: 8px 21px;
font-size: 13px
}
.linkButton:hover {
background: #132634;
color: #81878f;
}
/*Tabs*/
.TabTopPanel {
background: #202b39;
border-top: 1px solid #37414d;
color: #81878f;
font-size: 13px;
width: 245px;
}
.TabTopPanelInnerBlock {
line-height: 31px;
background: url(../images/tab-bottom-bg.png) repeat-x left bottom;
}
.TopTabLink {
padding: 9px 22px;
color: #d0d4d6;
border-top: 1px solid transparent
}
.TopTabLink:hover {
color: #d0d4d6;
}
.TopTabLinkActive {
background: #132634;
border: 1px solid #2b3c49;
padding: 9px 22px;
border-bottom: 0px;
}
.notification {
background: #b63800;
font-size: 11px;
color: #fff;
line-height: 11px;
right: 0px;
top: -1px;
border-radius: 8px;
padding: 2px 4px;
box-shadow: 0px 1px 0px 0px #091319;
min-width: 15px;
text-align: center
}
.tabAll {
padding: 0px 5px
}
.tabError {
background: url(../images/error-msg-icon.png) no-repeat center center;
padding: 1px 5px
}
.tabWarning {
background: url(../images/warning-msg-icon.png) no-repeat center center;
padding: 1px 5px
}
.tabSevere {
background: url(../images/severe-msg-icon.png) no-repeat center center;
padding: 1px 6px
}
.tabInfo {
background: url(../images/info-msg-icon.png) no-repeat center center;
padding: 1px 6px
}
.topTabBlock {
background: #132634;
border: 1px solid #2b3c49;
left: 0px;
top: 31px;
border-top: 0px;
width: 243px;
z-index: 99
}
.scroll-pane {
width: 230px;
height: 728px;
overflow: auto;
margin: 5px 3px 5px 10px;
}
.scroll-pane_1 {
width: 228px;
height: 150px;
overflow: auto;
margin: 5px 3px 5px 10px;
}
.tabMessageMasterBlock {
margin: 15px 0px;
padding: 0px 10px 0px 20px;
font-size: 12px;
}
.tabMessageHeadingBlock {
color: #d0d4d6;
margin-bottom: 5px;
}
.tabMessageHeadingAckBlock {
color: #89939a;
margin-bottom: 5px;
}
.tabMessageDetailsBlock {
color: #89939a;
line-height: 16px;
}
.tabMessageDateBlock {
color: #515f69;
margin-top: 10px;
}
.errorMessageBlock {
background: url(../images/error-msg-icon.png) no-repeat left top;
}
.warningMessageBlock {
background: url(../images/warning-msg-icon.png) no-repeat left top;
}
.severeMessageBlock {
background: url(../images/severe-msg-icon.png) no-repeat left top;
}
.infoMessageBlock {
background:url(../images/info-msg-icon.png) no-repeat left top;
}
.clearButton {
margin: 10px 5px 5px;
float: right;
}
.clearButton .linkButton {
background: transparent;
border-top: 0px;
padding: 0px 10px;
text-decoration: underline
}
.clearButton .linkButton:hover {
color: #fff
}
.loadMoreButton {
margin: 10px 5px 5px;
float: right;
display: none;
}
.loadMoreButton .linkButton {
background: transparent;
border-top: 0px;
padding: 0px 10px;
text-decoration: underline;
}
.loadMoreButton .linkButton:hover {
color: #fff;
}
/*----------------------------Top Navigation ends---------------------------------------*/
/*----------------------------Middle starts---------------------------------------*/
.middleTopologyBlock {
width: 760px;
float: left;
}
.leftBlockCanvas {
width: 1002px;
}
.statusmasterBlock {
background: #202b39;
border-top: 1px solid #37414d;
margin-bottom: 10px;
float: left;
width: 1002px;
}
.statusFirstBlock {
border-right: 1px solid #3c4a5b;
padding: 20px;
}
.rightBlockCanvas {
width: 242px;
float: right
}
.canvasBlockLarge {
background: #132634;
width: 748px;
}
.canvasBlockLargeContent {
padding: 10px 0px;
width: 748px;
min-height: 420px;
}
.canvasBlockLargeGridContent {
padding: 10px 0px;
width: 748px;
min-height: 250px;
}
.canvasBlock {
background: #132634;
width: 242px;
}
.canvasBlockInnerBlock {
background: #202b39;
border-top: 1px solid #37414d;
border-bottom: 1px solid #0f1c25;
}
.canvasHeading {
text-transform: uppercase;
text-shadow: -1px -1px #161e28;
font-size: 14px;
color: #ababab;
padding: 11px 0px
}
.canvasInnerBlock {
border-top: 1px solid #2b3c49
}
.canvasContentBlock {
padding: 10px 0px;
width: 242px;
min-height: 150px;
}
/* start - Change suggested by VMWARE for key stats widget, dt: 17Oct2012 */
.canvasBlockKeyStats {
background: #132634;
width: 495px;
}
.width495 {
width: 495px
}
.canvasContentBlockKeyStats {
padding: 10px 0px;
width: 495px;
min-height: 150px;
}
.lineGraphKeyStats {
width: 300px;
margin-right: 10px
}
/* end - Change suggested by VMWARE for key stats widget, dt: 17Oct2012 */
.statusUpDowmBlock {
padding: 8px 0px 8px 25px;
color: #89939a;
margin: 0px 10px;
}
.statusUp {
background: url(../images/status-up.png) no-repeat left 6px;
}
.statusDown {
background: url(../images/status-down.png) no-repeat left 6px;
}
.width242 {
width: 242px
}
.width225 {
width: 225px
}
.graphBlocksContent {
padding: 5px 10px 5px 10px;
color: #89939a;
}
.graphChart {
width: 232px;
margin-left: 5px;
margin-right: 5px;
}
.graphChart img {
width: 100%
}
.lineGraph {
width: 100px;
margin-right: 10px
}
.lineGraph img {
width: 100%
}
.minusIcon {
background: url(../images/minus.png) no-repeat center center;
width: 16px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px
}
.plusIcon {
background: url(../images/plus.png) no-repeat center center;
width: 16px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px
}
.borderLeftToggleBlock {
border-left: 1px solid #172735
}
.graphIcon {
background: url(../images/graph.png) no-repeat center center;
width: 17px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px 10px 10px 5px;
}
.graphIconActive {
background: url(../images/graph-active.png) no-repeat center center;
width: 17px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px 10px 10px 5px;
}
.chartIcon {
background: url(../images/chart.png) no-repeat center center;
width: 17px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px 10px 10px 5px;
}
.chartIconActive {
background: url(../images/chart-active.png) no-repeat center center;
width: 17px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px 10px 10px 5px;
}
.gridIcon {
background: url(../images/grid.png) no-repeat center center;
width: 17px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px 10px 10px 5px;
border-right: 1px solid #3c4a5b
}
.gridIconActive {
background: url(../images/grid-active.png) no-repeat center center;
width: 17px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px 10px 10px 5px;
border-right: 1px solid #3c4a5b
}
.chartBlocksPanel,.graphBlocksPanel {
padding: 0px 10px 0px 10px;
color: #89939a;
width: 728px;
}
.gridBlocksPanel {
padding: 0px 0px 0px 0px;
color: #89939a;
width: 747px;
margin-top: 0px
}
/*graph color Code*/
.colorCodeBlock {
width: 12px;
height: 12px;
display: block
}
.colorCodeBlockOnPopup {
width: 9px;
height: 9px;
display: block
}
.managerCode {
background: #0077F0;
}
.locatorsCode {
background: #8071B4;
}
.severeCode {
background: #B07C2A;
}
.colorCode-ffae00 {
background: #ffae00;
}
.diskReadsCode {
background: #FAB948; /*background:#87b025;*/
}
.diskWritesCode {
background: #2e84bb;
}
.topologyGraph {
width: 410px;
margin: -2px auto;
text-align: center
}
.topologyGraph img {
width: 100%
}
.treeViewGraphClusterView {
width: 730px;
margin: 0px auto;
text-align: center;
cursor: pointer;
}
.treeViewGraph {
width: 730px;
margin: 0px auto;
text-align: center
}
.treeViewGraph img {
width: 100%
}
/*Normal*/
.statusMasterBlock {
padding-left: 40px;
font-size: 23px;
}
.normalStatus {
background: url(../images/normal-status-icon.png) no-repeat left top;
color: #87b025;
}
.errorStatus {
background: url(../images/error-status-icon.png) no-repeat left top;
color: #c86a17;
}
.warningStatus {
background: url(../images/warning-status-icon.png) no-repeat left top;
color: #e9c63c;
}
.severeStatus {
background: url(../images/severe-status-icon.png) no-repeat left top;
color: #b82811;
}
.labeltext {
color: #949ba4;
font-size: 13px
}
.borderRightDarkBlue {
border-left: 1px solid #172735;
}
.detailsBlock {
padding: 20px 10px;
float: left;
text-align: center
}
/*search Block*/
.searchBlockMaster {
background: #0f1c25;
width: 171px;
float: right;
border-radius: 3px;
box-shadow: 0 1px 0 0 #27333b;
height: 25px;
}
.searchButton {
width: 18px;
height: 18px;
background: url(../images/searchIcon.png) center center no-repeat;
border: 0px;
cursor: pointer;
float: left;
margin: 4px;
}
.searchBox {
float: left;
width: 135px;
padding: 3px !important;
height: 19px;
border: 0px !important;
background: #0f1c25;
color: #b7b9bb !important
}
/*login Block*/
.loginMasterBlock {
width: 275px;
margin: 130px auto 0px
}
.pulseBottomSpace {
margin-bottom: 20px;
text-align: center;
}
.loginInnerBlock {
background: #202b39;
border-radius: 3px;
box-shadow: 0 -1px 0 0 #37414d;
padding: 28px;
}
.inputUserName {
background: #0f1c25;
border-radius: 3px;
box-shadow: 0 1px 0 0 #27333b;
padding: 10px !important;
border: 0px !important;
width: 200px;
margin-bottom: 5px;
color: #b7b9bb !important
}
.inputPassword {
background: #0f1c25;
border-radius: 3px;
box-shadow: 0 1px 0 0 #27333b;
padding: 10px !important;
border: 0px !important;
width: 200px;
margin-bottom: 5px;
color: #b7b9bb !important;
outline: none
}
.signInButton {
background: #153c71;
border-radius: 3px;
border: 0px !important;
box-shadow: 0 -1px 0 0 #2d507f;
color: #8a9eb8;
font-size: 15px;
text-align: center;
padding: 8px 0px;
width: 100%;
margin-top: 5px;
text-transform: uppercase;
cursor: pointer
}
.signInButton:hover {
background: #164381
}
/*Placeholder*/
::-webkit-input-placeholder {
color: #515F69 !important
}
:-moz-placeholder {
color: #515F69 !important
}
:-ms-input-placeholder {
color: #515F69 !important
}
.placeholder {
color: #515F69 !important
}
/*error Message master block*/
.errorMasterBlock {
border-bottom: 1px solid #37414d;
background: #293b4e;
border-radius: 3px 3px 0px 0px;
box-shadow: 0 -1px 0 0 #37414D;
padding: 10px 12px;
}
.errorInnerIcon {
background: url(../images/error-message-icon.png) no-repeat left top;
padding: 0px 0px 0px 29px;
line-height: 18px;
color: #949da7;
}
.errorInnerIcon span {
display: block
}
/*Connection Lost*/
.connectionLostMasterBlock {
position: relative;
margin: 0px auto;
width: 234px;
}
.connectionLostInnerBlock {
background: #d9d082;
padding: 8px;
position: absolute;
top: 75px;
color: #424028;
width: 250px;
}
.connectionLostInnerBlock a {
text-decoration: underline;
color: #424028;
}
.connectionLostInnerBlock a:hover {
color: #424028;
}
.linkSeperator {
padding: 0px 5px;
}
/*popup*/
.detailsBlock-popup {
padding: 10px 10px;
float: left;
text-align: center;
min-width: 70px
}
.firstPaddingLeftZero {
padding-left: 0px !important
}
.lastPaddingLeftZero {
padding-right: 0px !important
}
.popupHeading {
background: #142e41;
padding: 8px 10px;
color: #8a97a0;
border-bottom: 1px solid #586a81;
width: 89%;
overflow: hidden;
text-overflow: ellipsis;
}
.popupFirstRow {
padding: 10px;
width: 180px;
float: left
}
.popupFirstRowBorder {
float: left;
border-bottom: 1px solid #4e6277;
width: 100%;
padding: 5px 0px 10px 0px
}
.perDivWidth {
width: 150px;
}
.perInnerBlock {
width: 85px;
float: left;
height: 14px;
margin: 5px 5px 5px 0;
}
.perInnerPanel {
width: 100%;
background: #fff;
float: left
}
.perShowBlock {
background: #7a9e25;
diaplay: inline-block;
float: left
}
.perValueDisplay {
color: #7a9e25;
font-size: 25px;
display: inline-block;
float: left
}
.fontSize15 {
font-size: 15px
}
.popupSecondRow {
float: left;
width: 100%;
padding: 5px 0px;
}
.swappingEnabledBlock {
background: #1c2633;
border-radius: 3px;
text-align: center;
color: #8e9399;
float: left;
width: 100%;
padding: 5px 0;
}
.popupStatusmasterBlock {
background: #202b39;
border-top: 1px solid #37414d;
margin-bottom: 2px;
float: left;
width: 277px;
}
.popupdetailsBlock {
padding: 2px 2px;
float: left;
text-align: center;
width: 87px;
}
.tooltip .popupcontent {
background: #132634;
border: 1px solid #889eb9;
width: 277px;
min-height: 60px;
}
.popupCanvasContentBlock {
padding: 10px 0px;
width: 277px;
min-height: 150px;
}
/*member Details*/
.detailsBlock-member {
padding: 5px 3px;
float: left;
width: 70px;
text-align: left !important;
word-wrap: break-word;
}
.endPointMasterBlock {
margin-top: 15px;
width: 242px
}
.pointHeading {
border-bottom: 1px solid #11202b;
float: left;
width: 100%
}
.pointTextHeading {
color: #d0d4d6;
text-transform: uppercase;
padding: 8px 10px;
float: left
}
.pointGridHeading {
border-top: 1px solid #213341;
border-bottom: 1px solid #11202b;
width: 100%;
float: left;
color: #d0d4d6
}
.pointHeadingPadding {
padding: 6px 10px;
text-align: left;
float: left
}
.pointC1 {
width: 50px;
text-overflow: ellipsis;
overflow: hidden;
white-space: pre;
}
.pointC2 {
width: 80px;
text-overflow: ellipsis;
overflow: hidden;
white-space: pre;
}
.pointC3 {
width: 30px;
text-align: center;
overflow: hidden;
white-space: pre;
}
#asynchList .pointC2{
width: 75px;
}
#asynchList .pointC3{
margin-left: -5px;
padding-left: 0;
padding-right: 0;
width: 60px;
}
.pointC1-2 {
width: 150px;
text-overflow: ellipsis;
overflow: hidden;
white-space: pre;
}
.membersTreeViewHeight {
height: 504px !important;
}
.pointGridData {
border-top: 1px solid #213341;
width: 100% !important;
float: left;
height: 160px;
overflow-y: auto;
}
.pointDetailsPaddingMember {
padding: 6px 10px;
float: left;
color: #89939a
}
.pointDetailsPadding {
padding: 1% 1%;
width: 98%;
float: left;
color: #89939a
}
.pointGridData .jspVerticalBar {
right: 4px !important
}
.textUpper {
text-transform: uppercase
}
/*members Name Top DropDown*/
.rightDropDownBlock {
margin-left: 13px;
}
.rightDropDownBlock a {
float: left;
padding: 4px 5px;
position: relative;
}
.rightDropDownBlock a:hover {
color: #0363a0
}
.rightDropDownBlock a span {
background: url(../images/top-user-dropdown-arrow.png) no-repeat right
5px;
vertical-align: top;
padding: 0px 16px 0px 7px;
margin-top: 5px;
position: relative;
float: left
}
.rightDropDownBlock a:hover span {
background-position: right -20px;
}
.hotspot_txt {
font-size: 13px;
color: #cdd0d1;
overflow: hidden;
white-space: pre;
float: right;
}
.hotspotNameTopMargin {
width: 193px;
}
.hotspotClicked-Off {
cursor: pointer;
display: block
}
.hotspotClicked-On {
z-index: 999 !important;
cursor: pointer
}
.hotspotClicked-Off span {
background: url(../images/membersName_arror-off.png) no-repeat right
center;
padding-right: 26px;
display: inline-block
}
.hotspotClicked-On span {
background: url(../images/membersName_arror-on.png) no-repeat right
center;
padding-right: 26px;
display: inline-block
}
.memberClicked-Off {
cursor: pointer;
display: block
}
.memberClicked-On {
z-index: 999 !important;
cursor: pointer
}
.settingBlock {
background: #283649;
position: absolute;
left: 0px;
top: 25px;
border: 1px solid #546579;
z-index: 9999;
width: 193px;
}
.settingBlock ul {
display: block;
float: left;
width: 100%
}
.settingBlock ul li {
width: 100%;
}
.settingBlock ul li a {
display: block;
font-size: 13px;
padding: 5px;
}
.rightDropDownBlock img {
float: left
}
.memberClicked-Off span {
background: url(../images/membersName_arror-off.png) no-repeat right
center;
padding-right: 26px;
display: inline-block
}
.memberClicked-On span {
background: url(../images/membersName_arror-on.png) no-repeat right
center;
padding-right: 26px;
display: inline-block
}
.member_txt {
font-size: 20px;
color: #cdd0d1; /*width:168px;*/
overflow: hidden; /*text-overflow: ellipsis;*/
white-space: pre;
}
.membersNameTopMargin {
margin-top: 5px;
width: 193px;
}
.memeberNameSearch {
padding: 10px 11px;
float: left
}
/**autocomplete**/
.jsonSuggestScroll {
width: 193px;
float: left;
height: 125px;
overflow-y: auto;
overflow-x: hidden;
}
.jsonSuggestScroll .jspPane {
width: 193px !important
}
.jsonSuggestScroll .jspDrag {
left: -3px;
background: #7a8eaa
}
.hideHorizontalScroll {
overflow-x: hidden !important;
}
/*dataView */
.dataViewTreeViewBlock {
width: 427px;
float: left;
overflow: hidden
}
.rightBlockDataView {
width: 563px;
float: right
}
.canvasBlockDataView {
width: 563px;
}
.canvasBlockLargeDataView {
background: #132634;
width: 428px;
}
.width563 {
width: 563px;
}
.canvasContentBlockDataView {
min-height: 685px;
padding: 10px 0;
width: 563px;
background: #132634;
}
.selectedRegionLabel {
color: #87b025;
font-size: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
width: 543px;
padding: 8px 10px;
background: #202b39;
border-bottom: 1px solid #04121b;
border-top: 1px solid #37414d;
}
.canvasBlockLargeContentDataView {
min-height: 690px;
padding: 10px 0;
width: 428px;
}
.chartBlocksPanelDataView,.graphBlocksPanelDataView {
color: #89939A;
padding: 0 10px;
width: 407px;
}
.treeViewGraphDataView {
width: 405px;
margin: 0px auto;
text-align: center;
cursor: pointer;
}
.marginL5 {
margin-left: 5px;
}
.marginL10 {
margin-left: 10px;
}
.marginR10 {
margin-right: 10px;
}
.regionsCount {
color: #d2d5d7
}
.wanEnabledIcon {
display: block;
height: 8px;
width: 27px;
background: url(../images/dataViewWanEnabled.png) no-repeat left top;
margin-top: 3px;
}
.detailsBlock-memberDataView {
padding: 5px 4px;
float: left;
text-align: center; /*word-wrap:break-word;*/
}
.regionType {
width: 105px;
text-overflow: ellipsis;
overflow: hidden;
white-space: pre;
}
.graphBlocksContentDataView {
padding: 5px 10px 15px 10px;
color: #89939a;
}
.border-topZero {
border-top: 0px !important
}
.pointGridDataView {
border-top: 1px solid #213341;
width: 100%;
float: left;
}
.dataViewLeftBlock {
width: 273px;
}
.dataViewRightBlock {
width: 273px;
}
.usageDataView {
padding: 5px 6px;
text-align: left;
word-wrap: break-word;
}
.dataViewUsedMasterBlock {
margin: 10px;
width: 95%;
}
.dataUsedProgressbar {
border: 1px solid #364652;
background: #012e4c;
float: left;
width: 250px;
margin: 40px 0 14px 0;
padding: 2px;
position: relative;
}
.memoryUsageChart {
background: #afddf8;
padding: 2px 0px;
text-align: right;
color: #24516e;
font-size: 20px;
max-width: 100%;
position:relative;
height: 20px;
}
.memoryUsageValue{
position: absolute;
top:0;
left:5px;
line-height: 30px;
text-align: right;
color: #24516e;
}
#memoryUsageDiv, #regionMembersWidgetContainer{
height:200px;
}
.PerRightMargin {
font-size: 13px;
margin-right: 5px;
}
.dataUsageChart {
background: #c7f8af;
padding: 2px 0px;
text-align: right;
color: #24516e;
font-size: 20px;
max-width: 100%
}
.readsTextHeading {
color: #d0d4d6;
text-transform: uppercase;
}
.dataViewGraphMaster {
border: 1px solid #364652;
float: left;
width: 214px;
margin: 5px 0 0px 0;
padding: 2px;
}
.dataViewGraph {
padding: 2px 0px;
text-align: center;
}
.dataViewGraph img {
width: 100%;
}
.regionMembersMasterBlock {
margin: 10px 10px 10px 0px;
width: 100%;
}
.regionMembersSearchBlock {
min-height: 120px;
overflow-y: auto;
overflow-x: hidden !important;
width: 100%
}
.regionMembersSearchBlock .pointDetailsPadding {
text-overflow: ellipsis;
overflow: hidden;
white-space: pre;
padding: 5px 0px 5px 0px;
cursor: pointer
}
.regionMembersSearchBlock .pointDetailsPadding:hover {
background: #283649;
color: #ffffff;
}
.dataViewRightBlock .searchBlockMaster {
float: left;
width: 167px
}
.regionHeading {
background: #132634 !important
}
.regionHeading .canvasHeading {
color: #d0d4d6 !important
}
.regionHeading .canvasHeading label {
width: 450px;
text-overflow: ellipsis;
overflow: hidden;
white-space: pre;
float: left;
text-transform: none;
}
.horizontalSeparator {
border-bottom: 1px solid #37414D;
border-top: 1px solid #0F1C25;
margin-bottom: 10px;
width: 100%;
}
/*memberDetails filter*/
.resultItemFilter {
background: #283649 !important;
border-top: 1px solid #4E6277;
color: #868D98;
cursor: pointer;
margin: 0;
padding: 5px;
position: relative;
}
.resultItemFilter a {
color: #868d98;
word-wrap: break-word;
}
.resultItemFilter a:hover {
color: #fff;
}
.jsonSuggestScrollFilter {
width: 193px;
float: left;
height: 300px;
overflow-y: auto;
overflow-x: hidden;
}
.jsonSuggestScrollFilter .jspPane {
width: 193px !important
}
.jsonSuggestScrollFilter .jspDrag {
left: -3px;
background: #7a8eaa
}
/* Added for sparkline tooltip*/
.jqstooltip {
z-index: 100;
}
.popupRowBorder {
float: left; /*border-bottom:1px solid #4e6277;*/
width: 100%;
padding: 1px 0px 1px 0px
}
.marginTop3 {
margin-top: 3px;
}
.marginTop4 {
margin-top: 4px;
}
.marginTop6 {
margin-top: 6px;
}
.marginBottom4 {
margin-bottom: 4px;
}
.marginBottom6 {
margin-bottom: 6px;
}
.marginBottom10 {
margin-bottom: 10px;
}
.marginTop10 {
margin-top: 10px;
}
.marginzero {
margin: 0;
}
.borderBottomZero {
border-bottom: 0px !important
}
.width85Per {
width: 85%
}
.width91Per {
width: 91%
}
.width96Per {
width: 96%
}
.width100Per {
width: 100%
}
.displayNone{
display: none;
}
.popInnerBlockEllipsis {
width: 100%;
text-overflow: ellipsis;
white-space: pre;
overflow: hidden;
}
.regionType {
width: 105px;
text-overflow: ellipsis;
overflow: hidden;
white-space: pre;
}
/*----------------------------Middle ends---------------------------------------*/
/* switch css */
.switchMaster {
background: #10222f;
border: 1px solid #09131a;
display: inline-block;
border-radius: 3px;
margin: 4px 3px
}
.membersButton,.dataButton {
height: 26px;
display: inline-block;
cursor: pointer;
line-height: 26px;
padding: 0px 10px;
text-transform: uppercase;
color: #58656e;
}
.switchActive {
background: #283c58;
border-top: 1px solid #536379;
border-radius: 3px;
color: #ababab
}
.switchRightBlockLinks {
background: url(../images/rightBorder.png) repeat-y right top;
padding: 11px 10px 12px 10px
}
.switchRightBlockLinks a {
color: #506d94;
font-size: 12px;
padding: 0 7px
}
.switchRightBlockLinks a:hover {
color: #cfdced;
}
.switchRightBlockLinks .switchActiveLink,.switchRightBlockLinks .switchActiveLink:hover
{
color: #cfdced;
cursor: default;
visibility:
}
/*breadCrumb*/
.breadCrumbs {
color: #cdd0d1;
margin-top: 5px;
font-size: 18px;
}
.breadCrumbs a {
color: #9ba0a4;
font-size: 12px;
vertical-align: middle
}
.breadCrumbs a:hover {
color: #0363A0
}
.breadCrumbs .breadCrumbArrow {
background: url(../images/bread-crumb.png) no-repeat center center;
width: 33px;
display: inline-block
}
.breadCrumbs label {
vertical-align: middle
}
/*data Browser*/
.dataBrowserLeftBlock {
width: 263px;
float: left;
background: red
}
.dataBrowserRightBlock {
width: 727px;
float: right;
background: green
}
/*Popup Css style*/
#mask {
position: absolute;
left: 0;
top: 0;
z-index: 9000;
background: url(../images/mask-bg.png) repeat;
display: none;
}
#boxes .window {
position: fixed;
left: 0;
top: 0;
display: none;
z-index: 9999;
border: 1px solid #49596a;
}
.popup_heading {
background: #142e41;
display: block;
width: 100%;
float: left;
border-bottom: 1px solid #49596a;
}
.popup_heading span {
color: #8a97a0;
font-size: 14px;
float: left;
width: 82%;
padding: 10px 5px 10px 10px;
}
.closePopup {
color: #fff;
float: right;
background: url(../images/popup-close-button.png) no-repeat;
display: inline-block;
width: 14px;
height: 14px;
margin: 12px 10px 12px 5px;
}
/*popup Content Block*/
.popup_contentBlock {
float: left;
width: 100%
}
.popup-innerblock {
background: #283649;
padding: 10px;
color: #949ba4;
font-size: 13px;
}
.popup-innerblock ul li {
margin-bottom: 5px;
}
.dataSeperator {
margin: 0px 5px;
}
.width-58 {
width: 58%
}
/*Popup Width*/
.width345 {
width: 345px;
}
.dataRegionsandMembers {
background: none repeat scroll 0 0 #666666;
height: 530px;
padding: 15px;
width: 243px;
float: left
}
.dataRegionsandMembers h3 {
color: snow
}
.regionNamesWrapper {
height: 170px;
overflow-y: auto
}
.memberNamesWrapper {
height: 270px;
overflow-y: auto
}
.memberNamescls {
padding: 0 5px;
}
/* connection lost */
.connectionLostMasterBlock {
position: relative;
margin: 0px auto;
width: 234px;
}
.connectionLostInnerBlock {
background: #d9d082;
padding: 8px;
position: absolute;
top: 75px;
color: #424028;
width: 250px;
}
.connectionLostInnerBlock a {
text-decoration: underline;
color: #424028;
}
.connectionLostInnerBlock a:hover {
color: #424028;
}
.linkSeperator {
padding: 0px 5px;
}
/* Data Browser*/
#accordion {
list-style: none;
padding: 0 0 0 0;
width: 243px;
}
#accordion li {
display: block;
background-color: #aaaaaa;
font-weight: bold;
margin: 1px;
cursor: pointer;
padding: 5 5 5 7px;
list-style: circle;
height: 15px;
padding: 10px;
}
#accordion ul {
list-style: none;
padding: 0 0 0 0;
display: none;
}
#accordion ul li {
font-weight: normal;
cursor: auto;
background-color: #888888;
padding: 0 0 0 7px;
height: 125px
}
.queriesWrapper {
height: 300px;
overflow-y: auto
}
.queriesEditor {
height: 120px;
overflow-y: auto
}
.dataRegionsandMembersDataBrowser {
background: none repeat scroll 0 0 #666666;
height: 530px;
padding: 15px;
width: 700px;
float: left
}
.regionNamesDataBrowser {
height: 170px;
overflow-y: auto;
width: 252px;
}
.memberNamesDataBrowser {
height: 270px;
overflow-y: auto;
width: 252px;
}
.searchBlockDataBrowser {
background: #0f1c25;
width: 243px;
border-radius: 3px;
box-shadow: 0 1px 0 0 #27333b;
height: 25px;
}
.searchBoxDataBrowser {
float: left;
width: 207px;
padding: 3px !important;
height: 19px;
border: 0px !important;
background: #0f1c25;
color: #b7b9bb !important
}
/*----------------------------Middle ends---------------------------------------*/
/*block splitter */
.splitterMaster {
width: 100%;
margin: 0 auto 20px;
position: relative;
float: left;
}
.splitterInnerBlock {
float: left;
height: 750px;
width: 100%;
}
#widget { /*height:1000px;*/
margin: 0 auto;
overflow: hidden;
}
#leftBlock {
background: #132634
}
.leftTopSplitterSpacing {
margin-bottom: 10px;
width: 100%
}
#rightBlock {
background: #132634
}
.leftSliderScrollRegion {
height: 75%;
border-top: 1px solid #213341;
}
.leftSliderScrollMembers {
height: 100%;
}
.ScrollPaneBlock {
width: 100% !important;
color: #DDF
}
.ScrollPaneBlock .jspContainer {
width: 100% !important;
height: 100% !important
}
.ScrollPaneBlock .jspPane {
width: 100% !important;
}
.ScrollPaneBlock .jspDrag {
left: 0px;
}
.splitterScrollRegionInnerBlock {
text-align: justify;
width: 100%
}
.splitterScrollMembersInnerBlock {
text-align: justify;
width: 100%;
border-top: 1px solid #2b3c49;
}
.splitterScrollMembersInnerBlock ul li {
padding: 5px 0;
float: left;
width: 100%;
margin-bottom: 1px
}
.splitterScrollMembersInnerBlock ul li:hover { /*background:#1f313f*/
}
.splitterScrollMembersInnerBlock ul li label {
float: left;
width: 79%;
vertical-align: middle;
padding-left: 15px;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
line-height: 18px;
}
.splitterScrollMembersInnerBlock ul li input[type="checkbox"] {
float: right;
margin: 0 15px 0 0;
}
.splitterScrollMembersInnerBlock ul li .checkbox {
float: right;
padding: 0 15px 0 0;
clear: none
}
.check {
background: #1f313f
}
.regionNameSearch {
padding: 10px 11px;
}
.searchBlockRegion {
width: 100%;
border-radius: 3px;
box-shadow: 0 1px 0 0 #27333b;
height: 25px;
background: #0f1c25
}
input[type="button"].searchButtonRegion {
width: 18px;
height: 18px;
background: #0f1c25 url(../images/searchIcon.png) center center
no-repeat;
border: 0px;
cursor: pointer;
float: left;
margin: 4px;
display: inline-block
}
input[type="text"].searchBoxRegion {
float: left;
width: 84%;
padding: 3px !important;
height: 19px;
border: 0px !important;
background: #0f1c25;
color: #b7b9bb !important
}
.colocatedRegionsLink {
padding: 6px 11px;
float: right;
color: #d0d4d6
}
.disabledLink,.disabledLink:hover {
color: #42515d;
cursor: default
}
/*right Block splitter inner blocks*/
.rightInnerBlocks {
background: #18242f;
border-top: 1px solid #232f39;
border-bottom: 1px solid #0f1c25;
line-height: 34px
}
.rightInnerBlocks a {
padding: 10px;
text-transform: uppercase;
color: #506d94;
text-shadow: -1px -1px #111921;
}
.rightInnerBlocks a.active {
background: #202b39;
border-right: 1px solid #0f1c25;
border-top: 1px solid #37414d;
color: #fff;
text-shadow: -1px -1px #161e28;
cursor: default
}
/*query Block*/
.queryMasterBlock {
border-top: 1px solid #2b3c49;
border-bottom: 1px solid #0f1c25;
width: 100%;
float: left;
position:relative;
padding-bottom:10px;
}
.queryInnerBlock {
float: left;
width: 97%;
}
.marginTB15-10 {
margin: 15px 10px;
}
.marginResult {
margin: 15px 10px 10px 10px;
}
.marginBottomResult {
border-bottom: 1px solid #1f313f;
width: 100%
}
.queryHistoryBlock {
position: relative
}
.queryBlocklabel {
text-transform: uppercase;
padding-left: 5px
}
#detailsHistory {
display: none
}
.textareadiv{
background: #0f1c25;
border-bottom: 1px solid #27333b;
border-radius: 2px 2px 2px 2px;
padding:5px;
margin-bottom: 10px;
}
.textareadiv textarea{
border: 0px;
color: #878e92;
font-family: Arial;
font-size: 12px;
outline: none;
background: #0f1c25;
padding:0;
width:100%;
margin-bottom:0;
}
.queriesblock{
float: none;
width: auto;
}
.historyClicked-Off {
background: url(../images/history-icon.png) no-repeat 10px 9px;
color: #5a6871;
padding: 0px 10px 0px 31px;
position: absolute;
right: 0px;
top: 0px;
line-height: 40px;
z-index: 9
}
.historyClicked-On,.historyClicked-On:hover {
background: #132634 url(../images/history-icon.png) no-repeat 10px -29px;
color: #d0d4d6;
padding: 0px 10px 0px 31px;
position: absolute;
right: 0px;
top: 0px;
line-height: 40px;
border: 1px solid #2b3c49;
border-bottom: 0px;
z-index: 9
}
.queryHistoryScroll-pane {
background: #132634;
width: 235px;
border: 1px solid #2b3c49;
position: absolute;
right: 0px;
top: 40px;
height: 670px;
z-index: 8;
overflow: auto;
}
.queryHistoryScroll-pane .jspVerticalBar {
right: 2px
}
.queryTextarea {
width: 98%;
margin-bottom: 10px;
height: 55px;
overflow-y: auto
}
.quertTextaremargin {
margin-top: 10px;
}
/*expand collapse*/
.expCollMaster {
text-align: justify;
width: 100%;
}
/*-------------Accordion------------------------------------------------------------------------------------*/
.accordion {
overflow: hidden;
}
.accordion .listing {
margin-bottom: 1px;
}
.accordion .heading {
padding: 5px 10px 5px 40px;
cursor: pointer;
position: relative;
min-height: 20px;
background: #14232f url(../images/header-bg-bottom-border.png) repeat-x
left bottom;
}
.accordion .heading.active {
background: none;
background: #1f313f;
}
.accordion .heading .title {
color: #d2d6d9;
display: block;
padding: 3px 0;
}
.accordion .accordion-content {
display: none;
padding: 5px 40px;
}
.accordion .accordion-content2 {
display: block;
padding: 5px 40px;
}
.accordion .spriteArrow {
display: block;
position: absolute;
top: 7px;
left: 20px;
width: 14px;
height: 15px;
}
.accordion .active .spriteArrow {
background: url(../images/acc-minus.png) no-repeat
}
.accordion .inactive .spriteArrow {
background: url(../images/acc-plus.png) no-repeat
}
/*nesting*/
.accordionNested {
overflow: hidden;
}
.accordionNested .n-listing {
margin-bottom: 1px;
}
.accordionNested .n-heading {
padding: 5px 10px 5px 40px;
cursor: pointer;
position: relative;
min-height: 20px;
background: #14232f url(../images/header-bg-bottom-border.png) repeat-x
left bottom;
}
.accordionNested .n-heading.n-active {
background: none;
background: #1f313f;
}
.accordionNested .n-heading .n-title {
color: #d2d6d9;
display: block;
padding: 3px 0;
}
.accordionNested .n-accordion-content {
padding: 0px;
display: none;
}
.accordionNested .n-spriteArrow {
display: block;
position: absolute;
top: 7px;
left: 20px;
width: 14px;
height: 15px;
}
.accordionNested .n-active .n-spriteArrow {
background: url(../images/acc-n-minus.png) no-repeat
}
.accordionNested .n-inactive .n-spriteArrow {
background: url(../images/acc-n-plus.png) no-repeat
}
/* button
---------------------------------------------- */
.buttonCss {
display: inline-block;
vertical-align: baseline;
margin: 0px 5px 0px 5px;
outline: none;
cursor: pointer;
text-align: center;
text-decoration: none;
font-size: 13px;
border: 0px;
padding: 5px 20px;
}
.buttonCss:hover {
text-decoration: none;
}
.buttonCss:active {
position: relative;
top: 1px;
}
/* blue */
.blue {
background: #153c71;
color: #8a9eb8;
border-top: 1px solid #2d507f;
}
/* grey */
.grey {
background: #202b39;
color: #636b75;
border-top: 1px solid #37414d;
}
/*Custom Checkbox & RadioButton*/
.checkbox,.radio {
width: 19px;
height: 19px;
padding: 0 5px 0 0;
background: url(../images/checkbox.png) no-repeat;
display: block;
clear: left;
float: left;
}
.radioButton label {
line-height: 22px;
vertical-align: middle;
margin-right: 10px
}
.radio {
background: url(../images/radio.png) no-repeat;
}
/*history panel*/
.container {
margin: 5px auto;
font-size: 12px;
background: #132634;
color: #89939a;
}
.container:hover,.selectedHistory {
background: #1f313f
}
.wrap {
position: relative;
overflow: hidden;
}
.wrapHistoryContent {
padding: 10px 30px 30px 30px;
line-height: 16px
}
.read-more {
position: absolute;
left: 10px;
top: 10px
}
.read-more a {
width: 14px;
height: 15px;
text-decoration: none;
display: block
}
.read-more a.remore_plus {
background: url(../images/acc-n-plus.png) no-repeat;
}
.read-more a.remore_minus {
background: url(../images/acc-n-minus.png) no-repeat;
}
.remove {
position: absolute;
right: 10px;
top: 10px;
}
.remove a {
width: 15px;
height: 15px;
background: url(../images/history-remove.png) no-repeat;
text-decoration: none;
display: none
}
.container:hover .remove a,.selectedHistory .remove a {
display: block
}
.dateTimeHistory {
position: absolute;
left: 0px;
bottom: 0px;
padding: 3px 5px 3px 30px;
color: #5a6871;
background: #132634;
height: 17px;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
width: 188px
}
.container:hover .dateTimeHistory,.selectedHistory .dateTimeHistory {
display: block;
background: #1f313f
}
/*JQGrid scroll y position for extended column*/
.customeCloumnExtended .ui-jqgrid-view .jspVerticalBar {
right: 20px !important;
}
/* Notification Widhow pop up */
/*--Tooltip Styles--*/
.tip_trigger {
position: relative;
}
.tip_trigger:hover {
background: #1f313f;
}
.tip_trigger.active {
background: #1f313f;
}
.tabMessageMasterBlock {
padding: 0;
}
.severeMessageBlock {
display: inline;
}
.tooltip:hover {
display: block;
}
.tooltip {
color: #fff;
display: none; /*--Hides by default--*/
position: absolute;
z-index: 1000;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
right: 271px;
color: #FFF;
width: 280px;
}
.tooltip .content {
background: #283649;
border: 1px solid #889eb9;
width: 277px;
min-height: 60px;
}
.bubble-arrow {
position: absolute;
bottom: 20px;
right: -11px;
background: url(../images/bubble_arrow.png) no-repeat;
width: 10px;
height: 15px;
display: block;
}
.tooltip .content h3 {
color: #d0d5d9;
background: #142e41;
padding: 10px;
border-bottom: 1px solid #4e6277;
}
.tooltip .content p {
color: #949ba4;
background: #283649;
padding: 0;
margin: 0 10px;
font-size: 12px;
}
.tooltip .tooltipcontent {
margin: 10px 0;
height: 100px;
}
.notifications {
border-top: 1px solid #4E6277;
margin: 10px 10px;
padding: 5px 0 0 0;
}
.notifications ul {
list-style: none;
margin-bottom: 10px;
}
.notifications ul li {
display: inline-block;
margin-right: 5px;
}
.copyNotification {
background: url(../images/copy_icon.png) center center no-repeat;
width: 20px;
height: 20px;
display: block;
}
.copyNotification:hover {
background: url(../images/copy_icon.png) center center #8A9096 no-repeat;
}
.copyNotification:active {
background: url(../images/copy_icon.png) center center #A7BCD1 no-repeat;
}
.acknowledgedTick {
background: url(../images/correct_icon.png) center center no-repeat;
width: 20px;
height: 20px;
display: block;
}
.acknowledgedTick:hover {
background: url(../images/correct_icon.png) center center #8A9096
no-repeat;
}
.acknowledgedTick:active {
background: url(../images/correct_icon.png) center center #A7BCD1
no-repeat;
}
#allAlertScrollPane { /*overflow:visible !important;*/
}
#allAlertScrollPane .jspContainer { /*overflow:visible;*/
}
/* .tip_trigger .severeMessageBlock{
background:url(../images/correct_small_icon.png) left center no-repeat;
display:block;
padding:0 0 0 20px;
}
.tip_trigger .errorMessageBlock{
display:block;
padding:0 0 0 20px;
} */
.tip_trigger .tabMessageDateBlock {
padding-left: 20px;
}
.tip_trigger .tabInfo {
background: url(../images/info-msg-icon.png) no-repeat left center;
padding-left: 20px !important;
}
.tip_trigger .tabWarning {
background: url(../images/warning-msg-icon.png) no-repeat left center;
padding-left: 20px !important;
}
.tip_trigger .tabError {
background: url(../images/error-msg-icon.png) no-repeat left center;
padding-left: 20px !important;
}
.tip_trigger .tabSevere {
background: url(../images/severe-msg-icon.png) no-repeat left center;
padding-left: 20px !important;
}
.tip_trigger .graytickmark {
background: url(../images/correct_icon.png) left center no-repeat;
padding-left: 20px;
}
.tip_trigger .whitetickmark {
background: url(../images/correct_small_icon.png) left center no-repeat;
padding-left: 20px;
}
.tip_trigger .notickmark {
padding-left: 20px;
}
.tabMessageDetailsBlock {
display: block;
white-space: nowrap;
width: 130p;
text-overflow: ellipsis;
overflow: hidden;
}
.tooltip .content h3.tabError {
background: url(../images/error-msg-icon.png) #142e41 no-repeat 3px
center;
padding: 10px 10px 10px 20px !important;
}
.tooltip .content h3.tabSevere {
background: url(../images/severe-msg-icon.png) #142e41 no-repeat 3px
center;
padding: 10px 10px 10px 20px !important;
}
.tooltip .content h3.tabWarning {
background: url(../images/warning-msg-icon.png) #142e41 no-repeat 3px
center;
padding: 10px 10px 10px 20px !important;
}
.tooltip .content h3.tabInfo {
background: url(../images/info-msg-icon.png) #142e41 no-repeat 3px
center;
padding: 10px 10px 10px 20px !important;
}
.tooltip .closePopup {
position: absolute;
top: 0;
right: 0px;
}
.tip_trigger .tooltip .tabMessageDateBlock {
padding-left: 0;
font-size: 0.9em;
margin-top: 5px;
}
/*----------------------------Footer starts---------------------------------------*/
/*----------------------------Footer ends---------------------------------------*/
/*----------------------------Query Statistics starts---------------------------------------*/
.subHeader {
margin: 0;
padding: 0;
background: #202b39;
border-top: 1px solid #37414d;
border-bottom: 1px solid #0f1c25;
}
.subHeader ul {
margin: 0 0 0 0;
padding: 0;
}
.subHeader ul li {
float: left;
}
.subHeader ul li a {
color: #89939a;
padding: 8px 15px;
display: block;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
}
.subHeader ul li a:hover {
color: #fff;
}
.subHeader ul li a.active {
background: #0f1c25;
color: #fff;
border-left: 1px solid #37414d;
border-right: 1px solid #37414d;
}
.searchBlockMasterQS {
background: #0f1c25;
width: 206px;
float: left;
border-radius: 3px;
box-shadow: 0 1px 0 0 #27333b;
height: 25px;
}
.searchButtonQS {
width: 18px;
height: 18px;
background: url(../images/searchIcon.png) center center no-repeat;
border: 0px;
cursor: pointer;
float: left;
margin: 4px;
}
.searchBoxQueryStatistics {
float: left;
width: 170px;
padding: 3px !important;
height: 19px;
border: 0px !important;
background: #0f1c25;
color: #b7b9bb !important
}
.backgroundQueryStats {
background: none repeat scroll 0 0 #132634;
}
/*----------------------------Query Statistics ends---------------------------------------*/
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.leftTopSplitterSpacing.top_panel .active{
display: block;
padding: 2px 10px;
}
.leftTopSplitterSpacing.top_panel .rightInnerBlocks {
line-height: 30px;
}
.leftTopSplitterSpacing.top_panel .canvasBlockInnerBlock{
background: none;
}
.bottom_panel .btm_pnl{
line-height: 30px;
}
.bottom_panel .btm_pnl.rightInnerBlocks a.active{
display: block;
padding:2px 10px;
}
.jspCorner{
display:none;
}
/* Cluster Page Widget for Cluster Members and Data */
.members_data {
position: relative;
width: 100px;
display: block;
height: 40px;
}
.members_data ul {
list-style: none;
overflow-y: hidden;
position: absolute;
display: block;
z-index: 2;
width:200px;
height:40px !important;
}
.members_data ul li {
display: block;
width: 90px;
text-align: center;
background: #202B39;
height: 38px;
float: left;
}
.members_data ul li.selected {
background: #132634;
border: 1px solid #202b39;
border-top: 3px solid #D2D5D7;
}
.members_data ul.active li.selected {
background: #202b39;
border: 1px solid #202b39;
}
.members_data ul li a {
padding: 5px;
line-height: 30px;
height: 28px;
vertical-align: middle;
display: block;
color: #89939A;
font-weight: bold;
}
.members_view {
position: relative;
margin-left: 15px;
margin-bottom: 10px;
}
.members_view ul {
list-style: none;
}
.members_view ul li {
float: left;
}
.label_radio {
padding-left: 25px;
width: auto;
height: 17px;
display: block;
background: url(../images/radio-off.png) no-repeat;
margin-right: 10px;
color: #D2D5D7;
font-weight: normal;
}
.label_radio input[type="radio"] {
position: absolute;
left: -9999px;
}
.label_radio.r_on {
background: url(../images/radio-on.png) no-repeat;
}
.chartIcon.active {
background: url(../images/chart-active.png) no-repeat center center;
width: 17px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px 10px 10px 5px;
}
.gridIcon.active {
background: url(../images/grid-active.png) no-repeat center center;
width: 17px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px 10px 10px 5px;
border-right: 1px solid #3C4A5B;
}
.graphIcon.active {
background: url(../images/graph-active.png) no-repeat center center;
width: 17px;
height: 17px;
float: right;
cursor: pointer;
padding: 10px 10px 10px 5px;
}
.treemapNodeLabeltext {
color: #FFFFFF;
font-size: 11px
}
.treemapRootNodeLabeltext {
background-color: #132634;
height: 15px;
}
/* End of Cluster Page Widget for Cluster Members and Data */
.memoryUsageBlock .pointGridDataView .dataViewUsedMasterBlock {
width:222px;
}
.memoryUsageBlock .pointGridDataView .dataViewUsedMasterBlock .dataUsedProgressbar {
margin-top: 10px;
width: 218px;
}
.graphborder{
border:1px solid #364652;
width:100%;
}
.graphborder .lineGraph{
margin:5px 3px;
}
.popup {
background: #202B39;
}
.popup .header{
width:350px;
background: #132634;
height: 40px;
line-height: 40px;
}
.popup .statusmasterBlock {
background: #202B39;
border-top: 1px solid #37414D;
margin-bottom: 0px;
float: none;
width: 100%;
}
.popup .content .canvasContentBlock{
padding:10px 0px 0px 0px;
width: 330px;
min-height: 150px;
margin:0 10px 10px 10px;
}
.graphbox{
width:100%;
}
.graphbox img{
width:100%;
margin:5px;
}
.breadCrumbs .breadCrumbArrow{
min-height:12px;
}
.regionIconDisplay {
background: url("../images/regionIcons.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
height: 15px;
margin-right: 10px;
padding-left: 25px;
}
/* loading symbol */
.loaderParent{
position: relative;
}
.loader {
left: 400px;
position: absolute;
top: 75px;
z-index: 999999;
height: 25px;
width: 25px;
background: url(../images/ui-anim_basic_16x16.gif) no-repeat center center;
display: none;
}
/* loading symbol */
/* For Data Browser */
#loaderSymbolWrapper .loader{
top: 6px;
}
.split {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
overflow-y: auto;
overflow-x: hidden;
}
.gutter {
background-color: #0f1c25;
background-repeat: no-repeat;
background-position: 50%;
}
.gutter.gutter-horizontal {
background-image: url('grips/vertical.png');
cursor: ew-resize;
}
.gutter.gutter-vertical {
background-image: url('grips/horizontal.png');
cursor: ns-resize;
}
.split.split-horizontal, .gutter.gutter-horizontal {
height: 100%;
float: left;
}
/* End For Data Browser */ | {
"content_hash": "b109453107efd7cf0bf74609cf3032ed",
"timestamp": "",
"source": "github",
"line_count": 3088,
"max_line_length": 110,
"avg_line_length": 15.921955958549223,
"alnum_prop": 0.6856021315109728,
"repo_name": "shankarh/geode",
"id": "32ee3d13e9e1d7d927c2ec89924ddac4b02c9c0b",
"size": "49976",
"binary": false,
"copies": "8",
"ref": "refs/heads/develop",
"path": "geode-pulse/src/main/webapp/css/style.css",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "106707"
},
{
"name": "Groovy",
"bytes": "2928"
},
{
"name": "HTML",
"bytes": "3989323"
},
{
"name": "Java",
"bytes": "26692657"
},
{
"name": "JavaScript",
"bytes": "1781013"
},
{
"name": "Ruby",
"bytes": "6751"
},
{
"name": "Scala",
"bytes": "236394"
},
{
"name": "Shell",
"bytes": "43900"
}
],
"symlink_target": ""
} |
package com.intellij.spellchecker.state;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import com.intellij.spellchecker.dictionary.Dictionary;
import com.intellij.spellchecker.dictionary.Loader;
import com.intellij.spellchecker.dictionary.Processor;
import org.jetbrains.annotations.NotNull;
import java.util.Set;
public class StateLoader implements Loader {
private Project project;
private Dictionary dictionary;
public StateLoader(Project project) {
this.project = project;
}
public void load(@NotNull Processor processor) {
AggregatedDictionaryState state = ServiceManager.getService(project, AggregatedDictionaryState.class);
state.setProject(project);
state.loadState();
dictionary = state.getDictionary();
final Set<String> storedWords = dictionary.getWords();
if (storedWords!=null){
for (String word : storedWords) {
processor.process(word);
}
}
}
public Dictionary getDictionary() {
return dictionary;
}
}
| {
"content_hash": "b309c788dc07199e8d1e3b2a50873e2d",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 110,
"avg_line_length": 26.80952380952381,
"alnum_prop": 0.7051509769094139,
"repo_name": "jexp/idea2",
"id": "c48e1d56b94d56887ea755ea781701cdb4036604",
"size": "1726",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "plugins/spellchecker/src/com/intellij/spellchecker/state/StateLoader.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "6350"
},
{
"name": "C#",
"bytes": "103"
},
{
"name": "C++",
"bytes": "30760"
},
{
"name": "Erlang",
"bytes": "10"
},
{
"name": "Java",
"bytes": "72888555"
},
{
"name": "JavaScript",
"bytes": "910"
},
{
"name": "PHP",
"bytes": "133"
},
{
"name": "Perl",
"bytes": "6523"
},
{
"name": "Shell",
"bytes": "4068"
}
],
"symlink_target": ""
} |
<?php
namespace Commercetools\Core\Helper\Subscriber\Log;
use Psr\Log\LoggerTrait;
use Psr\Log\LoggerInterface;
/**
* Simple logger implementation that can write to a function, resource, or
* uses echo() if nothing is provided.
*/
class SimpleLogger implements LoggerInterface
{
use LoggerTrait;
private $writeTo;
public function __construct($writeTo = null)
{
$this->writeTo = $writeTo;
}
public function log($level, $message, array $context = array())
{
if (is_resource($this->writeTo)) {
fwrite($this->writeTo, "[{$level}] {$message}\n");
} elseif (is_callable($this->writeTo)) {
call_user_func($this->writeTo, "[{$level}] {$message}\n");
} else {
echo "[{$level}] {$message}\n";
}
}
}
| {
"content_hash": "0ba2f9fe0b6ae5e371af0f7651b12031",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 74,
"avg_line_length": 24.424242424242426,
"alnum_prop": 0.5992555831265509,
"repo_name": "sphereio/sphere-php-sdk",
"id": "6b7a4f13a8e098f153c3b8a43f1390cdf83f488a",
"size": "2030",
"binary": false,
"copies": "2",
"ref": "refs/heads/renovate/all",
"path": "src/Core/Helper/Subscriber/Log/SimpleLogger.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "288"
},
{
"name": "CSS",
"bytes": "7510"
},
{
"name": "Cucumber",
"bytes": "205537"
},
{
"name": "HTML",
"bytes": "49434"
},
{
"name": "JavaScript",
"bytes": "35176"
},
{
"name": "PHP",
"bytes": "1743251"
},
{
"name": "Shell",
"bytes": "1990"
}
],
"symlink_target": ""
} |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
// specific language governing permissions and limitations under the License.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by DAIMTO-Google-apis-Sample-generator 1.0.0
// Template File Name: methodTemplate.tt
// Build date: 2017-10-08
// PHP generator version: 1.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
// About
//
// Unofficial sample for the SQL Admin v1beta3 API for PHP.
// This sample is designed to be used with the Google PHP client library. (https://github.com/google/google-api-php-client)
//
// API Description: Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases.
// API Documentation Link https://cloud.google.com/sql/docs/reference/latest
//
// Discovery Doc https://www.googleapis.com/discovery/v1/apis/sqladmin/v1beta3/rest
//
//------------------------------------------------------------------------------
// Installation
//
// The preferred method is via https://getcomposer.org. Follow the installation instructions https://getcomposer.org/doc/00-intro.md
// if you do not already have composer installed.
//
// Once composer is installed, execute the following command in your project root to install this library:
//
// composer require google/apiclient:^2.0
//
//------------------------------------------------------------------------------
// Load the Google API PHP Client Library.
require_once __DIR__ . '/vendor/autoload.php';
session_start();
/***************************************************
* Include this line for service account authencation. Note: Not all APIs support service accounts.
//require_once __DIR__ . '/ServiceAccount.php';
* Include the following four lines Oauth2 authencation.
* require_once __DIR__ . '/Oauth2Authentication.php';
* $_SESSION['mainScript'] = basename($_SERVER['PHP_SELF']); // Oauth2callback.php will return here.
* $client = getGoogleClient();
* $service = new Google_Service_Sqladmin($client);
****************************************************/
// Option paramaters can be set as needed.
$optParams = array(
'fields' => '*'
);
// Single Request.
$results = instancesExportExample($service, $project, $instance, $optParams);
/**
* Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a MySQL dump file.
* @service Authenticated Sqladmin service.
* @optParams Optional paramaters are not required by a request.
* @instance Cloud SQL instance ID. This does not include the project ID.
* @project Project ID of the project that contains the instance to be exported.
* @return InstancesExportResponse
*/
function instancesExportExample($service, $project, $instance, $optParams)
{
try
{
// Parameter validation.
if ($service == null)
throw new Exception("service is required.");
if ($optParams == null)
throw new Exception("optParams is required.");
if (instance == null)
throw new Exception("instance is required.");
if (project == null)
throw new Exception("project is required.");
// Make the request and return the results.
return $service->instances->ExportInstances($project, $instance, $optParams);
}
catch (Exception $e)
{
print "An error occurred: " . $e->getMessage();
}
}
?>
| {
"content_hash": "9e281fb33bb96e4bc8b7ead424cff31e",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 133,
"avg_line_length": 42.642105263157895,
"alnum_prop": 0.6465070352999259,
"repo_name": "LindaLawton/Google-APIs-PHP-Samples",
"id": "625828e27a42255277f30d6634c5343224e6a556",
"size": "4053",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Samples/Cloud SQL Administration API/v1beta3/InstancesExportSample.php",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
#include "src/trace_processor/importers/proto/android_probes_tracker.h"
namespace perfetto {
namespace trace_processor {
AndroidProbesTracker::AndroidProbesTracker(TraceProcessorContext*) {}
AndroidProbesTracker::~AndroidProbesTracker() = default;
} // namespace trace_processor
} // namespace perfetto
| {
"content_hash": "95ba70a334ec1d8a88a01f462cbd1eae",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 71,
"avg_line_length": 23.923076923076923,
"alnum_prop": 0.7942122186495176,
"repo_name": "endlessm/chromium-browser",
"id": "490ac87c33b1a0a80804b96eb120b6a3591870ab",
"size": "930",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "third_party/perfetto/src/trace_processor/importers/proto/android_probes_tracker.cc",
"mode": "33188",
"license": "bsd-3-clause",
"language": [],
"symlink_target": ""
} |
package storage::ibm::ts2900::snmp::mode::hardware;
use base qw(centreon::plugins::templates::hardware);
sub set_system {
my ($self, %options) = @_;
$self->{cb_hook2} = 'snmp_execute';
$self->{thresholds} = {
default => [
['unknown', 'UNKNOWN'],
['ok', 'OK'],
['warning', 'WARNING'],
['failed', 'CRITICAL'],
['needClean', 'WARNING'], # for drive only
],
};
$self->{components_path} = 'storage::ibm::ts2900::snmp::mode::components';
$self->{components_module} = ['robot', 'drive', 'ctrl', 'ctrlpower', 'magazine'];
}
sub new {
my ($class, %options) = @_;
my $self = $class->SUPER::new(package => __PACKAGE__, %options, no_absent => 1, no_performance => 1, no_load_components => 1);
bless $self, $class;
$options{options}->add_options(arguments => {});
return $self;
}
sub snmp_execute {
my ($self, %options) = @_;
$self->{snmp} = $options{snmp};
my $oid_contStatusEntry = '.1.3.6.1.4.1.2.6.219.2.2.1.1';
my $oid_drvStatusEntry = '.1.3.6.1.4.1.2.6.219.2.2.2.1';
$self->{results} = $self->{snmp}->get_multiple_table(oids => [ { oid => $oid_contStatusEntry }, { oid => $oid_drvStatusEntry } ], return_type => 1);
}
1;
=head1 MODE
Check hardware.
=over 8
=item B<--component>
Which component to check (Default: '.*').
Can be: 'robot', 'drive', 'ctrl', 'ctrlpower', 'magazine'.
=item B<--filter>
Exclude some parts (comma seperated list)
Can also exclude specific instance: --filter=ctrl,1
=item B<--no-component>
Return an error if no compenents are checked.
If total (with skipped) is 0. (Default: 'critical' returns).
=item B<--threshold-overload>
Set to overload default threshold values (syntax: section,[instance,]status,regexp)
It used before default thresholds (order stays).
Example: --threshold-overload='drive,OK,needClean'
=back
=cut
package storage::ibm::ts2900::snmp::mode::components::common;
my %map_default_status = (1 => 'unknown', 2 => 'ok', 3 => 'warning', 4 => 'failed');
sub check {
my ($self, %options) = @_;
$self->{output}->output_add(long_msg => "Checking " . $options{description});
$self->{components}->{$options{section}} = {name => $options{section}, total => 0, skip => 0};
return if ($self->check_filter(section => $options{section}));
foreach my $oid ($self->{snmp}->oid_lex_sort(keys %{$self->{results}})) {
next if ($oid !~ /^$options{mapping}->{$options{status}}->{oid}\.(.*)$/);
my $instance = $1;
my $result = $self->{snmp}->map_instance(mapping => $options{mapping}, results => $self->{results}, instance => $instance);
next if ($self->check_filter(section => $options{section}, instance => $instance));
$self->{components}->{$options{section}}->{total}++;
$self->{output}->output_add(long_msg => sprintf("%s '%s' status is '%s' [instance = %s]",
$options{description}, $instance, $result->{$options{status}}, $instance));
my $exit = $self->get_severity(label => 'default', section => $options{section}, value => $result->{$options{status}});
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {
$self->{output}->output_add(severity => $exit,
short_msg => sprintf("%s '%s' status is '%s'", $options{description}, $instance, $result->{$options{status}}));
}
}
}
package storage::ibm::ts2900::snmp::mode::components::robot;
use strict;
use warnings;
my $mapping_robot = {
robotStatus => { oid => '.1.3.6.1.4.1.2.6.219.2.2.1.1.6', map => \%map_default_status },
};
sub load {}
sub check {
my ($self) = @_;
storage::ibm::ts2900::snmp::mode::components::common::check($self,
section => 'robot', mapping => $mapping_robot, description => 'robot', status => 'robotStatus');
}
package storage::ibm::ts2900::snmp::mode::components::ctrl;
use strict;
use warnings;
my $mapping_ctrl = {
contState => { oid => '.1.3.6.1.4.1.2.6.219.2.2.1.1.7', map => \%map_default_status },
};
sub load {}
sub check {
my ($self) = @_;
storage::ibm::ts2900::snmp::mode::components::common::check($self,
section => 'ctrl', mapping => $mapping_ctrl, description => 'controller', status => 'contState');
}
package storage::ibm::ts2900::snmp::mode::components::ctrlpower;
use strict;
use warnings;
my $mapping_ctrlpower = {
contPowerStatus => { oid => '.1.3.6.1.4.1.2.6.219.2.2.1.1.2', map => \%map_default_status },
};
sub load {}
sub check {
my ($self) = @_;
storage::ibm::ts2900::snmp::mode::components::common::check($self,
section => 'ctrlpower', mapping => $mapping_ctrlpower, description => 'controller power', status => 'contPowerStatus');
}
package storage::ibm::ts2900::snmp::mode::components::magazine;
use strict;
use warnings;
my $mapping_magazine = {
magStatus => { oid => '.1.3.6.1.4.1.2.6.219.2.2.1.1.4', map => \%map_default_status },
};
sub load {}
sub check {
my ($self) = @_;
storage::ibm::ts2900::snmp::mode::components::common::check($self,
section => 'magazine', mapping => $mapping_magazine, description => 'magazine', status => 'magStatus');
}
package storage::ibm::ts2900::snmp::mode::components::drive;
use strict;
use warnings;
my %map_drive_status = (1 => 'unknown', 2 => 'ok', 3 => 'needClean', 4 => 'warning', 5 => 'failed');
my $mapping_drive = {
driveStatus => { oid => '.1.3.6.1.4.1.2.6.219.2.2.2.1.3', map => \%map_drive_status },
};
sub load {}
sub check {
my ($self) = @_;
storage::ibm::ts2900::snmp::mode::components::common::check($self,
section => 'drive', mapping => $mapping_drive, description => 'drive', status => 'driveStatus');
}
| {
"content_hash": "3fc73e5b3cfdf11b0da3f2938e32742c",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 152,
"avg_line_length": 29.953846153846154,
"alnum_prop": 0.586372196541688,
"repo_name": "centreon/centreon-plugins",
"id": "ba214efa254f909907f76a27284218ba71e12438",
"size": "6601",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "storage/ibm/ts2900/snmp/mode/hardware.pm",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "719"
},
{
"name": "Perl",
"bytes": "21731182"
}
],
"symlink_target": ""
} |
Ember.TEMPLATES["cube"] = Ember.Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
var helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = '';
data.buffer.push("<div class=\"row\">\r\n <div class=\"col-sm-12 block\">\r\n <div>\r\n <div class=\"whitefont\">Cube Side 1 Length</div>\r\n ");
data.buffer.push(escapeExpression(((helpers.input || (depth0 && depth0.input) || helperMissing).call(depth0, {"name":"input","hash":{
'data-slider-value': ("side1Length"),
'data-slider-step': ("0.1"),
'data-slider-min': ("0"),
'type': ("text"),
'data-slider-id': ("side1Id"),
'class': ("simpleSlider"),
'id': ("side1Id")
},"hashTypes":{'data-slider-value': "ID",'data-slider-step': "STRING",'data-slider-min': "STRING",'type': "STRING",'data-slider-id': "ID",'class': "STRING",'id': "ID"},"hashContexts":{'data-slider-value': depth0,'data-slider-step': depth0,'data-slider-min': depth0,'type': depth0,'data-slider-id': depth0,'class': depth0,'id': depth0},"types":[],"contexts":[],"data":data}))));
data.buffer.push(" \r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col-sm-12 block\">\r\n <div>\r\n <div class=\"whitefont\">Cube Side 2 Length</div>\r\n ");
data.buffer.push(escapeExpression(((helpers.input || (depth0 && depth0.input) || helperMissing).call(depth0, {"name":"input","hash":{
'data-slider-value': ("side2Length"),
'data-slider-step': ("0.1"),
'data-slider-min': ("0"),
'type': ("text"),
'data-slider-id': ("side2Id"),
'class': ("simpleSlider"),
'id': ("side2Id")
},"hashTypes":{'data-slider-value': "ID",'data-slider-step': "STRING",'data-slider-min': "STRING",'type': "STRING",'data-slider-id': "ID",'class': "STRING",'id': "ID"},"hashContexts":{'data-slider-value': depth0,'data-slider-step': depth0,'data-slider-min': depth0,'type': depth0,'data-slider-id': depth0,'class': depth0,'id': depth0},"types":[],"contexts":[],"data":data}))));
data.buffer.push(" \r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col-sm-12 block\">\r\n <div>\r\n <div class=\"whitefont\">Cube Depth</div>\r\n ");
data.buffer.push(escapeExpression(((helpers.input || (depth0 && depth0.input) || helperMissing).call(depth0, {"name":"input","hash":{
'data-slider-value': ("depth"),
'data-slider-step': ("0.1"),
'data-slider-min': ("0"),
'type': ("text"),
'data-slider-id': ("depthId"),
'class': ("simpleSlider"),
'id': ("depthId")
},"hashTypes":{'data-slider-value': "ID",'data-slider-step': "STRING",'data-slider-min': "STRING",'type': "STRING",'data-slider-id': "ID",'class': "STRING",'id': "ID"},"hashContexts":{'data-slider-value': depth0,'data-slider-step': depth0,'data-slider-min': depth0,'type': depth0,'data-slider-id': depth0,'class': depth0,'id': depth0},"types":[],"contexts":[],"data":data}))));
data.buffer.push(" \r\n </div>\r\n </div>\r\n</div>");
return buffer;
},"useData":true}); | {
"content_hash": "705e32a0cc20667b1bb463be61d9871c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 379,
"avg_line_length": 90.05714285714286,
"alnum_prop": 0.5913705583756346,
"repo_name": "Si-elegans/Web-based_GUI_Tools",
"id": "2620d6ee9139e55a046ea4f941b79701bd891101",
"size": "3152",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "static-src/js/ember.js/templates/EnvironmentTemplates/cube.js",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "183432"
},
{
"name": "HTML",
"bytes": "821815"
},
{
"name": "JavaScript",
"bytes": "5240621"
},
{
"name": "Python",
"bytes": "2130547"
}
],
"symlink_target": ""
} |
Java for testers
| {
"content_hash": "61ebf1b8e1419c3454d63be04cbd3a24",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 16,
"avg_line_length": 17,
"alnum_prop": 0.8235294117647058,
"repo_name": "DiTheGrey/java_pft",
"id": "540be912fe899d8870b06c50653eb5bd00634987",
"size": "28",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "3051"
}
],
"symlink_target": ""
} |
require 'json'
module LogglyRubyClient
class CLI
class Search
def search
opts = read_options
s = LogglyRubyClient::Search.new :domain => opts[:domain],
:username => opts[:username],
:password => opts[:password],
:account => opts[:account]
result = s.search :input => opts[:input],
:from => opts[:from],
:until => opts[:until],
:query => opts[:query],
:rows => opts[:rows]
if result["code"] == "200"
jj result["body"]
else
puts "Error: #{result["error"]}"
exit 1
end
end
def read_options
Trollop::options do
version LogglyRubyClient::VERSION
banner <<-EOS
Search Loggly
Usage:
loggly-ruby-client search -a account -q query
EOS
opt :help, "Display Help"
opt :account, "Read domain, username and password from account in ~/.loggly-ruby-client.yml", :type => :string,
:default => 'default'
opt :domain, "Loggly Account Domain", :type => :string
opt :from, "From Date", :type => :string,
:default => 'NOW-1HOUR'
opt :input, "Input To Search", :type => :string,
:multi => true
opt :until, "Until Date", :type => :string,
:short => :none
opt :query, "Query (multiple will be joined with AND)", :type => :string,
:multi => true
opt :password, "Loggly Password", :type => :string
opt :rows, "Rows To Return", :type => :string
opt :username, "Loggly Username", :type => :string
end
end
end
end
end
| {
"content_hash": "c88e26bf78664e1836b024bb558abf32",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 124,
"avg_line_length": 33.4,
"alnum_prop": 0.44011976047904194,
"repo_name": "brettweavnet/loggly-ruby-client",
"id": "d88653519aee5f09232da591baaf4d3d272f16d1",
"size": "2004",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/loggly-ruby-client/cli/search.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Ruby",
"bytes": "18021"
}
],
"symlink_target": ""
} |
require_dependency 'lit/api/v1/base_controller'
module Lit
class Api::V1::LocalizationKeysController < Api::V1::BaseController
def index
@localization_keys = LocalizationKey
if params[:after].present?
@localization_keys = @localization_keys.after(DateTime.parse(params[:after])).to_a
else
@localization_keys = @localization_keys.all
end
render json: @localization_keys.as_json(root: false, only: [:id, :localization_key])
end
end
end
| {
"content_hash": "f5afc44f11f3041424d6dd5c025cd150",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 90,
"avg_line_length": 32.86666666666667,
"alnum_prop": 0.6876267748478702,
"repo_name": "mlitwiniuk/lit",
"id": "c5d37c17a79e0c808c60f97e8de4bab26d662c50",
"size": "493",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "app/controllers/lit/api/v1/localization_keys_controller.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "13619"
},
{
"name": "CoffeeScript",
"bytes": "1903"
},
{
"name": "HTML",
"bytes": "24028"
},
{
"name": "JavaScript",
"bytes": "37444"
},
{
"name": "Ruby",
"bytes": "129868"
}
],
"symlink_target": ""
} |
package com.mikesantiago.javarpgengine.core;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import javax.swing.JOptionPane;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
import com.mikesantiago.javarpgengine.GDX2;
import com.mikesantiago.javarpgengine.handlers.GlobalVariables;
public class TileGrid
{
public Tile[][] map;
private ShapeRenderer sr = new ShapeRenderer();
private float totalWidth, totalHeight;
private Player tempPlayer = new Player();
public TileGrid()
{
map = new Tile[40][40]; //technically 41x41?
for(int x = 0; x < map.length; x++)
{
for(int y = 0; y < map[x].length; y++)
{
map[x][y] = new Tile(x * 32, y * 32, 32, 32, TileType.Grass, false);
}
}
totalWidth = 40 * 32;
totalHeight = 40 * 32;
}
public TileGrid(int w, int h)
{
map = new Tile[w][h];
for(int x = 0; x < map.length; x++)
{
for(int y = 0; y < map[x].length; y++)
{
map[x][y] = new Tile(x * 32, y * 32, 32, 32, TileType.Grass, false);
}
}
totalWidth = w * 32;
totalHeight = h * 32;
}
public void WriteTileGridInformation()
{
try
{
File tileGridFile = new File(GlobalVariables.decodedPath + "/save/test/tiles.jte2");
FileWriter writer = new FileWriter(tileGridFile.getAbsolutePath());
System.out.println("writing save file to '" + tileGridFile.getAbsolutePath() + "'");
for(int x = 0; x < map.length; x++)
{
for(int y = 0; y < map[x].length; y++)
{
//type:tiledX:tiledY:width:height:floorTile
Tile retrieved = map[x][y];
int isFloor = (retrieved.isFloorTile()) ? 1 : 0;
String formatted = String.format("%s:%s:%s:%s:%s:%s\n",
retrieved.getType().ordinal(),
retrieved.getTiledX(),
retrieved.getTiledY(),
32,
32,
isFloor);
writer.write(formatted);
}
}
writer.flush();
writer.close();
System.out.println("written!");
System.out.println("writing map metadata..");
{
WriteMapMetadata();
}
System.out.println("written!");
}
catch(Exception ex)
{
JOptionPane.showMessageDialog(null, ex.getStackTrace().toString(), "An Error Occurred While Trying to Save", JOptionPane.ERROR_MESSAGE);
ex.printStackTrace();
}
}
public Player tempPlayer(){return tempPlayer;}
private void WriteMapMetadata()
{
File metaDataFile = new File(GlobalVariables.decodedPath + "/save/test/tiles.jte2meta");
try
{
FileWriter writer = new FileWriter(metaDataFile.getAbsolutePath());
writer.write("w=" + map.length + "\n");
writer.write("h=" + map[0].length + "\n");
writer.flush();
writer.close();
}
catch(Exception ex)
{
//TODO: error handling or smth
}
}
private void ReadMapMetadata()
{
System.out.println("reading map metadata..");
File tileGridFile = new File(GlobalVariables.decodedPath + "/save/test/tiles.jte2meta");
try
{
FileReader reader = new FileReader(tileGridFile.getAbsolutePath());
BufferedReader br = new BufferedReader(reader);
String curLine = br.readLine();
//declare metadata
int w = 0;
int h = 0;
while(curLine != null)
{
String[] split = curLine.split("="); //works like an ini go figure right?
if(split[0].equals("w"))
{
w = Integer.parseInt(split[1]);
}
else if(split[0].equals("h"))
{
h = Integer.parseInt(split[1]);
}
curLine = br.readLine();
}
map = new Tile[w][h];
br.close();
}
catch (Exception e)
{
e.getMessage();
}
}
public void ReadTileGridInformation()
{
ReadMapMetadata();
try
{
File tileGridFile = new File(GlobalVariables.decodedPath + "/save/test/tiles.jte2");
FileReader reader = new FileReader(tileGridFile.getAbsolutePath());
BufferedReader br = new BufferedReader(reader);
String curLine = br.readLine();
System.out.println("reading file from '" + tileGridFile.getAbsolutePath() + "'");
while(curLine != null)
{
//max index of 5
String[] parts = curLine.split(":");
boolean isFloorTile;
int isFloorInt = Integer.parseInt(parts[5]);
if(isFloorInt == 0)
isFloorTile = false;
else
isFloorTile = true;
float x, y;
x = (Float.parseFloat(parts[1]) * 32);
y = (Float.parseFloat(parts[2]) * 32);
try
{
//type:tiledX:tiledY:width:height:floorTile
Tile temp = new Tile(x, y, Float.parseFloat(parts[3]), (Float.parseFloat(parts[4])),
TileType.values()[Integer.parseInt(parts[0])], isFloorTile);
map[(int)(x / 32)][(int)(y / 32)] = temp;
}
catch(Exception ex)
{
System.out.println("tried to place invalid tile at " + x + ", " + y);
}
curLine = br.readLine();
}
br.close();
tempPlayer = new Player(this);
this.totalWidth = map.length * 32;
this.totalHeight = map[0].length * 32;
}
catch(Exception ex)
{
JOptionPane.showMessageDialog(null, ex.getStackTrace().toString(), "An Error Occurred While Trying to Read the Save", JOptionPane.ERROR_MESSAGE);
}
}
public Tile getTileAt_offsetLeft(float x, float y)
{
int tx = (int)Math.floor(x / 32);
tx -= 1;
int ty = (int)Math.floor(y / 32);
if(tx < 0 || ty < 0 || tx > map.length - 1 || ty > map[0].length - 1)
{
Tile t = new Tile(0,0,32,32,TileType.Stone,false);
return t;
}
return map[tx][ty];
}
public Tile getTileAt(float x, float y)
{
int tx = (int)Math.floor((double)x / 32);
int ty = (int)Math.floor((double)y / 32);
if(tx < 0 || ty < 0 || tx > map.length - 1 || ty > map[0].length - 1)
{
Tile t = new Tile(0,0,32,32,TileType.Stone,false);
return t;
}
return map[tx][ty];
}
public void DrawCollisionRectangles(SpriteBatch sb)
{
boolean hadToStart = false;
ShapeRenderer rend = new ShapeRenderer();
if(!sb.isDrawing())
{sb.begin(); hadToStart = true;}
rend.begin(ShapeType.Filled);
rend.setProjectionMatrix(GlobalVariables.maincamera.combined);
for(int x = 0; x < map.length; x++)
{
for(int y = 0; y < map[x].length; y++)
{
rend.rect(map[x][y].getX() * 32, map[x][y].getY() * 32, 32, 32);
}
}
rend.end();
if(hadToStart)
sb.end();
}
public Tile getTileAt_AutoRoundX(float x, float y)
{
int tx = (int)Math.floor((double)x / 32) + 1;
int ty = (int)Math.floor((double) y / 32);
if(tx < 0 || ty < 0 || tx > map.length - 1 || ty > map[0].length - 1)
{
Tile t = new Tile(0,0,32,32,TileType.Stone,false);
return t;
}
return map[tx][ty];
}
public Tile getTileAt_AutoRoundY(float x, float y)
{
int tx = (int)Math.floor((double)x / 32);
int ty = (int)Math.floor((double) y / 32) - 1;
if(tx < 0 || ty < 0 || tx > map.length - 1 || ty > map[0].length - 1)
{
Tile t = new Tile(0,0,32,32,TileType.Stone,false);
return t;
}
return map[tx][ty];
}
public Tile getTileAt(int tx, int ty)
{
if(tx < 0 || ty < 0 || tx > map.length - 1 || ty > map[0].length - 1)
{
Tile t = new Tile(0,0,32,32,TileType.Stone,false);
return t;
}
return map[tx][ty];
}
public void Draw(SpriteBatch sb)
{
for(int x = 0; x < map.length; x++)
{
for(int y = 0; y < map.length; y++)
{
Tile toDraw = map[x][y];
if(toDraw.isFloorTile())
{
sb.setColor(0.5f, 0.5f, 0.5f, 1);
map[x][y].Draw(sb);
sb.setColor(1f, 1f, 1f, 1f);
}
else
map[x][y].Draw(sb);
}
}
//render a temp player
tempPlayer.render(sb);
}
public void setTile(TileType tile, int tiledX, int tiledY)
{
map[tiledX][tiledY].setType(tile);
}
public void setTile(TileType tile, float x, float y)
{
map[(int)Math.floor(x / 32)][(int)Math.floor(y / 32)].setType(tile);
}
public void setTile(TileType tile, int tiledX, int tiledY, boolean isFloor)
{
if(tiledX > map.length - 1 || tiledX < 0 ||
tiledY > map[0].length - 1 || tiledY < 0)
{
System.out.println("tried to place at invalid pos " + tiledX + ", " + tiledY);
}
else
{
Tile toSet = map[tiledX][tiledY];
toSet.setType(tile);
toSet.setFloorTile(isFloor);
}
}
public void setTile(TileType tile, float x, float y, boolean isFloor)
{
Tile toSet = map[(int)Math.floor(x / 32)][(int)Math.floor(y / 32)];
toSet.setType(tile);
toSet.setFloorTile(isFloor);
}
public float getTotalWidth() {return totalWidth;}
public float getTotalHeight() {return totalHeight;}
}
| {
"content_hash": "7e7464d6fbe6a4f899c5bf798d0bdec0",
"timestamp": "",
"source": "github",
"line_count": 351,
"max_line_length": 148,
"avg_line_length": 24.262108262108264,
"alnum_prop": 0.6141380930014091,
"repo_name": "Luigifan/JavaRPGEngine",
"id": "58e947f13ca0f45bf2ae4ba0b68a350f410eba44",
"size": "8516",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "core/src/com/mikesantiago/javarpgengine/core/TileGrid.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "47598"
}
],
"symlink_target": ""
} |
"use strict";
module.exports = function(Promise) {
Promise.prototype.call = function Promise$call(propertyName) {
var $_len = arguments.length;var args = new Array($_len - 1); for(var $_i = 1; $_i < $_len; ++$_i) {args[$_i - 1] = arguments[$_i];}
return this._then(function(obj) {
return obj[propertyName].apply(obj, args);
},
void 0,
void 0,
void 0,
void 0,
this.call
);
};
function Promise$getter(obj) {
var prop = typeof this === "string"
? this
: ("" + this);
return obj[prop];
}
Promise.prototype.get = function Promise$get(propertyName) {
return this._then(
Promise$getter,
void 0,
void 0,
propertyName,
void 0,
this.get
);
};
};
| {
"content_hash": "adb63e82fcb81a8d71086623460b764f",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 140,
"avg_line_length": 27.5,
"alnum_prop": 0.4502673796791444,
"repo_name": "xhhjin/heroku-ghost",
"id": "cdd8f4fbee5f5bbdecd4bfc711634c5ac8e08685",
"size": "2081",
"binary": false,
"copies": "4",
"ref": "refs/heads/master",
"path": "node_modules/knex/node_modules/bluebird/js/zalgo/call_get.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "165743"
},
{
"name": "Handlebars",
"bytes": "51482"
},
{
"name": "JavaScript",
"bytes": "726644"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.wso2.pc</groupId>
<artifactId>wso2pc-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../../../../pom.xml</relativePath>
</parent>
<artifactId>org.wso2.carbon.pc.analytics.udf</artifactId>
<name>WSO2 Process Center Analytics - UDF</name>
<packaging>jar</packaging>
<url>http://wso2.org</url>
<build>
<finalName>PCAnalyticsUDF</finalName>
</build>
</project> | {
"content_hash": "949e6af6ee0f71b8a1547fc5e7036607",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 108,
"avg_line_length": 37.078947368421055,
"alnum_prop": 0.6827537260468417,
"repo_name": "dilini-mampitiya/product-pc",
"id": "22a9fbb2835a08392740de5b5ec639b894d2d20a",
"size": "1409",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "modules/components/analytics/udf/org.wso2.carbon.pc.analytics.udf/pom.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "334959"
},
{
"name": "HTML",
"bytes": "209696"
},
{
"name": "Java",
"bytes": "172322"
},
{
"name": "JavaScript",
"bytes": "3247586"
},
{
"name": "Shell",
"bytes": "3692"
}
],
"symlink_target": ""
} |
using System.Collections.Generic;
using ZKWeb.Localize;
using ZKWebStandard.Extensions;
using ZKWebStandard.Ioc;
namespace ZKWeb.Plugins.Common.MenuPage.src.Components.Translates {
/// <summary>
/// 日本语翻译
/// </summary>
[ExportMany, SingletonReuse]
public class ja_JP : ITranslateProvider {
private static HashSet<string> Codes = new HashSet<string>() { "ja-JP" };
private static Dictionary<string, string> Translates = new Dictionary<string, string>()
{
{ "Menu Page Functions", "メニュー型ページの機能" },
{ "Functions for building menu page", "メニュー型ページを構築するための機能" }
};
public bool CanTranslate(string code) {
return Codes.Contains(code);
}
public string Translate(string text) {
return Translates.GetOrDefault(text);
}
}
}
| {
"content_hash": "c6b00acbbe3aa27ec02b8a2e7e80eb80",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 89,
"avg_line_length": 28.88888888888889,
"alnum_prop": 0.6961538461538461,
"repo_name": "303248153/ZKWeb.Plugins",
"id": "1c8fec322ff51641771346fea6715f9db889ebf1",
"size": "850",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "src/ZKWeb.Plugins/Common.MenuPage/src/Components/Translates/ja_JP.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C#",
"bytes": "860708"
},
{
"name": "CSS",
"bytes": "242666"
},
{
"name": "HTML",
"bytes": "30396"
},
{
"name": "JavaScript",
"bytes": "94858"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2011 Google Inc. All Rights Reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:orientation="vertical"
android:gravity="center" android:layout_gravity="center|top"
android:layout_width="fill_parent">
<TextView android:text="Libraries used by Paco"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:textSize="25dip"></TextView>
<TextView android:text="We are grateful for their contributions."
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:textSize="15dip"></TextView>
<ListView android:layout_width="match_parent"
android:layout_height="match_parent" android:id="@+id/libList"
android:layout_gravity="center"></ListView>
</LinearLayout>
| {
"content_hash": "534d96e21cf7b850a7680d4b236786d3",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 80,
"avg_line_length": 46.53125,
"alnum_prop": 0.7427803895231699,
"repo_name": "jaythaceo/paco",
"id": "262a4215419213e2d75fb6fdcb598e519271a889",
"size": "1489",
"binary": false,
"copies": "6",
"ref": "refs/heads/develop",
"path": "Paco/res/layout/activity_opensource_libs.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "1407"
},
{
"name": "CSS",
"bytes": "388932"
},
{
"name": "GAP",
"bytes": "5948"
},
{
"name": "HTML",
"bytes": "3605333"
},
{
"name": "Java",
"bytes": "1919629"
},
{
"name": "JavaScript",
"bytes": "1033266"
},
{
"name": "Objective-C",
"bytes": "3939176"
},
{
"name": "Objective-C++",
"bytes": "964"
},
{
"name": "PHP",
"bytes": "3257"
},
{
"name": "Ruby",
"bytes": "2986"
},
{
"name": "Shell",
"bytes": "86671"
}
],
"symlink_target": ""
} |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Trading\Types;
/**
*
*/
class PayPalRequiredForStoreOwnerDefinitionType extends \DTS\eBaySDK\Types\BaseType
{
/**
* @var array Properties belonging to objects of this class.
*/
private static $propertyTypes = [
];
/**
* @param array $values Optional properties and values to assign to the object.
*/
public function __construct(array $values = [])
{
list($parentValues, $childValues) = self::getParentValues(self::$propertyTypes, $values);
parent::__construct($parentValues);
if (!array_key_exists(__CLASS__, self::$properties)) {
self::$properties[__CLASS__] = array_merge(self::$properties[get_parent_class()], self::$propertyTypes);
}
if (!array_key_exists(__CLASS__, self::$xmlNamespaces)) {
self::$xmlNamespaces[__CLASS__] = 'xmlns="urn:ebay:apis:eBLBaseComponents"';
}
$this->setValues(__CLASS__, $childValues);
}
}
| {
"content_hash": "598798a68bac58689989c7bbc0df8830",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 116,
"avg_line_length": 27.6046511627907,
"alnum_prop": 0.6276326874473462,
"repo_name": "davidtsadler/ebay-sdk-php",
"id": "6e0f5549067b2df658de6d5f8f4661f3215dd131",
"size": "1187",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Trading/Types/PayPalRequiredForStoreOwnerDefinitionType.php",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Makefile",
"bytes": "10944"
},
{
"name": "PHP",
"bytes": "9958599"
}
],
"symlink_target": ""
} |
package rx.operators;
import static org.mockito.Mockito.*;
import static rx.operators.OperationAll.*;
import org.junit.Test;
import rx.Observable;
import rx.Observer;
import rx.functions.Func1;
public class OperationAllTest {
@Test
@SuppressWarnings("unchecked")
public void testAll() {
Observable<String> obs = Observable.from("one", "two", "six");
Observer<Boolean> observer = mock(Observer.class);
Observable.create(all(obs, new Func1<String, Boolean>() {
@Override
public Boolean call(String s) {
return s.length() == 3;
}
})).subscribe(observer);
verify(observer).onNext(true);
verify(observer).onCompleted();
verifyNoMoreInteractions(observer);
}
@Test
@SuppressWarnings("unchecked")
public void testNotAll() {
Observable<String> obs = Observable.from("one", "two", "three", "six");
Observer<Boolean> observer = mock(Observer.class);
Observable.create(all(obs, new Func1<String, Boolean>() {
@Override
public Boolean call(String s) {
return s.length() == 3;
}
})).subscribe(observer);
verify(observer).onNext(false);
verify(observer).onCompleted();
verifyNoMoreInteractions(observer);
}
@Test
@SuppressWarnings("unchecked")
public void testEmpty() {
Observable<String> obs = Observable.empty();
Observer<Boolean> observer = mock(Observer.class);
Observable.create(all(obs, new Func1<String, Boolean>() {
@Override
public Boolean call(String s) {
return s.length() == 3;
}
})).subscribe(observer);
verify(observer).onNext(true);
verify(observer).onCompleted();
verifyNoMoreInteractions(observer);
}
@Test
@SuppressWarnings("unchecked")
public void testError() {
Throwable error = new Throwable();
Observable<String> obs = Observable.error(error);
Observer<Boolean> observer = mock(Observer.class);
Observable.create(all(obs, new Func1<String, Boolean>() {
@Override
public Boolean call(String s) {
return s.length() == 3;
}
})).subscribe(observer);
verify(observer).onError(error);
verifyNoMoreInteractions(observer);
}
}
| {
"content_hash": "aa7dca00f6715d51f0a18c9dba793c6c",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 79,
"avg_line_length": 28.372093023255815,
"alnum_prop": 0.5934426229508196,
"repo_name": "devisnik/RxJava",
"id": "e7940a05835185f5deb8c4999cad5150f8967a12",
"size": "3036",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "rxjava-core/src/test/java/rx/operators/OperationAllTest.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "2171"
},
{
"name": "Clojure",
"bytes": "118625"
},
{
"name": "Groovy",
"bytes": "62285"
},
{
"name": "Java",
"bytes": "2864731"
},
{
"name": "Kotlin",
"bytes": "25477"
},
{
"name": "Ruby",
"bytes": "12912"
},
{
"name": "Scala",
"bytes": "242959"
},
{
"name": "Shell",
"bytes": "7394"
}
],
"symlink_target": ""
} |
namespace Merchello.Core.Services
{
/// <summary>
/// Defines the ServiceContext, which provides access to the following services:
/// <see cref="ICustomerService"/>
/// </summary>
public interface IServiceContext
{
/// <summary>
/// Gets the <see cref="IAuditLogService"/>
/// </summary>
IAuditLogService AuditLogService { get; }
/// <summary>
/// Gets the <see cref="ICustomerService"/>
/// </summary>
ICustomerService CustomerService { get; }
/// <summary>
/// Gets the <see cref="IDigitalMediaService"/>.
/// </summary>
IDigitalMediaService DigitalMediaService { get; }
/// <summary>
/// Gets the <see cref="IEntityCollectionService"/>.
/// </summary>
IEntityCollectionService EntityCollectionService { get; }
/// <summary>
/// Gets the <see cref="IGatewayProviderService"/>
/// </summary>
IGatewayProviderService GatewayProviderService { get; }
/// <summary>
/// Gets the <see cref="IInvoiceService"/>
/// </summary>
IInvoiceService InvoiceService { get; }
/// <summary>
/// Gets the <see cref="ItemCacheService"/>
/// </summary>
IItemCacheService ItemCacheService { get; }
/// <summary>
/// Gets the <see cref="IOrderService"/>
/// </summary>
IOrderService OrderService { get; }
/// <summary>
/// Gets the offer settings service.
/// </summary>
IOfferSettingsService OfferSettingsService { get; }
/// <summary>
/// Gets the <see cref="IPaymentService"/>
/// </summary>
IPaymentService PaymentService { get; }
/// <summary>
/// Gets the <see cref="IProductService"/>
/// </summary>
IProductService ProductService { get; }
/// <summary>
/// Gets the <see cref="IProductVariantService"/>
/// </summary>
IProductVariantService ProductVariantService { get; }
///// <summary>
///// Gets the <see cref="IShipCountryService"/>
///// </summary>
//IShipCountryService ShipCountryService { get; }
/// <summary>
/// Gets the <see cref="IStoreSettingService"/>
/// </summary>
IStoreSettingService StoreSettingService { get; }
/// <summary>
/// Gets the <see cref="IShipmentService"/>
/// </summary>
IShipmentService ShipmentService { get; }
/// <summary>
/// Gets the <see cref="IWarehouseService"/>
/// </summary>
IWarehouseService WarehouseService { get; }
}
}
| {
"content_hash": "ed1fa9c569096f2482a18f7371cce9ee",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 84,
"avg_line_length": 29.967032967032967,
"alnum_prop": 0.5500550055005501,
"repo_name": "MindfireTechnology/Merchello",
"id": "022b3a2598c817fcfa1480c6d4cef7a39213107d",
"size": "2729",
"binary": false,
"copies": "1",
"ref": "refs/heads/merchello-dev",
"path": "src/Merchello.Core/Services/Interfaces/IServiceContext.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP",
"bytes": "351071"
},
{
"name": "Batchfile",
"bytes": "2630"
},
{
"name": "C#",
"bytes": "6606258"
},
{
"name": "CSS",
"bytes": "480082"
},
{
"name": "Erlang",
"bytes": "1782"
},
{
"name": "HTML",
"bytes": "1418440"
},
{
"name": "JavaScript",
"bytes": "8149878"
},
{
"name": "XSLT",
"bytes": "48541"
}
],
"symlink_target": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.