tenon 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tenon/version.rb +1 -1
  3. data/vendor/assets/images/Jcrop.gif +0 -0
  4. data/vendor/assets/javascripts/backstretch.js +4 -0
  5. data/vendor/assets/javascripts/bootstrap.collapse.js +179 -0
  6. data/vendor/assets/javascripts/bootstrap.datetimepicker.js +954 -0
  7. data/vendor/assets/javascripts/bootstrap.js +561 -0
  8. data/vendor/assets/javascripts/bootstrap.modal.js +246 -0
  9. data/vendor/assets/javascripts/bootstrap.tabs.js +135 -0
  10. data/vendor/assets/javascripts/canvasjs.min.js +343 -0
  11. data/vendor/assets/javascripts/cufon/Aller_400.font.js +7 -0
  12. data/vendor/assets/javascripts/cufon/Aller_700.font.js +7 -0
  13. data/vendor/assets/javascripts/cufon/cufon.js +7 -0
  14. data/vendor/assets/javascripts/imagesloaded.js +7 -0
  15. data/vendor/assets/javascripts/jquery.Jcrop.js +1704 -0
  16. data/vendor/assets/javascripts/jquery.corner.js +249 -0
  17. data/vendor/assets/javascripts/jquery.debounce.js +9 -0
  18. data/vendor/assets/javascripts/jquery.equalHeights.js +52 -0
  19. data/vendor/assets/javascripts/jquery.form.js +911 -0
  20. data/vendor/assets/javascripts/jquery.hoverIntent.js +115 -0
  21. data/vendor/assets/javascripts/jquery.mousewheel.js +78 -0
  22. data/vendor/assets/javascripts/jquery.radioSlider.js +55 -0
  23. data/vendor/assets/javascripts/jquery.twoLevelSort.js +57 -0
  24. data/vendor/assets/javascripts/jquery.ui.sortable.js +2252 -0
  25. data/vendor/assets/javascripts/jscrollpane.js +1435 -0
  26. data/vendor/assets/javascripts/moment.js +6 -0
  27. data/vendor/assets/javascripts/select2.js +3448 -0
  28. data/vendor/assets/javascripts/underscore.inflection.js +177 -0
  29. data/vendor/assets/javascripts/underscore.string.js +1 -0
  30. data/vendor/assets/javascripts/uri.js +53 -0
  31. data/vendor/assets/stylesheets/bootstrap.css.scss +560 -0
  32. data/vendor/assets/stylesheets/bootstrap.datetimepicker.css +152 -0
  33. data/vendor/assets/stylesheets/bootstrap.tables.css.scss +201 -0
  34. data/vendor/assets/stylesheets/jquery.Jcrop.css +204 -0
  35. data/vendor/assets/stylesheets/jscrollpane.css.scss +20 -0
  36. data/vendor/assets/stylesheets/select2.css +646 -0
  37. metadata +35 -1
@@ -0,0 +1,177 @@
1
+ // Underscore.inflection.js
2
+ // (c) 2011 Jeremy Ruppel
3
+ // Underscore.inflection is freely distributable under the MIT license.
4
+ // Portions of Underscore.inflection are inspired or borrowed from ActiveSupport
5
+ // Version 1.0.0
6
+
7
+ ( function( _, undefined )
8
+ {
9
+ var
10
+ plurals = [ ],
11
+
12
+ singulars = [ ],
13
+
14
+ uncountables = [ ];
15
+
16
+ /**
17
+ * Inflector
18
+ */
19
+ var inflector = {
20
+
21
+ gsub : function( word, rule, replacement )
22
+ {
23
+ var pattern = new RegExp( rule.source || rule, 'gi' );
24
+
25
+ return pattern.test( word ) ? word.replace( pattern, replacement ) : null;
26
+ },
27
+
28
+ plural : function( rule, replacement )
29
+ {
30
+ plurals.unshift( [ rule, replacement ] );
31
+ },
32
+
33
+ pluralize : function( word, count, includeNumber )
34
+ {
35
+ var result;
36
+
37
+ if( count !== undefined )
38
+ {
39
+ count = Math.round(count);
40
+ result = ( count === 1 ) ? this.singularize( word ) : this.pluralize( word );
41
+ result = ( includeNumber ) ? [ count, result ].join( ' ' ) : result;
42
+ }
43
+ else
44
+ {
45
+ if( _( uncountables ).include( word ) )
46
+ {
47
+ return word;
48
+ }
49
+
50
+ result = word;
51
+
52
+ _( plurals ).detect( function( rule )
53
+ {
54
+ var gsub = this.gsub( word, rule[ 0 ], rule[ 1 ] );
55
+
56
+ return gsub ? ( result = gsub ) : false;
57
+ },
58
+ this );
59
+ }
60
+
61
+ return result;
62
+ },
63
+
64
+ singular : function( rule, replacement )
65
+ {
66
+ singulars.unshift( [ rule, replacement ] );
67
+ },
68
+
69
+ singularize : function( word )
70
+ {
71
+ if( _( uncountables ).include( word ) )
72
+ {
73
+ return word;
74
+ }
75
+
76
+ var result = word;
77
+
78
+ _( singulars ).detect( function( rule )
79
+ {
80
+ var gsub = this.gsub( word, rule[ 0 ], rule[ 1 ] );
81
+
82
+ return gsub ? ( result = gsub ) : false;
83
+ },
84
+ this );
85
+
86
+ return result;
87
+ },
88
+
89
+ irregular : function( singular, plural )
90
+ {
91
+ this.plural( '\\b' + singular + '\\b', plural );
92
+ this.singular( '\\b' + plural + '\\b', singular );
93
+ },
94
+
95
+ uncountable : function( word )
96
+ {
97
+ uncountables.unshift( word );
98
+ },
99
+
100
+ resetInflections : function( )
101
+ {
102
+ plurals = [ ];
103
+ singulars = [ ];
104
+ uncountables = [ ];
105
+
106
+ this.plural( /$/, 's' );
107
+ this.plural( /s$/, 's' );
108
+ this.plural( /(ax|test)is$/, '$1es' );
109
+ this.plural( /(octop|vir)us$/, '$1i' );
110
+ this.plural( /(octop|vir)i$/, '$1i' );
111
+ this.plural( /(alias|status)$/, '$1es' );
112
+ this.plural( /(bu)s$/, '$1ses' );
113
+ this.plural( /(buffal|tomat)o$/, '$1oes' );
114
+ this.plural( /([ti])um$/, '$1a' );
115
+ this.plural( /([ti])a$/, '$1a' );
116
+ this.plural( /sis$/, 'ses' );
117
+ this.plural( /(?:([^f])fe|([lr])f)$/, '$1$2ves' );
118
+ this.plural( /(hive)$/, '$1s' );
119
+ this.plural( /([^aeiouy]|qu)y$/, '$1ies' );
120
+ this.plural( /(x|ch|ss|sh)$/, '$1es' );
121
+ this.plural( /(matr|vert|ind)(?:ix|ex)$/, '$1ices' );
122
+ this.plural( /([m|l])ouse$/, '$1ice' );
123
+ this.plural( /([m|l])ice$/, '$1ice' );
124
+ this.plural( /^(ox)$/, '$1en' );
125
+ this.plural( /^(oxen)$/, '$1' );
126
+ this.plural( /(quiz)$/, '$1zes' );
127
+
128
+ this.singular( /s$/, '' );
129
+ this.singular( /(n)ews$/, '$1ews' );
130
+ this.singular( /([ti])a$/, '$1um' );
131
+ this.singular( /((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/, '$1$2sis' );
132
+ this.singular( /(^analy)ses$/, '$1sis' );
133
+ this.singular( /([^f])ves$/, '$1fe' );
134
+ this.singular( /(hive)s$/, '$1' );
135
+ this.singular( /(tive)s$/, '$1' );
136
+ this.singular( /([lr])ves$/, '$1f' );
137
+ this.singular( /([^aeiouy]|qu)ies$/, '$1y' );
138
+ this.singular( /(s)eries$/, '$1eries' );
139
+ this.singular( /(m)ovies$/, '$1ovie' );
140
+ this.singular( /(x|ch|ss|sh)es$/, '$1' );
141
+ this.singular( /([m|l])ice$/, '$1ouse' );
142
+ this.singular( /(bus)es$/, '$1' );
143
+ this.singular( /(o)es$/, '$1' );
144
+ this.singular( /(shoe)s$/, '$1' );
145
+ this.singular( /(cris|ax|test)es$/, '$1is' );
146
+ this.singular( /(octop|vir)i$/, '$1us' );
147
+ this.singular( /(alias|status)es$/, '$1' );
148
+ this.singular( /^(ox)en/, '$1' );
149
+ this.singular( /(vert|ind)ices$/, '$1ex' );
150
+ this.singular( /(matr)ices$/, '$1ix' );
151
+ this.singular( /(quiz)zes$/, '$1' );
152
+ this.singular( /(database)s$/, '$1' );
153
+
154
+ this.irregular( 'person', 'people' );
155
+ this.irregular( 'man', 'men' );
156
+ this.irregular( 'child', 'children' );
157
+ this.irregular( 'sex', 'sexes' );
158
+ this.irregular( 'move', 'moves' );
159
+ this.irregular( 'cow', 'kine' );
160
+
161
+ _( 'equipment information rice money species series fish sheep jeans'.split( /\s+/ ) ).each( function( word )
162
+ {
163
+ this.uncountable( word );
164
+ },
165
+ this );
166
+
167
+ return this;
168
+ }
169
+
170
+ };
171
+
172
+ /**
173
+ * Underscore integration
174
+ */
175
+ _.mixin( inflector.resetInflections( ) );
176
+
177
+ } )( _ );
@@ -0,0 +1 @@
1
+ !function(e,n){"use strict";function r(e,n){var r,t,u=e.toLowerCase();for(n=[].concat(n),r=0;n.length>r;r+=1)if(t=n[r]){if(t.test&&t.test(e))return!0;if(t.toLowerCase()===u)return!0}}var t=n.prototype.trim,u=n.prototype.trimRight,i=n.prototype.trimLeft,l=function(e){return 1*e||0},o=function(e,n){if(1>n)return"";for(var r="";n>0;)1&n&&(r+=e),n>>=1,e+=e;return r},a=[].slice,c=function(e){return null==e?"\\s":e.source?e.source:"["+g.escapeRegExp(e)+"]"},s={lt:"<",gt:">",quot:'"',amp:"&",apos:"'"},f={};for(var p in s)f[s[p]]=p;f["'"]="#39";var h=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}var r=o,t=function(){return t.cache.hasOwnProperty(arguments[0])||(t.cache[arguments[0]]=t.parse(arguments[0])),t.format.call(null,t.cache[arguments[0]],arguments)};return t.format=function(t,u){var i,l,o,a,c,s,f,p=1,g=t.length,d="",m=[];for(l=0;g>l;l++)if(d=e(t[l]),"string"===d)m.push(t[l]);else if("array"===d){if(a=t[l],a[2])for(i=u[p],o=0;a[2].length>o;o++){if(!i.hasOwnProperty(a[2][o]))throw new Error(h('[_.sprintf] property "%s" does not exist',a[2][o]));i=i[a[2][o]]}else i=a[1]?u[a[1]]:u[p++];if(/[^s]/.test(a[8])&&"number"!=e(i))throw new Error(h("[_.sprintf] expecting number but found %s",e(i)));switch(a[8]){case"b":i=i.toString(2);break;case"c":i=n.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=a[7]?i.toExponential(a[7]):i.toExponential();break;case"f":i=a[7]?parseFloat(i).toFixed(a[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=n(i))&&a[7]?i.substring(0,a[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(a[8])&&a[3]&&i>=0?"+"+i:i,s=a[4]?"0"==a[4]?"0":a[4].charAt(1):" ",f=a[6]-n(i).length,c=a[6]?r(s,f):"",m.push(a[5]?i+c:c+i)}return m.join("")},t.cache={},t.parse=function(e){for(var n=e,r=[],t=[],u=0;n;){if(null!==(r=/^[^\x25]+/.exec(n)))t.push(r[0]);else if(null!==(r=/^\x25{2}/.exec(n)))t.push("%");else{if(null===(r=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(n)))throw new Error("[_.sprintf] huh?");if(r[2]){u|=1;var i=[],l=r[2],o=[];if(null===(o=/^([a-z_][a-z_\d]*)/i.exec(l)))throw new Error("[_.sprintf] huh?");for(i.push(o[1]);""!==(l=l.substring(o[0].length));)if(null!==(o=/^\.([a-z_][a-z_\d]*)/i.exec(l)))i.push(o[1]);else{if(null===(o=/^\[(\d+)\]/.exec(l)))throw new Error("[_.sprintf] huh?");i.push(o[1])}r[2]=i}else u|=2;if(3===u)throw new Error("[_.sprintf] mixing positional and named placeholders is not (yet) supported");t.push(r)}n=n.substring(r[0].length)}return t},t}(),g={VERSION:"2.3.0",isBlank:function(e){return null==e&&(e=""),/^\s*$/.test(e)},stripTags:function(e){return null==e?"":n(e).replace(/<\/?[^>]+>/g,"")},capitalize:function(e){return e=null==e?"":n(e),e.charAt(0).toUpperCase()+e.slice(1)},chop:function(e,r){return null==e?[]:(e=n(e),r=~~r,r>0?e.match(new RegExp(".{1,"+r+"}","g")):[e])},clean:function(e){return g.strip(e).replace(/\s+/g," ")},count:function(e,r){if(null==e||null==r)return 0;e=n(e),r=n(r);for(var t=0,u=0,i=r.length;;){if(u=e.indexOf(r,u),-1===u)break;t++,u+=i}return t},chars:function(e){return null==e?[]:n(e).split("")},swapCase:function(e){return null==e?"":n(e).replace(/\S/g,function(e){return e===e.toUpperCase()?e.toLowerCase():e.toUpperCase()})},escapeHTML:function(e){return null==e?"":n(e).replace(/[&<>"']/g,function(e){return"&"+f[e]+";"})},unescapeHTML:function(e){return null==e?"":n(e).replace(/\&([^;]+);/g,function(e,r){var t;return r in s?s[r]:(t=r.match(/^#x([\da-fA-F]+)$/))?n.fromCharCode(parseInt(t[1],16)):(t=r.match(/^#(\d+)$/))?n.fromCharCode(~~t[1]):e})},escapeRegExp:function(e){return null==e?"":n(e).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},splice:function(e,n,r,t){var u=g.chars(e);return u.splice(~~n,~~r,t),u.join("")},insert:function(e,n,r){return g.splice(e,n,0,r)},include:function(e,r){return""===r?!0:null==e?!1:-1!==n(e).indexOf(r)},join:function(){var e=a.call(arguments),n=e.shift();return null==n&&(n=""),e.join(n)},lines:function(e){return null==e?[]:n(e).split("\n")},reverse:function(e){return g.chars(e).reverse().join("")},startsWith:function(e,r){return""===r?!0:null==e||null==r?!1:(e=n(e),r=n(r),e.length>=r.length&&e.slice(0,r.length)===r)},endsWith:function(e,r){return""===r?!0:null==e||null==r?!1:(e=n(e),r=n(r),e.length>=r.length&&e.slice(e.length-r.length)===r)},succ:function(e){return null==e?"":(e=n(e),e.slice(0,-1)+n.fromCharCode(e.charCodeAt(e.length-1)+1))},titleize:function(e){return null==e?"":(e=n(e).toLowerCase(),e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}))},camelize:function(e){return g.trim(e).replace(/[-_\s]+(.)?/g,function(e,n){return n?n.toUpperCase():""})},underscored:function(e){return g.trim(e).replace(/([a-z\d])([A-Z]+)/g,"$1_$2").replace(/[-\s]+/g,"_").toLowerCase()},dasherize:function(e){return g.trim(e).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()},classify:function(e){return g.titleize(n(e).replace(/[\W_]/g," ")).replace(/\s/g,"")},humanize:function(e){return g.capitalize(g.underscored(e).replace(/_id$/,"").replace(/_/g," "))},trim:function(e,r){return null==e?"":!r&&t?t.call(e):(r=c(r),n(e).replace(new RegExp("^"+r+"+|"+r+"+$","g"),""))},ltrim:function(e,r){return null==e?"":!r&&i?i.call(e):(r=c(r),n(e).replace(new RegExp("^"+r+"+"),""))},rtrim:function(e,r){return null==e?"":!r&&u?u.call(e):(r=c(r),n(e).replace(new RegExp(r+"+$"),""))},truncate:function(e,r,t){return null==e?"":(e=n(e),t=t||"...",r=~~r,e.length>r?e.slice(0,r)+t:e)},prune:function(e,r,t){if(null==e)return"";if(e=n(e),r=~~r,t=null!=t?n(t):"...",r>=e.length)return e;var u=function(e){return e.toUpperCase()!==e.toLowerCase()?"A":" "},i=e.slice(0,r+1).replace(/.(?=\W*\w*$)/g,u);return i=i.slice(i.length-2).match(/\w\w/)?i.replace(/\s*\S+$/,""):g.rtrim(i.slice(0,i.length-1)),(i+t).length>e.length?e:e.slice(0,i.length)+t},words:function(e,n){return g.isBlank(e)?[]:g.trim(e,n).split(n||/\s+/)},pad:function(e,r,t,u){e=null==e?"":n(e),r=~~r;var i=0;switch(t?t.length>1&&(t=t.charAt(0)):t=" ",u){case"right":return i=r-e.length,e+o(t,i);case"both":return i=r-e.length,o(t,Math.ceil(i/2))+e+o(t,Math.floor(i/2));default:return i=r-e.length,o(t,i)+e}},lpad:function(e,n,r){return g.pad(e,n,r)},rpad:function(e,n,r){return g.pad(e,n,r,"right")},lrpad:function(e,n,r){return g.pad(e,n,r,"both")},sprintf:h,vsprintf:function(e,n){return n.unshift(e),h.apply(null,n)},toNumber:function(e,n){return e?(e=g.trim(e),e.match(/^-?\d+(?:\.\d+)?$/)?l(l(e).toFixed(~~n)):0/0):0},numberFormat:function(e,n,r,t){if(isNaN(e)||null==e)return"";e=e.toFixed(~~n),t="string"==typeof t?t:",";var u=e.split("."),i=u[0],l=u[1]?(r||".")+u[1]:"";return i.replace(/(\d)(?=(?:\d{3})+$)/g,"$1"+t)+l},strRight:function(e,r){if(null==e)return"";e=n(e),r=null!=r?n(r):r;var t=r?e.indexOf(r):-1;return~t?e.slice(t+r.length,e.length):e},strRightBack:function(e,r){if(null==e)return"";e=n(e),r=null!=r?n(r):r;var t=r?e.lastIndexOf(r):-1;return~t?e.slice(t+r.length,e.length):e},strLeft:function(e,r){if(null==e)return"";e=n(e),r=null!=r?n(r):r;var t=r?e.indexOf(r):-1;return~t?e.slice(0,t):e},strLeftBack:function(e,n){if(null==e)return"";e+="",n=null!=n?""+n:n;var r=e.lastIndexOf(n);return~r?e.slice(0,r):e},toSentence:function(e,n,r,t){n=n||", ",r=r||" and ";var u=e.slice(),i=u.pop();return e.length>2&&t&&(r=g.rtrim(n)+r),u.length?u.join(n)+r+i:i},toSentenceSerial:function(){var e=a.call(arguments);return e[3]=!0,g.toSentence.apply(g,e)},slugify:function(e){if(null==e)return"";var r="ąàáäâãåæăćęèéëêìíïîłńòóöôõøśșțùúüûñçżź",t="aaaaaaaaaceeeeeiiiilnoooooosstuuuunczz",u=new RegExp(c(r),"g");return e=n(e).toLowerCase().replace(u,function(e){var n=r.indexOf(e);return t.charAt(n)||"-"}),g.dasherize(e.replace(/[^\w\s-]/g,""))},surround:function(e,n){return[n,e,n].join("")},quote:function(e,n){return g.surround(e,n||'"')},unquote:function(e,n){return n=n||'"',e[0]===n&&e[e.length-1]===n?e.slice(1,e.length-1):e},exports:function(){var e={};for(var n in this)this.hasOwnProperty(n)&&!n.match(/^(?:include|contains|reverse)$/)&&(e[n]=this[n]);return e},repeat:function(e,r,t){if(null==e)return"";if(r=~~r,null==t)return o(n(e),r);for(var u=[];r>0;u[--r]=e);return u.join(t)},naturalCmp:function(e,r){if(e==r)return 0;if(!e)return-1;if(!r)return 1;for(var t=/(\.\d+)|(\d+)|(\D+)/g,u=n(e).toLowerCase().match(t),i=n(r).toLowerCase().match(t),l=Math.min(u.length,i.length),o=0;l>o;o++){var a=u[o],c=i[o];if(a!==c){var s=parseInt(a,10);if(!isNaN(s)){var f=parseInt(c,10);if(!isNaN(f)&&s-f)return s-f}return c>a?-1:1}}return u.length===i.length?u.length-i.length:r>e?-1:1},levenshtein:function(e,r){if(null==e&&null==r)return 0;if(null==e)return n(r).length;if(null==r)return n(e).length;e=n(e),r=n(r);for(var t,u,i=[],l=0;r.length>=l;l++)for(var o=0;e.length>=o;o++)u=l&&o?e.charAt(o-1)===r.charAt(l-1)?t:Math.min(i[o],i[o-1],t)+1:l+o,t=i[o],i[o]=u;return i.pop()},toBoolean:function(e,n,t){return"number"==typeof e&&(e=""+e),"string"!=typeof e?!!e:(e=g.trim(e),r(e,n||["true","1"])?!0:r(e,t||["false","0"])?!1:void 0)}};g.strip=g.trim,g.lstrip=g.ltrim,g.rstrip=g.rtrim,g.center=g.lrpad,g.rjust=g.lpad,g.ljust=g.rpad,g.contains=g.include,g.q=g.quote,g.toBool=g.toBoolean,"undefined"!=typeof exports&&("undefined"!=typeof module&&module.exports&&(module.exports=g),exports._s=g),"function"==typeof define&&define.amd&&define("underscore.string",[],function(){return g}),e._=e._||{},e._.string=e._.str=g}(this,String);
@@ -0,0 +1,53 @@
1
+ /*! URI.js v1.12.1 http://medialize.github.com/URI.js/ */
2
+ /* build contains: URI.js */
3
+ (function(p,r){"object"===typeof exports?module.exports=r(require("./punycode"),require("./IPv6"),require("./SecondLevelDomains")):"function"===typeof define&&define.amd?define(["./punycode","./IPv6","./SecondLevelDomains"],r):p.URI=r(p.punycode,p.IPv6,p.SecondLevelDomains,p)})(this,function(p,r,v,w){function e(a,b){if(!(this instanceof e))return new e(a,b);void 0===a&&(a="undefined"!==typeof location?location.href+"":"");this.href(a);return void 0!==b?this.absoluteTo(b):this}function s(a){return a.replace(/([.*+?^=!:${}()|[\]\/\\])/g,
4
+ "\\$1")}function y(a){return void 0===a?"Undefined":String(Object.prototype.toString.call(a)).slice(8,-1)}function l(a){return"Array"===y(a)}function x(a,b){var c,e;if(l(b)){c=0;for(e=b.length;c<e;c++)if(!x(a,b[c]))return!1;return!0}var f=y(b);c=0;for(e=a.length;c<e;c++)if("RegExp"===f){if("string"===typeof a[c]&&a[c].match(b))return!0}else if(a[c]===b)return!0;return!1}function A(a,b){if(!l(a)||!l(b)||a.length!==b.length)return!1;a.sort();b.sort();for(var c=0,e=a.length;c<e;c++)if(a[c]!==b[c])return!1;
5
+ return!0}function B(a){return escape(a)}function z(a){return encodeURIComponent(a).replace(/[!'()*]/g,B).replace(/\*/g,"%2A")}var C=w&&w.URI;e.version="1.12.1";var d=e.prototype,t=Object.prototype.hasOwnProperty;e._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,duplicateQueryParameters:e.duplicateQueryParameters,escapeQuerySpace:e.escapeQuerySpace}};e.duplicateQueryParameters=!1;e.escapeQuerySpace=!0;e.protocol_expression=
6
+ /^[a-z][a-z0-9.+-]*$/i;e.idn_expression=/[^a-z0-9\.-]/i;e.punycode_expression=/(xn--)/i;e.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;e.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;
7
+ e.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\u00ab\u00bb\u201c\u201d\u2018\u2019]))/ig;e.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\u00ab\u00bb\u201c\u201d\u201e\u2018\u2019]+$/};e.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"};e.invalid_hostname_characters=
8
+ /[^a-zA-Z0-9\.-]/;e.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src"};e.getDomAttribute=function(a){if(a&&a.nodeName){var b=a.nodeName.toLowerCase();return"input"===b&&"image"!==a.type?void 0:e.domAttributes[b]}};e.encode=z;e.decode=decodeURIComponent;e.iso8859=function(){e.encode=escape;e.decode=unescape};e.unicode=function(){e.encode=z;e.decode=decodeURIComponent};e.characters=
9
+ {pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}}};e.encodeQuery=
10
+ function(a,b){var c=e.encode(a+"");void 0===b&&(b=e.escapeQuerySpace);return b?c.replace(/%20/g,"+"):c};e.decodeQuery=function(a,b){a+="";void 0===b&&(b=e.escapeQuerySpace);try{return e.decode(b?a.replace(/\+/g,"%20"):a)}catch(c){return a}};e.recodePath=function(a){a=(a+"").split("/");for(var b=0,c=a.length;b<c;b++)a[b]=e.encodePathSegment(e.decode(a[b]));return a.join("/")};e.decodePath=function(a){a=(a+"").split("/");for(var b=0,c=a.length;b<c;b++)a[b]=e.decodePathSegment(a[b]);return a.join("/")};
11
+ var q={encode:"encode",decode:"decode"},m,u=function(a,b){return function(c){return e[b](c+"").replace(e.characters[a][b].expression,function(c){return e.characters[a][b].map[c]})}};for(m in q)e[m+"PathSegment"]=u("pathname",q[m]);e.encodeReserved=u("reserved","encode");e.parse=function(a,b){var c;b||(b={});c=a.indexOf("#");-1<c&&(b.fragment=a.substring(c+1)||null,a=a.substring(0,c));c=a.indexOf("?");-1<c&&(b.query=a.substring(c+1)||null,a=a.substring(0,c));"//"===a.substring(0,2)?(b.protocol=null,
12
+ a=a.substring(2),a=e.parseAuthority(a,b)):(c=a.indexOf(":"),-1<c&&(b.protocol=a.substring(0,c)||null,b.protocol&&!b.protocol.match(e.protocol_expression)?b.protocol=void 0:"file"===b.protocol?a=a.substring(c+3):"//"===a.substring(c+1,c+3)?(a=a.substring(c+3),a=e.parseAuthority(a,b)):(a=a.substring(c+1),b.urn=!0)));b.path=a;return b};e.parseHost=function(a,b){var c=a.indexOf("/"),e;-1===c&&(c=a.length);"["===a.charAt(0)?(e=a.indexOf("]"),b.hostname=a.substring(1,e)||null,b.port=a.substring(e+2,c)||
13
+ null):a.indexOf(":")!==a.lastIndexOf(":")?(b.hostname=a.substring(0,c)||null,b.port=null):(e=a.substring(0,c).split(":"),b.hostname=e[0]||null,b.port=e[1]||null);b.hostname&&"/"!==a.substring(c).charAt(0)&&(c++,a="/"+a);return a.substring(c)||"/"};e.parseAuthority=function(a,b){a=e.parseUserinfo(a,b);return e.parseHost(a,b)};e.parseUserinfo=function(a,b){var c=a.indexOf("/"),g=-1<c?a.lastIndexOf("@",c):a.indexOf("@");-1<g&&(-1===c||g<c)?(c=a.substring(0,g).split(":"),b.username=c[0]?e.decode(c[0]):
14
+ null,c.shift(),b.password=c[0]?e.decode(c.join(":")):null,a=a.substring(g+1)):(b.username=null,b.password=null);return a};e.parseQuery=function(a,b){if(!a)return{};a=a.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"");if(!a)return{};for(var c={},g=a.split("&"),f=g.length,d,h,n=0;n<f;n++)d=g[n].split("="),h=e.decodeQuery(d.shift(),b),d=d.length?e.decodeQuery(d.join("="),b):null,c[h]?("string"===typeof c[h]&&(c[h]=[c[h]]),c[h].push(d)):c[h]=d;return c};e.build=function(a){var b="";a.protocol&&(b+=a.protocol+
15
+ ":");a.urn||!b&&!a.hostname||(b+="//");b+=e.buildAuthority(a)||"";"string"===typeof a.path&&("/"!==a.path.charAt(0)&&"string"===typeof a.hostname&&(b+="/"),b+=a.path);"string"===typeof a.query&&a.query&&(b+="?"+a.query);"string"===typeof a.fragment&&a.fragment&&(b+="#"+a.fragment);return b};e.buildHost=function(a){var b="";if(a.hostname)e.ip6_expression.test(a.hostname)?b=a.port?b+("["+a.hostname+"]:"+a.port):b+a.hostname:(b+=a.hostname,a.port&&(b+=":"+a.port));else return"";return b};e.buildAuthority=
16
+ function(a){return e.buildUserinfo(a)+e.buildHost(a)};e.buildUserinfo=function(a){var b="";a.username&&(b+=e.encode(a.username),a.password&&(b+=":"+e.encode(a.password)),b+="@");return b};e.buildQuery=function(a,b,c){var g="",f,d,h,n;for(d in a)if(t.call(a,d)&&d)if(l(a[d]))for(f={},h=0,n=a[d].length;h<n;h++)void 0!==a[d][h]&&void 0===f[a[d][h]+""]&&(g+="&"+e.buildQueryParameter(d,a[d][h],c),!0!==b&&(f[a[d][h]+""]=!0));else void 0!==a[d]&&(g+="&"+e.buildQueryParameter(d,a[d],c));return g.substring(1)};
17
+ e.buildQueryParameter=function(a,b,c){return e.encodeQuery(a,c)+(null!==b?"="+e.encodeQuery(b,c):"")};e.addQuery=function(a,b,c){if("object"===typeof b)for(var g in b)t.call(b,g)&&e.addQuery(a,g,b[g]);else if("string"===typeof b)void 0===a[b]?a[b]=c:("string"===typeof a[b]&&(a[b]=[a[b]]),l(c)||(c=[c]),a[b]=a[b].concat(c));else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");};e.removeQuery=function(a,b,c){var g;if(l(b))for(c=0,g=b.length;c<g;c++)a[b[c]]=void 0;
18
+ else if("object"===typeof b)for(g in b)t.call(b,g)&&e.removeQuery(a,g,b[g]);else if("string"===typeof b)if(void 0!==c)if(a[b]===c)a[b]=void 0;else{if(l(a[b])){g=a[b];var f={},d,h;if(l(c))for(d=0,h=c.length;d<h;d++)f[c[d]]=!0;else f[c]=!0;d=0;for(h=g.length;d<h;d++)void 0!==f[g[d]]&&(g.splice(d,1),h--,d--);a[b]=g}}else a[b]=void 0;else throw new TypeError("URI.addQuery() accepts an object, string as the first parameter");};e.hasQuery=function(a,b,c,g){if("object"===typeof b){for(var d in b)if(t.call(b,
19
+ d)&&!e.hasQuery(a,d,b[d]))return!1;return!0}if("string"!==typeof b)throw new TypeError("URI.hasQuery() accepts an object, string as the name parameter");switch(y(c)){case "Undefined":return b in a;case "Boolean":return a=Boolean(l(a[b])?a[b].length:a[b]),c===a;case "Function":return!!c(a[b],b,a);case "Array":return l(a[b])?(g?x:A)(a[b],c):!1;case "RegExp":return l(a[b])?g?x(a[b],c):!1:Boolean(a[b]&&a[b].match(c));case "Number":c=String(c);case "String":return l(a[b])?g?x(a[b],c):!1:a[b]===c;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter");
20
+ }};e.commonPath=function(a,b){var c=Math.min(a.length,b.length),e;for(e=0;e<c;e++)if(a.charAt(e)!==b.charAt(e)){e--;break}if(1>e)return a.charAt(0)===b.charAt(0)&&"/"===a.charAt(0)?"/":"";if("/"!==a.charAt(e)||"/"!==b.charAt(e))e=a.substring(0,e).lastIndexOf("/");return a.substring(0,e+1)};e.withinString=function(a,b,c){c||(c={});var g=c.start||e.findUri.start,d=c.end||e.findUri.end,k=c.trim||e.findUri.trim,h=/[a-z0-9-]=["']?$/i;for(g.lastIndex=0;;){var n=g.exec(a);if(!n)break;n=n.index;if(c.ignoreHtml){var l=
21
+ a.slice(Math.max(n-3,0),n);if(l&&h.test(l))continue}var l=n+a.slice(n).search(d),m=a.slice(n,l).replace(k,"");c.ignore&&c.ignore.test(m)||(l=n+m.length,m=b(m,n,l,a),a=a.slice(0,n)+m+a.slice(l),g.lastIndex=n+m.length)}g.lastIndex=0;return a};e.ensureValidHostname=function(a){if(a.match(e.invalid_hostname_characters)){if(!p)throw new TypeError("Hostname '"+a+"' contains characters other than [A-Z0-9.-] and Punycode.js is not available");if(p.toASCII(a).match(e.invalid_hostname_characters))throw new TypeError("Hostname '"+
22
+ a+"' contains characters other than [A-Z0-9.-]");}};e.noConflict=function(a){if(a)return a={URI:this.noConflict()},URITemplate&&"function"==typeof URITemplate.noConflict&&(a.URITemplate=URITemplate.noConflict()),r&&"function"==typeof r.noConflict&&(a.IPv6=r.noConflict()),SecondLevelDomains&&"function"==typeof SecondLevelDomains.noConflict&&(a.SecondLevelDomains=SecondLevelDomains.noConflict()),a;w.URI===this&&(w.URI=C);return this};d.build=function(a){if(!0===a)this._deferred_build=!0;else if(void 0===
23
+ a||this._deferred_build)this._string=e.build(this._parts),this._deferred_build=!1;return this};d.clone=function(){return new e(this)};d.valueOf=d.toString=function(){return this.build(!1)._string};q={protocol:"protocol",username:"username",password:"password",hostname:"hostname",port:"port"};u=function(a){return function(b,c){if(void 0===b)return this._parts[a]||"";this._parts[a]=b||null;this.build(!c);return this}};for(m in q)d[m]=u(q[m]);q={query:"?",fragment:"#"};u=function(a,b){return function(c,
24
+ e){if(void 0===c)return this._parts[a]||"";null!==c&&(c+="",c.charAt(0)===b&&(c=c.substring(1)));this._parts[a]=c;this.build(!e);return this}};for(m in q)d[m]=u(m,q[m]);q={search:["?","query"],hash:["#","fragment"]};u=function(a,b){return function(c,e){var d=this[a](c,e);return"string"===typeof d&&d.length?b+d:d}};for(m in q)d[m]=u(q[m][1],q[m][0]);d.pathname=function(a,b){if(void 0===a||!0===a){var c=this._parts.path||(this._parts.hostname?"/":"");return a?e.decodePath(c):c}this._parts.path=a?e.recodePath(a):
25
+ "/";this.build(!b);return this};d.path=d.pathname;d.href=function(a,b){var c;if(void 0===a)return this.toString();this._string="";this._parts=e._parts();var g=a instanceof e,d="object"===typeof a&&(a.hostname||a.path||a.pathname);a.nodeName&&(d=e.getDomAttribute(a),a=a[d]||"",d=!1);!g&&d&&void 0!==a.pathname&&(a=a.toString());if("string"===typeof a)this._parts=e.parse(a,this._parts);else if(g||d)for(c in g=g?a._parts:a,g)t.call(this._parts,c)&&(this._parts[c]=g[c]);else throw new TypeError("invalid input");
26
+ this.build(!b);return this};d.is=function(a){var b=!1,c=!1,d=!1,f=!1,k=!1,h=!1,l=!1,m=!this._parts.urn;this._parts.hostname&&(m=!1,c=e.ip4_expression.test(this._parts.hostname),d=e.ip6_expression.test(this._parts.hostname),b=c||d,k=(f=!b)&&v&&v.has(this._parts.hostname),h=f&&e.idn_expression.test(this._parts.hostname),l=f&&e.punycode_expression.test(this._parts.hostname));switch(a.toLowerCase()){case "relative":return m;case "absolute":return!m;case "domain":case "name":return f;case "sld":return k;
27
+ case "ip":return b;case "ip4":case "ipv4":case "inet4":return c;case "ip6":case "ipv6":case "inet6":return d;case "idn":return h;case "url":return!this._parts.urn;case "urn":return!!this._parts.urn;case "punycode":return l}return null};var D=d.protocol,E=d.port,F=d.hostname;d.protocol=function(a,b){if(void 0!==a&&a&&(a=a.replace(/:(\/\/)?$/,""),!a.match(e.protocol_expression)))throw new TypeError("Protocol '"+a+"' contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return D.call(this,
28
+ a,b)};d.scheme=d.protocol;d.port=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0!==a&&(0===a&&(a=null),a&&(a+="",":"===a.charAt(0)&&(a=a.substring(1)),a.match(/[^0-9]/))))throw new TypeError("Port '"+a+"' contains characters other than [0-9]");return E.call(this,a,b)};d.hostname=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0!==a){var c={};e.parseHost(a,c);a=c.hostname}return F.call(this,a,b)};d.host=function(a,b){if(this._parts.urn)return void 0===a?"":this;
29
+ if(void 0===a)return this._parts.hostname?e.buildHost(this._parts):"";e.parseHost(a,this._parts);this.build(!b);return this};d.authority=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0===a)return this._parts.hostname?e.buildAuthority(this._parts):"";e.parseAuthority(a,this._parts);this.build(!b);return this};d.userinfo=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0===a){if(!this._parts.username)return"";var c=e.buildUserinfo(this._parts);return c.substring(0,
30
+ c.length-1)}"@"!==a[a.length-1]&&(a+="@");e.parseUserinfo(a,this._parts);this.build(!b);return this};d.resource=function(a,b){var c;if(void 0===a)return this.path()+this.search()+this.hash();c=e.parse(a);this._parts.path=c.path;this._parts.query=c.query;this._parts.fragment=c.fragment;this.build(!b);return this};d.subdomain=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0===a){if(!this._parts.hostname||this.is("IP"))return"";var c=this._parts.hostname.length-this.domain().length-
31
+ 1;return this._parts.hostname.substring(0,c)||""}c=this._parts.hostname.length-this.domain().length;c=this._parts.hostname.substring(0,c);c=RegExp("^"+s(c));a&&"."!==a.charAt(a.length-1)&&(a+=".");a&&e.ensureValidHostname(a);this._parts.hostname=this._parts.hostname.replace(c,a);this.build(!b);return this};d.domain=function(a,b){if(this._parts.urn)return void 0===a?"":this;"boolean"===typeof a&&(b=a,a=void 0);if(void 0===a){if(!this._parts.hostname||this.is("IP"))return"";var c=this._parts.hostname.match(/\./g);
32
+ if(c&&2>c.length)return this._parts.hostname;c=this._parts.hostname.length-this.tld(b).length-1;c=this._parts.hostname.lastIndexOf(".",c-1)+1;return this._parts.hostname.substring(c)||""}if(!a)throw new TypeError("cannot set domain empty");e.ensureValidHostname(a);!this._parts.hostname||this.is("IP")?this._parts.hostname=a:(c=RegExp(s(this.domain())+"$"),this._parts.hostname=this._parts.hostname.replace(c,a));this.build(!b);return this};d.tld=function(a,b){if(this._parts.urn)return void 0===a?"":
33
+ this;"boolean"===typeof a&&(b=a,a=void 0);if(void 0===a){if(!this._parts.hostname||this.is("IP"))return"";var c=this._parts.hostname.lastIndexOf("."),c=this._parts.hostname.substring(c+1);return!0!==b&&v&&v.list[c.toLowerCase()]?v.get(this._parts.hostname)||c:c}if(a)if(a.match(/[^a-zA-Z0-9-]/))if(v&&v.is(a))c=RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(c,a);else throw new TypeError("TLD '"+a+"' contains characters other than [A-Z0-9]");else{if(!this._parts.hostname||
34
+ this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");c=RegExp(s(this.tld())+"$");this._parts.hostname=this._parts.hostname.replace(c,a)}else throw new TypeError("cannot set TLD empty");this.build(!b);return this};d.directory=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0===a||!0===a){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var c=this._parts.path.length-this.filename().length-1,c=this._parts.path.substring(0,
35
+ c)||(this._parts.hostname?"/":"");return a?e.decodePath(c):c}c=this._parts.path.length-this.filename().length;c=this._parts.path.substring(0,c);c=RegExp("^"+s(c));this.is("relative")||(a||(a="/"),"/"!==a.charAt(0)&&(a="/"+a));a&&"/"!==a.charAt(a.length-1)&&(a+="/");a=e.recodePath(a);this._parts.path=this._parts.path.replace(c,a);this.build(!b);return this};d.filename=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0===a||!0===a){if(!this._parts.path||"/"===this._parts.path)return"";
36
+ var c=this._parts.path.lastIndexOf("/"),c=this._parts.path.substring(c+1);return a?e.decodePathSegment(c):c}c=!1;"/"===a.charAt(0)&&(a=a.substring(1));a.match(/\.?\//)&&(c=!0);var d=RegExp(s(this.filename())+"$");a=e.recodePath(a);this._parts.path=this._parts.path.replace(d,a);c?this.normalizePath(b):this.build(!b);return this};d.suffix=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0===a||!0===a){if(!this._parts.path||"/"===this._parts.path)return"";var c=this.filename(),d=c.lastIndexOf(".");
37
+ if(-1===d)return"";c=c.substring(d+1);c=/^[a-z0-9%]+$/i.test(c)?c:"";return a?e.decodePathSegment(c):c}"."===a.charAt(0)&&(a=a.substring(1));if(c=this.suffix())d=a?RegExp(s(c)+"$"):RegExp(s("."+c)+"$");else{if(!a)return this;this._parts.path+="."+e.recodePath(a)}d&&(a=e.recodePath(a),this._parts.path=this._parts.path.replace(d,a));this.build(!b);return this};d.segment=function(a,b,c){var e=this._parts.urn?":":"/",d=this.path(),k="/"===d.substring(0,1),d=d.split(e);void 0!==a&&"number"!==typeof a&&
38
+ (c=b,b=a,a=void 0);if(void 0!==a&&"number"!==typeof a)throw Error("Bad segment '"+a+"', must be 0-based integer");k&&d.shift();0>a&&(a=Math.max(d.length+a,0));if(void 0===b)return void 0===a?d:d[a];if(null===a||void 0===d[a])if(l(b)){d=[];a=0;for(var h=b.length;a<h;a++)if(b[a].length||d.length&&d[d.length-1].length)d.length&&!d[d.length-1].length&&d.pop(),d.push(b[a])}else{if(b||"string"===typeof b)""===d[d.length-1]?d[d.length-1]=b:d.push(b)}else b||"string"===typeof b&&b.length?d[a]=b:d.splice(a,
39
+ 1);k&&d.unshift("");return this.path(d.join(e),c)};d.segmentCoded=function(a,b,c){var d,f;"number"!==typeof a&&(c=b,b=a,a=void 0);if(void 0===b){a=this.segment(a,b,c);if(l(a))for(d=0,f=a.length;d<f;d++)a[d]=e.decode(a[d]);else a=void 0!==a?e.decode(a):void 0;return a}if(l(b))for(d=0,f=b.length;d<f;d++)b[d]=e.decode(b[d]);else b="string"===typeof b?e.encode(b):b;return this.segment(a,b,c)};var G=d.query;d.query=function(a,b){if(!0===a)return e.parseQuery(this._parts.query,this._parts.escapeQuerySpace);
40
+ if("function"===typeof a){var c=e.parseQuery(this._parts.query,this._parts.escapeQuerySpace),d=a.call(this,c);this._parts.query=e.buildQuery(d||c,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);this.build(!b);return this}return void 0!==a&&"string"!==typeof a?(this._parts.query=e.buildQuery(a,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!b),this):G.call(this,a,b)};d.setQuery=function(a,b,c){var d=e.parseQuery(this._parts.query,this._parts.escapeQuerySpace);
41
+ if("object"===typeof a)for(var f in a)t.call(a,f)&&(d[f]=a[f]);else if("string"===typeof a)d[a]=void 0!==b?b:null;else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");this._parts.query=e.buildQuery(d,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);"string"!==typeof a&&(c=b);this.build(!c);return this};d.addQuery=function(a,b,c){var d=e.parseQuery(this._parts.query,this._parts.escapeQuerySpace);e.addQuery(d,a,void 0===b?null:b);this._parts.query=
42
+ e.buildQuery(d,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);"string"!==typeof a&&(c=b);this.build(!c);return this};d.removeQuery=function(a,b,c){var d=e.parseQuery(this._parts.query,this._parts.escapeQuerySpace);e.removeQuery(d,a,b);this._parts.query=e.buildQuery(d,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);"string"!==typeof a&&(c=b);this.build(!c);return this};d.hasQuery=function(a,b,c){var d=e.parseQuery(this._parts.query,this._parts.escapeQuerySpace);
43
+ return e.hasQuery(d,a,b,c)};d.setSearch=d.setQuery;d.addSearch=d.addQuery;d.removeSearch=d.removeQuery;d.hasSearch=d.hasQuery;d.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()};d.normalizeProtocol=function(a){"string"===typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),
44
+ this.build(!a));return this};d.normalizeHostname=function(a){this._parts.hostname&&(this.is("IDN")&&p?this._parts.hostname=p.toASCII(this._parts.hostname):this.is("IPv6")&&r&&(this._parts.hostname=r.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!a));return this};d.normalizePort=function(a){"string"===typeof this._parts.protocol&&this._parts.port===e.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!a));return this};d.normalizePath=
45
+ function(a){if(this._parts.urn||!this._parts.path||"/"===this._parts.path)return this;var b,c=this._parts.path,d="",f,k;"/"!==c.charAt(0)&&(b=!0,c="/"+c);c=c.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/");b&&(d=c.substring(1).match(/^(\.\.\/)+/)||"")&&(d=d[0]);for(;;){f=c.indexOf("/..");if(-1===f)break;else if(0===f){c=c.substring(3);continue}k=c.substring(0,f).lastIndexOf("/");-1===k&&(k=f);c=c.substring(0,k)+c.substring(f+3)}b&&this.is("relative")&&(c=d+c.substring(1));c=e.recodePath(c);
46
+ this._parts.path=c;this.build(!a);return this};d.normalizePathname=d.normalizePath;d.normalizeQuery=function(a){"string"===typeof this._parts.query&&(this._parts.query.length?this.query(e.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!a));return this};d.normalizeFragment=function(a){this._parts.fragment||(this._parts.fragment=null,this.build(!a));return this};d.normalizeSearch=d.normalizeQuery;d.normalizeHash=d.normalizeFragment;d.iso8859=function(){var a=
47
+ e.encode,b=e.decode;e.encode=escape;e.decode=decodeURIComponent;this.normalize();e.encode=a;e.decode=b;return this};d.unicode=function(){var a=e.encode,b=e.decode;e.encode=z;e.decode=unescape;this.normalize();e.encode=a;e.decode=b;return this};d.readable=function(){var a=this.clone();a.username("").password("").normalize();var b="";a._parts.protocol&&(b+=a._parts.protocol+"://");a._parts.hostname&&(a.is("punycode")&&p?(b+=p.toUnicode(a._parts.hostname),a._parts.port&&(b+=":"+a._parts.port)):b+=a.host());
48
+ a._parts.hostname&&a._parts.path&&"/"!==a._parts.path.charAt(0)&&(b+="/");b+=a.path(!0);if(a._parts.query){for(var c="",d=0,f=a._parts.query.split("&"),k=f.length;d<k;d++){var h=(f[d]||"").split("="),c=c+("&"+e.decodeQuery(h[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"));void 0!==h[1]&&(c+="="+e.decodeQuery(h[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}b+="?"+c.substring(1)}return b+=e.decodeQuery(a.hash(),!0)};d.absoluteTo=function(a){var b=this.clone(),c=["protocol","username",
49
+ "password","hostname","port"],d,f;if(this._parts.urn)throw Error("URNs do not have any generally defined hierarchical components");a instanceof e||(a=new e(a));b._parts.protocol||(b._parts.protocol=a._parts.protocol);if(this._parts.hostname)return b;for(d=0;f=c[d];d++)b._parts[f]=a._parts[f];b._parts.path?".."===b._parts.path.substring(-2)&&(b._parts.path+="/"):(b._parts.path=a._parts.path,b._parts.query||(b._parts.query=a._parts.query));"/"!==b.path().charAt(0)&&(a=a.directory(),b._parts.path=(a?
50
+ a+"/":"")+b._parts.path,b.normalizePath());b.build();return b};d.relativeTo=function(a){var b=this.clone().normalize(),c,d,f,k;if(b._parts.urn)throw Error("URNs do not have any generally defined hierarchical components");a=(new e(a)).normalize();c=b._parts;d=a._parts;f=b.path();k=a.path();if("/"!==f.charAt(0))throw Error("URI is already relative");if("/"!==k.charAt(0))throw Error("Cannot calculate a URI relative to another relative URI");c.protocol===d.protocol&&(c.protocol=null);if(c.username===
51
+ d.username&&c.password===d.password&&null===c.protocol&&null===c.username&&null===c.password&&c.hostname===d.hostname&&c.port===d.port)c.hostname=null,c.port=null;else return b.build();if(f===k)return c.path="",b.build();a=e.commonPath(b.path(),a.path());if(!a)return b.build();d=d.path.substring(a.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");c.path=d+c.path.substring(a.length);return b.build()};d.equals=function(a){var b=this.clone();a=new e(a);var c={},d={},f={},k;b.normalize();a.normalize();
52
+ if(b.toString()===a.toString())return!0;c=b.query();d=a.query();b.query("");a.query("");if(b.toString()!==a.toString()||c.length!==d.length)return!1;c=e.parseQuery(c,this._parts.escapeQuerySpace);d=e.parseQuery(d,this._parts.escapeQuerySpace);for(k in c)if(t.call(c,k)){if(!l(c[k])){if(c[k]!==d[k])return!1}else if(!A(c[k],d[k]))return!1;f[k]=!0}for(k in d)if(t.call(d,k)&&!f[k])return!1;return!0};d.duplicateQueryParameters=function(a){this._parts.duplicateQueryParameters=!!a;return this};d.escapeQuerySpace=
53
+ function(a){this._parts.escapeQuerySpace=!!a;return this};return e});
@@ -0,0 +1,560 @@
1
+ .sr-only {
2
+ position: absolute;
3
+ width: 1px;
4
+ height: 1px;
5
+ margin: -1px;
6
+ padding: 0;
7
+ overflow: hidden;
8
+ clip: rect(0 0 0 0);
9
+ border: 0;
10
+ }
11
+ .tooltip {
12
+ position: absolute;
13
+ z-index: 1030;
14
+ display: block;
15
+ visibility: visible;
16
+ font-size: 12px;
17
+ line-height: 1.4;
18
+ opacity: 0;
19
+ filter: alpha(opacity=0);
20
+ }
21
+ .tooltip.in {
22
+ opacity: 0.9;
23
+ filter: alpha(opacity=90);
24
+ }
25
+ .tooltip.top {
26
+ margin-top: -3px;
27
+ padding: 5px 0;
28
+ }
29
+ .tooltip.right {
30
+ margin-left: 3px;
31
+ padding: 0 5px;
32
+ }
33
+ .tooltip.bottom {
34
+ margin-top: 3px;
35
+ padding: 5px 0;
36
+ }
37
+ .tooltip.left {
38
+ margin-left: -3px;
39
+ padding: 0 5px;
40
+ }
41
+ .tooltip-inner {
42
+ max-width: 200px;
43
+ padding: 3px 8px;
44
+ color: #ffffff;
45
+ text-align: center;
46
+ text-decoration: none;
47
+ background-color: #000000;
48
+ border-radius: 4px;
49
+ }
50
+ .tooltip-arrow {
51
+ position: absolute;
52
+ width: 0;
53
+ height: 0;
54
+ border-color: transparent;
55
+ border-style: solid;
56
+ }
57
+ .tooltip.top .tooltip-arrow {
58
+ bottom: 0;
59
+ left: 50%;
60
+ margin-left: -5px;
61
+ border-width: 5px 5px 0;
62
+ border-top-color: #000000;
63
+ }
64
+ .tooltip.top-left .tooltip-arrow {
65
+ bottom: 0;
66
+ left: 5px;
67
+ border-width: 5px 5px 0;
68
+ border-top-color: #000000;
69
+ }
70
+ .tooltip.top-right .tooltip-arrow {
71
+ bottom: 0;
72
+ right: 5px;
73
+ border-width: 5px 5px 0;
74
+ border-top-color: #000000;
75
+ }
76
+ .tooltip.right .tooltip-arrow {
77
+ top: 50%;
78
+ left: 0;
79
+ margin-top: -5px;
80
+ border-width: 5px 5px 5px 0;
81
+ border-right-color: #000000;
82
+ }
83
+ .tooltip.left .tooltip-arrow {
84
+ top: 50%;
85
+ right: 0;
86
+ margin-top: -5px;
87
+ border-width: 5px 0 5px 5px;
88
+ border-left-color: #000000;
89
+ }
90
+ .tooltip.bottom .tooltip-arrow {
91
+ top: 0;
92
+ left: 50%;
93
+ margin-left: -5px;
94
+ border-width: 0 5px 5px;
95
+ border-bottom-color: #000000;
96
+ }
97
+ .tooltip.bottom-left .tooltip-arrow {
98
+ top: 0;
99
+ left: 5px;
100
+ border-width: 0 5px 5px;
101
+ border-bottom-color: #000000;
102
+ }
103
+ .tooltip.bottom-right .tooltip-arrow {
104
+ top: 0;
105
+ right: 5px;
106
+ border-width: 0 5px 5px;
107
+ border-bottom-color: #000000;
108
+ }
109
+ .popover {
110
+ position: absolute;
111
+ top: 0;
112
+ left: 0;
113
+ z-index: 1010;
114
+ display: none;
115
+ max-width: 276px;
116
+ padding: 1px;
117
+ text-align: left;
118
+ background-color: #ffffff;
119
+ background-clip: padding-box;
120
+ border: 1px solid #cccccc;
121
+ border: 1px solid rgba(0, 0, 0, 0.2);
122
+ border-radius: 6px;
123
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
124
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
125
+ white-space: normal;
126
+ }
127
+ .popover.top {
128
+ margin-top: -10px;
129
+ }
130
+ .popover.right {
131
+ margin-left: 10px;
132
+ }
133
+ .popover.bottom {
134
+ margin-top: 10px;
135
+ }
136
+ .popover.left {
137
+ margin-left: -10px;
138
+ }
139
+ .popover-title {
140
+ margin: 0;
141
+ padding: 8px 14px;
142
+ font-size: 14px;
143
+ font-weight: normal;
144
+ line-height: 18px;
145
+ background-color: #f7f7f7;
146
+ border-bottom: 1px solid #ebebeb;
147
+ border-radius: 5px 5px 0 0;
148
+ }
149
+ .popover-content {
150
+ padding: 9px 14px;
151
+ }
152
+ .popover .arrow,
153
+ .popover .arrow:after {
154
+ position: absolute;
155
+ display: block;
156
+ width: 0;
157
+ height: 0;
158
+ border-color: transparent;
159
+ border-style: solid;
160
+ }
161
+ .popover .arrow {
162
+ border-width: 11px;
163
+ }
164
+ .popover .arrow:after {
165
+ border-width: 10px;
166
+ content: "";
167
+ }
168
+ .popover.top .arrow {
169
+ left: 50%;
170
+ margin-left: -11px;
171
+ border-bottom-width: 0;
172
+ border-top-color: #999999;
173
+ border-top-color: rgba(0, 0, 0, 0.25);
174
+ bottom: -11px;
175
+ }
176
+ .popover.top .arrow:after {
177
+ content: " ";
178
+ bottom: 1px;
179
+ margin-left: -10px;
180
+ border-bottom-width: 0;
181
+ border-top-color: #ffffff;
182
+ }
183
+ .popover.right .arrow {
184
+ top: 50%;
185
+ left: -11px;
186
+ margin-top: -11px;
187
+ border-left-width: 0;
188
+ border-right-color: #999999;
189
+ border-right-color: rgba(0, 0, 0, 0.25);
190
+ }
191
+ .popover.right .arrow:after {
192
+ content: " ";
193
+ left: 1px;
194
+ bottom: -10px;
195
+ border-left-width: 0;
196
+ border-right-color: #ffffff;
197
+ }
198
+ .popover.bottom .arrow {
199
+ left: 50%;
200
+ margin-left: -11px;
201
+ border-top-width: 0;
202
+ border-bottom-color: #999999;
203
+ border-bottom-color: rgba(0, 0, 0, 0.25);
204
+ top: -11px;
205
+ }
206
+ .popover.bottom .arrow:after {
207
+ content: " ";
208
+ top: 1px;
209
+ margin-left: -10px;
210
+ border-top-width: 0;
211
+ border-bottom-color: #ffffff;
212
+ }
213
+ .popover.left .arrow {
214
+ top: 50%;
215
+ right: -11px;
216
+ margin-top: -11px;
217
+ border-right-width: 0;
218
+ border-left-color: #999999;
219
+ border-left-color: rgba(0, 0, 0, 0.25);
220
+ }
221
+ .popover.left .arrow:after {
222
+ content: " ";
223
+ right: 1px;
224
+ border-right-width: 0;
225
+ border-left-color: #ffffff;
226
+ bottom: -10px;
227
+ }
228
+
229
+ fieldset {
230
+ padding: 0;
231
+ margin: 0;
232
+ border: 0;
233
+ }
234
+ legend {
235
+ display: block;
236
+ width: 100%;
237
+ padding: 0;
238
+ margin-bottom: 20px;
239
+ font-size: 21px;
240
+ line-height: inherit;
241
+ color: #333333;
242
+ border: 0;
243
+ border-bottom: 1px solid #e5e5e5;
244
+ }
245
+ label {
246
+ display: inline-block;
247
+ margin-bottom: 5px;
248
+ font-weight: bold;
249
+ }
250
+ input[type="search"] {
251
+ -webkit-box-sizing: border-box;
252
+ -moz-box-sizing: border-box;
253
+ box-sizing: border-box;
254
+ }
255
+ input[type="radio"],
256
+ input[type="checkbox"] {
257
+ margin: 4px 0 0;
258
+ margin-top: 1px \9;
259
+ /* IE8-9 */
260
+
261
+ line-height: normal;
262
+ }
263
+ input[type="file"] {
264
+ display: block;
265
+ }
266
+ select[multiple],
267
+ select[size] {
268
+ height: auto;
269
+ }
270
+ select optgroup {
271
+ font-size: inherit;
272
+ font-style: inherit;
273
+ font-family: inherit;
274
+ }
275
+ input[type="file"]:focus,
276
+ input[type="radio"]:focus,
277
+ input[type="checkbox"]:focus {
278
+ outline: thin dotted #333;
279
+ outline: 5px auto -webkit-focus-ring-color;
280
+ outline-offset: -2px;
281
+ }
282
+ input[type="number"]::-webkit-outer-spin-button,
283
+ input[type="number"]::-webkit-inner-spin-button {
284
+ height: auto;
285
+ }
286
+ .form-control:-moz-placeholder {
287
+ color: #999999;
288
+ }
289
+ .form-control::-moz-placeholder {
290
+ color: #999999;
291
+ }
292
+ .form-control:-ms-input-placeholder {
293
+ color: #999999;
294
+ }
295
+ .form-control::-webkit-input-placeholder {
296
+ color: #999999;
297
+ }
298
+ .form-control {
299
+ display: block;
300
+ width: 100%;
301
+ height: 34px;
302
+ padding: 6px 12px;
303
+ font-size: 14px;
304
+ line-height: 1.428571429;
305
+ color: #555555;
306
+ vertical-align: middle;
307
+ background-color: #ffffff;
308
+ border: 1px solid #cccccc;
309
+ border-radius: 4px;
310
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
311
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
312
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
313
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
314
+ }
315
+ .form-control:focus {
316
+ border-color: #66afe9;
317
+ outline: 0;
318
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
319
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
320
+ }
321
+ .form-control[disabled],
322
+ .form-control[readonly],
323
+ fieldset[disabled] .form-control {
324
+ cursor: not-allowed;
325
+ background-color: #eeeeee;
326
+ }
327
+ textarea.form-control {
328
+ height: auto;
329
+ }
330
+ .form-group {
331
+ margin-bottom: 15px;
332
+ }
333
+ .radio,
334
+ .checkbox {
335
+ display: block;
336
+ min-height: 20px;
337
+ margin-top: 10px;
338
+ margin-bottom: 10px;
339
+ padding-left: 20px;
340
+ vertical-align: middle;
341
+ }
342
+ .radio label,
343
+ .checkbox label {
344
+ display: inline;
345
+ margin-bottom: 0;
346
+ font-weight: normal;
347
+ cursor: pointer;
348
+ }
349
+ .radio input[type="radio"],
350
+ .radio-inline input[type="radio"],
351
+ .checkbox input[type="checkbox"],
352
+ .checkbox-inline input[type="checkbox"] {
353
+ float: left;
354
+ margin-left: -20px;
355
+ }
356
+ .radio + .radio,
357
+ .checkbox + .checkbox {
358
+ margin-top: -5px;
359
+ }
360
+ .radio-inline,
361
+ .checkbox-inline {
362
+ display: inline-block;
363
+ padding-left: 20px;
364
+ margin-bottom: 0;
365
+ vertical-align: middle;
366
+ font-weight: normal;
367
+ cursor: pointer;
368
+ }
369
+ .radio-inline + .radio-inline,
370
+ .checkbox-inline + .checkbox-inline {
371
+ margin-top: 0;
372
+ margin-left: 10px;
373
+ }
374
+ input[type="radio"][disabled],
375
+ input[type="checkbox"][disabled],
376
+ .radio[disabled],
377
+ .radio-inline[disabled],
378
+ .checkbox[disabled],
379
+ .checkbox-inline[disabled],
380
+ fieldset[disabled] input[type="radio"],
381
+ fieldset[disabled] input[type="checkbox"],
382
+ fieldset[disabled] .radio,
383
+ fieldset[disabled] .radio-inline,
384
+ fieldset[disabled] .checkbox,
385
+ fieldset[disabled] .checkbox-inline {
386
+ cursor: not-allowed;
387
+ }
388
+ .input-sm {
389
+ height: 30px;
390
+ padding: 5px 10px;
391
+ font-size: 12px;
392
+ line-height: 1.5;
393
+ border-radius: 3px;
394
+ }
395
+ select.input-sm {
396
+ height: 30px;
397
+ line-height: 30px;
398
+ }
399
+ textarea.input-sm {
400
+ height: auto;
401
+ }
402
+ .input-lg {
403
+ height: 45px;
404
+ padding: 10px 16px;
405
+ font-size: 18px;
406
+ line-height: 1.33;
407
+ border-radius: 6px;
408
+ }
409
+ select.input-lg {
410
+ height: 45px;
411
+ line-height: 45px;
412
+ }
413
+ textarea.input-lg {
414
+ height: auto;
415
+ }
416
+ .has-warning .help-block,
417
+ .has-warning .control-label {
418
+ color: #c09853;
419
+ }
420
+ .has-warning .form-control {
421
+ border-color: #c09853;
422
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
423
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
424
+ }
425
+ .has-warning .form-control:focus {
426
+ border-color: #a47e3c;
427
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
428
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
429
+ }
430
+ .has-warning .input-group-addon {
431
+ color: #c09853;
432
+ border-color: #c09853;
433
+ background-color: #fcf8e3;
434
+ }
435
+ .has-error .help-block,
436
+ .has-error .control-label {
437
+ color: #b94a48;
438
+ }
439
+ .has-error .form-control {
440
+ border-color: #b94a48;
441
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
442
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
443
+ }
444
+ .has-error .form-control:focus {
445
+ border-color: #953b39;
446
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
447
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
448
+ }
449
+ .has-error .input-group-addon {
450
+ color: #b94a48;
451
+ border-color: #b94a48;
452
+ background-color: #f2dede;
453
+ }
454
+ .has-success .help-block,
455
+ .has-success .control-label {
456
+ color: #468847;
457
+ }
458
+ .has-success .form-control {
459
+ border-color: #468847;
460
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
461
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
462
+ }
463
+ .has-success .form-control:focus {
464
+ border-color: #356635;
465
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
466
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
467
+ }
468
+ .has-success .input-group-addon {
469
+ color: #468847;
470
+ border-color: #468847;
471
+ background-color: #dff0d8;
472
+ }
473
+ .form-control-static {
474
+ margin-bottom: 0;
475
+ padding-top: 7px;
476
+ }
477
+ .help-block {
478
+ display: block;
479
+ margin-top: 5px;
480
+ margin-bottom: 10px;
481
+ color: #737373;
482
+ }
483
+ @media (min-width: 768px) {
484
+ .form-inline .form-group {
485
+ display: inline-block;
486
+ margin-bottom: 0;
487
+ vertical-align: middle;
488
+ }
489
+ .form-inline .form-control {
490
+ display: inline-block;
491
+ }
492
+ .form-inline .radio,
493
+ .form-inline .checkbox {
494
+ display: inline-block;
495
+ margin-top: 0;
496
+ margin-bottom: 0;
497
+ padding-left: 0;
498
+ }
499
+ .form-inline .radio input[type="radio"],
500
+ .form-inline .checkbox input[type="checkbox"] {
501
+ float: none;
502
+ margin-left: 0;
503
+ }
504
+ }
505
+ .form-horizontal .control-label,
506
+ .form-horizontal .radio,
507
+ .form-horizontal .checkbox,
508
+ .form-horizontal .radio-inline,
509
+ .form-horizontal .checkbox-inline {
510
+ margin-top: 0;
511
+ margin-bottom: 0;
512
+ padding-top: 7px;
513
+ }
514
+ .form-horizontal .form-group {
515
+ margin-left: -15px;
516
+ margin-right: -15px;
517
+ }
518
+ .form-horizontal .form-group:before,
519
+ .form-horizontal .form-group:after {
520
+ content: " ";
521
+ /* 1 */
522
+
523
+ display: table;
524
+ /* 2 */
525
+
526
+ }
527
+ .form-horizontal .form-group:after {
528
+ clear: both;
529
+ }
530
+ @media (min-width: 768px) {
531
+ .form-horizontal .control-label {
532
+ text-align: right;
533
+ }
534
+ }
535
+
536
+ .close {
537
+ float: right;
538
+ font-size: 21px;
539
+ font-weight: bold;
540
+ line-height: 1;
541
+ color: #000000;
542
+ text-shadow: 0 1px 0 #ffffff;
543
+ opacity: 0.2;
544
+ filter: alpha(opacity=20);
545
+ }
546
+ .close:hover,
547
+ .close:focus {
548
+ color: #000000;
549
+ text-decoration: none;
550
+ cursor: pointer;
551
+ opacity: 0.5;
552
+ filter: alpha(opacity=50);
553
+ }
554
+ button.close {
555
+ padding: 0;
556
+ cursor: pointer;
557
+ background: transparent;
558
+ border: 0;
559
+ -webkit-appearance: none;
560
+ }