Showing
85 changed files
with
10706 additions
and
0 deletions
index.html
0 → 100644
| 1 | +<!DOCTYPE html> | ||
| 2 | +<html> | ||
| 3 | +<head> | ||
| 4 | + <title>内容编辑器-Content Editor</title> | ||
| 5 | + <meta charset="utf-8"> | ||
| 6 | + <base href="./"> | ||
| 7 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
| 8 | + <!-- <link rel="shortcut icon" href="/favicon.ico"> --> | ||
| 9 | + <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 10 | + <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | + <meta name="format-detection" content="telephone=no"> | ||
| 12 | + <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"> | ||
| 13 | + | ||
| 14 | + <link href="lib/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"> | ||
| 15 | + <link href="lib/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"> | ||
| 16 | + <script src="lib/jquery/jquery-2.2.3.min.js"></script> | ||
| 17 | + <script src="lib/bootstrap/3.3.5/js/bootstrap.min.js"></script> | ||
| 18 | + | ||
| 19 | + <link href="lib/summernote/summernote.css" rel="stylesheet"> | ||
| 20 | + <script src="lib/summernote/summernote.js"></script> | ||
| 21 | + | ||
| 22 | + <!-- include summernote-ko-KR --> | ||
| 23 | + <script src="lib/summernote/lang/summernote-zh-CN.js"></script> | ||
| 24 | +</head> | ||
| 25 | +<body> | ||
| 26 | + <div id="summernote"></div> | ||
| 27 | + <div id="preview" style="padding:1em"> | ||
| 28 | + | ||
| 29 | + </div> | ||
| 30 | + <script> | ||
| 31 | + $(document).ready(function() { | ||
| 32 | + function Publisher(options) { | ||
| 33 | + if (!(this instanceof Publisher)) { | ||
| 34 | + return new Publisher(); | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + var $editor | ||
| 38 | + function init(editor) { | ||
| 39 | + $editor = $(editor); | ||
| 40 | + var ImageGallery = function (context) { | ||
| 41 | + var ui = $.summernote.ui; | ||
| 42 | + | ||
| 43 | + // create button | ||
| 44 | + var button = ui.button({ | ||
| 45 | + contents: '<i class="fa fa-image fa-inverse" style="color: #f02020"></i>', | ||
| 46 | + tooltip: '图库', | ||
| 47 | + click: function () { | ||
| 48 | + // invoke insertText method with 'hello' on editor module. | ||
| 49 | + context.invoke('editor.insertText', '来源自图库...'); | ||
| 50 | + context.invoke('editor.insertNode', document.createElement('p')); | ||
| 51 | + context.invoke('editor.insertImage', 'http://domino.chuangcheng.co/appimg/000151418f2f4b82b924649fccd47eb5_1vuy5a.jpg', 'food'); | ||
| 52 | + } | ||
| 53 | + }); | ||
| 54 | + | ||
| 55 | + return button.render(); // return button as jquery object | ||
| 56 | + }; | ||
| 57 | + var Publish = function (context) { | ||
| 58 | + var ui = $.summernote.ui; | ||
| 59 | + | ||
| 60 | + // create button | ||
| 61 | + var button = ui.button({ | ||
| 62 | + contents: '<i class="fa fa-send-o" style="color: #2020f0"></i>', | ||
| 63 | + tooltip: '发布', | ||
| 64 | + click: function () { | ||
| 65 | + // invoke insertText method with 'hello' on editor module. | ||
| 66 | + $('#preview').html($editor.summernote('code')); | ||
| 67 | + } | ||
| 68 | + }); | ||
| 69 | + | ||
| 70 | + return button.render(); // return button as jquery object | ||
| 71 | + }; | ||
| 72 | + | ||
| 73 | + $editor.summernote({ | ||
| 74 | + height: 500, // set editor height | ||
| 75 | + minHeight: 300, // set minimum height of editor | ||
| 76 | + maxHeight: 760, // set maximum height of editor | ||
| 77 | + focus: true, // set focus to editable area after initializing summernote | ||
| 78 | + lang: 'zh-CN', | ||
| 79 | + placeholder: '写点什么...', | ||
| 80 | + toolbar: [ | ||
| 81 | + ['font', ['fontname', 'fontsize', 'color']], | ||
| 82 | + ['font-style', ['bold', 'italic', 'underline', 'strikethrough', 'subscript', 'superscript']], | ||
| 83 | + ['media', ['gallery', 'picture', 'link', 'video']], | ||
| 84 | + ['insert', ['table', 'hr', 'ol', 'ul']], | ||
| 85 | + ['para', ['style', 'paragraph', 'height']], | ||
| 86 | + ['misc', ['clear', 'undo', 'redo']], | ||
| 87 | + ['send', ['publish']], | ||
| 88 | + ['tools', ['fullscreen', 'codeview', 'help']] | ||
| 89 | + ], | ||
| 90 | + fontNames: ['微软雅黑', 'Arial', 'Arial Black', 'Comic Sans MS', 'Courier New', | ||
| 91 | + 'Helvetica Neue', 'Helvetica', 'Impact', 'Lucida Grande', | ||
| 92 | + 'Tahoma', 'Times New Roman'], | ||
| 93 | + fontNamesIgnoreCheck: ['微软雅黑'], | ||
| 94 | + buttons: { | ||
| 95 | + gallery: ImageGallery, | ||
| 96 | + publish: Publish | ||
| 97 | + }, | ||
| 98 | + callbacks: { | ||
| 99 | + onImageUpload: function(files) { | ||
| 100 | + //upload image to server and create imgNode... | ||
| 101 | + var image = files[0]; | ||
| 102 | + if (image.size <= 102400) { | ||
| 103 | + $editor.summernote('insertImages', [image]); | ||
| 104 | + } else { | ||
| 105 | + data = new FormData(); | ||
| 106 | + data.append("file", image); | ||
| 107 | + | ||
| 108 | + $.ajax({ | ||
| 109 | + data: data, | ||
| 110 | + type: "POST", | ||
| 111 | + url: "/upload", | ||
| 112 | + cache: false, | ||
| 113 | + contentType: false, | ||
| 114 | + processData: false, | ||
| 115 | + success: function(result) { | ||
| 116 | + var file = result.content.files[0]||{}; | ||
| 117 | + console.log(file); | ||
| 118 | + if (file.size) { | ||
| 119 | + $editor.summernote('insertImage', 'http://domino.chuangcheng.co/appimg/000151418f2f4b82b924649fccd47eb5_1vuy5a.jpg', file.name); | ||
| 120 | + } | ||
| 121 | + } | ||
| 122 | + }); | ||
| 123 | + } | ||
| 124 | + } | ||
| 125 | + }, | ||
| 126 | + onImageUploadError: function(e) { | ||
| 127 | + console.log(e); | ||
| 128 | + } | ||
| 129 | + }); | ||
| 130 | + $editor.summernote('fontSize', '24'); | ||
| 131 | + $editor.summernote('fontName', '微软雅黑'); | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + this.init = init; | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + var publisher = new Publisher(); | ||
| 138 | + publisher.init($('#summernote')); | ||
| 139 | + }); | ||
| 140 | + </script> | ||
| 141 | +</body> | ||
| 142 | +</html> |
lib/bootstrap/3.3.5/css/bootstrap-theme.css
0 → 100755
| 1 | +/*! | ||
| 2 | + * Bootstrap v3.3.5 (http://getbootstrap.com) | ||
| 3 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 4 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 5 | + */ | ||
| 6 | +.btn-default, | ||
| 7 | +.btn-primary, | ||
| 8 | +.btn-success, | ||
| 9 | +.btn-info, | ||
| 10 | +.btn-warning, | ||
| 11 | +.btn-danger { | ||
| 12 | + text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); | ||
| 13 | + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); | ||
| 14 | + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); | ||
| 15 | +} | ||
| 16 | +.btn-default:active, | ||
| 17 | +.btn-primary:active, | ||
| 18 | +.btn-success:active, | ||
| 19 | +.btn-info:active, | ||
| 20 | +.btn-warning:active, | ||
| 21 | +.btn-danger:active, | ||
| 22 | +.btn-default.active, | ||
| 23 | +.btn-primary.active, | ||
| 24 | +.btn-success.active, | ||
| 25 | +.btn-info.active, | ||
| 26 | +.btn-warning.active, | ||
| 27 | +.btn-danger.active { | ||
| 28 | + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); | ||
| 29 | + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); | ||
| 30 | +} | ||
| 31 | +.btn-default.disabled, | ||
| 32 | +.btn-primary.disabled, | ||
| 33 | +.btn-success.disabled, | ||
| 34 | +.btn-info.disabled, | ||
| 35 | +.btn-warning.disabled, | ||
| 36 | +.btn-danger.disabled, | ||
| 37 | +.btn-default[disabled], | ||
| 38 | +.btn-primary[disabled], | ||
| 39 | +.btn-success[disabled], | ||
| 40 | +.btn-info[disabled], | ||
| 41 | +.btn-warning[disabled], | ||
| 42 | +.btn-danger[disabled], | ||
| 43 | +fieldset[disabled] .btn-default, | ||
| 44 | +fieldset[disabled] .btn-primary, | ||
| 45 | +fieldset[disabled] .btn-success, | ||
| 46 | +fieldset[disabled] .btn-info, | ||
| 47 | +fieldset[disabled] .btn-warning, | ||
| 48 | +fieldset[disabled] .btn-danger { | ||
| 49 | + -webkit-box-shadow: none; | ||
| 50 | + box-shadow: none; | ||
| 51 | +} | ||
| 52 | +.btn-default .badge, | ||
| 53 | +.btn-primary .badge, | ||
| 54 | +.btn-success .badge, | ||
| 55 | +.btn-info .badge, | ||
| 56 | +.btn-warning .badge, | ||
| 57 | +.btn-danger .badge { | ||
| 58 | + text-shadow: none; | ||
| 59 | +} | ||
| 60 | +.btn:active, | ||
| 61 | +.btn.active { | ||
| 62 | + background-image: none; | ||
| 63 | +} | ||
| 64 | +.btn-default { | ||
| 65 | + text-shadow: 0 1px 0 #fff; | ||
| 66 | + background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%); | ||
| 67 | + background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%); | ||
| 68 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0)); | ||
| 69 | + background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%); | ||
| 70 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0); | ||
| 71 | + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||
| 72 | + background-repeat: repeat-x; | ||
| 73 | + border-color: #dbdbdb; | ||
| 74 | + border-color: #ccc; | ||
| 75 | +} | ||
| 76 | +.btn-default:hover, | ||
| 77 | +.btn-default:focus { | ||
| 78 | + background-color: #e0e0e0; | ||
| 79 | + background-position: 0 -15px; | ||
| 80 | +} | ||
| 81 | +.btn-default:active, | ||
| 82 | +.btn-default.active { | ||
| 83 | + background-color: #e0e0e0; | ||
| 84 | + border-color: #dbdbdb; | ||
| 85 | +} | ||
| 86 | +.btn-default.disabled, | ||
| 87 | +.btn-default[disabled], | ||
| 88 | +fieldset[disabled] .btn-default, | ||
| 89 | +.btn-default.disabled:hover, | ||
| 90 | +.btn-default[disabled]:hover, | ||
| 91 | +fieldset[disabled] .btn-default:hover, | ||
| 92 | +.btn-default.disabled:focus, | ||
| 93 | +.btn-default[disabled]:focus, | ||
| 94 | +fieldset[disabled] .btn-default:focus, | ||
| 95 | +.btn-default.disabled.focus, | ||
| 96 | +.btn-default[disabled].focus, | ||
| 97 | +fieldset[disabled] .btn-default.focus, | ||
| 98 | +.btn-default.disabled:active, | ||
| 99 | +.btn-default[disabled]:active, | ||
| 100 | +fieldset[disabled] .btn-default:active, | ||
| 101 | +.btn-default.disabled.active, | ||
| 102 | +.btn-default[disabled].active, | ||
| 103 | +fieldset[disabled] .btn-default.active { | ||
| 104 | + background-color: #e0e0e0; | ||
| 105 | + background-image: none; | ||
| 106 | +} | ||
| 107 | +.btn-primary { | ||
| 108 | + background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%); | ||
| 109 | + background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%); | ||
| 110 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88)); | ||
| 111 | + background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%); | ||
| 112 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0); | ||
| 113 | + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||
| 114 | + background-repeat: repeat-x; | ||
| 115 | + border-color: #245580; | ||
| 116 | +} | ||
| 117 | +.btn-primary:hover, | ||
| 118 | +.btn-primary:focus { | ||
| 119 | + background-color: #265a88; | ||
| 120 | + background-position: 0 -15px; | ||
| 121 | +} | ||
| 122 | +.btn-primary:active, | ||
| 123 | +.btn-primary.active { | ||
| 124 | + background-color: #265a88; | ||
| 125 | + border-color: #245580; | ||
| 126 | +} | ||
| 127 | +.btn-primary.disabled, | ||
| 128 | +.btn-primary[disabled], | ||
| 129 | +fieldset[disabled] .btn-primary, | ||
| 130 | +.btn-primary.disabled:hover, | ||
| 131 | +.btn-primary[disabled]:hover, | ||
| 132 | +fieldset[disabled] .btn-primary:hover, | ||
| 133 | +.btn-primary.disabled:focus, | ||
| 134 | +.btn-primary[disabled]:focus, | ||
| 135 | +fieldset[disabled] .btn-primary:focus, | ||
| 136 | +.btn-primary.disabled.focus, | ||
| 137 | +.btn-primary[disabled].focus, | ||
| 138 | +fieldset[disabled] .btn-primary.focus, | ||
| 139 | +.btn-primary.disabled:active, | ||
| 140 | +.btn-primary[disabled]:active, | ||
| 141 | +fieldset[disabled] .btn-primary:active, | ||
| 142 | +.btn-primary.disabled.active, | ||
| 143 | +.btn-primary[disabled].active, | ||
| 144 | +fieldset[disabled] .btn-primary.active { | ||
| 145 | + background-color: #265a88; | ||
| 146 | + background-image: none; | ||
| 147 | +} | ||
| 148 | +.btn-success { | ||
| 149 | + background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%); | ||
| 150 | + background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%); | ||
| 151 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641)); | ||
| 152 | + background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%); | ||
| 153 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0); | ||
| 154 | + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||
| 155 | + background-repeat: repeat-x; | ||
| 156 | + border-color: #3e8f3e; | ||
| 157 | +} | ||
| 158 | +.btn-success:hover, | ||
| 159 | +.btn-success:focus { | ||
| 160 | + background-color: #419641; | ||
| 161 | + background-position: 0 -15px; | ||
| 162 | +} | ||
| 163 | +.btn-success:active, | ||
| 164 | +.btn-success.active { | ||
| 165 | + background-color: #419641; | ||
| 166 | + border-color: #3e8f3e; | ||
| 167 | +} | ||
| 168 | +.btn-success.disabled, | ||
| 169 | +.btn-success[disabled], | ||
| 170 | +fieldset[disabled] .btn-success, | ||
| 171 | +.btn-success.disabled:hover, | ||
| 172 | +.btn-success[disabled]:hover, | ||
| 173 | +fieldset[disabled] .btn-success:hover, | ||
| 174 | +.btn-success.disabled:focus, | ||
| 175 | +.btn-success[disabled]:focus, | ||
| 176 | +fieldset[disabled] .btn-success:focus, | ||
| 177 | +.btn-success.disabled.focus, | ||
| 178 | +.btn-success[disabled].focus, | ||
| 179 | +fieldset[disabled] .btn-success.focus, | ||
| 180 | +.btn-success.disabled:active, | ||
| 181 | +.btn-success[disabled]:active, | ||
| 182 | +fieldset[disabled] .btn-success:active, | ||
| 183 | +.btn-success.disabled.active, | ||
| 184 | +.btn-success[disabled].active, | ||
| 185 | +fieldset[disabled] .btn-success.active { | ||
| 186 | + background-color: #419641; | ||
| 187 | + background-image: none; | ||
| 188 | +} | ||
| 189 | +.btn-info { | ||
| 190 | + background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); | ||
| 191 | + background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); | ||
| 192 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2)); | ||
| 193 | + background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%); | ||
| 194 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0); | ||
| 195 | + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||
| 196 | + background-repeat: repeat-x; | ||
| 197 | + border-color: #28a4c9; | ||
| 198 | +} | ||
| 199 | +.btn-info:hover, | ||
| 200 | +.btn-info:focus { | ||
| 201 | + background-color: #2aabd2; | ||
| 202 | + background-position: 0 -15px; | ||
| 203 | +} | ||
| 204 | +.btn-info:active, | ||
| 205 | +.btn-info.active { | ||
| 206 | + background-color: #2aabd2; | ||
| 207 | + border-color: #28a4c9; | ||
| 208 | +} | ||
| 209 | +.btn-info.disabled, | ||
| 210 | +.btn-info[disabled], | ||
| 211 | +fieldset[disabled] .btn-info, | ||
| 212 | +.btn-info.disabled:hover, | ||
| 213 | +.btn-info[disabled]:hover, | ||
| 214 | +fieldset[disabled] .btn-info:hover, | ||
| 215 | +.btn-info.disabled:focus, | ||
| 216 | +.btn-info[disabled]:focus, | ||
| 217 | +fieldset[disabled] .btn-info:focus, | ||
| 218 | +.btn-info.disabled.focus, | ||
| 219 | +.btn-info[disabled].focus, | ||
| 220 | +fieldset[disabled] .btn-info.focus, | ||
| 221 | +.btn-info.disabled:active, | ||
| 222 | +.btn-info[disabled]:active, | ||
| 223 | +fieldset[disabled] .btn-info:active, | ||
| 224 | +.btn-info.disabled.active, | ||
| 225 | +.btn-info[disabled].active, | ||
| 226 | +fieldset[disabled] .btn-info.active { | ||
| 227 | + background-color: #2aabd2; | ||
| 228 | + background-image: none; | ||
| 229 | +} | ||
| 230 | +.btn-warning { | ||
| 231 | + background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); | ||
| 232 | + background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); | ||
| 233 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316)); | ||
| 234 | + background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%); | ||
| 235 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0); | ||
| 236 | + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||
| 237 | + background-repeat: repeat-x; | ||
| 238 | + border-color: #e38d13; | ||
| 239 | +} | ||
| 240 | +.btn-warning:hover, | ||
| 241 | +.btn-warning:focus { | ||
| 242 | + background-color: #eb9316; | ||
| 243 | + background-position: 0 -15px; | ||
| 244 | +} | ||
| 245 | +.btn-warning:active, | ||
| 246 | +.btn-warning.active { | ||
| 247 | + background-color: #eb9316; | ||
| 248 | + border-color: #e38d13; | ||
| 249 | +} | ||
| 250 | +.btn-warning.disabled, | ||
| 251 | +.btn-warning[disabled], | ||
| 252 | +fieldset[disabled] .btn-warning, | ||
| 253 | +.btn-warning.disabled:hover, | ||
| 254 | +.btn-warning[disabled]:hover, | ||
| 255 | +fieldset[disabled] .btn-warning:hover, | ||
| 256 | +.btn-warning.disabled:focus, | ||
| 257 | +.btn-warning[disabled]:focus, | ||
| 258 | +fieldset[disabled] .btn-warning:focus, | ||
| 259 | +.btn-warning.disabled.focus, | ||
| 260 | +.btn-warning[disabled].focus, | ||
| 261 | +fieldset[disabled] .btn-warning.focus, | ||
| 262 | +.btn-warning.disabled:active, | ||
| 263 | +.btn-warning[disabled]:active, | ||
| 264 | +fieldset[disabled] .btn-warning:active, | ||
| 265 | +.btn-warning.disabled.active, | ||
| 266 | +.btn-warning[disabled].active, | ||
| 267 | +fieldset[disabled] .btn-warning.active { | ||
| 268 | + background-color: #eb9316; | ||
| 269 | + background-image: none; | ||
| 270 | +} | ||
| 271 | +.btn-danger { | ||
| 272 | + background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%); | ||
| 273 | + background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%); | ||
| 274 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a)); | ||
| 275 | + background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%); | ||
| 276 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0); | ||
| 277 | + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||
| 278 | + background-repeat: repeat-x; | ||
| 279 | + border-color: #b92c28; | ||
| 280 | +} | ||
| 281 | +.btn-danger:hover, | ||
| 282 | +.btn-danger:focus { | ||
| 283 | + background-color: #c12e2a; | ||
| 284 | + background-position: 0 -15px; | ||
| 285 | +} | ||
| 286 | +.btn-danger:active, | ||
| 287 | +.btn-danger.active { | ||
| 288 | + background-color: #c12e2a; | ||
| 289 | + border-color: #b92c28; | ||
| 290 | +} | ||
| 291 | +.btn-danger.disabled, | ||
| 292 | +.btn-danger[disabled], | ||
| 293 | +fieldset[disabled] .btn-danger, | ||
| 294 | +.btn-danger.disabled:hover, | ||
| 295 | +.btn-danger[disabled]:hover, | ||
| 296 | +fieldset[disabled] .btn-danger:hover, | ||
| 297 | +.btn-danger.disabled:focus, | ||
| 298 | +.btn-danger[disabled]:focus, | ||
| 299 | +fieldset[disabled] .btn-danger:focus, | ||
| 300 | +.btn-danger.disabled.focus, | ||
| 301 | +.btn-danger[disabled].focus, | ||
| 302 | +fieldset[disabled] .btn-danger.focus, | ||
| 303 | +.btn-danger.disabled:active, | ||
| 304 | +.btn-danger[disabled]:active, | ||
| 305 | +fieldset[disabled] .btn-danger:active, | ||
| 306 | +.btn-danger.disabled.active, | ||
| 307 | +.btn-danger[disabled].active, | ||
| 308 | +fieldset[disabled] .btn-danger.active { | ||
| 309 | + background-color: #c12e2a; | ||
| 310 | + background-image: none; | ||
| 311 | +} | ||
| 312 | +.thumbnail, | ||
| 313 | +.img-thumbnail { | ||
| 314 | + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); | ||
| 315 | + box-shadow: 0 1px 2px rgba(0, 0, 0, .075); | ||
| 316 | +} | ||
| 317 | +.dropdown-menu > li > a:hover, | ||
| 318 | +.dropdown-menu > li > a:focus { | ||
| 319 | + background-color: #e8e8e8; | ||
| 320 | + background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); | ||
| 321 | + background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); | ||
| 322 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); | ||
| 323 | + background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); | ||
| 324 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); | ||
| 325 | + background-repeat: repeat-x; | ||
| 326 | +} | ||
| 327 | +.dropdown-menu > .active > a, | ||
| 328 | +.dropdown-menu > .active > a:hover, | ||
| 329 | +.dropdown-menu > .active > a:focus { | ||
| 330 | + background-color: #2e6da4; | ||
| 331 | + background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); | ||
| 332 | + background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); | ||
| 333 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); | ||
| 334 | + background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); | ||
| 335 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); | ||
| 336 | + background-repeat: repeat-x; | ||
| 337 | +} | ||
| 338 | +.navbar-default { | ||
| 339 | + background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%); | ||
| 340 | + background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%); | ||
| 341 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8)); | ||
| 342 | + background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%); | ||
| 343 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0); | ||
| 344 | + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||
| 345 | + background-repeat: repeat-x; | ||
| 346 | + border-radius: 4px; | ||
| 347 | + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); | ||
| 348 | + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); | ||
| 349 | +} | ||
| 350 | +.navbar-default .navbar-nav > .open > a, | ||
| 351 | +.navbar-default .navbar-nav > .active > a { | ||
| 352 | + background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); | ||
| 353 | + background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); | ||
| 354 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2)); | ||
| 355 | + background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%); | ||
| 356 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0); | ||
| 357 | + background-repeat: repeat-x; | ||
| 358 | + -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); | ||
| 359 | + box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); | ||
| 360 | +} | ||
| 361 | +.navbar-brand, | ||
| 362 | +.navbar-nav > li > a { | ||
| 363 | + text-shadow: 0 1px 0 rgba(255, 255, 255, .25); | ||
| 364 | +} | ||
| 365 | +.navbar-inverse { | ||
| 366 | + background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%); | ||
| 367 | + background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%); | ||
| 368 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222)); | ||
| 369 | + background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%); | ||
| 370 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0); | ||
| 371 | + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | ||
| 372 | + background-repeat: repeat-x; | ||
| 373 | + border-radius: 4px; | ||
| 374 | +} | ||
| 375 | +.navbar-inverse .navbar-nav > .open > a, | ||
| 376 | +.navbar-inverse .navbar-nav > .active > a { | ||
| 377 | + background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%); | ||
| 378 | + background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%); | ||
| 379 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f)); | ||
| 380 | + background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%); | ||
| 381 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0); | ||
| 382 | + background-repeat: repeat-x; | ||
| 383 | + -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); | ||
| 384 | + box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); | ||
| 385 | +} | ||
| 386 | +.navbar-inverse .navbar-brand, | ||
| 387 | +.navbar-inverse .navbar-nav > li > a { | ||
| 388 | + text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); | ||
| 389 | +} | ||
| 390 | +.navbar-static-top, | ||
| 391 | +.navbar-fixed-top, | ||
| 392 | +.navbar-fixed-bottom { | ||
| 393 | + border-radius: 0; | ||
| 394 | +} | ||
| 395 | +@media (max-width: 767px) { | ||
| 396 | + .navbar .navbar-nav .open .dropdown-menu > .active > a, | ||
| 397 | + .navbar .navbar-nav .open .dropdown-menu > .active > a:hover, | ||
| 398 | + .navbar .navbar-nav .open .dropdown-menu > .active > a:focus { | ||
| 399 | + color: #fff; | ||
| 400 | + background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); | ||
| 401 | + background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); | ||
| 402 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); | ||
| 403 | + background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); | ||
| 404 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); | ||
| 405 | + background-repeat: repeat-x; | ||
| 406 | + } | ||
| 407 | +} | ||
| 408 | +.alert { | ||
| 409 | + text-shadow: 0 1px 0 rgba(255, 255, 255, .2); | ||
| 410 | + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); | ||
| 411 | + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); | ||
| 412 | +} | ||
| 413 | +.alert-success { | ||
| 414 | + background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); | ||
| 415 | + background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); | ||
| 416 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc)); | ||
| 417 | + background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%); | ||
| 418 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0); | ||
| 419 | + background-repeat: repeat-x; | ||
| 420 | + border-color: #b2dba1; | ||
| 421 | +} | ||
| 422 | +.alert-info { | ||
| 423 | + background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%); | ||
| 424 | + background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%); | ||
| 425 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0)); | ||
| 426 | + background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%); | ||
| 427 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0); | ||
| 428 | + background-repeat: repeat-x; | ||
| 429 | + border-color: #9acfea; | ||
| 430 | +} | ||
| 431 | +.alert-warning { | ||
| 432 | + background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); | ||
| 433 | + background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); | ||
| 434 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0)); | ||
| 435 | + background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%); | ||
| 436 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0); | ||
| 437 | + background-repeat: repeat-x; | ||
| 438 | + border-color: #f5e79e; | ||
| 439 | +} | ||
| 440 | +.alert-danger { | ||
| 441 | + background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); | ||
| 442 | + background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); | ||
| 443 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3)); | ||
| 444 | + background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%); | ||
| 445 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0); | ||
| 446 | + background-repeat: repeat-x; | ||
| 447 | + border-color: #dca7a7; | ||
| 448 | +} | ||
| 449 | +.progress { | ||
| 450 | + background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); | ||
| 451 | + background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); | ||
| 452 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5)); | ||
| 453 | + background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%); | ||
| 454 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0); | ||
| 455 | + background-repeat: repeat-x; | ||
| 456 | +} | ||
| 457 | +.progress-bar { | ||
| 458 | + background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%); | ||
| 459 | + background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%); | ||
| 460 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090)); | ||
| 461 | + background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%); | ||
| 462 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0); | ||
| 463 | + background-repeat: repeat-x; | ||
| 464 | +} | ||
| 465 | +.progress-bar-success { | ||
| 466 | + background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%); | ||
| 467 | + background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%); | ||
| 468 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44)); | ||
| 469 | + background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); | ||
| 470 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); | ||
| 471 | + background-repeat: repeat-x; | ||
| 472 | +} | ||
| 473 | +.progress-bar-info { | ||
| 474 | + background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); | ||
| 475 | + background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); | ||
| 476 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5)); | ||
| 477 | + background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); | ||
| 478 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); | ||
| 479 | + background-repeat: repeat-x; | ||
| 480 | +} | ||
| 481 | +.progress-bar-warning { | ||
| 482 | + background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); | ||
| 483 | + background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); | ||
| 484 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f)); | ||
| 485 | + background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); | ||
| 486 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); | ||
| 487 | + background-repeat: repeat-x; | ||
| 488 | +} | ||
| 489 | +.progress-bar-danger { | ||
| 490 | + background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%); | ||
| 491 | + background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%); | ||
| 492 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c)); | ||
| 493 | + background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); | ||
| 494 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); | ||
| 495 | + background-repeat: repeat-x; | ||
| 496 | +} | ||
| 497 | +.progress-bar-striped { | ||
| 498 | + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | ||
| 499 | + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | ||
| 500 | + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | ||
| 501 | +} | ||
| 502 | +.list-group { | ||
| 503 | + border-radius: 4px; | ||
| 504 | + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); | ||
| 505 | + box-shadow: 0 1px 2px rgba(0, 0, 0, .075); | ||
| 506 | +} | ||
| 507 | +.list-group-item.active, | ||
| 508 | +.list-group-item.active:hover, | ||
| 509 | +.list-group-item.active:focus { | ||
| 510 | + text-shadow: 0 -1px 0 #286090; | ||
| 511 | + background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%); | ||
| 512 | + background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%); | ||
| 513 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a)); | ||
| 514 | + background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%); | ||
| 515 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0); | ||
| 516 | + background-repeat: repeat-x; | ||
| 517 | + border-color: #2b669a; | ||
| 518 | +} | ||
| 519 | +.list-group-item.active .badge, | ||
| 520 | +.list-group-item.active:hover .badge, | ||
| 521 | +.list-group-item.active:focus .badge { | ||
| 522 | + text-shadow: none; | ||
| 523 | +} | ||
| 524 | +.panel { | ||
| 525 | + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05); | ||
| 526 | + box-shadow: 0 1px 2px rgba(0, 0, 0, .05); | ||
| 527 | +} | ||
| 528 | +.panel-default > .panel-heading { | ||
| 529 | + background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); | ||
| 530 | + background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); | ||
| 531 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); | ||
| 532 | + background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); | ||
| 533 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); | ||
| 534 | + background-repeat: repeat-x; | ||
| 535 | +} | ||
| 536 | +.panel-primary > .panel-heading { | ||
| 537 | + background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); | ||
| 538 | + background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); | ||
| 539 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); | ||
| 540 | + background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); | ||
| 541 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); | ||
| 542 | + background-repeat: repeat-x; | ||
| 543 | +} | ||
| 544 | +.panel-success > .panel-heading { | ||
| 545 | + background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); | ||
| 546 | + background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); | ||
| 547 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6)); | ||
| 548 | + background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); | ||
| 549 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); | ||
| 550 | + background-repeat: repeat-x; | ||
| 551 | +} | ||
| 552 | +.panel-info > .panel-heading { | ||
| 553 | + background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); | ||
| 554 | + background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); | ||
| 555 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3)); | ||
| 556 | + background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); | ||
| 557 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); | ||
| 558 | + background-repeat: repeat-x; | ||
| 559 | +} | ||
| 560 | +.panel-warning > .panel-heading { | ||
| 561 | + background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); | ||
| 562 | + background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); | ||
| 563 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc)); | ||
| 564 | + background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); | ||
| 565 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); | ||
| 566 | + background-repeat: repeat-x; | ||
| 567 | +} | ||
| 568 | +.panel-danger > .panel-heading { | ||
| 569 | + background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%); | ||
| 570 | + background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%); | ||
| 571 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc)); | ||
| 572 | + background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); | ||
| 573 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); | ||
| 574 | + background-repeat: repeat-x; | ||
| 575 | +} | ||
| 576 | +.well { | ||
| 577 | + background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); | ||
| 578 | + background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); | ||
| 579 | + background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5)); | ||
| 580 | + background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%); | ||
| 581 | + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); | ||
| 582 | + background-repeat: repeat-x; | ||
| 583 | + border-color: #dcdcdc; | ||
| 584 | + -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); | ||
| 585 | + box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); | ||
| 586 | +} | ||
| 587 | +/*# sourceMappingURL=bootstrap-theme.css.map */ |
| 1 | +{"version":3,"sources":["bootstrap-theme.css","less/theme.less","less/mixins/vendor-prefixes.less","less/mixins/gradients.less","less/mixins/reset-filter.less"],"names":[],"mappings":"AAAA;;;;GAIG;ACeH;;;;;;EAME,yCAAA;EC2CA,4FAAA;EACQ,oFAAA;CFvDT;ACgBC;;;;;;;;;;;;ECsCA,yDAAA;EACQ,iDAAA;CFxCT;ACMC;;;;;;;;;;;;;;;;;;ECiCA,yBAAA;EACQ,iBAAA;CFnBT;AC/BD;;;;;;EAuBI,kBAAA;CDgBH;ACyBC;;EAEE,uBAAA;CDvBH;AC4BD;EErEI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EAEA,uHAAA;ECnBF,oEAAA;EH4CA,4BAAA;EACA,sBAAA;EAuC2C,0BAAA;EAA2B,mBAAA;CDjBvE;ACpBC;;EAEE,0BAAA;EACA,6BAAA;CDsBH;ACnBC;;EAEE,0BAAA;EACA,sBAAA;CDqBH;ACfG;;;;;;;;;;;;;;;;;;EAME,0BAAA;EACA,uBAAA;CD6BL;ACbD;EEtEI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EAEA,uHAAA;ECnBF,oEAAA;EH4CA,4BAAA;EACA,sBAAA;CD8DD;AC5DC;;EAEE,0BAAA;EACA,6BAAA;CD8DH;AC3DC;;EAEE,0BAAA;EACA,sBAAA;CD6DH;ACvDG;;;;;;;;;;;;;;;;;;EAME,0BAAA;EACA,uBAAA;CDqEL;ACpDD;EEvEI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EAEA,uHAAA;ECnBF,oEAAA;EH4CA,4BAAA;EACA,sBAAA;CDsGD;ACpGC;;EAEE,0BAAA;EACA,6BAAA;CDsGH;ACnGC;;EAEE,0BAAA;EACA,sBAAA;CDqGH;AC/FG;;;;;;;;;;;;;;;;;;EAME,0BAAA;EACA,uBAAA;CD6GL;AC3FD;EExEI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EAEA,uHAAA;ECnBF,oEAAA;EH4CA,4BAAA;EACA,sBAAA;CD8ID;AC5IC;;EAEE,0BAAA;EACA,6BAAA;CD8IH;AC3IC;;EAEE,0BAAA;EACA,sBAAA;CD6IH;ACvIG;;;;;;;;;;;;;;;;;;EAME,0BAAA;EACA,uBAAA;CDqJL;AClID;EEzEI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EAEA,uHAAA;ECnBF,oEAAA;EH4CA,4BAAA;EACA,sBAAA;CDsLD;ACpLC;;EAEE,0BAAA;EACA,6BAAA;CDsLH;ACnLC;;EAEE,0BAAA;EACA,sBAAA;CDqLH;AC/KG;;;;;;;;;;;;;;;;;;EAME,0BAAA;EACA,uBAAA;CD6LL;ACzKD;EE1EI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EAEA,uHAAA;ECnBF,oEAAA;EH4CA,4BAAA;EACA,sBAAA;CD8ND;AC5NC;;EAEE,0BAAA;EACA,6BAAA;CD8NH;AC3NC;;EAEE,0BAAA;EACA,sBAAA;CD6NH;ACvNG;;;;;;;;;;;;;;;;;;EAME,0BAAA;EACA,uBAAA;CDqOL;AC1MD;;EClCE,mDAAA;EACQ,2CAAA;CFgPT;ACrMD;;EE3FI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;EF0FF,0BAAA;CD2MD;ACzMD;;;EEhGI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;EFgGF,0BAAA;CD+MD;ACtMD;EE7GI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;ECnBF,oEAAA;EH+HA,mBAAA;ECjEA,4FAAA;EACQ,oFAAA;CF8QT;ACjND;;EE7GI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;ED2CF,yDAAA;EACQ,iDAAA;CFwRT;AC9MD;;EAEE,+CAAA;CDgND;AC5MD;EEhII,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;ECnBF,oEAAA;EHkJA,mBAAA;CDkND;ACrND;;EEhII,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;ED2CF,wDAAA;EACQ,gDAAA;CF+ST;AC/ND;;EAYI,0CAAA;CDuNH;AClND;;;EAGE,iBAAA;CDoND;AC/LD;EAfI;;;IAGE,YAAA;IE7JF,yEAAA;IACA,oEAAA;IACA,8FAAA;IAAA,uEAAA;IACA,4BAAA;IACA,uHAAA;GH+WD;CACF;AC3MD;EACE,8CAAA;EC3HA,2FAAA;EACQ,mFAAA;CFyUT;ACnMD;EEtLI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;EF8KF,sBAAA;CD+MD;AC1MD;EEvLI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;EF8KF,sBAAA;CDuND;ACjND;EExLI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;EF8KF,sBAAA;CD+ND;ACxND;EEzLI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;EF8KF,sBAAA;CDuOD;ACxND;EEjMI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CH4ZH;ACrND;EE3MI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CHmaH;AC3ND;EE5MI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CH0aH;ACjOD;EE7MI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CHibH;ACvOD;EE9MI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CHwbH;AC7OD;EE/MI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CH+bH;AChPD;EElLI,8MAAA;EACA,yMAAA;EACA,sMAAA;CHqaH;AC5OD;EACE,mBAAA;EC9KA,mDAAA;EACQ,2CAAA;CF6ZT;AC7OD;;;EAGE,8BAAA;EEnOE,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;EFiOF,sBAAA;CDmPD;ACxPD;;;EAQI,kBAAA;CDqPH;AC3OD;ECnME,kDAAA;EACQ,0CAAA;CFibT;ACrOD;EE5PI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CHoeH;AC3OD;EE7PI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CH2eH;ACjPD;EE9PI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CHkfH;ACvPD;EE/PI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CHyfH;AC7PD;EEhQI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CHggBH;ACnQD;EEjQI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;CHugBH;ACnQD;EExQI,yEAAA;EACA,oEAAA;EACA,8FAAA;EAAA,uEAAA;EACA,4BAAA;EACA,uHAAA;EFsQF,sBAAA;EC3NA,0FAAA;EACQ,kFAAA;CFqeT","file":"bootstrap-theme.css","sourcesContent":["/*!\n * Bootstrap v3.3.5 (http://getbootstrap.com)\n * Copyright 2011-2015 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n.btn-default,\n.btn-primary,\n.btn-success,\n.btn-info,\n.btn-warning,\n.btn-danger {\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.btn-default:active,\n.btn-primary:active,\n.btn-success:active,\n.btn-info:active,\n.btn-warning:active,\n.btn-danger:active,\n.btn-default.active,\n.btn-primary.active,\n.btn-success.active,\n.btn-info.active,\n.btn-warning.active,\n.btn-danger.active {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n.btn-default.disabled,\n.btn-primary.disabled,\n.btn-success.disabled,\n.btn-info.disabled,\n.btn-warning.disabled,\n.btn-danger.disabled,\n.btn-default[disabled],\n.btn-primary[disabled],\n.btn-success[disabled],\n.btn-info[disabled],\n.btn-warning[disabled],\n.btn-danger[disabled],\nfieldset[disabled] .btn-default,\nfieldset[disabled] .btn-primary,\nfieldset[disabled] .btn-success,\nfieldset[disabled] .btn-info,\nfieldset[disabled] .btn-warning,\nfieldset[disabled] .btn-danger {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-default .badge,\n.btn-primary .badge,\n.btn-success .badge,\n.btn-info .badge,\n.btn-warning .badge,\n.btn-danger .badge {\n text-shadow: none;\n}\n.btn:active,\n.btn.active {\n background-image: none;\n}\n.btn-default {\n background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);\n background-image: -o-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);\n background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #dbdbdb;\n text-shadow: 0 1px 0 #fff;\n border-color: #ccc;\n}\n.btn-default:hover,\n.btn-default:focus {\n background-color: #e0e0e0;\n background-position: 0 -15px;\n}\n.btn-default:active,\n.btn-default.active {\n background-color: #e0e0e0;\n border-color: #dbdbdb;\n}\n.btn-default.disabled,\n.btn-default[disabled],\nfieldset[disabled] .btn-default,\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled.focus,\n.btn-default[disabled].focus,\nfieldset[disabled] .btn-default.focus,\n.btn-default.disabled:active,\n.btn-default[disabled]:active,\nfieldset[disabled] .btn-default:active,\n.btn-default.disabled.active,\n.btn-default[disabled].active,\nfieldset[disabled] .btn-default.active {\n background-color: #e0e0e0;\n background-image: none;\n}\n.btn-primary {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #245580;\n}\n.btn-primary:hover,\n.btn-primary:focus {\n background-color: #265a88;\n background-position: 0 -15px;\n}\n.btn-primary:active,\n.btn-primary.active {\n background-color: #265a88;\n border-color: #245580;\n}\n.btn-primary.disabled,\n.btn-primary[disabled],\nfieldset[disabled] .btn-primary,\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled.focus,\n.btn-primary[disabled].focus,\nfieldset[disabled] .btn-primary.focus,\n.btn-primary.disabled:active,\n.btn-primary[disabled]:active,\nfieldset[disabled] .btn-primary:active,\n.btn-primary.disabled.active,\n.btn-primary[disabled].active,\nfieldset[disabled] .btn-primary.active {\n background-color: #265a88;\n background-image: none;\n}\n.btn-success {\n background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);\n background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);\n background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #3e8f3e;\n}\n.btn-success:hover,\n.btn-success:focus {\n background-color: #419641;\n background-position: 0 -15px;\n}\n.btn-success:active,\n.btn-success.active {\n background-color: #419641;\n border-color: #3e8f3e;\n}\n.btn-success.disabled,\n.btn-success[disabled],\nfieldset[disabled] .btn-success,\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled.focus,\n.btn-success[disabled].focus,\nfieldset[disabled] .btn-success.focus,\n.btn-success.disabled:active,\n.btn-success[disabled]:active,\nfieldset[disabled] .btn-success:active,\n.btn-success.disabled.active,\n.btn-success[disabled].active,\nfieldset[disabled] .btn-success.active {\n background-color: #419641;\n background-image: none;\n}\n.btn-info {\n background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);\n background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);\n background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #28a4c9;\n}\n.btn-info:hover,\n.btn-info:focus {\n background-color: #2aabd2;\n background-position: 0 -15px;\n}\n.btn-info:active,\n.btn-info.active {\n background-color: #2aabd2;\n border-color: #28a4c9;\n}\n.btn-info.disabled,\n.btn-info[disabled],\nfieldset[disabled] .btn-info,\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled.focus,\n.btn-info[disabled].focus,\nfieldset[disabled] .btn-info.focus,\n.btn-info.disabled:active,\n.btn-info[disabled]:active,\nfieldset[disabled] .btn-info:active,\n.btn-info.disabled.active,\n.btn-info[disabled].active,\nfieldset[disabled] .btn-info.active {\n background-color: #2aabd2;\n background-image: none;\n}\n.btn-warning {\n background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);\n background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);\n background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #e38d13;\n}\n.btn-warning:hover,\n.btn-warning:focus {\n background-color: #eb9316;\n background-position: 0 -15px;\n}\n.btn-warning:active,\n.btn-warning.active {\n background-color: #eb9316;\n border-color: #e38d13;\n}\n.btn-warning.disabled,\n.btn-warning[disabled],\nfieldset[disabled] .btn-warning,\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled.focus,\n.btn-warning[disabled].focus,\nfieldset[disabled] .btn-warning.focus,\n.btn-warning.disabled:active,\n.btn-warning[disabled]:active,\nfieldset[disabled] .btn-warning:active,\n.btn-warning.disabled.active,\n.btn-warning[disabled].active,\nfieldset[disabled] .btn-warning.active {\n background-color: #eb9316;\n background-image: none;\n}\n.btn-danger {\n background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);\n background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);\n background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n background-repeat: repeat-x;\n border-color: #b92c28;\n}\n.btn-danger:hover,\n.btn-danger:focus {\n background-color: #c12e2a;\n background-position: 0 -15px;\n}\n.btn-danger:active,\n.btn-danger.active {\n background-color: #c12e2a;\n border-color: #b92c28;\n}\n.btn-danger.disabled,\n.btn-danger[disabled],\nfieldset[disabled] .btn-danger,\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled.focus,\n.btn-danger[disabled].focus,\nfieldset[disabled] .btn-danger.focus,\n.btn-danger.disabled:active,\n.btn-danger[disabled]:active,\nfieldset[disabled] .btn-danger:active,\n.btn-danger.disabled.active,\n.btn-danger[disabled].active,\nfieldset[disabled] .btn-danger.active {\n background-color: #c12e2a;\n background-image: none;\n}\n.thumbnail,\n.img-thumbnail {\n -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);\n background-color: #e8e8e8;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);\n background-color: #2e6da4;\n}\n.navbar-default {\n background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);\n background-image: -o-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);\n background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .active > a {\n background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);\n background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);\n background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);\n -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);\n}\n.navbar-brand,\n.navbar-nav > li > a {\n text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);\n}\n.navbar-inverse {\n background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);\n background-image: -o-linear-gradient(top, #3c3c3c 0%, #222222 100%);\n background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n border-radius: 4px;\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .active > a {\n background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);\n background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);\n background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);\n -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);\n box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);\n}\n.navbar-inverse .navbar-brand,\n.navbar-inverse .navbar-nav > li > a {\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n.navbar-static-top,\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n border-radius: 0;\n}\n@media (max-width: 767px) {\n .navbar .navbar-nav .open .dropdown-menu > .active > a,\n .navbar .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);\n }\n}\n.alert {\n text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n.alert-success {\n background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);\n background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);\n background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);\n border-color: #b2dba1;\n}\n.alert-info {\n background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);\n background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);\n background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);\n border-color: #9acfea;\n}\n.alert-warning {\n background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);\n background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);\n background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);\n border-color: #f5e79e;\n}\n.alert-danger {\n background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);\n background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);\n background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);\n border-color: #dca7a7;\n}\n.progress {\n background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);\n background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);\n background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);\n}\n.progress-bar {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);\n}\n.progress-bar-success {\n background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);\n background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);\n background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);\n}\n.progress-bar-info {\n background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);\n background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);\n background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);\n}\n.progress-bar-warning {\n background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);\n background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);\n background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);\n}\n.progress-bar-danger {\n background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);\n background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);\n background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);\n}\n.progress-bar-striped {\n 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);\n 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);\n 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);\n}\n.list-group {\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n text-shadow: 0 -1px 0 #286090;\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);\n border-color: #2b669a;\n}\n.list-group-item.active .badge,\n.list-group-item.active:hover .badge,\n.list-group-item.active:focus .badge {\n text-shadow: none;\n}\n.panel {\n -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n.panel-default > .panel-heading {\n background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);\n}\n.panel-primary > .panel-heading {\n background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);\n background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);\n}\n.panel-success > .panel-heading {\n background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);\n background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);\n background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);\n}\n.panel-info > .panel-heading {\n background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);\n background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);\n background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);\n}\n.panel-warning > .panel-heading {\n background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);\n background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);\n background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);\n}\n.panel-danger > .panel-heading {\n background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);\n background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);\n background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);\n}\n.well {\n background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);\n background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);\n background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);\n border-color: #dcdcdc;\n -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);\n}\n/*# sourceMappingURL=bootstrap-theme.css.map */","/*!\n * Bootstrap v3.3.5 (http://getbootstrap.com)\n * Copyright 2011-2015 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n\n//\n// Load core variables and mixins\n// --------------------------------------------------\n\n@import \"variables.less\";\n@import \"mixins.less\";\n\n\n//\n// Buttons\n// --------------------------------------------------\n\n// Common styles\n.btn-default,\n.btn-primary,\n.btn-success,\n.btn-info,\n.btn-warning,\n.btn-danger {\n text-shadow: 0 -1px 0 rgba(0,0,0,.2);\n @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);\n .box-shadow(@shadow);\n\n // Reset the shadow\n &:active,\n &.active {\n .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n }\n\n &.disabled,\n &[disabled],\n fieldset[disabled] & {\n .box-shadow(none);\n }\n\n .badge {\n text-shadow: none;\n }\n}\n\n// Mixin for generating new styles\n.btn-styles(@btn-color: #555) {\n #gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));\n .reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620\n background-repeat: repeat-x;\n border-color: darken(@btn-color, 14%);\n\n &:hover,\n &:focus {\n background-color: darken(@btn-color, 12%);\n background-position: 0 -15px;\n }\n\n &:active,\n &.active {\n background-color: darken(@btn-color, 12%);\n border-color: darken(@btn-color, 14%);\n }\n\n &.disabled,\n &[disabled],\n fieldset[disabled] & {\n &,\n &:hover,\n &:focus,\n &.focus,\n &:active,\n &.active {\n background-color: darken(@btn-color, 12%);\n background-image: none;\n }\n }\n}\n\n// Common styles\n.btn {\n // Remove the gradient for the pressed/active state\n &:active,\n &.active {\n background-image: none;\n }\n}\n\n// Apply the mixin to the buttons\n.btn-default { .btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }\n.btn-primary { .btn-styles(@btn-primary-bg); }\n.btn-success { .btn-styles(@btn-success-bg); }\n.btn-info { .btn-styles(@btn-info-bg); }\n.btn-warning { .btn-styles(@btn-warning-bg); }\n.btn-danger { .btn-styles(@btn-danger-bg); }\n\n\n//\n// Images\n// --------------------------------------------------\n\n.thumbnail,\n.img-thumbnail {\n .box-shadow(0 1px 2px rgba(0,0,0,.075));\n}\n\n\n//\n// Dropdowns\n// --------------------------------------------------\n\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n #gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));\n background-color: darken(@dropdown-link-hover-bg, 5%);\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));\n background-color: darken(@dropdown-link-active-bg, 5%);\n}\n\n\n//\n// Navbar\n// --------------------------------------------------\n\n// Default navbar\n.navbar-default {\n #gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);\n .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered\n border-radius: @navbar-border-radius;\n @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);\n .box-shadow(@shadow);\n\n .navbar-nav > .open > a,\n .navbar-nav > .active > a {\n #gradient > .vertical(@start-color: darken(@navbar-default-link-active-bg, 5%); @end-color: darken(@navbar-default-link-active-bg, 2%));\n .box-shadow(inset 0 3px 9px rgba(0,0,0,.075));\n }\n}\n.navbar-brand,\n.navbar-nav > li > a {\n text-shadow: 0 1px 0 rgba(255,255,255,.25);\n}\n\n// Inverted navbar\n.navbar-inverse {\n #gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);\n .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257\n border-radius: @navbar-border-radius;\n .navbar-nav > .open > a,\n .navbar-nav > .active > a {\n #gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-inverse-link-active-bg, 2.5%));\n .box-shadow(inset 0 3px 9px rgba(0,0,0,.25));\n }\n\n .navbar-brand,\n .navbar-nav > li > a {\n text-shadow: 0 -1px 0 rgba(0,0,0,.25);\n }\n}\n\n// Undo rounded corners in static and fixed navbars\n.navbar-static-top,\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n border-radius: 0;\n}\n\n// Fix active state of dropdown items in collapsed mode\n@media (max-width: @grid-float-breakpoint-max) {\n .navbar .navbar-nav .open .dropdown-menu > .active > a {\n &,\n &:hover,\n &:focus {\n color: #fff;\n #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));\n }\n }\n}\n\n\n//\n// Alerts\n// --------------------------------------------------\n\n// Common styles\n.alert {\n text-shadow: 0 1px 0 rgba(255,255,255,.2);\n @shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);\n .box-shadow(@shadow);\n}\n\n// Mixin for generating new styles\n.alert-styles(@color) {\n #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 7.5%));\n border-color: darken(@color, 15%);\n}\n\n// Apply the mixin to the alerts\n.alert-success { .alert-styles(@alert-success-bg); }\n.alert-info { .alert-styles(@alert-info-bg); }\n.alert-warning { .alert-styles(@alert-warning-bg); }\n.alert-danger { .alert-styles(@alert-danger-bg); }\n\n\n//\n// Progress bars\n// --------------------------------------------------\n\n// Give the progress background some depth\n.progress {\n #gradient > .vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg)\n}\n\n// Mixin for generating new styles\n.progress-bar-styles(@color) {\n #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 10%));\n}\n\n// Apply the mixin to the progress bars\n.progress-bar { .progress-bar-styles(@progress-bar-bg); }\n.progress-bar-success { .progress-bar-styles(@progress-bar-success-bg); }\n.progress-bar-info { .progress-bar-styles(@progress-bar-info-bg); }\n.progress-bar-warning { .progress-bar-styles(@progress-bar-warning-bg); }\n.progress-bar-danger { .progress-bar-styles(@progress-bar-danger-bg); }\n\n// Reset the striped class because our mixins don't do multiple gradients and\n// the above custom styles override the new `.progress-bar-striped` in v3.2.0.\n.progress-bar-striped {\n #gradient > .striped();\n}\n\n\n//\n// List groups\n// --------------------------------------------------\n\n.list-group {\n border-radius: @border-radius-base;\n .box-shadow(0 1px 2px rgba(0,0,0,.075));\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%);\n #gradient > .vertical(@start-color: @list-group-active-bg; @end-color: darken(@list-group-active-bg, 7.5%));\n border-color: darken(@list-group-active-border, 7.5%);\n\n .badge {\n text-shadow: none;\n }\n}\n\n\n//\n// Panels\n// --------------------------------------------------\n\n// Common styles\n.panel {\n .box-shadow(0 1px 2px rgba(0,0,0,.05));\n}\n\n// Mixin for generating new styles\n.panel-heading-styles(@color) {\n #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 5%));\n}\n\n// Apply the mixin to the panel headings only\n.panel-default > .panel-heading { .panel-heading-styles(@panel-default-heading-bg); }\n.panel-primary > .panel-heading { .panel-heading-styles(@panel-primary-heading-bg); }\n.panel-success > .panel-heading { .panel-heading-styles(@panel-success-heading-bg); }\n.panel-info > .panel-heading { .panel-heading-styles(@panel-info-heading-bg); }\n.panel-warning > .panel-heading { .panel-heading-styles(@panel-warning-heading-bg); }\n.panel-danger > .panel-heading { .panel-heading-styles(@panel-danger-heading-bg); }\n\n\n//\n// Wells\n// --------------------------------------------------\n\n.well {\n #gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg);\n border-color: darken(@well-bg, 10%);\n @shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);\n .box-shadow(@shadow);\n}\n","// Vendor Prefixes\n//\n// All vendor mixins are deprecated as of v3.2.0 due to the introduction of\n// Autoprefixer in our Gruntfile. They will be removed in v4.\n\n// - Animations\n// - Backface visibility\n// - Box shadow\n// - Box sizing\n// - Content columns\n// - Hyphens\n// - Placeholder text\n// - Transformations\n// - Transitions\n// - User Select\n\n\n// Animations\n.animation(@animation) {\n -webkit-animation: @animation;\n -o-animation: @animation;\n animation: @animation;\n}\n.animation-name(@name) {\n -webkit-animation-name: @name;\n animation-name: @name;\n}\n.animation-duration(@duration) {\n -webkit-animation-duration: @duration;\n animation-duration: @duration;\n}\n.animation-timing-function(@timing-function) {\n -webkit-animation-timing-function: @timing-function;\n animation-timing-function: @timing-function;\n}\n.animation-delay(@delay) {\n -webkit-animation-delay: @delay;\n animation-delay: @delay;\n}\n.animation-iteration-count(@iteration-count) {\n -webkit-animation-iteration-count: @iteration-count;\n animation-iteration-count: @iteration-count;\n}\n.animation-direction(@direction) {\n -webkit-animation-direction: @direction;\n animation-direction: @direction;\n}\n.animation-fill-mode(@fill-mode) {\n -webkit-animation-fill-mode: @fill-mode;\n animation-fill-mode: @fill-mode;\n}\n\n// Backface visibility\n// Prevent browsers from flickering when using CSS 3D transforms.\n// Default value is `visible`, but can be changed to `hidden`\n\n.backface-visibility(@visibility){\n -webkit-backface-visibility: @visibility;\n -moz-backface-visibility: @visibility;\n backface-visibility: @visibility;\n}\n\n// Drop shadows\n//\n// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's\n// supported browsers that have box shadow capabilities now support it.\n\n.box-shadow(@shadow) {\n -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1\n box-shadow: @shadow;\n}\n\n// Box sizing\n.box-sizing(@boxmodel) {\n -webkit-box-sizing: @boxmodel;\n -moz-box-sizing: @boxmodel;\n box-sizing: @boxmodel;\n}\n\n// CSS3 Content Columns\n.content-columns(@column-count; @column-gap: @grid-gutter-width) {\n -webkit-column-count: @column-count;\n -moz-column-count: @column-count;\n column-count: @column-count;\n -webkit-column-gap: @column-gap;\n -moz-column-gap: @column-gap;\n column-gap: @column-gap;\n}\n\n// Optional hyphenation\n.hyphens(@mode: auto) {\n word-wrap: break-word;\n -webkit-hyphens: @mode;\n -moz-hyphens: @mode;\n -ms-hyphens: @mode; // IE10+\n -o-hyphens: @mode;\n hyphens: @mode;\n}\n\n// Placeholder text\n.placeholder(@color: @input-color-placeholder) {\n // Firefox\n &::-moz-placeholder {\n color: @color;\n opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526\n }\n &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+\n &::-webkit-input-placeholder { color: @color; } // Safari and Chrome\n}\n\n// Transformations\n.scale(@ratio) {\n -webkit-transform: scale(@ratio);\n -ms-transform: scale(@ratio); // IE9 only\n -o-transform: scale(@ratio);\n transform: scale(@ratio);\n}\n.scale(@ratioX; @ratioY) {\n -webkit-transform: scale(@ratioX, @ratioY);\n -ms-transform: scale(@ratioX, @ratioY); // IE9 only\n -o-transform: scale(@ratioX, @ratioY);\n transform: scale(@ratioX, @ratioY);\n}\n.scaleX(@ratio) {\n -webkit-transform: scaleX(@ratio);\n -ms-transform: scaleX(@ratio); // IE9 only\n -o-transform: scaleX(@ratio);\n transform: scaleX(@ratio);\n}\n.scaleY(@ratio) {\n -webkit-transform: scaleY(@ratio);\n -ms-transform: scaleY(@ratio); // IE9 only\n -o-transform: scaleY(@ratio);\n transform: scaleY(@ratio);\n}\n.skew(@x; @y) {\n -webkit-transform: skewX(@x) skewY(@y);\n -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+\n -o-transform: skewX(@x) skewY(@y);\n transform: skewX(@x) skewY(@y);\n}\n.translate(@x; @y) {\n -webkit-transform: translate(@x, @y);\n -ms-transform: translate(@x, @y); // IE9 only\n -o-transform: translate(@x, @y);\n transform: translate(@x, @y);\n}\n.translate3d(@x; @y; @z) {\n -webkit-transform: translate3d(@x, @y, @z);\n transform: translate3d(@x, @y, @z);\n}\n.rotate(@degrees) {\n -webkit-transform: rotate(@degrees);\n -ms-transform: rotate(@degrees); // IE9 only\n -o-transform: rotate(@degrees);\n transform: rotate(@degrees);\n}\n.rotateX(@degrees) {\n -webkit-transform: rotateX(@degrees);\n -ms-transform: rotateX(@degrees); // IE9 only\n -o-transform: rotateX(@degrees);\n transform: rotateX(@degrees);\n}\n.rotateY(@degrees) {\n -webkit-transform: rotateY(@degrees);\n -ms-transform: rotateY(@degrees); // IE9 only\n -o-transform: rotateY(@degrees);\n transform: rotateY(@degrees);\n}\n.perspective(@perspective) {\n -webkit-perspective: @perspective;\n -moz-perspective: @perspective;\n perspective: @perspective;\n}\n.perspective-origin(@perspective) {\n -webkit-perspective-origin: @perspective;\n -moz-perspective-origin: @perspective;\n perspective-origin: @perspective;\n}\n.transform-origin(@origin) {\n -webkit-transform-origin: @origin;\n -moz-transform-origin: @origin;\n -ms-transform-origin: @origin; // IE9 only\n transform-origin: @origin;\n}\n\n\n// Transitions\n\n.transition(@transition) {\n -webkit-transition: @transition;\n -o-transition: @transition;\n transition: @transition;\n}\n.transition-property(@transition-property) {\n -webkit-transition-property: @transition-property;\n transition-property: @transition-property;\n}\n.transition-delay(@transition-delay) {\n -webkit-transition-delay: @transition-delay;\n transition-delay: @transition-delay;\n}\n.transition-duration(@transition-duration) {\n -webkit-transition-duration: @transition-duration;\n transition-duration: @transition-duration;\n}\n.transition-timing-function(@timing-function) {\n -webkit-transition-timing-function: @timing-function;\n transition-timing-function: @timing-function;\n}\n.transition-transform(@transition) {\n -webkit-transition: -webkit-transform @transition;\n -moz-transition: -moz-transform @transition;\n -o-transition: -o-transform @transition;\n transition: transform @transition;\n}\n\n\n// User select\n// For selecting text on the page\n\n.user-select(@select) {\n -webkit-user-select: @select;\n -moz-user-select: @select;\n -ms-user-select: @select; // IE10+\n user-select: @select;\n}\n","// Gradients\n\n#gradient {\n\n // Horizontal gradient, from left to right\n //\n // Creates two color stops, start and end, by specifying a color and position for each color stop.\n // Color stops are not available in IE9 and below.\n .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12\n background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n background-repeat: repeat-x;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down\n }\n\n // Vertical gradient, from top to bottom\n //\n // Creates two color stops, start and end, by specifying a color and position for each color stop.\n // Color stops are not available in IE9 and below.\n .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12\n background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n background-repeat: repeat-x;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down\n }\n\n .directional(@start-color: #555; @end-color: #333; @deg: 45deg) {\n background-repeat: repeat-x;\n background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(@deg, @start-color, @end-color); // Opera 12\n background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n }\n .horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\n background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\n background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);\n background-repeat: no-repeat;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n }\n .vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-image: -o-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-repeat: no-repeat;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n }\n .radial(@inner-color: #555; @outer-color: #333) {\n background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);\n background-image: radial-gradient(circle, @inner-color, @outer-color);\n background-repeat: no-repeat;\n }\n .striped(@color: rgba(255,255,255,.15); @angle: 45deg) {\n background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n }\n}\n","// Reset filters for IE\n//\n// When you need to remove a gradient background, do not forget to use this to reset\n// the IE filter for IE9 and below.\n\n.reset-filter() {\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\"));\n}\n"]} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +/*! | ||
| 2 | + * Bootstrap v3.3.5 (http://getbootstrap.com) | ||
| 3 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 4 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 5 | + */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger.disabled,.btn-danger[disabled],.btn-default.disabled,.btn-default[disabled],.btn-info.disabled,.btn-info[disabled],.btn-primary.disabled,.btn-primary[disabled],.btn-success.disabled,.btn-success[disabled],.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-danger,fieldset[disabled] .btn-default,fieldset[disabled] .btn-info,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-success,fieldset[disabled] .btn-warning{-webkit-box-shadow:none;box-shadow:none}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
lib/bootstrap/3.3.5/css/bootstrap.css
0 → 100755
This diff could not be displayed because it is too large.
lib/bootstrap/3.3.5/css/bootstrap.css.map
0 → 100755
This diff could not be displayed because it is too large.
lib/bootstrap/3.3.5/css/bootstrap.min.css
0 → 100755
This diff could not be displayed because it is too large.
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
lib/bootstrap/3.3.5/js/bootstrap.js
0 → 100755
| 1 | +/*! | ||
| 2 | + * Bootstrap v3.3.5 (http://getbootstrap.com) | ||
| 3 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 4 | + * Licensed under the MIT license | ||
| 5 | + */ | ||
| 6 | + | ||
| 7 | +if (typeof jQuery === 'undefined') { | ||
| 8 | + throw new Error('Bootstrap\'s JavaScript requires jQuery') | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | ++function ($) { | ||
| 12 | + 'use strict'; | ||
| 13 | + var version = $.fn.jquery.split(' ')[0].split('.') | ||
| 14 | + if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) { | ||
| 15 | + throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher') | ||
| 16 | + } | ||
| 17 | +}(jQuery); | ||
| 18 | + | ||
| 19 | +/* ======================================================================== | ||
| 20 | + * Bootstrap: transition.js v3.3.5 | ||
| 21 | + * http://getbootstrap.com/javascript/#transitions | ||
| 22 | + * ======================================================================== | ||
| 23 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 24 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 25 | + * ======================================================================== */ | ||
| 26 | + | ||
| 27 | + | ||
| 28 | ++function ($) { | ||
| 29 | + 'use strict'; | ||
| 30 | + | ||
| 31 | + // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) | ||
| 32 | + // ============================================================ | ||
| 33 | + | ||
| 34 | + function transitionEnd() { | ||
| 35 | + var el = document.createElement('bootstrap') | ||
| 36 | + | ||
| 37 | + var transEndEventNames = { | ||
| 38 | + WebkitTransition : 'webkitTransitionEnd', | ||
| 39 | + MozTransition : 'transitionend', | ||
| 40 | + OTransition : 'oTransitionEnd otransitionend', | ||
| 41 | + transition : 'transitionend' | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + for (var name in transEndEventNames) { | ||
| 45 | + if (el.style[name] !== undefined) { | ||
| 46 | + return { end: transEndEventNames[name] } | ||
| 47 | + } | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + return false // explicit for ie8 ( ._.) | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + // http://blog.alexmaccaw.com/css-transitions | ||
| 54 | + $.fn.emulateTransitionEnd = function (duration) { | ||
| 55 | + var called = false | ||
| 56 | + var $el = this | ||
| 57 | + $(this).one('bsTransitionEnd', function () { called = true }) | ||
| 58 | + var callback = function () { if (!called) $($el).trigger($.support.transition.end) } | ||
| 59 | + setTimeout(callback, duration) | ||
| 60 | + return this | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + $(function () { | ||
| 64 | + $.support.transition = transitionEnd() | ||
| 65 | + | ||
| 66 | + if (!$.support.transition) return | ||
| 67 | + | ||
| 68 | + $.event.special.bsTransitionEnd = { | ||
| 69 | + bindType: $.support.transition.end, | ||
| 70 | + delegateType: $.support.transition.end, | ||
| 71 | + handle: function (e) { | ||
| 72 | + if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) | ||
| 73 | + } | ||
| 74 | + } | ||
| 75 | + }) | ||
| 76 | + | ||
| 77 | +}(jQuery); | ||
| 78 | + | ||
| 79 | +/* ======================================================================== | ||
| 80 | + * Bootstrap: alert.js v3.3.5 | ||
| 81 | + * http://getbootstrap.com/javascript/#alerts | ||
| 82 | + * ======================================================================== | ||
| 83 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 84 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 85 | + * ======================================================================== */ | ||
| 86 | + | ||
| 87 | + | ||
| 88 | ++function ($) { | ||
| 89 | + 'use strict'; | ||
| 90 | + | ||
| 91 | + // ALERT CLASS DEFINITION | ||
| 92 | + // ====================== | ||
| 93 | + | ||
| 94 | + var dismiss = '[data-dismiss="alert"]' | ||
| 95 | + var Alert = function (el) { | ||
| 96 | + $(el).on('click', dismiss, this.close) | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + Alert.VERSION = '3.3.5' | ||
| 100 | + | ||
| 101 | + Alert.TRANSITION_DURATION = 150 | ||
| 102 | + | ||
| 103 | + Alert.prototype.close = function (e) { | ||
| 104 | + var $this = $(this) | ||
| 105 | + var selector = $this.attr('data-target') | ||
| 106 | + | ||
| 107 | + if (!selector) { | ||
| 108 | + selector = $this.attr('href') | ||
| 109 | + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + var $parent = $(selector) | ||
| 113 | + | ||
| 114 | + if (e) e.preventDefault() | ||
| 115 | + | ||
| 116 | + if (!$parent.length) { | ||
| 117 | + $parent = $this.closest('.alert') | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + $parent.trigger(e = $.Event('close.bs.alert')) | ||
| 121 | + | ||
| 122 | + if (e.isDefaultPrevented()) return | ||
| 123 | + | ||
| 124 | + $parent.removeClass('in') | ||
| 125 | + | ||
| 126 | + function removeElement() { | ||
| 127 | + // detach from parent, fire event then clean up data | ||
| 128 | + $parent.detach().trigger('closed.bs.alert').remove() | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + $.support.transition && $parent.hasClass('fade') ? | ||
| 132 | + $parent | ||
| 133 | + .one('bsTransitionEnd', removeElement) | ||
| 134 | + .emulateTransitionEnd(Alert.TRANSITION_DURATION) : | ||
| 135 | + removeElement() | ||
| 136 | + } | ||
| 137 | + | ||
| 138 | + | ||
| 139 | + // ALERT PLUGIN DEFINITION | ||
| 140 | + // ======================= | ||
| 141 | + | ||
| 142 | + function Plugin(option) { | ||
| 143 | + return this.each(function () { | ||
| 144 | + var $this = $(this) | ||
| 145 | + var data = $this.data('bs.alert') | ||
| 146 | + | ||
| 147 | + if (!data) $this.data('bs.alert', (data = new Alert(this))) | ||
| 148 | + if (typeof option == 'string') data[option].call($this) | ||
| 149 | + }) | ||
| 150 | + } | ||
| 151 | + | ||
| 152 | + var old = $.fn.alert | ||
| 153 | + | ||
| 154 | + $.fn.alert = Plugin | ||
| 155 | + $.fn.alert.Constructor = Alert | ||
| 156 | + | ||
| 157 | + | ||
| 158 | + // ALERT NO CONFLICT | ||
| 159 | + // ================= | ||
| 160 | + | ||
| 161 | + $.fn.alert.noConflict = function () { | ||
| 162 | + $.fn.alert = old | ||
| 163 | + return this | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + | ||
| 167 | + // ALERT DATA-API | ||
| 168 | + // ============== | ||
| 169 | + | ||
| 170 | + $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) | ||
| 171 | + | ||
| 172 | +}(jQuery); | ||
| 173 | + | ||
| 174 | +/* ======================================================================== | ||
| 175 | + * Bootstrap: button.js v3.3.5 | ||
| 176 | + * http://getbootstrap.com/javascript/#buttons | ||
| 177 | + * ======================================================================== | ||
| 178 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 179 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 180 | + * ======================================================================== */ | ||
| 181 | + | ||
| 182 | + | ||
| 183 | ++function ($) { | ||
| 184 | + 'use strict'; | ||
| 185 | + | ||
| 186 | + // BUTTON PUBLIC CLASS DEFINITION | ||
| 187 | + // ============================== | ||
| 188 | + | ||
| 189 | + var Button = function (element, options) { | ||
| 190 | + this.$element = $(element) | ||
| 191 | + this.options = $.extend({}, Button.DEFAULTS, options) | ||
| 192 | + this.isLoading = false | ||
| 193 | + } | ||
| 194 | + | ||
| 195 | + Button.VERSION = '3.3.5' | ||
| 196 | + | ||
| 197 | + Button.DEFAULTS = { | ||
| 198 | + loadingText: 'loading...' | ||
| 199 | + } | ||
| 200 | + | ||
| 201 | + Button.prototype.setState = function (state) { | ||
| 202 | + var d = 'disabled' | ||
| 203 | + var $el = this.$element | ||
| 204 | + var val = $el.is('input') ? 'val' : 'html' | ||
| 205 | + var data = $el.data() | ||
| 206 | + | ||
| 207 | + state += 'Text' | ||
| 208 | + | ||
| 209 | + if (data.resetText == null) $el.data('resetText', $el[val]()) | ||
| 210 | + | ||
| 211 | + // push to event loop to allow forms to submit | ||
| 212 | + setTimeout($.proxy(function () { | ||
| 213 | + $el[val](data[state] == null ? this.options[state] : data[state]) | ||
| 214 | + | ||
| 215 | + if (state == 'loadingText') { | ||
| 216 | + this.isLoading = true | ||
| 217 | + $el.addClass(d).attr(d, d) | ||
| 218 | + } else if (this.isLoading) { | ||
| 219 | + this.isLoading = false | ||
| 220 | + $el.removeClass(d).removeAttr(d) | ||
| 221 | + } | ||
| 222 | + }, this), 0) | ||
| 223 | + } | ||
| 224 | + | ||
| 225 | + Button.prototype.toggle = function () { | ||
| 226 | + var changed = true | ||
| 227 | + var $parent = this.$element.closest('[data-toggle="buttons"]') | ||
| 228 | + | ||
| 229 | + if ($parent.length) { | ||
| 230 | + var $input = this.$element.find('input') | ||
| 231 | + if ($input.prop('type') == 'radio') { | ||
| 232 | + if ($input.prop('checked')) changed = false | ||
| 233 | + $parent.find('.active').removeClass('active') | ||
| 234 | + this.$element.addClass('active') | ||
| 235 | + } else if ($input.prop('type') == 'checkbox') { | ||
| 236 | + if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false | ||
| 237 | + this.$element.toggleClass('active') | ||
| 238 | + } | ||
| 239 | + $input.prop('checked', this.$element.hasClass('active')) | ||
| 240 | + if (changed) $input.trigger('change') | ||
| 241 | + } else { | ||
| 242 | + this.$element.attr('aria-pressed', !this.$element.hasClass('active')) | ||
| 243 | + this.$element.toggleClass('active') | ||
| 244 | + } | ||
| 245 | + } | ||
| 246 | + | ||
| 247 | + | ||
| 248 | + // BUTTON PLUGIN DEFINITION | ||
| 249 | + // ======================== | ||
| 250 | + | ||
| 251 | + function Plugin(option) { | ||
| 252 | + return this.each(function () { | ||
| 253 | + var $this = $(this) | ||
| 254 | + var data = $this.data('bs.button') | ||
| 255 | + var options = typeof option == 'object' && option | ||
| 256 | + | ||
| 257 | + if (!data) $this.data('bs.button', (data = new Button(this, options))) | ||
| 258 | + | ||
| 259 | + if (option == 'toggle') data.toggle() | ||
| 260 | + else if (option) data.setState(option) | ||
| 261 | + }) | ||
| 262 | + } | ||
| 263 | + | ||
| 264 | + var old = $.fn.button | ||
| 265 | + | ||
| 266 | + $.fn.button = Plugin | ||
| 267 | + $.fn.button.Constructor = Button | ||
| 268 | + | ||
| 269 | + | ||
| 270 | + // BUTTON NO CONFLICT | ||
| 271 | + // ================== | ||
| 272 | + | ||
| 273 | + $.fn.button.noConflict = function () { | ||
| 274 | + $.fn.button = old | ||
| 275 | + return this | ||
| 276 | + } | ||
| 277 | + | ||
| 278 | + | ||
| 279 | + // BUTTON DATA-API | ||
| 280 | + // =============== | ||
| 281 | + | ||
| 282 | + $(document) | ||
| 283 | + .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) { | ||
| 284 | + var $btn = $(e.target) | ||
| 285 | + if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') | ||
| 286 | + Plugin.call($btn, 'toggle') | ||
| 287 | + if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault() | ||
| 288 | + }) | ||
| 289 | + .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) { | ||
| 290 | + $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type)) | ||
| 291 | + }) | ||
| 292 | + | ||
| 293 | +}(jQuery); | ||
| 294 | + | ||
| 295 | +/* ======================================================================== | ||
| 296 | + * Bootstrap: carousel.js v3.3.5 | ||
| 297 | + * http://getbootstrap.com/javascript/#carousel | ||
| 298 | + * ======================================================================== | ||
| 299 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 300 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 301 | + * ======================================================================== */ | ||
| 302 | + | ||
| 303 | + | ||
| 304 | ++function ($) { | ||
| 305 | + 'use strict'; | ||
| 306 | + | ||
| 307 | + // CAROUSEL CLASS DEFINITION | ||
| 308 | + // ========================= | ||
| 309 | + | ||
| 310 | + var Carousel = function (element, options) { | ||
| 311 | + this.$element = $(element) | ||
| 312 | + this.$indicators = this.$element.find('.carousel-indicators') | ||
| 313 | + this.options = options | ||
| 314 | + this.paused = null | ||
| 315 | + this.sliding = null | ||
| 316 | + this.interval = null | ||
| 317 | + this.$active = null | ||
| 318 | + this.$items = null | ||
| 319 | + | ||
| 320 | + this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this)) | ||
| 321 | + | ||
| 322 | + this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element | ||
| 323 | + .on('mouseenter.bs.carousel', $.proxy(this.pause, this)) | ||
| 324 | + .on('mouseleave.bs.carousel', $.proxy(this.cycle, this)) | ||
| 325 | + } | ||
| 326 | + | ||
| 327 | + Carousel.VERSION = '3.3.5' | ||
| 328 | + | ||
| 329 | + Carousel.TRANSITION_DURATION = 600 | ||
| 330 | + | ||
| 331 | + Carousel.DEFAULTS = { | ||
| 332 | + interval: 5000, | ||
| 333 | + pause: 'hover', | ||
| 334 | + wrap: true, | ||
| 335 | + keyboard: true | ||
| 336 | + } | ||
| 337 | + | ||
| 338 | + Carousel.prototype.keydown = function (e) { | ||
| 339 | + if (/input|textarea/i.test(e.target.tagName)) return | ||
| 340 | + switch (e.which) { | ||
| 341 | + case 37: this.prev(); break | ||
| 342 | + case 39: this.next(); break | ||
| 343 | + default: return | ||
| 344 | + } | ||
| 345 | + | ||
| 346 | + e.preventDefault() | ||
| 347 | + } | ||
| 348 | + | ||
| 349 | + Carousel.prototype.cycle = function (e) { | ||
| 350 | + e || (this.paused = false) | ||
| 351 | + | ||
| 352 | + this.interval && clearInterval(this.interval) | ||
| 353 | + | ||
| 354 | + this.options.interval | ||
| 355 | + && !this.paused | ||
| 356 | + && (this.interval = setInterval($.proxy(this.next, this), this.options.interval)) | ||
| 357 | + | ||
| 358 | + return this | ||
| 359 | + } | ||
| 360 | + | ||
| 361 | + Carousel.prototype.getItemIndex = function (item) { | ||
| 362 | + this.$items = item.parent().children('.item') | ||
| 363 | + return this.$items.index(item || this.$active) | ||
| 364 | + } | ||
| 365 | + | ||
| 366 | + Carousel.prototype.getItemForDirection = function (direction, active) { | ||
| 367 | + var activeIndex = this.getItemIndex(active) | ||
| 368 | + var willWrap = (direction == 'prev' && activeIndex === 0) | ||
| 369 | + || (direction == 'next' && activeIndex == (this.$items.length - 1)) | ||
| 370 | + if (willWrap && !this.options.wrap) return active | ||
| 371 | + var delta = direction == 'prev' ? -1 : 1 | ||
| 372 | + var itemIndex = (activeIndex + delta) % this.$items.length | ||
| 373 | + return this.$items.eq(itemIndex) | ||
| 374 | + } | ||
| 375 | + | ||
| 376 | + Carousel.prototype.to = function (pos) { | ||
| 377 | + var that = this | ||
| 378 | + var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active')) | ||
| 379 | + | ||
| 380 | + if (pos > (this.$items.length - 1) || pos < 0) return | ||
| 381 | + | ||
| 382 | + if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid" | ||
| 383 | + if (activeIndex == pos) return this.pause().cycle() | ||
| 384 | + | ||
| 385 | + return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos)) | ||
| 386 | + } | ||
| 387 | + | ||
| 388 | + Carousel.prototype.pause = function (e) { | ||
| 389 | + e || (this.paused = true) | ||
| 390 | + | ||
| 391 | + if (this.$element.find('.next, .prev').length && $.support.transition) { | ||
| 392 | + this.$element.trigger($.support.transition.end) | ||
| 393 | + this.cycle(true) | ||
| 394 | + } | ||
| 395 | + | ||
| 396 | + this.interval = clearInterval(this.interval) | ||
| 397 | + | ||
| 398 | + return this | ||
| 399 | + } | ||
| 400 | + | ||
| 401 | + Carousel.prototype.next = function () { | ||
| 402 | + if (this.sliding) return | ||
| 403 | + return this.slide('next') | ||
| 404 | + } | ||
| 405 | + | ||
| 406 | + Carousel.prototype.prev = function () { | ||
| 407 | + if (this.sliding) return | ||
| 408 | + return this.slide('prev') | ||
| 409 | + } | ||
| 410 | + | ||
| 411 | + Carousel.prototype.slide = function (type, next) { | ||
| 412 | + var $active = this.$element.find('.item.active') | ||
| 413 | + var $next = next || this.getItemForDirection(type, $active) | ||
| 414 | + var isCycling = this.interval | ||
| 415 | + var direction = type == 'next' ? 'left' : 'right' | ||
| 416 | + var that = this | ||
| 417 | + | ||
| 418 | + if ($next.hasClass('active')) return (this.sliding = false) | ||
| 419 | + | ||
| 420 | + var relatedTarget = $next[0] | ||
| 421 | + var slideEvent = $.Event('slide.bs.carousel', { | ||
| 422 | + relatedTarget: relatedTarget, | ||
| 423 | + direction: direction | ||
| 424 | + }) | ||
| 425 | + this.$element.trigger(slideEvent) | ||
| 426 | + if (slideEvent.isDefaultPrevented()) return | ||
| 427 | + | ||
| 428 | + this.sliding = true | ||
| 429 | + | ||
| 430 | + isCycling && this.pause() | ||
| 431 | + | ||
| 432 | + if (this.$indicators.length) { | ||
| 433 | + this.$indicators.find('.active').removeClass('active') | ||
| 434 | + var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)]) | ||
| 435 | + $nextIndicator && $nextIndicator.addClass('active') | ||
| 436 | + } | ||
| 437 | + | ||
| 438 | + var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid" | ||
| 439 | + if ($.support.transition && this.$element.hasClass('slide')) { | ||
| 440 | + $next.addClass(type) | ||
| 441 | + $next[0].offsetWidth // force reflow | ||
| 442 | + $active.addClass(direction) | ||
| 443 | + $next.addClass(direction) | ||
| 444 | + $active | ||
| 445 | + .one('bsTransitionEnd', function () { | ||
| 446 | + $next.removeClass([type, direction].join(' ')).addClass('active') | ||
| 447 | + $active.removeClass(['active', direction].join(' ')) | ||
| 448 | + that.sliding = false | ||
| 449 | + setTimeout(function () { | ||
| 450 | + that.$element.trigger(slidEvent) | ||
| 451 | + }, 0) | ||
| 452 | + }) | ||
| 453 | + .emulateTransitionEnd(Carousel.TRANSITION_DURATION) | ||
| 454 | + } else { | ||
| 455 | + $active.removeClass('active') | ||
| 456 | + $next.addClass('active') | ||
| 457 | + this.sliding = false | ||
| 458 | + this.$element.trigger(slidEvent) | ||
| 459 | + } | ||
| 460 | + | ||
| 461 | + isCycling && this.cycle() | ||
| 462 | + | ||
| 463 | + return this | ||
| 464 | + } | ||
| 465 | + | ||
| 466 | + | ||
| 467 | + // CAROUSEL PLUGIN DEFINITION | ||
| 468 | + // ========================== | ||
| 469 | + | ||
| 470 | + function Plugin(option) { | ||
| 471 | + return this.each(function () { | ||
| 472 | + var $this = $(this) | ||
| 473 | + var data = $this.data('bs.carousel') | ||
| 474 | + var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option) | ||
| 475 | + var action = typeof option == 'string' ? option : options.slide | ||
| 476 | + | ||
| 477 | + if (!data) $this.data('bs.carousel', (data = new Carousel(this, options))) | ||
| 478 | + if (typeof option == 'number') data.to(option) | ||
| 479 | + else if (action) data[action]() | ||
| 480 | + else if (options.interval) data.pause().cycle() | ||
| 481 | + }) | ||
| 482 | + } | ||
| 483 | + | ||
| 484 | + var old = $.fn.carousel | ||
| 485 | + | ||
| 486 | + $.fn.carousel = Plugin | ||
| 487 | + $.fn.carousel.Constructor = Carousel | ||
| 488 | + | ||
| 489 | + | ||
| 490 | + // CAROUSEL NO CONFLICT | ||
| 491 | + // ==================== | ||
| 492 | + | ||
| 493 | + $.fn.carousel.noConflict = function () { | ||
| 494 | + $.fn.carousel = old | ||
| 495 | + return this | ||
| 496 | + } | ||
| 497 | + | ||
| 498 | + | ||
| 499 | + // CAROUSEL DATA-API | ||
| 500 | + // ================= | ||
| 501 | + | ||
| 502 | + var clickHandler = function (e) { | ||
| 503 | + var href | ||
| 504 | + var $this = $(this) | ||
| 505 | + var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7 | ||
| 506 | + if (!$target.hasClass('carousel')) return | ||
| 507 | + var options = $.extend({}, $target.data(), $this.data()) | ||
| 508 | + var slideIndex = $this.attr('data-slide-to') | ||
| 509 | + if (slideIndex) options.interval = false | ||
| 510 | + | ||
| 511 | + Plugin.call($target, options) | ||
| 512 | + | ||
| 513 | + if (slideIndex) { | ||
| 514 | + $target.data('bs.carousel').to(slideIndex) | ||
| 515 | + } | ||
| 516 | + | ||
| 517 | + e.preventDefault() | ||
| 518 | + } | ||
| 519 | + | ||
| 520 | + $(document) | ||
| 521 | + .on('click.bs.carousel.data-api', '[data-slide]', clickHandler) | ||
| 522 | + .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler) | ||
| 523 | + | ||
| 524 | + $(window).on('load', function () { | ||
| 525 | + $('[data-ride="carousel"]').each(function () { | ||
| 526 | + var $carousel = $(this) | ||
| 527 | + Plugin.call($carousel, $carousel.data()) | ||
| 528 | + }) | ||
| 529 | + }) | ||
| 530 | + | ||
| 531 | +}(jQuery); | ||
| 532 | + | ||
| 533 | +/* ======================================================================== | ||
| 534 | + * Bootstrap: collapse.js v3.3.5 | ||
| 535 | + * http://getbootstrap.com/javascript/#collapse | ||
| 536 | + * ======================================================================== | ||
| 537 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 538 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 539 | + * ======================================================================== */ | ||
| 540 | + | ||
| 541 | + | ||
| 542 | ++function ($) { | ||
| 543 | + 'use strict'; | ||
| 544 | + | ||
| 545 | + // COLLAPSE PUBLIC CLASS DEFINITION | ||
| 546 | + // ================================ | ||
| 547 | + | ||
| 548 | + var Collapse = function (element, options) { | ||
| 549 | + this.$element = $(element) | ||
| 550 | + this.options = $.extend({}, Collapse.DEFAULTS, options) | ||
| 551 | + this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' + | ||
| 552 | + '[data-toggle="collapse"][data-target="#' + element.id + '"]') | ||
| 553 | + this.transitioning = null | ||
| 554 | + | ||
| 555 | + if (this.options.parent) { | ||
| 556 | + this.$parent = this.getParent() | ||
| 557 | + } else { | ||
| 558 | + this.addAriaAndCollapsedClass(this.$element, this.$trigger) | ||
| 559 | + } | ||
| 560 | + | ||
| 561 | + if (this.options.toggle) this.toggle() | ||
| 562 | + } | ||
| 563 | + | ||
| 564 | + Collapse.VERSION = '3.3.5' | ||
| 565 | + | ||
| 566 | + Collapse.TRANSITION_DURATION = 350 | ||
| 567 | + | ||
| 568 | + Collapse.DEFAULTS = { | ||
| 569 | + toggle: true | ||
| 570 | + } | ||
| 571 | + | ||
| 572 | + Collapse.prototype.dimension = function () { | ||
| 573 | + var hasWidth = this.$element.hasClass('width') | ||
| 574 | + return hasWidth ? 'width' : 'height' | ||
| 575 | + } | ||
| 576 | + | ||
| 577 | + Collapse.prototype.show = function () { | ||
| 578 | + if (this.transitioning || this.$element.hasClass('in')) return | ||
| 579 | + | ||
| 580 | + var activesData | ||
| 581 | + var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing') | ||
| 582 | + | ||
| 583 | + if (actives && actives.length) { | ||
| 584 | + activesData = actives.data('bs.collapse') | ||
| 585 | + if (activesData && activesData.transitioning) return | ||
| 586 | + } | ||
| 587 | + | ||
| 588 | + var startEvent = $.Event('show.bs.collapse') | ||
| 589 | + this.$element.trigger(startEvent) | ||
| 590 | + if (startEvent.isDefaultPrevented()) return | ||
| 591 | + | ||
| 592 | + if (actives && actives.length) { | ||
| 593 | + Plugin.call(actives, 'hide') | ||
| 594 | + activesData || actives.data('bs.collapse', null) | ||
| 595 | + } | ||
| 596 | + | ||
| 597 | + var dimension = this.dimension() | ||
| 598 | + | ||
| 599 | + this.$element | ||
| 600 | + .removeClass('collapse') | ||
| 601 | + .addClass('collapsing')[dimension](0) | ||
| 602 | + .attr('aria-expanded', true) | ||
| 603 | + | ||
| 604 | + this.$trigger | ||
| 605 | + .removeClass('collapsed') | ||
| 606 | + .attr('aria-expanded', true) | ||
| 607 | + | ||
| 608 | + this.transitioning = 1 | ||
| 609 | + | ||
| 610 | + var complete = function () { | ||
| 611 | + this.$element | ||
| 612 | + .removeClass('collapsing') | ||
| 613 | + .addClass('collapse in')[dimension]('') | ||
| 614 | + this.transitioning = 0 | ||
| 615 | + this.$element | ||
| 616 | + .trigger('shown.bs.collapse') | ||
| 617 | + } | ||
| 618 | + | ||
| 619 | + if (!$.support.transition) return complete.call(this) | ||
| 620 | + | ||
| 621 | + var scrollSize = $.camelCase(['scroll', dimension].join('-')) | ||
| 622 | + | ||
| 623 | + this.$element | ||
| 624 | + .one('bsTransitionEnd', $.proxy(complete, this)) | ||
| 625 | + .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize]) | ||
| 626 | + } | ||
| 627 | + | ||
| 628 | + Collapse.prototype.hide = function () { | ||
| 629 | + if (this.transitioning || !this.$element.hasClass('in')) return | ||
| 630 | + | ||
| 631 | + var startEvent = $.Event('hide.bs.collapse') | ||
| 632 | + this.$element.trigger(startEvent) | ||
| 633 | + if (startEvent.isDefaultPrevented()) return | ||
| 634 | + | ||
| 635 | + var dimension = this.dimension() | ||
| 636 | + | ||
| 637 | + this.$element[dimension](this.$element[dimension]())[0].offsetHeight | ||
| 638 | + | ||
| 639 | + this.$element | ||
| 640 | + .addClass('collapsing') | ||
| 641 | + .removeClass('collapse in') | ||
| 642 | + .attr('aria-expanded', false) | ||
| 643 | + | ||
| 644 | + this.$trigger | ||
| 645 | + .addClass('collapsed') | ||
| 646 | + .attr('aria-expanded', false) | ||
| 647 | + | ||
| 648 | + this.transitioning = 1 | ||
| 649 | + | ||
| 650 | + var complete = function () { | ||
| 651 | + this.transitioning = 0 | ||
| 652 | + this.$element | ||
| 653 | + .removeClass('collapsing') | ||
| 654 | + .addClass('collapse') | ||
| 655 | + .trigger('hidden.bs.collapse') | ||
| 656 | + } | ||
| 657 | + | ||
| 658 | + if (!$.support.transition) return complete.call(this) | ||
| 659 | + | ||
| 660 | + this.$element | ||
| 661 | + [dimension](0) | ||
| 662 | + .one('bsTransitionEnd', $.proxy(complete, this)) | ||
| 663 | + .emulateTransitionEnd(Collapse.TRANSITION_DURATION) | ||
| 664 | + } | ||
| 665 | + | ||
| 666 | + Collapse.prototype.toggle = function () { | ||
| 667 | + this[this.$element.hasClass('in') ? 'hide' : 'show']() | ||
| 668 | + } | ||
| 669 | + | ||
| 670 | + Collapse.prototype.getParent = function () { | ||
| 671 | + return $(this.options.parent) | ||
| 672 | + .find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]') | ||
| 673 | + .each($.proxy(function (i, element) { | ||
| 674 | + var $element = $(element) | ||
| 675 | + this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element) | ||
| 676 | + }, this)) | ||
| 677 | + .end() | ||
| 678 | + } | ||
| 679 | + | ||
| 680 | + Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) { | ||
| 681 | + var isOpen = $element.hasClass('in') | ||
| 682 | + | ||
| 683 | + $element.attr('aria-expanded', isOpen) | ||
| 684 | + $trigger | ||
| 685 | + .toggleClass('collapsed', !isOpen) | ||
| 686 | + .attr('aria-expanded', isOpen) | ||
| 687 | + } | ||
| 688 | + | ||
| 689 | + function getTargetFromTrigger($trigger) { | ||
| 690 | + var href | ||
| 691 | + var target = $trigger.attr('data-target') | ||
| 692 | + || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7 | ||
| 693 | + | ||
| 694 | + return $(target) | ||
| 695 | + } | ||
| 696 | + | ||
| 697 | + | ||
| 698 | + // COLLAPSE PLUGIN DEFINITION | ||
| 699 | + // ========================== | ||
| 700 | + | ||
| 701 | + function Plugin(option) { | ||
| 702 | + return this.each(function () { | ||
| 703 | + var $this = $(this) | ||
| 704 | + var data = $this.data('bs.collapse') | ||
| 705 | + var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option) | ||
| 706 | + | ||
| 707 | + if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false | ||
| 708 | + if (!data) $this.data('bs.collapse', (data = new Collapse(this, options))) | ||
| 709 | + if (typeof option == 'string') data[option]() | ||
| 710 | + }) | ||
| 711 | + } | ||
| 712 | + | ||
| 713 | + var old = $.fn.collapse | ||
| 714 | + | ||
| 715 | + $.fn.collapse = Plugin | ||
| 716 | + $.fn.collapse.Constructor = Collapse | ||
| 717 | + | ||
| 718 | + | ||
| 719 | + // COLLAPSE NO CONFLICT | ||
| 720 | + // ==================== | ||
| 721 | + | ||
| 722 | + $.fn.collapse.noConflict = function () { | ||
| 723 | + $.fn.collapse = old | ||
| 724 | + return this | ||
| 725 | + } | ||
| 726 | + | ||
| 727 | + | ||
| 728 | + // COLLAPSE DATA-API | ||
| 729 | + // ================= | ||
| 730 | + | ||
| 731 | + $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) { | ||
| 732 | + var $this = $(this) | ||
| 733 | + | ||
| 734 | + if (!$this.attr('data-target')) e.preventDefault() | ||
| 735 | + | ||
| 736 | + var $target = getTargetFromTrigger($this) | ||
| 737 | + var data = $target.data('bs.collapse') | ||
| 738 | + var option = data ? 'toggle' : $this.data() | ||
| 739 | + | ||
| 740 | + Plugin.call($target, option) | ||
| 741 | + }) | ||
| 742 | + | ||
| 743 | +}(jQuery); | ||
| 744 | + | ||
| 745 | +/* ======================================================================== | ||
| 746 | + * Bootstrap: dropdown.js v3.3.5 | ||
| 747 | + * http://getbootstrap.com/javascript/#dropdowns | ||
| 748 | + * ======================================================================== | ||
| 749 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 750 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 751 | + * ======================================================================== */ | ||
| 752 | + | ||
| 753 | + | ||
| 754 | ++function ($) { | ||
| 755 | + 'use strict'; | ||
| 756 | + | ||
| 757 | + // DROPDOWN CLASS DEFINITION | ||
| 758 | + // ========================= | ||
| 759 | + | ||
| 760 | + var backdrop = '.dropdown-backdrop' | ||
| 761 | + var toggle = '[data-toggle="dropdown"]' | ||
| 762 | + var Dropdown = function (element) { | ||
| 763 | + $(element).on('click.bs.dropdown', this.toggle) | ||
| 764 | + } | ||
| 765 | + | ||
| 766 | + Dropdown.VERSION = '3.3.5' | ||
| 767 | + | ||
| 768 | + function getParent($this) { | ||
| 769 | + var selector = $this.attr('data-target') | ||
| 770 | + | ||
| 771 | + if (!selector) { | ||
| 772 | + selector = $this.attr('href') | ||
| 773 | + selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 | ||
| 774 | + } | ||
| 775 | + | ||
| 776 | + var $parent = selector && $(selector) | ||
| 777 | + | ||
| 778 | + return $parent && $parent.length ? $parent : $this.parent() | ||
| 779 | + } | ||
| 780 | + | ||
| 781 | + function clearMenus(e) { | ||
| 782 | + if (e && e.which === 3) return | ||
| 783 | + $(backdrop).remove() | ||
| 784 | + $(toggle).each(function () { | ||
| 785 | + var $this = $(this) | ||
| 786 | + var $parent = getParent($this) | ||
| 787 | + var relatedTarget = { relatedTarget: this } | ||
| 788 | + | ||
| 789 | + if (!$parent.hasClass('open')) return | ||
| 790 | + | ||
| 791 | + if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return | ||
| 792 | + | ||
| 793 | + $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget)) | ||
| 794 | + | ||
| 795 | + if (e.isDefaultPrevented()) return | ||
| 796 | + | ||
| 797 | + $this.attr('aria-expanded', 'false') | ||
| 798 | + $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget) | ||
| 799 | + }) | ||
| 800 | + } | ||
| 801 | + | ||
| 802 | + Dropdown.prototype.toggle = function (e) { | ||
| 803 | + var $this = $(this) | ||
| 804 | + | ||
| 805 | + if ($this.is('.disabled, :disabled')) return | ||
| 806 | + | ||
| 807 | + var $parent = getParent($this) | ||
| 808 | + var isActive = $parent.hasClass('open') | ||
| 809 | + | ||
| 810 | + clearMenus() | ||
| 811 | + | ||
| 812 | + if (!isActive) { | ||
| 813 | + if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) { | ||
| 814 | + // if mobile we use a backdrop because click events don't delegate | ||
| 815 | + $(document.createElement('div')) | ||
| 816 | + .addClass('dropdown-backdrop') | ||
| 817 | + .insertAfter($(this)) | ||
| 818 | + .on('click', clearMenus) | ||
| 819 | + } | ||
| 820 | + | ||
| 821 | + var relatedTarget = { relatedTarget: this } | ||
| 822 | + $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget)) | ||
| 823 | + | ||
| 824 | + if (e.isDefaultPrevented()) return | ||
| 825 | + | ||
| 826 | + $this | ||
| 827 | + .trigger('focus') | ||
| 828 | + .attr('aria-expanded', 'true') | ||
| 829 | + | ||
| 830 | + $parent | ||
| 831 | + .toggleClass('open') | ||
| 832 | + .trigger('shown.bs.dropdown', relatedTarget) | ||
| 833 | + } | ||
| 834 | + | ||
| 835 | + return false | ||
| 836 | + } | ||
| 837 | + | ||
| 838 | + Dropdown.prototype.keydown = function (e) { | ||
| 839 | + if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return | ||
| 840 | + | ||
| 841 | + var $this = $(this) | ||
| 842 | + | ||
| 843 | + e.preventDefault() | ||
| 844 | + e.stopPropagation() | ||
| 845 | + | ||
| 846 | + if ($this.is('.disabled, :disabled')) return | ||
| 847 | + | ||
| 848 | + var $parent = getParent($this) | ||
| 849 | + var isActive = $parent.hasClass('open') | ||
| 850 | + | ||
| 851 | + if (!isActive && e.which != 27 || isActive && e.which == 27) { | ||
| 852 | + if (e.which == 27) $parent.find(toggle).trigger('focus') | ||
| 853 | + return $this.trigger('click') | ||
| 854 | + } | ||
| 855 | + | ||
| 856 | + var desc = ' li:not(.disabled):visible a' | ||
| 857 | + var $items = $parent.find('.dropdown-menu' + desc) | ||
| 858 | + | ||
| 859 | + if (!$items.length) return | ||
| 860 | + | ||
| 861 | + var index = $items.index(e.target) | ||
| 862 | + | ||
| 863 | + if (e.which == 38 && index > 0) index-- // up | ||
| 864 | + if (e.which == 40 && index < $items.length - 1) index++ // down | ||
| 865 | + if (!~index) index = 0 | ||
| 866 | + | ||
| 867 | + $items.eq(index).trigger('focus') | ||
| 868 | + } | ||
| 869 | + | ||
| 870 | + | ||
| 871 | + // DROPDOWN PLUGIN DEFINITION | ||
| 872 | + // ========================== | ||
| 873 | + | ||
| 874 | + function Plugin(option) { | ||
| 875 | + return this.each(function () { | ||
| 876 | + var $this = $(this) | ||
| 877 | + var data = $this.data('bs.dropdown') | ||
| 878 | + | ||
| 879 | + if (!data) $this.data('bs.dropdown', (data = new Dropdown(this))) | ||
| 880 | + if (typeof option == 'string') data[option].call($this) | ||
| 881 | + }) | ||
| 882 | + } | ||
| 883 | + | ||
| 884 | + var old = $.fn.dropdown | ||
| 885 | + | ||
| 886 | + $.fn.dropdown = Plugin | ||
| 887 | + $.fn.dropdown.Constructor = Dropdown | ||
| 888 | + | ||
| 889 | + | ||
| 890 | + // DROPDOWN NO CONFLICT | ||
| 891 | + // ==================== | ||
| 892 | + | ||
| 893 | + $.fn.dropdown.noConflict = function () { | ||
| 894 | + $.fn.dropdown = old | ||
| 895 | + return this | ||
| 896 | + } | ||
| 897 | + | ||
| 898 | + | ||
| 899 | + // APPLY TO STANDARD DROPDOWN ELEMENTS | ||
| 900 | + // =================================== | ||
| 901 | + | ||
| 902 | + $(document) | ||
| 903 | + .on('click.bs.dropdown.data-api', clearMenus) | ||
| 904 | + .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) | ||
| 905 | + .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle) | ||
| 906 | + .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown) | ||
| 907 | + .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown) | ||
| 908 | + | ||
| 909 | +}(jQuery); | ||
| 910 | + | ||
| 911 | +/* ======================================================================== | ||
| 912 | + * Bootstrap: modal.js v3.3.5 | ||
| 913 | + * http://getbootstrap.com/javascript/#modals | ||
| 914 | + * ======================================================================== | ||
| 915 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 916 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 917 | + * ======================================================================== */ | ||
| 918 | + | ||
| 919 | + | ||
| 920 | ++function ($) { | ||
| 921 | + 'use strict'; | ||
| 922 | + | ||
| 923 | + // MODAL CLASS DEFINITION | ||
| 924 | + // ====================== | ||
| 925 | + | ||
| 926 | + var Modal = function (element, options) { | ||
| 927 | + this.options = options | ||
| 928 | + this.$body = $(document.body) | ||
| 929 | + this.$element = $(element) | ||
| 930 | + this.$dialog = this.$element.find('.modal-dialog') | ||
| 931 | + this.$backdrop = null | ||
| 932 | + this.isShown = null | ||
| 933 | + this.originalBodyPad = null | ||
| 934 | + this.scrollbarWidth = 0 | ||
| 935 | + this.ignoreBackdropClick = false | ||
| 936 | + | ||
| 937 | + if (this.options.remote) { | ||
| 938 | + this.$element | ||
| 939 | + .find('.modal-content') | ||
| 940 | + .load(this.options.remote, $.proxy(function () { | ||
| 941 | + this.$element.trigger('loaded.bs.modal') | ||
| 942 | + }, this)) | ||
| 943 | + } | ||
| 944 | + } | ||
| 945 | + | ||
| 946 | + Modal.VERSION = '3.3.5' | ||
| 947 | + | ||
| 948 | + Modal.TRANSITION_DURATION = 300 | ||
| 949 | + Modal.BACKDROP_TRANSITION_DURATION = 150 | ||
| 950 | + | ||
| 951 | + Modal.DEFAULTS = { | ||
| 952 | + backdrop: true, | ||
| 953 | + keyboard: true, | ||
| 954 | + show: true | ||
| 955 | + } | ||
| 956 | + | ||
| 957 | + Modal.prototype.toggle = function (_relatedTarget) { | ||
| 958 | + return this.isShown ? this.hide() : this.show(_relatedTarget) | ||
| 959 | + } | ||
| 960 | + | ||
| 961 | + Modal.prototype.show = function (_relatedTarget) { | ||
| 962 | + var that = this | ||
| 963 | + var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget }) | ||
| 964 | + | ||
| 965 | + this.$element.trigger(e) | ||
| 966 | + | ||
| 967 | + if (this.isShown || e.isDefaultPrevented()) return | ||
| 968 | + | ||
| 969 | + this.isShown = true | ||
| 970 | + | ||
| 971 | + this.checkScrollbar() | ||
| 972 | + this.setScrollbar() | ||
| 973 | + this.$body.addClass('modal-open') | ||
| 974 | + | ||
| 975 | + this.escape() | ||
| 976 | + this.resize() | ||
| 977 | + | ||
| 978 | + this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this)) | ||
| 979 | + | ||
| 980 | + this.$dialog.on('mousedown.dismiss.bs.modal', function () { | ||
| 981 | + that.$element.one('mouseup.dismiss.bs.modal', function (e) { | ||
| 982 | + if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true | ||
| 983 | + }) | ||
| 984 | + }) | ||
| 985 | + | ||
| 986 | + this.backdrop(function () { | ||
| 987 | + var transition = $.support.transition && that.$element.hasClass('fade') | ||
| 988 | + | ||
| 989 | + if (!that.$element.parent().length) { | ||
| 990 | + that.$element.appendTo(that.$body) // don't move modals dom position | ||
| 991 | + } | ||
| 992 | + | ||
| 993 | + that.$element | ||
| 994 | + .show() | ||
| 995 | + .scrollTop(0) | ||
| 996 | + | ||
| 997 | + that.adjustDialog() | ||
| 998 | + | ||
| 999 | + if (transition) { | ||
| 1000 | + that.$element[0].offsetWidth // force reflow | ||
| 1001 | + } | ||
| 1002 | + | ||
| 1003 | + that.$element.addClass('in') | ||
| 1004 | + | ||
| 1005 | + that.enforceFocus() | ||
| 1006 | + | ||
| 1007 | + var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget }) | ||
| 1008 | + | ||
| 1009 | + transition ? | ||
| 1010 | + that.$dialog // wait for modal to slide in | ||
| 1011 | + .one('bsTransitionEnd', function () { | ||
| 1012 | + that.$element.trigger('focus').trigger(e) | ||
| 1013 | + }) | ||
| 1014 | + .emulateTransitionEnd(Modal.TRANSITION_DURATION) : | ||
| 1015 | + that.$element.trigger('focus').trigger(e) | ||
| 1016 | + }) | ||
| 1017 | + } | ||
| 1018 | + | ||
| 1019 | + Modal.prototype.hide = function (e) { | ||
| 1020 | + if (e) e.preventDefault() | ||
| 1021 | + | ||
| 1022 | + e = $.Event('hide.bs.modal') | ||
| 1023 | + | ||
| 1024 | + this.$element.trigger(e) | ||
| 1025 | + | ||
| 1026 | + if (!this.isShown || e.isDefaultPrevented()) return | ||
| 1027 | + | ||
| 1028 | + this.isShown = false | ||
| 1029 | + | ||
| 1030 | + this.escape() | ||
| 1031 | + this.resize() | ||
| 1032 | + | ||
| 1033 | + $(document).off('focusin.bs.modal') | ||
| 1034 | + | ||
| 1035 | + this.$element | ||
| 1036 | + .removeClass('in') | ||
| 1037 | + .off('click.dismiss.bs.modal') | ||
| 1038 | + .off('mouseup.dismiss.bs.modal') | ||
| 1039 | + | ||
| 1040 | + this.$dialog.off('mousedown.dismiss.bs.modal') | ||
| 1041 | + | ||
| 1042 | + $.support.transition && this.$element.hasClass('fade') ? | ||
| 1043 | + this.$element | ||
| 1044 | + .one('bsTransitionEnd', $.proxy(this.hideModal, this)) | ||
| 1045 | + .emulateTransitionEnd(Modal.TRANSITION_DURATION) : | ||
| 1046 | + this.hideModal() | ||
| 1047 | + } | ||
| 1048 | + | ||
| 1049 | + Modal.prototype.enforceFocus = function () { | ||
| 1050 | + $(document) | ||
| 1051 | + .off('focusin.bs.modal') // guard against infinite focus loop | ||
| 1052 | + .on('focusin.bs.modal', $.proxy(function (e) { | ||
| 1053 | + if (this.$element[0] !== e.target && !this.$element.has(e.target).length) { | ||
| 1054 | + this.$element.trigger('focus') | ||
| 1055 | + } | ||
| 1056 | + }, this)) | ||
| 1057 | + } | ||
| 1058 | + | ||
| 1059 | + Modal.prototype.escape = function () { | ||
| 1060 | + if (this.isShown && this.options.keyboard) { | ||
| 1061 | + this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) { | ||
| 1062 | + e.which == 27 && this.hide() | ||
| 1063 | + }, this)) | ||
| 1064 | + } else if (!this.isShown) { | ||
| 1065 | + this.$element.off('keydown.dismiss.bs.modal') | ||
| 1066 | + } | ||
| 1067 | + } | ||
| 1068 | + | ||
| 1069 | + Modal.prototype.resize = function () { | ||
| 1070 | + if (this.isShown) { | ||
| 1071 | + $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this)) | ||
| 1072 | + } else { | ||
| 1073 | + $(window).off('resize.bs.modal') | ||
| 1074 | + } | ||
| 1075 | + } | ||
| 1076 | + | ||
| 1077 | + Modal.prototype.hideModal = function () { | ||
| 1078 | + var that = this | ||
| 1079 | + this.$element.hide() | ||
| 1080 | + this.backdrop(function () { | ||
| 1081 | + that.$body.removeClass('modal-open') | ||
| 1082 | + that.resetAdjustments() | ||
| 1083 | + that.resetScrollbar() | ||
| 1084 | + that.$element.trigger('hidden.bs.modal') | ||
| 1085 | + }) | ||
| 1086 | + } | ||
| 1087 | + | ||
| 1088 | + Modal.prototype.removeBackdrop = function () { | ||
| 1089 | + this.$backdrop && this.$backdrop.remove() | ||
| 1090 | + this.$backdrop = null | ||
| 1091 | + } | ||
| 1092 | + | ||
| 1093 | + Modal.prototype.backdrop = function (callback) { | ||
| 1094 | + var that = this | ||
| 1095 | + var animate = this.$element.hasClass('fade') ? 'fade' : '' | ||
| 1096 | + | ||
| 1097 | + if (this.isShown && this.options.backdrop) { | ||
| 1098 | + var doAnimate = $.support.transition && animate | ||
| 1099 | + | ||
| 1100 | + this.$backdrop = $(document.createElement('div')) | ||
| 1101 | + .addClass('modal-backdrop ' + animate) | ||
| 1102 | + .appendTo(this.$body) | ||
| 1103 | + | ||
| 1104 | + this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) { | ||
| 1105 | + if (this.ignoreBackdropClick) { | ||
| 1106 | + this.ignoreBackdropClick = false | ||
| 1107 | + return | ||
| 1108 | + } | ||
| 1109 | + if (e.target !== e.currentTarget) return | ||
| 1110 | + this.options.backdrop == 'static' | ||
| 1111 | + ? this.$element[0].focus() | ||
| 1112 | + : this.hide() | ||
| 1113 | + }, this)) | ||
| 1114 | + | ||
| 1115 | + if (doAnimate) this.$backdrop[0].offsetWidth // force reflow | ||
| 1116 | + | ||
| 1117 | + this.$backdrop.addClass('in') | ||
| 1118 | + | ||
| 1119 | + if (!callback) return | ||
| 1120 | + | ||
| 1121 | + doAnimate ? | ||
| 1122 | + this.$backdrop | ||
| 1123 | + .one('bsTransitionEnd', callback) | ||
| 1124 | + .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) : | ||
| 1125 | + callback() | ||
| 1126 | + | ||
| 1127 | + } else if (!this.isShown && this.$backdrop) { | ||
| 1128 | + this.$backdrop.removeClass('in') | ||
| 1129 | + | ||
| 1130 | + var callbackRemove = function () { | ||
| 1131 | + that.removeBackdrop() | ||
| 1132 | + callback && callback() | ||
| 1133 | + } | ||
| 1134 | + $.support.transition && this.$element.hasClass('fade') ? | ||
| 1135 | + this.$backdrop | ||
| 1136 | + .one('bsTransitionEnd', callbackRemove) | ||
| 1137 | + .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) : | ||
| 1138 | + callbackRemove() | ||
| 1139 | + | ||
| 1140 | + } else if (callback) { | ||
| 1141 | + callback() | ||
| 1142 | + } | ||
| 1143 | + } | ||
| 1144 | + | ||
| 1145 | + // these following methods are used to handle overflowing modals | ||
| 1146 | + | ||
| 1147 | + Modal.prototype.handleUpdate = function () { | ||
| 1148 | + this.adjustDialog() | ||
| 1149 | + } | ||
| 1150 | + | ||
| 1151 | + Modal.prototype.adjustDialog = function () { | ||
| 1152 | + var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight | ||
| 1153 | + | ||
| 1154 | + this.$element.css({ | ||
| 1155 | + paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '', | ||
| 1156 | + paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : '' | ||
| 1157 | + }) | ||
| 1158 | + } | ||
| 1159 | + | ||
| 1160 | + Modal.prototype.resetAdjustments = function () { | ||
| 1161 | + this.$element.css({ | ||
| 1162 | + paddingLeft: '', | ||
| 1163 | + paddingRight: '' | ||
| 1164 | + }) | ||
| 1165 | + } | ||
| 1166 | + | ||
| 1167 | + Modal.prototype.checkScrollbar = function () { | ||
| 1168 | + var fullWindowWidth = window.innerWidth | ||
| 1169 | + if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8 | ||
| 1170 | + var documentElementRect = document.documentElement.getBoundingClientRect() | ||
| 1171 | + fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left) | ||
| 1172 | + } | ||
| 1173 | + this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth | ||
| 1174 | + this.scrollbarWidth = this.measureScrollbar() | ||
| 1175 | + } | ||
| 1176 | + | ||
| 1177 | + Modal.prototype.setScrollbar = function () { | ||
| 1178 | + var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10) | ||
| 1179 | + this.originalBodyPad = document.body.style.paddingRight || '' | ||
| 1180 | + if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth) | ||
| 1181 | + } | ||
| 1182 | + | ||
| 1183 | + Modal.prototype.resetScrollbar = function () { | ||
| 1184 | + this.$body.css('padding-right', this.originalBodyPad) | ||
| 1185 | + } | ||
| 1186 | + | ||
| 1187 | + Modal.prototype.measureScrollbar = function () { // thx walsh | ||
| 1188 | + var scrollDiv = document.createElement('div') | ||
| 1189 | + scrollDiv.className = 'modal-scrollbar-measure' | ||
| 1190 | + this.$body.append(scrollDiv) | ||
| 1191 | + var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth | ||
| 1192 | + this.$body[0].removeChild(scrollDiv) | ||
| 1193 | + return scrollbarWidth | ||
| 1194 | + } | ||
| 1195 | + | ||
| 1196 | + | ||
| 1197 | + // MODAL PLUGIN DEFINITION | ||
| 1198 | + // ======================= | ||
| 1199 | + | ||
| 1200 | + function Plugin(option, _relatedTarget) { | ||
| 1201 | + return this.each(function () { | ||
| 1202 | + var $this = $(this) | ||
| 1203 | + var data = $this.data('bs.modal') | ||
| 1204 | + var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option) | ||
| 1205 | + | ||
| 1206 | + if (!data) $this.data('bs.modal', (data = new Modal(this, options))) | ||
| 1207 | + if (typeof option == 'string') data[option](_relatedTarget) | ||
| 1208 | + else if (options.show) data.show(_relatedTarget) | ||
| 1209 | + }) | ||
| 1210 | + } | ||
| 1211 | + | ||
| 1212 | + var old = $.fn.modal | ||
| 1213 | + | ||
| 1214 | + $.fn.modal = Plugin | ||
| 1215 | + $.fn.modal.Constructor = Modal | ||
| 1216 | + | ||
| 1217 | + | ||
| 1218 | + // MODAL NO CONFLICT | ||
| 1219 | + // ================= | ||
| 1220 | + | ||
| 1221 | + $.fn.modal.noConflict = function () { | ||
| 1222 | + $.fn.modal = old | ||
| 1223 | + return this | ||
| 1224 | + } | ||
| 1225 | + | ||
| 1226 | + | ||
| 1227 | + // MODAL DATA-API | ||
| 1228 | + // ============== | ||
| 1229 | + | ||
| 1230 | + $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) { | ||
| 1231 | + var $this = $(this) | ||
| 1232 | + var href = $this.attr('href') | ||
| 1233 | + var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7 | ||
| 1234 | + var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data()) | ||
| 1235 | + | ||
| 1236 | + if ($this.is('a')) e.preventDefault() | ||
| 1237 | + | ||
| 1238 | + $target.one('show.bs.modal', function (showEvent) { | ||
| 1239 | + if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown | ||
| 1240 | + $target.one('hidden.bs.modal', function () { | ||
| 1241 | + $this.is(':visible') && $this.trigger('focus') | ||
| 1242 | + }) | ||
| 1243 | + }) | ||
| 1244 | + Plugin.call($target, option, this) | ||
| 1245 | + }) | ||
| 1246 | + | ||
| 1247 | +}(jQuery); | ||
| 1248 | + | ||
| 1249 | +/* ======================================================================== | ||
| 1250 | + * Bootstrap: tooltip.js v3.3.5 | ||
| 1251 | + * http://getbootstrap.com/javascript/#tooltip | ||
| 1252 | + * Inspired by the original jQuery.tipsy by Jason Frame | ||
| 1253 | + * ======================================================================== | ||
| 1254 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 1255 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 1256 | + * ======================================================================== */ | ||
| 1257 | + | ||
| 1258 | + | ||
| 1259 | ++function ($) { | ||
| 1260 | + 'use strict'; | ||
| 1261 | + | ||
| 1262 | + // TOOLTIP PUBLIC CLASS DEFINITION | ||
| 1263 | + // =============================== | ||
| 1264 | + | ||
| 1265 | + var Tooltip = function (element, options) { | ||
| 1266 | + this.type = null | ||
| 1267 | + this.options = null | ||
| 1268 | + this.enabled = null | ||
| 1269 | + this.timeout = null | ||
| 1270 | + this.hoverState = null | ||
| 1271 | + this.$element = null | ||
| 1272 | + this.inState = null | ||
| 1273 | + | ||
| 1274 | + this.init('tooltip', element, options) | ||
| 1275 | + } | ||
| 1276 | + | ||
| 1277 | + Tooltip.VERSION = '3.3.5' | ||
| 1278 | + | ||
| 1279 | + Tooltip.TRANSITION_DURATION = 150 | ||
| 1280 | + | ||
| 1281 | + Tooltip.DEFAULTS = { | ||
| 1282 | + animation: true, | ||
| 1283 | + placement: 'top', | ||
| 1284 | + selector: false, | ||
| 1285 | + template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', | ||
| 1286 | + trigger: 'hover focus', | ||
| 1287 | + title: '', | ||
| 1288 | + delay: 0, | ||
| 1289 | + html: false, | ||
| 1290 | + container: false, | ||
| 1291 | + viewport: { | ||
| 1292 | + selector: 'body', | ||
| 1293 | + padding: 0 | ||
| 1294 | + } | ||
| 1295 | + } | ||
| 1296 | + | ||
| 1297 | + Tooltip.prototype.init = function (type, element, options) { | ||
| 1298 | + this.enabled = true | ||
| 1299 | + this.type = type | ||
| 1300 | + this.$element = $(element) | ||
| 1301 | + this.options = this.getOptions(options) | ||
| 1302 | + this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport)) | ||
| 1303 | + this.inState = { click: false, hover: false, focus: false } | ||
| 1304 | + | ||
| 1305 | + if (this.$element[0] instanceof document.constructor && !this.options.selector) { | ||
| 1306 | + throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!') | ||
| 1307 | + } | ||
| 1308 | + | ||
| 1309 | + var triggers = this.options.trigger.split(' ') | ||
| 1310 | + | ||
| 1311 | + for (var i = triggers.length; i--;) { | ||
| 1312 | + var trigger = triggers[i] | ||
| 1313 | + | ||
| 1314 | + if (trigger == 'click') { | ||
| 1315 | + this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this)) | ||
| 1316 | + } else if (trigger != 'manual') { | ||
| 1317 | + var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin' | ||
| 1318 | + var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout' | ||
| 1319 | + | ||
| 1320 | + this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this)) | ||
| 1321 | + this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this)) | ||
| 1322 | + } | ||
| 1323 | + } | ||
| 1324 | + | ||
| 1325 | + this.options.selector ? | ||
| 1326 | + (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) : | ||
| 1327 | + this.fixTitle() | ||
| 1328 | + } | ||
| 1329 | + | ||
| 1330 | + Tooltip.prototype.getDefaults = function () { | ||
| 1331 | + return Tooltip.DEFAULTS | ||
| 1332 | + } | ||
| 1333 | + | ||
| 1334 | + Tooltip.prototype.getOptions = function (options) { | ||
| 1335 | + options = $.extend({}, this.getDefaults(), this.$element.data(), options) | ||
| 1336 | + | ||
| 1337 | + if (options.delay && typeof options.delay == 'number') { | ||
| 1338 | + options.delay = { | ||
| 1339 | + show: options.delay, | ||
| 1340 | + hide: options.delay | ||
| 1341 | + } | ||
| 1342 | + } | ||
| 1343 | + | ||
| 1344 | + return options | ||
| 1345 | + } | ||
| 1346 | + | ||
| 1347 | + Tooltip.prototype.getDelegateOptions = function () { | ||
| 1348 | + var options = {} | ||
| 1349 | + var defaults = this.getDefaults() | ||
| 1350 | + | ||
| 1351 | + this._options && $.each(this._options, function (key, value) { | ||
| 1352 | + if (defaults[key] != value) options[key] = value | ||
| 1353 | + }) | ||
| 1354 | + | ||
| 1355 | + return options | ||
| 1356 | + } | ||
| 1357 | + | ||
| 1358 | + Tooltip.prototype.enter = function (obj) { | ||
| 1359 | + var self = obj instanceof this.constructor ? | ||
| 1360 | + obj : $(obj.currentTarget).data('bs.' + this.type) | ||
| 1361 | + | ||
| 1362 | + if (!self) { | ||
| 1363 | + self = new this.constructor(obj.currentTarget, this.getDelegateOptions()) | ||
| 1364 | + $(obj.currentTarget).data('bs.' + this.type, self) | ||
| 1365 | + } | ||
| 1366 | + | ||
| 1367 | + if (obj instanceof $.Event) { | ||
| 1368 | + self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true | ||
| 1369 | + } | ||
| 1370 | + | ||
| 1371 | + if (self.tip().hasClass('in') || self.hoverState == 'in') { | ||
| 1372 | + self.hoverState = 'in' | ||
| 1373 | + return | ||
| 1374 | + } | ||
| 1375 | + | ||
| 1376 | + clearTimeout(self.timeout) | ||
| 1377 | + | ||
| 1378 | + self.hoverState = 'in' | ||
| 1379 | + | ||
| 1380 | + if (!self.options.delay || !self.options.delay.show) return self.show() | ||
| 1381 | + | ||
| 1382 | + self.timeout = setTimeout(function () { | ||
| 1383 | + if (self.hoverState == 'in') self.show() | ||
| 1384 | + }, self.options.delay.show) | ||
| 1385 | + } | ||
| 1386 | + | ||
| 1387 | + Tooltip.prototype.isInStateTrue = function () { | ||
| 1388 | + for (var key in this.inState) { | ||
| 1389 | + if (this.inState[key]) return true | ||
| 1390 | + } | ||
| 1391 | + | ||
| 1392 | + return false | ||
| 1393 | + } | ||
| 1394 | + | ||
| 1395 | + Tooltip.prototype.leave = function (obj) { | ||
| 1396 | + var self = obj instanceof this.constructor ? | ||
| 1397 | + obj : $(obj.currentTarget).data('bs.' + this.type) | ||
| 1398 | + | ||
| 1399 | + if (!self) { | ||
| 1400 | + self = new this.constructor(obj.currentTarget, this.getDelegateOptions()) | ||
| 1401 | + $(obj.currentTarget).data('bs.' + this.type, self) | ||
| 1402 | + } | ||
| 1403 | + | ||
| 1404 | + if (obj instanceof $.Event) { | ||
| 1405 | + self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false | ||
| 1406 | + } | ||
| 1407 | + | ||
| 1408 | + if (self.isInStateTrue()) return | ||
| 1409 | + | ||
| 1410 | + clearTimeout(self.timeout) | ||
| 1411 | + | ||
| 1412 | + self.hoverState = 'out' | ||
| 1413 | + | ||
| 1414 | + if (!self.options.delay || !self.options.delay.hide) return self.hide() | ||
| 1415 | + | ||
| 1416 | + self.timeout = setTimeout(function () { | ||
| 1417 | + if (self.hoverState == 'out') self.hide() | ||
| 1418 | + }, self.options.delay.hide) | ||
| 1419 | + } | ||
| 1420 | + | ||
| 1421 | + Tooltip.prototype.show = function () { | ||
| 1422 | + var e = $.Event('show.bs.' + this.type) | ||
| 1423 | + | ||
| 1424 | + if (this.hasContent() && this.enabled) { | ||
| 1425 | + this.$element.trigger(e) | ||
| 1426 | + | ||
| 1427 | + var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0]) | ||
| 1428 | + if (e.isDefaultPrevented() || !inDom) return | ||
| 1429 | + var that = this | ||
| 1430 | + | ||
| 1431 | + var $tip = this.tip() | ||
| 1432 | + | ||
| 1433 | + var tipId = this.getUID(this.type) | ||
| 1434 | + | ||
| 1435 | + this.setContent() | ||
| 1436 | + $tip.attr('id', tipId) | ||
| 1437 | + this.$element.attr('aria-describedby', tipId) | ||
| 1438 | + | ||
| 1439 | + if (this.options.animation) $tip.addClass('fade') | ||
| 1440 | + | ||
| 1441 | + var placement = typeof this.options.placement == 'function' ? | ||
| 1442 | + this.options.placement.call(this, $tip[0], this.$element[0]) : | ||
| 1443 | + this.options.placement | ||
| 1444 | + | ||
| 1445 | + var autoToken = /\s?auto?\s?/i | ||
| 1446 | + var autoPlace = autoToken.test(placement) | ||
| 1447 | + if (autoPlace) placement = placement.replace(autoToken, '') || 'top' | ||
| 1448 | + | ||
| 1449 | + $tip | ||
| 1450 | + .detach() | ||
| 1451 | + .css({ top: 0, left: 0, display: 'block' }) | ||
| 1452 | + .addClass(placement) | ||
| 1453 | + .data('bs.' + this.type, this) | ||
| 1454 | + | ||
| 1455 | + this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element) | ||
| 1456 | + this.$element.trigger('inserted.bs.' + this.type) | ||
| 1457 | + | ||
| 1458 | + var pos = this.getPosition() | ||
| 1459 | + var actualWidth = $tip[0].offsetWidth | ||
| 1460 | + var actualHeight = $tip[0].offsetHeight | ||
| 1461 | + | ||
| 1462 | + if (autoPlace) { | ||
| 1463 | + var orgPlacement = placement | ||
| 1464 | + var viewportDim = this.getPosition(this.$viewport) | ||
| 1465 | + | ||
| 1466 | + placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' : | ||
| 1467 | + placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' : | ||
| 1468 | + placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' : | ||
| 1469 | + placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' : | ||
| 1470 | + placement | ||
| 1471 | + | ||
| 1472 | + $tip | ||
| 1473 | + .removeClass(orgPlacement) | ||
| 1474 | + .addClass(placement) | ||
| 1475 | + } | ||
| 1476 | + | ||
| 1477 | + var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight) | ||
| 1478 | + | ||
| 1479 | + this.applyPlacement(calculatedOffset, placement) | ||
| 1480 | + | ||
| 1481 | + var complete = function () { | ||
| 1482 | + var prevHoverState = that.hoverState | ||
| 1483 | + that.$element.trigger('shown.bs.' + that.type) | ||
| 1484 | + that.hoverState = null | ||
| 1485 | + | ||
| 1486 | + if (prevHoverState == 'out') that.leave(that) | ||
| 1487 | + } | ||
| 1488 | + | ||
| 1489 | + $.support.transition && this.$tip.hasClass('fade') ? | ||
| 1490 | + $tip | ||
| 1491 | + .one('bsTransitionEnd', complete) | ||
| 1492 | + .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) : | ||
| 1493 | + complete() | ||
| 1494 | + } | ||
| 1495 | + } | ||
| 1496 | + | ||
| 1497 | + Tooltip.prototype.applyPlacement = function (offset, placement) { | ||
| 1498 | + var $tip = this.tip() | ||
| 1499 | + var width = $tip[0].offsetWidth | ||
| 1500 | + var height = $tip[0].offsetHeight | ||
| 1501 | + | ||
| 1502 | + // manually read margins because getBoundingClientRect includes difference | ||
| 1503 | + var marginTop = parseInt($tip.css('margin-top'), 10) | ||
| 1504 | + var marginLeft = parseInt($tip.css('margin-left'), 10) | ||
| 1505 | + | ||
| 1506 | + // we must check for NaN for ie 8/9 | ||
| 1507 | + if (isNaN(marginTop)) marginTop = 0 | ||
| 1508 | + if (isNaN(marginLeft)) marginLeft = 0 | ||
| 1509 | + | ||
| 1510 | + offset.top += marginTop | ||
| 1511 | + offset.left += marginLeft | ||
| 1512 | + | ||
| 1513 | + // $.fn.offset doesn't round pixel values | ||
| 1514 | + // so we use setOffset directly with our own function B-0 | ||
| 1515 | + $.offset.setOffset($tip[0], $.extend({ | ||
| 1516 | + using: function (props) { | ||
| 1517 | + $tip.css({ | ||
| 1518 | + top: Math.round(props.top), | ||
| 1519 | + left: Math.round(props.left) | ||
| 1520 | + }) | ||
| 1521 | + } | ||
| 1522 | + }, offset), 0) | ||
| 1523 | + | ||
| 1524 | + $tip.addClass('in') | ||
| 1525 | + | ||
| 1526 | + // check to see if placing tip in new offset caused the tip to resize itself | ||
| 1527 | + var actualWidth = $tip[0].offsetWidth | ||
| 1528 | + var actualHeight = $tip[0].offsetHeight | ||
| 1529 | + | ||
| 1530 | + if (placement == 'top' && actualHeight != height) { | ||
| 1531 | + offset.top = offset.top + height - actualHeight | ||
| 1532 | + } | ||
| 1533 | + | ||
| 1534 | + var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight) | ||
| 1535 | + | ||
| 1536 | + if (delta.left) offset.left += delta.left | ||
| 1537 | + else offset.top += delta.top | ||
| 1538 | + | ||
| 1539 | + var isVertical = /top|bottom/.test(placement) | ||
| 1540 | + var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight | ||
| 1541 | + var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight' | ||
| 1542 | + | ||
| 1543 | + $tip.offset(offset) | ||
| 1544 | + this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical) | ||
| 1545 | + } | ||
| 1546 | + | ||
| 1547 | + Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) { | ||
| 1548 | + this.arrow() | ||
| 1549 | + .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%') | ||
| 1550 | + .css(isVertical ? 'top' : 'left', '') | ||
| 1551 | + } | ||
| 1552 | + | ||
| 1553 | + Tooltip.prototype.setContent = function () { | ||
| 1554 | + var $tip = this.tip() | ||
| 1555 | + var title = this.getTitle() | ||
| 1556 | + | ||
| 1557 | + $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title) | ||
| 1558 | + $tip.removeClass('fade in top bottom left right') | ||
| 1559 | + } | ||
| 1560 | + | ||
| 1561 | + Tooltip.prototype.hide = function (callback) { | ||
| 1562 | + var that = this | ||
| 1563 | + var $tip = $(this.$tip) | ||
| 1564 | + var e = $.Event('hide.bs.' + this.type) | ||
| 1565 | + | ||
| 1566 | + function complete() { | ||
| 1567 | + if (that.hoverState != 'in') $tip.detach() | ||
| 1568 | + that.$element | ||
| 1569 | + .removeAttr('aria-describedby') | ||
| 1570 | + .trigger('hidden.bs.' + that.type) | ||
| 1571 | + callback && callback() | ||
| 1572 | + } | ||
| 1573 | + | ||
| 1574 | + this.$element.trigger(e) | ||
| 1575 | + | ||
| 1576 | + if (e.isDefaultPrevented()) return | ||
| 1577 | + | ||
| 1578 | + $tip.removeClass('in') | ||
| 1579 | + | ||
| 1580 | + $.support.transition && $tip.hasClass('fade') ? | ||
| 1581 | + $tip | ||
| 1582 | + .one('bsTransitionEnd', complete) | ||
| 1583 | + .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) : | ||
| 1584 | + complete() | ||
| 1585 | + | ||
| 1586 | + this.hoverState = null | ||
| 1587 | + | ||
| 1588 | + return this | ||
| 1589 | + } | ||
| 1590 | + | ||
| 1591 | + Tooltip.prototype.fixTitle = function () { | ||
| 1592 | + var $e = this.$element | ||
| 1593 | + if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') { | ||
| 1594 | + $e.attr('data-original-title', $e.attr('title') || '').attr('title', '') | ||
| 1595 | + } | ||
| 1596 | + } | ||
| 1597 | + | ||
| 1598 | + Tooltip.prototype.hasContent = function () { | ||
| 1599 | + return this.getTitle() | ||
| 1600 | + } | ||
| 1601 | + | ||
| 1602 | + Tooltip.prototype.getPosition = function ($element) { | ||
| 1603 | + $element = $element || this.$element | ||
| 1604 | + | ||
| 1605 | + var el = $element[0] | ||
| 1606 | + var isBody = el.tagName == 'BODY' | ||
| 1607 | + | ||
| 1608 | + var elRect = el.getBoundingClientRect() | ||
| 1609 | + if (elRect.width == null) { | ||
| 1610 | + // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093 | ||
| 1611 | + elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top }) | ||
| 1612 | + } | ||
| 1613 | + var elOffset = isBody ? { top: 0, left: 0 } : $element.offset() | ||
| 1614 | + var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() } | ||
| 1615 | + var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null | ||
| 1616 | + | ||
| 1617 | + return $.extend({}, elRect, scroll, outerDims, elOffset) | ||
| 1618 | + } | ||
| 1619 | + | ||
| 1620 | + Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) { | ||
| 1621 | + return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } : | ||
| 1622 | + placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } : | ||
| 1623 | + placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } : | ||
| 1624 | + /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width } | ||
| 1625 | + | ||
| 1626 | + } | ||
| 1627 | + | ||
| 1628 | + Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { | ||
| 1629 | + var delta = { top: 0, left: 0 } | ||
| 1630 | + if (!this.$viewport) return delta | ||
| 1631 | + | ||
| 1632 | + var viewportPadding = this.options.viewport && this.options.viewport.padding || 0 | ||
| 1633 | + var viewportDimensions = this.getPosition(this.$viewport) | ||
| 1634 | + | ||
| 1635 | + if (/right|left/.test(placement)) { | ||
| 1636 | + var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll | ||
| 1637 | + var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight | ||
| 1638 | + if (topEdgeOffset < viewportDimensions.top) { // top overflow | ||
| 1639 | + delta.top = viewportDimensions.top - topEdgeOffset | ||
| 1640 | + } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow | ||
| 1641 | + delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset | ||
| 1642 | + } | ||
| 1643 | + } else { | ||
| 1644 | + var leftEdgeOffset = pos.left - viewportPadding | ||
| 1645 | + var rightEdgeOffset = pos.left + viewportPadding + actualWidth | ||
| 1646 | + if (leftEdgeOffset < viewportDimensions.left) { // left overflow | ||
| 1647 | + delta.left = viewportDimensions.left - leftEdgeOffset | ||
| 1648 | + } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow | ||
| 1649 | + delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset | ||
| 1650 | + } | ||
| 1651 | + } | ||
| 1652 | + | ||
| 1653 | + return delta | ||
| 1654 | + } | ||
| 1655 | + | ||
| 1656 | + Tooltip.prototype.getTitle = function () { | ||
| 1657 | + var title | ||
| 1658 | + var $e = this.$element | ||
| 1659 | + var o = this.options | ||
| 1660 | + | ||
| 1661 | + title = $e.attr('data-original-title') | ||
| 1662 | + || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title) | ||
| 1663 | + | ||
| 1664 | + return title | ||
| 1665 | + } | ||
| 1666 | + | ||
| 1667 | + Tooltip.prototype.getUID = function (prefix) { | ||
| 1668 | + do prefix += ~~(Math.random() * 1000000) | ||
| 1669 | + while (document.getElementById(prefix)) | ||
| 1670 | + return prefix | ||
| 1671 | + } | ||
| 1672 | + | ||
| 1673 | + Tooltip.prototype.tip = function () { | ||
| 1674 | + if (!this.$tip) { | ||
| 1675 | + this.$tip = $(this.options.template) | ||
| 1676 | + if (this.$tip.length != 1) { | ||
| 1677 | + throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!') | ||
| 1678 | + } | ||
| 1679 | + } | ||
| 1680 | + return this.$tip | ||
| 1681 | + } | ||
| 1682 | + | ||
| 1683 | + Tooltip.prototype.arrow = function () { | ||
| 1684 | + return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')) | ||
| 1685 | + } | ||
| 1686 | + | ||
| 1687 | + Tooltip.prototype.enable = function () { | ||
| 1688 | + this.enabled = true | ||
| 1689 | + } | ||
| 1690 | + | ||
| 1691 | + Tooltip.prototype.disable = function () { | ||
| 1692 | + this.enabled = false | ||
| 1693 | + } | ||
| 1694 | + | ||
| 1695 | + Tooltip.prototype.toggleEnabled = function () { | ||
| 1696 | + this.enabled = !this.enabled | ||
| 1697 | + } | ||
| 1698 | + | ||
| 1699 | + Tooltip.prototype.toggle = function (e) { | ||
| 1700 | + var self = this | ||
| 1701 | + if (e) { | ||
| 1702 | + self = $(e.currentTarget).data('bs.' + this.type) | ||
| 1703 | + if (!self) { | ||
| 1704 | + self = new this.constructor(e.currentTarget, this.getDelegateOptions()) | ||
| 1705 | + $(e.currentTarget).data('bs.' + this.type, self) | ||
| 1706 | + } | ||
| 1707 | + } | ||
| 1708 | + | ||
| 1709 | + if (e) { | ||
| 1710 | + self.inState.click = !self.inState.click | ||
| 1711 | + if (self.isInStateTrue()) self.enter(self) | ||
| 1712 | + else self.leave(self) | ||
| 1713 | + } else { | ||
| 1714 | + self.tip().hasClass('in') ? self.leave(self) : self.enter(self) | ||
| 1715 | + } | ||
| 1716 | + } | ||
| 1717 | + | ||
| 1718 | + Tooltip.prototype.destroy = function () { | ||
| 1719 | + var that = this | ||
| 1720 | + clearTimeout(this.timeout) | ||
| 1721 | + this.hide(function () { | ||
| 1722 | + that.$element.off('.' + that.type).removeData('bs.' + that.type) | ||
| 1723 | + if (that.$tip) { | ||
| 1724 | + that.$tip.detach() | ||
| 1725 | + } | ||
| 1726 | + that.$tip = null | ||
| 1727 | + that.$arrow = null | ||
| 1728 | + that.$viewport = null | ||
| 1729 | + }) | ||
| 1730 | + } | ||
| 1731 | + | ||
| 1732 | + | ||
| 1733 | + // TOOLTIP PLUGIN DEFINITION | ||
| 1734 | + // ========================= | ||
| 1735 | + | ||
| 1736 | + function Plugin(option) { | ||
| 1737 | + return this.each(function () { | ||
| 1738 | + var $this = $(this) | ||
| 1739 | + var data = $this.data('bs.tooltip') | ||
| 1740 | + var options = typeof option == 'object' && option | ||
| 1741 | + | ||
| 1742 | + if (!data && /destroy|hide/.test(option)) return | ||
| 1743 | + if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options))) | ||
| 1744 | + if (typeof option == 'string') data[option]() | ||
| 1745 | + }) | ||
| 1746 | + } | ||
| 1747 | + | ||
| 1748 | + var old = $.fn.tooltip | ||
| 1749 | + | ||
| 1750 | + $.fn.tooltip = Plugin | ||
| 1751 | + $.fn.tooltip.Constructor = Tooltip | ||
| 1752 | + | ||
| 1753 | + | ||
| 1754 | + // TOOLTIP NO CONFLICT | ||
| 1755 | + // =================== | ||
| 1756 | + | ||
| 1757 | + $.fn.tooltip.noConflict = function () { | ||
| 1758 | + $.fn.tooltip = old | ||
| 1759 | + return this | ||
| 1760 | + } | ||
| 1761 | + | ||
| 1762 | +}(jQuery); | ||
| 1763 | + | ||
| 1764 | +/* ======================================================================== | ||
| 1765 | + * Bootstrap: popover.js v3.3.5 | ||
| 1766 | + * http://getbootstrap.com/javascript/#popovers | ||
| 1767 | + * ======================================================================== | ||
| 1768 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 1769 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 1770 | + * ======================================================================== */ | ||
| 1771 | + | ||
| 1772 | + | ||
| 1773 | ++function ($) { | ||
| 1774 | + 'use strict'; | ||
| 1775 | + | ||
| 1776 | + // POPOVER PUBLIC CLASS DEFINITION | ||
| 1777 | + // =============================== | ||
| 1778 | + | ||
| 1779 | + var Popover = function (element, options) { | ||
| 1780 | + this.init('popover', element, options) | ||
| 1781 | + } | ||
| 1782 | + | ||
| 1783 | + if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js') | ||
| 1784 | + | ||
| 1785 | + Popover.VERSION = '3.3.5' | ||
| 1786 | + | ||
| 1787 | + Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, { | ||
| 1788 | + placement: 'right', | ||
| 1789 | + trigger: 'click', | ||
| 1790 | + content: '', | ||
| 1791 | + template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>' | ||
| 1792 | + }) | ||
| 1793 | + | ||
| 1794 | + | ||
| 1795 | + // NOTE: POPOVER EXTENDS tooltip.js | ||
| 1796 | + // ================================ | ||
| 1797 | + | ||
| 1798 | + Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype) | ||
| 1799 | + | ||
| 1800 | + Popover.prototype.constructor = Popover | ||
| 1801 | + | ||
| 1802 | + Popover.prototype.getDefaults = function () { | ||
| 1803 | + return Popover.DEFAULTS | ||
| 1804 | + } | ||
| 1805 | + | ||
| 1806 | + Popover.prototype.setContent = function () { | ||
| 1807 | + var $tip = this.tip() | ||
| 1808 | + var title = this.getTitle() | ||
| 1809 | + var content = this.getContent() | ||
| 1810 | + | ||
| 1811 | + $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) | ||
| 1812 | + $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events | ||
| 1813 | + this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text' | ||
| 1814 | + ](content) | ||
| 1815 | + | ||
| 1816 | + $tip.removeClass('fade top bottom left right in') | ||
| 1817 | + | ||
| 1818 | + // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do | ||
| 1819 | + // this manually by checking the contents. | ||
| 1820 | + if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide() | ||
| 1821 | + } | ||
| 1822 | + | ||
| 1823 | + Popover.prototype.hasContent = function () { | ||
| 1824 | + return this.getTitle() || this.getContent() | ||
| 1825 | + } | ||
| 1826 | + | ||
| 1827 | + Popover.prototype.getContent = function () { | ||
| 1828 | + var $e = this.$element | ||
| 1829 | + var o = this.options | ||
| 1830 | + | ||
| 1831 | + return $e.attr('data-content') | ||
| 1832 | + || (typeof o.content == 'function' ? | ||
| 1833 | + o.content.call($e[0]) : | ||
| 1834 | + o.content) | ||
| 1835 | + } | ||
| 1836 | + | ||
| 1837 | + Popover.prototype.arrow = function () { | ||
| 1838 | + return (this.$arrow = this.$arrow || this.tip().find('.arrow')) | ||
| 1839 | + } | ||
| 1840 | + | ||
| 1841 | + | ||
| 1842 | + // POPOVER PLUGIN DEFINITION | ||
| 1843 | + // ========================= | ||
| 1844 | + | ||
| 1845 | + function Plugin(option) { | ||
| 1846 | + return this.each(function () { | ||
| 1847 | + var $this = $(this) | ||
| 1848 | + var data = $this.data('bs.popover') | ||
| 1849 | + var options = typeof option == 'object' && option | ||
| 1850 | + | ||
| 1851 | + if (!data && /destroy|hide/.test(option)) return | ||
| 1852 | + if (!data) $this.data('bs.popover', (data = new Popover(this, options))) | ||
| 1853 | + if (typeof option == 'string') data[option]() | ||
| 1854 | + }) | ||
| 1855 | + } | ||
| 1856 | + | ||
| 1857 | + var old = $.fn.popover | ||
| 1858 | + | ||
| 1859 | + $.fn.popover = Plugin | ||
| 1860 | + $.fn.popover.Constructor = Popover | ||
| 1861 | + | ||
| 1862 | + | ||
| 1863 | + // POPOVER NO CONFLICT | ||
| 1864 | + // =================== | ||
| 1865 | + | ||
| 1866 | + $.fn.popover.noConflict = function () { | ||
| 1867 | + $.fn.popover = old | ||
| 1868 | + return this | ||
| 1869 | + } | ||
| 1870 | + | ||
| 1871 | +}(jQuery); | ||
| 1872 | + | ||
| 1873 | +/* ======================================================================== | ||
| 1874 | + * Bootstrap: scrollspy.js v3.3.5 | ||
| 1875 | + * http://getbootstrap.com/javascript/#scrollspy | ||
| 1876 | + * ======================================================================== | ||
| 1877 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 1878 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 1879 | + * ======================================================================== */ | ||
| 1880 | + | ||
| 1881 | + | ||
| 1882 | ++function ($) { | ||
| 1883 | + 'use strict'; | ||
| 1884 | + | ||
| 1885 | + // SCROLLSPY CLASS DEFINITION | ||
| 1886 | + // ========================== | ||
| 1887 | + | ||
| 1888 | + function ScrollSpy(element, options) { | ||
| 1889 | + this.$body = $(document.body) | ||
| 1890 | + this.$scrollElement = $(element).is(document.body) ? $(window) : $(element) | ||
| 1891 | + this.options = $.extend({}, ScrollSpy.DEFAULTS, options) | ||
| 1892 | + this.selector = (this.options.target || '') + ' .nav li > a' | ||
| 1893 | + this.offsets = [] | ||
| 1894 | + this.targets = [] | ||
| 1895 | + this.activeTarget = null | ||
| 1896 | + this.scrollHeight = 0 | ||
| 1897 | + | ||
| 1898 | + this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this)) | ||
| 1899 | + this.refresh() | ||
| 1900 | + this.process() | ||
| 1901 | + } | ||
| 1902 | + | ||
| 1903 | + ScrollSpy.VERSION = '3.3.5' | ||
| 1904 | + | ||
| 1905 | + ScrollSpy.DEFAULTS = { | ||
| 1906 | + offset: 10 | ||
| 1907 | + } | ||
| 1908 | + | ||
| 1909 | + ScrollSpy.prototype.getScrollHeight = function () { | ||
| 1910 | + return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight) | ||
| 1911 | + } | ||
| 1912 | + | ||
| 1913 | + ScrollSpy.prototype.refresh = function () { | ||
| 1914 | + var that = this | ||
| 1915 | + var offsetMethod = 'offset' | ||
| 1916 | + var offsetBase = 0 | ||
| 1917 | + | ||
| 1918 | + this.offsets = [] | ||
| 1919 | + this.targets = [] | ||
| 1920 | + this.scrollHeight = this.getScrollHeight() | ||
| 1921 | + | ||
| 1922 | + if (!$.isWindow(this.$scrollElement[0])) { | ||
| 1923 | + offsetMethod = 'position' | ||
| 1924 | + offsetBase = this.$scrollElement.scrollTop() | ||
| 1925 | + } | ||
| 1926 | + | ||
| 1927 | + this.$body | ||
| 1928 | + .find(this.selector) | ||
| 1929 | + .map(function () { | ||
| 1930 | + var $el = $(this) | ||
| 1931 | + var href = $el.data('target') || $el.attr('href') | ||
| 1932 | + var $href = /^#./.test(href) && $(href) | ||
| 1933 | + | ||
| 1934 | + return ($href | ||
| 1935 | + && $href.length | ||
| 1936 | + && $href.is(':visible') | ||
| 1937 | + && [[$href[offsetMethod]().top + offsetBase, href]]) || null | ||
| 1938 | + }) | ||
| 1939 | + .sort(function (a, b) { return a[0] - b[0] }) | ||
| 1940 | + .each(function () { | ||
| 1941 | + that.offsets.push(this[0]) | ||
| 1942 | + that.targets.push(this[1]) | ||
| 1943 | + }) | ||
| 1944 | + } | ||
| 1945 | + | ||
| 1946 | + ScrollSpy.prototype.process = function () { | ||
| 1947 | + var scrollTop = this.$scrollElement.scrollTop() + this.options.offset | ||
| 1948 | + var scrollHeight = this.getScrollHeight() | ||
| 1949 | + var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height() | ||
| 1950 | + var offsets = this.offsets | ||
| 1951 | + var targets = this.targets | ||
| 1952 | + var activeTarget = this.activeTarget | ||
| 1953 | + var i | ||
| 1954 | + | ||
| 1955 | + if (this.scrollHeight != scrollHeight) { | ||
| 1956 | + this.refresh() | ||
| 1957 | + } | ||
| 1958 | + | ||
| 1959 | + if (scrollTop >= maxScroll) { | ||
| 1960 | + return activeTarget != (i = targets[targets.length - 1]) && this.activate(i) | ||
| 1961 | + } | ||
| 1962 | + | ||
| 1963 | + if (activeTarget && scrollTop < offsets[0]) { | ||
| 1964 | + this.activeTarget = null | ||
| 1965 | + return this.clear() | ||
| 1966 | + } | ||
| 1967 | + | ||
| 1968 | + for (i = offsets.length; i--;) { | ||
| 1969 | + activeTarget != targets[i] | ||
| 1970 | + && scrollTop >= offsets[i] | ||
| 1971 | + && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1]) | ||
| 1972 | + && this.activate(targets[i]) | ||
| 1973 | + } | ||
| 1974 | + } | ||
| 1975 | + | ||
| 1976 | + ScrollSpy.prototype.activate = function (target) { | ||
| 1977 | + this.activeTarget = target | ||
| 1978 | + | ||
| 1979 | + this.clear() | ||
| 1980 | + | ||
| 1981 | + var selector = this.selector + | ||
| 1982 | + '[data-target="' + target + '"],' + | ||
| 1983 | + this.selector + '[href="' + target + '"]' | ||
| 1984 | + | ||
| 1985 | + var active = $(selector) | ||
| 1986 | + .parents('li') | ||
| 1987 | + .addClass('active') | ||
| 1988 | + | ||
| 1989 | + if (active.parent('.dropdown-menu').length) { | ||
| 1990 | + active = active | ||
| 1991 | + .closest('li.dropdown') | ||
| 1992 | + .addClass('active') | ||
| 1993 | + } | ||
| 1994 | + | ||
| 1995 | + active.trigger('activate.bs.scrollspy') | ||
| 1996 | + } | ||
| 1997 | + | ||
| 1998 | + ScrollSpy.prototype.clear = function () { | ||
| 1999 | + $(this.selector) | ||
| 2000 | + .parentsUntil(this.options.target, '.active') | ||
| 2001 | + .removeClass('active') | ||
| 2002 | + } | ||
| 2003 | + | ||
| 2004 | + | ||
| 2005 | + // SCROLLSPY PLUGIN DEFINITION | ||
| 2006 | + // =========================== | ||
| 2007 | + | ||
| 2008 | + function Plugin(option) { | ||
| 2009 | + return this.each(function () { | ||
| 2010 | + var $this = $(this) | ||
| 2011 | + var data = $this.data('bs.scrollspy') | ||
| 2012 | + var options = typeof option == 'object' && option | ||
| 2013 | + | ||
| 2014 | + if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options))) | ||
| 2015 | + if (typeof option == 'string') data[option]() | ||
| 2016 | + }) | ||
| 2017 | + } | ||
| 2018 | + | ||
| 2019 | + var old = $.fn.scrollspy | ||
| 2020 | + | ||
| 2021 | + $.fn.scrollspy = Plugin | ||
| 2022 | + $.fn.scrollspy.Constructor = ScrollSpy | ||
| 2023 | + | ||
| 2024 | + | ||
| 2025 | + // SCROLLSPY NO CONFLICT | ||
| 2026 | + // ===================== | ||
| 2027 | + | ||
| 2028 | + $.fn.scrollspy.noConflict = function () { | ||
| 2029 | + $.fn.scrollspy = old | ||
| 2030 | + return this | ||
| 2031 | + } | ||
| 2032 | + | ||
| 2033 | + | ||
| 2034 | + // SCROLLSPY DATA-API | ||
| 2035 | + // ================== | ||
| 2036 | + | ||
| 2037 | + $(window).on('load.bs.scrollspy.data-api', function () { | ||
| 2038 | + $('[data-spy="scroll"]').each(function () { | ||
| 2039 | + var $spy = $(this) | ||
| 2040 | + Plugin.call($spy, $spy.data()) | ||
| 2041 | + }) | ||
| 2042 | + }) | ||
| 2043 | + | ||
| 2044 | +}(jQuery); | ||
| 2045 | + | ||
| 2046 | +/* ======================================================================== | ||
| 2047 | + * Bootstrap: tab.js v3.3.5 | ||
| 2048 | + * http://getbootstrap.com/javascript/#tabs | ||
| 2049 | + * ======================================================================== | ||
| 2050 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 2051 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 2052 | + * ======================================================================== */ | ||
| 2053 | + | ||
| 2054 | + | ||
| 2055 | ++function ($) { | ||
| 2056 | + 'use strict'; | ||
| 2057 | + | ||
| 2058 | + // TAB CLASS DEFINITION | ||
| 2059 | + // ==================== | ||
| 2060 | + | ||
| 2061 | + var Tab = function (element) { | ||
| 2062 | + // jscs:disable requireDollarBeforejQueryAssignment | ||
| 2063 | + this.element = $(element) | ||
| 2064 | + // jscs:enable requireDollarBeforejQueryAssignment | ||
| 2065 | + } | ||
| 2066 | + | ||
| 2067 | + Tab.VERSION = '3.3.5' | ||
| 2068 | + | ||
| 2069 | + Tab.TRANSITION_DURATION = 150 | ||
| 2070 | + | ||
| 2071 | + Tab.prototype.show = function () { | ||
| 2072 | + var $this = this.element | ||
| 2073 | + var $ul = $this.closest('ul:not(.dropdown-menu)') | ||
| 2074 | + var selector = $this.data('target') | ||
| 2075 | + | ||
| 2076 | + if (!selector) { | ||
| 2077 | + selector = $this.attr('href') | ||
| 2078 | + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 | ||
| 2079 | + } | ||
| 2080 | + | ||
| 2081 | + if ($this.parent('li').hasClass('active')) return | ||
| 2082 | + | ||
| 2083 | + var $previous = $ul.find('.active:last a') | ||
| 2084 | + var hideEvent = $.Event('hide.bs.tab', { | ||
| 2085 | + relatedTarget: $this[0] | ||
| 2086 | + }) | ||
| 2087 | + var showEvent = $.Event('show.bs.tab', { | ||
| 2088 | + relatedTarget: $previous[0] | ||
| 2089 | + }) | ||
| 2090 | + | ||
| 2091 | + $previous.trigger(hideEvent) | ||
| 2092 | + $this.trigger(showEvent) | ||
| 2093 | + | ||
| 2094 | + if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return | ||
| 2095 | + | ||
| 2096 | + var $target = $(selector) | ||
| 2097 | + | ||
| 2098 | + this.activate($this.closest('li'), $ul) | ||
| 2099 | + this.activate($target, $target.parent(), function () { | ||
| 2100 | + $previous.trigger({ | ||
| 2101 | + type: 'hidden.bs.tab', | ||
| 2102 | + relatedTarget: $this[0] | ||
| 2103 | + }) | ||
| 2104 | + $this.trigger({ | ||
| 2105 | + type: 'shown.bs.tab', | ||
| 2106 | + relatedTarget: $previous[0] | ||
| 2107 | + }) | ||
| 2108 | + }) | ||
| 2109 | + } | ||
| 2110 | + | ||
| 2111 | + Tab.prototype.activate = function (element, container, callback) { | ||
| 2112 | + var $active = container.find('> .active') | ||
| 2113 | + var transition = callback | ||
| 2114 | + && $.support.transition | ||
| 2115 | + && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length) | ||
| 2116 | + | ||
| 2117 | + function next() { | ||
| 2118 | + $active | ||
| 2119 | + .removeClass('active') | ||
| 2120 | + .find('> .dropdown-menu > .active') | ||
| 2121 | + .removeClass('active') | ||
| 2122 | + .end() | ||
| 2123 | + .find('[data-toggle="tab"]') | ||
| 2124 | + .attr('aria-expanded', false) | ||
| 2125 | + | ||
| 2126 | + element | ||
| 2127 | + .addClass('active') | ||
| 2128 | + .find('[data-toggle="tab"]') | ||
| 2129 | + .attr('aria-expanded', true) | ||
| 2130 | + | ||
| 2131 | + if (transition) { | ||
| 2132 | + element[0].offsetWidth // reflow for transition | ||
| 2133 | + element.addClass('in') | ||
| 2134 | + } else { | ||
| 2135 | + element.removeClass('fade') | ||
| 2136 | + } | ||
| 2137 | + | ||
| 2138 | + if (element.parent('.dropdown-menu').length) { | ||
| 2139 | + element | ||
| 2140 | + .closest('li.dropdown') | ||
| 2141 | + .addClass('active') | ||
| 2142 | + .end() | ||
| 2143 | + .find('[data-toggle="tab"]') | ||
| 2144 | + .attr('aria-expanded', true) | ||
| 2145 | + } | ||
| 2146 | + | ||
| 2147 | + callback && callback() | ||
| 2148 | + } | ||
| 2149 | + | ||
| 2150 | + $active.length && transition ? | ||
| 2151 | + $active | ||
| 2152 | + .one('bsTransitionEnd', next) | ||
| 2153 | + .emulateTransitionEnd(Tab.TRANSITION_DURATION) : | ||
| 2154 | + next() | ||
| 2155 | + | ||
| 2156 | + $active.removeClass('in') | ||
| 2157 | + } | ||
| 2158 | + | ||
| 2159 | + | ||
| 2160 | + // TAB PLUGIN DEFINITION | ||
| 2161 | + // ===================== | ||
| 2162 | + | ||
| 2163 | + function Plugin(option) { | ||
| 2164 | + return this.each(function () { | ||
| 2165 | + var $this = $(this) | ||
| 2166 | + var data = $this.data('bs.tab') | ||
| 2167 | + | ||
| 2168 | + if (!data) $this.data('bs.tab', (data = new Tab(this))) | ||
| 2169 | + if (typeof option == 'string') data[option]() | ||
| 2170 | + }) | ||
| 2171 | + } | ||
| 2172 | + | ||
| 2173 | + var old = $.fn.tab | ||
| 2174 | + | ||
| 2175 | + $.fn.tab = Plugin | ||
| 2176 | + $.fn.tab.Constructor = Tab | ||
| 2177 | + | ||
| 2178 | + | ||
| 2179 | + // TAB NO CONFLICT | ||
| 2180 | + // =============== | ||
| 2181 | + | ||
| 2182 | + $.fn.tab.noConflict = function () { | ||
| 2183 | + $.fn.tab = old | ||
| 2184 | + return this | ||
| 2185 | + } | ||
| 2186 | + | ||
| 2187 | + | ||
| 2188 | + // TAB DATA-API | ||
| 2189 | + // ============ | ||
| 2190 | + | ||
| 2191 | + var clickHandler = function (e) { | ||
| 2192 | + e.preventDefault() | ||
| 2193 | + Plugin.call($(this), 'show') | ||
| 2194 | + } | ||
| 2195 | + | ||
| 2196 | + $(document) | ||
| 2197 | + .on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler) | ||
| 2198 | + .on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler) | ||
| 2199 | + | ||
| 2200 | +}(jQuery); | ||
| 2201 | + | ||
| 2202 | +/* ======================================================================== | ||
| 2203 | + * Bootstrap: affix.js v3.3.5 | ||
| 2204 | + * http://getbootstrap.com/javascript/#affix | ||
| 2205 | + * ======================================================================== | ||
| 2206 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 2207 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
| 2208 | + * ======================================================================== */ | ||
| 2209 | + | ||
| 2210 | + | ||
| 2211 | ++function ($) { | ||
| 2212 | + 'use strict'; | ||
| 2213 | + | ||
| 2214 | + // AFFIX CLASS DEFINITION | ||
| 2215 | + // ====================== | ||
| 2216 | + | ||
| 2217 | + var Affix = function (element, options) { | ||
| 2218 | + this.options = $.extend({}, Affix.DEFAULTS, options) | ||
| 2219 | + | ||
| 2220 | + this.$target = $(this.options.target) | ||
| 2221 | + .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this)) | ||
| 2222 | + .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this)) | ||
| 2223 | + | ||
| 2224 | + this.$element = $(element) | ||
| 2225 | + this.affixed = null | ||
| 2226 | + this.unpin = null | ||
| 2227 | + this.pinnedOffset = null | ||
| 2228 | + | ||
| 2229 | + this.checkPosition() | ||
| 2230 | + } | ||
| 2231 | + | ||
| 2232 | + Affix.VERSION = '3.3.5' | ||
| 2233 | + | ||
| 2234 | + Affix.RESET = 'affix affix-top affix-bottom' | ||
| 2235 | + | ||
| 2236 | + Affix.DEFAULTS = { | ||
| 2237 | + offset: 0, | ||
| 2238 | + target: window | ||
| 2239 | + } | ||
| 2240 | + | ||
| 2241 | + Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) { | ||
| 2242 | + var scrollTop = this.$target.scrollTop() | ||
| 2243 | + var position = this.$element.offset() | ||
| 2244 | + var targetHeight = this.$target.height() | ||
| 2245 | + | ||
| 2246 | + if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false | ||
| 2247 | + | ||
| 2248 | + if (this.affixed == 'bottom') { | ||
| 2249 | + if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom' | ||
| 2250 | + return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom' | ||
| 2251 | + } | ||
| 2252 | + | ||
| 2253 | + var initializing = this.affixed == null | ||
| 2254 | + var colliderTop = initializing ? scrollTop : position.top | ||
| 2255 | + var colliderHeight = initializing ? targetHeight : height | ||
| 2256 | + | ||
| 2257 | + if (offsetTop != null && scrollTop <= offsetTop) return 'top' | ||
| 2258 | + if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom' | ||
| 2259 | + | ||
| 2260 | + return false | ||
| 2261 | + } | ||
| 2262 | + | ||
| 2263 | + Affix.prototype.getPinnedOffset = function () { | ||
| 2264 | + if (this.pinnedOffset) return this.pinnedOffset | ||
| 2265 | + this.$element.removeClass(Affix.RESET).addClass('affix') | ||
| 2266 | + var scrollTop = this.$target.scrollTop() | ||
| 2267 | + var position = this.$element.offset() | ||
| 2268 | + return (this.pinnedOffset = position.top - scrollTop) | ||
| 2269 | + } | ||
| 2270 | + | ||
| 2271 | + Affix.prototype.checkPositionWithEventLoop = function () { | ||
| 2272 | + setTimeout($.proxy(this.checkPosition, this), 1) | ||
| 2273 | + } | ||
| 2274 | + | ||
| 2275 | + Affix.prototype.checkPosition = function () { | ||
| 2276 | + if (!this.$element.is(':visible')) return | ||
| 2277 | + | ||
| 2278 | + var height = this.$element.height() | ||
| 2279 | + var offset = this.options.offset | ||
| 2280 | + var offsetTop = offset.top | ||
| 2281 | + var offsetBottom = offset.bottom | ||
| 2282 | + var scrollHeight = Math.max($(document).height(), $(document.body).height()) | ||
| 2283 | + | ||
| 2284 | + if (typeof offset != 'object') offsetBottom = offsetTop = offset | ||
| 2285 | + if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element) | ||
| 2286 | + if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element) | ||
| 2287 | + | ||
| 2288 | + var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom) | ||
| 2289 | + | ||
| 2290 | + if (this.affixed != affix) { | ||
| 2291 | + if (this.unpin != null) this.$element.css('top', '') | ||
| 2292 | + | ||
| 2293 | + var affixType = 'affix' + (affix ? '-' + affix : '') | ||
| 2294 | + var e = $.Event(affixType + '.bs.affix') | ||
| 2295 | + | ||
| 2296 | + this.$element.trigger(e) | ||
| 2297 | + | ||
| 2298 | + if (e.isDefaultPrevented()) return | ||
| 2299 | + | ||
| 2300 | + this.affixed = affix | ||
| 2301 | + this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null | ||
| 2302 | + | ||
| 2303 | + this.$element | ||
| 2304 | + .removeClass(Affix.RESET) | ||
| 2305 | + .addClass(affixType) | ||
| 2306 | + .trigger(affixType.replace('affix', 'affixed') + '.bs.affix') | ||
| 2307 | + } | ||
| 2308 | + | ||
| 2309 | + if (affix == 'bottom') { | ||
| 2310 | + this.$element.offset({ | ||
| 2311 | + top: scrollHeight - height - offsetBottom | ||
| 2312 | + }) | ||
| 2313 | + } | ||
| 2314 | + } | ||
| 2315 | + | ||
| 2316 | + | ||
| 2317 | + // AFFIX PLUGIN DEFINITION | ||
| 2318 | + // ======================= | ||
| 2319 | + | ||
| 2320 | + function Plugin(option) { | ||
| 2321 | + return this.each(function () { | ||
| 2322 | + var $this = $(this) | ||
| 2323 | + var data = $this.data('bs.affix') | ||
| 2324 | + var options = typeof option == 'object' && option | ||
| 2325 | + | ||
| 2326 | + if (!data) $this.data('bs.affix', (data = new Affix(this, options))) | ||
| 2327 | + if (typeof option == 'string') data[option]() | ||
| 2328 | + }) | ||
| 2329 | + } | ||
| 2330 | + | ||
| 2331 | + var old = $.fn.affix | ||
| 2332 | + | ||
| 2333 | + $.fn.affix = Plugin | ||
| 2334 | + $.fn.affix.Constructor = Affix | ||
| 2335 | + | ||
| 2336 | + | ||
| 2337 | + // AFFIX NO CONFLICT | ||
| 2338 | + // ================= | ||
| 2339 | + | ||
| 2340 | + $.fn.affix.noConflict = function () { | ||
| 2341 | + $.fn.affix = old | ||
| 2342 | + return this | ||
| 2343 | + } | ||
| 2344 | + | ||
| 2345 | + | ||
| 2346 | + // AFFIX DATA-API | ||
| 2347 | + // ============== | ||
| 2348 | + | ||
| 2349 | + $(window).on('load', function () { | ||
| 2350 | + $('[data-spy="affix"]').each(function () { | ||
| 2351 | + var $spy = $(this) | ||
| 2352 | + var data = $spy.data() | ||
| 2353 | + | ||
| 2354 | + data.offset = data.offset || {} | ||
| 2355 | + | ||
| 2356 | + if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom | ||
| 2357 | + if (data.offsetTop != null) data.offset.top = data.offsetTop | ||
| 2358 | + | ||
| 2359 | + Plugin.call($spy, data) | ||
| 2360 | + }) | ||
| 2361 | + }) | ||
| 2362 | + | ||
| 2363 | +}(jQuery); |
lib/bootstrap/3.3.5/js/bootstrap.min.js
0 → 100755
| 1 | +/*! | ||
| 2 | + * Bootstrap v3.3.5 (http://getbootstrap.com) | ||
| 3 | + * Copyright 2011-2015 Twitter, Inc. | ||
| 4 | + * Licensed under the MIT license | ||
| 5 | + */ | ||
| 6 | +if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.5",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")), | ||
| 7 | +d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
lib/bootstrap/3.3.5/js/npm.js
0 → 100755
| 1 | +// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. | ||
| 2 | +require('../../js/transition.js') | ||
| 3 | +require('../../js/alert.js') | ||
| 4 | +require('../../js/button.js') | ||
| 5 | +require('../../js/carousel.js') | ||
| 6 | +require('../../js/collapse.js') | ||
| 7 | +require('../../js/dropdown.js') | ||
| 8 | +require('../../js/modal.js') | ||
| 9 | +require('../../js/tooltip.js') | ||
| 10 | +require('../../js/popover.js') | ||
| 11 | +require('../../js/scrollspy.js') | ||
| 12 | +require('../../js/tab.js') | ||
| 13 | +require('../../js/affix.js') | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
lib/font-awesome/4.3.0/css/font-awesome.css
0 → 100644
| 1 | +/*! | ||
| 2 | + * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome | ||
| 3 | + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) | ||
| 4 | + */ | ||
| 5 | +/* FONT PATH | ||
| 6 | + * -------------------------- */ | ||
| 7 | +@font-face { | ||
| 8 | + font-family: 'FontAwesome'; | ||
| 9 | + src: url('../fonts/fontawesome-webfont.eot?v=4.3.0'); | ||
| 10 | + src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg'); | ||
| 11 | + font-weight: normal; | ||
| 12 | + font-style: normal; | ||
| 13 | +} | ||
| 14 | +.fa { | ||
| 15 | + display: inline-block; | ||
| 16 | + font: normal normal normal 14px/1 FontAwesome; | ||
| 17 | + font-size: inherit; | ||
| 18 | + text-rendering: auto; | ||
| 19 | + -webkit-font-smoothing: antialiased; | ||
| 20 | + -moz-osx-font-smoothing: grayscale; | ||
| 21 | + transform: translate(0, 0); | ||
| 22 | +} | ||
| 23 | +/* makes the font 33% larger relative to the icon container */ | ||
| 24 | +.fa-lg { | ||
| 25 | + font-size: 1.33333333em; | ||
| 26 | + line-height: 0.75em; | ||
| 27 | + vertical-align: -15%; | ||
| 28 | +} | ||
| 29 | +.fa-2x { | ||
| 30 | + font-size: 2em; | ||
| 31 | +} | ||
| 32 | +.fa-3x { | ||
| 33 | + font-size: 3em; | ||
| 34 | +} | ||
| 35 | +.fa-4x { | ||
| 36 | + font-size: 4em; | ||
| 37 | +} | ||
| 38 | +.fa-5x { | ||
| 39 | + font-size: 5em; | ||
| 40 | +} | ||
| 41 | +.fa-fw { | ||
| 42 | + width: 1.28571429em; | ||
| 43 | + text-align: center; | ||
| 44 | +} | ||
| 45 | +.fa-ul { | ||
| 46 | + padding-left: 0; | ||
| 47 | + margin-left: 2.14285714em; | ||
| 48 | + list-style-type: none; | ||
| 49 | +} | ||
| 50 | +.fa-ul > li { | ||
| 51 | + position: relative; | ||
| 52 | +} | ||
| 53 | +.fa-li { | ||
| 54 | + position: absolute; | ||
| 55 | + left: -2.14285714em; | ||
| 56 | + width: 2.14285714em; | ||
| 57 | + top: 0.14285714em; | ||
| 58 | + text-align: center; | ||
| 59 | +} | ||
| 60 | +.fa-li.fa-lg { | ||
| 61 | + left: -1.85714286em; | ||
| 62 | +} | ||
| 63 | +.fa-border { | ||
| 64 | + padding: .2em .25em .15em; | ||
| 65 | + border: solid 0.08em #eeeeee; | ||
| 66 | + border-radius: .1em; | ||
| 67 | +} | ||
| 68 | +.pull-right { | ||
| 69 | + float: right; | ||
| 70 | +} | ||
| 71 | +.pull-left { | ||
| 72 | + float: left; | ||
| 73 | +} | ||
| 74 | +.fa.pull-left { | ||
| 75 | + margin-right: .3em; | ||
| 76 | +} | ||
| 77 | +.fa.pull-right { | ||
| 78 | + margin-left: .3em; | ||
| 79 | +} | ||
| 80 | +.fa-spin { | ||
| 81 | + -webkit-animation: fa-spin 2s infinite linear; | ||
| 82 | + animation: fa-spin 2s infinite linear; | ||
| 83 | +} | ||
| 84 | +.fa-pulse { | ||
| 85 | + -webkit-animation: fa-spin 1s infinite steps(8); | ||
| 86 | + animation: fa-spin 1s infinite steps(8); | ||
| 87 | +} | ||
| 88 | +@-webkit-keyframes fa-spin { | ||
| 89 | + 0% { | ||
| 90 | + -webkit-transform: rotate(0deg); | ||
| 91 | + transform: rotate(0deg); | ||
| 92 | + } | ||
| 93 | + 100% { | ||
| 94 | + -webkit-transform: rotate(359deg); | ||
| 95 | + transform: rotate(359deg); | ||
| 96 | + } | ||
| 97 | +} | ||
| 98 | +@keyframes fa-spin { | ||
| 99 | + 0% { | ||
| 100 | + -webkit-transform: rotate(0deg); | ||
| 101 | + transform: rotate(0deg); | ||
| 102 | + } | ||
| 103 | + 100% { | ||
| 104 | + -webkit-transform: rotate(359deg); | ||
| 105 | + transform: rotate(359deg); | ||
| 106 | + } | ||
| 107 | +} | ||
| 108 | +.fa-rotate-90 { | ||
| 109 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); | ||
| 110 | + -webkit-transform: rotate(90deg); | ||
| 111 | + -ms-transform: rotate(90deg); | ||
| 112 | + transform: rotate(90deg); | ||
| 113 | +} | ||
| 114 | +.fa-rotate-180 { | ||
| 115 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); | ||
| 116 | + -webkit-transform: rotate(180deg); | ||
| 117 | + -ms-transform: rotate(180deg); | ||
| 118 | + transform: rotate(180deg); | ||
| 119 | +} | ||
| 120 | +.fa-rotate-270 { | ||
| 121 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); | ||
| 122 | + -webkit-transform: rotate(270deg); | ||
| 123 | + -ms-transform: rotate(270deg); | ||
| 124 | + transform: rotate(270deg); | ||
| 125 | +} | ||
| 126 | +.fa-flip-horizontal { | ||
| 127 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); | ||
| 128 | + -webkit-transform: scale(-1, 1); | ||
| 129 | + -ms-transform: scale(-1, 1); | ||
| 130 | + transform: scale(-1, 1); | ||
| 131 | +} | ||
| 132 | +.fa-flip-vertical { | ||
| 133 | + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); | ||
| 134 | + -webkit-transform: scale(1, -1); | ||
| 135 | + -ms-transform: scale(1, -1); | ||
| 136 | + transform: scale(1, -1); | ||
| 137 | +} | ||
| 138 | +:root .fa-rotate-90, | ||
| 139 | +:root .fa-rotate-180, | ||
| 140 | +:root .fa-rotate-270, | ||
| 141 | +:root .fa-flip-horizontal, | ||
| 142 | +:root .fa-flip-vertical { | ||
| 143 | + filter: none; | ||
| 144 | +} | ||
| 145 | +.fa-stack { | ||
| 146 | + position: relative; | ||
| 147 | + display: inline-block; | ||
| 148 | + width: 2em; | ||
| 149 | + height: 2em; | ||
| 150 | + line-height: 2em; | ||
| 151 | + vertical-align: middle; | ||
| 152 | +} | ||
| 153 | +.fa-stack-1x, | ||
| 154 | +.fa-stack-2x { | ||
| 155 | + position: absolute; | ||
| 156 | + left: 0; | ||
| 157 | + width: 100%; | ||
| 158 | + text-align: center; | ||
| 159 | +} | ||
| 160 | +.fa-stack-1x { | ||
| 161 | + line-height: inherit; | ||
| 162 | +} | ||
| 163 | +.fa-stack-2x { | ||
| 164 | + font-size: 2em; | ||
| 165 | +} | ||
| 166 | +.fa-inverse { | ||
| 167 | + color: #ffffff; | ||
| 168 | +} | ||
| 169 | +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen | ||
| 170 | + readers do not read off random characters that represent icons */ | ||
| 171 | +.fa-glass:before { | ||
| 172 | + content: "\f000"; | ||
| 173 | +} | ||
| 174 | +.fa-music:before { | ||
| 175 | + content: "\f001"; | ||
| 176 | +} | ||
| 177 | +.fa-search:before { | ||
| 178 | + content: "\f002"; | ||
| 179 | +} | ||
| 180 | +.fa-envelope-o:before { | ||
| 181 | + content: "\f003"; | ||
| 182 | +} | ||
| 183 | +.fa-heart:before { | ||
| 184 | + content: "\f004"; | ||
| 185 | +} | ||
| 186 | +.fa-star:before { | ||
| 187 | + content: "\f005"; | ||
| 188 | +} | ||
| 189 | +.fa-star-o:before { | ||
| 190 | + content: "\f006"; | ||
| 191 | +} | ||
| 192 | +.fa-user:before { | ||
| 193 | + content: "\f007"; | ||
| 194 | +} | ||
| 195 | +.fa-film:before { | ||
| 196 | + content: "\f008"; | ||
| 197 | +} | ||
| 198 | +.fa-th-large:before { | ||
| 199 | + content: "\f009"; | ||
| 200 | +} | ||
| 201 | +.fa-th:before { | ||
| 202 | + content: "\f00a"; | ||
| 203 | +} | ||
| 204 | +.fa-th-list:before { | ||
| 205 | + content: "\f00b"; | ||
| 206 | +} | ||
| 207 | +.fa-check:before { | ||
| 208 | + content: "\f00c"; | ||
| 209 | +} | ||
| 210 | +.fa-remove:before, | ||
| 211 | +.fa-close:before, | ||
| 212 | +.fa-times:before { | ||
| 213 | + content: "\f00d"; | ||
| 214 | +} | ||
| 215 | +.fa-search-plus:before { | ||
| 216 | + content: "\f00e"; | ||
| 217 | +} | ||
| 218 | +.fa-search-minus:before { | ||
| 219 | + content: "\f010"; | ||
| 220 | +} | ||
| 221 | +.fa-power-off:before { | ||
| 222 | + content: "\f011"; | ||
| 223 | +} | ||
| 224 | +.fa-signal:before { | ||
| 225 | + content: "\f012"; | ||
| 226 | +} | ||
| 227 | +.fa-gear:before, | ||
| 228 | +.fa-cog:before { | ||
| 229 | + content: "\f013"; | ||
| 230 | +} | ||
| 231 | +.fa-trash-o:before { | ||
| 232 | + content: "\f014"; | ||
| 233 | +} | ||
| 234 | +.fa-home:before { | ||
| 235 | + content: "\f015"; | ||
| 236 | +} | ||
| 237 | +.fa-file-o:before { | ||
| 238 | + content: "\f016"; | ||
| 239 | +} | ||
| 240 | +.fa-clock-o:before { | ||
| 241 | + content: "\f017"; | ||
| 242 | +} | ||
| 243 | +.fa-road:before { | ||
| 244 | + content: "\f018"; | ||
| 245 | +} | ||
| 246 | +.fa-download:before { | ||
| 247 | + content: "\f019"; | ||
| 248 | +} | ||
| 249 | +.fa-arrow-circle-o-down:before { | ||
| 250 | + content: "\f01a"; | ||
| 251 | +} | ||
| 252 | +.fa-arrow-circle-o-up:before { | ||
| 253 | + content: "\f01b"; | ||
| 254 | +} | ||
| 255 | +.fa-inbox:before { | ||
| 256 | + content: "\f01c"; | ||
| 257 | +} | ||
| 258 | +.fa-play-circle-o:before { | ||
| 259 | + content: "\f01d"; | ||
| 260 | +} | ||
| 261 | +.fa-rotate-right:before, | ||
| 262 | +.fa-repeat:before { | ||
| 263 | + content: "\f01e"; | ||
| 264 | +} | ||
| 265 | +.fa-refresh:before { | ||
| 266 | + content: "\f021"; | ||
| 267 | +} | ||
| 268 | +.fa-list-alt:before { | ||
| 269 | + content: "\f022"; | ||
| 270 | +} | ||
| 271 | +.fa-lock:before { | ||
| 272 | + content: "\f023"; | ||
| 273 | +} | ||
| 274 | +.fa-flag:before { | ||
| 275 | + content: "\f024"; | ||
| 276 | +} | ||
| 277 | +.fa-headphones:before { | ||
| 278 | + content: "\f025"; | ||
| 279 | +} | ||
| 280 | +.fa-volume-off:before { | ||
| 281 | + content: "\f026"; | ||
| 282 | +} | ||
| 283 | +.fa-volume-down:before { | ||
| 284 | + content: "\f027"; | ||
| 285 | +} | ||
| 286 | +.fa-volume-up:before { | ||
| 287 | + content: "\f028"; | ||
| 288 | +} | ||
| 289 | +.fa-qrcode:before { | ||
| 290 | + content: "\f029"; | ||
| 291 | +} | ||
| 292 | +.fa-barcode:before { | ||
| 293 | + content: "\f02a"; | ||
| 294 | +} | ||
| 295 | +.fa-tag:before { | ||
| 296 | + content: "\f02b"; | ||
| 297 | +} | ||
| 298 | +.fa-tags:before { | ||
| 299 | + content: "\f02c"; | ||
| 300 | +} | ||
| 301 | +.fa-book:before { | ||
| 302 | + content: "\f02d"; | ||
| 303 | +} | ||
| 304 | +.fa-bookmark:before { | ||
| 305 | + content: "\f02e"; | ||
| 306 | +} | ||
| 307 | +.fa-print:before { | ||
| 308 | + content: "\f02f"; | ||
| 309 | +} | ||
| 310 | +.fa-camera:before { | ||
| 311 | + content: "\f030"; | ||
| 312 | +} | ||
| 313 | +.fa-font:before { | ||
| 314 | + content: "\f031"; | ||
| 315 | +} | ||
| 316 | +.fa-bold:before { | ||
| 317 | + content: "\f032"; | ||
| 318 | +} | ||
| 319 | +.fa-italic:before { | ||
| 320 | + content: "\f033"; | ||
| 321 | +} | ||
| 322 | +.fa-text-height:before { | ||
| 323 | + content: "\f034"; | ||
| 324 | +} | ||
| 325 | +.fa-text-width:before { | ||
| 326 | + content: "\f035"; | ||
| 327 | +} | ||
| 328 | +.fa-align-left:before { | ||
| 329 | + content: "\f036"; | ||
| 330 | +} | ||
| 331 | +.fa-align-center:before { | ||
| 332 | + content: "\f037"; | ||
| 333 | +} | ||
| 334 | +.fa-align-right:before { | ||
| 335 | + content: "\f038"; | ||
| 336 | +} | ||
| 337 | +.fa-align-justify:before { | ||
| 338 | + content: "\f039"; | ||
| 339 | +} | ||
| 340 | +.fa-list:before { | ||
| 341 | + content: "\f03a"; | ||
| 342 | +} | ||
| 343 | +.fa-dedent:before, | ||
| 344 | +.fa-outdent:before { | ||
| 345 | + content: "\f03b"; | ||
| 346 | +} | ||
| 347 | +.fa-indent:before { | ||
| 348 | + content: "\f03c"; | ||
| 349 | +} | ||
| 350 | +.fa-video-camera:before { | ||
| 351 | + content: "\f03d"; | ||
| 352 | +} | ||
| 353 | +.fa-photo:before, | ||
| 354 | +.fa-image:before, | ||
| 355 | +.fa-picture-o:before { | ||
| 356 | + content: "\f03e"; | ||
| 357 | +} | ||
| 358 | +.fa-pencil:before { | ||
| 359 | + content: "\f040"; | ||
| 360 | +} | ||
| 361 | +.fa-map-marker:before { | ||
| 362 | + content: "\f041"; | ||
| 363 | +} | ||
| 364 | +.fa-adjust:before { | ||
| 365 | + content: "\f042"; | ||
| 366 | +} | ||
| 367 | +.fa-tint:before { | ||
| 368 | + content: "\f043"; | ||
| 369 | +} | ||
| 370 | +.fa-edit:before, | ||
| 371 | +.fa-pencil-square-o:before { | ||
| 372 | + content: "\f044"; | ||
| 373 | +} | ||
| 374 | +.fa-share-square-o:before { | ||
| 375 | + content: "\f045"; | ||
| 376 | +} | ||
| 377 | +.fa-check-square-o:before { | ||
| 378 | + content: "\f046"; | ||
| 379 | +} | ||
| 380 | +.fa-arrows:before { | ||
| 381 | + content: "\f047"; | ||
| 382 | +} | ||
| 383 | +.fa-step-backward:before { | ||
| 384 | + content: "\f048"; | ||
| 385 | +} | ||
| 386 | +.fa-fast-backward:before { | ||
| 387 | + content: "\f049"; | ||
| 388 | +} | ||
| 389 | +.fa-backward:before { | ||
| 390 | + content: "\f04a"; | ||
| 391 | +} | ||
| 392 | +.fa-play:before { | ||
| 393 | + content: "\f04b"; | ||
| 394 | +} | ||
| 395 | +.fa-pause:before { | ||
| 396 | + content: "\f04c"; | ||
| 397 | +} | ||
| 398 | +.fa-stop:before { | ||
| 399 | + content: "\f04d"; | ||
| 400 | +} | ||
| 401 | +.fa-forward:before { | ||
| 402 | + content: "\f04e"; | ||
| 403 | +} | ||
| 404 | +.fa-fast-forward:before { | ||
| 405 | + content: "\f050"; | ||
| 406 | +} | ||
| 407 | +.fa-step-forward:before { | ||
| 408 | + content: "\f051"; | ||
| 409 | +} | ||
| 410 | +.fa-eject:before { | ||
| 411 | + content: "\f052"; | ||
| 412 | +} | ||
| 413 | +.fa-chevron-left:before { | ||
| 414 | + content: "\f053"; | ||
| 415 | +} | ||
| 416 | +.fa-chevron-right:before { | ||
| 417 | + content: "\f054"; | ||
| 418 | +} | ||
| 419 | +.fa-plus-circle:before { | ||
| 420 | + content: "\f055"; | ||
| 421 | +} | ||
| 422 | +.fa-minus-circle:before { | ||
| 423 | + content: "\f056"; | ||
| 424 | +} | ||
| 425 | +.fa-times-circle:before { | ||
| 426 | + content: "\f057"; | ||
| 427 | +} | ||
| 428 | +.fa-check-circle:before { | ||
| 429 | + content: "\f058"; | ||
| 430 | +} | ||
| 431 | +.fa-question-circle:before { | ||
| 432 | + content: "\f059"; | ||
| 433 | +} | ||
| 434 | +.fa-info-circle:before { | ||
| 435 | + content: "\f05a"; | ||
| 436 | +} | ||
| 437 | +.fa-crosshairs:before { | ||
| 438 | + content: "\f05b"; | ||
| 439 | +} | ||
| 440 | +.fa-times-circle-o:before { | ||
| 441 | + content: "\f05c"; | ||
| 442 | +} | ||
| 443 | +.fa-check-circle-o:before { | ||
| 444 | + content: "\f05d"; | ||
| 445 | +} | ||
| 446 | +.fa-ban:before { | ||
| 447 | + content: "\f05e"; | ||
| 448 | +} | ||
| 449 | +.fa-arrow-left:before { | ||
| 450 | + content: "\f060"; | ||
| 451 | +} | ||
| 452 | +.fa-arrow-right:before { | ||
| 453 | + content: "\f061"; | ||
| 454 | +} | ||
| 455 | +.fa-arrow-up:before { | ||
| 456 | + content: "\f062"; | ||
| 457 | +} | ||
| 458 | +.fa-arrow-down:before { | ||
| 459 | + content: "\f063"; | ||
| 460 | +} | ||
| 461 | +.fa-mail-forward:before, | ||
| 462 | +.fa-share:before { | ||
| 463 | + content: "\f064"; | ||
| 464 | +} | ||
| 465 | +.fa-expand:before { | ||
| 466 | + content: "\f065"; | ||
| 467 | +} | ||
| 468 | +.fa-compress:before { | ||
| 469 | + content: "\f066"; | ||
| 470 | +} | ||
| 471 | +.fa-plus:before { | ||
| 472 | + content: "\f067"; | ||
| 473 | +} | ||
| 474 | +.fa-minus:before { | ||
| 475 | + content: "\f068"; | ||
| 476 | +} | ||
| 477 | +.fa-asterisk:before { | ||
| 478 | + content: "\f069"; | ||
| 479 | +} | ||
| 480 | +.fa-exclamation-circle:before { | ||
| 481 | + content: "\f06a"; | ||
| 482 | +} | ||
| 483 | +.fa-gift:before { | ||
| 484 | + content: "\f06b"; | ||
| 485 | +} | ||
| 486 | +.fa-leaf:before { | ||
| 487 | + content: "\f06c"; | ||
| 488 | +} | ||
| 489 | +.fa-fire:before { | ||
| 490 | + content: "\f06d"; | ||
| 491 | +} | ||
| 492 | +.fa-eye:before { | ||
| 493 | + content: "\f06e"; | ||
| 494 | +} | ||
| 495 | +.fa-eye-slash:before { | ||
| 496 | + content: "\f070"; | ||
| 497 | +} | ||
| 498 | +.fa-warning:before, | ||
| 499 | +.fa-exclamation-triangle:before { | ||
| 500 | + content: "\f071"; | ||
| 501 | +} | ||
| 502 | +.fa-plane:before { | ||
| 503 | + content: "\f072"; | ||
| 504 | +} | ||
| 505 | +.fa-calendar:before { | ||
| 506 | + content: "\f073"; | ||
| 507 | +} | ||
| 508 | +.fa-random:before { | ||
| 509 | + content: "\f074"; | ||
| 510 | +} | ||
| 511 | +.fa-comment:before { | ||
| 512 | + content: "\f075"; | ||
| 513 | +} | ||
| 514 | +.fa-magnet:before { | ||
| 515 | + content: "\f076"; | ||
| 516 | +} | ||
| 517 | +.fa-chevron-up:before { | ||
| 518 | + content: "\f077"; | ||
| 519 | +} | ||
| 520 | +.fa-chevron-down:before { | ||
| 521 | + content: "\f078"; | ||
| 522 | +} | ||
| 523 | +.fa-retweet:before { | ||
| 524 | + content: "\f079"; | ||
| 525 | +} | ||
| 526 | +.fa-shopping-cart:before { | ||
| 527 | + content: "\f07a"; | ||
| 528 | +} | ||
| 529 | +.fa-folder:before { | ||
| 530 | + content: "\f07b"; | ||
| 531 | +} | ||
| 532 | +.fa-folder-open:before { | ||
| 533 | + content: "\f07c"; | ||
| 534 | +} | ||
| 535 | +.fa-arrows-v:before { | ||
| 536 | + content: "\f07d"; | ||
| 537 | +} | ||
| 538 | +.fa-arrows-h:before { | ||
| 539 | + content: "\f07e"; | ||
| 540 | +} | ||
| 541 | +.fa-bar-chart-o:before, | ||
| 542 | +.fa-bar-chart:before { | ||
| 543 | + content: "\f080"; | ||
| 544 | +} | ||
| 545 | +.fa-twitter-square:before { | ||
| 546 | + content: "\f081"; | ||
| 547 | +} | ||
| 548 | +.fa-facebook-square:before { | ||
| 549 | + content: "\f082"; | ||
| 550 | +} | ||
| 551 | +.fa-camera-retro:before { | ||
| 552 | + content: "\f083"; | ||
| 553 | +} | ||
| 554 | +.fa-key:before { | ||
| 555 | + content: "\f084"; | ||
| 556 | +} | ||
| 557 | +.fa-gears:before, | ||
| 558 | +.fa-cogs:before { | ||
| 559 | + content: "\f085"; | ||
| 560 | +} | ||
| 561 | +.fa-comments:before { | ||
| 562 | + content: "\f086"; | ||
| 563 | +} | ||
| 564 | +.fa-thumbs-o-up:before { | ||
| 565 | + content: "\f087"; | ||
| 566 | +} | ||
| 567 | +.fa-thumbs-o-down:before { | ||
| 568 | + content: "\f088"; | ||
| 569 | +} | ||
| 570 | +.fa-star-half:before { | ||
| 571 | + content: "\f089"; | ||
| 572 | +} | ||
| 573 | +.fa-heart-o:before { | ||
| 574 | + content: "\f08a"; | ||
| 575 | +} | ||
| 576 | +.fa-sign-out:before { | ||
| 577 | + content: "\f08b"; | ||
| 578 | +} | ||
| 579 | +.fa-linkedin-square:before { | ||
| 580 | + content: "\f08c"; | ||
| 581 | +} | ||
| 582 | +.fa-thumb-tack:before { | ||
| 583 | + content: "\f08d"; | ||
| 584 | +} | ||
| 585 | +.fa-external-link:before { | ||
| 586 | + content: "\f08e"; | ||
| 587 | +} | ||
| 588 | +.fa-sign-in:before { | ||
| 589 | + content: "\f090"; | ||
| 590 | +} | ||
| 591 | +.fa-trophy:before { | ||
| 592 | + content: "\f091"; | ||
| 593 | +} | ||
| 594 | +.fa-github-square:before { | ||
| 595 | + content: "\f092"; | ||
| 596 | +} | ||
| 597 | +.fa-upload:before { | ||
| 598 | + content: "\f093"; | ||
| 599 | +} | ||
| 600 | +.fa-lemon-o:before { | ||
| 601 | + content: "\f094"; | ||
| 602 | +} | ||
| 603 | +.fa-phone:before { | ||
| 604 | + content: "\f095"; | ||
| 605 | +} | ||
| 606 | +.fa-square-o:before { | ||
| 607 | + content: "\f096"; | ||
| 608 | +} | ||
| 609 | +.fa-bookmark-o:before { | ||
| 610 | + content: "\f097"; | ||
| 611 | +} | ||
| 612 | +.fa-phone-square:before { | ||
| 613 | + content: "\f098"; | ||
| 614 | +} | ||
| 615 | +.fa-twitter:before { | ||
| 616 | + content: "\f099"; | ||
| 617 | +} | ||
| 618 | +.fa-facebook-f:before, | ||
| 619 | +.fa-facebook:before { | ||
| 620 | + content: "\f09a"; | ||
| 621 | +} | ||
| 622 | +.fa-github:before { | ||
| 623 | + content: "\f09b"; | ||
| 624 | +} | ||
| 625 | +.fa-unlock:before { | ||
| 626 | + content: "\f09c"; | ||
| 627 | +} | ||
| 628 | +.fa-credit-card:before { | ||
| 629 | + content: "\f09d"; | ||
| 630 | +} | ||
| 631 | +.fa-rss:before { | ||
| 632 | + content: "\f09e"; | ||
| 633 | +} | ||
| 634 | +.fa-hdd-o:before { | ||
| 635 | + content: "\f0a0"; | ||
| 636 | +} | ||
| 637 | +.fa-bullhorn:before { | ||
| 638 | + content: "\f0a1"; | ||
| 639 | +} | ||
| 640 | +.fa-bell:before { | ||
| 641 | + content: "\f0f3"; | ||
| 642 | +} | ||
| 643 | +.fa-certificate:before { | ||
| 644 | + content: "\f0a3"; | ||
| 645 | +} | ||
| 646 | +.fa-hand-o-right:before { | ||
| 647 | + content: "\f0a4"; | ||
| 648 | +} | ||
| 649 | +.fa-hand-o-left:before { | ||
| 650 | + content: "\f0a5"; | ||
| 651 | +} | ||
| 652 | +.fa-hand-o-up:before { | ||
| 653 | + content: "\f0a6"; | ||
| 654 | +} | ||
| 655 | +.fa-hand-o-down:before { | ||
| 656 | + content: "\f0a7"; | ||
| 657 | +} | ||
| 658 | +.fa-arrow-circle-left:before { | ||
| 659 | + content: "\f0a8"; | ||
| 660 | +} | ||
| 661 | +.fa-arrow-circle-right:before { | ||
| 662 | + content: "\f0a9"; | ||
| 663 | +} | ||
| 664 | +.fa-arrow-circle-up:before { | ||
| 665 | + content: "\f0aa"; | ||
| 666 | +} | ||
| 667 | +.fa-arrow-circle-down:before { | ||
| 668 | + content: "\f0ab"; | ||
| 669 | +} | ||
| 670 | +.fa-globe:before { | ||
| 671 | + content: "\f0ac"; | ||
| 672 | +} | ||
| 673 | +.fa-wrench:before { | ||
| 674 | + content: "\f0ad"; | ||
| 675 | +} | ||
| 676 | +.fa-tasks:before { | ||
| 677 | + content: "\f0ae"; | ||
| 678 | +} | ||
| 679 | +.fa-filter:before { | ||
| 680 | + content: "\f0b0"; | ||
| 681 | +} | ||
| 682 | +.fa-briefcase:before { | ||
| 683 | + content: "\f0b1"; | ||
| 684 | +} | ||
| 685 | +.fa-arrows-alt:before { | ||
| 686 | + content: "\f0b2"; | ||
| 687 | +} | ||
| 688 | +.fa-group:before, | ||
| 689 | +.fa-users:before { | ||
| 690 | + content: "\f0c0"; | ||
| 691 | +} | ||
| 692 | +.fa-chain:before, | ||
| 693 | +.fa-link:before { | ||
| 694 | + content: "\f0c1"; | ||
| 695 | +} | ||
| 696 | +.fa-cloud:before { | ||
| 697 | + content: "\f0c2"; | ||
| 698 | +} | ||
| 699 | +.fa-flask:before { | ||
| 700 | + content: "\f0c3"; | ||
| 701 | +} | ||
| 702 | +.fa-cut:before, | ||
| 703 | +.fa-scissors:before { | ||
| 704 | + content: "\f0c4"; | ||
| 705 | +} | ||
| 706 | +.fa-copy:before, | ||
| 707 | +.fa-files-o:before { | ||
| 708 | + content: "\f0c5"; | ||
| 709 | +} | ||
| 710 | +.fa-paperclip:before { | ||
| 711 | + content: "\f0c6"; | ||
| 712 | +} | ||
| 713 | +.fa-save:before, | ||
| 714 | +.fa-floppy-o:before { | ||
| 715 | + content: "\f0c7"; | ||
| 716 | +} | ||
| 717 | +.fa-square:before { | ||
| 718 | + content: "\f0c8"; | ||
| 719 | +} | ||
| 720 | +.fa-navicon:before, | ||
| 721 | +.fa-reorder:before, | ||
| 722 | +.fa-bars:before { | ||
| 723 | + content: "\f0c9"; | ||
| 724 | +} | ||
| 725 | +.fa-list-ul:before { | ||
| 726 | + content: "\f0ca"; | ||
| 727 | +} | ||
| 728 | +.fa-list-ol:before { | ||
| 729 | + content: "\f0cb"; | ||
| 730 | +} | ||
| 731 | +.fa-strikethrough:before { | ||
| 732 | + content: "\f0cc"; | ||
| 733 | +} | ||
| 734 | +.fa-underline:before { | ||
| 735 | + content: "\f0cd"; | ||
| 736 | +} | ||
| 737 | +.fa-table:before { | ||
| 738 | + content: "\f0ce"; | ||
| 739 | +} | ||
| 740 | +.fa-magic:before { | ||
| 741 | + content: "\f0d0"; | ||
| 742 | +} | ||
| 743 | +.fa-truck:before { | ||
| 744 | + content: "\f0d1"; | ||
| 745 | +} | ||
| 746 | +.fa-pinterest:before { | ||
| 747 | + content: "\f0d2"; | ||
| 748 | +} | ||
| 749 | +.fa-pinterest-square:before { | ||
| 750 | + content: "\f0d3"; | ||
| 751 | +} | ||
| 752 | +.fa-google-plus-square:before { | ||
| 753 | + content: "\f0d4"; | ||
| 754 | +} | ||
| 755 | +.fa-google-plus:before { | ||
| 756 | + content: "\f0d5"; | ||
| 757 | +} | ||
| 758 | +.fa-money:before { | ||
| 759 | + content: "\f0d6"; | ||
| 760 | +} | ||
| 761 | +.fa-caret-down:before { | ||
| 762 | + content: "\f0d7"; | ||
| 763 | +} | ||
| 764 | +.fa-caret-up:before { | ||
| 765 | + content: "\f0d8"; | ||
| 766 | +} | ||
| 767 | +.fa-caret-left:before { | ||
| 768 | + content: "\f0d9"; | ||
| 769 | +} | ||
| 770 | +.fa-caret-right:before { | ||
| 771 | + content: "\f0da"; | ||
| 772 | +} | ||
| 773 | +.fa-columns:before { | ||
| 774 | + content: "\f0db"; | ||
| 775 | +} | ||
| 776 | +.fa-unsorted:before, | ||
| 777 | +.fa-sort:before { | ||
| 778 | + content: "\f0dc"; | ||
| 779 | +} | ||
| 780 | +.fa-sort-down:before, | ||
| 781 | +.fa-sort-desc:before { | ||
| 782 | + content: "\f0dd"; | ||
| 783 | +} | ||
| 784 | +.fa-sort-up:before, | ||
| 785 | +.fa-sort-asc:before { | ||
| 786 | + content: "\f0de"; | ||
| 787 | +} | ||
| 788 | +.fa-envelope:before { | ||
| 789 | + content: "\f0e0"; | ||
| 790 | +} | ||
| 791 | +.fa-linkedin:before { | ||
| 792 | + content: "\f0e1"; | ||
| 793 | +} | ||
| 794 | +.fa-rotate-left:before, | ||
| 795 | +.fa-undo:before { | ||
| 796 | + content: "\f0e2"; | ||
| 797 | +} | ||
| 798 | +.fa-legal:before, | ||
| 799 | +.fa-gavel:before { | ||
| 800 | + content: "\f0e3"; | ||
| 801 | +} | ||
| 802 | +.fa-dashboard:before, | ||
| 803 | +.fa-tachometer:before { | ||
| 804 | + content: "\f0e4"; | ||
| 805 | +} | ||
| 806 | +.fa-comment-o:before { | ||
| 807 | + content: "\f0e5"; | ||
| 808 | +} | ||
| 809 | +.fa-comments-o:before { | ||
| 810 | + content: "\f0e6"; | ||
| 811 | +} | ||
| 812 | +.fa-flash:before, | ||
| 813 | +.fa-bolt:before { | ||
| 814 | + content: "\f0e7"; | ||
| 815 | +} | ||
| 816 | +.fa-sitemap:before { | ||
| 817 | + content: "\f0e8"; | ||
| 818 | +} | ||
| 819 | +.fa-umbrella:before { | ||
| 820 | + content: "\f0e9"; | ||
| 821 | +} | ||
| 822 | +.fa-paste:before, | ||
| 823 | +.fa-clipboard:before { | ||
| 824 | + content: "\f0ea"; | ||
| 825 | +} | ||
| 826 | +.fa-lightbulb-o:before { | ||
| 827 | + content: "\f0eb"; | ||
| 828 | +} | ||
| 829 | +.fa-exchange:before { | ||
| 830 | + content: "\f0ec"; | ||
| 831 | +} | ||
| 832 | +.fa-cloud-download:before { | ||
| 833 | + content: "\f0ed"; | ||
| 834 | +} | ||
| 835 | +.fa-cloud-upload:before { | ||
| 836 | + content: "\f0ee"; | ||
| 837 | +} | ||
| 838 | +.fa-user-md:before { | ||
| 839 | + content: "\f0f0"; | ||
| 840 | +} | ||
| 841 | +.fa-stethoscope:before { | ||
| 842 | + content: "\f0f1"; | ||
| 843 | +} | ||
| 844 | +.fa-suitcase:before { | ||
| 845 | + content: "\f0f2"; | ||
| 846 | +} | ||
| 847 | +.fa-bell-o:before { | ||
| 848 | + content: "\f0a2"; | ||
| 849 | +} | ||
| 850 | +.fa-coffee:before { | ||
| 851 | + content: "\f0f4"; | ||
| 852 | +} | ||
| 853 | +.fa-cutlery:before { | ||
| 854 | + content: "\f0f5"; | ||
| 855 | +} | ||
| 856 | +.fa-file-text-o:before { | ||
| 857 | + content: "\f0f6"; | ||
| 858 | +} | ||
| 859 | +.fa-building-o:before { | ||
| 860 | + content: "\f0f7"; | ||
| 861 | +} | ||
| 862 | +.fa-hospital-o:before { | ||
| 863 | + content: "\f0f8"; | ||
| 864 | +} | ||
| 865 | +.fa-ambulance:before { | ||
| 866 | + content: "\f0f9"; | ||
| 867 | +} | ||
| 868 | +.fa-medkit:before { | ||
| 869 | + content: "\f0fa"; | ||
| 870 | +} | ||
| 871 | +.fa-fighter-jet:before { | ||
| 872 | + content: "\f0fb"; | ||
| 873 | +} | ||
| 874 | +.fa-beer:before { | ||
| 875 | + content: "\f0fc"; | ||
| 876 | +} | ||
| 877 | +.fa-h-square:before { | ||
| 878 | + content: "\f0fd"; | ||
| 879 | +} | ||
| 880 | +.fa-plus-square:before { | ||
| 881 | + content: "\f0fe"; | ||
| 882 | +} | ||
| 883 | +.fa-angle-double-left:before { | ||
| 884 | + content: "\f100"; | ||
| 885 | +} | ||
| 886 | +.fa-angle-double-right:before { | ||
| 887 | + content: "\f101"; | ||
| 888 | +} | ||
| 889 | +.fa-angle-double-up:before { | ||
| 890 | + content: "\f102"; | ||
| 891 | +} | ||
| 892 | +.fa-angle-double-down:before { | ||
| 893 | + content: "\f103"; | ||
| 894 | +} | ||
| 895 | +.fa-angle-left:before { | ||
| 896 | + content: "\f104"; | ||
| 897 | +} | ||
| 898 | +.fa-angle-right:before { | ||
| 899 | + content: "\f105"; | ||
| 900 | +} | ||
| 901 | +.fa-angle-up:before { | ||
| 902 | + content: "\f106"; | ||
| 903 | +} | ||
| 904 | +.fa-angle-down:before { | ||
| 905 | + content: "\f107"; | ||
| 906 | +} | ||
| 907 | +.fa-desktop:before { | ||
| 908 | + content: "\f108"; | ||
| 909 | +} | ||
| 910 | +.fa-laptop:before { | ||
| 911 | + content: "\f109"; | ||
| 912 | +} | ||
| 913 | +.fa-tablet:before { | ||
| 914 | + content: "\f10a"; | ||
| 915 | +} | ||
| 916 | +.fa-mobile-phone:before, | ||
| 917 | +.fa-mobile:before { | ||
| 918 | + content: "\f10b"; | ||
| 919 | +} | ||
| 920 | +.fa-circle-o:before { | ||
| 921 | + content: "\f10c"; | ||
| 922 | +} | ||
| 923 | +.fa-quote-left:before { | ||
| 924 | + content: "\f10d"; | ||
| 925 | +} | ||
| 926 | +.fa-quote-right:before { | ||
| 927 | + content: "\f10e"; | ||
| 928 | +} | ||
| 929 | +.fa-spinner:before { | ||
| 930 | + content: "\f110"; | ||
| 931 | +} | ||
| 932 | +.fa-circle:before { | ||
| 933 | + content: "\f111"; | ||
| 934 | +} | ||
| 935 | +.fa-mail-reply:before, | ||
| 936 | +.fa-reply:before { | ||
| 937 | + content: "\f112"; | ||
| 938 | +} | ||
| 939 | +.fa-github-alt:before { | ||
| 940 | + content: "\f113"; | ||
| 941 | +} | ||
| 942 | +.fa-folder-o:before { | ||
| 943 | + content: "\f114"; | ||
| 944 | +} | ||
| 945 | +.fa-folder-open-o:before { | ||
| 946 | + content: "\f115"; | ||
| 947 | +} | ||
| 948 | +.fa-smile-o:before { | ||
| 949 | + content: "\f118"; | ||
| 950 | +} | ||
| 951 | +.fa-frown-o:before { | ||
| 952 | + content: "\f119"; | ||
| 953 | +} | ||
| 954 | +.fa-meh-o:before { | ||
| 955 | + content: "\f11a"; | ||
| 956 | +} | ||
| 957 | +.fa-gamepad:before { | ||
| 958 | + content: "\f11b"; | ||
| 959 | +} | ||
| 960 | +.fa-keyboard-o:before { | ||
| 961 | + content: "\f11c"; | ||
| 962 | +} | ||
| 963 | +.fa-flag-o:before { | ||
| 964 | + content: "\f11d"; | ||
| 965 | +} | ||
| 966 | +.fa-flag-checkered:before { | ||
| 967 | + content: "\f11e"; | ||
| 968 | +} | ||
| 969 | +.fa-terminal:before { | ||
| 970 | + content: "\f120"; | ||
| 971 | +} | ||
| 972 | +.fa-code:before { | ||
| 973 | + content: "\f121"; | ||
| 974 | +} | ||
| 975 | +.fa-mail-reply-all:before, | ||
| 976 | +.fa-reply-all:before { | ||
| 977 | + content: "\f122"; | ||
| 978 | +} | ||
| 979 | +.fa-star-half-empty:before, | ||
| 980 | +.fa-star-half-full:before, | ||
| 981 | +.fa-star-half-o:before { | ||
| 982 | + content: "\f123"; | ||
| 983 | +} | ||
| 984 | +.fa-location-arrow:before { | ||
| 985 | + content: "\f124"; | ||
| 986 | +} | ||
| 987 | +.fa-crop:before { | ||
| 988 | + content: "\f125"; | ||
| 989 | +} | ||
| 990 | +.fa-code-fork:before { | ||
| 991 | + content: "\f126"; | ||
| 992 | +} | ||
| 993 | +.fa-unlink:before, | ||
| 994 | +.fa-chain-broken:before { | ||
| 995 | + content: "\f127"; | ||
| 996 | +} | ||
| 997 | +.fa-question:before { | ||
| 998 | + content: "\f128"; | ||
| 999 | +} | ||
| 1000 | +.fa-info:before { | ||
| 1001 | + content: "\f129"; | ||
| 1002 | +} | ||
| 1003 | +.fa-exclamation:before { | ||
| 1004 | + content: "\f12a"; | ||
| 1005 | +} | ||
| 1006 | +.fa-superscript:before { | ||
| 1007 | + content: "\f12b"; | ||
| 1008 | +} | ||
| 1009 | +.fa-subscript:before { | ||
| 1010 | + content: "\f12c"; | ||
| 1011 | +} | ||
| 1012 | +.fa-eraser:before { | ||
| 1013 | + content: "\f12d"; | ||
| 1014 | +} | ||
| 1015 | +.fa-puzzle-piece:before { | ||
| 1016 | + content: "\f12e"; | ||
| 1017 | +} | ||
| 1018 | +.fa-microphone:before { | ||
| 1019 | + content: "\f130"; | ||
| 1020 | +} | ||
| 1021 | +.fa-microphone-slash:before { | ||
| 1022 | + content: "\f131"; | ||
| 1023 | +} | ||
| 1024 | +.fa-shield:before { | ||
| 1025 | + content: "\f132"; | ||
| 1026 | +} | ||
| 1027 | +.fa-calendar-o:before { | ||
| 1028 | + content: "\f133"; | ||
| 1029 | +} | ||
| 1030 | +.fa-fire-extinguisher:before { | ||
| 1031 | + content: "\f134"; | ||
| 1032 | +} | ||
| 1033 | +.fa-rocket:before { | ||
| 1034 | + content: "\f135"; | ||
| 1035 | +} | ||
| 1036 | +.fa-maxcdn:before { | ||
| 1037 | + content: "\f136"; | ||
| 1038 | +} | ||
| 1039 | +.fa-chevron-circle-left:before { | ||
| 1040 | + content: "\f137"; | ||
| 1041 | +} | ||
| 1042 | +.fa-chevron-circle-right:before { | ||
| 1043 | + content: "\f138"; | ||
| 1044 | +} | ||
| 1045 | +.fa-chevron-circle-up:before { | ||
| 1046 | + content: "\f139"; | ||
| 1047 | +} | ||
| 1048 | +.fa-chevron-circle-down:before { | ||
| 1049 | + content: "\f13a"; | ||
| 1050 | +} | ||
| 1051 | +.fa-html5:before { | ||
| 1052 | + content: "\f13b"; | ||
| 1053 | +} | ||
| 1054 | +.fa-css3:before { | ||
| 1055 | + content: "\f13c"; | ||
| 1056 | +} | ||
| 1057 | +.fa-anchor:before { | ||
| 1058 | + content: "\f13d"; | ||
| 1059 | +} | ||
| 1060 | +.fa-unlock-alt:before { | ||
| 1061 | + content: "\f13e"; | ||
| 1062 | +} | ||
| 1063 | +.fa-bullseye:before { | ||
| 1064 | + content: "\f140"; | ||
| 1065 | +} | ||
| 1066 | +.fa-ellipsis-h:before { | ||
| 1067 | + content: "\f141"; | ||
| 1068 | +} | ||
| 1069 | +.fa-ellipsis-v:before { | ||
| 1070 | + content: "\f142"; | ||
| 1071 | +} | ||
| 1072 | +.fa-rss-square:before { | ||
| 1073 | + content: "\f143"; | ||
| 1074 | +} | ||
| 1075 | +.fa-play-circle:before { | ||
| 1076 | + content: "\f144"; | ||
| 1077 | +} | ||
| 1078 | +.fa-ticket:before { | ||
| 1079 | + content: "\f145"; | ||
| 1080 | +} | ||
| 1081 | +.fa-minus-square:before { | ||
| 1082 | + content: "\f146"; | ||
| 1083 | +} | ||
| 1084 | +.fa-minus-square-o:before { | ||
| 1085 | + content: "\f147"; | ||
| 1086 | +} | ||
| 1087 | +.fa-level-up:before { | ||
| 1088 | + content: "\f148"; | ||
| 1089 | +} | ||
| 1090 | +.fa-level-down:before { | ||
| 1091 | + content: "\f149"; | ||
| 1092 | +} | ||
| 1093 | +.fa-check-square:before { | ||
| 1094 | + content: "\f14a"; | ||
| 1095 | +} | ||
| 1096 | +.fa-pencil-square:before { | ||
| 1097 | + content: "\f14b"; | ||
| 1098 | +} | ||
| 1099 | +.fa-external-link-square:before { | ||
| 1100 | + content: "\f14c"; | ||
| 1101 | +} | ||
| 1102 | +.fa-share-square:before { | ||
| 1103 | + content: "\f14d"; | ||
| 1104 | +} | ||
| 1105 | +.fa-compass:before { | ||
| 1106 | + content: "\f14e"; | ||
| 1107 | +} | ||
| 1108 | +.fa-toggle-down:before, | ||
| 1109 | +.fa-caret-square-o-down:before { | ||
| 1110 | + content: "\f150"; | ||
| 1111 | +} | ||
| 1112 | +.fa-toggle-up:before, | ||
| 1113 | +.fa-caret-square-o-up:before { | ||
| 1114 | + content: "\f151"; | ||
| 1115 | +} | ||
| 1116 | +.fa-toggle-right:before, | ||
| 1117 | +.fa-caret-square-o-right:before { | ||
| 1118 | + content: "\f152"; | ||
| 1119 | +} | ||
| 1120 | +.fa-euro:before, | ||
| 1121 | +.fa-eur:before { | ||
| 1122 | + content: "\f153"; | ||
| 1123 | +} | ||
| 1124 | +.fa-gbp:before { | ||
| 1125 | + content: "\f154"; | ||
| 1126 | +} | ||
| 1127 | +.fa-dollar:before, | ||
| 1128 | +.fa-usd:before { | ||
| 1129 | + content: "\f155"; | ||
| 1130 | +} | ||
| 1131 | +.fa-rupee:before, | ||
| 1132 | +.fa-inr:before { | ||
| 1133 | + content: "\f156"; | ||
| 1134 | +} | ||
| 1135 | +.fa-cny:before, | ||
| 1136 | +.fa-rmb:before, | ||
| 1137 | +.fa-yen:before, | ||
| 1138 | +.fa-jpy:before { | ||
| 1139 | + content: "\f157"; | ||
| 1140 | +} | ||
| 1141 | +.fa-ruble:before, | ||
| 1142 | +.fa-rouble:before, | ||
| 1143 | +.fa-rub:before { | ||
| 1144 | + content: "\f158"; | ||
| 1145 | +} | ||
| 1146 | +.fa-won:before, | ||
| 1147 | +.fa-krw:before { | ||
| 1148 | + content: "\f159"; | ||
| 1149 | +} | ||
| 1150 | +.fa-bitcoin:before, | ||
| 1151 | +.fa-btc:before { | ||
| 1152 | + content: "\f15a"; | ||
| 1153 | +} | ||
| 1154 | +.fa-file:before { | ||
| 1155 | + content: "\f15b"; | ||
| 1156 | +} | ||
| 1157 | +.fa-file-text:before { | ||
| 1158 | + content: "\f15c"; | ||
| 1159 | +} | ||
| 1160 | +.fa-sort-alpha-asc:before { | ||
| 1161 | + content: "\f15d"; | ||
| 1162 | +} | ||
| 1163 | +.fa-sort-alpha-desc:before { | ||
| 1164 | + content: "\f15e"; | ||
| 1165 | +} | ||
| 1166 | +.fa-sort-amount-asc:before { | ||
| 1167 | + content: "\f160"; | ||
| 1168 | +} | ||
| 1169 | +.fa-sort-amount-desc:before { | ||
| 1170 | + content: "\f161"; | ||
| 1171 | +} | ||
| 1172 | +.fa-sort-numeric-asc:before { | ||
| 1173 | + content: "\f162"; | ||
| 1174 | +} | ||
| 1175 | +.fa-sort-numeric-desc:before { | ||
| 1176 | + content: "\f163"; | ||
| 1177 | +} | ||
| 1178 | +.fa-thumbs-up:before { | ||
| 1179 | + content: "\f164"; | ||
| 1180 | +} | ||
| 1181 | +.fa-thumbs-down:before { | ||
| 1182 | + content: "\f165"; | ||
| 1183 | +} | ||
| 1184 | +.fa-youtube-square:before { | ||
| 1185 | + content: "\f166"; | ||
| 1186 | +} | ||
| 1187 | +.fa-youtube:before { | ||
| 1188 | + content: "\f167"; | ||
| 1189 | +} | ||
| 1190 | +.fa-xing:before { | ||
| 1191 | + content: "\f168"; | ||
| 1192 | +} | ||
| 1193 | +.fa-xing-square:before { | ||
| 1194 | + content: "\f169"; | ||
| 1195 | +} | ||
| 1196 | +.fa-youtube-play:before { | ||
| 1197 | + content: "\f16a"; | ||
| 1198 | +} | ||
| 1199 | +.fa-dropbox:before { | ||
| 1200 | + content: "\f16b"; | ||
| 1201 | +} | ||
| 1202 | +.fa-stack-overflow:before { | ||
| 1203 | + content: "\f16c"; | ||
| 1204 | +} | ||
| 1205 | +.fa-instagram:before { | ||
| 1206 | + content: "\f16d"; | ||
| 1207 | +} | ||
| 1208 | +.fa-flickr:before { | ||
| 1209 | + content: "\f16e"; | ||
| 1210 | +} | ||
| 1211 | +.fa-adn:before { | ||
| 1212 | + content: "\f170"; | ||
| 1213 | +} | ||
| 1214 | +.fa-bitbucket:before { | ||
| 1215 | + content: "\f171"; | ||
| 1216 | +} | ||
| 1217 | +.fa-bitbucket-square:before { | ||
| 1218 | + content: "\f172"; | ||
| 1219 | +} | ||
| 1220 | +.fa-tumblr:before { | ||
| 1221 | + content: "\f173"; | ||
| 1222 | +} | ||
| 1223 | +.fa-tumblr-square:before { | ||
| 1224 | + content: "\f174"; | ||
| 1225 | +} | ||
| 1226 | +.fa-long-arrow-down:before { | ||
| 1227 | + content: "\f175"; | ||
| 1228 | +} | ||
| 1229 | +.fa-long-arrow-up:before { | ||
| 1230 | + content: "\f176"; | ||
| 1231 | +} | ||
| 1232 | +.fa-long-arrow-left:before { | ||
| 1233 | + content: "\f177"; | ||
| 1234 | +} | ||
| 1235 | +.fa-long-arrow-right:before { | ||
| 1236 | + content: "\f178"; | ||
| 1237 | +} | ||
| 1238 | +.fa-apple:before { | ||
| 1239 | + content: "\f179"; | ||
| 1240 | +} | ||
| 1241 | +.fa-windows:before { | ||
| 1242 | + content: "\f17a"; | ||
| 1243 | +} | ||
| 1244 | +.fa-android:before { | ||
| 1245 | + content: "\f17b"; | ||
| 1246 | +} | ||
| 1247 | +.fa-linux:before { | ||
| 1248 | + content: "\f17c"; | ||
| 1249 | +} | ||
| 1250 | +.fa-dribbble:before { | ||
| 1251 | + content: "\f17d"; | ||
| 1252 | +} | ||
| 1253 | +.fa-skype:before { | ||
| 1254 | + content: "\f17e"; | ||
| 1255 | +} | ||
| 1256 | +.fa-foursquare:before { | ||
| 1257 | + content: "\f180"; | ||
| 1258 | +} | ||
| 1259 | +.fa-trello:before { | ||
| 1260 | + content: "\f181"; | ||
| 1261 | +} | ||
| 1262 | +.fa-female:before { | ||
| 1263 | + content: "\f182"; | ||
| 1264 | +} | ||
| 1265 | +.fa-male:before { | ||
| 1266 | + content: "\f183"; | ||
| 1267 | +} | ||
| 1268 | +.fa-gittip:before, | ||
| 1269 | +.fa-gratipay:before { | ||
| 1270 | + content: "\f184"; | ||
| 1271 | +} | ||
| 1272 | +.fa-sun-o:before { | ||
| 1273 | + content: "\f185"; | ||
| 1274 | +} | ||
| 1275 | +.fa-moon-o:before { | ||
| 1276 | + content: "\f186"; | ||
| 1277 | +} | ||
| 1278 | +.fa-archive:before { | ||
| 1279 | + content: "\f187"; | ||
| 1280 | +} | ||
| 1281 | +.fa-bug:before { | ||
| 1282 | + content: "\f188"; | ||
| 1283 | +} | ||
| 1284 | +.fa-vk:before { | ||
| 1285 | + content: "\f189"; | ||
| 1286 | +} | ||
| 1287 | +.fa-weibo:before { | ||
| 1288 | + content: "\f18a"; | ||
| 1289 | +} | ||
| 1290 | +.fa-renren:before { | ||
| 1291 | + content: "\f18b"; | ||
| 1292 | +} | ||
| 1293 | +.fa-pagelines:before { | ||
| 1294 | + content: "\f18c"; | ||
| 1295 | +} | ||
| 1296 | +.fa-stack-exchange:before { | ||
| 1297 | + content: "\f18d"; | ||
| 1298 | +} | ||
| 1299 | +.fa-arrow-circle-o-right:before { | ||
| 1300 | + content: "\f18e"; | ||
| 1301 | +} | ||
| 1302 | +.fa-arrow-circle-o-left:before { | ||
| 1303 | + content: "\f190"; | ||
| 1304 | +} | ||
| 1305 | +.fa-toggle-left:before, | ||
| 1306 | +.fa-caret-square-o-left:before { | ||
| 1307 | + content: "\f191"; | ||
| 1308 | +} | ||
| 1309 | +.fa-dot-circle-o:before { | ||
| 1310 | + content: "\f192"; | ||
| 1311 | +} | ||
| 1312 | +.fa-wheelchair:before { | ||
| 1313 | + content: "\f193"; | ||
| 1314 | +} | ||
| 1315 | +.fa-vimeo-square:before { | ||
| 1316 | + content: "\f194"; | ||
| 1317 | +} | ||
| 1318 | +.fa-turkish-lira:before, | ||
| 1319 | +.fa-try:before { | ||
| 1320 | + content: "\f195"; | ||
| 1321 | +} | ||
| 1322 | +.fa-plus-square-o:before { | ||
| 1323 | + content: "\f196"; | ||
| 1324 | +} | ||
| 1325 | +.fa-space-shuttle:before { | ||
| 1326 | + content: "\f197"; | ||
| 1327 | +} | ||
| 1328 | +.fa-slack:before { | ||
| 1329 | + content: "\f198"; | ||
| 1330 | +} | ||
| 1331 | +.fa-envelope-square:before { | ||
| 1332 | + content: "\f199"; | ||
| 1333 | +} | ||
| 1334 | +.fa-wordpress:before { | ||
| 1335 | + content: "\f19a"; | ||
| 1336 | +} | ||
| 1337 | +.fa-openid:before { | ||
| 1338 | + content: "\f19b"; | ||
| 1339 | +} | ||
| 1340 | +.fa-institution:before, | ||
| 1341 | +.fa-bank:before, | ||
| 1342 | +.fa-university:before { | ||
| 1343 | + content: "\f19c"; | ||
| 1344 | +} | ||
| 1345 | +.fa-mortar-board:before, | ||
| 1346 | +.fa-graduation-cap:before { | ||
| 1347 | + content: "\f19d"; | ||
| 1348 | +} | ||
| 1349 | +.fa-yahoo:before { | ||
| 1350 | + content: "\f19e"; | ||
| 1351 | +} | ||
| 1352 | +.fa-google:before { | ||
| 1353 | + content: "\f1a0"; | ||
| 1354 | +} | ||
| 1355 | +.fa-reddit:before { | ||
| 1356 | + content: "\f1a1"; | ||
| 1357 | +} | ||
| 1358 | +.fa-reddit-square:before { | ||
| 1359 | + content: "\f1a2"; | ||
| 1360 | +} | ||
| 1361 | +.fa-stumbleupon-circle:before { | ||
| 1362 | + content: "\f1a3"; | ||
| 1363 | +} | ||
| 1364 | +.fa-stumbleupon:before { | ||
| 1365 | + content: "\f1a4"; | ||
| 1366 | +} | ||
| 1367 | +.fa-delicious:before { | ||
| 1368 | + content: "\f1a5"; | ||
| 1369 | +} | ||
| 1370 | +.fa-digg:before { | ||
| 1371 | + content: "\f1a6"; | ||
| 1372 | +} | ||
| 1373 | +.fa-pied-piper:before { | ||
| 1374 | + content: "\f1a7"; | ||
| 1375 | +} | ||
| 1376 | +.fa-pied-piper-alt:before { | ||
| 1377 | + content: "\f1a8"; | ||
| 1378 | +} | ||
| 1379 | +.fa-drupal:before { | ||
| 1380 | + content: "\f1a9"; | ||
| 1381 | +} | ||
| 1382 | +.fa-joomla:before { | ||
| 1383 | + content: "\f1aa"; | ||
| 1384 | +} | ||
| 1385 | +.fa-language:before { | ||
| 1386 | + content: "\f1ab"; | ||
| 1387 | +} | ||
| 1388 | +.fa-fax:before { | ||
| 1389 | + content: "\f1ac"; | ||
| 1390 | +} | ||
| 1391 | +.fa-building:before { | ||
| 1392 | + content: "\f1ad"; | ||
| 1393 | +} | ||
| 1394 | +.fa-child:before { | ||
| 1395 | + content: "\f1ae"; | ||
| 1396 | +} | ||
| 1397 | +.fa-paw:before { | ||
| 1398 | + content: "\f1b0"; | ||
| 1399 | +} | ||
| 1400 | +.fa-spoon:before { | ||
| 1401 | + content: "\f1b1"; | ||
| 1402 | +} | ||
| 1403 | +.fa-cube:before { | ||
| 1404 | + content: "\f1b2"; | ||
| 1405 | +} | ||
| 1406 | +.fa-cubes:before { | ||
| 1407 | + content: "\f1b3"; | ||
| 1408 | +} | ||
| 1409 | +.fa-behance:before { | ||
| 1410 | + content: "\f1b4"; | ||
| 1411 | +} | ||
| 1412 | +.fa-behance-square:before { | ||
| 1413 | + content: "\f1b5"; | ||
| 1414 | +} | ||
| 1415 | +.fa-steam:before { | ||
| 1416 | + content: "\f1b6"; | ||
| 1417 | +} | ||
| 1418 | +.fa-steam-square:before { | ||
| 1419 | + content: "\f1b7"; | ||
| 1420 | +} | ||
| 1421 | +.fa-recycle:before { | ||
| 1422 | + content: "\f1b8"; | ||
| 1423 | +} | ||
| 1424 | +.fa-automobile:before, | ||
| 1425 | +.fa-car:before { | ||
| 1426 | + content: "\f1b9"; | ||
| 1427 | +} | ||
| 1428 | +.fa-cab:before, | ||
| 1429 | +.fa-taxi:before { | ||
| 1430 | + content: "\f1ba"; | ||
| 1431 | +} | ||
| 1432 | +.fa-tree:before { | ||
| 1433 | + content: "\f1bb"; | ||
| 1434 | +} | ||
| 1435 | +.fa-spotify:before { | ||
| 1436 | + content: "\f1bc"; | ||
| 1437 | +} | ||
| 1438 | +.fa-deviantart:before { | ||
| 1439 | + content: "\f1bd"; | ||
| 1440 | +} | ||
| 1441 | +.fa-soundcloud:before { | ||
| 1442 | + content: "\f1be"; | ||
| 1443 | +} | ||
| 1444 | +.fa-database:before { | ||
| 1445 | + content: "\f1c0"; | ||
| 1446 | +} | ||
| 1447 | +.fa-file-pdf-o:before { | ||
| 1448 | + content: "\f1c1"; | ||
| 1449 | +} | ||
| 1450 | +.fa-file-word-o:before { | ||
| 1451 | + content: "\f1c2"; | ||
| 1452 | +} | ||
| 1453 | +.fa-file-excel-o:before { | ||
| 1454 | + content: "\f1c3"; | ||
| 1455 | +} | ||
| 1456 | +.fa-file-powerpoint-o:before { | ||
| 1457 | + content: "\f1c4"; | ||
| 1458 | +} | ||
| 1459 | +.fa-file-photo-o:before, | ||
| 1460 | +.fa-file-picture-o:before, | ||
| 1461 | +.fa-file-image-o:before { | ||
| 1462 | + content: "\f1c5"; | ||
| 1463 | +} | ||
| 1464 | +.fa-file-zip-o:before, | ||
| 1465 | +.fa-file-archive-o:before { | ||
| 1466 | + content: "\f1c6"; | ||
| 1467 | +} | ||
| 1468 | +.fa-file-sound-o:before, | ||
| 1469 | +.fa-file-audio-o:before { | ||
| 1470 | + content: "\f1c7"; | ||
| 1471 | +} | ||
| 1472 | +.fa-file-movie-o:before, | ||
| 1473 | +.fa-file-video-o:before { | ||
| 1474 | + content: "\f1c8"; | ||
| 1475 | +} | ||
| 1476 | +.fa-file-code-o:before { | ||
| 1477 | + content: "\f1c9"; | ||
| 1478 | +} | ||
| 1479 | +.fa-vine:before { | ||
| 1480 | + content: "\f1ca"; | ||
| 1481 | +} | ||
| 1482 | +.fa-codepen:before { | ||
| 1483 | + content: "\f1cb"; | ||
| 1484 | +} | ||
| 1485 | +.fa-jsfiddle:before { | ||
| 1486 | + content: "\f1cc"; | ||
| 1487 | +} | ||
| 1488 | +.fa-life-bouy:before, | ||
| 1489 | +.fa-life-buoy:before, | ||
| 1490 | +.fa-life-saver:before, | ||
| 1491 | +.fa-support:before, | ||
| 1492 | +.fa-life-ring:before { | ||
| 1493 | + content: "\f1cd"; | ||
| 1494 | +} | ||
| 1495 | +.fa-circle-o-notch:before { | ||
| 1496 | + content: "\f1ce"; | ||
| 1497 | +} | ||
| 1498 | +.fa-ra:before, | ||
| 1499 | +.fa-rebel:before { | ||
| 1500 | + content: "\f1d0"; | ||
| 1501 | +} | ||
| 1502 | +.fa-ge:before, | ||
| 1503 | +.fa-empire:before { | ||
| 1504 | + content: "\f1d1"; | ||
| 1505 | +} | ||
| 1506 | +.fa-git-square:before { | ||
| 1507 | + content: "\f1d2"; | ||
| 1508 | +} | ||
| 1509 | +.fa-git:before { | ||
| 1510 | + content: "\f1d3"; | ||
| 1511 | +} | ||
| 1512 | +.fa-hacker-news:before { | ||
| 1513 | + content: "\f1d4"; | ||
| 1514 | +} | ||
| 1515 | +.fa-tencent-weibo:before { | ||
| 1516 | + content: "\f1d5"; | ||
| 1517 | +} | ||
| 1518 | +.fa-qq:before { | ||
| 1519 | + content: "\f1d6"; | ||
| 1520 | +} | ||
| 1521 | +.fa-wechat:before, | ||
| 1522 | +.fa-weixin:before { | ||
| 1523 | + content: "\f1d7"; | ||
| 1524 | +} | ||
| 1525 | +.fa-send:before, | ||
| 1526 | +.fa-paper-plane:before { | ||
| 1527 | + content: "\f1d8"; | ||
| 1528 | +} | ||
| 1529 | +.fa-send-o:before, | ||
| 1530 | +.fa-paper-plane-o:before { | ||
| 1531 | + content: "\f1d9"; | ||
| 1532 | +} | ||
| 1533 | +.fa-history:before { | ||
| 1534 | + content: "\f1da"; | ||
| 1535 | +} | ||
| 1536 | +.fa-genderless:before, | ||
| 1537 | +.fa-circle-thin:before { | ||
| 1538 | + content: "\f1db"; | ||
| 1539 | +} | ||
| 1540 | +.fa-header:before { | ||
| 1541 | + content: "\f1dc"; | ||
| 1542 | +} | ||
| 1543 | +.fa-paragraph:before { | ||
| 1544 | + content: "\f1dd"; | ||
| 1545 | +} | ||
| 1546 | +.fa-sliders:before { | ||
| 1547 | + content: "\f1de"; | ||
| 1548 | +} | ||
| 1549 | +.fa-share-alt:before { | ||
| 1550 | + content: "\f1e0"; | ||
| 1551 | +} | ||
| 1552 | +.fa-share-alt-square:before { | ||
| 1553 | + content: "\f1e1"; | ||
| 1554 | +} | ||
| 1555 | +.fa-bomb:before { | ||
| 1556 | + content: "\f1e2"; | ||
| 1557 | +} | ||
| 1558 | +.fa-soccer-ball-o:before, | ||
| 1559 | +.fa-futbol-o:before { | ||
| 1560 | + content: "\f1e3"; | ||
| 1561 | +} | ||
| 1562 | +.fa-tty:before { | ||
| 1563 | + content: "\f1e4"; | ||
| 1564 | +} | ||
| 1565 | +.fa-binoculars:before { | ||
| 1566 | + content: "\f1e5"; | ||
| 1567 | +} | ||
| 1568 | +.fa-plug:before { | ||
| 1569 | + content: "\f1e6"; | ||
| 1570 | +} | ||
| 1571 | +.fa-slideshare:before { | ||
| 1572 | + content: "\f1e7"; | ||
| 1573 | +} | ||
| 1574 | +.fa-twitch:before { | ||
| 1575 | + content: "\f1e8"; | ||
| 1576 | +} | ||
| 1577 | +.fa-yelp:before { | ||
| 1578 | + content: "\f1e9"; | ||
| 1579 | +} | ||
| 1580 | +.fa-newspaper-o:before { | ||
| 1581 | + content: "\f1ea"; | ||
| 1582 | +} | ||
| 1583 | +.fa-wifi:before { | ||
| 1584 | + content: "\f1eb"; | ||
| 1585 | +} | ||
| 1586 | +.fa-calculator:before { | ||
| 1587 | + content: "\f1ec"; | ||
| 1588 | +} | ||
| 1589 | +.fa-paypal:before { | ||
| 1590 | + content: "\f1ed"; | ||
| 1591 | +} | ||
| 1592 | +.fa-google-wallet:before { | ||
| 1593 | + content: "\f1ee"; | ||
| 1594 | +} | ||
| 1595 | +.fa-cc-visa:before { | ||
| 1596 | + content: "\f1f0"; | ||
| 1597 | +} | ||
| 1598 | +.fa-cc-mastercard:before { | ||
| 1599 | + content: "\f1f1"; | ||
| 1600 | +} | ||
| 1601 | +.fa-cc-discover:before { | ||
| 1602 | + content: "\f1f2"; | ||
| 1603 | +} | ||
| 1604 | +.fa-cc-amex:before { | ||
| 1605 | + content: "\f1f3"; | ||
| 1606 | +} | ||
| 1607 | +.fa-cc-paypal:before { | ||
| 1608 | + content: "\f1f4"; | ||
| 1609 | +} | ||
| 1610 | +.fa-cc-stripe:before { | ||
| 1611 | + content: "\f1f5"; | ||
| 1612 | +} | ||
| 1613 | +.fa-bell-slash:before { | ||
| 1614 | + content: "\f1f6"; | ||
| 1615 | +} | ||
| 1616 | +.fa-bell-slash-o:before { | ||
| 1617 | + content: "\f1f7"; | ||
| 1618 | +} | ||
| 1619 | +.fa-trash:before { | ||
| 1620 | + content: "\f1f8"; | ||
| 1621 | +} | ||
| 1622 | +.fa-copyright:before { | ||
| 1623 | + content: "\f1f9"; | ||
| 1624 | +} | ||
| 1625 | +.fa-at:before { | ||
| 1626 | + content: "\f1fa"; | ||
| 1627 | +} | ||
| 1628 | +.fa-eyedropper:before { | ||
| 1629 | + content: "\f1fb"; | ||
| 1630 | +} | ||
| 1631 | +.fa-paint-brush:before { | ||
| 1632 | + content: "\f1fc"; | ||
| 1633 | +} | ||
| 1634 | +.fa-birthday-cake:before { | ||
| 1635 | + content: "\f1fd"; | ||
| 1636 | +} | ||
| 1637 | +.fa-area-chart:before { | ||
| 1638 | + content: "\f1fe"; | ||
| 1639 | +} | ||
| 1640 | +.fa-pie-chart:before { | ||
| 1641 | + content: "\f200"; | ||
| 1642 | +} | ||
| 1643 | +.fa-line-chart:before { | ||
| 1644 | + content: "\f201"; | ||
| 1645 | +} | ||
| 1646 | +.fa-lastfm:before { | ||
| 1647 | + content: "\f202"; | ||
| 1648 | +} | ||
| 1649 | +.fa-lastfm-square:before { | ||
| 1650 | + content: "\f203"; | ||
| 1651 | +} | ||
| 1652 | +.fa-toggle-off:before { | ||
| 1653 | + content: "\f204"; | ||
| 1654 | +} | ||
| 1655 | +.fa-toggle-on:before { | ||
| 1656 | + content: "\f205"; | ||
| 1657 | +} | ||
| 1658 | +.fa-bicycle:before { | ||
| 1659 | + content: "\f206"; | ||
| 1660 | +} | ||
| 1661 | +.fa-bus:before { | ||
| 1662 | + content: "\f207"; | ||
| 1663 | +} | ||
| 1664 | +.fa-ioxhost:before { | ||
| 1665 | + content: "\f208"; | ||
| 1666 | +} | ||
| 1667 | +.fa-angellist:before { | ||
| 1668 | + content: "\f209"; | ||
| 1669 | +} | ||
| 1670 | +.fa-cc:before { | ||
| 1671 | + content: "\f20a"; | ||
| 1672 | +} | ||
| 1673 | +.fa-shekel:before, | ||
| 1674 | +.fa-sheqel:before, | ||
| 1675 | +.fa-ils:before { | ||
| 1676 | + content: "\f20b"; | ||
| 1677 | +} | ||
| 1678 | +.fa-meanpath:before { | ||
| 1679 | + content: "\f20c"; | ||
| 1680 | +} | ||
| 1681 | +.fa-buysellads:before { | ||
| 1682 | + content: "\f20d"; | ||
| 1683 | +} | ||
| 1684 | +.fa-connectdevelop:before { | ||
| 1685 | + content: "\f20e"; | ||
| 1686 | +} | ||
| 1687 | +.fa-dashcube:before { | ||
| 1688 | + content: "\f210"; | ||
| 1689 | +} | ||
| 1690 | +.fa-forumbee:before { | ||
| 1691 | + content: "\f211"; | ||
| 1692 | +} | ||
| 1693 | +.fa-leanpub:before { | ||
| 1694 | + content: "\f212"; | ||
| 1695 | +} | ||
| 1696 | +.fa-sellsy:before { | ||
| 1697 | + content: "\f213"; | ||
| 1698 | +} | ||
| 1699 | +.fa-shirtsinbulk:before { | ||
| 1700 | + content: "\f214"; | ||
| 1701 | +} | ||
| 1702 | +.fa-simplybuilt:before { | ||
| 1703 | + content: "\f215"; | ||
| 1704 | +} | ||
| 1705 | +.fa-skyatlas:before { | ||
| 1706 | + content: "\f216"; | ||
| 1707 | +} | ||
| 1708 | +.fa-cart-plus:before { | ||
| 1709 | + content: "\f217"; | ||
| 1710 | +} | ||
| 1711 | +.fa-cart-arrow-down:before { | ||
| 1712 | + content: "\f218"; | ||
| 1713 | +} | ||
| 1714 | +.fa-diamond:before { | ||
| 1715 | + content: "\f219"; | ||
| 1716 | +} | ||
| 1717 | +.fa-ship:before { | ||
| 1718 | + content: "\f21a"; | ||
| 1719 | +} | ||
| 1720 | +.fa-user-secret:before { | ||
| 1721 | + content: "\f21b"; | ||
| 1722 | +} | ||
| 1723 | +.fa-motorcycle:before { | ||
| 1724 | + content: "\f21c"; | ||
| 1725 | +} | ||
| 1726 | +.fa-street-view:before { | ||
| 1727 | + content: "\f21d"; | ||
| 1728 | +} | ||
| 1729 | +.fa-heartbeat:before { | ||
| 1730 | + content: "\f21e"; | ||
| 1731 | +} | ||
| 1732 | +.fa-venus:before { | ||
| 1733 | + content: "\f221"; | ||
| 1734 | +} | ||
| 1735 | +.fa-mars:before { | ||
| 1736 | + content: "\f222"; | ||
| 1737 | +} | ||
| 1738 | +.fa-mercury:before { | ||
| 1739 | + content: "\f223"; | ||
| 1740 | +} | ||
| 1741 | +.fa-transgender:before { | ||
| 1742 | + content: "\f224"; | ||
| 1743 | +} | ||
| 1744 | +.fa-transgender-alt:before { | ||
| 1745 | + content: "\f225"; | ||
| 1746 | +} | ||
| 1747 | +.fa-venus-double:before { | ||
| 1748 | + content: "\f226"; | ||
| 1749 | +} | ||
| 1750 | +.fa-mars-double:before { | ||
| 1751 | + content: "\f227"; | ||
| 1752 | +} | ||
| 1753 | +.fa-venus-mars:before { | ||
| 1754 | + content: "\f228"; | ||
| 1755 | +} | ||
| 1756 | +.fa-mars-stroke:before { | ||
| 1757 | + content: "\f229"; | ||
| 1758 | +} | ||
| 1759 | +.fa-mars-stroke-v:before { | ||
| 1760 | + content: "\f22a"; | ||
| 1761 | +} | ||
| 1762 | +.fa-mars-stroke-h:before { | ||
| 1763 | + content: "\f22b"; | ||
| 1764 | +} | ||
| 1765 | +.fa-neuter:before { | ||
| 1766 | + content: "\f22c"; | ||
| 1767 | +} | ||
| 1768 | +.fa-facebook-official:before { | ||
| 1769 | + content: "\f230"; | ||
| 1770 | +} | ||
| 1771 | +.fa-pinterest-p:before { | ||
| 1772 | + content: "\f231"; | ||
| 1773 | +} | ||
| 1774 | +.fa-whatsapp:before { | ||
| 1775 | + content: "\f232"; | ||
| 1776 | +} | ||
| 1777 | +.fa-server:before { | ||
| 1778 | + content: "\f233"; | ||
| 1779 | +} | ||
| 1780 | +.fa-user-plus:before { | ||
| 1781 | + content: "\f234"; | ||
| 1782 | +} | ||
| 1783 | +.fa-user-times:before { | ||
| 1784 | + content: "\f235"; | ||
| 1785 | +} | ||
| 1786 | +.fa-hotel:before, | ||
| 1787 | +.fa-bed:before { | ||
| 1788 | + content: "\f236"; | ||
| 1789 | +} | ||
| 1790 | +.fa-viacoin:before { | ||
| 1791 | + content: "\f237"; | ||
| 1792 | +} | ||
| 1793 | +.fa-train:before { | ||
| 1794 | + content: "\f238"; | ||
| 1795 | +} | ||
| 1796 | +.fa-subway:before { | ||
| 1797 | + content: "\f239"; | ||
| 1798 | +} | ||
| 1799 | +.fa-medium:before { | ||
| 1800 | + content: "\f23a"; | ||
| 1801 | +} |
| 1 | +/*! | ||
| 2 | + * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome | ||
| 3 | + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) | ||
| 4 | + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.3.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0, 0)}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-genderless:before,.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
lib/font-awesome/4.3.0/fonts/FontAwesome.otf
0 → 100644
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
lib/jquery/jquery-2.2.3.js
0 → 100644
This diff could not be displayed because it is too large.
lib/jquery/jquery-2.2.3.min.js
0 → 100644
| 1 | +/*! jQuery v2.2.3 | (c) jQuery Foundation | jquery.org/license */ | ||
| 2 | +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="2.2.3",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isPlainObject:function(a){var b;if("object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype||{},"isPrototypeOf"))return!1;for(b in a);return void 0===b||k.call(a,b)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=d.createElement("script"),b.text=a,d.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:h.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(d=e.call(arguments,2),f=function(){return a.apply(b||this,d.concat(e.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=la(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=ma(b);function pa(){}pa.prototype=d.filters=d.pseudos,d.setFilters=new pa,g=fa.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fa.error(a):z(a,i).slice(0)};function qa(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return h.call(b,a)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?h.call(n(a),this[0]):h.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||n.uniqueSort(e),D.test(a)&&e.reverse()),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){n.each(b,function(b,c){n.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==n.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return n.each(arguments,function(a,b){var c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J),n.ready()}n.ready.promise=function(b){return I||(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(n.ready):(d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J))),I.promise(b)},n.ready.promise();var K=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)K(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},L=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function M(){this.expando=n.expando+M.uid++}M.uid=1,M.prototype={register:function(a,b){var c=b||{};return a.nodeType?a[this.expando]=c:Object.defineProperty(a,this.expando,{value:c,writable:!0,configurable:!0}),a[this.expando]},cache:function(a){if(!L(a))return{};var b=a[this.expando];return b||(b={},L(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[b]=c;else for(d in b)e[d]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=a[this.expando];if(void 0!==f){if(void 0===b)this.register(a);else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in f?d=[b,e]:(d=e,d=d in f?[d]:d.match(G)||[])),c=d.length;while(c--)delete f[d[c]]}(void 0===b||n.isEmptyObject(f))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!n.isEmptyObject(b)}};var N=new M,O=new M,P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function R(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Q,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:P.test(c)?n.parseJSON(c):c; | ||
| 3 | +}catch(e){}O.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return O.hasData(a)||N.hasData(a)},data:function(a,b,c){return O.access(a,b,c)},removeData:function(a,b){O.remove(a,b)},_data:function(a,b,c){return N.access(a,b,c)},_removeData:function(a,b){N.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=O.get(f),1===f.nodeType&&!N.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),R(f,d,e[d])));N.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){O.set(this,a)}):K(this,function(b){var c,d;if(f&&void 0===b){if(c=O.get(f,a)||O.get(f,a.replace(Q,"-$&").toLowerCase()),void 0!==c)return c;if(d=n.camelCase(a),c=O.get(f,d),void 0!==c)return c;if(c=R(f,d,void 0),void 0!==c)return c}else d=n.camelCase(a),this.each(function(){var c=O.get(this,d);O.set(this,d,b),a.indexOf("-")>-1&&void 0!==c&&O.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){O.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=N.get(a,b),c&&(!d||n.isArray(c)?d=N.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return N.get(a,c)||N.access(a,c,{empty:n.Callbacks("once memory").add(function(){N.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=N.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),U=["Top","Right","Bottom","Left"],V=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};function W(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"px"!==j&&+i)&&T.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,n.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var X=/^(?:checkbox|radio)$/i,Y=/<([\w:-]+)/,Z=/^$|\/(?:java|ecma)script/i,$={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};$.optgroup=$.option,$.tbody=$.tfoot=$.colgroup=$.caption=$.thead,$.th=$.td;function _(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function aa(a,b){for(var c=0,d=a.length;d>c;c++)N.set(a[c],"globalEval",!b||N.get(b[c],"globalEval"))}var ba=/<|&#?\w+;/;function ca(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],o=0,p=a.length;p>o;o++)if(f=a[o],f||0===f)if("object"===n.type(f))n.merge(m,f.nodeType?[f]:f);else if(ba.test(f)){g=g||l.appendChild(b.createElement("div")),h=(Y.exec(f)||["",""])[1].toLowerCase(),i=$[h]||$._default,g.innerHTML=i[1]+n.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;n.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",o=0;while(f=m[o++])if(d&&n.inArray(f,d)>-1)e&&e.push(f);else if(j=n.contains(f.ownerDocument,f),g=_(l.appendChild(f),"script"),j&&aa(g),c){k=0;while(f=g[k++])Z.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var da=/^key/,ea=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fa=/^([^.]*)(?:\.(.+)|)/;function ga(){return!0}function ha(){return!1}function ia(){try{return d.activeElement}catch(a){}}function ja(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ja(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ha;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return"undefined"!=typeof n&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(G)||[""],j=b.length;while(j--)h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.hasData(a)&&N.get(a);if(r&&(i=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&N.remove(a,"handle events")}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(N.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||d,e=c.documentElement,f=c.body,a.pageX=b.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=ea.test(f)?this.mouseHooks:da.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return a.target||(a.target=d),3===a.target.nodeType&&(a.target=a.target.parentNode),h.filter?h.filter(a,g):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==ia()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===ia()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ga:ha):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={constructor:n.Event,isDefaultPrevented:ha,isPropagationStopped:ha,isImmediatePropagationStopped:ha,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ga,a&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ga,a&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ga,a&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),n.fn.extend({on:function(a,b,c,d){return ja(this,a,b,c,d)},one:function(a,b,c,d){return ja(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=ha),this.each(function(){n.event.remove(this,a,c,b)})}});var ka=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,la=/<script|<style|<link/i,ma=/checked\s*(?:[^=]|=\s*.checked.)/i,na=/^true\/(.*)/,oa=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function pa(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function qa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function ra(a){var b=na.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function sa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(N.hasData(a)&&(f=N.access(a),g=N.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}O.hasData(a)&&(h=O.access(a),i=n.extend({},h),O.set(b,i))}}function ta(a,b){var c=b.nodeName.toLowerCase();"input"===c&&X.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function ua(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&ma.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),ua(f,b,c,d)});if(o&&(e=ca(b,a[0].ownerDocument,!1,a,d),g=e.firstChild,1===e.childNodes.length&&(e=g),g||d)){for(h=n.map(_(e,"script"),qa),i=h.length;o>m;m++)j=e,m!==p&&(j=n.clone(j,!0,!0),i&&n.merge(h,_(j,"script"))),c.call(a[m],j,m);if(i)for(k=h[h.length-1].ownerDocument,n.map(h,ra),m=0;i>m;m++)j=h[m],Z.test(j.type||"")&&!N.access(j,"globalEval")&&n.contains(k,j)&&(j.src?n._evalUrl&&n._evalUrl(j.src):n.globalEval(j.textContent.replace(oa,"")))}return a}function va(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(_(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&aa(_(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(ka,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=_(h),f=_(a),d=0,e=f.length;e>d;d++)ta(f[d],g[d]);if(b)if(c)for(f=f||_(a),g=g||_(h),d=0,e=f.length;e>d;d++)sa(f[d],g[d]);else sa(a,h);return g=_(h,"script"),g.length>0&&aa(g,!i&&_(a,"script")),h},cleanData:function(a){for(var b,c,d,e=n.event.special,f=0;void 0!==(c=a[f]);f++)if(L(c)){if(b=c[N.expando]){if(b.events)for(d in b.events)e[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);c[N.expando]=void 0}c[O.expando]&&(c[O.expando]=void 0)}}}),n.fn.extend({domManip:ua,detach:function(a){return va(this,a,!0)},remove:function(a){return va(this,a)},text:function(a){return K(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.appendChild(a)}})},prepend:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(_(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return K(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!la.test(a)&&!$[(Y.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(_(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return ua(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(_(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),f=e.length-1,h=0;f>=h;h++)c=h===f?this:this.clone(!0),n(e[h])[b](c),g.apply(d,c.get());return this.pushStack(d)}});var wa,xa={HTML:"block",BODY:"block"};function ya(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function za(a){var b=d,c=xa[a];return c||(c=ya(a,b),"none"!==c&&c||(wa=(wa||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=wa[0].contentDocument,b.write(),b.close(),c=ya(a,b),wa.detach()),xa[a]=c),c}var Aa=/^margin/,Ba=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ca=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Da=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},Ea=d.documentElement;!function(){var b,c,e,f,g=d.createElement("div"),h=d.createElement("div");if(h.style){h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===h.style.backgroundClip,g.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",g.appendChild(h);function i(){h.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",h.innerHTML="",Ea.appendChild(g);var d=a.getComputedStyle(h);b="1%"!==d.top,f="2px"===d.marginLeft,c="4px"===d.width,h.style.marginRight="50%",e="4px"===d.marginRight,Ea.removeChild(g)}n.extend(l,{pixelPosition:function(){return i(),b},boxSizingReliable:function(){return null==c&&i(),c},pixelMarginRight:function(){return null==c&&i(),e},reliableMarginLeft:function(){return null==c&&i(),f},reliableMarginRight:function(){var b,c=h.appendChild(d.createElement("div"));return c.style.cssText=h.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",h.style.width="1px",Ea.appendChild(g),b=!parseFloat(a.getComputedStyle(c).marginRight),Ea.removeChild(g),h.removeChild(c),b}})}}();function Fa(a,b,c){var d,e,f,g,h=a.style;return c=c||Ca(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Ba.test(g)&&Aa.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0!==g?g+"":g}function Ga(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Ha=/^(none|table(?!-c[ea]).+)/,Ia={position:"absolute",visibility:"hidden",display:"block"},Ja={letterSpacing:"0",fontWeight:"400"},Ka=["Webkit","O","Moz","ms"],La=d.createElement("div").style;function Ma(a){if(a in La)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ka.length;while(c--)if(a=Ka[c]+b,a in La)return a}function Na(a,b,c){var d=T.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Oa(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function Pa(b,c,e){var f=!0,g="width"===c?b.offsetWidth:b.offsetHeight,h=Ca(b),i="border-box"===n.css(b,"boxSizing",!1,h);if(d.msFullscreenElement&&a.top!==a&&b.getClientRects().length&&(g=Math.round(100*b.getBoundingClientRect()[c])),0>=g||null==g){if(g=Fa(b,c,h),(0>g||null==g)&&(g=b.style[c]),Ba.test(g))return g;f=i&&(l.boxSizingReliable()||g===b.style[c]),g=parseFloat(g)||0}return g+Oa(b,c,e||(i?"border":"content"),f,h)+"px"}function Qa(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=N.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&V(d)&&(f[g]=N.access(d,"olddisplay",za(d.nodeName)))):(e=V(d),"none"===c&&e||N.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Fa(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Ma(h)||h),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=T.exec(c))&&e[1]&&(c=W(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Ma(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Fa(a,b,d)),"normal"===e&&b in Ja&&(e=Ja[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?Ha.test(n.css(a,"display"))&&0===a.offsetWidth?Da(a,Ia,function(){return Pa(a,b,d)}):Pa(a,b,d):void 0},set:function(a,c,d){var e,f=d&&Ca(a),g=d&&Oa(a,b,d,"border-box"===n.css(a,"boxSizing",!1,f),f);return g&&(e=T.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=n.css(a,b)),Na(a,c,g)}}}),n.cssHooks.marginLeft=Ga(l.reliableMarginLeft,function(a,b){return b?(parseFloat(Fa(a,"marginLeft"))||a.getBoundingClientRect().left-Da(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px":void 0}),n.cssHooks.marginRight=Ga(l.reliableMarginRight,function(a,b){return b?Da(a,{display:"inline-block"},Fa,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Aa.test(a)||(n.cssHooks[a+b].set=Na)}),n.fn.extend({css:function(a,b){return K(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Ca(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Qa(this,!0)},hide:function(){return Qa(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function Ra(a,b,c,d,e){return new Ra.prototype.init(a,b,c,d,e)}n.Tween=Ra,Ra.prototype={constructor:Ra,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Ra.propHooks[this.prop];return a&&a.get?a.get(this):Ra.propHooks._default.get(this)},run:function(a){var b,c=Ra.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Ra.propHooks._default.set(this),this}},Ra.prototype.init.prototype=Ra.prototype,Ra.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},Ra.propHooks.scrollTop=Ra.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=Ra.prototype.init,n.fx.step={};var Sa,Ta,Ua=/^(?:toggle|show|hide)$/,Va=/queueHooks$/;function Wa(){return a.setTimeout(function(){Sa=void 0}),Sa=n.now()}function Xa(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=U[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ya(a,b,c){for(var d,e=(_a.tweeners[b]||[]).concat(_a.tweeners["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Za(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&V(a),q=N.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?N.get(a,"olddisplay")||za(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Ua.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?za(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=N.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;N.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ya(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function $a(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function _a(a,b,c){var d,e,f=0,g=_a.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Sa||Wa(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},c),originalProperties:b,originalOptions:c,startTime:Sa||Wa(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for($a(k,j.opts.specialEasing);g>f;f++)if(d=_a.prefilters[f].call(j,a,k,j.opts))return n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d.stop,d)),d;return n.map(k,Ya,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(_a,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return W(c.elem,a,T.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.match(G);for(var c,d=0,e=a.length;e>d;d++)c=a[d],_a.tweeners[c]=_a.tweeners[c]||[],_a.tweeners[c].unshift(b)},prefilters:[Za],prefilter:function(a,b){b?_a.prefilters.unshift(a):_a.prefilters.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=_a(this,n.extend({},a),f);(e||N.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=N.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Va.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=N.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Xa(b,!0),a,d,e)}}),n.each({slideDown:Xa("show"),slideUp:Xa("hide"),slideToggle:Xa("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Sa=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),Sa=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Ta||(Ta=a.setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){a.clearInterval(Ta),Ta=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(b,c){return b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",l.checkOn=""!==a.value,l.optSelected=c.selected,b.disabled=!0,l.optDisabled=!c.disabled,a=d.createElement("input"),a.value="t",a.type="radio",l.radioValue="t"===a.value}();var ab,bb=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return K(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?ab:void 0)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(G);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)}}),ab={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=bb[b]||n.find.attr;bb[b]=function(a,b,d){var e,f;return d||(f=bb[b],bb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,bb[b]=f),e}});var cb=/^(?:input|select|textarea|button)$/i,db=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return K(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b, | ||
| 4 | +e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):cb.test(a.nodeName)||db.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var eb=/[\t\r\n\f]/g;function fb(a){return a.getAttribute&&a.getAttribute("class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,fb(this)))});if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=fb(c),d=1===c.nodeType&&(" "+e+" ").replace(eb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,fb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=fb(c),d=1===c.nodeType&&(" "+e+" ").replace(eb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,fb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(G)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=fb(this),b&&N.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":N.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+fb(c)+" ").replace(eb," ").indexOf(b)>-1)return!0;return!1}});var gb=/\r/g,hb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(gb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(hb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=n.inArray(n.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>-1:void 0}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var ib=/^(?:focusinfocus|focusoutblur)$/;n.extend(n.event,{trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!ib.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),l=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},f||!o.trigger||o.trigger.apply(e,c)!==!1)){if(!f&&!o.noBubble&&!n.isWindow(e)){for(j=o.delegateType||q,ib.test(j+q)||(h=h.parentNode);h;h=h.parentNode)p.push(h),i=h;i===(e.ownerDocument||d)&&p.push(i.defaultView||i.parentWindow||a)}g=0;while((h=p[g++])&&!b.isPropagationStopped())b.type=g>1?j:o.bindType||q,m=(N.get(h,"events")||{})[b.type]&&N.get(h,"handle"),m&&m.apply(h,c),m=l&&h[l],m&&m.apply&&L(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=q,f||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!L(e)||l&&n.isFunction(e[q])&&!n.isWindow(e)&&(i=e[l],i&&(e[l]=null),n.event.triggered=q,e[q](),n.event.triggered=void 0,i&&(e[l]=i)),b.result}},simulate:function(a,b,c){var d=n.extend(new n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b),d.isDefaultPrevented()&&c.preventDefault()}}),n.fn.extend({trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),l.focusin="onfocusin"in a,l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=N.access(d,b);e||d.addEventListener(a,c,!0),N.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=N.access(d,b)-1;e?N.access(d,b,e):(d.removeEventListener(a,c,!0),N.remove(d,b))}}});var jb=a.location,kb=n.now(),lb=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var mb=/#.*$/,nb=/([?&])_=[^&]*/,ob=/^(.*?):[ \t]*([^\r\n]*)$/gm,pb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qb=/^(?:GET|HEAD)$/,rb=/^\/\//,sb={},tb={},ub="*/".concat("*"),vb=d.createElement("a");vb.href=jb.href;function wb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(G)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function xb(a,b,c,d){var e={},f=a===tb;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function yb(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function zb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Ab(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jb.href,type:"GET",isLocal:pb.test(jb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ub,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?yb(yb(a,n.ajaxSettings),b):yb(n.ajaxSettings,a)},ajaxPrefilter:wb(sb),ajaxTransport:wb(tb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m=n.ajaxSetup({},c),o=m.context||m,p=m.context&&(o.nodeType||o.jquery)?n(o):n.event,q=n.Deferred(),r=n.Callbacks("once memory"),s=m.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,getResponseHeader:function(a){var b;if(2===v){if(!h){h={};while(b=ob.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===v?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return v||(a=u[c]=u[c]||a,t[a]=b),this},overrideMimeType:function(a){return v||(m.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>v)for(b in a)s[b]=[s[b],a[b]];else x.always(a[x.status]);return this},abort:function(a){var b=a||w;return e&&e.abort(b),z(0,b),this}};if(q.promise(x).complete=r.add,x.success=x.done,x.error=x.fail,m.url=((b||m.url||jb.href)+"").replace(mb,"").replace(rb,jb.protocol+"//"),m.type=c.method||c.type||m.method||m.type,m.dataTypes=n.trim(m.dataType||"*").toLowerCase().match(G)||[""],null==m.crossDomain){j=d.createElement("a");try{j.href=m.url,j.href=j.href,m.crossDomain=vb.protocol+"//"+vb.host!=j.protocol+"//"+j.host}catch(y){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=n.param(m.data,m.traditional)),xb(sb,m,c,x),2===v)return x;k=n.event&&m.global,k&&0===n.active++&&n.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!qb.test(m.type),f=m.url,m.hasContent||(m.data&&(f=m.url+=(lb.test(f)?"&":"?")+m.data,delete m.data),m.cache===!1&&(m.url=nb.test(f)?f.replace(nb,"$1_="+kb++):f+(lb.test(f)?"&":"?")+"_="+kb++)),m.ifModified&&(n.lastModified[f]&&x.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&x.setRequestHeader("If-None-Match",n.etag[f])),(m.data&&m.hasContent&&m.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+ub+"; q=0.01":""):m.accepts["*"]);for(l in m.headers)x.setRequestHeader(l,m.headers[l]);if(m.beforeSend&&(m.beforeSend.call(o,x,m)===!1||2===v))return x.abort();w="abort";for(l in{success:1,error:1,complete:1})x[l](m[l]);if(e=xb(tb,m,c,x)){if(x.readyState=1,k&&p.trigger("ajaxSend",[x,m]),2===v)return x;m.async&&m.timeout>0&&(i=a.setTimeout(function(){x.abort("timeout")},m.timeout));try{v=1,e.send(t,z)}catch(y){if(!(2>v))throw y;z(-1,y)}}else z(-1,"No Transport");function z(b,c,d,h){var j,l,t,u,w,y=c;2!==v&&(v=2,i&&a.clearTimeout(i),e=void 0,g=h||"",x.readyState=b>0?4:0,j=b>=200&&300>b||304===b,d&&(u=zb(m,x,d)),u=Ab(m,u,x,j),j?(m.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(n.lastModified[f]=w),w=x.getResponseHeader("etag"),w&&(n.etag[f]=w)),204===b||"HEAD"===m.type?y="nocontent":304===b?y="notmodified":(y=u.state,l=u.data,t=u.error,j=!t)):(t=y,!b&&y||(y="error",0>b&&(b=0))),x.status=b,x.statusText=(c||y)+"",j?q.resolveWith(o,[l,y,x]):q.rejectWith(o,[x,y,t]),x.statusCode(s),s=void 0,k&&p.trigger(j?"ajaxSuccess":"ajaxError",[x,m,j?l:t]),r.fireWith(o,[x,y]),k&&(p.trigger("ajaxComplete",[x,m]),--n.active||n.event.trigger("ajaxStop")))}return x},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return!n.expr.filters.visible(a)},n.expr.filters.visible=function(a){return a.offsetWidth>0||a.offsetHeight>0||a.getClientRects().length>0};var Bb=/%20/g,Cb=/\[\]$/,Db=/\r?\n/g,Eb=/^(?:submit|button|image|reset|file)$/i,Fb=/^(?:input|select|textarea|keygen)/i;function Gb(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||Cb.test(a)?d(a,e):Gb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Gb(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Gb(c,a[c],b,e);return d.join("&").replace(Bb,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Fb.test(this.nodeName)&&!Eb.test(a)&&(this.checked||!X.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(Db,"\r\n")}}):{name:b.name,value:c.replace(Db,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Hb={0:200,1223:204},Ib=n.ajaxSettings.xhr();l.cors=!!Ib&&"withCredentials"in Ib,l.ajax=Ib=!!Ib,n.ajaxTransport(function(b){var c,d;return l.cors||Ib&&!b.crossDomain?{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Hb[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=n("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Jb=[],Kb=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Jb.pop()||n.expando+"_"+kb++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Kb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kb.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Kb,"$1"+e):b.jsonp!==!1&&(b.url+=(lb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Jb.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ca([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var Lb=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Lb)return Lb.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function Mb(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(e=d.getBoundingClientRect(),c=Mb(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Ea})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;n.fn[a]=function(d){return K(this,function(a,d,e){var f=Mb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ga(l.pixelPosition,function(a,c){return c?(c=Fa(a,b),Ba.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return K(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)},size:function(){return this.length}}),n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Nb=a.jQuery,Ob=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Ob),b&&a.jQuery===n&&(a.jQuery=Nb),n},b||(a.jQuery=a.$=n),n}); |
lib/jquery/jquery-2.2.3.min.map
0 → 100644
This diff could not be displayed because it is too large.
lib/summernote/font/summernote.eot
0 → 100644
No preview for this file type
lib/summernote/font/summernote.ttf
0 → 100644
No preview for this file type
lib/summernote/font/summernote.woff
0 → 100644
No preview for this file type
lib/summernote/lang/summernote-ar-AR.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'ar-AR': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'عريض', | ||
| 6 | + italic: 'مائل', | ||
| 7 | + underline: 'تحته خط', | ||
| 8 | + clear: 'مسح التنسيق', | ||
| 9 | + height: 'إرتفاع السطر', | ||
| 10 | + name: 'الخط', | ||
| 11 | + strikethrough: 'فى وسطه خط', | ||
| 12 | + size: 'الحجم' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'صورة', | ||
| 16 | + insert: 'إضافة صورة', | ||
| 17 | + resizeFull: 'الحجم بالكامل', | ||
| 18 | + resizeHalf: 'تصغير للنصف', | ||
| 19 | + resizeQuarter: 'تصغير للربع', | ||
| 20 | + floatLeft: 'تطيير لليسار', | ||
| 21 | + floatRight: 'تطيير لليمين', | ||
| 22 | + floatNone: 'ثابته', | ||
| 23 | + dragImageHere: 'إدرج الصورة هنا', | ||
| 24 | + selectFromFiles: 'حدد ملف', | ||
| 25 | + url: 'رابط الصورة', | ||
| 26 | + remove: 'حذف الصورة' | ||
| 27 | + }, | ||
| 28 | + video: { | ||
| 29 | + video: 'فيديو', | ||
| 30 | + videoLink: 'رابط الفيديو', | ||
| 31 | + insert: 'إدراج الفيديو', | ||
| 32 | + url: 'رابط الفيديو', | ||
| 33 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)' | ||
| 34 | + }, | ||
| 35 | + link: { | ||
| 36 | + link: 'رابط رابط', | ||
| 37 | + insert: 'إدراج', | ||
| 38 | + unlink: 'حذف الرابط', | ||
| 39 | + edit: 'تعديل', | ||
| 40 | + textToDisplay: 'النص', | ||
| 41 | + url: 'مسار الرابط', | ||
| 42 | + openInNewWindow: 'فتح في نافذة جديدة' | ||
| 43 | + }, | ||
| 44 | + table: { | ||
| 45 | + table: 'جدول' | ||
| 46 | + }, | ||
| 47 | + hr: { | ||
| 48 | + insert: 'إدراج خط أفقي' | ||
| 49 | + }, | ||
| 50 | + style: { | ||
| 51 | + style: 'تنسيق', | ||
| 52 | + p: 'عادي', | ||
| 53 | + blockquote: 'إقتباس', | ||
| 54 | + pre: 'شفيرة', | ||
| 55 | + h1: 'عنوان رئيسي 1', | ||
| 56 | + h2: 'عنوان رئيسي 2', | ||
| 57 | + h3: 'عنوان رئيسي 3', | ||
| 58 | + h4: 'عنوان رئيسي 4', | ||
| 59 | + h5: 'عنوان رئيسي 5', | ||
| 60 | + h6: 'عنوان رئيسي 6' | ||
| 61 | + }, | ||
| 62 | + lists: { | ||
| 63 | + unordered: 'قائمة مُنقطة', | ||
| 64 | + ordered: 'قائمة مُرقمة' | ||
| 65 | + }, | ||
| 66 | + options: { | ||
| 67 | + help: 'مساعدة', | ||
| 68 | + fullscreen: 'حجم الشاشة بالكامل', | ||
| 69 | + codeview: 'شفيرة المصدر' | ||
| 70 | + }, | ||
| 71 | + paragraph: { | ||
| 72 | + paragraph: 'فقرة', | ||
| 73 | + outdent: 'محاذاة للخارج', | ||
| 74 | + indent: 'محاذاة للداخل', | ||
| 75 | + left: 'محاذاة لليسار', | ||
| 76 | + center: 'توسيط', | ||
| 77 | + right: 'محاذاة لليمين', | ||
| 78 | + justify: 'ملئ السطر' | ||
| 79 | + }, | ||
| 80 | + color: { | ||
| 81 | + recent: 'تم إستخدامه', | ||
| 82 | + more: 'المزيد', | ||
| 83 | + background: 'لون الخلفية', | ||
| 84 | + foreground: 'لون النص', | ||
| 85 | + transparent: 'شفاف', | ||
| 86 | + setTransparent: 'بدون خلفية', | ||
| 87 | + reset: 'إعادة الضبط', | ||
| 88 | + resetToDefault: 'إعادة الضبط' | ||
| 89 | + }, | ||
| 90 | + shortcut: { | ||
| 91 | + shortcuts: 'إختصارات', | ||
| 92 | + close: 'غلق', | ||
| 93 | + textFormatting: 'تنسيق النص', | ||
| 94 | + action: 'Action', | ||
| 95 | + paragraphFormatting: 'تنسيق الفقرة', | ||
| 96 | + documentStyle: 'تنسيق المستند' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'تراجع', | ||
| 100 | + redo: 'إعادة' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-bg-BG.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'bg-BG': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Удебелен', | ||
| 6 | + italic: 'Наклонен', | ||
| 7 | + underline: 'Подчертан', | ||
| 8 | + clear: 'Изчисти стиловете', | ||
| 9 | + height: 'Височина', | ||
| 10 | + name: 'Шрифт', | ||
| 11 | + strikethrough: 'Задраскано', | ||
| 12 | + subscript: 'Долен индекс', | ||
| 13 | + superscript: 'Горен индекс', | ||
| 14 | + size: 'Размер на шрифта' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Изображение', | ||
| 18 | + insert: 'Постави картинка', | ||
| 19 | + resizeFull: 'Цял размер', | ||
| 20 | + resizeHalf: 'Размер на 50%', | ||
| 21 | + resizeQuarter: 'Размер на 25%', | ||
| 22 | + floatLeft: 'Подравни в ляво', | ||
| 23 | + floatRight: 'Подравни в дясно', | ||
| 24 | + floatNone: 'Без подравняване', | ||
| 25 | + dragImageHere: 'Пуснете изображението тук', | ||
| 26 | + selectFromFiles: 'Изберете файл', | ||
| 27 | + url: 'URL адрес на изображение', | ||
| 28 | + remove: 'Премахни изображение' | ||
| 29 | + }, | ||
| 30 | + link: { | ||
| 31 | + link: 'Връзка', | ||
| 32 | + insert: 'Добави връзка', | ||
| 33 | + unlink: 'Премахни връзка', | ||
| 34 | + edit: 'Промени', | ||
| 35 | + textToDisplay: 'Текст за показване', | ||
| 36 | + url: 'URL адрес', | ||
| 37 | + openInNewWindow: 'Отвори в нов прозорец' | ||
| 38 | + }, | ||
| 39 | + table: { | ||
| 40 | + table: 'Таблица' | ||
| 41 | + }, | ||
| 42 | + hr: { | ||
| 43 | + insert: 'Добави хоризонтална линия' | ||
| 44 | + }, | ||
| 45 | + style: { | ||
| 46 | + style: 'Стил', | ||
| 47 | + p: 'Нормален', | ||
| 48 | + blockquote: 'Цитат', | ||
| 49 | + pre: 'Код', | ||
| 50 | + h1: 'Заглавие 1', | ||
| 51 | + h2: 'Заглавие 2', | ||
| 52 | + h3: 'Заглавие 3', | ||
| 53 | + h4: 'Заглавие 4', | ||
| 54 | + h5: 'Заглавие 5', | ||
| 55 | + h6: 'Заглавие 6' | ||
| 56 | + }, | ||
| 57 | + lists: { | ||
| 58 | + unordered: 'Символен списък', | ||
| 59 | + ordered: 'Цифров списък' | ||
| 60 | + }, | ||
| 61 | + options: { | ||
| 62 | + help: 'Помощ', | ||
| 63 | + fullscreen: 'На цял екран', | ||
| 64 | + codeview: 'Преглед на код' | ||
| 65 | + }, | ||
| 66 | + paragraph: { | ||
| 67 | + paragraph: 'Параграф', | ||
| 68 | + outdent: 'Намаляване на отстъпа', | ||
| 69 | + indent: 'Абзац', | ||
| 70 | + left: 'Подравняване в ляво', | ||
| 71 | + center: 'Център', | ||
| 72 | + right: 'Подравняване в дясно', | ||
| 73 | + justify: 'Разтягане по ширина' | ||
| 74 | + }, | ||
| 75 | + color: { | ||
| 76 | + recent: 'Последния избран цвят', | ||
| 77 | + more: 'Още цветове', | ||
| 78 | + background: 'Цвят на фона', | ||
| 79 | + foreground: 'Цвят на шрифта', | ||
| 80 | + transparent: 'Прозрачен', | ||
| 81 | + setTransparent: 'Направете прозрачен', | ||
| 82 | + reset: 'Възстанови', | ||
| 83 | + resetToDefault: 'Възстанови оригиналните' | ||
| 84 | + }, | ||
| 85 | + shortcut: { | ||
| 86 | + shortcuts: 'Клавишни комбинации', | ||
| 87 | + close: 'Затвори', | ||
| 88 | + textFormatting: 'Форматиране на текста', | ||
| 89 | + action: 'Действие', | ||
| 90 | + paragraphFormatting: 'Форматиране на параграф', | ||
| 91 | + documentStyle: 'Стил на документа' | ||
| 92 | + }, | ||
| 93 | + history: { | ||
| 94 | + undo: 'Назад', | ||
| 95 | + redo: 'Напред' | ||
| 96 | + } | ||
| 97 | + } | ||
| 98 | + }); | ||
| 99 | +})(jQuery); |
lib/summernote/lang/summernote-ca-ES.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'ca-ES': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Negreta', | ||
| 6 | + italic: 'Cursiva', | ||
| 7 | + underline: 'Subratllat', | ||
| 8 | + clear: 'Treure estil de lletra', | ||
| 9 | + height: 'Alçada de línia', | ||
| 10 | + name: 'Font', | ||
| 11 | + strikethrough: 'Ratllat', | ||
| 12 | + subscript: 'Subíndex', | ||
| 13 | + superscript: 'Superíndex', | ||
| 14 | + size: 'Mida de lletra' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Imatge', | ||
| 18 | + insert: 'Inserir imatge', | ||
| 19 | + resizeFull: 'Redimensionar a mida completa', | ||
| 20 | + resizeHalf: 'Redimensionar a la meitat', | ||
| 21 | + resizeQuarter: 'Redimensionar a un quart', | ||
| 22 | + floatLeft: 'Alinear a l\'esquerra', | ||
| 23 | + floatRight: 'Alinear a la dreta', | ||
| 24 | + floatNone: 'No alinear', | ||
| 25 | + shapeRounded: 'Forma: Arrodonit', | ||
| 26 | + shapeCircle: 'Forma: Cercle', | ||
| 27 | + shapeThumbnail: 'Forma: Marc', | ||
| 28 | + shapeNone: 'Forma: Cap', | ||
| 29 | + dragImageHere: 'Arrossegueu una imatge o text aquí', | ||
| 30 | + dropImage: 'Deixa anar aquí una imatge o un text', | ||
| 31 | + selectFromFiles: 'Seleccioneu des dels arxius', | ||
| 32 | + maximumFileSize: 'Mida màxima de l\'arxiu', | ||
| 33 | + maximumFileSizeError: 'La mida màxima de l\'arxiu s\'ha superat.', | ||
| 34 | + url: 'URL de la imatge', | ||
| 35 | + remove: 'Eliminar imatge' | ||
| 36 | + }, | ||
| 37 | + video: { | ||
| 38 | + video: 'Vídeo', | ||
| 39 | + videoLink: 'Enllaç del vídeo', | ||
| 40 | + insert: 'Inserir vídeo', | ||
| 41 | + url: 'URL del vídeo?', | ||
| 42 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)' | ||
| 43 | + }, | ||
| 44 | + link: { | ||
| 45 | + link: 'Enllaç', | ||
| 46 | + insert: 'Inserir enllaç', | ||
| 47 | + unlink: 'Treure enllaç', | ||
| 48 | + edit: 'Editar', | ||
| 49 | + textToDisplay: 'Text per mostrar', | ||
| 50 | + url: 'Cap a quina URL porta l\'enllaç?', | ||
| 51 | + openInNewWindow: 'Obrir en una finestra nova' | ||
| 52 | + }, | ||
| 53 | + table: { | ||
| 54 | + table: 'Taula' | ||
| 55 | + }, | ||
| 56 | + hr: { | ||
| 57 | + insert: 'Inserir línia horitzontal' | ||
| 58 | + }, | ||
| 59 | + style: { | ||
| 60 | + style: 'Estil', | ||
| 61 | + p: 'p', | ||
| 62 | + blockquote: 'Cita', | ||
| 63 | + pre: 'Codi', | ||
| 64 | + h1: 'Títol 1', | ||
| 65 | + h2: 'Títol 2', | ||
| 66 | + h3: 'Títol 3', | ||
| 67 | + h4: 'Títol 4', | ||
| 68 | + h5: 'Títol 5', | ||
| 69 | + h6: 'Títol 6' | ||
| 70 | + }, | ||
| 71 | + lists: { | ||
| 72 | + unordered: 'Llista desendreçada', | ||
| 73 | + ordered: 'Llista endreçada' | ||
| 74 | + }, | ||
| 75 | + options: { | ||
| 76 | + help: 'Ajut', | ||
| 77 | + fullscreen: 'Pantalla sencera', | ||
| 78 | + codeview: 'Veure codi font' | ||
| 79 | + }, | ||
| 80 | + paragraph: { | ||
| 81 | + paragraph: 'Paràgraf', | ||
| 82 | + outdent: 'Menys tabulació', | ||
| 83 | + indent: 'Més tabulació', | ||
| 84 | + left: 'Alinear a l\'esquerra', | ||
| 85 | + center: 'Alinear al mig', | ||
| 86 | + right: 'Alinear a la dreta', | ||
| 87 | + justify: 'Justificar' | ||
| 88 | + }, | ||
| 89 | + color: { | ||
| 90 | + recent: 'Últim color', | ||
| 91 | + more: 'Més colors', | ||
| 92 | + background: 'Color de fons', | ||
| 93 | + foreground: 'Color de lletra', | ||
| 94 | + transparent: 'Transparent', | ||
| 95 | + setTransparent: 'Establir transparent', | ||
| 96 | + reset: 'Restablir', | ||
| 97 | + resetToDefault: 'Restablir per defecte' | ||
| 98 | + }, | ||
| 99 | + shortcut: { | ||
| 100 | + shortcuts: 'Dreceres de teclat', | ||
| 101 | + close: 'Tancar', | ||
| 102 | + textFormatting: 'Format de text', | ||
| 103 | + action: 'Acció', | ||
| 104 | + paragraphFormatting: 'Format de paràgraf', | ||
| 105 | + documentStyle: 'Estil del document', | ||
| 106 | + extraKeys: 'Tecles adicionals' | ||
| 107 | + }, | ||
| 108 | + help : { | ||
| 109 | + 'insertParagraph': 'Inserir paràgraf', | ||
| 110 | + 'undo': 'Desfer l\'última acció', | ||
| 111 | + 'redo': 'Refer l\'última acció', | ||
| 112 | + 'tab': 'Tabular', | ||
| 113 | + 'untab': 'Eliminar tabulació', | ||
| 114 | + 'bold': 'Establir estil negreta', | ||
| 115 | + 'italic': 'Establir estil cursiva', | ||
| 116 | + 'underline': 'Establir estil subratllat', | ||
| 117 | + 'strikethrough': 'Establir estil ratllat', | ||
| 118 | + 'removeFormat': 'Netejar estil', | ||
| 119 | + 'justifyLeft': 'Alinear a l\'esquerra', | ||
| 120 | + 'justifyCenter': 'Alinear al centre', | ||
| 121 | + 'justifyRight': 'Alinear a la dreta', | ||
| 122 | + 'justifyFull': 'Justificar', | ||
| 123 | + 'insertUnorderedList': 'Inserir llista desendreçada', | ||
| 124 | + 'insertOrderedList': 'Inserir llista endreçada', | ||
| 125 | + 'outdent': 'Reduïr tabulació del paràgraf', | ||
| 126 | + 'indent': 'Augmentar tabulació del paràgraf', | ||
| 127 | + 'formatPara': 'Canviar l\'estil del bloc com a un paràgraf (etiqueta P)', | ||
| 128 | + 'formatH1': 'Canviar l\'estil del bloc com a un H1', | ||
| 129 | + 'formatH2': 'Canviar l\'estil del bloc com a un H2', | ||
| 130 | + 'formatH3': 'Canviar l\'estil del bloc com a un H3', | ||
| 131 | + 'formatH4': 'Canviar l\'estil del bloc com a un H4', | ||
| 132 | + 'formatH5': 'Canviar l\'estil del bloc com a un H5', | ||
| 133 | + 'formatH6': 'Canviar l\'estil del bloc com a un H6', | ||
| 134 | + 'insertHorizontalRule': 'Inserir una línia horitzontal', | ||
| 135 | + 'linkDialog.show': 'Mostrar panel d\'enllaços' | ||
| 136 | + }, | ||
| 137 | + history: { | ||
| 138 | + undo: 'Desfer', | ||
| 139 | + redo: 'Refer' | ||
| 140 | + }, | ||
| 141 | + specialChar: { | ||
| 142 | + specialChar: 'CARÀCTERS ESPECIALS', | ||
| 143 | + select: 'Selecciona caràcters especials' | ||
| 144 | + } | ||
| 145 | + } | ||
| 146 | + }); | ||
| 147 | +})(jQuery); |
lib/summernote/lang/summernote-cs-CZ.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'cs-CZ': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Tučné', | ||
| 6 | + italic: 'Kurzíva', | ||
| 7 | + underline: 'Podtržené', | ||
| 8 | + clear: 'Odstranit styl písma', | ||
| 9 | + height: 'Výška řádku', | ||
| 10 | + strikethrough: 'Přeškrtnuté', | ||
| 11 | + size: 'Velikost písma' | ||
| 12 | + }, | ||
| 13 | + image: { | ||
| 14 | + image: 'Obrázek', | ||
| 15 | + insert: 'Vložit obrázek', | ||
| 16 | + resizeFull: 'Původní velikost', | ||
| 17 | + resizeHalf: 'Poloviční velikost', | ||
| 18 | + resizeQuarter: 'Čtvrteční velikost', | ||
| 19 | + floatLeft: 'Umístit doleva', | ||
| 20 | + floatRight: 'Umístit doprava', | ||
| 21 | + floatNone: 'Neobtékat textem', | ||
| 22 | + dragImageHere: 'Přetáhnout sem obrázek', | ||
| 23 | + selectFromFiles: 'Vybrat soubor', | ||
| 24 | + url: 'URL obrázku' | ||
| 25 | + }, | ||
| 26 | + video: { | ||
| 27 | + video: 'Video', | ||
| 28 | + videoLink: 'Odkaz videa', | ||
| 29 | + insert: 'Vložit video', | ||
| 30 | + url: 'URL videa?', | ||
| 31 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion nebo Youku)' | ||
| 32 | + }, | ||
| 33 | + link: { | ||
| 34 | + link: 'Odkaz', | ||
| 35 | + insert: 'Vytvořit odkaz', | ||
| 36 | + unlink: 'Zrušit odkaz', | ||
| 37 | + edit: 'Upravit', | ||
| 38 | + textToDisplay: 'Zobrazovaný text', | ||
| 39 | + url: 'Na jaké URL má tento odkaz vést?', | ||
| 40 | + openInNewWindow: 'Otevřít v novém okně' | ||
| 41 | + }, | ||
| 42 | + table: { | ||
| 43 | + table: 'Tabulka' | ||
| 44 | + }, | ||
| 45 | + hr: { | ||
| 46 | + insert: 'Vložit vodorovnou čáru' | ||
| 47 | + }, | ||
| 48 | + style: { | ||
| 49 | + style: 'Styl', | ||
| 50 | + p: 'Normální', | ||
| 51 | + blockquote: 'Citace', | ||
| 52 | + pre: 'Kód', | ||
| 53 | + h1: 'Nadpis 1', | ||
| 54 | + h2: 'Nadpis 2', | ||
| 55 | + h3: 'Nadpis 3', | ||
| 56 | + h4: 'Nadpis 4', | ||
| 57 | + h5: 'Nadpis 5', | ||
| 58 | + h6: 'Nadpis 6' | ||
| 59 | + }, | ||
| 60 | + lists: { | ||
| 61 | + unordered: 'Odrážkový seznam', | ||
| 62 | + ordered: 'Číselný seznam' | ||
| 63 | + }, | ||
| 64 | + options: { | ||
| 65 | + help: 'Nápověda', | ||
| 66 | + fullscreen: 'Celá obrazovka', | ||
| 67 | + codeview: 'HTML kód' | ||
| 68 | + }, | ||
| 69 | + paragraph: { | ||
| 70 | + paragraph: 'Odstavec', | ||
| 71 | + outdent: 'Zvětšit odsazení', | ||
| 72 | + indent: 'Zmenšit odsazení', | ||
| 73 | + left: 'Zarovnat doleva', | ||
| 74 | + center: 'Zarovnat na střed', | ||
| 75 | + right: 'Zarovnat doprava', | ||
| 76 | + justify: 'Zarovnat oboustranně' | ||
| 77 | + }, | ||
| 78 | + color: { | ||
| 79 | + recent: 'Aktuální barva', | ||
| 80 | + more: 'Další barvy', | ||
| 81 | + background: 'Barva pozadí', | ||
| 82 | + foreground: 'Barva písma', | ||
| 83 | + transparent: 'Průhlednost', | ||
| 84 | + setTransparent: 'Nastavit průhlednost', | ||
| 85 | + reset: 'Obnovit', | ||
| 86 | + resetToDefault: 'Obnovit výchozí' | ||
| 87 | + }, | ||
| 88 | + shortcut: { | ||
| 89 | + shortcuts: 'Klávesové zkratky', | ||
| 90 | + close: 'Zavřít', | ||
| 91 | + textFormatting: 'Formátování textu', | ||
| 92 | + action: 'Akce', | ||
| 93 | + paragraphFormatting: 'Formátování odstavce', | ||
| 94 | + documentStyle: 'Styl dokumentu' | ||
| 95 | + }, | ||
| 96 | + history: { | ||
| 97 | + undo: 'Krok vzad', | ||
| 98 | + redo: 'Krok vpřed' | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + } | ||
| 102 | + }); | ||
| 103 | +})(jQuery); |
lib/summernote/lang/summernote-da-DK.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'da-DK': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Fed', | ||
| 6 | + italic: 'Kursiv', | ||
| 7 | + underline: 'Understreget', | ||
| 8 | + clear: 'Fjern formatering', | ||
| 9 | + height: 'Højde', | ||
| 10 | + name: 'Skrifttype', | ||
| 11 | + strikethrough: 'Gennemstreget', | ||
| 12 | + subscript: 'Sænket skrift', | ||
| 13 | + superscript: 'Hævet skrift', | ||
| 14 | + size: 'Skriftstørrelse' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Billede', | ||
| 18 | + insert: 'Indsæt billede', | ||
| 19 | + resizeFull: 'Original størrelse', | ||
| 20 | + resizeHalf: 'Halv størrelse', | ||
| 21 | + resizeQuarter: 'Kvart størrelse', | ||
| 22 | + floatLeft: 'Venstrestillet', | ||
| 23 | + floatRight: 'Højrestillet', | ||
| 24 | + floatNone: 'Fjern formatering', | ||
| 25 | + shapeRounded: 'Form: Runde kanter', | ||
| 26 | + shapeCircle: 'Form: Cirkel', | ||
| 27 | + shapeThumbnail: 'Form: Miniature', | ||
| 28 | + shapeNone: 'Form: Ingen', | ||
| 29 | + dragImageHere: 'Træk billede hertil', | ||
| 30 | + dropImage: 'Slip billede', | ||
| 31 | + selectFromFiles: 'Vælg billed-fil', | ||
| 32 | + maximumFileSize: 'Maks fil størrelse', | ||
| 33 | + maximumFileSizeError: 'Filen er større end maks tilladte fil størrelse!', | ||
| 34 | + url: 'Billede URL', | ||
| 35 | + remove: 'Fjern billede' | ||
| 36 | + }, | ||
| 37 | + video: { | ||
| 38 | + video: 'Video', | ||
| 39 | + videoLink: 'Video Link', | ||
| 40 | + insert: 'Indsæt Video', | ||
| 41 | + url: 'Video URL?', | ||
| 42 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)' | ||
| 43 | + }, | ||
| 44 | + link: { | ||
| 45 | + link: 'Link', | ||
| 46 | + insert: 'Indsæt link', | ||
| 47 | + unlink: 'Fjern link', | ||
| 48 | + edit: 'Rediger', | ||
| 49 | + textToDisplay: 'Visningstekst', | ||
| 50 | + url: 'Hvor skal linket pege hen?', | ||
| 51 | + openInNewWindow: 'Åbn i nyt vindue' | ||
| 52 | + }, | ||
| 53 | + table: { | ||
| 54 | + table: 'Tabel' | ||
| 55 | + }, | ||
| 56 | + hr: { | ||
| 57 | + insert: 'Indsæt horisontal linje' | ||
| 58 | + }, | ||
| 59 | + style: { | ||
| 60 | + style: 'Stil', | ||
| 61 | + p: 'p', | ||
| 62 | + blockquote: 'Citat', | ||
| 63 | + pre: 'Kode', | ||
| 64 | + h1: 'Overskrift 1', | ||
| 65 | + h2: 'Overskrift 2', | ||
| 66 | + h3: 'Overskrift 3', | ||
| 67 | + h4: 'Overskrift 4', | ||
| 68 | + h5: 'Overskrift 5', | ||
| 69 | + h6: 'Overskrift 6' | ||
| 70 | + }, | ||
| 71 | + lists: { | ||
| 72 | + unordered: 'Punktopstillet liste', | ||
| 73 | + ordered: 'Nummereret liste' | ||
| 74 | + }, | ||
| 75 | + options: { | ||
| 76 | + help: 'Hjælp', | ||
| 77 | + fullscreen: 'Fuld skærm', | ||
| 78 | + codeview: 'HTML-Visning' | ||
| 79 | + }, | ||
| 80 | + paragraph: { | ||
| 81 | + paragraph: 'Afsnit', | ||
| 82 | + outdent: 'Formindsk indryk', | ||
| 83 | + indent: 'Forøg indryk', | ||
| 84 | + left: 'Venstrestillet', | ||
| 85 | + center: 'Centreret', | ||
| 86 | + right: 'Højrestillet', | ||
| 87 | + justify: 'Blokjuster' | ||
| 88 | + }, | ||
| 89 | + color: { | ||
| 90 | + recent: 'Nyligt valgt farve', | ||
| 91 | + more: 'Flere farver', | ||
| 92 | + background: 'Baggrund', | ||
| 93 | + foreground: 'Forgrund', | ||
| 94 | + transparent: 'Transparent', | ||
| 95 | + setTransparent: 'Sæt transparent', | ||
| 96 | + reset: 'Nulstil', | ||
| 97 | + resetToDefault: 'Gendan standardindstillinger' | ||
| 98 | + }, | ||
| 99 | + shortcut: { | ||
| 100 | + shortcuts: 'Genveje', | ||
| 101 | + close: 'Luk', | ||
| 102 | + textFormatting: 'Tekstformatering', | ||
| 103 | + action: 'Handling', | ||
| 104 | + paragraphFormatting: 'Afsnitsformatering', | ||
| 105 | + documentStyle: 'Dokumentstil' | ||
| 106 | + }, | ||
| 107 | + history: { | ||
| 108 | + undo: 'Fortryd', | ||
| 109 | + redo: 'Annuller fortryd' | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + } | ||
| 113 | + }); | ||
| 114 | +})(jQuery); |
lib/summernote/lang/summernote-de-DE.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'de-DE': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Fett', | ||
| 6 | + italic: 'Kursiv', | ||
| 7 | + underline: 'Unterstreichen', | ||
| 8 | + clear: 'Zurücksetzen', | ||
| 9 | + height: 'Zeilenhöhe', | ||
| 10 | + strikethrough: 'Durchgestrichen', | ||
| 11 | + size: 'Schriftgröße' | ||
| 12 | + }, | ||
| 13 | + image: { | ||
| 14 | + image: 'Grafik', | ||
| 15 | + insert: 'Grafik einfügen', | ||
| 16 | + resizeFull: 'Originalgröße', | ||
| 17 | + resizeHalf: 'Größe 1/2', | ||
| 18 | + resizeQuarter: 'Größe 1/4', | ||
| 19 | + floatLeft: 'Linksbündig', | ||
| 20 | + floatRight: 'Rechtsbündig', | ||
| 21 | + floatNone: 'Kein Textfluss', | ||
| 22 | + shapeRounded: 'Rahmen: Abgerundet', | ||
| 23 | + shapeCircle: 'Rahmen: Kreisförmig', | ||
| 24 | + shapeThumbnail: 'Rahmen: Thumbnail', | ||
| 25 | + shapeNone: 'Kein Rahmen', | ||
| 26 | + dragImageHere: 'Ziehen Sie ein Bild mit der Maus hierher', | ||
| 27 | + selectFromFiles: 'Wählen Sie eine Datei aus', | ||
| 28 | + maximumFileSize: 'Maximale Dateigröße', | ||
| 29 | + maximumFileSizeError: 'Maximale Dateigröße überschritten', | ||
| 30 | + url: 'Grafik URL', | ||
| 31 | + remove: 'Grafik entfernen' | ||
| 32 | + }, | ||
| 33 | + video: { | ||
| 34 | + video: 'Video', | ||
| 35 | + videoLink: 'Video Link', | ||
| 36 | + insert: 'Video einfügen', | ||
| 37 | + url: 'Video URL?', | ||
| 38 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion oder Youku)' | ||
| 39 | + }, | ||
| 40 | + link: { | ||
| 41 | + link: 'Link', | ||
| 42 | + insert: 'Link einfügen', | ||
| 43 | + unlink: 'Link entfernen', | ||
| 44 | + edit: 'Editieren', | ||
| 45 | + textToDisplay: 'Anzeigetext', | ||
| 46 | + url: 'Ziel des Links?', | ||
| 47 | + openInNewWindow: 'In einem neuen Fenster öffnen' | ||
| 48 | + }, | ||
| 49 | + table: { | ||
| 50 | + table: 'Tabelle' | ||
| 51 | + }, | ||
| 52 | + hr: { | ||
| 53 | + insert: 'Eine horizontale Linie einfügen' | ||
| 54 | + }, | ||
| 55 | + style: { | ||
| 56 | + style: 'Stil', | ||
| 57 | + p: 'p', | ||
| 58 | + blockquote: 'Zitat', | ||
| 59 | + pre: 'Quellcode', | ||
| 60 | + h1: 'Überschrift 1', | ||
| 61 | + h2: 'Überschrift 2', | ||
| 62 | + h3: 'Überschrift 3', | ||
| 63 | + h4: 'Überschrift 4', | ||
| 64 | + h5: 'Überschrift 5', | ||
| 65 | + h6: 'Überschrift 6' | ||
| 66 | + }, | ||
| 67 | + lists: { | ||
| 68 | + unordered: 'Aufzählung', | ||
| 69 | + ordered: 'Nummerierung' | ||
| 70 | + }, | ||
| 71 | + options: { | ||
| 72 | + help: 'Hilfe', | ||
| 73 | + fullscreen: 'Vollbild', | ||
| 74 | + codeview: 'HTML-Code anzeigen' | ||
| 75 | + }, | ||
| 76 | + paragraph: { | ||
| 77 | + paragraph: 'Absatz', | ||
| 78 | + outdent: 'Einzug vergrößern', | ||
| 79 | + indent: 'Einzug verkleinern', | ||
| 80 | + left: 'Links ausrichten', | ||
| 81 | + center: 'Zentriert ausrichten', | ||
| 82 | + right: 'Rechts ausrichten', | ||
| 83 | + justify: 'Blocksatz' | ||
| 84 | + }, | ||
| 85 | + color: { | ||
| 86 | + recent: 'Letzte Farbe', | ||
| 87 | + more: 'Mehr Farben', | ||
| 88 | + background: 'Hintergrundfarbe', | ||
| 89 | + foreground: 'Schriftfarbe', | ||
| 90 | + transparent: 'Transparenz', | ||
| 91 | + setTransparent: 'Transparenz setzen', | ||
| 92 | + reset: 'Zurücksetzen', | ||
| 93 | + resetToDefault: 'Auf Standard zurücksetzen' | ||
| 94 | + }, | ||
| 95 | + shortcut: { | ||
| 96 | + shortcuts: 'Tastenkürzel', | ||
| 97 | + close: 'Schließen', | ||
| 98 | + textFormatting: 'Textformatierung', | ||
| 99 | + action: 'Aktion', | ||
| 100 | + paragraphFormatting: 'Absatzformatierung', | ||
| 101 | + documentStyle: 'Dokumentenstil' | ||
| 102 | + }, | ||
| 103 | + history: { | ||
| 104 | + undo: 'Rückgängig', | ||
| 105 | + redo: 'Wiederholen' | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + } | ||
| 109 | + }); | ||
| 110 | +})(jQuery); |
lib/summernote/lang/summernote-es-ES.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'es-ES': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Negrita', | ||
| 6 | + italic: 'Cursiva', | ||
| 7 | + underline: 'Subrayado', | ||
| 8 | + clear: 'Quitar estilo de fuente', | ||
| 9 | + height: 'Altura de línea', | ||
| 10 | + name: 'Fuente', | ||
| 11 | + strikethrough: 'Tachado', | ||
| 12 | + superscript: 'Superíndice', | ||
| 13 | + subscript: 'Subíndice', | ||
| 14 | + size: 'Tamaño de la fuente' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Imagen', | ||
| 18 | + insert: 'Insertar imagen', | ||
| 19 | + resizeFull: 'Redimensionar a tamaño completo', | ||
| 20 | + resizeHalf: 'Redimensionar a la mitad', | ||
| 21 | + resizeQuarter: 'Redimensionar a un cuarto', | ||
| 22 | + floatLeft: 'Flotar a la izquierda', | ||
| 23 | + floatRight: 'Flotar a la derecha', | ||
| 24 | + floatNone: 'No flotar', | ||
| 25 | + shapeRounded: 'Forma: Redondeado', | ||
| 26 | + shapeCircle: 'Forma: Círculo', | ||
| 27 | + shapeThumbnail: 'Forma: Marco', | ||
| 28 | + shapeNone: 'Forma: Ninguna', | ||
| 29 | + dragImageHere: 'Arrastrar una imagen o texto aquí', | ||
| 30 | + dropImage: 'Suelta la imagen o texto', | ||
| 31 | + selectFromFiles: 'Seleccionar desde los archivos', | ||
| 32 | + maximumFileSize: 'Tamaño máximo del archivo', | ||
| 33 | + maximumFileSizeError: 'Has superado el tamaño máximo del archivo.', | ||
| 34 | + url: 'URL de la imagen', | ||
| 35 | + remove: 'Eliminar imagen' | ||
| 36 | + }, | ||
| 37 | + video: { | ||
| 38 | + video: 'Vídeo', | ||
| 39 | + videoLink: 'Link del vídeo', | ||
| 40 | + insert: 'Insertar vídeo', | ||
| 41 | + url: '¿URL del vídeo?', | ||
| 42 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)' | ||
| 43 | + }, | ||
| 44 | + link: { | ||
| 45 | + link: 'Link', | ||
| 46 | + insert: 'Insertar link', | ||
| 47 | + unlink: 'Quitar link', | ||
| 48 | + edit: 'Editar', | ||
| 49 | + textToDisplay: 'Texto para mostrar', | ||
| 50 | + url: '¿Hacia que URL lleva el link?', | ||
| 51 | + openInNewWindow: 'Abrir en una nueva ventana' | ||
| 52 | + }, | ||
| 53 | + table: { | ||
| 54 | + table: 'Tabla' | ||
| 55 | + }, | ||
| 56 | + hr: { | ||
| 57 | + insert: 'Insertar línea horizontal' | ||
| 58 | + }, | ||
| 59 | + style: { | ||
| 60 | + style: 'Estilo', | ||
| 61 | + p: 'p', | ||
| 62 | + blockquote: 'Cita', | ||
| 63 | + pre: 'Código', | ||
| 64 | + h1: 'Título 1', | ||
| 65 | + h2: 'Título 2', | ||
| 66 | + h3: 'Título 3', | ||
| 67 | + h4: 'Título 4', | ||
| 68 | + h5: 'Título 5', | ||
| 69 | + h6: 'Título 6' | ||
| 70 | + }, | ||
| 71 | + lists: { | ||
| 72 | + unordered: 'Lista desordenada', | ||
| 73 | + ordered: 'Lista ordenada' | ||
| 74 | + }, | ||
| 75 | + options: { | ||
| 76 | + help: 'Ayuda', | ||
| 77 | + fullscreen: 'Pantalla completa', | ||
| 78 | + codeview: 'Ver código fuente' | ||
| 79 | + }, | ||
| 80 | + paragraph: { | ||
| 81 | + paragraph: 'Párrafo', | ||
| 82 | + outdent: 'Menos tabulación', | ||
| 83 | + indent: 'Más tabulación', | ||
| 84 | + left: 'Alinear a la izquierda', | ||
| 85 | + center: 'Alinear al centro', | ||
| 86 | + right: 'Alinear a la derecha', | ||
| 87 | + justify: 'Justificar' | ||
| 88 | + }, | ||
| 89 | + color: { | ||
| 90 | + recent: 'Último color', | ||
| 91 | + more: 'Más colores', | ||
| 92 | + background: 'Color de fondo', | ||
| 93 | + foreground: 'Color de fuente', | ||
| 94 | + transparent: 'Transparente', | ||
| 95 | + setTransparent: 'Establecer transparente', | ||
| 96 | + reset: 'Restaurar', | ||
| 97 | + resetToDefault: 'Restaurar por defecto' | ||
| 98 | + }, | ||
| 99 | + shortcut: { | ||
| 100 | + shortcuts: 'Atajos de teclado', | ||
| 101 | + close: 'Cerrar', | ||
| 102 | + textFormatting: 'Formato de texto', | ||
| 103 | + action: 'Acción', | ||
| 104 | + paragraphFormatting: 'Formato de párrafo', | ||
| 105 | + documentStyle: 'Estilo de documento', | ||
| 106 | + extraKeys: 'Teclas adicionales' | ||
| 107 | + }, | ||
| 108 | + help : { | ||
| 109 | + 'insertParagraph': 'Insertar párrafo', | ||
| 110 | + 'undo': 'Deshacer última acción', | ||
| 111 | + 'redo': 'Rehacer última acción', | ||
| 112 | + 'tab': 'Tabular', | ||
| 113 | + 'untab': 'Eliminar tabulación', | ||
| 114 | + 'bold': 'Establecer estilo negrita', | ||
| 115 | + 'italic': 'Establecer estilo cursiva', | ||
| 116 | + 'underline': 'Establecer estilo subrayado', | ||
| 117 | + 'strikethrough': 'Establecer estilo tachado', | ||
| 118 | + 'removeFormat': 'Limpiar estilo', | ||
| 119 | + 'justifyLeft': 'Alinear a la izquierda', | ||
| 120 | + 'justifyCenter': 'Alinear al centro', | ||
| 121 | + 'justifyRight': 'Alinear a la derecha', | ||
| 122 | + 'justifyFull': 'Justificar', | ||
| 123 | + 'insertUnorderedList': 'Insertar lista desordenada', | ||
| 124 | + 'insertOrderedList': 'Insertar lista ordenada', | ||
| 125 | + 'outdent': 'Reducir tabulación del párrafo', | ||
| 126 | + 'indent': 'Aumentar tabulación del párrafo', | ||
| 127 | + 'formatPara': 'Cambiar estilo del bloque a párrafo (etiqueta P)', | ||
| 128 | + 'formatH1': 'Cambiar estilo del bloque a H1', | ||
| 129 | + 'formatH2': 'Cambiar estilo del bloque a H2', | ||
| 130 | + 'formatH3': 'Cambiar estilo del bloque a H3', | ||
| 131 | + 'formatH4': 'Cambiar estilo del bloque a H4', | ||
| 132 | + 'formatH5': 'Cambiar estilo del bloque a H5', | ||
| 133 | + 'formatH6': 'Cambiar estilo del bloque a H6', | ||
| 134 | + 'insertHorizontalRule': 'Insertar línea horizontal', | ||
| 135 | + 'linkDialog.show': 'Mostrar panel enlaces' | ||
| 136 | + }, | ||
| 137 | + history: { | ||
| 138 | + undo: 'Deshacer', | ||
| 139 | + redo: 'Rehacer' | ||
| 140 | + }, | ||
| 141 | + specialChar: { | ||
| 142 | + specialChar: 'CARACTERES ESPECIALES', | ||
| 143 | + select: 'Selecciona Caracteres especiales' | ||
| 144 | + } | ||
| 145 | + } | ||
| 146 | + }); | ||
| 147 | +})(jQuery); |
lib/summernote/lang/summernote-es-EU.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'es-EU': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Lodia', | ||
| 6 | + italic: 'Etzana', | ||
| 7 | + underline: 'Azpimarratua', | ||
| 8 | + clear: 'Estiloa kendu', | ||
| 9 | + height: 'Lerro altuera', | ||
| 10 | + name: 'Tipografia', | ||
| 11 | + strikethrough: 'Marratua', | ||
| 12 | + size: 'Letren neurria' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Irudia', | ||
| 16 | + insert: 'Irudi bat txertatu', | ||
| 17 | + resizeFull: 'Jatorrizko neurrira aldatu', | ||
| 18 | + resizeHalf: 'Neurria erdira aldatu', | ||
| 19 | + resizeQuarter: 'Neurria laurdenera aldatu', | ||
| 20 | + floatLeft: 'Ezkerrean kokatu', | ||
| 21 | + floatRight: 'Eskuinean kokatu', | ||
| 22 | + floatNone: 'Kokapenik ez ezarri', | ||
| 23 | + dragImageHere: 'Irudi bat ezarri hemen', | ||
| 24 | + selectFromFiles: 'Zure fitxategi bat aukeratu', | ||
| 25 | + url: 'Irudiaren URL helbidea' | ||
| 26 | + }, | ||
| 27 | + video: { | ||
| 28 | + video: 'Bideoa', | ||
| 29 | + videoLink: 'Bideorako esteka', | ||
| 30 | + insert: 'Bideo berri bat txertatu', | ||
| 31 | + url: 'Bideoaren URL helbidea', | ||
| 32 | + providers: '(YouTube, Vimeo, Vine, Instagram edo DailyMotion)' | ||
| 33 | + }, | ||
| 34 | + link: { | ||
| 35 | + link: 'Esteka', | ||
| 36 | + insert: 'Esteka bat txertatu', | ||
| 37 | + unlink: 'Esteka ezabatu', | ||
| 38 | + edit: 'Editatu', | ||
| 39 | + textToDisplay: 'Estekaren testua', | ||
| 40 | + url: 'Estekaren URL helbidea', | ||
| 41 | + openInNewWindow: 'Leiho berri batean ireki' | ||
| 42 | + }, | ||
| 43 | + table: { | ||
| 44 | + table: 'Taula' //Tabla | ||
| 45 | + }, | ||
| 46 | + hr: { | ||
| 47 | + insert: 'Marra horizontala txertatu' //Insertar línea horizontal | ||
| 48 | + }, | ||
| 49 | + style: { | ||
| 50 | + style: 'Estiloa', | ||
| 51 | + p: 'p', | ||
| 52 | + blockquote: 'Aipamena', | ||
| 53 | + pre: 'Kodea', | ||
| 54 | + h1: '1. izenburua', | ||
| 55 | + h2: '2. izenburua', | ||
| 56 | + h3: '3. izenburua', | ||
| 57 | + h4: '4. izenburua', | ||
| 58 | + h5: '5. izenburua', | ||
| 59 | + h6: '6. izenburua' | ||
| 60 | + }, | ||
| 61 | + lists: { | ||
| 62 | + unordered: 'Ordenatu gabeko zerrenda', | ||
| 63 | + ordered: 'Zerrenda ordenatua' | ||
| 64 | + }, | ||
| 65 | + options: { | ||
| 66 | + help: 'Laguntza', | ||
| 67 | + fullscreen: 'Pantaila osoa', | ||
| 68 | + codeview: 'Kodea ikusi' | ||
| 69 | + }, | ||
| 70 | + paragraph: { | ||
| 71 | + paragraph: 'Paragrafoa', | ||
| 72 | + outdent: 'Koska txikiagoa', | ||
| 73 | + indent: 'Koska handiagoa', | ||
| 74 | + left: 'Ezkerrean kokatu', | ||
| 75 | + center: 'Erdian kokatu', | ||
| 76 | + right: 'Eskuinean kokatu', | ||
| 77 | + justify: 'Justifikatu' | ||
| 78 | + }, | ||
| 79 | + color: { | ||
| 80 | + recent: 'Azken kolorea', | ||
| 81 | + more: 'Kolore gehiago', | ||
| 82 | + background: 'Atzeko planoa', | ||
| 83 | + foreground: 'Aurreko planoa', | ||
| 84 | + transparent: 'Gardena', | ||
| 85 | + setTransparent: 'Gardendu', | ||
| 86 | + reset: 'Lehengoratu', | ||
| 87 | + resetToDefault: 'Berrezarri lehenetsia' | ||
| 88 | + }, | ||
| 89 | + shortcut: { | ||
| 90 | + shortcuts: 'Lasterbideak', | ||
| 91 | + close: 'Itxi', | ||
| 92 | + textFormatting: 'Testuaren formatua', | ||
| 93 | + action: 'Ekintza', | ||
| 94 | + paragraphFormatting: 'Paragrafoaren formatua', | ||
| 95 | + documentStyle: 'Dokumentuaren estiloa' | ||
| 96 | + }, | ||
| 97 | + history: { | ||
| 98 | + undo: 'Desegin', | ||
| 99 | + redo: 'Berregin' | ||
| 100 | + } | ||
| 101 | + } | ||
| 102 | + }); | ||
| 103 | +})(jQuery); |
lib/summernote/lang/summernote-fa-IR.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'fa-IR': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'درشت', | ||
| 6 | + italic: 'خمیده', | ||
| 7 | + underline: 'میان خط', | ||
| 8 | + clear: 'پاک کردن فرمت فونت', | ||
| 9 | + height: 'فاصله ی خطی', | ||
| 10 | + name: 'اسم فونت', | ||
| 11 | + strikethrough: 'Strike', | ||
| 12 | + size: 'اندازه ی فونت' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'تصویر', | ||
| 16 | + insert: 'وارد کردن تصویر', | ||
| 17 | + resizeFull: 'تغییر به اندازه ی کامل', | ||
| 18 | + resizeHalf: 'تغییر به اندازه نصف', | ||
| 19 | + resizeQuarter: 'تغییر به اندازه یک چهارم', | ||
| 20 | + floatLeft: 'چسباندن به چپ', | ||
| 21 | + floatRight: 'چسباندن به راست', | ||
| 22 | + floatNone: 'بدون چسبندگی', | ||
| 23 | + dragImageHere: 'یک تصویر را اینجا بکشید', | ||
| 24 | + selectFromFiles: 'فایل ها را انتخاب کنید', | ||
| 25 | + url: 'آدرس تصویر', | ||
| 26 | + remove: 'حذف تصویر' | ||
| 27 | + }, | ||
| 28 | + video: { | ||
| 29 | + video: 'ویدیو', | ||
| 30 | + videoLink: 'لینک ویدیو', | ||
| 31 | + insert: 'افزودن ویدیو', | ||
| 32 | + url: 'آدرس ویدیو ؟', | ||
| 33 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion یا Youku)' | ||
| 34 | + }, | ||
| 35 | + link: { | ||
| 36 | + link: 'لینک', | ||
| 37 | + insert: 'اضافه کردن لینک', | ||
| 38 | + unlink: 'حذف لینک', | ||
| 39 | + edit: 'ویرایش', | ||
| 40 | + textToDisplay: 'متن جهت نمایش', | ||
| 41 | + url: 'این لینک به چه آدرسی باید برود ؟', | ||
| 42 | + openInNewWindow: 'در یک پنجره ی جدید باز شود' | ||
| 43 | + }, | ||
| 44 | + table: { | ||
| 45 | + table: 'جدول' | ||
| 46 | + }, | ||
| 47 | + hr: { | ||
| 48 | + insert: 'افزودن خط افقی' | ||
| 49 | + }, | ||
| 50 | + style: { | ||
| 51 | + style: 'استیل', | ||
| 52 | + p: 'نرمال', | ||
| 53 | + blockquote: 'نقل قول', | ||
| 54 | + pre: 'کد', | ||
| 55 | + h1: 'سرتیتر 1', | ||
| 56 | + h2: 'سرتیتر 2', | ||
| 57 | + h3: 'سرتیتر 3', | ||
| 58 | + h4: 'سرتیتر 4', | ||
| 59 | + h5: 'سرتیتر 5', | ||
| 60 | + h6: 'سرتیتر 6' | ||
| 61 | + }, | ||
| 62 | + lists: { | ||
| 63 | + unordered: 'لیست غیر ترتیبی', | ||
| 64 | + ordered: 'لیست ترتیبی' | ||
| 65 | + }, | ||
| 66 | + options: { | ||
| 67 | + help: 'راهنما', | ||
| 68 | + fullscreen: 'نمایش تمام صفحه', | ||
| 69 | + codeview: 'مشاهده ی کد' | ||
| 70 | + }, | ||
| 71 | + paragraph: { | ||
| 72 | + paragraph: 'پاراگراف', | ||
| 73 | + outdent: 'کاهش تو رفتگی', | ||
| 74 | + indent: 'افزایش تو رفتگی', | ||
| 75 | + left: 'چپ چین', | ||
| 76 | + center: 'میان چین', | ||
| 77 | + right: 'راست چین', | ||
| 78 | + justify: 'بلوک چین' | ||
| 79 | + }, | ||
| 80 | + color: { | ||
| 81 | + recent: 'رنگ اخیرا استفاده شده', | ||
| 82 | + more: 'رنگ بیشتر', | ||
| 83 | + background: 'رنگ پس زمینه', | ||
| 84 | + foreground: 'رنگ متن', | ||
| 85 | + transparent: 'بی رنگ', | ||
| 86 | + setTransparent: 'تنظیم حالت بی رنگ', | ||
| 87 | + reset: 'بازنشاندن', | ||
| 88 | + resetToDefault: 'حالت پیش فرض' | ||
| 89 | + }, | ||
| 90 | + shortcut: { | ||
| 91 | + shortcuts: 'دکمه های میان بر', | ||
| 92 | + close: 'بستن', | ||
| 93 | + textFormatting: 'فرمت متن', | ||
| 94 | + action: 'عملیات', | ||
| 95 | + paragraphFormatting: 'فرمت پاراگراف', | ||
| 96 | + documentStyle: 'استیل سند' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'واچیدن', | ||
| 100 | + redo: 'بازچیدن' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); | ||
| 105 | + |
lib/summernote/lang/summernote-fi-FI.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'fi-FI': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Lihavoitu', | ||
| 6 | + italic: 'Kursiivi', | ||
| 7 | + underline: 'Alleviivaa', | ||
| 8 | + clear: 'Tyhjennä muotoilu', | ||
| 9 | + height: 'Riviväli', | ||
| 10 | + name: 'Kirjasintyyppi', | ||
| 11 | + strikethrough: 'Yliviivaus', | ||
| 12 | + size: 'Kirjasinkoko' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Kuva', | ||
| 16 | + insert: 'Lisää kuva', | ||
| 17 | + resizeFull: 'Koko leveys', | ||
| 18 | + resizeHalf: 'Puolikas leveys', | ||
| 19 | + resizeQuarter: 'Neljäsosa leveys', | ||
| 20 | + floatLeft: 'Sijoita vasemmalle', | ||
| 21 | + floatRight: 'Sijoita oikealle', | ||
| 22 | + floatNone: 'Ei sijoitusta', | ||
| 23 | + dragImageHere: 'Vedä kuva tähän', | ||
| 24 | + selectFromFiles: 'Valitse tiedostoista', | ||
| 25 | + url: 'URL-osoitteen mukaan', | ||
| 26 | + remove: 'Poista kuva' | ||
| 27 | + }, | ||
| 28 | + video: { | ||
| 29 | + video: 'Video', | ||
| 30 | + videoLink: 'Linkki videoon', | ||
| 31 | + insert: 'Lisää video', | ||
| 32 | + url: 'Videon URL-osoite?', | ||
| 33 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion tai Youku)' | ||
| 34 | + }, | ||
| 35 | + link: { | ||
| 36 | + link: 'Linkki', | ||
| 37 | + insert: 'Lisää linkki', | ||
| 38 | + unlink: 'Poista linkki', | ||
| 39 | + edit: 'Muokkaa', | ||
| 40 | + textToDisplay: 'Näytettävä teksti', | ||
| 41 | + url: 'Linkin URL-osoite?', | ||
| 42 | + openInNewWindow: 'Avaa uudessa ikkunassa' | ||
| 43 | + }, | ||
| 44 | + table: { | ||
| 45 | + table: 'Taulukko' | ||
| 46 | + }, | ||
| 47 | + hr: { | ||
| 48 | + insert: 'Lisää vaakaviiva' | ||
| 49 | + }, | ||
| 50 | + style: { | ||
| 51 | + style: 'Tyyli', | ||
| 52 | + p: 'Normaali', | ||
| 53 | + blockquote: 'Lainaus', | ||
| 54 | + pre: 'Koodi', | ||
| 55 | + h1: 'Otsikko 1', | ||
| 56 | + h2: 'Otsikko 2', | ||
| 57 | + h3: 'Otsikko 3', | ||
| 58 | + h4: 'Otsikko 4', | ||
| 59 | + h5: 'Otsikko 5', | ||
| 60 | + h6: 'Otsikko 6' | ||
| 61 | + }, | ||
| 62 | + lists: { | ||
| 63 | + unordered: 'Luettelomerkitty luettelo', | ||
| 64 | + ordered: 'Numeroitu luettelo' | ||
| 65 | + }, | ||
| 66 | + options: { | ||
| 67 | + help: 'Ohje', | ||
| 68 | + fullscreen: 'Koko näyttö', | ||
| 69 | + codeview: 'HTML-näkymä' | ||
| 70 | + }, | ||
| 71 | + paragraph: { | ||
| 72 | + paragraph: 'Kappale', | ||
| 73 | + outdent: 'Pienennä sisennystä', | ||
| 74 | + indent: 'Suurenna sisennystä', | ||
| 75 | + left: 'Tasaus vasemmalle', | ||
| 76 | + center: 'Keskitä', | ||
| 77 | + right: 'Tasaus oikealle', | ||
| 78 | + justify: 'Tasaa' | ||
| 79 | + }, | ||
| 80 | + color: { | ||
| 81 | + recent: 'Viimeisin väri', | ||
| 82 | + more: 'Lisää värejä', | ||
| 83 | + background: 'Taustaväri', | ||
| 84 | + foreground: 'Tekstin väri', | ||
| 85 | + transparent: 'Läpinäkyvä', | ||
| 86 | + setTransparent: 'Aseta läpinäkyväksi', | ||
| 87 | + reset: 'Palauta', | ||
| 88 | + resetToDefault: 'Palauta oletusarvoksi' | ||
| 89 | + }, | ||
| 90 | + shortcut: { | ||
| 91 | + shortcuts: 'Pikanäppäimet', | ||
| 92 | + close: 'Sulje', | ||
| 93 | + textFormatting: 'Tekstin muotoilu', | ||
| 94 | + action: 'Toiminto', | ||
| 95 | + paragraphFormatting: 'Kappaleen muotoilu', | ||
| 96 | + documentStyle: 'Asiakirjan tyyli' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'Kumoa', | ||
| 100 | + redo: 'Toista' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-fr-FR.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'fr-FR': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Gras', | ||
| 6 | + italic: 'Italique', | ||
| 7 | + underline: 'Souligné', | ||
| 8 | + clear: 'Effacer la mise en forme', | ||
| 9 | + height: 'Interligne', | ||
| 10 | + name: 'Famille de police', | ||
| 11 | + strikethrough: 'Barré', | ||
| 12 | + superscript: 'Exposant', | ||
| 13 | + subscript: 'Indice', | ||
| 14 | + size: 'Taille de police' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Image', | ||
| 18 | + insert: 'Insérer une image', | ||
| 19 | + resizeFull: 'Taille originale', | ||
| 20 | + resizeHalf: 'Redimensionner à 50 %', | ||
| 21 | + resizeQuarter: 'Redimensionner à 25 %', | ||
| 22 | + floatLeft: 'Aligné à gauche', | ||
| 23 | + floatRight: 'Aligné à droite', | ||
| 24 | + floatNone: 'Pas d\'alignement', | ||
| 25 | + shapeRounded: 'Forme: Rectangle arrondie', | ||
| 26 | + shapeCircle: 'Forme: Cercle', | ||
| 27 | + shapeThumbnail: 'Forme: Vignette', | ||
| 28 | + shapeNone: 'Forme: Aucune', | ||
| 29 | + dragImageHere: 'Faites glisser une image ou un texte dans ce cadre', | ||
| 30 | + dropImage: 'Lachez l\'image ou le texte', | ||
| 31 | + selectFromFiles: 'Choisir un fichier', | ||
| 32 | + maximumFileSize: 'Taille de fichier maximale', | ||
| 33 | + maximumFileSizeError: 'Taille maximale du fichier dépassée', | ||
| 34 | + url: 'URL de l\'image', | ||
| 35 | + remove: 'Supprimer l\'image' | ||
| 36 | + }, | ||
| 37 | + video: { | ||
| 38 | + video: 'Vidéo', | ||
| 39 | + videoLink: 'Lien vidéo', | ||
| 40 | + insert: 'Insérer une vidéo', | ||
| 41 | + url: 'URL de la vidéo', | ||
| 42 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)' | ||
| 43 | + }, | ||
| 44 | + link: { | ||
| 45 | + link: 'Lien', | ||
| 46 | + insert: 'Insérer un lien', | ||
| 47 | + unlink: 'Supprimer un lien', | ||
| 48 | + edit: 'Modifier', | ||
| 49 | + textToDisplay: 'Texte à afficher', | ||
| 50 | + url: 'URL du lien', | ||
| 51 | + openInNewWindow: 'Ouvrir dans une nouvelle fenêtre' | ||
| 52 | + }, | ||
| 53 | + table: { | ||
| 54 | + table: 'Tableau' | ||
| 55 | + }, | ||
| 56 | + hr: { | ||
| 57 | + insert: 'Insérer une ligne horizontale' | ||
| 58 | + }, | ||
| 59 | + style: { | ||
| 60 | + style: 'Style', | ||
| 61 | + p: 'p', | ||
| 62 | + blockquote: 'Citation', | ||
| 63 | + pre: 'Code source', | ||
| 64 | + h1: 'Titre 1', | ||
| 65 | + h2: 'Titre 2', | ||
| 66 | + h3: 'Titre 3', | ||
| 67 | + h4: 'Titre 4', | ||
| 68 | + h5: 'Titre 5', | ||
| 69 | + h6: 'Titre 6' | ||
| 70 | + }, | ||
| 71 | + lists: { | ||
| 72 | + unordered: 'Liste à puces', | ||
| 73 | + ordered: 'Liste numérotée' | ||
| 74 | + }, | ||
| 75 | + options: { | ||
| 76 | + help: 'Aide', | ||
| 77 | + fullscreen: 'Plein écran', | ||
| 78 | + codeview: 'Afficher le code HTML' | ||
| 79 | + }, | ||
| 80 | + paragraph: { | ||
| 81 | + paragraph: 'Paragraphe', | ||
| 82 | + outdent: 'Diminuer le retrait', | ||
| 83 | + indent: 'Augmenter le retrait', | ||
| 84 | + left: 'Aligner à gauche', | ||
| 85 | + center: 'Centrer', | ||
| 86 | + right: 'Aligner à droite', | ||
| 87 | + justify: 'Justifier' | ||
| 88 | + }, | ||
| 89 | + color: { | ||
| 90 | + recent: 'Dernière couleur sélectionnée', | ||
| 91 | + more: 'Plus de couleurs', | ||
| 92 | + background: 'Couleur de fond', | ||
| 93 | + foreground: 'Couleur de police', | ||
| 94 | + transparent: 'Transparent', | ||
| 95 | + setTransparent: 'Définir la transparence', | ||
| 96 | + reset: 'Restaurer', | ||
| 97 | + resetToDefault: 'Restaurer la couleur par défaut' | ||
| 98 | + }, | ||
| 99 | + shortcut: { | ||
| 100 | + shortcuts: 'Raccourcis', | ||
| 101 | + close: 'Fermer', | ||
| 102 | + textFormatting: 'Mise en forme du texte', | ||
| 103 | + action: 'Action', | ||
| 104 | + paragraphFormatting: 'Mise en forme des paragraphes', | ||
| 105 | + documentStyle: 'Style du document', | ||
| 106 | + extraKeys: 'Touches supplémentaires' | ||
| 107 | + }, | ||
| 108 | + history: { | ||
| 109 | + undo: 'Annuler la dernière action', | ||
| 110 | + redo: 'Restaurer la dernière action annulée' | ||
| 111 | + } | ||
| 112 | + | ||
| 113 | + } | ||
| 114 | + }); | ||
| 115 | +})(jQuery); |
lib/summernote/lang/summernote-gl-ES.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'gl-ES': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Negrita', | ||
| 6 | + italic: 'Cursiva', | ||
| 7 | + underline: 'Subliñado', | ||
| 8 | + clear: 'Quitar estilo de fonte', | ||
| 9 | + height: 'Altura de liña', | ||
| 10 | + name: 'Fonte', | ||
| 11 | + strikethrough: 'Riscado', | ||
| 12 | + superscript: 'Superíndice', | ||
| 13 | + subscript: 'Subíndice', | ||
| 14 | + size: 'Tamaño da fonte' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Imaxe', | ||
| 18 | + insert: 'Inserir imaxe', | ||
| 19 | + resizeFull: 'Redimensionar a tamaño completo', | ||
| 20 | + resizeHalf: 'Redimensionar á metade', | ||
| 21 | + resizeQuarter: 'Redimensionar a un cuarto', | ||
| 22 | + floatLeft: 'Flotar á esquerda', | ||
| 23 | + floatRight: 'Flotar á dereita', | ||
| 24 | + floatNone: 'Non flotar', | ||
| 25 | + shapeRounded: 'Forma: Redondeado', | ||
| 26 | + shapeCircle: 'Forma: Círculo', | ||
| 27 | + shapeThumbnail: 'Forma: Marco', | ||
| 28 | + shapeNone: 'Forma: Ningunha', | ||
| 29 | + dragImageHere: 'Arrastrar unha imaxe ou texto aquí', | ||
| 30 | + dropImage: 'Solta a imaxe ou texto', | ||
| 31 | + selectFromFiles: 'Seleccionar desde os arquivos', | ||
| 32 | + maximumFileSize: 'Tamaño máximo do arquivo', | ||
| 33 | + maximumFileSizeError: 'Superaches o tamaño máximo do arquivo.', | ||
| 34 | + url: 'URL da imaxe', | ||
| 35 | + remove: 'Eliminar imaxe' | ||
| 36 | + }, | ||
| 37 | + video: { | ||
| 38 | + video: 'Vídeo', | ||
| 39 | + videoLink: 'Ligazón do vídeo', | ||
| 40 | + insert: 'Insertar vídeo', | ||
| 41 | + url: 'URL do vídeo?', | ||
| 42 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, o Youku)' | ||
| 43 | + }, | ||
| 44 | + link: { | ||
| 45 | + link: 'Ligazón', | ||
| 46 | + insert: 'Inserir Ligazón', | ||
| 47 | + unlink: 'Quitar Ligazón', | ||
| 48 | + edit: 'Editar', | ||
| 49 | + textToDisplay: 'Texto para amosar', | ||
| 50 | + url: 'Cara a que URL leva a ligazón?', | ||
| 51 | + openInNewWindow: 'Abrir nunha nova xanela' | ||
| 52 | + }, | ||
| 53 | + table: { | ||
| 54 | + table: 'Táboa' | ||
| 55 | + }, | ||
| 56 | + hr: { | ||
| 57 | + insert: 'Inserir liña horizontal' | ||
| 58 | + }, | ||
| 59 | + style: { | ||
| 60 | + style: 'Estilo', | ||
| 61 | + normal: 'Normal', | ||
| 62 | + blockquote: 'Cita', | ||
| 63 | + pre: 'Código', | ||
| 64 | + h1: 'Título 1', | ||
| 65 | + h2: 'Título 2', | ||
| 66 | + h3: 'Título 3', | ||
| 67 | + h4: 'Título 4', | ||
| 68 | + h5: 'Título 5', | ||
| 69 | + h6: 'Título 6' | ||
| 70 | + }, | ||
| 71 | + lists: { | ||
| 72 | + unordered: 'Lista desordenada', | ||
| 73 | + ordered: 'Lista ordenada' | ||
| 74 | + }, | ||
| 75 | + options: { | ||
| 76 | + help: 'Axuda', | ||
| 77 | + fullscreen: 'Pantalla completa', | ||
| 78 | + codeview: 'Ver código fonte' | ||
| 79 | + }, | ||
| 80 | + paragraph: { | ||
| 81 | + paragraph: 'Parágrafo', | ||
| 82 | + outdent: 'Menos tabulación', | ||
| 83 | + indent: 'Máis tabulación', | ||
| 84 | + left: 'Aliñar á esquerda', | ||
| 85 | + center: 'Aliñar ao centro', | ||
| 86 | + right: 'Aliñar á dereita', | ||
| 87 | + justify: 'Xustificar' | ||
| 88 | + }, | ||
| 89 | + color: { | ||
| 90 | + recent: 'Última cor', | ||
| 91 | + more: 'Máis cores', | ||
| 92 | + background: 'Cor de fondo', | ||
| 93 | + foreground: 'Cor de fuente', | ||
| 94 | + transparent: 'Transparente', | ||
| 95 | + setTransparent: 'Establecer transparente', | ||
| 96 | + reset: 'Restaurar', | ||
| 97 | + resetToDefault: 'Restaurar por defecto' | ||
| 98 | + }, | ||
| 99 | + shortcut: { | ||
| 100 | + shortcuts: 'Atallos de teclado', | ||
| 101 | + close: 'Pechar', | ||
| 102 | + textFormatting: 'Formato de texto', | ||
| 103 | + action: 'Acción', | ||
| 104 | + paragraphFormatting: 'Formato de parágrafo', | ||
| 105 | + documentStyle: 'Estilo de documento', | ||
| 106 | + extraKeys: 'Teclas adicionais' | ||
| 107 | + }, | ||
| 108 | + help : { | ||
| 109 | + 'insertParagraph': 'Inserir parágrafo', | ||
| 110 | + 'undo': 'Desfacer última acción', | ||
| 111 | + 'redo': 'Refacer última acción', | ||
| 112 | + 'tab': 'Tabular', | ||
| 113 | + 'untab': 'Eliminar tabulación', | ||
| 114 | + 'bold': 'Establecer estilo negrita', | ||
| 115 | + 'italic': 'Establecer estilo cursiva', | ||
| 116 | + 'underline': 'Establecer estilo subliñado', | ||
| 117 | + 'strikethrough': 'Establecer estilo riscado', | ||
| 118 | + 'removeFormat': 'Limpar estilo', | ||
| 119 | + 'justifyLeft': 'Aliñar á esquerda', | ||
| 120 | + 'justifyCenter': 'Aliñar ao centro', | ||
| 121 | + 'justifyRight': 'Aliñar á dereita', | ||
| 122 | + 'justifyFull': 'Xustificar', | ||
| 123 | + 'insertUnorderedList': 'Inserir lista desordenada', | ||
| 124 | + 'insertOrderedList': 'Inserir lista ordenada', | ||
| 125 | + 'outdent': 'Reducir tabulación do parágrafo', | ||
| 126 | + 'indent': 'Aumentar tabulación do parágrafo', | ||
| 127 | + 'formatPara': 'Mudar estilo do bloque a parágrafo (etiqueta P)', | ||
| 128 | + 'formatH1': 'Mudar estilo do bloque a H1', | ||
| 129 | + 'formatH2': 'Mudar estilo do bloque a H2', | ||
| 130 | + 'formatH3': 'Mudar estilo do bloque a H3', | ||
| 131 | + 'formatH4': 'Mudar estilo do bloque a H4', | ||
| 132 | + 'formatH5': 'Mudar estilo do bloque a H5', | ||
| 133 | + 'formatH6': 'Mudar estilo do bloque a H6', | ||
| 134 | + 'insertHorizontalRule': 'Inserir liña horizontal', | ||
| 135 | + 'linkDialog.show': 'Amosar panel ligazóns' | ||
| 136 | + }, | ||
| 137 | + history: { | ||
| 138 | + undo: 'Desfacer', | ||
| 139 | + redo: 'Refacer' | ||
| 140 | + }, | ||
| 141 | + specialChar: { | ||
| 142 | + specialChar: 'CARACTERES ESPECIAIS', | ||
| 143 | + select: 'Selecciona Caracteres especiais' | ||
| 144 | + } | ||
| 145 | + } | ||
| 146 | + }); | ||
| 147 | +})(jQuery); |
lib/summernote/lang/summernote-he-IL.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'he-IL': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'מודגש', | ||
| 6 | + italic: 'נטוי', | ||
| 7 | + underline: 'קו תחתון', | ||
| 8 | + clear: 'נקה עיצוב', | ||
| 9 | + height: 'גובה', | ||
| 10 | + name: 'גופן', | ||
| 11 | + strikethrough: 'קו חוצה', | ||
| 12 | + subscript: 'כתב תחתי', | ||
| 13 | + superscript: 'כתב עילי', | ||
| 14 | + size: 'גודל גופן' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'תמונה', | ||
| 18 | + insert: 'הוסף תמונה', | ||
| 19 | + resizeFull: 'גודל מלא', | ||
| 20 | + resizeHalf: 'להקטין לחצי', | ||
| 21 | + resizeQuarter: 'להקטין לרבע', | ||
| 22 | + floatLeft: 'יישור לשמאל', | ||
| 23 | + floatRight: 'יישור לימין', | ||
| 24 | + floatNone: 'ישר', | ||
| 25 | + dragImageHere: 'גרור תמונה לכאן', | ||
| 26 | + selectFromFiles: 'בחר מתוך קבצים', | ||
| 27 | + url: 'נתיב לתמונה', | ||
| 28 | + remove: 'הסר תמונה' | ||
| 29 | + }, | ||
| 30 | + video: { | ||
| 31 | + video: 'סרטון', | ||
| 32 | + videoLink: 'קישור לסרטון', | ||
| 33 | + insert: 'הוסף סרטון', | ||
| 34 | + url: 'קישור לסרטון', | ||
| 35 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion או Youku)' | ||
| 36 | + }, | ||
| 37 | + link: { | ||
| 38 | + link: 'קישור', | ||
| 39 | + insert: 'הוסף קישור', | ||
| 40 | + unlink: 'הסר קישור', | ||
| 41 | + edit: 'ערוך', | ||
| 42 | + textToDisplay: 'טקסט להציג', | ||
| 43 | + url: 'קישור', | ||
| 44 | + openInNewWindow: 'פתח בחלון חדש' | ||
| 45 | + }, | ||
| 46 | + table: { | ||
| 47 | + table: 'טבלה' | ||
| 48 | + }, | ||
| 49 | + hr: { | ||
| 50 | + insert: 'הוסף קו' | ||
| 51 | + }, | ||
| 52 | + style: { | ||
| 53 | + style: 'עיצוב', | ||
| 54 | + p: 'טקסט רגיל', | ||
| 55 | + blockquote: 'ציטוט', | ||
| 56 | + pre: 'קוד', | ||
| 57 | + h1: 'כותרת 1', | ||
| 58 | + h2: 'כותרת 2', | ||
| 59 | + h3: 'כותרת 3', | ||
| 60 | + h4: 'כותרת 4', | ||
| 61 | + h5: 'כותרת 5', | ||
| 62 | + h6: 'כותרת 6' | ||
| 63 | + }, | ||
| 64 | + lists: { | ||
| 65 | + unordered: 'רשימת תבליטים', | ||
| 66 | + ordered: 'רשימה ממוספרת' | ||
| 67 | + }, | ||
| 68 | + options: { | ||
| 69 | + help: 'עזרה', | ||
| 70 | + fullscreen: 'מסך מלא', | ||
| 71 | + codeview: 'תצוגת קוד' | ||
| 72 | + }, | ||
| 73 | + paragraph: { | ||
| 74 | + paragraph: 'פסקה', | ||
| 75 | + outdent: 'הקטן כניסה', | ||
| 76 | + indent: 'הגדל כניסה', | ||
| 77 | + left: 'יישור לשמאל', | ||
| 78 | + center: 'יישור למרכז', | ||
| 79 | + right: 'יישור לימין', | ||
| 80 | + justify: 'מיושר' | ||
| 81 | + }, | ||
| 82 | + color: { | ||
| 83 | + recent: 'צבע טקסט אחרון', | ||
| 84 | + more: 'עוד צבעים', | ||
| 85 | + background: 'צבע רקע', | ||
| 86 | + foreground: 'צבע טקסט', | ||
| 87 | + transparent: 'שקוף', | ||
| 88 | + setTransparent: 'קבע כשקוף', | ||
| 89 | + reset: 'איפוס', | ||
| 90 | + resetToDefault: 'אפס לברירת מחדל' | ||
| 91 | + }, | ||
| 92 | + shortcut: { | ||
| 93 | + shortcuts: 'קיצורי מקלדת', | ||
| 94 | + close: 'סגור', | ||
| 95 | + textFormatting: 'עיצוב הטקסט', | ||
| 96 | + action: 'פעולה', | ||
| 97 | + paragraphFormatting: 'סגנונות פסקה', | ||
| 98 | + documentStyle: 'עיצוב המסמך', | ||
| 99 | + extraKeys: 'קיצורים נוספים' | ||
| 100 | + }, | ||
| 101 | + history: { | ||
| 102 | + undo: 'בטל פעולה', | ||
| 103 | + redo: 'בצע שוב' | ||
| 104 | + } | ||
| 105 | + } | ||
| 106 | + }); | ||
| 107 | +})(jQuery); |
lib/summernote/lang/summernote-hr-HR.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'hr-HR': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Podebljano', | ||
| 6 | + italic: 'Kurziv', | ||
| 7 | + underline: 'Podvučeno', | ||
| 8 | + clear: 'Ukloni stilove fonta', | ||
| 9 | + height: 'Visina linije', | ||
| 10 | + strikethrough: 'Precrtano', | ||
| 11 | + size: 'Veličina fonta' | ||
| 12 | + }, | ||
| 13 | + image: { | ||
| 14 | + image: 'Slika', | ||
| 15 | + insert: 'Ubaci sliku', | ||
| 16 | + resizeFull: 'Puna veličina', | ||
| 17 | + resizeHalf: 'Umanji na 50%', | ||
| 18 | + resizeQuarter: 'Umanji na 25%', | ||
| 19 | + floatLeft: 'Poravnaj lijevo', | ||
| 20 | + floatRight: 'Poravnaj desno', | ||
| 21 | + floatNone: 'Bez poravnanja', | ||
| 22 | + dragImageHere: 'Povuci sliku ovdje', | ||
| 23 | + selectFromFiles: 'Izaberi iz datoteke', | ||
| 24 | + url: 'Adresa slike', | ||
| 25 | + remove: 'Ukloni sliku' | ||
| 26 | + }, | ||
| 27 | + video: { | ||
| 28 | + video: 'Video', | ||
| 29 | + videoLink: 'Veza na video', | ||
| 30 | + insert: 'Ubaci video', | ||
| 31 | + url: 'URL video', | ||
| 32 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)' | ||
| 33 | + }, | ||
| 34 | + link: { | ||
| 35 | + link: 'Veza', | ||
| 36 | + insert: 'Ubaci vezu', | ||
| 37 | + unlink: 'Ukloni vezu', | ||
| 38 | + edit: 'Uredi', | ||
| 39 | + textToDisplay: 'Tekst za prikaz', | ||
| 40 | + url: 'Internet adresa', | ||
| 41 | + openInNewWindow: 'Otvori u novom prozoru' | ||
| 42 | + }, | ||
| 43 | + table: { | ||
| 44 | + table: 'Tablica' | ||
| 45 | + }, | ||
| 46 | + hr: { | ||
| 47 | + insert: 'Ubaci horizontalnu liniju' | ||
| 48 | + }, | ||
| 49 | + style: { | ||
| 50 | + style: 'Stil', | ||
| 51 | + p: 'pni', | ||
| 52 | + blockquote: 'Citat', | ||
| 53 | + pre: 'Kôd', | ||
| 54 | + h1: 'Naslov 1', | ||
| 55 | + h2: 'Naslov 2', | ||
| 56 | + h3: 'Naslov 3', | ||
| 57 | + h4: 'Naslov 4', | ||
| 58 | + h5: 'Naslov 5', | ||
| 59 | + h6: 'Naslov 6' | ||
| 60 | + }, | ||
| 61 | + lists: { | ||
| 62 | + unordered: 'Obična lista', | ||
| 63 | + ordered: 'Numerirana lista' | ||
| 64 | + }, | ||
| 65 | + options: { | ||
| 66 | + help: 'Pomoć', | ||
| 67 | + fullscreen: 'Preko cijelog ekrana', | ||
| 68 | + codeview: 'Izvorni kôd' | ||
| 69 | + }, | ||
| 70 | + paragraph: { | ||
| 71 | + paragraph: 'Paragraf', | ||
| 72 | + outdent: 'Smanji uvlačenje', | ||
| 73 | + indent: 'Povećaj uvlačenje', | ||
| 74 | + left: 'Poravnaj lijevo', | ||
| 75 | + center: 'Centrirano', | ||
| 76 | + right: 'Poravnaj desno', | ||
| 77 | + justify: 'Poravnaj obostrano' | ||
| 78 | + }, | ||
| 79 | + color: { | ||
| 80 | + recent: 'Posljednja boja', | ||
| 81 | + more: 'Više boja', | ||
| 82 | + background: 'Boja pozadine', | ||
| 83 | + foreground: 'Boja teksta', | ||
| 84 | + transparent: 'Prozirna', | ||
| 85 | + setTransparent: 'Prozirna', | ||
| 86 | + reset: 'Poništi', | ||
| 87 | + resetToDefault: 'Podrazumijevana' | ||
| 88 | + }, | ||
| 89 | + shortcut: { | ||
| 90 | + shortcuts: 'Prečice s tipkovnice', | ||
| 91 | + close: 'Zatvori', | ||
| 92 | + textFormatting: 'Formatiranje teksta', | ||
| 93 | + action: 'Akcija', | ||
| 94 | + paragraphFormatting: 'Formatiranje paragrafa', | ||
| 95 | + documentStyle: 'Stil dokumenta', | ||
| 96 | + extraKeys: 'Dodatne kombinacije' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'Poništi', | ||
| 100 | + redo: 'Ponovi' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-hu-HU.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'hu-HU': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Félkövér', | ||
| 6 | + italic: 'Dőlt', | ||
| 7 | + underline: 'Aláhúzott', | ||
| 8 | + clear: 'Formázás törlése', | ||
| 9 | + height: 'Sorköz', | ||
| 10 | + name: 'Betűtípus', | ||
| 11 | + strikethrough: 'Áthúzott', | ||
| 12 | + size: 'Betűméret' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Kép', | ||
| 16 | + insert: 'Kép beszúrása', | ||
| 17 | + resizeFull: 'Átméretezés teljes méretre', | ||
| 18 | + resizeHalf: 'Átméretezés felére', | ||
| 19 | + resizeQuarter: 'Átméretezés negyedére', | ||
| 20 | + floatLeft: 'Igazítás balra', | ||
| 21 | + floatRight: 'Igazítás jobbra', | ||
| 22 | + floatNone: 'Igazítás törlése', | ||
| 23 | + dragImageHere: 'Ide húzhat képet vagy szöveget', | ||
| 24 | + dropImage: 'Engedje el a képet vagy szöveget', | ||
| 25 | + selectFromFiles: 'Fájlok kiválasztása', | ||
| 26 | + url: 'Kép URL címe', | ||
| 27 | + remove: 'Kép törlése' | ||
| 28 | + }, | ||
| 29 | + video: { | ||
| 30 | + video: 'Videó', | ||
| 31 | + videoLink: 'Videó hivatkozás', | ||
| 32 | + insert: 'Videó beszúrása', | ||
| 33 | + url: 'Videó URL címe', | ||
| 34 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion vagy Youku)' | ||
| 35 | + }, | ||
| 36 | + link: { | ||
| 37 | + link: 'Hivatkozás', | ||
| 38 | + insert: 'Hivatkozás beszúrása', | ||
| 39 | + unlink: 'Hivatkozás megszüntetése', | ||
| 40 | + edit: 'Szerkesztés', | ||
| 41 | + textToDisplay: 'Megjelenítendő szöveg', | ||
| 42 | + url: 'Milyen URL címre hivatkozzon?', | ||
| 43 | + openInNewWindow: 'Megnyitás új ablakban' | ||
| 44 | + }, | ||
| 45 | + table: { | ||
| 46 | + table: 'Táblázat' | ||
| 47 | + }, | ||
| 48 | + hr: { | ||
| 49 | + insert: 'Elválasztó vonal beszúrása' | ||
| 50 | + }, | ||
| 51 | + style: { | ||
| 52 | + style: 'Stílus', | ||
| 53 | + p: 'Normál', | ||
| 54 | + blockquote: 'Idézet', | ||
| 55 | + pre: 'Kód', | ||
| 56 | + h1: 'Fejléc 1', | ||
| 57 | + h2: 'Fejléc 2', | ||
| 58 | + h3: 'Fejléc 3', | ||
| 59 | + h4: 'Fejléc 4', | ||
| 60 | + h5: 'Fejléc 5', | ||
| 61 | + h6: 'Fejléc 6' | ||
| 62 | + }, | ||
| 63 | + lists: { | ||
| 64 | + unordered: 'Listajeles lista', | ||
| 65 | + ordered: 'Számozott lista' | ||
| 66 | + }, | ||
| 67 | + options: { | ||
| 68 | + help: 'Súgó', | ||
| 69 | + fullscreen: 'Teljes képernyő', | ||
| 70 | + codeview: 'Kód nézet' | ||
| 71 | + }, | ||
| 72 | + paragraph: { | ||
| 73 | + paragraph: 'Bekezdés', | ||
| 74 | + outdent: 'Behúzás csökkentése', | ||
| 75 | + indent: 'Behúzás növelése', | ||
| 76 | + left: 'Igazítás balra', | ||
| 77 | + center: 'Igazítás középre', | ||
| 78 | + right: 'Igazítás jobbra', | ||
| 79 | + justify: 'Sorkizárt' | ||
| 80 | + }, | ||
| 81 | + color: { | ||
| 82 | + recent: 'Jelenlegi szín', | ||
| 83 | + more: 'További színek', | ||
| 84 | + background: 'Háttérszín', | ||
| 85 | + foreground: 'Betűszín', | ||
| 86 | + transparent: 'Átlátszó', | ||
| 87 | + setTransparent: 'Átlászóság beállítása', | ||
| 88 | + reset: 'Visszaállítás', | ||
| 89 | + resetToDefault: 'Alaphelyzetbe állítás' | ||
| 90 | + }, | ||
| 91 | + shortcut: { | ||
| 92 | + shortcuts: 'Gyorsbillentyű', | ||
| 93 | + close: 'Bezárás', | ||
| 94 | + textFormatting: 'Szöveg formázása', | ||
| 95 | + action: 'Művelet', | ||
| 96 | + paragraphFormatting: 'Bekezdés formázása', | ||
| 97 | + documentStyle: 'Dokumentumstílus' | ||
| 98 | + }, | ||
| 99 | + help: { | ||
| 100 | + 'insertParagraph': 'Új bekezdés', | ||
| 101 | + 'undo': 'Visszavonás', | ||
| 102 | + 'redo': 'Újra', | ||
| 103 | + 'tab': 'Behúzás növelése', | ||
| 104 | + 'untab': 'Behúzás csökkentése', | ||
| 105 | + 'bold': 'Félkövérre állítás', | ||
| 106 | + 'italic': 'Dőltre állítás', | ||
| 107 | + 'underline': 'Aláhúzás', | ||
| 108 | + 'strikethrough': 'Áthúzás', | ||
| 109 | + 'removeFormat': 'Formázás törlése', | ||
| 110 | + 'justifyLeft': 'Balra igazítás', | ||
| 111 | + 'justifyCenter': 'Középre igazítás', | ||
| 112 | + 'justifyRight': 'Jobbra igazítás', | ||
| 113 | + 'justifyFull': 'Sorkizárt', | ||
| 114 | + 'insertUnorderedList': 'Számozatlan lista be/ki', | ||
| 115 | + 'insertOrderedList': 'Számozott lista be/ki', | ||
| 116 | + 'outdent': 'Jelenlegi bekezdés behúzásának megszüntetése', | ||
| 117 | + 'indent': 'Jelenlegi bekezdés behúzása', | ||
| 118 | + 'formatPara': 'Blokk formázása bekezdésként (P tag)', | ||
| 119 | + 'formatH1': 'Blokk formázása, mint Fejléc 1', | ||
| 120 | + 'formatH2': 'Blokk formázása, mint Fejléc 2', | ||
| 121 | + 'formatH3': 'Blokk formázása, mint Fejléc 3', | ||
| 122 | + 'formatH4': 'Blokk formázása, mint Fejléc 4', | ||
| 123 | + 'formatH5': 'Blokk formázása, mint Fejléc 5', | ||
| 124 | + 'formatH6': 'Blokk formázása, mint Fejléc 6', | ||
| 125 | + 'insertHorizontalRule': 'Vízszintes vonal beszúrása', | ||
| 126 | + 'linkDialog.show': 'Link párbeszédablak megjelenítése' | ||
| 127 | + }, | ||
| 128 | + history: { | ||
| 129 | + undo: 'Visszavonás', | ||
| 130 | + redo: 'Újra' | ||
| 131 | + } | ||
| 132 | + | ||
| 133 | + } | ||
| 134 | + }); | ||
| 135 | +})(jQuery); |
lib/summernote/lang/summernote-id-ID.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'id-ID': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Tebal', | ||
| 6 | + italic: 'Miring', | ||
| 7 | + underline: 'Garis bawah', | ||
| 8 | + clear: 'Bersihkan gaya', | ||
| 9 | + height: 'Jarak baris', | ||
| 10 | + strikethrough: 'Coret', | ||
| 11 | + size: 'Ukuran font' | ||
| 12 | + }, | ||
| 13 | + image: { | ||
| 14 | + image: 'Gambar', | ||
| 15 | + insert: 'Sisipkan gambar', | ||
| 16 | + resizeFull: 'Ukuran penuh', | ||
| 17 | + resizeHalf: 'Ukuran 50%', | ||
| 18 | + resizeQuarter: 'Ukuran 25%', | ||
| 19 | + floatLeft: 'Rata kiri', | ||
| 20 | + floatRight: 'Rata kanan', | ||
| 21 | + floatNone: 'Tidak ada perataan', | ||
| 22 | + dragImageHere: 'Tarik gambar pada area ini', | ||
| 23 | + selectFromFiles: 'Pilih gambar dari berkas', | ||
| 24 | + url: 'URL gambar', | ||
| 25 | + remove: 'Hapus Gambar' | ||
| 26 | + }, | ||
| 27 | + video: { | ||
| 28 | + video: 'Video', | ||
| 29 | + videoLink: 'Link video', | ||
| 30 | + insert: 'Sisipkan video', | ||
| 31 | + url: 'Tautan video', | ||
| 32 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion atau Youku)' | ||
| 33 | + }, | ||
| 34 | + link: { | ||
| 35 | + link: 'Tautan', | ||
| 36 | + insert: 'Tambah tautan', | ||
| 37 | + unlink: 'Hapus tautan', | ||
| 38 | + edit: 'Edit', | ||
| 39 | + textToDisplay: 'Tampilan teks', | ||
| 40 | + url: 'Tautan tujuan', | ||
| 41 | + openInNewWindow: 'Buka di jendela baru' | ||
| 42 | + }, | ||
| 43 | + table: { | ||
| 44 | + table: 'Tabel' | ||
| 45 | + }, | ||
| 46 | + hr: { | ||
| 47 | + insert: 'Masukkan garis horizontal' | ||
| 48 | + }, | ||
| 49 | + style: { | ||
| 50 | + style: 'Gaya', | ||
| 51 | + p: 'p', | ||
| 52 | + blockquote: 'Kutipan', | ||
| 53 | + pre: 'Kode', | ||
| 54 | + h1: 'Heading 1', | ||
| 55 | + h2: 'Heading 2', | ||
| 56 | + h3: 'Heading 3', | ||
| 57 | + h4: 'Heading 4', | ||
| 58 | + h5: 'Heading 5', | ||
| 59 | + h6: 'Heading 6' | ||
| 60 | + }, | ||
| 61 | + lists: { | ||
| 62 | + unordered: 'Pencacahan', | ||
| 63 | + ordered: 'Penomoran' | ||
| 64 | + }, | ||
| 65 | + options: { | ||
| 66 | + help: 'Bantuan', | ||
| 67 | + fullscreen: 'Layar penuh', | ||
| 68 | + codeview: 'Kode HTML' | ||
| 69 | + }, | ||
| 70 | + paragraph: { | ||
| 71 | + paragraph: 'Paragraf', | ||
| 72 | + outdent: 'Outdent', | ||
| 73 | + indent: 'Indent', | ||
| 74 | + left: 'Rata kiri', | ||
| 75 | + center: 'Rata tengah', | ||
| 76 | + right: 'Rata kanan', | ||
| 77 | + justify: 'Rata kanan kiri' | ||
| 78 | + }, | ||
| 79 | + color: { | ||
| 80 | + recent: 'Warna sekarang', | ||
| 81 | + more: 'Selengkapnya', | ||
| 82 | + background: 'Warna latar', | ||
| 83 | + foreground: 'Warna font', | ||
| 84 | + transparent: 'Transparan', | ||
| 85 | + setTransparent: 'Atur transparansi', | ||
| 86 | + reset: 'Atur ulang', | ||
| 87 | + resetToDefault: 'Kembalikan kesemula' | ||
| 88 | + }, | ||
| 89 | + shortcut: { | ||
| 90 | + shortcuts: 'Jalan pintas', | ||
| 91 | + close: 'Keluar', | ||
| 92 | + textFormatting: 'Format teks', | ||
| 93 | + action: 'Aksi', | ||
| 94 | + paragraphFormatting: 'Format paragraf', | ||
| 95 | + documentStyle: 'Gaya dokumen' | ||
| 96 | + }, | ||
| 97 | + history: { | ||
| 98 | + undo: 'Kembali', | ||
| 99 | + redo: 'Ulang' | ||
| 100 | + } | ||
| 101 | + } | ||
| 102 | + }); | ||
| 103 | +})(jQuery); |
lib/summernote/lang/summernote-it-IT.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'it-IT': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Testo in grassetto', | ||
| 6 | + italic: 'Testo in corsivo', | ||
| 7 | + underline: 'Testo sottolineato', | ||
| 8 | + clear: 'Elimina la formattazione del testo', | ||
| 9 | + height: 'Altezza della linea di testo', | ||
| 10 | + name: 'Famiglia Font', | ||
| 11 | + strikethrough: 'Testo barrato', | ||
| 12 | + size: 'Dimensione del carattere' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Immagine', | ||
| 16 | + insert: 'Inserisci Immagine', | ||
| 17 | + resizeFull: 'Dimensioni originali', | ||
| 18 | + resizeHalf: 'Ridimensiona al 50%', | ||
| 19 | + resizeQuarter: 'Ridimensiona al 25%', | ||
| 20 | + floatLeft: 'Posiziona a sinistra', | ||
| 21 | + floatRight: 'Posiziona a destra', | ||
| 22 | + floatNone: 'Nessun posizionamento', | ||
| 23 | + dragImageHere: 'Trascina qui un\'immagine', | ||
| 24 | + selectFromFiles: 'Scegli dai Documenti', | ||
| 25 | + url: 'URL dell\'immagine', | ||
| 26 | + remove: 'Rimuovi immagine' | ||
| 27 | + }, | ||
| 28 | + video: { | ||
| 29 | + video: 'Video', | ||
| 30 | + videoLink: 'Collegamento ad un Video', | ||
| 31 | + insert: 'Inserisci Video', | ||
| 32 | + url: 'URL del Video', | ||
| 33 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)' | ||
| 34 | + }, | ||
| 35 | + link: { | ||
| 36 | + link: 'Collegamento', | ||
| 37 | + insert: 'Inserisci Collegamento', | ||
| 38 | + unlink: 'Elimina collegamento', | ||
| 39 | + edit: 'Modifica collegamento', | ||
| 40 | + textToDisplay: 'Testo del collegamento', | ||
| 41 | + url: 'URL del collegamento', | ||
| 42 | + openInNewWindow: 'Apri in una nuova finestra' | ||
| 43 | + }, | ||
| 44 | + table: { | ||
| 45 | + table: 'Tabella' | ||
| 46 | + }, | ||
| 47 | + hr: { | ||
| 48 | + insert: 'Inserisce una linea di separazione' | ||
| 49 | + }, | ||
| 50 | + style: { | ||
| 51 | + style: 'Stili', | ||
| 52 | + p: 'pe', | ||
| 53 | + blockquote: 'Citazione', | ||
| 54 | + pre: 'Codice', | ||
| 55 | + h1: 'Titolo 1', | ||
| 56 | + h2: 'Titolo 2', | ||
| 57 | + h3: 'Titolo 3', | ||
| 58 | + h4: 'Titolo 4', | ||
| 59 | + h5: 'Titolo 5', | ||
| 60 | + h6: 'Titolo 6' | ||
| 61 | + }, | ||
| 62 | + lists: { | ||
| 63 | + unordered: 'Elenco non ordinato', | ||
| 64 | + ordered: 'Elenco ordinato' | ||
| 65 | + }, | ||
| 66 | + options: { | ||
| 67 | + help: 'Aiuto', | ||
| 68 | + fullscreen: 'Modalità a tutto schermo', | ||
| 69 | + codeview: 'Visualizza codice' | ||
| 70 | + }, | ||
| 71 | + paragraph: { | ||
| 72 | + paragraph: 'Paragrafo', | ||
| 73 | + outdent: 'Diminuisce il livello di rientro', | ||
| 74 | + indent: 'Aumenta il livello di rientro', | ||
| 75 | + left: 'Allinea a sinistra', | ||
| 76 | + center: 'Centra', | ||
| 77 | + right: 'Allinea a destra', | ||
| 78 | + justify: 'Giustifica (allinea a destra e sinistra)' | ||
| 79 | + }, | ||
| 80 | + color: { | ||
| 81 | + recent: 'Ultimo colore utilizzato', | ||
| 82 | + more: 'Altri colori', | ||
| 83 | + background: 'Colore di sfondo', | ||
| 84 | + foreground: 'Colore', | ||
| 85 | + transparent: 'Trasparente', | ||
| 86 | + setTransparent: 'Trasparente', | ||
| 87 | + reset: 'Reimposta', | ||
| 88 | + resetToDefault: 'Reimposta i colori' | ||
| 89 | + }, | ||
| 90 | + shortcut: { | ||
| 91 | + shortcuts: 'Scorciatoie da tastiera', | ||
| 92 | + close: 'Chiudi', | ||
| 93 | + textFormatting: 'Formattazione testo', | ||
| 94 | + action: 'Azioni', | ||
| 95 | + paragraphFormatting: 'Formattazione paragrafo', | ||
| 96 | + documentStyle: 'Stili' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'Annulla', | ||
| 100 | + redo: 'Ripristina' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-ja-JP.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'ja-JP': { | ||
| 4 | + font: { | ||
| 5 | + bold: '太字', | ||
| 6 | + italic: '斜体', | ||
| 7 | + underline: '下線', | ||
| 8 | + clear: 'クリア', | ||
| 9 | + height: '文字高', | ||
| 10 | + name: 'フォント', | ||
| 11 | + strikethrough: '取り消し線', | ||
| 12 | + size: '大きさ' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: '画像', | ||
| 16 | + insert: '画像挿入', | ||
| 17 | + resizeFull: '最大化', | ||
| 18 | + resizeHalf: '1/2', | ||
| 19 | + resizeQuarter: '1/4', | ||
| 20 | + floatLeft: '左寄せ', | ||
| 21 | + floatRight: '右寄せ', | ||
| 22 | + floatNone: '寄せ解除', | ||
| 23 | + dragImageHere: 'ここに画像をドラッグしてください', | ||
| 24 | + selectFromFiles: '画像ファイルを選ぶ', | ||
| 25 | + url: 'URLから画像を挿入する', | ||
| 26 | + remove: '画像を削除する' | ||
| 27 | + }, | ||
| 28 | + video: { | ||
| 29 | + video: '動画', | ||
| 30 | + videoLink: '動画リンク', | ||
| 31 | + insert: '動画挿入', | ||
| 32 | + url: '動画のURL', | ||
| 33 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku)' | ||
| 34 | + }, | ||
| 35 | + link: { | ||
| 36 | + link: 'リンク', | ||
| 37 | + insert: 'リンク挿入', | ||
| 38 | + unlink: 'リンク解除', | ||
| 39 | + edit: '編集', | ||
| 40 | + textToDisplay: 'リンク文字列', | ||
| 41 | + url: 'URLを入力してください', | ||
| 42 | + openInNewWindow: '新しいウィンドウで開く' | ||
| 43 | + }, | ||
| 44 | + table: { | ||
| 45 | + table: 'テーブル' | ||
| 46 | + }, | ||
| 47 | + hr: { | ||
| 48 | + insert: '水平線の挿入' | ||
| 49 | + }, | ||
| 50 | + style: { | ||
| 51 | + style: 'スタイル', | ||
| 52 | + p: '標準', | ||
| 53 | + blockquote: '引用', | ||
| 54 | + pre: 'コード', | ||
| 55 | + h1: '見出し1', | ||
| 56 | + h2: '見出し2', | ||
| 57 | + h3: '見出し3', | ||
| 58 | + h4: '見出し4', | ||
| 59 | + h5: '見出し5', | ||
| 60 | + h6: '見出し6' | ||
| 61 | + }, | ||
| 62 | + lists: { | ||
| 63 | + unordered: '通常リスト', | ||
| 64 | + ordered: '番号リスト' | ||
| 65 | + }, | ||
| 66 | + options: { | ||
| 67 | + help: 'ヘルプ', | ||
| 68 | + fullscreen: 'フルスクリーン', | ||
| 69 | + codeview: 'コード表示' | ||
| 70 | + }, | ||
| 71 | + paragraph: { | ||
| 72 | + paragraph: '文章', | ||
| 73 | + outdent: '字上げ', | ||
| 74 | + indent: '字下げ', | ||
| 75 | + left: '左寄せ', | ||
| 76 | + center: '中央寄せ', | ||
| 77 | + right: '右寄せ', | ||
| 78 | + justify: '均等割付' | ||
| 79 | + }, | ||
| 80 | + color: { | ||
| 81 | + recent: '現在の色', | ||
| 82 | + more: 'もっと見る', | ||
| 83 | + background: '背景色', | ||
| 84 | + foreground: '文字色', | ||
| 85 | + transparent: '透過率', | ||
| 86 | + setTransparent: '透過率を設定', | ||
| 87 | + reset: '標準', | ||
| 88 | + resetToDefault: '標準に戻す' | ||
| 89 | + }, | ||
| 90 | + shortcut: { | ||
| 91 | + shortcuts: 'ショートカット', | ||
| 92 | + close: '閉じる', | ||
| 93 | + textFormatting: '文字フォーマット', | ||
| 94 | + action: 'アクション', | ||
| 95 | + paragraphFormatting: '文章フォーマット', | ||
| 96 | + documentStyle: 'ドキュメント形式' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: '元に戻す', | ||
| 100 | + redo: 'やり直す' | ||
| 101 | + }, | ||
| 102 | + help: { | ||
| 103 | + 'insertParagraph': '改行挿入', | ||
| 104 | + 'undo': '一旦、行った操作を戻す', | ||
| 105 | + 'redo': '最後のコマンドをやり直す', | ||
| 106 | + 'tab': 'Tab', | ||
| 107 | + 'untab': 'タブ戻し', | ||
| 108 | + 'bold': '太文字', | ||
| 109 | + 'italic': '斜体', | ||
| 110 | + 'underline': '下線', | ||
| 111 | + 'strikethrough': '取り消し線', | ||
| 112 | + 'removeFormat': '装飾を戻す', | ||
| 113 | + 'justifyLeft': '左寄せ', | ||
| 114 | + 'justifyCenter': '真ん中寄せ', | ||
| 115 | + 'justifyRight': '右寄せ', | ||
| 116 | + 'justifyFull': 'すべてを整列', | ||
| 117 | + 'insertUnorderedList': '行頭に●を挿入', | ||
| 118 | + 'insertOrderedList': '行頭に番号を挿入', | ||
| 119 | + 'outdent': '字下げを戻す(アウトデント)', | ||
| 120 | + 'indent': '字下げする(インデント)', | ||
| 121 | + 'formatPara': '段落(P tag)指定', | ||
| 122 | + 'formatH1': 'H1指定', | ||
| 123 | + 'formatH2': 'H2指定', | ||
| 124 | + 'formatH3': 'H3指定', | ||
| 125 | + 'formatH4': 'H4指定', | ||
| 126 | + 'formatH5': 'H5指定', | ||
| 127 | + 'formatH6': 'H6指定', | ||
| 128 | + 'insertHorizontalRule': '<hr />を挿入', | ||
| 129 | + 'linkDialog.show': 'リンク挿入' | ||
| 130 | + } | ||
| 131 | + } | ||
| 132 | + }); | ||
| 133 | +})(jQuery); |
lib/summernote/lang/summernote-ko-KR.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'ko-KR': { | ||
| 4 | + font: { | ||
| 5 | + bold: '굵게', | ||
| 6 | + italic: '기울임꼴', | ||
| 7 | + underline: '밑줄', | ||
| 8 | + clear: '글자 효과 없애기', | ||
| 9 | + height: '줄간격', | ||
| 10 | + name: '글꼴', | ||
| 11 | + superscript: '위 첨자', | ||
| 12 | + subscript: '아래 첨자', | ||
| 13 | + strikethrough: '취소선', | ||
| 14 | + size: '글자 크기' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: '사진', | ||
| 18 | + insert: '사진 추가', | ||
| 19 | + resizeFull: '100% 크기로 변경', | ||
| 20 | + resizeHalf: '50% 크기로 변경', | ||
| 21 | + resizeQuarter: '25% 크기로 변경', | ||
| 22 | + floatLeft: '왼쪽 정렬', | ||
| 23 | + floatRight: '오른쪽 정렬', | ||
| 24 | + floatNone: '정렬하지 않음', | ||
| 25 | + shapeRounded: '스타일: 둥근 모서리', | ||
| 26 | + shapeCircle: '스타일: 원형', | ||
| 27 | + shapeThumbnail: '스타일: 액자', | ||
| 28 | + shapeNone: '스타일: 없음', | ||
| 29 | + dragImageHere: '텍스트 혹은 사진을 이곳으로 끌어오세요', | ||
| 30 | + dropImage: '텍스트 혹은 사진을 내려놓으세요', | ||
| 31 | + selectFromFiles: '파일 선택', | ||
| 32 | + url: '사진 URL', | ||
| 33 | + remove: '사진 삭제' | ||
| 34 | + }, | ||
| 35 | + video: { | ||
| 36 | + video: '동영상', | ||
| 37 | + videoLink: '동영상 링크', | ||
| 38 | + insert: '동영상 추가', | ||
| 39 | + url: '동영상 URL', | ||
| 40 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku 사용 가능)' | ||
| 41 | + }, | ||
| 42 | + link: { | ||
| 43 | + link: '링크', | ||
| 44 | + insert: '링크 추가', | ||
| 45 | + unlink: '링크 삭제', | ||
| 46 | + edit: '수정', | ||
| 47 | + textToDisplay: '링크에 표시할 내용', | ||
| 48 | + url: '이동할 URL', | ||
| 49 | + openInNewWindow: '새창으로 열기' | ||
| 50 | + }, | ||
| 51 | + table: { | ||
| 52 | + table: '테이블' | ||
| 53 | + }, | ||
| 54 | + hr: { | ||
| 55 | + insert: '구분선 추가' | ||
| 56 | + }, | ||
| 57 | + style: { | ||
| 58 | + style: '스타일', | ||
| 59 | + p: '본문', | ||
| 60 | + blockquote: '인용구', | ||
| 61 | + pre: '코드', | ||
| 62 | + h1: '제목 1', | ||
| 63 | + h2: '제목 2', | ||
| 64 | + h3: '제목 3', | ||
| 65 | + h4: '제목 4', | ||
| 66 | + h5: '제목 5', | ||
| 67 | + h6: '제목 6' | ||
| 68 | + }, | ||
| 69 | + lists: { | ||
| 70 | + unordered: '글머리 기호', | ||
| 71 | + ordered: '번호 매기기' | ||
| 72 | + }, | ||
| 73 | + options: { | ||
| 74 | + help: '도움말', | ||
| 75 | + fullscreen: '전체 화면', | ||
| 76 | + codeview: '코드 보기' | ||
| 77 | + }, | ||
| 78 | + paragraph: { | ||
| 79 | + paragraph: '문단 정렬', | ||
| 80 | + outdent: '내어쓰기', | ||
| 81 | + indent: '들여쓰기', | ||
| 82 | + left: '왼쪽 정렬', | ||
| 83 | + center: '가운데 정렬', | ||
| 84 | + right: '오른쪽 정렬', | ||
| 85 | + justify: '양쪽 정렬' | ||
| 86 | + }, | ||
| 87 | + color: { | ||
| 88 | + recent: '마지막으로 사용한 색', | ||
| 89 | + more: '다른 색 선택', | ||
| 90 | + background: '배경색', | ||
| 91 | + foreground: '글자색', | ||
| 92 | + transparent: '투명', | ||
| 93 | + setTransparent: '투명', | ||
| 94 | + reset: '취소', | ||
| 95 | + resetToDefault: '기본 값으로 변경' | ||
| 96 | + }, | ||
| 97 | + shortcut: { | ||
| 98 | + shortcuts: '키보드 단축키', | ||
| 99 | + close: '닫기', | ||
| 100 | + textFormatting: '글자 스타일 적용', | ||
| 101 | + action: '기능', | ||
| 102 | + paragraphFormatting: '문단 스타일 적용', | ||
| 103 | + documentStyle: '문서 스타일 적용' | ||
| 104 | + }, | ||
| 105 | + history: { | ||
| 106 | + undo: '실행 취소', | ||
| 107 | + redo: '다시 실행' | ||
| 108 | + }, | ||
| 109 | + specialChar: { | ||
| 110 | + specialChar: '특수문자', | ||
| 111 | + select: '특수문자를 선택하세요' | ||
| 112 | + } | ||
| 113 | + } | ||
| 114 | + }); | ||
| 115 | +})(jQuery); |
lib/summernote/lang/summernote-lt-LT.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'lt-LT': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Paryškintas', | ||
| 6 | + italic: 'Kursyvas', | ||
| 7 | + underline: 'Pabrėžtas', | ||
| 8 | + clear: 'Be formatavimo', | ||
| 9 | + height: 'Eilutės aukštis', | ||
| 10 | + name: 'Šrifto pavadinimas', | ||
| 11 | + strikethrough: 'Perbrauktas', | ||
| 12 | + superscript: 'Viršutinis', | ||
| 13 | + subscript: 'Indeksas', | ||
| 14 | + size: 'Šrifto dydis' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Paveikslėlis', | ||
| 18 | + insert: 'Įterpti paveikslėlį', | ||
| 19 | + resizeFull: 'Pilnas dydis', | ||
| 20 | + resizeHalf: 'Sumažinti dydį 50%', | ||
| 21 | + resizeQuarter: 'Sumažinti dydį 25%', | ||
| 22 | + floatLeft: 'Kairinis lygiavimas', | ||
| 23 | + floatRight: 'Dešininis lygiavimas', | ||
| 24 | + floatNone: 'Jokio lygiavimo', | ||
| 25 | + shapeRounded: 'Forma: apvalūs kraštai', | ||
| 26 | + shapeCircle: 'Forma: apskritimas', | ||
| 27 | + shapeThumbnail: 'Forma: miniatiūra', | ||
| 28 | + shapeNone: 'Forma: jokia', | ||
| 29 | + dragImageHere: 'Vilkite paveikslėlį čia', | ||
| 30 | + selectFromFiles: 'Pasirinkite failą', | ||
| 31 | + maximumFileSize: 'Maskimalus failo dydis', | ||
| 32 | + maximumFileSizeError: 'Maskimalus failo dydis viršytas!', | ||
| 33 | + url: 'Paveikslėlio URL adresas', | ||
| 34 | + remove: 'Ištrinti paveikslėlį' | ||
| 35 | + }, | ||
| 36 | + link: { | ||
| 37 | + link: 'Nuoroda', | ||
| 38 | + insert: 'Įterpti nuorodą', | ||
| 39 | + unlink: 'Pašalinti nuorodą', | ||
| 40 | + edit: 'Redaguoti', | ||
| 41 | + textToDisplay: 'Rodomas tekstas', | ||
| 42 | + url: 'Koks URL adresas yra susietas?', | ||
| 43 | + openInNewWindow: 'Atidaryti naujame lange' | ||
| 44 | + }, | ||
| 45 | + table: { | ||
| 46 | + table: 'Lentelė' | ||
| 47 | + }, | ||
| 48 | + hr: { | ||
| 49 | + insert: 'Įterpti horizontalią liniją' | ||
| 50 | + }, | ||
| 51 | + style: { | ||
| 52 | + style: 'Stilius', | ||
| 53 | + p: 'pus', | ||
| 54 | + blockquote: 'Citata', | ||
| 55 | + pre: 'Kodas', | ||
| 56 | + h1: 'Antraštė 1', | ||
| 57 | + h2: 'Antraštė 2', | ||
| 58 | + h3: 'Antraštė 3', | ||
| 59 | + h4: 'Antraštė 4', | ||
| 60 | + h5: 'Antraštė 5', | ||
| 61 | + h6: 'Antraštė 6' | ||
| 62 | + }, | ||
| 63 | + lists: { | ||
| 64 | + unordered: 'Suženklintasis sąrašas', | ||
| 65 | + ordered: 'Sunumeruotas sąrašas' | ||
| 66 | + }, | ||
| 67 | + options: { | ||
| 68 | + help: 'Pagalba', | ||
| 69 | + fullscreen: 'Viso ekrano režimas', | ||
| 70 | + codeview: 'HTML kodo peržiūra' | ||
| 71 | + }, | ||
| 72 | + paragraph: { | ||
| 73 | + paragraph: 'Pastraipa', | ||
| 74 | + outdent: 'Sumažinti įtrauką', | ||
| 75 | + indent: 'Padidinti įtrauką', | ||
| 76 | + left: 'Kairinė lygiuotė', | ||
| 77 | + center: 'Centrinė lygiuotė', | ||
| 78 | + right: 'Dešininė lygiuotė', | ||
| 79 | + justify: 'Abipusis išlyginimas' | ||
| 80 | + }, | ||
| 81 | + color: { | ||
| 82 | + recent: 'Paskutinė naudota spalva', | ||
| 83 | + more: 'Daugiau spalvų', | ||
| 84 | + background: 'Fono spalva', | ||
| 85 | + foreground: 'Šrifto spalva', | ||
| 86 | + transparent: 'Permatoma', | ||
| 87 | + setTransparent: 'Nustatyti skaidrumo intensyvumą', | ||
| 88 | + reset: 'Atkurti', | ||
| 89 | + resetToDefault: 'Atstatyti numatytąją spalvą' | ||
| 90 | + }, | ||
| 91 | + shortcut: { | ||
| 92 | + shortcuts: 'Spartieji klavišai', | ||
| 93 | + close: 'Uždaryti', | ||
| 94 | + textFormatting: 'Teksto formatavimas', | ||
| 95 | + action: 'Veiksmas', | ||
| 96 | + paragraphFormatting: 'Pastraipos formatavimas', | ||
| 97 | + documentStyle: 'Dokumento stilius', | ||
| 98 | + extraKeys: 'Papildomi klavišų deriniai' | ||
| 99 | + }, | ||
| 100 | + history: { | ||
| 101 | + undo: 'Anuliuoti veiksmą', | ||
| 102 | + redo: 'Perdaryti veiksmą' | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + } | ||
| 106 | + }); | ||
| 107 | +})(jQuery); |
lib/summernote/lang/summernote-lt-LV.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'lv-LV': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Treknraksts', | ||
| 6 | + italic: 'Kursīvs', | ||
| 7 | + underline: 'Pasvītrots', | ||
| 8 | + clear: 'Noņemt formatējumu', | ||
| 9 | + height: 'Līnijas augstums', | ||
| 10 | + name: 'Fonts', | ||
| 11 | + strikethrough: 'Nosvītrots', | ||
| 12 | + superscript: 'Augšraksts', | ||
| 13 | + subscript: 'Apakšraksts', | ||
| 14 | + size: 'Fonta lielums' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Attēls', | ||
| 18 | + insert: 'Ievietot attēlu', | ||
| 19 | + resizeFull: 'Pilns izmērts', | ||
| 20 | + resizeHalf: 'Samazināt 50%', | ||
| 21 | + resizeQuarter: 'Samazināt 25%', | ||
| 22 | + floatLeft: 'Līdzināt pa kreisi', | ||
| 23 | + floatRight: 'Līdzināt pa labi', | ||
| 24 | + floatNone: 'Nelīdzināt', | ||
| 25 | + shapeRounded: 'Forma: apaļām malām', | ||
| 26 | + shapeCircle: 'Forma: aplis', | ||
| 27 | + shapeThumbnail: 'Forma: rāmītis', | ||
| 28 | + shapeNone: 'Forma: orģināla', | ||
| 29 | + dragImageHere: 'Ievēlciet attēlu šeit', | ||
| 30 | + selectFromFiles: 'Izvēlēties failu', | ||
| 31 | + maximumFileSize: 'Maksimālais faila izmērs', | ||
| 32 | + maximumFileSizeError: 'Faila izmērs pārāk liels!', | ||
| 33 | + url: 'Attēla URL', | ||
| 34 | + remove: 'Dzēst attēlu' | ||
| 35 | + }, | ||
| 36 | + link: { | ||
| 37 | + link: 'Saite', | ||
| 38 | + insert: 'Ievietot saiti', | ||
| 39 | + unlink: 'Noņemt saiti', | ||
| 40 | + edit: 'Rediģēt', | ||
| 41 | + textToDisplay: 'Saites saturs', | ||
| 42 | + url: 'Koks URL adresas yra susietas?', | ||
| 43 | + openInNewWindow: 'Atvērt jaunā logā' | ||
| 44 | + }, | ||
| 45 | + table: { | ||
| 46 | + table: 'Tabula' | ||
| 47 | + }, | ||
| 48 | + hr: { | ||
| 49 | + insert: 'Ievietot līniju' | ||
| 50 | + }, | ||
| 51 | + style: { | ||
| 52 | + style: 'Stils', | ||
| 53 | + p: 'Parasts', | ||
| 54 | + blockquote: 'Citāts', | ||
| 55 | + pre: 'Kods', | ||
| 56 | + h1: 'Virsraksts h1', | ||
| 57 | + h2: 'Virsraksts h2', | ||
| 58 | + h3: 'Virsraksts h3', | ||
| 59 | + h4: 'Virsraksts h4', | ||
| 60 | + h5: 'Virsraksts h5', | ||
| 61 | + h6: 'Virsraksts h6' | ||
| 62 | + }, | ||
| 63 | + lists: { | ||
| 64 | + unordered: 'Nenumurēts saraksts', | ||
| 65 | + ordered: 'Numurēts saraksts' | ||
| 66 | + }, | ||
| 67 | + options: { | ||
| 68 | + help: 'Palīdzība', | ||
| 69 | + fullscreen: 'Pa visu ekrānu', | ||
| 70 | + codeview: 'HTML kods' | ||
| 71 | + }, | ||
| 72 | + paragraph: { | ||
| 73 | + paragraph: 'Paragrāfs', | ||
| 74 | + outdent: 'Samazināt atkāpi', | ||
| 75 | + indent: 'Palielināt atkāpi', | ||
| 76 | + left: 'Līdzināt pa kreisi', | ||
| 77 | + center: 'Centrēt', | ||
| 78 | + right: 'Līdzināt pa labi', | ||
| 79 | + justify: 'Līdzināt gar abām malām' | ||
| 80 | + }, | ||
| 81 | + color: { | ||
| 82 | + recent: 'Nesen izmantotās', | ||
| 83 | + more: 'Citas krāsas', | ||
| 84 | + background: 'Fona krāsa', | ||
| 85 | + foreground: 'Fonta krāsa', | ||
| 86 | + transparent: 'Caurspīdīgs', | ||
| 87 | + setTransparent: 'Iestatīt caurspīdīgumu', | ||
| 88 | + reset: 'Atjaunot', | ||
| 89 | + resetToDefault: 'Atjaunot noklusējumu' | ||
| 90 | + }, | ||
| 91 | + shortcut: { | ||
| 92 | + shortcuts: 'Saīsnes', | ||
| 93 | + close: 'Aizvērt', | ||
| 94 | + textFormatting: 'Teksta formatēšana', | ||
| 95 | + action: 'Darbība', | ||
| 96 | + paragraphFormatting: 'Paragrāfa formatēšana', | ||
| 97 | + documentStyle: 'Dokumenta stils', | ||
| 98 | + extraKeys: 'Citas taustiņu kombinācijas' | ||
| 99 | + }, | ||
| 100 | + history: { | ||
| 101 | + undo: 'Atsauks (undo)', | ||
| 102 | + redo: 'Atkārtot (redo)' | ||
| 103 | + }, | ||
| 104 | + help: { | ||
| 105 | + insertParagraph: 'Ievietot Paragrāfu', | ||
| 106 | + undo: 'Atcelt iepriekšējo darbību', | ||
| 107 | + redo: 'Atkārtot atcelto darbību', | ||
| 108 | + tab: 'Atkāpe', | ||
| 109 | + untab: 'Samazināt atkāpi', | ||
| 110 | + bold: 'Pārvērst tekstu treknrakstā', | ||
| 111 | + italic: 'Pārvērst tekstu slīprakstā (kursīvā)', | ||
| 112 | + underline: 'Pasvītrot tekstu', | ||
| 113 | + strikethrough: 'Nosvītrot tekstu', | ||
| 114 | + removeFormat: 'Notīrīt stilu no teksta', | ||
| 115 | + justifyLeft: 'Līdzīnāt saturu pa kreisi', | ||
| 116 | + justifyCenter: 'Centrēt saturu', | ||
| 117 | + justifyRight: 'Līdzīnāt saturu pa labi', | ||
| 118 | + justifyFull: 'Izlīdzināt saturu gar abām malām', | ||
| 119 | + insertUnorderedList: 'Ievietot nenumurētu sarakstu', | ||
| 120 | + insertOrderedList: 'Ievietot numurētu sarakstu', | ||
| 121 | + outdent: 'Samazināt/noņemt atkāpi paragrāfam', | ||
| 122 | + indent: 'Uzlikt atkāpi paragrāfam', | ||
| 123 | + formatPara: 'Mainīt bloka tipu uz (p) Paragrāfu', | ||
| 124 | + formatH1: 'Mainīt bloka tipu uz virsrakstu H1', | ||
| 125 | + formatH2: 'Mainīt bloka tipu uz virsrakstu H2', | ||
| 126 | + formatH3: 'Mainīt bloka tipu uz virsrakstu H3', | ||
| 127 | + formatH4: 'Mainīt bloka tipu uz virsrakstu H4', | ||
| 128 | + formatH5: 'Mainīt bloka tipu uz virsrakstu H5', | ||
| 129 | + formatH6: 'Mainīt bloka tipu uz virsrakstu H6', | ||
| 130 | + insertHorizontalRule: 'Ievietot horizontālu līniju', | ||
| 131 | + 'linkDialog.show': 'Parādīt saites logu' | ||
| 132 | + } | ||
| 133 | + } | ||
| 134 | + }); | ||
| 135 | +})(jQuery); |
lib/summernote/lang/summernote-nb-NO.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'nb-NO': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Fet', | ||
| 6 | + italic: 'Kursiv', | ||
| 7 | + underline: 'Understrek', | ||
| 8 | + clear: 'Fjern formatering', | ||
| 9 | + height: 'Linjehøyde', | ||
| 10 | + name: 'Skrifttype', | ||
| 11 | + strikethrough: 'Gjennomstrek', | ||
| 12 | + size: 'Skriftstørrelse' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Bilde', | ||
| 16 | + insert: 'Sett inn bilde', | ||
| 17 | + resizeFull: 'Sett full størrelse', | ||
| 18 | + resizeHalf: 'Sett halv størrelse', | ||
| 19 | + resizeQuarter: 'Sett kvart størrelse', | ||
| 20 | + floatLeft: 'Flyt til venstre', | ||
| 21 | + floatRight: 'Flyt til høyre', | ||
| 22 | + floatNone: 'Fjern flyt', | ||
| 23 | + dragImageHere: 'Dra et bilde hit', | ||
| 24 | + selectFromFiles: 'Velg fra filer', | ||
| 25 | + url: 'Bilde-URL', | ||
| 26 | + remove: 'Fjern bilde' | ||
| 27 | + }, | ||
| 28 | + video: { | ||
| 29 | + video: 'Video', | ||
| 30 | + videoLink: 'Videolenke', | ||
| 31 | + insert: 'Sett inn video', | ||
| 32 | + url: 'Video-URL', | ||
| 33 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)' | ||
| 34 | + }, | ||
| 35 | + link: { | ||
| 36 | + link: 'Lenke', | ||
| 37 | + insert: 'Sett inn lenke', | ||
| 38 | + unlink: 'Fjern lenke', | ||
| 39 | + edit: 'Rediger', | ||
| 40 | + textToDisplay: 'Visningstekst', | ||
| 41 | + url: 'Til hvilken URL skal denne lenken peke?', | ||
| 42 | + openInNewWindow: 'Åpne i nytt vindu' | ||
| 43 | + }, | ||
| 44 | + table: { | ||
| 45 | + table: 'Tabell' | ||
| 46 | + }, | ||
| 47 | + hr: { | ||
| 48 | + insert: 'Sett inn horisontal linje' | ||
| 49 | + }, | ||
| 50 | + style: { | ||
| 51 | + style: 'Stil', | ||
| 52 | + p: 'p', | ||
| 53 | + blockquote: 'Sitat', | ||
| 54 | + pre: 'Kode', | ||
| 55 | + h1: 'Overskrift 1', | ||
| 56 | + h2: 'Overskrift 2', | ||
| 57 | + h3: 'Overskrift 3', | ||
| 58 | + h4: 'Overskrift 4', | ||
| 59 | + h5: 'Overskrift 5', | ||
| 60 | + h6: 'Overskrift 6' | ||
| 61 | + }, | ||
| 62 | + lists: { | ||
| 63 | + unordered: 'Punktliste', | ||
| 64 | + ordered: 'Nummerert liste' | ||
| 65 | + }, | ||
| 66 | + options: { | ||
| 67 | + help: 'Hjelp', | ||
| 68 | + fullscreen: 'Fullskjerm', | ||
| 69 | + codeview: 'HTML-visning' | ||
| 70 | + }, | ||
| 71 | + paragraph: { | ||
| 72 | + paragraph: 'Avsnitt', | ||
| 73 | + outdent: 'Tilbakerykk', | ||
| 74 | + indent: 'Innrykk', | ||
| 75 | + left: 'Venstrejustert', | ||
| 76 | + center: 'Midtstilt', | ||
| 77 | + right: 'Høyrejustert', | ||
| 78 | + justify: 'Blokkjustert' | ||
| 79 | + }, | ||
| 80 | + color: { | ||
| 81 | + recent: 'Nylig valgt farge', | ||
| 82 | + more: 'Flere farger', | ||
| 83 | + background: 'Bakgrunnsfarge', | ||
| 84 | + foreground: 'Skriftfarge', | ||
| 85 | + transparent: 'Gjennomsiktig', | ||
| 86 | + setTransparent: 'Sett gjennomsiktig', | ||
| 87 | + reset: 'Nullstill', | ||
| 88 | + resetToDefault: 'Nullstill til standard' | ||
| 89 | + }, | ||
| 90 | + shortcut: { | ||
| 91 | + shortcuts: 'Hurtigtaster', | ||
| 92 | + close: 'Lukk', | ||
| 93 | + textFormatting: 'Tekstformatering', | ||
| 94 | + action: 'Handling', | ||
| 95 | + paragraphFormatting: 'Avsnittsformatering', | ||
| 96 | + documentStyle: 'Dokumentstil' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'Angre', | ||
| 100 | + redo: 'Gjør om' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-nl-NL.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'nl-NL': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Vet', | ||
| 6 | + italic: 'Cursief', | ||
| 7 | + underline: 'Onderstrepen', | ||
| 8 | + clear: 'Stijl verwijderen', | ||
| 9 | + height: 'Regelhoogte', | ||
| 10 | + name: 'Lettertype', | ||
| 11 | + strikethrough: 'Doorhalen', | ||
| 12 | + size: 'Tekstgrootte' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Afbeelding', | ||
| 16 | + insert: 'Afbeelding invoegen', | ||
| 17 | + resizeFull: 'Volledige breedte', | ||
| 18 | + resizeHalf: 'Halve breedte', | ||
| 19 | + resizeQuarter: 'Kwart breedte', | ||
| 20 | + floatLeft: 'Links uitlijnen', | ||
| 21 | + floatRight: 'Rechts uitlijnen', | ||
| 22 | + floatNone: 'Geen uitlijning', | ||
| 23 | + dragImageHere: 'Sleep hier een afbeelding naar toe', | ||
| 24 | + selectFromFiles: 'Selecteer een bestand', | ||
| 25 | + url: 'URL van de afbeelding', | ||
| 26 | + remove: 'Verwijder afbeelding' | ||
| 27 | + }, | ||
| 28 | + video: { | ||
| 29 | + video: 'Video', | ||
| 30 | + videoLink: 'Video link', | ||
| 31 | + insert: 'Video invoegen', | ||
| 32 | + url: 'URL van de video', | ||
| 33 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion of Youku)' | ||
| 34 | + }, | ||
| 35 | + link: { | ||
| 36 | + link: 'Link', | ||
| 37 | + insert: 'Link invoegen', | ||
| 38 | + unlink: 'Link verwijderen', | ||
| 39 | + edit: 'Wijzigen', | ||
| 40 | + textToDisplay: 'Tekst van link', | ||
| 41 | + url: 'Naar welke URL moet deze link verwijzen?', | ||
| 42 | + openInNewWindow: 'Open in nieuw venster' | ||
| 43 | + }, | ||
| 44 | + table: { | ||
| 45 | + table: 'Tabel' | ||
| 46 | + }, | ||
| 47 | + hr: { | ||
| 48 | + insert: 'Horizontale lijn invoegen' | ||
| 49 | + }, | ||
| 50 | + style: { | ||
| 51 | + style: 'Stijl', | ||
| 52 | + p: 'Normaal', | ||
| 53 | + blockquote: 'Quote', | ||
| 54 | + pre: 'Code', | ||
| 55 | + h1: 'Kop 1', | ||
| 56 | + h2: 'Kop 2', | ||
| 57 | + h3: 'Kop 3', | ||
| 58 | + h4: 'Kop 4', | ||
| 59 | + h5: 'Kop 5', | ||
| 60 | + h6: 'Kop 6' | ||
| 61 | + }, | ||
| 62 | + lists: { | ||
| 63 | + unordered: 'Ongeordende lijst', | ||
| 64 | + ordered: 'Geordende lijst' | ||
| 65 | + }, | ||
| 66 | + options: { | ||
| 67 | + help: 'Help', | ||
| 68 | + fullscreen: 'Volledig scherm', | ||
| 69 | + codeview: 'Bekijk Code' | ||
| 70 | + }, | ||
| 71 | + paragraph: { | ||
| 72 | + paragraph: 'Paragraaf', | ||
| 73 | + outdent: 'Inspringen verkleinen', | ||
| 74 | + indent: 'Inspringen vergroten', | ||
| 75 | + left: 'Links uitlijnen', | ||
| 76 | + center: 'Centreren', | ||
| 77 | + right: 'Rechts uitlijnen', | ||
| 78 | + justify: 'Uitvullen' | ||
| 79 | + }, | ||
| 80 | + color: { | ||
| 81 | + recent: 'Recente kleur', | ||
| 82 | + more: 'Meer kleuren', | ||
| 83 | + background: 'Achtergrond kleur', | ||
| 84 | + foreground: 'Tekst kleur', | ||
| 85 | + transparent: 'Transparant', | ||
| 86 | + setTransparent: 'Transparant', | ||
| 87 | + reset: 'Standaard', | ||
| 88 | + resetToDefault: 'Standaard kleur' | ||
| 89 | + }, | ||
| 90 | + shortcut: { | ||
| 91 | + shortcuts: 'Toetsencombinaties', | ||
| 92 | + close: 'sluiten', | ||
| 93 | + textFormatting: 'Tekststijlen', | ||
| 94 | + action: 'Acties', | ||
| 95 | + paragraphFormatting: 'Paragraafstijlen', | ||
| 96 | + documentStyle: 'Documentstijlen' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'Ongedaan maken', | ||
| 100 | + redo: 'Opnieuw doorvoeren' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-pl-PL.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'pl-PL': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Pogrubienie', | ||
| 6 | + italic: 'Pochylenie', | ||
| 7 | + underline: 'Podkreślenie', | ||
| 8 | + clear: 'Usuń formatowanie', | ||
| 9 | + height: 'Interlinia', | ||
| 10 | + name: 'Czcionka', | ||
| 11 | + strikethrough: 'Przekreślenie', | ||
| 12 | + size: 'Rozmiar' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Grafika', | ||
| 16 | + insert: 'Wstaw grafikę', | ||
| 17 | + resizeFull: 'Zmień rozmiar na 100%', | ||
| 18 | + resizeHalf: 'Zmień rozmiar na 50%', | ||
| 19 | + resizeQuarter: 'Zmień rozmiar na 25%', | ||
| 20 | + floatLeft: 'Po lewej', | ||
| 21 | + floatRight: 'Po prawej', | ||
| 22 | + floatNone: 'Równo z tekstem', | ||
| 23 | + shapeRounded: 'Kształt: zaokrąglone', | ||
| 24 | + shapeCircle: 'Kształt: okrąg', | ||
| 25 | + shapeThumbnail: 'Kształt: miniatura', | ||
| 26 | + shapeNone: 'Kształt: brak', | ||
| 27 | + dragImageHere: 'Przeciągnij grafikę lub tekst tutaj', | ||
| 28 | + dropImage: 'Przeciągnij grafikę lub tekst', | ||
| 29 | + selectFromFiles: 'Wybierz z dysku', | ||
| 30 | + maximumFileSize: 'Limit wielkości pliku', | ||
| 31 | + maximumFileSizeError: 'Przekroczono limit wielkości pliku.', | ||
| 32 | + url: 'Adres URL grafiki', | ||
| 33 | + remove: 'Usuń grafikę' | ||
| 34 | + }, | ||
| 35 | + video: { | ||
| 36 | + video: 'Wideo', | ||
| 37 | + videoLink: 'Adres wideo', | ||
| 38 | + insert: 'Wstaw wideo', | ||
| 39 | + url: 'Adres wideo', | ||
| 40 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion lub Youku)' | ||
| 41 | + }, | ||
| 42 | + link: { | ||
| 43 | + link: 'Odnośnik', | ||
| 44 | + insert: 'Wstaw odnośnik', | ||
| 45 | + unlink: 'Usuń odnośnik', | ||
| 46 | + edit: 'Edytuj', | ||
| 47 | + textToDisplay: 'Tekst do wyświetlenia', | ||
| 48 | + url: 'Na jaki adres URL powinien przenosić ten odnośnik?', | ||
| 49 | + openInNewWindow: 'Otwórz w nowym oknie' | ||
| 50 | + }, | ||
| 51 | + table: { | ||
| 52 | + table: 'Tabela' | ||
| 53 | + }, | ||
| 54 | + hr: { | ||
| 55 | + insert: 'Wstaw poziomą linię' | ||
| 56 | + }, | ||
| 57 | + style: { | ||
| 58 | + style: 'Style', | ||
| 59 | + p: 'pny', | ||
| 60 | + blockquote: 'Cytat', | ||
| 61 | + pre: 'Kod', | ||
| 62 | + h1: 'Nagłówek 1', | ||
| 63 | + h2: 'Nagłówek 2', | ||
| 64 | + h3: 'Nagłówek 3', | ||
| 65 | + h4: 'Nagłówek 4', | ||
| 66 | + h5: 'Nagłówek 5', | ||
| 67 | + h6: 'Nagłówek 6' | ||
| 68 | + }, | ||
| 69 | + lists: { | ||
| 70 | + unordered: 'Lista wypunktowana', | ||
| 71 | + ordered: 'Lista numerowana' | ||
| 72 | + }, | ||
| 73 | + options: { | ||
| 74 | + help: 'Pomoc', | ||
| 75 | + fullscreen: 'Pełny ekran', | ||
| 76 | + codeview: 'Źródło' | ||
| 77 | + }, | ||
| 78 | + paragraph: { | ||
| 79 | + paragraph: 'Akapit', | ||
| 80 | + outdent: 'Zmniejsz wcięcie', | ||
| 81 | + indent: 'Zwiększ wcięcie', | ||
| 82 | + left: 'Wyrównaj do lewej', | ||
| 83 | + center: 'Wyrównaj do środka', | ||
| 84 | + right: 'Wyrównaj do prawej', | ||
| 85 | + justify: 'Wyrównaj do lewej i prawej' | ||
| 86 | + }, | ||
| 87 | + color: { | ||
| 88 | + recent: 'Ostani kolor', | ||
| 89 | + more: 'Więcej kolorów', | ||
| 90 | + background: 'Tło', | ||
| 91 | + foreground: 'Czcionka', | ||
| 92 | + transparent: 'Przeźroczysty', | ||
| 93 | + setTransparent: 'Przeźroczyste', | ||
| 94 | + reset: 'Reset', | ||
| 95 | + resetToDefault: 'Domyślne' | ||
| 96 | + }, | ||
| 97 | + shortcut: { | ||
| 98 | + shortcuts: 'Skróty klawiaturowe', | ||
| 99 | + close: 'Zamknij', | ||
| 100 | + textFormatting: 'Formatowanie tekstu', | ||
| 101 | + action: 'Akcja', | ||
| 102 | + paragraphFormatting: 'Formatowanie akapitu', | ||
| 103 | + documentStyle: 'Styl dokumentu', | ||
| 104 | + extraKeys: 'Dodatkowe klawisze' | ||
| 105 | + }, | ||
| 106 | + history: { | ||
| 107 | + undo: 'Cofnij', | ||
| 108 | + redo: 'Ponów' | ||
| 109 | + } | ||
| 110 | + } | ||
| 111 | + }); | ||
| 112 | +})(jQuery); |
lib/summernote/lang/summernote-pt-BR.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'pt-BR': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Negrito', | ||
| 6 | + italic: 'Itálico', | ||
| 7 | + underline: 'Sublinhado', | ||
| 8 | + clear: 'Remover estilo da fonte', | ||
| 9 | + height: 'Altura da linha', | ||
| 10 | + name: 'Fonte', | ||
| 11 | + strikethrough: 'Riscado', | ||
| 12 | + size: 'Tamanho da fonte' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Imagem', | ||
| 16 | + insert: 'Inserir imagem', | ||
| 17 | + resizeFull: 'Redimensionar Completamente', | ||
| 18 | + resizeHalf: 'Redimensionar pela Metade', | ||
| 19 | + resizeQuarter: 'Redimensionar um Quarto', | ||
| 20 | + floatLeft: 'Flutuar para Esquerda', | ||
| 21 | + floatRight: 'Flutuar para Direira', | ||
| 22 | + floatNone: 'Não Flutuar', | ||
| 23 | + dragImageHere: 'Arraste uma imagem para cá', | ||
| 24 | + selectFromFiles: 'Selecione a partir dos arquivos', | ||
| 25 | + url: 'URL da imagem' | ||
| 26 | + }, | ||
| 27 | + video: { | ||
| 28 | + video: 'Vídeo', | ||
| 29 | + videoLink: 'Link para vídeo', | ||
| 30 | + insert: 'Inserir vídeo', | ||
| 31 | + url: 'URL do vídeo?', | ||
| 32 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)' | ||
| 33 | + }, | ||
| 34 | + link: { | ||
| 35 | + link: 'Link', | ||
| 36 | + insert: 'Inserir link', | ||
| 37 | + unlink: 'Remover link', | ||
| 38 | + edit: 'Editar', | ||
| 39 | + textToDisplay: 'Texto para exibir', | ||
| 40 | + url: 'Para qual URL esse link leva?', | ||
| 41 | + openInNewWindow: 'Abrir em uma nova janela' | ||
| 42 | + }, | ||
| 43 | + table: { | ||
| 44 | + table: 'Tabela' | ||
| 45 | + }, | ||
| 46 | + hr: { | ||
| 47 | + insert: 'Inserir linha horizontal' | ||
| 48 | + }, | ||
| 49 | + style: { | ||
| 50 | + style: 'Estilo', | ||
| 51 | + normal: 'Normal', | ||
| 52 | + blockquote: 'Citação', | ||
| 53 | + pre: 'Código', | ||
| 54 | + h1: 'Título 1', | ||
| 55 | + h2: 'Título 2', | ||
| 56 | + h3: 'Título 3', | ||
| 57 | + h4: 'Título 4', | ||
| 58 | + h5: 'Título 5', | ||
| 59 | + h6: 'Título 6' | ||
| 60 | + }, | ||
| 61 | + lists: { | ||
| 62 | + unordered: 'Lista com marcadores', | ||
| 63 | + ordered: 'Lista numerada' | ||
| 64 | + }, | ||
| 65 | + options: { | ||
| 66 | + help: 'Ajuda', | ||
| 67 | + fullscreen: 'Tela cheia', | ||
| 68 | + codeview: 'Ver código-fonte' | ||
| 69 | + }, | ||
| 70 | + paragraph: { | ||
| 71 | + paragraph: 'Parágrafo', | ||
| 72 | + outdent: 'Menor tabulação', | ||
| 73 | + indent: 'Maior tabulação', | ||
| 74 | + left: 'Alinhar à esquerda', | ||
| 75 | + center: 'Alinhar ao centro', | ||
| 76 | + right: 'Alinha à direita', | ||
| 77 | + justify: 'Justificado' | ||
| 78 | + }, | ||
| 79 | + color: { | ||
| 80 | + recent: 'Cor recente', | ||
| 81 | + more: 'Mais cores', | ||
| 82 | + background: 'Fundo', | ||
| 83 | + foreground: 'Fonte', | ||
| 84 | + transparent: 'Transparente', | ||
| 85 | + setTransparent: 'Fundo transparente', | ||
| 86 | + reset: 'Restaurar', | ||
| 87 | + resetToDefault: 'Restaurar padrão' | ||
| 88 | + }, | ||
| 89 | + shortcut: { | ||
| 90 | + shortcuts: 'Atalhos do teclado', | ||
| 91 | + close: 'Fechar', | ||
| 92 | + textFormatting: 'Formatação de texto', | ||
| 93 | + action: 'Ação', | ||
| 94 | + paragraphFormatting: 'Formatação de parágrafo', | ||
| 95 | + documentStyle: 'Estilo de documento' | ||
| 96 | + }, | ||
| 97 | + history: { | ||
| 98 | + undo: 'Desfazer', | ||
| 99 | + redo: 'Refazer' | ||
| 100 | + }, | ||
| 101 | + help: { | ||
| 102 | + 'insertParagraph': 'Inserir Parágrafo', | ||
| 103 | + 'undo': 'Desfazer o último comando', | ||
| 104 | + 'redo': 'Refazer o último comando', | ||
| 105 | + 'tab': 'Tab', | ||
| 106 | + 'untab': 'Desfazer tab', | ||
| 107 | + 'bold': 'Colocar em negrito', | ||
| 108 | + 'italic': 'Colocar em itálico', | ||
| 109 | + 'underline': 'Sublinhado', | ||
| 110 | + 'strikethrough': 'Tachado', | ||
| 111 | + 'removeFormat': 'Remover estilo', | ||
| 112 | + 'justifyLeft': 'Alinhar à esquerda', | ||
| 113 | + 'justifyCenter': 'Centralizar', | ||
| 114 | + 'justifyRight': 'Alinhar à esquerda', | ||
| 115 | + 'justifyFull': 'Justificar', | ||
| 116 | + 'insertUnorderedList': 'Lista não ordenada', | ||
| 117 | + 'insertOrderedList': 'Lista ordenada', | ||
| 118 | + 'outdent': 'Recuar parágrafo atual', | ||
| 119 | + 'indent': 'Avançar parágrafo atual', | ||
| 120 | + 'formatPara': 'Alterar formato do bloco para parágrafo(tag P)', | ||
| 121 | + 'formatH1': 'Alterar formato do bloco para H1', | ||
| 122 | + 'formatH2': 'Alterar formato do bloco para H2', | ||
| 123 | + 'formatH3': 'Alterar formato do bloco para H3', | ||
| 124 | + 'formatH4': 'Alterar formato do bloco para H4', | ||
| 125 | + 'formatH5': 'Alterar formato do bloco para H5', | ||
| 126 | + 'formatH6': 'Alterar formato do bloco para H6', | ||
| 127 | + 'insertHorizontalRule': 'Inserir régua horizontal', | ||
| 128 | + 'linkDialog.show': 'Inserir um Hiperlink' | ||
| 129 | + } | ||
| 130 | + } | ||
| 131 | + }); | ||
| 132 | +})(jQuery); |
lib/summernote/lang/summernote-pt-PT.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'pt-PT': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Negrito', | ||
| 6 | + italic: 'Itálico', | ||
| 7 | + underline: 'Sublinhado', | ||
| 8 | + clear: 'Remover estilo da fonte', | ||
| 9 | + height: 'Altura da linha', | ||
| 10 | + name: 'Fonte', | ||
| 11 | + strikethrough: 'Riscado', | ||
| 12 | + size: 'Tamanho da fonte' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Imagem', | ||
| 16 | + insert: 'Inserir imagem', | ||
| 17 | + resizeFull: 'Redimensionar Completo', | ||
| 18 | + resizeHalf: 'Redimensionar Metade', | ||
| 19 | + resizeQuarter: 'Redimensionar Um Quarto', | ||
| 20 | + floatLeft: 'Float Esquerda', | ||
| 21 | + floatRight: 'Float Direita', | ||
| 22 | + floatNone: 'Sem Float', | ||
| 23 | + dragImageHere: 'Arraste uma imagem para aqui', | ||
| 24 | + selectFromFiles: 'Selecione a partir dos arquivos', | ||
| 25 | + url: 'Endereço da imagem' | ||
| 26 | + }, | ||
| 27 | + video: { | ||
| 28 | + video: 'Vídeo', | ||
| 29 | + videoLink: 'Link para vídeo', | ||
| 30 | + insert: 'Inserir vídeo', | ||
| 31 | + url: 'URL do vídeo?', | ||
| 32 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)' | ||
| 33 | + }, | ||
| 34 | + link: { | ||
| 35 | + link: 'Link', | ||
| 36 | + insert: 'Inserir ligação', | ||
| 37 | + unlink: 'Remover ligação', | ||
| 38 | + edit: 'Editar', | ||
| 39 | + textToDisplay: 'Texto para exibir', | ||
| 40 | + url: 'Que endereço esta licação leva?', | ||
| 41 | + openInNewWindow: 'Abrir numa nova janela' | ||
| 42 | + }, | ||
| 43 | + table: { | ||
| 44 | + table: 'Tabela' | ||
| 45 | + }, | ||
| 46 | + hr: { | ||
| 47 | + insert: 'Inserir linha horizontal' | ||
| 48 | + }, | ||
| 49 | + style: { | ||
| 50 | + style: 'Estilo', | ||
| 51 | + p: 'p', | ||
| 52 | + blockquote: 'Citação', | ||
| 53 | + pre: 'Código', | ||
| 54 | + h1: 'Título 1', | ||
| 55 | + h2: 'Título 2', | ||
| 56 | + h3: 'Título 3', | ||
| 57 | + h4: 'Título 4', | ||
| 58 | + h5: 'Título 5', | ||
| 59 | + h6: 'Título 6' | ||
| 60 | + }, | ||
| 61 | + lists: { | ||
| 62 | + unordered: 'Lista com marcadores', | ||
| 63 | + ordered: 'Lista numerada' | ||
| 64 | + }, | ||
| 65 | + options: { | ||
| 66 | + help: 'Ajuda', | ||
| 67 | + fullscreen: 'Janela Completa', | ||
| 68 | + codeview: 'Ver código-fonte' | ||
| 69 | + }, | ||
| 70 | + paragraph: { | ||
| 71 | + paragraph: 'Parágrafo', | ||
| 72 | + outdent: 'Menor tabulação', | ||
| 73 | + indent: 'Maior tabulação', | ||
| 74 | + left: 'Alinhar à esquerda', | ||
| 75 | + center: 'Alinhar ao centro', | ||
| 76 | + right: 'Alinha à direita', | ||
| 77 | + justify: 'Justificado' | ||
| 78 | + }, | ||
| 79 | + color: { | ||
| 80 | + recent: 'Cor recente', | ||
| 81 | + more: 'Mais cores', | ||
| 82 | + background: 'Fundo', | ||
| 83 | + foreground: 'Fonte', | ||
| 84 | + transparent: 'Transparente', | ||
| 85 | + setTransparent: 'Fundo transparente', | ||
| 86 | + reset: 'Restaurar', | ||
| 87 | + resetToDefault: 'Restaurar padrão' | ||
| 88 | + }, | ||
| 89 | + shortcut: { | ||
| 90 | + shortcuts: 'Atalhos do teclado', | ||
| 91 | + close: 'Fechar', | ||
| 92 | + textFormatting: 'Formatação de texto', | ||
| 93 | + action: 'Ação', | ||
| 94 | + paragraphFormatting: 'Formatação de parágrafo', | ||
| 95 | + documentStyle: 'Estilo de documento' | ||
| 96 | + }, | ||
| 97 | + history: { | ||
| 98 | + undo: 'Desfazer', | ||
| 99 | + redo: 'Refazer' | ||
| 100 | + } | ||
| 101 | + } | ||
| 102 | + }); | ||
| 103 | +})(jQuery); |
lib/summernote/lang/summernote-ro-RO.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'ro-RO': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Îngroșat', | ||
| 6 | + italic: 'Înclinat', | ||
| 7 | + underline: 'Subliniat', | ||
| 8 | + clear: 'Înlătură formatare font', | ||
| 9 | + height: 'Înălțime rând', | ||
| 10 | + strikethrough: 'Tăiat', | ||
| 11 | + size: 'Dimensiune font' | ||
| 12 | + }, | ||
| 13 | + image: { | ||
| 14 | + image: 'Imagine', | ||
| 15 | + insert: 'Inserează imagine', | ||
| 16 | + resizeFull: 'Redimensionează complet', | ||
| 17 | + resizeHalf: 'Redimensionează 1/2', | ||
| 18 | + resizeQuarter: 'Redimensionează 1/4', | ||
| 19 | + floatLeft: 'Aliniere la stânga', | ||
| 20 | + floatRight: 'Aliniere la dreapta', | ||
| 21 | + floatNone: 'Fară aliniere', | ||
| 22 | + dragImageHere: 'Trage o imagine aici', | ||
| 23 | + selectFromFiles: 'Alege din fişiere', | ||
| 24 | + url: 'URL imagine' | ||
| 25 | + }, | ||
| 26 | + video: { | ||
| 27 | + video: 'Video', | ||
| 28 | + videoLink: 'Link video', | ||
| 29 | + insert: 'Inserează video', | ||
| 30 | + url: 'URL video?', | ||
| 31 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion sau Youku)' | ||
| 32 | + }, | ||
| 33 | + link: { | ||
| 34 | + link: 'Link', | ||
| 35 | + insert: 'Inserează link', | ||
| 36 | + unlink: 'Înlătură link', | ||
| 37 | + edit: 'Editează', | ||
| 38 | + textToDisplay: 'Text ce va fi afişat', | ||
| 39 | + url: 'Deschidere în fereastra nouă?' | ||
| 40 | + }, | ||
| 41 | + table: { | ||
| 42 | + table: 'Tabel' | ||
| 43 | + }, | ||
| 44 | + hr: { | ||
| 45 | + insert: 'Inserează o linie orizontală' | ||
| 46 | + }, | ||
| 47 | + style: { | ||
| 48 | + style: 'Stil', | ||
| 49 | + p: 'p', | ||
| 50 | + blockquote: 'Citat', | ||
| 51 | + pre: 'Preformatat', | ||
| 52 | + h1: 'Titlu 1', | ||
| 53 | + h2: 'Titlu 2', | ||
| 54 | + h3: 'Titlu 3', | ||
| 55 | + h4: 'Titlu 4', | ||
| 56 | + h5: 'Titlu 5', | ||
| 57 | + h6: 'Titlu 6' | ||
| 58 | + }, | ||
| 59 | + lists: { | ||
| 60 | + unordered: 'Listă neordonată', | ||
| 61 | + ordered: 'Listă ordonată' | ||
| 62 | + }, | ||
| 63 | + options: { | ||
| 64 | + help: 'Ajutor', | ||
| 65 | + fullscreen: 'Măreşte', | ||
| 66 | + codeview: 'Sursă' | ||
| 67 | + }, | ||
| 68 | + paragraph: { | ||
| 69 | + paragraph: 'Paragraf', | ||
| 70 | + outdent: 'Creşte identarea', | ||
| 71 | + indent: 'Scade identarea', | ||
| 72 | + left: 'Aliniere la stânga', | ||
| 73 | + center: 'Aliniere centrală', | ||
| 74 | + right: 'Aliniere la dreapta', | ||
| 75 | + justify: 'Aliniere în bloc' | ||
| 76 | + }, | ||
| 77 | + color: { | ||
| 78 | + recent: 'Culoare recentă', | ||
| 79 | + more: 'Mai multe culori', | ||
| 80 | + background: 'Culoarea fundalului', | ||
| 81 | + foreground: 'Culoarea textului', | ||
| 82 | + transparent: 'Transparent', | ||
| 83 | + setTransparent: 'Setează transparent', | ||
| 84 | + reset: 'Resetează', | ||
| 85 | + resetToDefault: 'Revino la iniţial' | ||
| 86 | + }, | ||
| 87 | + shortcut: { | ||
| 88 | + shortcuts: 'Scurtături tastatură', | ||
| 89 | + close: 'Închide', | ||
| 90 | + textFormatting: 'Formatare text', | ||
| 91 | + action: 'Acţiuni', | ||
| 92 | + paragraphFormatting: 'Formatare paragraf', | ||
| 93 | + documentStyle: 'Stil paragraf' | ||
| 94 | + }, | ||
| 95 | + history: { | ||
| 96 | + undo: 'Starea anterioară', | ||
| 97 | + redo: 'Starea ulterioară' | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + } | ||
| 101 | + }); | ||
| 102 | +})(jQuery); |
lib/summernote/lang/summernote-ru-RU.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'ru-RU': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Полужирный', | ||
| 6 | + italic: 'Курсив', | ||
| 7 | + underline: 'Подчёркнутый', | ||
| 8 | + clear: 'Убрать стили шрифта', | ||
| 9 | + height: 'Высота линии', | ||
| 10 | + name: 'Шрифт', | ||
| 11 | + strikethrough: 'Зачёркнутый', | ||
| 12 | + subscript: 'Нижний индекс', | ||
| 13 | + superscript: 'Верхний индекс', | ||
| 14 | + size: 'Размер шрифта' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Картинка', | ||
| 18 | + insert: 'Вставить картинку', | ||
| 19 | + resizeFull: 'Восстановить размер', | ||
| 20 | + resizeHalf: 'Уменьшить до 50%', | ||
| 21 | + resizeQuarter: 'Уменьшить до 25%', | ||
| 22 | + floatLeft: 'Расположить слева', | ||
| 23 | + floatRight: 'Расположить справа', | ||
| 24 | + floatNone: 'Расположение по-умолчанию', | ||
| 25 | + shapeRounded: 'Форма: Закругленная', | ||
| 26 | + shapeCircle: 'Форма: Круг', | ||
| 27 | + shapeThumbnail: 'Форма: Миниатюра', | ||
| 28 | + shapeNone: 'Форма: Нет', | ||
| 29 | + dragImageHere: 'Перетащите сюда картинку', | ||
| 30 | + dropImage: 'Перетащите картинку', | ||
| 31 | + selectFromFiles: 'Выбрать из файлов', | ||
| 32 | + url: 'URL картинки', | ||
| 33 | + remove: 'Удалить картинку' | ||
| 34 | + }, | ||
| 35 | + video: { | ||
| 36 | + video: 'Видео', | ||
| 37 | + videoLink: 'Ссылка на видео', | ||
| 38 | + insert: 'Вставить видео', | ||
| 39 | + url: 'URL видео', | ||
| 40 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)' | ||
| 41 | + }, | ||
| 42 | + link: { | ||
| 43 | + link: 'Ссылка', | ||
| 44 | + insert: 'Вставить ссылку', | ||
| 45 | + unlink: 'Убрать ссылку', | ||
| 46 | + edit: 'Редактировать', | ||
| 47 | + textToDisplay: 'Отображаемый текст', | ||
| 48 | + url: 'URL для перехода', | ||
| 49 | + openInNewWindow: 'Открывать в новом окне' | ||
| 50 | + }, | ||
| 51 | + table: { | ||
| 52 | + table: 'Таблица' | ||
| 53 | + }, | ||
| 54 | + hr: { | ||
| 55 | + insert: 'Вставить горизонтальную линию' | ||
| 56 | + }, | ||
| 57 | + style: { | ||
| 58 | + style: 'Стиль', | ||
| 59 | + p: 'Нормальный', | ||
| 60 | + blockquote: 'Цитата', | ||
| 61 | + pre: 'Код', | ||
| 62 | + h1: 'Заголовок 1', | ||
| 63 | + h2: 'Заголовок 2', | ||
| 64 | + h3: 'Заголовок 3', | ||
| 65 | + h4: 'Заголовок 4', | ||
| 66 | + h5: 'Заголовок 5', | ||
| 67 | + h6: 'Заголовок 6' | ||
| 68 | + }, | ||
| 69 | + lists: { | ||
| 70 | + unordered: 'Маркированный список', | ||
| 71 | + ordered: 'Нумерованный список' | ||
| 72 | + }, | ||
| 73 | + options: { | ||
| 74 | + help: 'Помощь', | ||
| 75 | + fullscreen: 'На весь экран', | ||
| 76 | + codeview: 'Исходный код' | ||
| 77 | + }, | ||
| 78 | + paragraph: { | ||
| 79 | + paragraph: 'Параграф', | ||
| 80 | + outdent: 'Уменьшить отступ', | ||
| 81 | + indent: 'Увеличить отступ', | ||
| 82 | + left: 'Выровнять по левому краю', | ||
| 83 | + center: 'Выровнять по центру', | ||
| 84 | + right: 'Выровнять по правому краю', | ||
| 85 | + justify: 'Растянуть по ширине' | ||
| 86 | + }, | ||
| 87 | + color: { | ||
| 88 | + recent: 'Последний цвет', | ||
| 89 | + more: 'Еще цвета', | ||
| 90 | + background: 'Цвет фона', | ||
| 91 | + foreground: 'Цвет шрифта', | ||
| 92 | + transparent: 'Прозрачный', | ||
| 93 | + setTransparent: 'Сделать прозрачным', | ||
| 94 | + reset: 'Сброс', | ||
| 95 | + resetToDefault: 'Восстановить умолчания' | ||
| 96 | + }, | ||
| 97 | + shortcut: { | ||
| 98 | + shortcuts: 'Сочетания клавиш', | ||
| 99 | + close: 'Закрыть', | ||
| 100 | + textFormatting: 'Форматирование текста', | ||
| 101 | + action: 'Действие', | ||
| 102 | + paragraphFormatting: 'Форматирование параграфа', | ||
| 103 | + documentStyle: 'Стиль документа', | ||
| 104 | + extraKeys: 'Дополнительные комбинации' | ||
| 105 | + }, | ||
| 106 | + history: { | ||
| 107 | + undo: 'Отменить', | ||
| 108 | + redo: 'Повтор' | ||
| 109 | + } | ||
| 110 | + } | ||
| 111 | + }); | ||
| 112 | +})(jQuery); |
lib/summernote/lang/summernote-sk-SK.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'sk-SK': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Tučné', | ||
| 6 | + italic: 'Kurzíva', | ||
| 7 | + underline: 'Podčiarknutie', | ||
| 8 | + clear: 'Odstrániť štýl písma', | ||
| 9 | + height: 'Výška riadku', | ||
| 10 | + strikethrough: 'Prečiarknuté', | ||
| 11 | + size: 'Veľkosť písma' | ||
| 12 | + }, | ||
| 13 | + image: { | ||
| 14 | + image: 'Obrázok', | ||
| 15 | + insert: 'Vložiť obrázok', | ||
| 16 | + resizeFull: 'Pôvodná veľkosť', | ||
| 17 | + resizeHalf: 'Polovičná veľkosť', | ||
| 18 | + resizeQuarter: 'Štvrtinová veľkosť', | ||
| 19 | + floatLeft: 'Umiestniť doľava', | ||
| 20 | + floatRight: 'Umiestniť doprava', | ||
| 21 | + floatNone: 'Bez zarovnania', | ||
| 22 | + dragImageHere: 'Pretiahnuť sem obrázok', | ||
| 23 | + selectFromFiles: 'Vybrať súbor', | ||
| 24 | + url: 'URL obrázku' | ||
| 25 | + }, | ||
| 26 | + video: { | ||
| 27 | + video: 'Video', | ||
| 28 | + videoLink: 'Odkaz videa', | ||
| 29 | + insert: 'Vložiť video', | ||
| 30 | + url: 'URL videa?', | ||
| 31 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion alebo Youku)' | ||
| 32 | + }, | ||
| 33 | + link: { | ||
| 34 | + link: 'Odkaz', | ||
| 35 | + insert: 'Vytvoriť odkaz', | ||
| 36 | + unlink: 'Zrušiť odkaz', | ||
| 37 | + edit: 'Upraviť', | ||
| 38 | + textToDisplay: 'Zobrazovaný text', | ||
| 39 | + url: 'Na akú URL adresu má tento odkaz viesť?', | ||
| 40 | + openInNewWindow: 'Otvoriť v novom okne' | ||
| 41 | + }, | ||
| 42 | + table: { | ||
| 43 | + table: 'Tabuľka' | ||
| 44 | + }, | ||
| 45 | + hr: { | ||
| 46 | + insert: 'Vložit vodorovnú čiaru' | ||
| 47 | + }, | ||
| 48 | + style: { | ||
| 49 | + style: 'Štýl', | ||
| 50 | + p: 'Normálny', | ||
| 51 | + blockquote: 'Citácia', | ||
| 52 | + pre: 'Kód', | ||
| 53 | + h1: 'Nadpis 1', | ||
| 54 | + h2: 'Nadpis 2', | ||
| 55 | + h3: 'Nadpis 3', | ||
| 56 | + h4: 'Nadpis 4', | ||
| 57 | + h5: 'Nadpis 5', | ||
| 58 | + h6: 'Nadpis 6' | ||
| 59 | + }, | ||
| 60 | + lists: { | ||
| 61 | + unordered: 'Odrážkový zoznam', | ||
| 62 | + ordered: 'Číselný zoznam' | ||
| 63 | + }, | ||
| 64 | + options: { | ||
| 65 | + help: 'Pomoc', | ||
| 66 | + fullscreen: 'Celá obrazovka', | ||
| 67 | + codeview: 'HTML kód' | ||
| 68 | + }, | ||
| 69 | + paragraph: { | ||
| 70 | + paragraph: 'Odsek', | ||
| 71 | + outdent: 'Zväčšiť odsadenie', | ||
| 72 | + indent: 'Zmenšiť odsadenie', | ||
| 73 | + left: 'Zarovnať doľava', | ||
| 74 | + center: 'Zarovnať na stred', | ||
| 75 | + right: 'Zarovnať doprava', | ||
| 76 | + justify: 'Zarovnať obojstranne' | ||
| 77 | + }, | ||
| 78 | + color: { | ||
| 79 | + recent: 'Aktuálna farba', | ||
| 80 | + more: 'Dalšie farby', | ||
| 81 | + background: 'Farba pozadia', | ||
| 82 | + foreground: 'Farba písma', | ||
| 83 | + transparent: 'Priehľadnosť', | ||
| 84 | + setTransparent: 'Nastaviť priehľadnosť', | ||
| 85 | + reset: 'Obnoviť', | ||
| 86 | + resetToDefault: 'Obnoviť prednastavené' | ||
| 87 | + }, | ||
| 88 | + shortcut: { | ||
| 89 | + shortcuts: 'Klávesové skratky', | ||
| 90 | + close: 'Zavrieť', | ||
| 91 | + textFormatting: 'Formátovanie textu', | ||
| 92 | + action: 'Akcia', | ||
| 93 | + paragraphFormatting: 'Formátovanie odseku', | ||
| 94 | + documentStyle: 'Štýl dokumentu' | ||
| 95 | + }, | ||
| 96 | + history: { | ||
| 97 | + undo: 'Krok vzad', | ||
| 98 | + redo: 'Krok dopredu' | ||
| 99 | + } | ||
| 100 | + } | ||
| 101 | + }); | ||
| 102 | +})(jQuery); |
lib/summernote/lang/summernote-sl-SI.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'sl-SI': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Krepko', | ||
| 6 | + italic: 'Ležeče', | ||
| 7 | + underline: 'Podčrtano', | ||
| 8 | + clear: 'Počisti oblikovanje izbire', | ||
| 9 | + height: 'Razmik med vrsticami', | ||
| 10 | + name: 'Pisava', | ||
| 11 | + strikethrough: 'Prečrtano', | ||
| 12 | + subscript: 'Podpisano', | ||
| 13 | + superscript: 'Nadpisano', | ||
| 14 | + size: 'Velikost pisave' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Slika', | ||
| 18 | + insert: 'Vstavi sliko', | ||
| 19 | + resizeFull: 'Razširi na polno velikost', | ||
| 20 | + resizeHalf: 'Razširi na polovico velikosti', | ||
| 21 | + resizeQuarter: 'Razširi na četrtino velikosti', | ||
| 22 | + floatLeft: 'Leva poravnava', | ||
| 23 | + floatRight: 'Desna poravnava', | ||
| 24 | + floatNone: 'Brez poravnave', | ||
| 25 | + dragImageHere: 'Sem povlecite sliko', | ||
| 26 | + selectFromFiles: 'Izberi sliko za nalaganje', | ||
| 27 | + url: 'URL naslov slike', | ||
| 28 | + remove: 'Odstrani sliko' | ||
| 29 | + }, | ||
| 30 | + video: { | ||
| 31 | + video: 'Video', | ||
| 32 | + videoLink: 'Video povezava', | ||
| 33 | + insert: 'Vstavi video', | ||
| 34 | + url: 'Povezava do videa', | ||
| 35 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ali Youku)' | ||
| 36 | + }, | ||
| 37 | + link: { | ||
| 38 | + link: 'Povezava', | ||
| 39 | + insert: 'Vstavi povezavo', | ||
| 40 | + unlink: 'Odstrani povezavo', | ||
| 41 | + edit: 'Uredi', | ||
| 42 | + textToDisplay: 'Prikazano besedilo', | ||
| 43 | + url: 'Povezava', | ||
| 44 | + openInNewWindow: 'Odpri v novem oknu' | ||
| 45 | + }, | ||
| 46 | + table: { | ||
| 47 | + table: 'Tabela' | ||
| 48 | + }, | ||
| 49 | + hr: { | ||
| 50 | + insert: 'Vstavi horizontalno črto' | ||
| 51 | + }, | ||
| 52 | + style: { | ||
| 53 | + style: 'Slogi', | ||
| 54 | + p: 'Navadno besedilo', | ||
| 55 | + blockquote: 'Citat', | ||
| 56 | + pre: 'Koda', | ||
| 57 | + h1: 'Naslov 1', | ||
| 58 | + h2: 'Naslov 2', | ||
| 59 | + h3: 'Naslov 3', | ||
| 60 | + h4: 'Naslov 4', | ||
| 61 | + h5: 'Naslov 5', | ||
| 62 | + h6: 'Naslov 6' | ||
| 63 | + }, | ||
| 64 | + lists: { | ||
| 65 | + unordered: 'Označen seznam', | ||
| 66 | + ordered: 'Oštevilčen seznam' | ||
| 67 | + }, | ||
| 68 | + options: { | ||
| 69 | + help: 'Pomoč', | ||
| 70 | + fullscreen: 'Celozaslonski način', | ||
| 71 | + codeview: 'Pregled HTML kode' | ||
| 72 | + }, | ||
| 73 | + paragraph: { | ||
| 74 | + paragraph: 'Slogi odstavka', | ||
| 75 | + outdent: 'Zmanjšaj odmik', | ||
| 76 | + indent: 'Povečaj odmik', | ||
| 77 | + left: 'Leva poravnava', | ||
| 78 | + center: 'Desna poravnava', | ||
| 79 | + right: 'Sredinska poravnava', | ||
| 80 | + justify: 'Obojestranska poravnava' | ||
| 81 | + }, | ||
| 82 | + color: { | ||
| 83 | + recent: 'Uporabi zadnjo barvo', | ||
| 84 | + more: 'Več barv', | ||
| 85 | + background: 'Barva ozadja', | ||
| 86 | + foreground: 'Barva besedila', | ||
| 87 | + transparent: 'Brez barve', | ||
| 88 | + setTransparent: 'Brez barve', | ||
| 89 | + reset: 'Ponastavi', | ||
| 90 | + resetToDefault: 'Ponastavi na privzeto' | ||
| 91 | + }, | ||
| 92 | + shortcut: { | ||
| 93 | + shortcuts: 'Bljižnice', | ||
| 94 | + close: 'Zapri', | ||
| 95 | + textFormatting: 'Oblikovanje besedila', | ||
| 96 | + action: 'Dejanja', | ||
| 97 | + paragraphFormatting: 'Oblikovanje odstavka', | ||
| 98 | + documentStyle: 'Oblikovanje naslova' | ||
| 99 | + }, | ||
| 100 | + history: { | ||
| 101 | + undo: 'Razveljavi', | ||
| 102 | + redo: 'Uveljavi' | ||
| 103 | + } | ||
| 104 | + } | ||
| 105 | + }); | ||
| 106 | +})(jQuery); |
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'sr-RS': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Podebljano', | ||
| 6 | + italic: 'Kurziv', | ||
| 7 | + underline: 'Podvučeno', | ||
| 8 | + clear: 'Ukloni stilove fonta', | ||
| 9 | + height: 'Visina linije', | ||
| 10 | + strikethrough: 'Precrtano', | ||
| 11 | + size: 'Veličina fonta' | ||
| 12 | + }, | ||
| 13 | + image: { | ||
| 14 | + image: 'Slika', | ||
| 15 | + insert: 'Umetni sliku', | ||
| 16 | + resizeFull: 'Puna veličina', | ||
| 17 | + resizeHalf: 'Umanji na 50%', | ||
| 18 | + resizeQuarter: 'Umanji na 25%', | ||
| 19 | + floatLeft: 'Uz levu ivicu', | ||
| 20 | + floatRight: 'Uz desnu ivicu', | ||
| 21 | + floatNone: 'Bez ravnanja', | ||
| 22 | + dragImageHere: 'Prevuci sliku ovde', | ||
| 23 | + selectFromFiles: 'Izaberi iz datoteke', | ||
| 24 | + url: 'Adresa slike', | ||
| 25 | + remove: 'Ukloni sliku' | ||
| 26 | + }, | ||
| 27 | + video: { | ||
| 28 | + video: 'Video', | ||
| 29 | + videoLink: 'Veza ka videu', | ||
| 30 | + insert: 'Umetni video', | ||
| 31 | + url: 'URL video', | ||
| 32 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)' | ||
| 33 | + }, | ||
| 34 | + link: { | ||
| 35 | + link: 'Veza', | ||
| 36 | + insert: 'Umetni vezu', | ||
| 37 | + unlink: 'Ukloni vezu', | ||
| 38 | + edit: 'Uredi', | ||
| 39 | + textToDisplay: 'Tekst za prikaz', | ||
| 40 | + url: 'Internet adresa', | ||
| 41 | + openInNewWindow: 'Otvori u novom prozoru' | ||
| 42 | + }, | ||
| 43 | + table: { | ||
| 44 | + table: 'Tabela' | ||
| 45 | + }, | ||
| 46 | + hr: { | ||
| 47 | + insert: 'Umetni horizontalnu liniju' | ||
| 48 | + }, | ||
| 49 | + style: { | ||
| 50 | + style: 'Stil', | ||
| 51 | + p: 'pni', | ||
| 52 | + blockquote: 'Citat', | ||
| 53 | + pre: 'Kod', | ||
| 54 | + h1: 'Zaglavlje 1', | ||
| 55 | + h2: 'Zaglavlje 2', | ||
| 56 | + h3: 'Zaglavlje 3', | ||
| 57 | + h4: 'Zaglavlje 4', | ||
| 58 | + h5: 'Zaglavlje 5', | ||
| 59 | + h6: 'Zaglavlje 6' | ||
| 60 | + }, | ||
| 61 | + lists: { | ||
| 62 | + unordered: 'Obična lista', | ||
| 63 | + ordered: 'Numerisana lista' | ||
| 64 | + }, | ||
| 65 | + options: { | ||
| 66 | + help: 'Pomoć', | ||
| 67 | + fullscreen: 'Preko celog ekrana', | ||
| 68 | + codeview: 'Izvorni kod' | ||
| 69 | + }, | ||
| 70 | + paragraph: { | ||
| 71 | + paragraph: 'Paragraf', | ||
| 72 | + outdent: 'Smanji uvlačenje', | ||
| 73 | + indent: 'Povečaj uvlačenje', | ||
| 74 | + left: 'Poravnaj u levo', | ||
| 75 | + center: 'Centrirano', | ||
| 76 | + right: 'Poravnaj u desno', | ||
| 77 | + justify: 'Poravnaj obostrano' | ||
| 78 | + }, | ||
| 79 | + color: { | ||
| 80 | + recent: 'Poslednja boja', | ||
| 81 | + more: 'Više boja', | ||
| 82 | + background: 'Boja pozadine', | ||
| 83 | + foreground: 'Boja teksta', | ||
| 84 | + transparent: 'Providna', | ||
| 85 | + setTransparent: 'Providna', | ||
| 86 | + reset: 'Opoziv', | ||
| 87 | + resetToDefault: 'Podrazumevana' | ||
| 88 | + }, | ||
| 89 | + shortcut: { | ||
| 90 | + shortcuts: 'Prečice sa tastature', | ||
| 91 | + close: 'Zatvori', | ||
| 92 | + textFormatting: 'Formatiranje teksta', | ||
| 93 | + action: 'Akcija', | ||
| 94 | + paragraphFormatting: 'Formatiranje paragrafa', | ||
| 95 | + documentStyle: 'Stil dokumenta', | ||
| 96 | + extraKeys: 'Dodatne kombinacije' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'Poništi', | ||
| 100 | + redo: 'Ponovi' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-sr-RS.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'sr-RS': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Подебљано', | ||
| 6 | + italic: 'Курзив', | ||
| 7 | + underline: 'Подвучено', | ||
| 8 | + clear: 'Уклони стилове фонта', | ||
| 9 | + height: 'Висина линије', | ||
| 10 | + strikethrough: 'Прецртано', | ||
| 11 | + size: 'Величина фонта' | ||
| 12 | + }, | ||
| 13 | + image: { | ||
| 14 | + image: 'Слика', | ||
| 15 | + insert: 'Уметни слику', | ||
| 16 | + resizeFull: 'Пуна величина', | ||
| 17 | + resizeHalf: 'Умањи на 50%', | ||
| 18 | + resizeQuarter: 'Умањи на 25%', | ||
| 19 | + floatLeft: 'Уз леву ивицу', | ||
| 20 | + floatRight: 'Уз десну ивицу', | ||
| 21 | + floatNone: 'Без равнања', | ||
| 22 | + dragImageHere: 'Превуци слику овде', | ||
| 23 | + selectFromFiles: 'Изабери из датотеке', | ||
| 24 | + url: 'Адреса слике', | ||
| 25 | + remove: 'Уклони слику' | ||
| 26 | + }, | ||
| 27 | + video: { | ||
| 28 | + video: 'Видео', | ||
| 29 | + videoLink: 'Веза ка видеу', | ||
| 30 | + insert: 'Уметни видео', | ||
| 31 | + url: 'URL видео', | ||
| 32 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)' | ||
| 33 | + }, | ||
| 34 | + link: { | ||
| 35 | + link: 'Веза', | ||
| 36 | + insert: 'Уметни везу', | ||
| 37 | + unlink: 'Уклони везу', | ||
| 38 | + edit: 'Уреди', | ||
| 39 | + textToDisplay: 'Текст за приказ', | ||
| 40 | + url: 'Интернет адреса', | ||
| 41 | + openInNewWindow: 'Отвори у новом прозору' | ||
| 42 | + }, | ||
| 43 | + table: { | ||
| 44 | + table: 'Табела' | ||
| 45 | + }, | ||
| 46 | + hr: { | ||
| 47 | + insert: 'Уметни хоризонталну линију' | ||
| 48 | + }, | ||
| 49 | + style: { | ||
| 50 | + style: 'Стил', | ||
| 51 | + p: 'Нормални', | ||
| 52 | + blockquote: 'Цитат', | ||
| 53 | + pre: 'Код', | ||
| 54 | + h1: 'Заглавље 1', | ||
| 55 | + h2: 'Заглавље 2', | ||
| 56 | + h3: 'Заглавље 3', | ||
| 57 | + h4: 'Заглавље 4', | ||
| 58 | + h5: 'Заглавље 5', | ||
| 59 | + h6: 'Заглавље 6' | ||
| 60 | + }, | ||
| 61 | + lists: { | ||
| 62 | + unordered: 'Обична листа', | ||
| 63 | + ordered: 'Нумерисана листа' | ||
| 64 | + }, | ||
| 65 | + options: { | ||
| 66 | + help: 'Помоћ', | ||
| 67 | + fullscreen: 'Преко целог екрана', | ||
| 68 | + codeview: 'Изворни код' | ||
| 69 | + }, | ||
| 70 | + paragraph: { | ||
| 71 | + paragraph: 'Параграф', | ||
| 72 | + outdent: 'Смањи увлачење', | ||
| 73 | + indent: 'Повечај увлачење', | ||
| 74 | + left: 'Поравнај у лево', | ||
| 75 | + center: 'Центрирано', | ||
| 76 | + right: 'Поравнај у десно', | ||
| 77 | + justify: 'Поравнај обострано' | ||
| 78 | + }, | ||
| 79 | + color: { | ||
| 80 | + recent: 'Последња боја', | ||
| 81 | + more: 'Више боја', | ||
| 82 | + background: 'Боја позадине', | ||
| 83 | + foreground: 'Боја текста', | ||
| 84 | + transparent: 'Провидна', | ||
| 85 | + setTransparent: 'Провидна', | ||
| 86 | + reset: 'Опозив', | ||
| 87 | + resetToDefault: 'Подразумевана' | ||
| 88 | + }, | ||
| 89 | + shortcut: { | ||
| 90 | + shortcuts: 'Пречице са тастатуре', | ||
| 91 | + close: 'Затвори', | ||
| 92 | + textFormatting: 'Форматирање текста', | ||
| 93 | + action: 'Акција', | ||
| 94 | + paragraphFormatting: 'Форматирање параграфа', | ||
| 95 | + documentStyle: 'Стил документа', | ||
| 96 | + extraKeys: 'Додатне комбинације' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'Поништи', | ||
| 100 | + redo: 'Понови' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-sv-SE.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'sv-SE': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Fet', | ||
| 6 | + italic: 'Kursiv', | ||
| 7 | + underline: 'Understruken', | ||
| 8 | + clear: 'Radera formatering', | ||
| 9 | + height: 'Radavstånd', | ||
| 10 | + name: 'Teckensnitt', | ||
| 11 | + strikethrough: 'Genomstruken', | ||
| 12 | + size: 'Teckenstorlek' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Bild', | ||
| 16 | + insert: 'Infoga bild', | ||
| 17 | + resizeFull: 'Full storlek', | ||
| 18 | + resizeHalf: 'Halv storlek', | ||
| 19 | + resizeQuarter: 'En fjärdedel i storlek', | ||
| 20 | + floatLeft: 'Vänsterjusterad', | ||
| 21 | + floatRight: 'Högerjusterad', | ||
| 22 | + floatNone: 'Ingen justering', | ||
| 23 | + dragImageHere: 'Dra en bild hit', | ||
| 24 | + selectFromFiles: 'Välj från filer', | ||
| 25 | + url: 'Länk till bild', | ||
| 26 | + remove: 'Ta bort bild' | ||
| 27 | + }, | ||
| 28 | + video: { | ||
| 29 | + video: 'Filmklipp', | ||
| 30 | + videoLink: 'Länk till filmklipp', | ||
| 31 | + insert: 'Infoga filmklipp', | ||
| 32 | + url: 'Länk till filmklipp', | ||
| 33 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)' | ||
| 34 | + }, | ||
| 35 | + link: { | ||
| 36 | + link: 'Länk', | ||
| 37 | + insert: 'Infoga länk', | ||
| 38 | + unlink: 'Ta bort länk', | ||
| 39 | + edit: 'Redigera', | ||
| 40 | + textToDisplay: 'Visningstext', | ||
| 41 | + url: 'Till vilken URL ska denna länk peka?', | ||
| 42 | + openInNewWindow: 'Öppna i ett nytt fönster' | ||
| 43 | + }, | ||
| 44 | + table: { | ||
| 45 | + table: 'Tabell' | ||
| 46 | + }, | ||
| 47 | + hr: { | ||
| 48 | + insert: 'Infoga horisontell linje' | ||
| 49 | + }, | ||
| 50 | + style: { | ||
| 51 | + style: 'Stil', | ||
| 52 | + p: 'p', | ||
| 53 | + blockquote: 'Citat', | ||
| 54 | + pre: 'Kod', | ||
| 55 | + h1: 'Rubrik 1', | ||
| 56 | + h2: 'Rubrik 2', | ||
| 57 | + h3: 'Rubrik 3', | ||
| 58 | + h4: 'Rubrik 4', | ||
| 59 | + h5: 'Rubrik 5', | ||
| 60 | + h6: 'Rubrik 6' | ||
| 61 | + }, | ||
| 62 | + lists: { | ||
| 63 | + unordered: 'Punktlista', | ||
| 64 | + ordered: 'Numrerad lista' | ||
| 65 | + }, | ||
| 66 | + options: { | ||
| 67 | + help: 'Hjälp', | ||
| 68 | + fullscreen: 'Fullskärm', | ||
| 69 | + codeview: 'HTML-visning' | ||
| 70 | + }, | ||
| 71 | + paragraph: { | ||
| 72 | + paragraph: 'Justera text', | ||
| 73 | + outdent: 'Minska indrag', | ||
| 74 | + indent: 'Öka indrag', | ||
| 75 | + left: 'Vänsterjusterad', | ||
| 76 | + center: 'Centrerad', | ||
| 77 | + right: 'Högerjusterad', | ||
| 78 | + justify: 'Justera text' | ||
| 79 | + }, | ||
| 80 | + color: { | ||
| 81 | + recent: 'Senast använda färg', | ||
| 82 | + more: 'Fler färger', | ||
| 83 | + background: 'Bakgrundsfärg', | ||
| 84 | + foreground: 'Teckenfärg', | ||
| 85 | + transparent: 'Genomskinlig', | ||
| 86 | + setTransparent: 'Gör genomskinlig', | ||
| 87 | + reset: 'Nollställ', | ||
| 88 | + resetToDefault: 'Återställ till standard' | ||
| 89 | + }, | ||
| 90 | + shortcut: { | ||
| 91 | + shortcuts: 'Kortkommandon', | ||
| 92 | + close: 'Stäng', | ||
| 93 | + textFormatting: 'Textformatering', | ||
| 94 | + action: 'Funktion', | ||
| 95 | + paragraphFormatting: 'Avsnittsformatering', | ||
| 96 | + documentStyle: 'Dokumentstil' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'Ångra', | ||
| 100 | + redo: 'Gör om' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-th-TH.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'th-TH': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'ตัวหนา', | ||
| 6 | + italic: 'ตัวเอียง', | ||
| 7 | + underline: 'ขีดเส้นใต้', | ||
| 8 | + clear: 'ล้างรูปแบบตัวอักษร', | ||
| 9 | + height: 'ความสูงบรรทัด', | ||
| 10 | + name: 'แบบตัวอักษร', | ||
| 11 | + strikethrough: 'ขีดฆ่า', | ||
| 12 | + subscript: 'ตัวห้อย', | ||
| 13 | + superscript: 'ตัวยก', | ||
| 14 | + size: 'ขนาดตัวอักษร' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'รูปภาพ', | ||
| 18 | + insert: 'แทรกรูปภาพ', | ||
| 19 | + resizeFull: 'ปรับขนาดเท่าจริง', | ||
| 20 | + resizeHalf: 'ปรับขนาดลง 50%', | ||
| 21 | + resizeQuarter: 'ปรับขนาดลง 25%', | ||
| 22 | + floatLeft: 'ชิดซ้าย', | ||
| 23 | + floatRight: 'ชิดขวา', | ||
| 24 | + floatNone: 'ไม่จัดตำแหน่ง', | ||
| 25 | + dragImageHere: 'ลากรูปภาพที่ต้องการไว้ที่นี่', | ||
| 26 | + selectFromFiles: 'เลือกไฟล์รูปภาพ', | ||
| 27 | + url: 'ที่อยู่ URL ของรูปภาพ', | ||
| 28 | + remove: 'ลบรูปภาพ' | ||
| 29 | + }, | ||
| 30 | + video: { | ||
| 31 | + video: 'วีดีโอ', | ||
| 32 | + videoLink: 'ลิงก์ของวีดีโอ', | ||
| 33 | + insert: 'แทรกวีดีโอ', | ||
| 34 | + url: 'ที่อยู่ URL ของวีดีโอ?', | ||
| 35 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion หรือ Youku)' | ||
| 36 | + }, | ||
| 37 | + link: { | ||
| 38 | + link: 'ตัวเชื่อมโยง', | ||
| 39 | + insert: 'แทรกตัวเชื่อมโยง', | ||
| 40 | + unlink: 'ยกเลิกตัวเชื่อมโยง', | ||
| 41 | + edit: 'แก้ไข', | ||
| 42 | + textToDisplay: 'ข้อความที่ให้แสดง', | ||
| 43 | + url: 'ที่อยู่เว็บไซต์ที่ต้องการให้เชื่อมโยงไปถึง?', | ||
| 44 | + openInNewWindow: 'เปิดในหน้าต่างใหม่' | ||
| 45 | + }, | ||
| 46 | + table: { | ||
| 47 | + table: 'ตาราง' | ||
| 48 | + }, | ||
| 49 | + hr: { | ||
| 50 | + insert: 'แทรกเส้นคั่น' | ||
| 51 | + }, | ||
| 52 | + style: { | ||
| 53 | + style: 'รูปแบบ', | ||
| 54 | + p: 'ปกติ', | ||
| 55 | + blockquote: 'ข้อความ', | ||
| 56 | + pre: 'โค้ด', | ||
| 57 | + h1: 'หัวข้อ 1', | ||
| 58 | + h2: 'หัวข้อ 2', | ||
| 59 | + h3: 'หัวข้อ 3', | ||
| 60 | + h4: 'หัวข้อ 4', | ||
| 61 | + h5: 'หัวข้อ 5', | ||
| 62 | + h6: 'หัวข้อ 6' | ||
| 63 | + }, | ||
| 64 | + lists: { | ||
| 65 | + unordered: 'รายการแบบไม่มีลำดับ', | ||
| 66 | + ordered: 'รายการแบบมีลำดับ' | ||
| 67 | + }, | ||
| 68 | + options: { | ||
| 69 | + help: 'ช่วยเหลือ', | ||
| 70 | + fullscreen: 'ขยายเต็มหน้าจอ', | ||
| 71 | + codeview: 'ซอร์สโค้ด' | ||
| 72 | + }, | ||
| 73 | + paragraph: { | ||
| 74 | + paragraph: 'ย่อหน้า', | ||
| 75 | + outdent: 'เยื้องซ้าย', | ||
| 76 | + indent: 'เยื้องขวา', | ||
| 77 | + left: 'จัดหน้าชิดซ้าย', | ||
| 78 | + center: 'จัดหน้ากึ่งกลาง', | ||
| 79 | + right: 'จัดหน้าชิดขวา', | ||
| 80 | + justify: 'จัดบรรทัดเสมอกัน' | ||
| 81 | + }, | ||
| 82 | + color: { | ||
| 83 | + recent: 'สีที่ใช้ล่าสุด', | ||
| 84 | + more: 'สีอื่นๆ', | ||
| 85 | + background: 'สีพื้นหลัง', | ||
| 86 | + foreground: 'สีพื้นหน้า', | ||
| 87 | + transparent: 'โปร่งแสง', | ||
| 88 | + setTransparent: 'ตั้งค่าความโปร่งแสง', | ||
| 89 | + reset: 'คืนค่า', | ||
| 90 | + resetToDefault: 'คืนค่ามาตรฐาน' | ||
| 91 | + }, | ||
| 92 | + shortcut: { | ||
| 93 | + shortcuts: 'แป้นลัด', | ||
| 94 | + close: 'ปิด', | ||
| 95 | + textFormatting: 'การจัดรูปแบบข้อความ', | ||
| 96 | + action: 'การกระทำ', | ||
| 97 | + paragraphFormatting: 'การจัดรูปแบบย่อหน้า', | ||
| 98 | + documentStyle: 'รูปแบบของเอกสาร' | ||
| 99 | + }, | ||
| 100 | + history: { | ||
| 101 | + undo: 'ยกเลิกการกระทำ', | ||
| 102 | + redo: 'ทำซ้ำการกระทำ' | ||
| 103 | + } | ||
| 104 | + } | ||
| 105 | + }); | ||
| 106 | +})(jQuery); |
lib/summernote/lang/summernote-tr-TR.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'tr-TR': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Kalın', | ||
| 6 | + italic: 'İtalik', | ||
| 7 | + underline: 'Altı çizili', | ||
| 8 | + clear: 'Temizle', | ||
| 9 | + height: 'Satır yüksekliği', | ||
| 10 | + name: 'Yazı Tipi', | ||
| 11 | + strikethrough: 'Üstü çizili', | ||
| 12 | + subscript: 'Alt Simge', | ||
| 13 | + superscript: 'Üst Simge', | ||
| 14 | + size: 'Yazı tipi boyutu' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Resim', | ||
| 18 | + insert: 'Resim ekle', | ||
| 19 | + resizeFull: 'Orjinal boyut', | ||
| 20 | + resizeHalf: '1/2 boyut', | ||
| 21 | + resizeQuarter: '1/4 boyut', | ||
| 22 | + floatLeft: 'Sola hizala', | ||
| 23 | + floatRight: 'Sağa hizala', | ||
| 24 | + floatNone: 'Hizalamayı kaldır', | ||
| 25 | + shapeRounded: 'Şekil: Yuvarlatılmış Köşe', | ||
| 26 | + shapeCircle: 'Şekil: Daire', | ||
| 27 | + shapeThumbnail: 'Şekil: K.Resim', | ||
| 28 | + shapeNone: 'Şekil: Yok', | ||
| 29 | + dragImageHere: 'Buraya sürükleyin', | ||
| 30 | + dropImage: 'Resim veya metni bırakın', | ||
| 31 | + selectFromFiles: 'Dosya seçin', | ||
| 32 | + maximumFileSize: 'Maksimum dosya boyutu', | ||
| 33 | + maximumFileSizeError: 'Maksimum dosya boyutu aşıldı.', | ||
| 34 | + url: 'Resim bağlantısı', | ||
| 35 | + remove: 'Resimi Kaldır' | ||
| 36 | + }, | ||
| 37 | + video: { | ||
| 38 | + video: 'Video', | ||
| 39 | + videoLink: 'Video bağlantısı', | ||
| 40 | + insert: 'Video ekle', | ||
| 41 | + url: 'Video bağlantısı?', | ||
| 42 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion veya Youku)' | ||
| 43 | + }, | ||
| 44 | + link: { | ||
| 45 | + link: 'Bağlantı', | ||
| 46 | + insert: 'Bağlantı ekle', | ||
| 47 | + unlink: 'Bağlantıyı kaldır', | ||
| 48 | + edit: 'Bağlantıyı düzenle', | ||
| 49 | + textToDisplay: 'Görüntülemek için', | ||
| 50 | + url: 'Bağlantı adresi?', | ||
| 51 | + openInNewWindow: 'Yeni pencerede aç' | ||
| 52 | + }, | ||
| 53 | + table: { | ||
| 54 | + table: 'Tablo' | ||
| 55 | + }, | ||
| 56 | + hr: { | ||
| 57 | + insert: 'Yatay çizgi ekle' | ||
| 58 | + }, | ||
| 59 | + style: { | ||
| 60 | + style: 'Biçim', | ||
| 61 | + p: 'p', | ||
| 62 | + blockquote: 'Alıntı', | ||
| 63 | + pre: 'Önbiçimli', | ||
| 64 | + h1: 'Başlık 1', | ||
| 65 | + h2: 'Başlık 2', | ||
| 66 | + h3: 'Başlık 3', | ||
| 67 | + h4: 'Başlık 4', | ||
| 68 | + h5: 'Başlık 5', | ||
| 69 | + h6: 'Başlık 6' | ||
| 70 | + }, | ||
| 71 | + lists: { | ||
| 72 | + unordered: 'Madde işaretli liste', | ||
| 73 | + ordered: 'Numaralı liste' | ||
| 74 | + }, | ||
| 75 | + options: { | ||
| 76 | + help: 'Yardım', | ||
| 77 | + fullscreen: 'Tam ekran', | ||
| 78 | + codeview: 'HTML Kodu' | ||
| 79 | + }, | ||
| 80 | + paragraph: { | ||
| 81 | + paragraph: 'Paragraf', | ||
| 82 | + outdent: 'Girintiyi artır', | ||
| 83 | + indent: 'Girintiyi azalt', | ||
| 84 | + left: 'Sola hizala', | ||
| 85 | + center: 'Ortaya hizala', | ||
| 86 | + right: 'Sağa hizala', | ||
| 87 | + justify: 'Yasla' | ||
| 88 | + }, | ||
| 89 | + color: { | ||
| 90 | + recent: 'Son renk', | ||
| 91 | + more: 'Daha fazla renk', | ||
| 92 | + background: 'Arka plan rengi', | ||
| 93 | + foreground: 'Yazı rengi', | ||
| 94 | + transparent: 'Seffaflık', | ||
| 95 | + setTransparent: 'Şeffaflığı ayarla', | ||
| 96 | + reset: 'Sıfırla', | ||
| 97 | + resetToDefault: 'Varsayılanlara sıfırla' | ||
| 98 | + }, | ||
| 99 | + shortcut: { | ||
| 100 | + shortcuts: 'Kısayollar', | ||
| 101 | + close: 'Kapat', | ||
| 102 | + textFormatting: 'Yazı biçimlendirme', | ||
| 103 | + action: 'Eylem', | ||
| 104 | + paragraphFormatting: 'Paragraf biçimlendirme', | ||
| 105 | + documentStyle: 'Biçim', | ||
| 106 | + extraKeys: 'İlave anahtarlar' | ||
| 107 | + }, | ||
| 108 | + help: { | ||
| 109 | + 'insertParagraph': 'Paragraf ekler', | ||
| 110 | + 'undo': 'Son komudu geri alır', | ||
| 111 | + 'redo': 'Son komudu yineler', | ||
| 112 | + 'tab': 'Girintiyi artırır', | ||
| 113 | + 'untab': 'Girintiyi azaltır', | ||
| 114 | + 'bold': 'Kalın yazma stilini ayarlar', | ||
| 115 | + 'italic': 'İtalik yazma stilini ayarlar', | ||
| 116 | + 'underline': 'Altı çizgili yazma stilini ayarlar', | ||
| 117 | + 'strikethrough': 'Üstü çizgili yazma stilini ayarlar', | ||
| 118 | + 'removeFormat': 'Biçimlendirmeyi temizler', | ||
| 119 | + 'justifyLeft': 'Yazıyı sola hizalar', | ||
| 120 | + 'justifyCenter': 'Yazıyı ortalar', | ||
| 121 | + 'justifyRight': 'Yazıyı sağa hizalar', | ||
| 122 | + 'justifyFull': 'Yazıyı her iki tarafa yazlar', | ||
| 123 | + 'insertUnorderedList': 'Madde işaretli liste ekler', | ||
| 124 | + 'insertOrderedList': 'Numaralı liste ekler', | ||
| 125 | + 'outdent': 'Aktif paragrafın girintisini azaltır', | ||
| 126 | + 'indent': 'Aktif paragrafın girintisini artırır', | ||
| 127 | + 'formatPara': 'Aktif bloğun biçimini paragraf (p) olarak değiştirir', | ||
| 128 | + 'formatH1': 'Aktif bloğun biçimini başlık 1 (h1) olarak değiştirir', | ||
| 129 | + 'formatH2': 'Aktif bloğun biçimini başlık 2 (h2) olarak değiştirir', | ||
| 130 | + 'formatH3': 'Aktif bloğun biçimini başlık 3 (h3) olarak değiştirir', | ||
| 131 | + 'formatH4': 'Aktif bloğun biçimini başlık 4 (h4) olarak değiştirir', | ||
| 132 | + 'formatH5': 'Aktif bloğun biçimini başlık 5 (h5) olarak değiştirir', | ||
| 133 | + 'formatH6': 'Aktif bloğun biçimini başlık 6 (h6) olarak değiştirir', | ||
| 134 | + 'insertHorizontalRule': 'Yatay çizgi ekler', | ||
| 135 | + 'linkDialog.show': 'Bağlantı ayar kutusunu gösterir' | ||
| 136 | + }, | ||
| 137 | + history: { | ||
| 138 | + undo: 'Geri al', | ||
| 139 | + redo: 'Yinele' | ||
| 140 | + }, | ||
| 141 | + specialChar: { | ||
| 142 | + specialChar: 'ÖZEL KARAKTERLER', | ||
| 143 | + select: 'Özel Karakterleri seçin' | ||
| 144 | + } | ||
| 145 | + } | ||
| 146 | + }); | ||
| 147 | +})(jQuery); |
lib/summernote/lang/summernote-uk-UA.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'uk-UA': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'Напівжирний', | ||
| 6 | + italic: 'Курсив', | ||
| 7 | + underline: 'Підкреслений', | ||
| 8 | + clear: 'Прибрати стилі шрифту', | ||
| 9 | + height: 'Висота лінії', | ||
| 10 | + name: 'Шрифт', | ||
| 11 | + strikethrough: 'Закреслений', | ||
| 12 | + subscript: 'Нижній індекс', | ||
| 13 | + superscript: 'Верхній індекс', | ||
| 14 | + size: 'Розмір шрифту' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: 'Картинка', | ||
| 18 | + insert: 'Вставити картинку', | ||
| 19 | + resizeFull: 'Відновити розмір', | ||
| 20 | + resizeHalf: 'Зменшити до 50%', | ||
| 21 | + resizeQuarter: 'Зменшити до 25%', | ||
| 22 | + floatLeft: 'Розташувати ліворуч', | ||
| 23 | + floatRight: 'Розташувати праворуч', | ||
| 24 | + floatNone: 'Початкове розташування', | ||
| 25 | + shapeRounded: 'Форма: Заокруглена', | ||
| 26 | + shapeCircle: 'Форма: Коло', | ||
| 27 | + shapeThumbnail: 'Форма: Мініатюра', | ||
| 28 | + shapeNone: 'Форма: Немає', | ||
| 29 | + dragImageHere: 'Перетягніть сюди картинку', | ||
| 30 | + dropImage: 'Перетягніть картинку', | ||
| 31 | + selectFromFiles: 'Вибрати з файлів', | ||
| 32 | + url: 'URL картинки', | ||
| 33 | + remove: 'Видалити картинку' | ||
| 34 | + }, | ||
| 35 | + video: { | ||
| 36 | + video: 'Відео', | ||
| 37 | + videoLink: 'Посилання на відео', | ||
| 38 | + insert: 'Вставити відео', | ||
| 39 | + url: 'URL відео', | ||
| 40 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion чи Youku)' | ||
| 41 | + }, | ||
| 42 | + link: { | ||
| 43 | + link: 'Посилання', | ||
| 44 | + insert: 'Вставити посилання', | ||
| 45 | + unlink: 'Прибрати посилання', | ||
| 46 | + edit: 'Редагувати', | ||
| 47 | + textToDisplay: 'Текст, що відображається', | ||
| 48 | + url: 'URL для переходу', | ||
| 49 | + openInNewWindow: 'Відкривати у новому вікні' | ||
| 50 | + }, | ||
| 51 | + table: { | ||
| 52 | + table: 'Таблиця' | ||
| 53 | + }, | ||
| 54 | + hr: { | ||
| 55 | + insert: 'Вставити горизонтальну лінію' | ||
| 56 | + }, | ||
| 57 | + style: { | ||
| 58 | + style: 'Стиль', | ||
| 59 | + p: 'Нормальний', | ||
| 60 | + blockquote: 'Цитата', | ||
| 61 | + pre: 'Код', | ||
| 62 | + h1: 'Заголовок 1', | ||
| 63 | + h2: 'Заголовок 2', | ||
| 64 | + h3: 'Заголовок 3', | ||
| 65 | + h4: 'Заголовок 4', | ||
| 66 | + h5: 'Заголовок 5', | ||
| 67 | + h6: 'Заголовок 6' | ||
| 68 | + }, | ||
| 69 | + lists: { | ||
| 70 | + unordered: 'Маркований список', | ||
| 71 | + ordered: 'Нумерований список' | ||
| 72 | + }, | ||
| 73 | + options: { | ||
| 74 | + help: 'Допомога', | ||
| 75 | + fullscreen: 'На весь екран', | ||
| 76 | + codeview: 'Початковий код' | ||
| 77 | + }, | ||
| 78 | + paragraph: { | ||
| 79 | + paragraph: 'Параграф', | ||
| 80 | + outdent: 'Зменшити відступ', | ||
| 81 | + indent: 'Збільшити відступ', | ||
| 82 | + left: 'Вирівняти по лівому краю', | ||
| 83 | + center: 'Вирівняти по центру', | ||
| 84 | + right: 'Вирівняти по правому краю', | ||
| 85 | + justify: 'Розтягнути по ширині' | ||
| 86 | + }, | ||
| 87 | + color: { | ||
| 88 | + recent: 'Останній колір', | ||
| 89 | + more: 'Ще кольори', | ||
| 90 | + background: 'Колір фону', | ||
| 91 | + foreground: 'Колір шрифту', | ||
| 92 | + transparent: 'Прозорий', | ||
| 93 | + setTransparent: 'Зробити прозорим', | ||
| 94 | + reset: 'Відновити', | ||
| 95 | + resetToDefault: 'Відновити початкові' | ||
| 96 | + }, | ||
| 97 | + shortcut: { | ||
| 98 | + shortcuts: 'Комбінації клавіш', | ||
| 99 | + close: 'Закрити', | ||
| 100 | + textFormatting: 'Форматування тексту', | ||
| 101 | + action: 'Дія', | ||
| 102 | + paragraphFormatting: 'Форматування параграфу', | ||
| 103 | + documentStyle: 'Стиль документу' | ||
| 104 | + }, | ||
| 105 | + history: { | ||
| 106 | + undo: 'Відмінити', | ||
| 107 | + redo: 'Повторити' | ||
| 108 | + } | ||
| 109 | + } | ||
| 110 | + }); | ||
| 111 | +})(jQuery); |
lib/summernote/lang/summernote-vi-VN.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'vi-VN': { | ||
| 4 | + font: { | ||
| 5 | + bold: 'In Đậm', | ||
| 6 | + italic: 'In Nghiêng', | ||
| 7 | + underline: 'Gạch dưới', | ||
| 8 | + clear: 'Bỏ định dạng', | ||
| 9 | + height: 'Chiều cao dòng', | ||
| 10 | + name: 'Phông chữ', | ||
| 11 | + strikethrough: 'Gạch ngang', | ||
| 12 | + size: 'Cỡ chữ' | ||
| 13 | + }, | ||
| 14 | + image: { | ||
| 15 | + image: 'Hình ảnh', | ||
| 16 | + insert: 'Chèn', | ||
| 17 | + resizeFull: '100%', | ||
| 18 | + resizeHalf: '50%', | ||
| 19 | + resizeQuarter: '25%', | ||
| 20 | + floatLeft: 'Trôi về trái', | ||
| 21 | + floatRight: 'Trôi về phải', | ||
| 22 | + floatNone: 'Không trôi', | ||
| 23 | + dragImageHere: 'Thả Ảnh ở vùng này', | ||
| 24 | + selectFromFiles: 'Chọn từ File', | ||
| 25 | + url: 'URL', | ||
| 26 | + remove: 'Xóa' | ||
| 27 | + }, | ||
| 28 | + video: { | ||
| 29 | + video: 'Video', | ||
| 30 | + videoLink: 'Link đến Video', | ||
| 31 | + insert: 'Chèn Video', | ||
| 32 | + url: 'URL', | ||
| 33 | + providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion và Youku)' | ||
| 34 | + }, | ||
| 35 | + link: { | ||
| 36 | + link: 'Link', | ||
| 37 | + insert: 'Chèn Link', | ||
| 38 | + unlink: 'Gỡ Link', | ||
| 39 | + edit: 'Sửa', | ||
| 40 | + textToDisplay: 'Văn bản hiển thị', | ||
| 41 | + url: 'URL', | ||
| 42 | + openInNewWindow: 'Mở ở Cửa sổ mới' | ||
| 43 | + }, | ||
| 44 | + table: { | ||
| 45 | + table: 'Bảng' | ||
| 46 | + }, | ||
| 47 | + hr: { | ||
| 48 | + insert: 'Chèn' | ||
| 49 | + }, | ||
| 50 | + style: { | ||
| 51 | + style: 'Kiểu chữ', | ||
| 52 | + p: 'Chữ thường', | ||
| 53 | + blockquote: 'Đoạn trích', | ||
| 54 | + pre: 'Mã Code', | ||
| 55 | + h1: 'H1', | ||
| 56 | + h2: 'H2', | ||
| 57 | + h3: 'H3', | ||
| 58 | + h4: 'H4', | ||
| 59 | + h5: 'H5', | ||
| 60 | + h6: 'H6' | ||
| 61 | + }, | ||
| 62 | + lists: { | ||
| 63 | + unordered: 'Liệt kê danh sách', | ||
| 64 | + ordered: 'Liệt kê theo thứ tự' | ||
| 65 | + }, | ||
| 66 | + options: { | ||
| 67 | + help: 'Trợ giúp', | ||
| 68 | + fullscreen: 'Toàn Màn hình', | ||
| 69 | + codeview: 'Xem Code' | ||
| 70 | + }, | ||
| 71 | + paragraph: { | ||
| 72 | + paragraph: 'Canh lề', | ||
| 73 | + outdent: 'Dịch sang trái', | ||
| 74 | + indent: 'Dịch sang phải', | ||
| 75 | + left: 'Canh trái', | ||
| 76 | + center: 'Canh giữa', | ||
| 77 | + right: 'Canh phải', | ||
| 78 | + justify: 'Canh đều' | ||
| 79 | + }, | ||
| 80 | + color: { | ||
| 81 | + recent: 'Màu chữ', | ||
| 82 | + more: 'Mở rộng', | ||
| 83 | + background: 'Màu nền', | ||
| 84 | + foreground: 'Màu chữ', | ||
| 85 | + transparent: 'trong suốt', | ||
| 86 | + setTransparent: 'Nền trong suốt', | ||
| 87 | + reset: 'Thiết lập lại', | ||
| 88 | + resetToDefault: 'Trở lại ban đầu' | ||
| 89 | + }, | ||
| 90 | + shortcut: { | ||
| 91 | + shortcuts: 'Phím tắt', | ||
| 92 | + close: 'Đóng', | ||
| 93 | + textFormatting: 'Định dạng Văn bản', | ||
| 94 | + action: 'Hành động', | ||
| 95 | + paragraphFormatting: 'Định dạng', | ||
| 96 | + documentStyle: 'Kiểu văn bản' | ||
| 97 | + }, | ||
| 98 | + history: { | ||
| 99 | + undo: 'Lùi lại', | ||
| 100 | + redo: 'Làm lại' | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + }); | ||
| 104 | +})(jQuery); |
lib/summernote/lang/summernote-zh-CN.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'zh-CN': { | ||
| 4 | + font: { | ||
| 5 | + bold: '粗体', | ||
| 6 | + italic: '斜体', | ||
| 7 | + underline: '下划线', | ||
| 8 | + clear: '清除格式', | ||
| 9 | + height: '行高', | ||
| 10 | + name: '字体', | ||
| 11 | + strikethrough: '删除线', | ||
| 12 | + subscript: '下标', | ||
| 13 | + superscript: '上标', | ||
| 14 | + size: '字号' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: '图片', | ||
| 18 | + insert: '插入图片', | ||
| 19 | + resizeFull: '缩放至 100%', | ||
| 20 | + resizeHalf: '缩放至 50%', | ||
| 21 | + resizeQuarter: '缩放至 25%', | ||
| 22 | + floatLeft: '靠左浮动', | ||
| 23 | + floatRight: '靠右浮动', | ||
| 24 | + floatNone: '取消浮动', | ||
| 25 | + shapeRounded: '形状: 圆角', | ||
| 26 | + shapeCircle: '形状: 圆', | ||
| 27 | + shapeThumbnail: '形状: 缩略图', | ||
| 28 | + shapeNone: '形状: 无', | ||
| 29 | + dragImageHere: '将图片拖拽至此处', | ||
| 30 | + selectFromFiles: '从本地上传', | ||
| 31 | + maximumFileSize: '文件大小最大值', | ||
| 32 | + maximumFileSizeError: '文件大小超出最大值。', | ||
| 33 | + url: '图片地址', | ||
| 34 | + remove: '移除图片' | ||
| 35 | + }, | ||
| 36 | + video: { | ||
| 37 | + video: '视频', | ||
| 38 | + videoLink: '视频链接', | ||
| 39 | + insert: '插入视频', | ||
| 40 | + url: '视频地址', | ||
| 41 | + providers: '(优酷, Instagram, DailyMotion, Youtube等)' | ||
| 42 | + }, | ||
| 43 | + link: { | ||
| 44 | + link: '链接', | ||
| 45 | + insert: '插入链接', | ||
| 46 | + unlink: '去除链接', | ||
| 47 | + edit: '编辑链接', | ||
| 48 | + textToDisplay: '显示文本', | ||
| 49 | + url: '链接地址', | ||
| 50 | + openInNewWindow: '在新窗口打开' | ||
| 51 | + }, | ||
| 52 | + table: { | ||
| 53 | + table: '表格' | ||
| 54 | + }, | ||
| 55 | + hr: { | ||
| 56 | + insert: '水平线' | ||
| 57 | + }, | ||
| 58 | + style: { | ||
| 59 | + style: '样式', | ||
| 60 | + p: '普通', | ||
| 61 | + blockquote: '引用', | ||
| 62 | + pre: '代码', | ||
| 63 | + h1: '标题 1', | ||
| 64 | + h2: '标题 2', | ||
| 65 | + h3: '标题 3', | ||
| 66 | + h4: '标题 4', | ||
| 67 | + h5: '标题 5', | ||
| 68 | + h6: '标题 6' | ||
| 69 | + }, | ||
| 70 | + lists: { | ||
| 71 | + unordered: '无序列表', | ||
| 72 | + ordered: '有序列表' | ||
| 73 | + }, | ||
| 74 | + options: { | ||
| 75 | + help: '帮助', | ||
| 76 | + fullscreen: '全屏', | ||
| 77 | + codeview: '源代码' | ||
| 78 | + }, | ||
| 79 | + paragraph: { | ||
| 80 | + paragraph: '段落', | ||
| 81 | + outdent: '减少缩进', | ||
| 82 | + indent: '增加缩进', | ||
| 83 | + left: '左对齐', | ||
| 84 | + center: '居中对齐', | ||
| 85 | + right: '右对齐', | ||
| 86 | + justify: '两端对齐' | ||
| 87 | + }, | ||
| 88 | + color: { | ||
| 89 | + recent: '最近使用', | ||
| 90 | + more: '更多', | ||
| 91 | + background: '背景', | ||
| 92 | + foreground: '前景', | ||
| 93 | + transparent: '透明', | ||
| 94 | + setTransparent: '透明', | ||
| 95 | + reset: '重置', | ||
| 96 | + resetToDefault: '默认' | ||
| 97 | + }, | ||
| 98 | + shortcut: { | ||
| 99 | + shortcuts: '快捷键', | ||
| 100 | + close: '关闭', | ||
| 101 | + textFormatting: '文本格式', | ||
| 102 | + action: '动作', | ||
| 103 | + paragraphFormatting: '段落格式', | ||
| 104 | + documentStyle: '文档样式', | ||
| 105 | + extraKeys: '额外按键' | ||
| 106 | + }, | ||
| 107 | + history: { | ||
| 108 | + undo: '撤销', | ||
| 109 | + redo: '重做' | ||
| 110 | + } | ||
| 111 | + } | ||
| 112 | + }); | ||
| 113 | +})(jQuery); |
lib/summernote/lang/summernote-zh-TW.js
0 → 100644
| 1 | +(function ($) { | ||
| 2 | + $.extend($.summernote.lang, { | ||
| 3 | + 'zh-TW': { | ||
| 4 | + font: { | ||
| 5 | + bold: '粗體', | ||
| 6 | + italic: '斜體', | ||
| 7 | + underline: '底線', | ||
| 8 | + clear: '清除格式', | ||
| 9 | + height: '行高', | ||
| 10 | + name: '字體', | ||
| 11 | + strikethrough: '刪除線', | ||
| 12 | + subscript: '下標', | ||
| 13 | + superscript: '上標', | ||
| 14 | + size: '字號' | ||
| 15 | + }, | ||
| 16 | + image: { | ||
| 17 | + image: '圖片', | ||
| 18 | + insert: '插入圖片', | ||
| 19 | + resizeFull: '縮放至100%', | ||
| 20 | + resizeHalf: '縮放至 50%', | ||
| 21 | + resizeQuarter: '縮放至 25%', | ||
| 22 | + floatLeft: '靠左浮動', | ||
| 23 | + floatRight: '靠右浮動', | ||
| 24 | + floatNone: '取消浮動', | ||
| 25 | + shapeRounded: '形狀: 圓角', | ||
| 26 | + shapeCircle: '形狀: 圓', | ||
| 27 | + shapeThumbnail: '形狀: 縮略圖', | ||
| 28 | + shapeNone: '形狀: 無', | ||
| 29 | + dragImageHere: '將圖片拖曳至此處', | ||
| 30 | + selectFromFiles: '從本機上傳', | ||
| 31 | + maximumFileSize: '文件大小最大值', | ||
| 32 | + maximumFileSizeError: '文件大小超出最大值。', | ||
| 33 | + url: '圖片網址', | ||
| 34 | + remove: '移除圖片' | ||
| 35 | + }, | ||
| 36 | + video: { | ||
| 37 | + video: '影片', | ||
| 38 | + videoLink: '影片連結', | ||
| 39 | + insert: '插入影片', | ||
| 40 | + url: '影片網址', | ||
| 41 | + providers: '(優酷, Instagram, DailyMotion, Youtube等)' | ||
| 42 | + }, | ||
| 43 | + link: { | ||
| 44 | + link: '連結', | ||
| 45 | + insert: '插入連結', | ||
| 46 | + unlink: '取消連結', | ||
| 47 | + edit: '編輯連結', | ||
| 48 | + textToDisplay: '顯示文字', | ||
| 49 | + url: '連結網址', | ||
| 50 | + openInNewWindow: '在新視窗開啟' | ||
| 51 | + }, | ||
| 52 | + table: { | ||
| 53 | + table: '表格' | ||
| 54 | + }, | ||
| 55 | + hr: { | ||
| 56 | + insert: '水平線' | ||
| 57 | + }, | ||
| 58 | + style: { | ||
| 59 | + style: '樣式', | ||
| 60 | + p: '一般', | ||
| 61 | + blockquote: '引用區塊', | ||
| 62 | + pre: '程式碼區塊', | ||
| 63 | + h1: '標題 1', | ||
| 64 | + h2: '標題 2', | ||
| 65 | + h3: '標題 3', | ||
| 66 | + h4: '標題 4', | ||
| 67 | + h5: '標題 5', | ||
| 68 | + h6: '標題 6' | ||
| 69 | + }, | ||
| 70 | + lists: { | ||
| 71 | + unordered: '項目清單', | ||
| 72 | + ordered: '編號清單' | ||
| 73 | + }, | ||
| 74 | + options: { | ||
| 75 | + help: '幫助', | ||
| 76 | + fullscreen: '全螢幕', | ||
| 77 | + codeview: '原始碼' | ||
| 78 | + }, | ||
| 79 | + paragraph: { | ||
| 80 | + paragraph: '段落', | ||
| 81 | + outdent: '取消縮排', | ||
| 82 | + indent: '增加縮排', | ||
| 83 | + left: '靠右對齊', | ||
| 84 | + center: '靠中對齊', | ||
| 85 | + right: '靠右對齊', | ||
| 86 | + justify: '左右對齊' | ||
| 87 | + }, | ||
| 88 | + color: { | ||
| 89 | + recent: '字型顏色', | ||
| 90 | + more: '更多', | ||
| 91 | + background: '背景', | ||
| 92 | + foreground: '前景', | ||
| 93 | + transparent: '透明', | ||
| 94 | + setTransparent: '透明', | ||
| 95 | + reset: '重設', | ||
| 96 | + resetToDefault: '默認' | ||
| 97 | + }, | ||
| 98 | + shortcut: { | ||
| 99 | + shortcuts: '快捷鍵', | ||
| 100 | + close: '關閉', | ||
| 101 | + textFormatting: '文字格式', | ||
| 102 | + action: '動作', | ||
| 103 | + paragraphFormatting: '段落格式', | ||
| 104 | + documentStyle: '文件格式', | ||
| 105 | + extraKeys: '額外按鍵' | ||
| 106 | + }, | ||
| 107 | + history: { | ||
| 108 | + undo: '復原', | ||
| 109 | + redo: '取消復原' | ||
| 110 | + } | ||
| 111 | + } | ||
| 112 | + }); | ||
| 113 | +})(jQuery); |
| 1 | +.ext-databasic { | ||
| 2 | + position: relative; | ||
| 3 | + display: block; | ||
| 4 | + min-height: 50px; | ||
| 5 | + background-color: cyan; | ||
| 6 | + text-align: center; | ||
| 7 | + padding: 20px; | ||
| 8 | + border: 1px solid white; | ||
| 9 | + border-radius: 10px; | ||
| 10 | +} | ||
| 11 | + | ||
| 12 | +.ext-databasic p { | ||
| 13 | + color: white; | ||
| 14 | + font-size: 1.2em; | ||
| 15 | + margin: 0; | ||
| 16 | +} |
| 1 | +(function (factory) { | ||
| 2 | + /* global define */ | ||
| 3 | + if (typeof define === 'function' && define.amd) { | ||
| 4 | + // AMD. Register as an anonymous module. | ||
| 5 | + define(['jquery'], factory); | ||
| 6 | + } else if (typeof module === 'object' && module.exports) { | ||
| 7 | + // Node/CommonJS | ||
| 8 | + module.exports = factory(require('jquery')); | ||
| 9 | + } else { | ||
| 10 | + // Browser globals | ||
| 11 | + factory(window.jQuery); | ||
| 12 | + } | ||
| 13 | +}(function ($) { | ||
| 14 | + | ||
| 15 | + // pull in some summernote core functions | ||
| 16 | + var ui = $.summernote.ui; | ||
| 17 | + var dom = $.summernote.dom; | ||
| 18 | + | ||
| 19 | + // define the popover plugin | ||
| 20 | + var DataBasicPlugin = function (context) { | ||
| 21 | + var self = this; | ||
| 22 | + var options = context.options; | ||
| 23 | + var lang = options.langInfo; | ||
| 24 | + | ||
| 25 | + self.icon = '<i class="fa fa-object-group"/>'; | ||
| 26 | + | ||
| 27 | + // add context menu button for dialog | ||
| 28 | + context.memo('button.databasic', function () { | ||
| 29 | + return ui.button({ | ||
| 30 | + contents: self.icon, | ||
| 31 | + tooltip: lang.databasic.insert, | ||
| 32 | + click: context.createInvokeHandler('databasic.showDialog') | ||
| 33 | + }).render(); | ||
| 34 | + }); | ||
| 35 | + | ||
| 36 | + // add popover edit button | ||
| 37 | + context.memo('button.databasicDialog', function () { | ||
| 38 | + return ui.button({ | ||
| 39 | + contents: self.icon, | ||
| 40 | + tooltip: lang.databasic.edit, | ||
| 41 | + click: context.createInvokeHandler('databasic.showDialog') | ||
| 42 | + }).render(); | ||
| 43 | + }); | ||
| 44 | + | ||
| 45 | + // add popover size buttons | ||
| 46 | + context.memo('button.databasicSize100', function () { | ||
| 47 | + return ui.button({ | ||
| 48 | + contents: '<span class="note-fontsize-10">100%</span>', | ||
| 49 | + tooltip: lang.image.resizeFull, | ||
| 50 | + click: context.createInvokeHandler('editor.resize', '1') | ||
| 51 | + }).render(); | ||
| 52 | + }); | ||
| 53 | + context.memo('button.databasicSize50', function () { | ||
| 54 | + return ui.button({ | ||
| 55 | + contents: '<span class="note-fontsize-10">50%</span>', | ||
| 56 | + tooltip: lang.image.resizeHalf, | ||
| 57 | + click: context.createInvokeHandler('editor.resize', '0.5') | ||
| 58 | + }).render(); | ||
| 59 | + }); | ||
| 60 | + context.memo('button.databasicSize25', function () { | ||
| 61 | + return ui.button({ | ||
| 62 | + contents: '<span class="note-fontsize-10">25%</span>', | ||
| 63 | + tooltip: lang.image.resizeQuarter, | ||
| 64 | + click: context.createInvokeHandler('editor.resize', '0.25') | ||
| 65 | + }).render(); | ||
| 66 | + }); | ||
| 67 | + | ||
| 68 | + self.events = { | ||
| 69 | + 'summernote.init': function (we, e) { | ||
| 70 | + // update existing containers | ||
| 71 | + $('data.ext-databasic', e.editable).each(function () { self.setContent($(this)); }); | ||
| 72 | + // TODO: make this an undo snapshot... | ||
| 73 | + }, | ||
| 74 | + 'summernote.keyup summernote.mouseup summernote.change summernote.scroll': function () { | ||
| 75 | + self.update(); | ||
| 76 | + }, | ||
| 77 | + 'summernote.dialog.shown': function () { | ||
| 78 | + self.hidePopover(); | ||
| 79 | + } | ||
| 80 | + }; | ||
| 81 | + | ||
| 82 | + self.initialize = function () { | ||
| 83 | + // create dialog markup | ||
| 84 | + var $container = options.dialogsInBody ? $(document.body) : context.layoutInfo.editor; | ||
| 85 | + | ||
| 86 | + var body = '<div class="form-group row-fluid">' + | ||
| 87 | + '<label>' + lang.databasic.testLabel + '</label>' + | ||
| 88 | + '<input class="ext-databasic-test form-control" type="text" />' + | ||
| 89 | + '</div>'; | ||
| 90 | + var footer = '<button href="#" class="btn btn-primary ext-databasic-save">' + lang.databasic.insert + '</button>'; | ||
| 91 | + | ||
| 92 | + self.$dialog = ui.dialog({ | ||
| 93 | + title: lang.databasic.name, | ||
| 94 | + fade: options.dialogsFade, | ||
| 95 | + body: body, | ||
| 96 | + footer: footer | ||
| 97 | + }).render().appendTo($container); | ||
| 98 | + | ||
| 99 | + // create popover | ||
| 100 | + self.$popover = ui.popover({ | ||
| 101 | + className: 'ext-databasic-popover' | ||
| 102 | + }).render().appendTo('body'); | ||
| 103 | + var $content = self.$popover.find('.popover-content'); | ||
| 104 | + | ||
| 105 | + context.invoke('buttons.build', $content, options.popover.databasic); | ||
| 106 | + }; | ||
| 107 | + | ||
| 108 | + self.destroy = function () { | ||
| 109 | + self.$popover.remove(); | ||
| 110 | + self.$popover = null; | ||
| 111 | + self.$dialog.remove(); | ||
| 112 | + self.$dialog = null; | ||
| 113 | + }; | ||
| 114 | + | ||
| 115 | + self.update = function () { | ||
| 116 | + // Prevent focusing on editable when invoke('code') is executed | ||
| 117 | + if (!context.invoke('editor.hasFocus')) { | ||
| 118 | + self.hidePopover(); | ||
| 119 | + return; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + var rng = context.invoke('editor.createRange'); | ||
| 123 | + var visible = false; | ||
| 124 | + | ||
| 125 | + if (rng.isOnData()) | ||
| 126 | + { | ||
| 127 | + var $data = $(rng.sc).closest('data.ext-databasic'); | ||
| 128 | + | ||
| 129 | + if ($data.length) | ||
| 130 | + { | ||
| 131 | + var pos = dom.posFromPlaceholder($data[0]); | ||
| 132 | + | ||
| 133 | + self.$popover.css({ | ||
| 134 | + display: 'block', | ||
| 135 | + left: pos.left, | ||
| 136 | + top: pos.top | ||
| 137 | + }); | ||
| 138 | + | ||
| 139 | + // save editor target to let size buttons resize the container | ||
| 140 | + context.invoke('editor.saveTarget', $data[0]); | ||
| 141 | + | ||
| 142 | + visible = true; | ||
| 143 | + } | ||
| 144 | + | ||
| 145 | + } | ||
| 146 | + | ||
| 147 | + // hide if not visible | ||
| 148 | + if (!visible) { | ||
| 149 | + self.hidePopover(); | ||
| 150 | + } | ||
| 151 | + | ||
| 152 | + }; | ||
| 153 | + | ||
| 154 | + self.hidePopover = function () { | ||
| 155 | + self.$popover.hide(); | ||
| 156 | + }; | ||
| 157 | + | ||
| 158 | + // define plugin dialog | ||
| 159 | + self.getInfo = function () { | ||
| 160 | + var rng = context.invoke('editor.createRange'); | ||
| 161 | + | ||
| 162 | + if (rng.isOnData()) | ||
| 163 | + { | ||
| 164 | + var $data = $(rng.sc).closest('data.ext-databasic'); | ||
| 165 | + | ||
| 166 | + if ($data.length) | ||
| 167 | + { | ||
| 168 | + // Get the first node on range(for edit). | ||
| 169 | + return { | ||
| 170 | + node: $data, | ||
| 171 | + test: $data.attr('data-test') | ||
| 172 | + }; | ||
| 173 | + } | ||
| 174 | + } | ||
| 175 | + | ||
| 176 | + return {}; | ||
| 177 | + }; | ||
| 178 | + | ||
| 179 | + self.setContent = function ($node) { | ||
| 180 | + $node.html('<p contenteditable="false">' + self.icon + ' ' + lang.databasic.name + ': ' + | ||
| 181 | + $node.attr('data-test') + '</p>'); | ||
| 182 | + }; | ||
| 183 | + | ||
| 184 | + self.updateNode = function (info) { | ||
| 185 | + self.setContent(info.node | ||
| 186 | + .attr('data-test', info.test)); | ||
| 187 | + }; | ||
| 188 | + | ||
| 189 | + self.createNode = function (info) { | ||
| 190 | + var $node = $('<data class="ext-databasic"></data>'); | ||
| 191 | + | ||
| 192 | + if ($node) { | ||
| 193 | + // save node to info structure | ||
| 194 | + info.node = $node; | ||
| 195 | + // insert node into editor dom | ||
| 196 | + context.invoke('editor.insertNode', $node[0]); | ||
| 197 | + } | ||
| 198 | + | ||
| 199 | + return $node; | ||
| 200 | + }; | ||
| 201 | + | ||
| 202 | + self.showDialog = function () { | ||
| 203 | + var info = self.getInfo(); | ||
| 204 | + var newNode = !info.node; | ||
| 205 | + context.invoke('editor.saveRange'); | ||
| 206 | + | ||
| 207 | + self | ||
| 208 | + .openDialog(info) | ||
| 209 | + .then(function (dialogInfo) { | ||
| 210 | + // [workaround] hide dialog before restore range for IE range focus | ||
| 211 | + ui.hideDialog(self.$dialog); | ||
| 212 | + context.invoke('editor.restoreRange'); | ||
| 213 | + | ||
| 214 | + // insert a new node | ||
| 215 | + if (newNode) | ||
| 216 | + { | ||
| 217 | + self.createNode(info); | ||
| 218 | + } | ||
| 219 | + | ||
| 220 | + // update info with dialog info | ||
| 221 | + $.extend(info, dialogInfo); | ||
| 222 | + | ||
| 223 | + self.updateNode(info); | ||
| 224 | + }) | ||
| 225 | + .fail(function () { | ||
| 226 | + context.invoke('editor.restoreRange'); | ||
| 227 | + }); | ||
| 228 | + | ||
| 229 | + }; | ||
| 230 | + | ||
| 231 | + self.openDialog = function (info) { | ||
| 232 | + return $.Deferred(function (deferred) { | ||
| 233 | + var $inpTest = self.$dialog.find('.ext-databasic-test'); | ||
| 234 | + var $saveBtn = self.$dialog.find('.ext-databasic-save'); | ||
| 235 | + var onKeyup = function (event) { | ||
| 236 | + if (event.keyCode === 13) | ||
| 237 | + { | ||
| 238 | + $saveBtn.trigger('click'); | ||
| 239 | + } | ||
| 240 | + }; | ||
| 241 | + | ||
| 242 | + ui.onDialogShown(self.$dialog, function () { | ||
| 243 | + context.triggerEvent('dialog.shown'); | ||
| 244 | + | ||
| 245 | + $inpTest.val(info.test).on('input', function () { | ||
| 246 | + ui.toggleBtn($saveBtn, $inpTest.val()); | ||
| 247 | + }).trigger('focus').on('keyup', onKeyup); | ||
| 248 | + | ||
| 249 | + $saveBtn | ||
| 250 | + .text(info.node ? lang.databasic.edit : lang.databasic.insert) | ||
| 251 | + .click(function (event) { | ||
| 252 | + event.preventDefault(); | ||
| 253 | + | ||
| 254 | + deferred.resolve({ test: $inpTest.val() }); | ||
| 255 | + }); | ||
| 256 | + | ||
| 257 | + // init save button | ||
| 258 | + ui.toggleBtn($saveBtn, $inpTest.val()); | ||
| 259 | + }); | ||
| 260 | + | ||
| 261 | + ui.onDialogHidden(self.$dialog, function () { | ||
| 262 | + $inpTest.off('input keyup'); | ||
| 263 | + $saveBtn.off('click'); | ||
| 264 | + | ||
| 265 | + if (deferred.state() === 'pending') { | ||
| 266 | + deferred.reject(); | ||
| 267 | + } | ||
| 268 | + }); | ||
| 269 | + | ||
| 270 | + ui.showDialog(self.$dialog); | ||
| 271 | + }); | ||
| 272 | + }; | ||
| 273 | + }; | ||
| 274 | + | ||
| 275 | + // Extends summernote | ||
| 276 | + $.extend(true, $.summernote, { | ||
| 277 | + plugins: { | ||
| 278 | + databasic: DataBasicPlugin | ||
| 279 | + }, | ||
| 280 | + | ||
| 281 | + options: { | ||
| 282 | + popover: { | ||
| 283 | + databasic: [ | ||
| 284 | + ['databasic', ['databasicDialog', 'databasicSize100', 'databasicSize50', 'databasicSize25']] | ||
| 285 | + ] | ||
| 286 | + } | ||
| 287 | + }, | ||
| 288 | + | ||
| 289 | + // add localization texts | ||
| 290 | + lang: { | ||
| 291 | + 'en-US': { | ||
| 292 | + databasic: { | ||
| 293 | + name: 'Basic Data Container', | ||
| 294 | + insert: 'insert basic data container', | ||
| 295 | + edit: 'edit basic data container', | ||
| 296 | + testLabel: 'test input' | ||
| 297 | + } | ||
| 298 | + } | ||
| 299 | + } | ||
| 300 | + | ||
| 301 | + }); | ||
| 302 | + | ||
| 303 | +})); |
| 1 | +(function (factory) { | ||
| 2 | + /* global define */ | ||
| 3 | + if (typeof define === 'function' && define.amd) { | ||
| 4 | + // AMD. Register as an anonymous module. | ||
| 5 | + define(['jquery'], factory); | ||
| 6 | + } else if (typeof module === 'object' && module.exports) { | ||
| 7 | + // Node/CommonJS | ||
| 8 | + module.exports = factory(require('jquery')); | ||
| 9 | + } else { | ||
| 10 | + // Browser globals | ||
| 11 | + factory(window.jQuery); | ||
| 12 | + } | ||
| 13 | +}(function ($) { | ||
| 14 | + | ||
| 15 | + // Extends plugins for adding hello. | ||
| 16 | + // - plugin is external module for customizing. | ||
| 17 | + $.extend($.summernote.plugins, { | ||
| 18 | + /** | ||
| 19 | + * @param {Object} context - context object has status of editor. | ||
| 20 | + */ | ||
| 21 | + 'hello': function (context) { | ||
| 22 | + var self = this; | ||
| 23 | + | ||
| 24 | + // ui has renders to build ui elements. | ||
| 25 | + // - you can create a button with `ui.button` | ||
| 26 | + var ui = $.summernote.ui; | ||
| 27 | + | ||
| 28 | + // add hello button | ||
| 29 | + context.memo('button.hello', function () { | ||
| 30 | + // create button | ||
| 31 | + var button = ui.button({ | ||
| 32 | + contents: '<i class="fa fa-child"/> Hello', | ||
| 33 | + tooltip: 'hello', | ||
| 34 | + click: function () { | ||
| 35 | + self.$panel.show(); | ||
| 36 | + self.$panel.hide(500); | ||
| 37 | + // invoke insertText method with 'hello' on editor module. | ||
| 38 | + context.invoke('editor.insertText', 'hello'); | ||
| 39 | + } | ||
| 40 | + }); | ||
| 41 | + | ||
| 42 | + // create jQuery object from button instance. | ||
| 43 | + var $hello = button.render(); | ||
| 44 | + return $hello; | ||
| 45 | + }); | ||
| 46 | + | ||
| 47 | + // This events will be attached when editor is initialized. | ||
| 48 | + this.events = { | ||
| 49 | + // This will be called after modules are initialized. | ||
| 50 | + 'summernote.init': function (we, e) { | ||
| 51 | + console.log('summernote initialized', we, e); | ||
| 52 | + }, | ||
| 53 | + // This will be called when user releases a key on editable. | ||
| 54 | + 'summernote.keyup': function (we, e) { | ||
| 55 | + console.log('summernote keyup', we, e); | ||
| 56 | + } | ||
| 57 | + }; | ||
| 58 | + | ||
| 59 | + // This method will be called when editor is initialized by $('..').summernote(); | ||
| 60 | + // You can create elements for plugin | ||
| 61 | + this.initialize = function () { | ||
| 62 | + this.$panel = $('<div class="hello-panel"/>').css({ | ||
| 63 | + position: 'absolute', | ||
| 64 | + width: 100, | ||
| 65 | + height: 100, | ||
| 66 | + left: '50%', | ||
| 67 | + top: '50%', | ||
| 68 | + background: 'red' | ||
| 69 | + }).hide(); | ||
| 70 | + | ||
| 71 | + this.$panel.appendTo('body'); | ||
| 72 | + }; | ||
| 73 | + | ||
| 74 | + // This methods will be called when editor is destroyed by $('..').summernote('destroy'); | ||
| 75 | + // You should remove elements on `initialize`. | ||
| 76 | + this.destroy = function () { | ||
| 77 | + this.$panel.remove(); | ||
| 78 | + this.$panel = null; | ||
| 79 | + }; | ||
| 80 | + } | ||
| 81 | + }); | ||
| 82 | +})); |
| 1 | +(function (factory) { | ||
| 2 | + /* global define */ | ||
| 3 | + if (typeof define === 'function' && define.amd) { | ||
| 4 | + // AMD. Register as an anonymous module. | ||
| 5 | + define(['jquery'], factory); | ||
| 6 | + } else if (typeof module === 'object' && module.exports) { | ||
| 7 | + // Node/CommonJS | ||
| 8 | + module.exports = factory(require('jquery')); | ||
| 9 | + } else { | ||
| 10 | + // Browser globals | ||
| 11 | + factory(window.jQuery); | ||
| 12 | + } | ||
| 13 | +}(function ($) { | ||
| 14 | + $.extend($.summernote.plugins, { | ||
| 15 | + 'specialchars': function (context) { | ||
| 16 | + var self = this; | ||
| 17 | + var ui = $.summernote.ui; | ||
| 18 | + | ||
| 19 | + var $editor = context.layoutInfo.editor; | ||
| 20 | + var options = context.options; | ||
| 21 | + var lang = options.langInfo; | ||
| 22 | + | ||
| 23 | + var KEY = { | ||
| 24 | + UP: 38, | ||
| 25 | + DOWN: 40, | ||
| 26 | + LEFT: 37, | ||
| 27 | + RIGHT: 39, | ||
| 28 | + ENTER: 13 | ||
| 29 | + }; | ||
| 30 | + var COLUMN_LENGTH = 15; | ||
| 31 | + var COLUMN_WIDTH = 35; | ||
| 32 | + | ||
| 33 | + var currentColumn, currentRow, totalColumn, totalRow = 0; | ||
| 34 | + | ||
| 35 | + // special characters data set | ||
| 36 | + var specialCharDataSet = [ | ||
| 37 | + '"', '&', '<', '>', '¡', '¢', | ||
| 38 | + '£', '¤', '¥', '¦', '§', | ||
| 39 | + '¨', '©', 'ª', '«', '¬', | ||
| 40 | + '®', '¯', '°', '±', '²', | ||
| 41 | + '³', '´', 'µ', '¶', '·', | ||
| 42 | + '¸', '¹', 'º', '»', '¼', | ||
| 43 | + '½', '¾', '¿', '×', '÷', | ||
| 44 | + 'ƒ', 'ˆ', '˜', '–', '—', | ||
| 45 | + '‘', '’', '‚', '“', '”', | ||
| 46 | + '„', '†', '‡', '•', '…', | ||
| 47 | + '‰', '′', '″', '‹', '›', | ||
| 48 | + '‾', '⁄', '€', 'ℑ', '℘', | ||
| 49 | + 'ℜ', '™', 'ℵ', '←', '↑', | ||
| 50 | + '→', '↓', '↔', '↵', '⇐', | ||
| 51 | + '⇑', '⇒', '⇓', '⇔', '∀', | ||
| 52 | + '∂', '∃', '∅', '∇', '∈', | ||
| 53 | + '∉', '∋', '∏', '∑', '−', | ||
| 54 | + '∗', '√', '∝', '∞', '∠', | ||
| 55 | + '∧', '∨', '∩', '∪', '∫', | ||
| 56 | + '∴', '∼', '≅', '≈', '≠', | ||
| 57 | + '≡', '≤', '≥', '⊂', '⊃', | ||
| 58 | + '⊄', '⊆', '⊇', '⊕', '⊗', | ||
| 59 | + '⊥', '⋅', '⌈', '⌉', '⌊', | ||
| 60 | + '⌋', '◊', '♠', '♣', '♥', | ||
| 61 | + '♦' | ||
| 62 | + ]; | ||
| 63 | + | ||
| 64 | + context.memo('button.specialCharacter', function () { | ||
| 65 | + return ui.button({ | ||
| 66 | + contents: '<i class="fa fa-font fa-flip-vertical">', | ||
| 67 | + tooltip: lang.specialChar.specialChar, | ||
| 68 | + click: function () { | ||
| 69 | + self.show(); | ||
| 70 | + } | ||
| 71 | + }).render(); | ||
| 72 | + }); | ||
| 73 | + | ||
| 74 | + /** | ||
| 75 | + * Make Special Characters Table | ||
| 76 | + * | ||
| 77 | + * @member plugin.specialChar | ||
| 78 | + * @private | ||
| 79 | + * @return {jQuery} | ||
| 80 | + */ | ||
| 81 | + this.makeSpecialCharSetTable = function () { | ||
| 82 | + var $table = $('<table/>'); | ||
| 83 | + $.each(specialCharDataSet, function (idx, text) { | ||
| 84 | + var $td = $('<td/>').addClass('note-specialchar-node'); | ||
| 85 | + var $tr = (idx % COLUMN_LENGTH === 0) ? $('<tr/>') : $table.find('tr').last(); | ||
| 86 | + | ||
| 87 | + var $button = ui.button({ | ||
| 88 | + callback: function ($node) { | ||
| 89 | + $node.html(text); | ||
| 90 | + $node.attr('title', text); | ||
| 91 | + $node.attr('data-value', encodeURIComponent(text)); | ||
| 92 | + $node.css({ | ||
| 93 | + width: COLUMN_WIDTH, | ||
| 94 | + 'margin-right': '2px', | ||
| 95 | + 'margin-bottom': '2px' | ||
| 96 | + }); | ||
| 97 | + } | ||
| 98 | + }).render(); | ||
| 99 | + | ||
| 100 | + $td.append($button); | ||
| 101 | + | ||
| 102 | + $tr.append($td); | ||
| 103 | + if (idx % COLUMN_LENGTH === 0) { | ||
| 104 | + $table.append($tr); | ||
| 105 | + } | ||
| 106 | + }); | ||
| 107 | + | ||
| 108 | + totalRow = $table.find('tr').length; | ||
| 109 | + totalColumn = COLUMN_LENGTH; | ||
| 110 | + | ||
| 111 | + return $table; | ||
| 112 | + }; | ||
| 113 | + | ||
| 114 | + this.initialize = function () { | ||
| 115 | + var $container = options.dialogsInBody ? $(document.body) : $editor; | ||
| 116 | + | ||
| 117 | + var body = '<div class="form-group row-fluid">' + this.makeSpecialCharSetTable()[0].outerHTML + '</div>'; | ||
| 118 | + | ||
| 119 | + this.$dialog = ui.dialog({ | ||
| 120 | + title: lang.specialChar.select, | ||
| 121 | + body: body | ||
| 122 | + }).render().appendTo($container); | ||
| 123 | + }; | ||
| 124 | + | ||
| 125 | + this.show = function () { | ||
| 126 | + var text = context.invoke('editor.getSelectedText'); | ||
| 127 | + context.invoke('editor.saveRange'); | ||
| 128 | + this.showSpecialCharDialog(text).then(function (selectChar) { | ||
| 129 | + context.invoke('editor.restoreRange'); | ||
| 130 | + | ||
| 131 | + // build node | ||
| 132 | + var $node = $('<span></span>').html(selectChar)[0]; | ||
| 133 | + | ||
| 134 | + if ($node) { | ||
| 135 | + // insert video node | ||
| 136 | + context.invoke('editor.insertNode', $node); | ||
| 137 | + } | ||
| 138 | + }).fail(function () { | ||
| 139 | + context.invoke('editor.restoreRange'); | ||
| 140 | + }); | ||
| 141 | + }; | ||
| 142 | + | ||
| 143 | + /** | ||
| 144 | + * show image dialog | ||
| 145 | + * | ||
| 146 | + * @param {jQuery} $dialog | ||
| 147 | + * @return {Promise} | ||
| 148 | + */ | ||
| 149 | + this.showSpecialCharDialog = function (text) { | ||
| 150 | + return $.Deferred(function (deferred) { | ||
| 151 | + var $specialCharDialog = self.$dialog; | ||
| 152 | + var $specialCharNode = $specialCharDialog.find('.note-specialchar-node'); | ||
| 153 | + var $selectedNode = null; | ||
| 154 | + var ARROW_KEYS = [KEY.UP, KEY.DOWN, KEY.LEFT, KEY.RIGHT]; | ||
| 155 | + var ENTER_KEY = KEY.ENTER; | ||
| 156 | + | ||
| 157 | + function addActiveClass($target) { | ||
| 158 | + if (!$target) { | ||
| 159 | + return; | ||
| 160 | + } | ||
| 161 | + $target.find('button').addClass('active'); | ||
| 162 | + $selectedNode = $target; | ||
| 163 | + } | ||
| 164 | + | ||
| 165 | + function removeActiveClass($target) { | ||
| 166 | + $target.find('button').removeClass('active'); | ||
| 167 | + $selectedNode = null; | ||
| 168 | + } | ||
| 169 | + | ||
| 170 | + // find next node | ||
| 171 | + function findNextNode(row, column) { | ||
| 172 | + var findNode = null; | ||
| 173 | + $.each($specialCharNode, function (idx, $node) { | ||
| 174 | + var findRow = Math.ceil((idx + 1) / COLUMN_LENGTH); | ||
| 175 | + var findColumn = ((idx + 1) % COLUMN_LENGTH === 0) ? COLUMN_LENGTH : (idx + 1) % COLUMN_LENGTH; | ||
| 176 | + if (findRow === row && findColumn === column) { | ||
| 177 | + findNode = $node; | ||
| 178 | + return false; | ||
| 179 | + } | ||
| 180 | + }); | ||
| 181 | + return $(findNode); | ||
| 182 | + } | ||
| 183 | + | ||
| 184 | + function arrowKeyHandler(keyCode) { | ||
| 185 | + // left, right, up, down key | ||
| 186 | + var $nextNode; | ||
| 187 | + var lastRowColumnLength = $specialCharNode.length % totalColumn; | ||
| 188 | + | ||
| 189 | + if (KEY.LEFT === keyCode) { | ||
| 190 | + | ||
| 191 | + if (currentColumn > 1) { | ||
| 192 | + currentColumn = currentColumn - 1; | ||
| 193 | + } else if (currentRow === 1 && currentColumn === 1) { | ||
| 194 | + currentColumn = lastRowColumnLength; | ||
| 195 | + currentRow = totalRow; | ||
| 196 | + } else { | ||
| 197 | + currentColumn = totalColumn; | ||
| 198 | + currentRow = currentRow - 1; | ||
| 199 | + } | ||
| 200 | + | ||
| 201 | + } else if (KEY.RIGHT === keyCode) { | ||
| 202 | + | ||
| 203 | + if (currentRow === totalRow && lastRowColumnLength === currentColumn) { | ||
| 204 | + currentColumn = 1; | ||
| 205 | + currentRow = 1; | ||
| 206 | + } else if (currentColumn < totalColumn) { | ||
| 207 | + currentColumn = currentColumn + 1; | ||
| 208 | + } else { | ||
| 209 | + currentColumn = 1; | ||
| 210 | + currentRow = currentRow + 1; | ||
| 211 | + } | ||
| 212 | + | ||
| 213 | + } else if (KEY.UP === keyCode) { | ||
| 214 | + if (currentRow === 1 && lastRowColumnLength < currentColumn) { | ||
| 215 | + currentRow = totalRow - 1; | ||
| 216 | + } else { | ||
| 217 | + currentRow = currentRow - 1; | ||
| 218 | + } | ||
| 219 | + } else if (KEY.DOWN === keyCode) { | ||
| 220 | + currentRow = currentRow + 1; | ||
| 221 | + } | ||
| 222 | + | ||
| 223 | + if (currentRow === totalRow && currentColumn > lastRowColumnLength) { | ||
| 224 | + currentRow = 1; | ||
| 225 | + } else if (currentRow > totalRow) { | ||
| 226 | + currentRow = 1; | ||
| 227 | + } else if (currentRow < 1) { | ||
| 228 | + currentRow = totalRow; | ||
| 229 | + } | ||
| 230 | + | ||
| 231 | + $nextNode = findNextNode(currentRow, currentColumn); | ||
| 232 | + | ||
| 233 | + if ($nextNode) { | ||
| 234 | + removeActiveClass($selectedNode); | ||
| 235 | + addActiveClass($nextNode); | ||
| 236 | + } | ||
| 237 | + } | ||
| 238 | + | ||
| 239 | + function enterKeyHandler() { | ||
| 240 | + if (!$selectedNode) { | ||
| 241 | + return; | ||
| 242 | + } | ||
| 243 | + | ||
| 244 | + deferred.resolve(decodeURIComponent($selectedNode.find('button').attr('data-value'))); | ||
| 245 | + $specialCharDialog.modal('hide'); | ||
| 246 | + } | ||
| 247 | + | ||
| 248 | + function keyDownEventHandler(event) { | ||
| 249 | + event.preventDefault(); | ||
| 250 | + var keyCode = event.keyCode; | ||
| 251 | + if (keyCode === undefined || keyCode === null) { | ||
| 252 | + return; | ||
| 253 | + } | ||
| 254 | + // check arrowKeys match | ||
| 255 | + if (ARROW_KEYS.indexOf(keyCode) > -1) { | ||
| 256 | + if ($selectedNode === null) { | ||
| 257 | + addActiveClass($specialCharNode.eq(0)); | ||
| 258 | + currentColumn = 1; | ||
| 259 | + currentRow = 1; | ||
| 260 | + return; | ||
| 261 | + } | ||
| 262 | + arrowKeyHandler(keyCode); | ||
| 263 | + } else if (keyCode === ENTER_KEY) { | ||
| 264 | + enterKeyHandler(); | ||
| 265 | + } | ||
| 266 | + return false; | ||
| 267 | + } | ||
| 268 | + | ||
| 269 | + // remove class | ||
| 270 | + removeActiveClass($specialCharNode); | ||
| 271 | + | ||
| 272 | + // find selected node | ||
| 273 | + if (text) { | ||
| 274 | + for (var i = 0; i < $specialCharNode.length; i++) { | ||
| 275 | + var $checkNode = $($specialCharNode[i]); | ||
| 276 | + if ($checkNode.text() === text) { | ||
| 277 | + addActiveClass($checkNode); | ||
| 278 | + currentRow = Math.ceil((i + 1) / COLUMN_LENGTH); | ||
| 279 | + currentColumn = (i + 1) % COLUMN_LENGTH; | ||
| 280 | + } | ||
| 281 | + } | ||
| 282 | + } | ||
| 283 | + | ||
| 284 | + ui.onDialogShown(self.$dialog, function () { | ||
| 285 | + | ||
| 286 | + $(document).on('keydown', keyDownEventHandler); | ||
| 287 | + | ||
| 288 | + self.$dialog.find('button').tooltip(); | ||
| 289 | + | ||
| 290 | + $specialCharNode.on('click', function (event) { | ||
| 291 | + event.preventDefault(); | ||
| 292 | + deferred.resolve(decodeURIComponent($(event.currentTarget).find('button').attr('data-value'))); | ||
| 293 | + ui.hideDialog(self.$dialog); | ||
| 294 | + }); | ||
| 295 | + | ||
| 296 | + }); | ||
| 297 | + | ||
| 298 | + ui.onDialogHidden(self.$dialog, function () { | ||
| 299 | + $specialCharNode.off('click'); | ||
| 300 | + | ||
| 301 | + self.$dialog.find('button').tooltip('destroy'); | ||
| 302 | + | ||
| 303 | + $(document).off('keydown', keyDownEventHandler); | ||
| 304 | + | ||
| 305 | + if (deferred.state() === 'pending') { | ||
| 306 | + deferred.reject(); | ||
| 307 | + } | ||
| 308 | + }); | ||
| 309 | + | ||
| 310 | + ui.showDialog(self.$dialog); | ||
| 311 | + }); | ||
| 312 | + }; | ||
| 313 | + } | ||
| 314 | + }); | ||
| 315 | +})); |
lib/summernote/summernote.css
0 → 100644
| 1 | +@font-face{font-family:"summernote";font-style:normal;font-weight:normal;src:url("font/summernote.eot?dc97c88102d55aed645e5f227c58ba5b");src:url("font/summernote.eot?#iefix") format("embedded-opentype"),url("font/summernote.woff?dc97c88102d55aed645e5f227c58ba5b") format("woff"),url("font/summernote.ttf?dc97c88102d55aed645e5f227c58ba5b") format("truetype")}[class^="note-icon-"]:before,[class*=" note-icon-"]:before{display:inline-block;font:normal normal normal 14px summernote;font-size:inherit;-webkit-font-smoothing:antialiased;text-decoration:inherit;text-rendering:auto;text-transform:none;vertical-align:middle;speak:none;-moz-osx-font-smoothing:grayscale}.note-icon-align-center:before{content:"\f101"}.note-icon-align-indent:before{content:"\f102"}.note-icon-align-justify:before{content:"\f103"}.note-icon-align-left:before{content:"\f104"}.note-icon-align-outdent:before{content:"\f105"}.note-icon-align-right:before{content:"\f106"}.note-icon-align:before{content:"\f107"}.note-icon-arrows-alt:before{content:"\f108"}.note-icon-bold:before{content:"\f109"}.note-icon-caret:before{content:"\f10a"}.note-icon-chain-broken:before{content:"\f10b"}.note-icon-circle:before{content:"\f10c"}.note-icon-close:before{content:"\f10d"}.note-icon-code:before{content:"\f10e"}.note-icon-eraser:before{content:"\f10f"}.note-icon-font:before{content:"\f110"}.note-icon-frame:before{content:"\f111"}.note-icon-italic:before{content:"\f112"}.note-icon-link:before{content:"\f113"}.note-icon-magic:before{content:"\f114"}.note-icon-menu-check:before{content:"\f115"}.note-icon-minus:before{content:"\f116"}.note-icon-orderedlist:before{content:"\f117"}.note-icon-pencil:before{content:"\f118"}.note-icon-picture:before{content:"\f119"}.note-icon-question:before{content:"\f11a"}.note-icon-redo:before{content:"\f11b"}.note-icon-special-character:before{content:"\f11c"}.note-icon-square:before{content:"\f11d"}.note-icon-strikethrough:before{content:"\f11e"}.note-icon-subscript:before{content:"\f11f"}.note-icon-summernote:before{content:"\f120"}.note-icon-superscript:before{content:"\f121"}.note-icon-table:before{content:"\f122"}.note-icon-text-height:before{content:"\f123"}.note-icon-trash:before{content:"\f124"}.note-icon-underline:before{content:"\f125"}.note-icon-undo:before{content:"\f126"}.note-icon-unorderedlist:before{content:"\f127"}.note-icon-video:before{content:"\f128"}.note-editor{position:relative}.note-editor .note-dropzone{position:absolute;z-index:100;display:none;color:#87cefa;background-color:white;opacity:.95}.note-editor .note-dropzone .note-dropzone-message{display:table-cell;font-size:28px;font-weight:bold;text-align:center;vertical-align:middle}.note-editor .note-dropzone.hover{color:#098ddf}.note-editor.dragover .note-dropzone{display:table}.note-editor .note-editing-area{position:relative}.note-editor .note-editing-area .note-editable{outline:0}.note-editor .note-editing-area .note-editable sup{vertical-align:super}.note-editor .note-editing-area .note-editable sub{vertical-align:sub}.note-editor.note-frame{border:1px solid #a9a9a9}.note-editor.note-frame.codeview .note-editing-area .note-editable{display:none}.note-editor.note-frame.codeview .note-editing-area .note-codable{display:block}.note-editor.note-frame .note-editing-area{overflow:hidden}.note-editor.note-frame .note-editing-area .note-editable{padding:10px;overflow:auto;color:#000;background-color:#fff}.note-editor.note-frame .note-editing-area .note-editable[contenteditable="false"]{background-color:#e5e5e5}.note-editor.note-frame .note-editing-area .note-codable{display:none;width:100%;padding:10px;margin-bottom:0;font-family:Menlo,Monaco,monospace,sans-serif;font-size:14px;color:#ccc;background-color:#222;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;resize:none}.note-editor.note-frame.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%!important}.note-editor.note-frame.fullscreen .note-editable{background-color:white}.note-editor.note-frame.fullscreen .note-resizebar{display:none}.note-editor.note-frame .note-statusbar{background-color:#f5f5f5;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.note-editor.note-frame .note-statusbar .note-resizebar{width:100%;height:8px;padding-top:1px;cursor:ns-resize}.note-editor.note-frame .note-statusbar .note-resizebar .note-icon-bar{width:20px;margin:1px auto;border-top:1px solid #a9a9a9}.note-editor.note-frame .note-placeholder{padding:10px}.note-popover.popover{max-width:none}.note-popover.popover .popover-content a{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.note-popover.popover .arrow{left:20px!important}.note-popover .popover-content,.panel-heading.note-toolbar{padding:0 0 5px 5px;margin:0}.note-popover .popover-content>.btn-group,.panel-heading.note-toolbar>.btn-group{margin-top:5px;margin-right:5px;margin-left:0}.note-popover .popover-content .btn-group .note-table,.panel-heading.note-toolbar .btn-group .note-table{min-width:0;padding:5px}.note-popover .popover-content .btn-group .note-table .note-dimension-picker,.panel-heading.note-toolbar .btn-group .note-table .note-dimension-picker{font-size:18px}.note-popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher,.panel-heading.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher{position:absolute!important;z-index:3;width:10em;height:10em;cursor:pointer}.note-popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted,.panel-heading.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted{position:relative!important;z-index:1;width:5em;height:5em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat}.note-popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted,.panel-heading.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted{position:absolute!important;z-index:2;width:1em;height:1em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat}.note-popover .popover-content .note-style h1,.panel-heading.note-toolbar .note-style h1,.note-popover .popover-content .note-style h2,.panel-heading.note-toolbar .note-style h2,.note-popover .popover-content .note-style h3,.panel-heading.note-toolbar .note-style h3,.note-popover .popover-content .note-style h4,.panel-heading.note-toolbar .note-style h4,.note-popover .popover-content .note-style h5,.panel-heading.note-toolbar .note-style h5,.note-popover .popover-content .note-style h6,.panel-heading.note-toolbar .note-style h6,.note-popover .popover-content .note-style blockquote,.panel-heading.note-toolbar .note-style blockquote{margin:0}.note-popover .popover-content .note-color .dropdown-toggle,.panel-heading.note-toolbar .note-color .dropdown-toggle{width:20px;padding-left:5px}.note-popover .popover-content .note-color .dropdown-menu,.panel-heading.note-toolbar .note-color .dropdown-menu{min-width:340px}.note-popover .popover-content .note-color .dropdown-menu .btn-group,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group{margin:0}.note-popover .popover-content .note-color .dropdown-menu .btn-group:first-child,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group:first-child{margin:0 5px}.note-popover .popover-content .note-color .dropdown-menu .btn-group .note-palette-title,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-palette-title{margin:2px 7px;font-size:12px;text-align:center;border-bottom:1px solid #eee}.note-popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset{width:100%;padding:0 3px;margin:3px;font-size:11px;cursor:pointer;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.note-popover .popover-content .note-color .dropdown-menu .btn-group .note-color-row,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-color-row{height:20px}.note-popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset:hover,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset:hover{background:#eee}.note-popover .popover-content .note-para .dropdown-menu,.panel-heading.note-toolbar .note-para .dropdown-menu{min-width:216px;padding:5px}.note-popover .popover-content .note-para .dropdown-menu>div:first-child,.panel-heading.note-toolbar .note-para .dropdown-menu>div:first-child{margin-right:5px}.note-popover .popover-content .dropdown-menu,.panel-heading.note-toolbar .dropdown-menu{min-width:90px}.note-popover .popover-content .dropdown-menu.right,.panel-heading.note-toolbar .dropdown-menu.right{right:0;left:auto}.note-popover .popover-content .dropdown-menu.right::before,.panel-heading.note-toolbar .dropdown-menu.right::before{right:9px;left:auto!important}.note-popover .popover-content .dropdown-menu.right::after,.panel-heading.note-toolbar .dropdown-menu.right::after{right:10px;left:auto!important}.note-popover .popover-content .dropdown-menu.note-check li a i,.panel-heading.note-toolbar .dropdown-menu.note-check li a i{color:deepskyblue;visibility:hidden}.note-popover .popover-content .dropdown-menu.note-check li a.checked i,.panel-heading.note-toolbar .dropdown-menu.note-check li a.checked i{visibility:visible}.note-popover .popover-content .note-fontsize-10,.panel-heading.note-toolbar .note-fontsize-10{font-size:10px}.note-popover .popover-content .note-color-palette,.panel-heading.note-toolbar .note-color-palette{line-height:1}.note-popover .popover-content .note-color-palette div .note-color-btn,.panel-heading.note-toolbar .note-color-palette div .note-color-btn{width:20px;height:20px;padding:0;margin:0;border:1px solid #fff}.note-popover .popover-content .note-color-palette div .note-color-btn:hover,.panel-heading.note-toolbar .note-color-palette div .note-color-btn:hover{border:1px solid #000}.note-dialog>div{display:none}.note-dialog .form-group{margin-right:0;margin-left:0}.note-dialog .note-modal-form{margin:0}.note-dialog .note-image-dialog .note-dropzone{min-height:100px;margin-bottom:10px;font-size:30px;line-height:4;color:lightgray;text-align:center;border:4px dashed lightgray}@-moz-document url-prefix(){.note-image-input{height:auto}}.note-placeholder{position:absolute;display:none;color:gray}.note-handle .note-control-selection{position:absolute;display:none;border:1px solid black}.note-handle .note-control-selection>div{position:absolute}.note-handle .note-control-selection .note-control-selection-bg{width:100%;height:100%;background-color:black;-webkit-opacity:.3;-khtml-opacity:.3;-moz-opacity:.3;opacity:.3;-ms-filter:alpha(opacity=30);filter:alpha(opacity=30)}.note-handle .note-control-selection .note-control-handle{width:7px;height:7px;border:1px solid black}.note-handle .note-control-selection .note-control-holder{width:7px;height:7px;border:1px solid black}.note-handle .note-control-selection .note-control-sizing{width:7px;height:7px;background-color:white;border:1px solid black}.note-handle .note-control-selection .note-control-nw{top:-5px;left:-5px;border-right:0;border-bottom:0}.note-handle .note-control-selection .note-control-ne{top:-5px;right:-5px;border-bottom:0;border-left:none}.note-handle .note-control-selection .note-control-sw{bottom:-5px;left:-5px;border-top:0;border-right:0}.note-handle .note-control-selection .note-control-se{right:-5px;bottom:-5px;cursor:se-resize}.note-handle .note-control-selection .note-control-se.note-control-holder{cursor:default;border-top:0;border-left:none}.note-handle .note-control-selection .note-control-selection-info{right:0;bottom:0;padding:5px;margin:5px;font-size:12px;color:white;background-color:black;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-opacity:.7;-khtml-opacity:.7;-moz-opacity:.7;opacity:.7;-ms-filter:alpha(opacity=70);filter:alpha(opacity=70)}.note-hint-popover{min-width:100px;padding:2px}.note-hint-popover .popover-content{max-height:150px;padding:3px;overflow:auto}.note-hint-popover .popover-content .note-hint-group .note-hint-item{display:block!important;padding:3px}.note-hint-popover .popover-content .note-hint-group .note-hint-item.active,.note-hint-popover .popover-content .note-hint-group .note-hint-item:hover{display:block;clear:both;font-weight:400;line-height:1.4;color:white;text-decoration:none;white-space:nowrap;cursor:pointer;background-color:#428bca;outline:0} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
lib/summernote/summernote.js
0 → 100644
This diff could not be displayed because it is too large.
lib/summernote/summernote.min.js
0 → 100644
| 1 | +/*! Summernote v0.8.2 | (c) 2013-2015 Alan Hong and other contributors | MIT license */ | ||
| 2 | +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(window.jQuery)}(function($){"use strict";var func=function(){var a=function(a){return function(b){return a===b}},b=function(a,b){return a===b},c=function(a){return function(b,c){return b[a]===c[a]}},d=function(){return!0},e=function(){return!1},f=function(a){return function(){return!a.apply(a,arguments)}},g=function(a,b){return function(c){return a(c)&&b(c)}},h=function(a){return a},i=function(a,b){return function(){return a[b].apply(a,arguments)}},j=0,k=function(a){var b=++j+"";return a?a+b:b},l=function(a){var b=$(document);return{top:a.top+b.scrollTop(),left:a.left+b.scrollLeft(),width:a.right-a.left,height:a.bottom-a.top}},m=function(a){var b={};for(var c in a)a.hasOwnProperty(c)&&(b[a[c]]=c);return b},n=function(a,b){return b=b||"",b+a.split(".").map(function(a){return a.substring(0,1).toUpperCase()+a.substring(1)}).join("")},o=function(a,b,c){var d;return function(){var e=this,f=arguments,g=function(){d=null,c||a.apply(e,f)},h=c&&!d;clearTimeout(d),d=setTimeout(g,b),h&&a.apply(e,f)}};return{eq:a,eq2:b,peq2:c,ok:d,fail:e,self:h,not:f,and:g,invoke:i,uniqueId:k,rect2bnd:l,invertObject:m,namespaceToCamel:n,debounce:o}}(),list=function(){var a=function(a){return a[0]},b=function(a){return a[a.length-1]},c=function(a){return a.slice(0,a.length-1)},d=function(a){return a.slice(1)},e=function(a,b){for(var c=0,d=a.length;d>c;c++){var e=a[c];if(b(e))return e}},f=function(a,b){for(var c=0,d=a.length;d>c;c++)if(!b(a[c]))return!1;return!0},g=function(a,b){return $.inArray(b,a)},h=function(a,b){return-1!==g(a,b)},i=function(a,b){return b=b||func.self,a.reduce(function(a,c){return a+b(c)},0)},j=function(a){for(var b=[],c=-1,d=a.length;++c<d;)b[c]=a[c];return b},k=function(a){return!a||!a.length},l=function(c,e){if(!c.length)return[];var f=d(c);return f.reduce(function(a,c){var d=b(a);return e(b(d),c)?d[d.length]=c:a[a.length]=[c],a},[[a(c)]])},m=function(a){for(var b=[],c=0,d=a.length;d>c;c++)a[c]&&b.push(a[c]);return b},n=function(a){for(var b=[],c=0,d=a.length;d>c;c++)h(b,a[c])||b.push(a[c]);return b},o=function(a,b){var c=g(a,b);return-1===c?null:a[c+1]},p=function(a,b){var c=g(a,b);return-1===c?null:a[c-1]};return{head:a,last:b,initial:c,tail:d,prev:p,next:o,find:e,contains:h,all:f,sum:i,from:j,isEmpty:k,clusterBy:l,compact:m,unique:n}}(),isSupportAmd="function"==typeof define&&define.amd,isFontInstalled=function(a){var b="Comic Sans MS"===a?"Courier New":"Comic Sans MS",c=$("<div>").css({position:"absolute",left:"-9999px",top:"-9999px",fontSize:"200px"}).text("mmmmmmmmmwwwwwww").appendTo(document.body),d=c.css("fontFamily",b).width(),e=c.css("fontFamily",a+","+b).width();return c.remove(),d!==e},userAgent=navigator.userAgent,isMSIE=/MSIE|Trident/i.test(userAgent),browserVersion;if(isMSIE){var matches=/MSIE (\d+[.]\d+)/.exec(userAgent);matches&&(browserVersion=parseFloat(matches[1])),matches=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(userAgent),matches&&(browserVersion=parseFloat(matches[1]))}var isEdge=/Edge\/\d+/.test(userAgent),hasCodeMirror=!!window.CodeMirror;if(!hasCodeMirror&&isSupportAmd&&"undefined"!=typeof require)if("undefined"!=typeof require.resolve)try{require.resolve("codemirror"),hasCodeMirror=!0}catch(e){}else"undefined"!=typeof eval("require").specified&&(hasCodeMirror=eval("require").specified("codemirror"));var agent={isMac:navigator.appVersion.indexOf("Mac")>-1,isMSIE:isMSIE,isEdge:isEdge,isFF:!isEdge&&/firefox/i.test(userAgent),isPhantom:/PhantomJS/i.test(userAgent),isWebkit:!isEdge&&/webkit/i.test(userAgent),isChrome:!isEdge&&/chrome/i.test(userAgent),isSafari:!isEdge&&/safari/i.test(userAgent),browserVersion:browserVersion,jqueryVersion:parseFloat($.fn.jquery),isSupportAmd:isSupportAmd,hasCodeMirror:hasCodeMirror,isFontInstalled:isFontInstalled,isW3CRangeSupport:!!document.createRange},NBSP_CHAR=String.fromCharCode(160),ZERO_WIDTH_NBSP_CHAR="\ufeff",dom=function(){var a=function(a){return a&&$(a).hasClass("note-editable")},b=function(a){return a&&$(a).hasClass("note-control-sizing")},c=function(a){return a=a.toUpperCase(),function(b){return b&&b.nodeName.toUpperCase()===a}},d=function(a){return a&&3===a.nodeType},e=function(a){return a&&1===a.nodeType},f=function(a){return a&&/^BR|^IMG|^HR|^IFRAME|^BUTTON/.test(a.nodeName.toUpperCase())},g=function(b){return a(b)?!1:b&&/^DIV|^P|^LI|^H[1-7]/.test(b.nodeName.toUpperCase())},h=function(a){return a&&/^H[1-7]/.test(a.nodeName.toUpperCase())},i=c("PRE"),j=c("LI"),k=function(a){return g(a)&&!j(a)},l=c("TABLE"),m=c("DATA"),n=function(a){return!(s(a)||o(a)||p(a)||g(a)||l(a)||r(a)||m(a))},o=function(a){return a&&/^UL|^OL/.test(a.nodeName.toUpperCase())},p=c("HR"),q=function(a){return a&&/^TD|^TH/.test(a.nodeName.toUpperCase())},r=c("BLOCKQUOTE"),s=function(b){return q(b)||r(b)||a(b)},t=c("A"),u=function(a){return n(a)&&!!D(a,g)},v=function(a){return n(a)&&!D(a,g)},w=c("BODY"),x=function(a,b){return a.nextSibling===b||a.previousSibling===b},y=function(a,b){b=b||func.ok;var c=[];return a.previousSibling&&b(a.previousSibling)&&c.push(a.previousSibling),c.push(a),a.nextSibling&&b(a.nextSibling)&&c.push(a.nextSibling),c},z=agent.isMSIE&&agent.browserVersion<11?" ":"<br>",A=function(a){return d(a)?a.nodeValue.length:a?a.childNodes.length:0},B=function(a){var b=A(a);return 0===b?!0:d(a)||1!==b||a.innerHTML!==z?list.all(a.childNodes,d)&&""===a.innerHTML?!0:!1:!0},C=function(a){f(a)||A(a)||(a.innerHTML=z)},D=function(b,c){for(;b;){if(c(b))return b;if(a(b))break;b=b.parentNode}return null},E=function(b,c){for(b=b.parentNode;b&&1===A(b);){if(c(b))return b;if(a(b))break;b=b.parentNode}return null},F=function(b,c){c=c||func.fail;var d=[];return D(b,function(b){return a(b)||d.push(b),c(b)}),d},G=function(a,b){var c=F(a);return list.last(c.filter(b))},H=function(a,b){for(var c=F(a),d=b;d;d=d.parentNode)if($.inArray(d,c)>-1)return d;return null},I=function(a,b){b=b||func.fail;for(var c=[];a&&!b(a);)c.push(a),a=a.previousSibling;return c},J=function(a,b){b=b||func.fail;for(var c=[];a&&!b(a);)c.push(a),a=a.nextSibling;return c},K=function(a,b){var c=[];return b=b||func.ok,function d(e){a!==e&&b(e)&&c.push(e);for(var f=0,g=e.childNodes.length;g>f;f++)d(e.childNodes[f])}(a),c},L=function(a,b){var c=a.parentNode,d=$("<"+b+">")[0];return c.insertBefore(d,a),d.appendChild(a),d},M=function(a,b){var c=b.nextSibling,d=b.parentNode;return c?d.insertBefore(a,c):d.appendChild(a),a},N=function(a,b){return $.each(b,function(b,c){a.appendChild(c)}),a},O=function(a){return 0===a.offset},P=function(a){return a.offset===A(a.node)},Q=function(a){return O(a)||P(a)},R=function(a,b){for(;a&&a!==b;){if(0!==V(a))return!1;a=a.parentNode}return!0},S=function(a,b){if(!b)return!1;for(;a&&a!==b;){if(V(a)!==A(a.parentNode)-1)return!1;a=a.parentNode}return!0},T=function(a,b){return O(a)&&R(a.node,b)},U=function(a,b){return P(a)&&S(a.node,b)},V=function(a){for(var b=0;a=a.previousSibling;)b+=1;return b},W=function(a){return!!(a&&a.childNodes&&a.childNodes.length)},X=function(b,c){var d,e;if(0===b.offset){if(a(b.node))return null;d=b.node.parentNode,e=V(b.node)}else W(b.node)?(d=b.node.childNodes[b.offset-1],e=A(d)):(d=b.node,e=c?0:b.offset-1);return{node:d,offset:e}},Y=function(b,c){var d,e;if(A(b.node)===b.offset){if(a(b.node))return null;d=b.node.parentNode,e=V(b.node)+1}else W(b.node)?(d=b.node.childNodes[b.offset],e=0):(d=b.node,e=c?A(b.node):b.offset+1);return{node:d,offset:e}},Z=function(a,b){return a.node===b.node&&a.offset===b.offset},_=function(a){if(d(a.node)||!W(a.node)||B(a.node))return!0;var b=a.node.childNodes[a.offset-1],c=a.node.childNodes[a.offset];return b&&!f(b)||c&&!f(c)?!1:!0},aa=function(a,b){for(;a;){if(b(a))return a;a=X(a)}return null},ba=function(a,b){for(;a;){if(b(a))return a;a=Y(a)}return null},ca=function(a){if(!d(a.node))return!1;var b=a.node.nodeValue.charAt(a.offset-1);return b&&" "!==b&&b!==NBSP_CHAR},da=function(a,b,c,d){for(var e=a;e&&(c(e),!Z(e,b));){var f=d&&a.node!==e.node&&b.node!==e.node;e=Y(e,f)}},ea=function(a,b){var c=F(b,func.eq(a));return c.map(V).reverse()},fa=function(a,b){for(var c=a,d=0,e=b.length;e>d;d++)c=c.childNodes.length<=b[d]?c.childNodes[c.childNodes.length-1]:c.childNodes[b[d]];return c},ga=function(a,b){var c=b&&b.isSkipPaddingBlankHTML,e=b&&b.isNotSplitEdgePoint;if(Q(a)&&(d(a.node)||e)){if(O(a))return a.node;if(P(a))return a.node.nextSibling}if(d(a.node))return a.node.splitText(a.offset);var f=a.node.childNodes[a.offset],g=M(a.node.cloneNode(!1),a.node);return N(g,J(f)),c||(C(a.node),C(g)),g},ha=function(a,b,c){var d=F(b.node,func.eq(a));return d.length?1===d.length?ga(b,c):d.reduce(function(a,d){return a===b.node&&(a=ga(b,c)),ga({node:d,offset:a?dom.position(a):A(d)},c)}):null},ia=function(a,b){var c,d,e=b?g:s,f=F(a.node,e),h=list.last(f)||a.node;e(h)?(c=f[f.length-2],d=h):(c=h,d=c.parentNode);var i=c&&ha(c,a,{isSkipPaddingBlankHTML:b,isNotSplitEdgePoint:b});return i||d!==a.node||(i=a.node.childNodes[a.offset]),{rightNode:i,container:d}},ja=function(a){return document.createElement(a)},ka=function(a){return document.createTextNode(a)},la=function(a,b){if(a&&a.parentNode){if(a.removeNode)return a.removeNode(b);var c=a.parentNode;if(!b){var d,e,f=[];for(d=0,e=a.childNodes.length;e>d;d++)f.push(a.childNodes[d]);for(d=0,e=f.length;e>d;d++)c.insertBefore(f[d],a)}c.removeChild(a)}},ma=function(b,c){for(;b&&!a(b)&&c(b);){var d=b.parentNode;la(b),b=d}},na=function(a,b){if(a.nodeName.toUpperCase()===b.toUpperCase())return a;var c=ja(b);return a.style.cssText&&(c.style.cssText=a.style.cssText),N(c,list.from(a.childNodes)),M(c,a),la(a),c},oa=c("TEXTAREA"),pa=function(a,b){var c=oa(a[0])?a.val():a.html();return b?c.replace(/[\n\r]/g,""):c},qa=function(a,b){var c=pa(a);if(b){var d=/<(\/?)(\b(?!!)[^>\s]*)(.*?)(\s*\/?>)/g;c=c.replace(d,function(a,b,c){c=c.toUpperCase();var d=/^DIV|^TD|^TH|^P|^LI|^H[1-7]/.test(c)&&!!b,e=/^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(c);return a+(d||e?"\n":"")}),c=$.trim(c)}return c},ra=function(a){var b=$(a),c=b.offset(),d=b.outerHeight(!0);return{left:c.left,top:c.top+d}},sa=function(a,b){Object.keys(b).forEach(function(c){a.on(c,b[c])})},ta=function(a,b){Object.keys(b).forEach(function(c){a.off(c,b[c])})};return{NBSP_CHAR:NBSP_CHAR,ZERO_WIDTH_NBSP_CHAR:ZERO_WIDTH_NBSP_CHAR,blank:z,emptyPara:"<p>"+z+"</p>",makePredByNodeName:c,isEditable:a,isControlSizing:b,isText:d,isElement:e,isVoid:f,isPara:g,isPurePara:k,isHeading:h,isInline:n,isBlock:func.not(n),isBodyInline:v,isBody:w,isParaInline:u,isPre:i,isList:o,isTable:l,isData:m,isCell:q,isBlockquote:r,isBodyContainer:s,isAnchor:t,isDiv:c("DIV"),isLi:j,isBR:c("BR"),isSpan:c("SPAN"),isB:c("B"),isU:c("U"),isS:c("S"),isI:c("I"),isImg:c("IMG"),isTextarea:oa,isEmpty:B,isEmptyAnchor:func.and(t,B),isClosestSibling:x,withClosestSiblings:y,nodeLength:A,isLeftEdgePoint:O,isRightEdgePoint:P,isEdgePoint:Q,isLeftEdgeOf:R,isRightEdgeOf:S,isLeftEdgePointOf:T,isRightEdgePointOf:U,prevPoint:X,nextPoint:Y,isSamePoint:Z,isVisiblePoint:_,prevPointUntil:aa,nextPointUntil:ba,isCharPoint:ca,walkPoint:da,ancestor:D,singleChildAncestor:E,listAncestor:F,lastAncestor:G,listNext:J,listPrev:I,listDescendant:K,commonAncestor:H,wrap:L,insertAfter:M,appendChildNodes:N,position:V,hasChildren:W,makeOffsetPath:ea,fromOffsetPath:fa,splitTree:ha,splitPoint:ia,create:ja,createText:ka,remove:la,removeWhile:ma,replace:na,html:qa,value:pa,posFromPlaceholder:ra,attachEvents:sa,detachEvents:ta}}(),Context=function(a,b){var c=this,d=$.summernote.ui;return this.memos={},this.modules={},this.layoutInfo={},this.options=b,this.initialize=function(){return this.layoutInfo=d.createLayout(a,b),this._initialize(),a.hide(),this},this.destroy=function(){this._destroy(),a.removeData("summernote"),d.removeLayout(a,this.layoutInfo)},this.reset=function(){var a=c.isDisabled();this.code(dom.emptyPara),this._destroy(),this._initialize(),a&&c.disable()},this._initialize=function(){var a=$.extend({},this.options.buttons);Object.keys(a).forEach(function(b){c.memo("button."+b,a[b])});var b=$.extend({},this.options.modules,$.summernote.plugins||{});Object.keys(b).forEach(function(a){c.module(a,b[a],!0)}),Object.keys(this.modules).forEach(function(a){c.initializeModule(a)})},this._destroy=function(){Object.keys(this.modules).reverse().forEach(function(a){c.removeModule(a)}),Object.keys(this.memos).forEach(function(a){c.removeMemo(a)})},this.code=function(b){var c=this.invoke("codeview.isActivated");return void 0===b?(this.invoke("codeview.sync"),c?this.layoutInfo.codable.val():this.layoutInfo.editable.html()):(c?this.layoutInfo.codable.val(b):this.layoutInfo.editable.html(b),a.val(b),this.triggerEvent("change",b),void 0)},this.isDisabled=function(){return"false"===this.layoutInfo.editable.attr("contenteditable")},this.enable=function(){this.layoutInfo.editable.attr("contenteditable",!0),this.invoke("toolbar.activate",!0)},this.disable=function(){this.invoke("codeview.isActivated")&&this.invoke("codeview.deactivate"),this.layoutInfo.editable.attr("contenteditable",!1),this.invoke("toolbar.deactivate",!0)},this.triggerEvent=function(){var b=list.head(arguments),c=list.tail(list.from(arguments)),d=this.options.callbacks[func.namespaceToCamel(b,"on")];d&&d.apply(a[0],c),a.trigger("summernote."+b,c)},this.initializeModule=function(b){var c=this.modules[b];c.shouldInitialize=c.shouldInitialize||func.ok,c.shouldInitialize()&&(c.initialize&&c.initialize(),c.events&&dom.attachEvents(a,c.events))},this.module=function(a,b,c){return 1===arguments.length?this.modules[a]:(this.modules[a]=new b(this),void(c||this.initializeModule(a)))},this.removeModule=function(b){var c=this.modules[b];c.shouldInitialize()&&(c.events&&dom.detachEvents(a,c.events),c.destroy&&c.destroy()),delete this.modules[b]},this.memo=function(a,b){return 1===arguments.length?this.memos[a]:void(this.memos[a]=b)},this.removeMemo=function(a){this.memos[a]&&this.memos[a].destroy&&this.memos[a].destroy(),delete this.memos[a]},this.createInvokeHandler=function(a,b){return function(d){d.preventDefault(),c.invoke(a,b||$(d.target).closest("[data-value]").data("value"))}},this.invoke=function(){var a=list.head(arguments),b=list.tail(list.from(arguments)),c=a.split("."),d=c.length>1,e=d&&list.head(c),f=d?list.last(c):list.head(c),g=this.modules[e||"editor"];return!e&&this[f]?this[f].apply(this,b):g&&g[f]&&g.shouldInitialize()?g[f].apply(g,b):void 0},this.initialize()};$.fn.extend({summernote:function(){var a=$.type(list.head(arguments)),b="string"===a,c="object"===a,d=c?list.head(arguments):{};d=$.extend({},$.summernote.options,d),d.langInfo=$.extend(!0,{},$.summernote.lang["en-US"],$.summernote.lang[d.lang]),d.icons=$.extend(!0,{},$.summernote.options.icons,d.icons),this.each(function(a,b){var c=$(b);if(!c.data("summernote")){var e=new Context(c,d);c.data("summernote",e),c.data("summernote").triggerEvent("init",e.layoutInfo)}});var e=this.first();if(e.length){var f=e.data("summernote");if(b)return f.invoke.apply(f,list.from(arguments));d.focus&&f.invoke("editor.focus")}return this}});var Renderer=function(a,b,c,d){this.render=function(e){var f=$(a);if(c&&c.contents&&f.html(c.contents),c&&c.className&&f.addClass(c.className),c&&c.data&&$.each(c.data,function(a,b){f.attr("data-"+a,b)}),c&&c.click&&f.on("click",c.click),b){var g=f.find(".note-children-container");b.forEach(function(a){a.render(g.length?g:f)})}return d&&d(f,c),c&&c.callback&&c.callback(f),e&&e.append(f),f}},renderer={create:function(a,b){return function(){var c=$.isArray(arguments[0])?arguments[0]:[],d="object"==typeof arguments[1]?arguments[1]:arguments[0];return d&&d.children&&(c=d.children),new Renderer(a,c,d,b)}}},editor=renderer.create('<div class="note-editor note-frame panel panel-default"/>'),toolbar=renderer.create('<div class="note-toolbar panel-heading"/>'),editingArea=renderer.create('<div class="note-editing-area"/>'),codable=renderer.create('<textarea class="note-codable"/>'),editable=renderer.create('<div class="note-editable panel-body" contentEditable="true"/>'),statusbar=renderer.create(['<div class="note-statusbar">',' <div class="note-resizebar">',' <div class="note-icon-bar"/>',' <div class="note-icon-bar"/>',' <div class="note-icon-bar"/>'," </div>","</div>"].join("")),airEditor=renderer.create('<div class="note-editor"/>'),airEditable=renderer.create('<div class="note-editable" contentEditable="true"/>'),buttonGroup=renderer.create('<div class="note-btn-group btn-group">'),button=renderer.create('<button type="button" class="note-btn btn btn-default btn-sm" tabindex="-1">',function(a,b){b&&b.tooltip&&a.attr({title:b.tooltip}).tooltip({container:"body",trigger:"hover",placement:"bottom"})}),dropdown=renderer.create('<div class="dropdown-menu">',function(a,b){var c=$.isArray(b.items)?b.items.map(function(a){var c="string"==typeof a?a:a.value||"",d=b.template?b.template(a):a;return'<li><a href="#" data-value="'+c+'">'+d+"</a></li>"}).join(""):b.items;a.html(c)}),dropdownCheck=renderer.create('<div class="dropdown-menu note-check">',function(a,b){var c=$.isArray(b.items)?b.items.map(function(a){var c="string"==typeof a?a:a.value||"",d=b.template?b.template(a):a;return'<li><a href="#" data-value="'+c+'">'+icon(b.checkClassName)+" "+d+"</a></li>"}).join(""):b.items;a.html(c)}),palette=renderer.create('<div class="note-color-palette"/>',function(a,b){for(var c=[],d=0,e=b.colors.length;e>d;d++){for(var f=b.eventName,g=b.colors[d],h=[],i=0,j=g.length;j>i;i++){var k=g[i];h.push(['<button type="button" class="note-color-btn"','style="background-color:',k,'" ','data-event="',f,'" ','data-value="',k,'" ','title="',k,'" ','data-toggle="button" tabindex="-1"></button>'].join(""))}c.push('<div class="note-color-row">'+h.join("")+"</div>")}a.html(c.join("")),a.find(".note-color-btn").tooltip({container:"body",trigger:"hover",placement:"bottom"})}),dialog=renderer.create('<div class="modal" aria-hidden="false" tabindex="-1"/>',function(a,b){b.fade&&a.addClass("fade"),a.html(['<div class="modal-dialog">',' <div class="modal-content">',b.title?' <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title">'+b.title+"</h4> </div>":"",' <div class="modal-body">'+b.body+"</div>",b.footer?' <div class="modal-footer">'+b.footer+"</div>":""," </div>","</div>"].join(""))}),popover=renderer.create(['<div class="note-popover popover in">',' <div class="arrow"/>',' <div class="popover-content note-children-container"/>',"</div>"].join(""),function(a,b){var c="undefined"!=typeof b.direction?b.direction:"bottom";a.addClass(c),b.hideArrow&&a.find(".arrow").hide()}),icon=function(a,b){return b=b||"i","<"+b+' class="'+a+'"/>'},ui={editor:editor,toolbar:toolbar,editingArea:editingArea,codable:codable,editable:editable,statusbar:statusbar,airEditor:airEditor,airEditable:airEditable,buttonGroup:buttonGroup,button:button,dropdown:dropdown,dropdownCheck:dropdownCheck,palette:palette,dialog:dialog,popover:popover,icon:icon,toggleBtn:function(a,b){a.toggleClass("disabled",!b),a.attr("disabled",!b)},toggleBtnActive:function(a,b){a.toggleClass("active",b)},onDialogShown:function(a,b){a.one("shown.bs.modal",b)},onDialogHidden:function(a,b){a.one("hidden.bs.modal",b)},showDialog:function(a){a.modal("show")},hideDialog:function(a){a.modal("hide")},createLayout:function(a,b){var c=(b.airMode?ui.airEditor([ui.editingArea([ui.airEditable()])]):ui.editor([ui.toolbar(),ui.editingArea([ui.codable(),ui.editable()]),ui.statusbar()])).render();return c.insertAfter(a),{note:a,editor:c,toolbar:c.find(".note-toolbar"),editingArea:c.find(".note-editing-area"),editable:c.find(".note-editable"),codable:c.find(".note-codable"),statusbar:c.find(".note-statusbar")}},removeLayout:function(a,b){a.html(b.editable.html()),b.editor.remove(),a.show()}};$.summernote=$.summernote||{lang:{}},$.extend($.summernote.lang,{"en-US":{font:{bold:"Bold",italic:"Italic",underline:"Underline",clear:"Remove Font Style",height:"Line Height",name:"Font Family",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",size:"Font Size"},image:{image:"Picture",insert:"Insert Image",resizeFull:"Resize Full",resizeHalf:"Resize Half",resizeQuarter:"Resize Quarter",floatLeft:"Float Left",floatRight:"Float Right",floatNone:"Float None",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Drag image or text here",dropImage:"Drop image or Text",selectFromFiles:"Select from files",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Image URL",remove:"Remove Image"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Link",insert:"Insert Link",unlink:"Unlink",edit:"Edit",textToDisplay:"Text to display",url:"To what URL should this link go?",openInNewWindow:"Open in new window"},table:{table:"Table"},hr:{insert:"Insert Horizontal Rule"},style:{style:"Style",normal:"Normal",blockquote:"Quote",pre:"Code",h1:"Header 1",h2:"Header 2",h3:"Header 3",h4:"Header 4",h5:"Header 5",h6:"Header 6"},lists:{unordered:"Unordered list",ordered:"Ordered list"},options:{help:"Help",fullscreen:"Full Screen",codeview:"Code View"},paragraph:{paragraph:"Paragraph",outdent:"Outdent",indent:"Indent",left:"Align left",center:"Align center",right:"Align right",justify:"Justify full"},color:{recent:"Recent Color",more:"More Color",background:"Background Color",foreground:"Foreground Color",transparent:"Transparent",setTransparent:"Set transparent",reset:"Reset",resetToDefault:"Reset to default"},shortcut:{shortcuts:"Keyboard shortcuts",close:"Close",textFormatting:"Text formatting",action:"Action",paragraphFormatting:"Paragraph formatting",documentStyle:"Document Style",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Undo",redo:"Redo"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}});var key=function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,NUM0:48,NUM1:49,NUM2:50,NUM3:51,NUM4:52,NUM5:53,NUM6:54,NUM7:55,NUM8:56,B:66,E:69,I:73,J:74,K:75,L:76,R:82,S:83,U:85,V:86,Y:89,Z:90,SLASH:191,LEFTBRACKET:219,BACKSLASH:220,RIGHTBRACKET:221};return{isEdit:function(b){return list.contains([a.BACKSPACE,a.TAB,a.ENTER,a.SPACE],b)},isMove:function(b){return list.contains([a.LEFT,a.UP,a.RIGHT,a.DOWN],b)},nameFromCode:func.invertObject(a),code:a}}(),range=function(){var a=function(a,b){var c,d,e=a.parentElement(),f=document.body.createTextRange(),g=list.from(e.childNodes);for(c=0;c<g.length;c++)if(!dom.isText(g[c])){if(f.moveToElementText(g[c]),f.compareEndPoints("StartToStart",a)>=0)break;d=g[c]}if(0!==c&&dom.isText(g[c-1])){var h=document.body.createTextRange(),i=null;h.moveToElementText(d||e),h.collapse(!d),i=d?d.nextSibling:e.firstChild;var j=a.duplicate();j.setEndPoint("StartToStart",h);for(var k=j.text.replace(/[\r\n]/g,"").length;k>i.nodeValue.length&&i.nextSibling;)k-=i.nodeValue.length,i=i.nextSibling;i.nodeValue;b&&i.nextSibling&&dom.isText(i.nextSibling)&&k===i.nodeValue.length&&(k-=i.nodeValue.length,i=i.nextSibling),e=i,c=k}return{cont:e,offset:c}},b=function(a){var b=function(a,c){var d,e;if(dom.isText(a)){var f=dom.listPrev(a,func.not(dom.isText)),g=list.last(f).previousSibling;d=g||a.parentNode,c+=list.sum(list.tail(f),dom.nodeLength),e=!g}else{if(d=a.childNodes[c]||a,dom.isText(d))return b(d,0);c=0,e=!1}return{node:d,collapseToStart:e,offset:c}},c=document.body.createTextRange(),d=b(a.node,a.offset);return c.moveToElementText(d.node),c.collapse(d.collapseToStart),c.moveStart("character",d.offset),c},c=function(a,d,e,f){this.sc=a,this.so=d,this.ec=e,this.eo=f;var g=function(){if(agent.isW3CRangeSupport){var c=document.createRange();return c.setStart(a,d),c.setEnd(e,f),c}var g=b({node:a,offset:d});return g.setEndPoint("EndToEnd",b({node:e,offset:f})),g};this.getPoints=function(){return{sc:a,so:d,ec:e,eo:f}},this.getStartPoint=function(){return{node:a,offset:d}},this.getEndPoint=function(){return{node:e,offset:f}},this.select=function(){var a=g();if(agent.isW3CRangeSupport){var b=document.getSelection();b.rangeCount>0&&b.removeAllRanges(),b.addRange(a)}else a.select();return this},this.scrollIntoView=function(a){var b=$(a).height();return a.scrollTop+b<this.sc.offsetTop&&(a.scrollTop+=Math.abs(a.scrollTop+b-this.sc.offsetTop)),this},this.normalize=function(){var a=function(a,b){if(dom.isVisiblePoint(a)&&!dom.isEdgePoint(a)||dom.isVisiblePoint(a)&&dom.isRightEdgePoint(a)&&!b||dom.isVisiblePoint(a)&&dom.isLeftEdgePoint(a)&&b||dom.isVisiblePoint(a)&&dom.isBlock(a.node)&&dom.isEmpty(a.node))return a;var c=dom.ancestor(a.node,dom.isBlock);if((dom.isLeftEdgePointOf(a,c)||dom.isVoid(dom.prevPoint(a).node))&&!b||(dom.isRightEdgePointOf(a,c)||dom.isVoid(dom.nextPoint(a).node))&&b){if(dom.isVisiblePoint(a))return a;b=!b}var d=b?dom.nextPointUntil(dom.nextPoint(a),dom.isVisiblePoint):dom.prevPointUntil(dom.prevPoint(a),dom.isVisiblePoint);return d||a},b=a(this.getEndPoint(),!1),d=this.isCollapsed()?b:a(this.getStartPoint(),!0);return new c(d.node,d.offset,b.node,b.offset)},this.nodes=function(a,b){a=a||func.ok;var c=b&&b.includeAncestor,d=b&&b.fullyContains,e=this.getStartPoint(),f=this.getEndPoint(),g=[],h=[];return dom.walkPoint(e,f,function(b){if(!dom.isEditable(b.node)){var e;d?(dom.isLeftEdgePoint(b)&&h.push(b.node),dom.isRightEdgePoint(b)&&list.contains(h,b.node)&&(e=b.node)):e=c?dom.ancestor(b.node,a):b.node,e&&a(e)&&g.push(e)}},!0),list.unique(g)},this.commonAncestor=function(){return dom.commonAncestor(a,e)},this.expand=function(b){var g=dom.ancestor(a,b),h=dom.ancestor(e,b);if(!g&&!h)return new c(a,d,e,f);var i=this.getPoints();return g&&(i.sc=g,i.so=0),h&&(i.ec=h,i.eo=dom.nodeLength(h)),new c(i.sc,i.so,i.ec,i.eo)},this.collapse=function(b){return b?new c(a,d,a,d):new c(e,f,e,f)},this.splitText=function(){var b=a===e,g=this.getPoints();return dom.isText(e)&&!dom.isEdgePoint(this.getEndPoint())&&e.splitText(f),dom.isText(a)&&!dom.isEdgePoint(this.getStartPoint())&&(g.sc=a.splitText(d),g.so=0,b&&(g.ec=g.sc,g.eo=f-d)),new c(g.sc,g.so,g.ec,g.eo)},this.deleteContents=function(){if(this.isCollapsed())return this;var a=this.splitText(),b=a.nodes(null,{fullyContains:!0}),d=dom.prevPointUntil(a.getStartPoint(),function(a){return!list.contains(b,a.node)}),e=[];return $.each(b,function(a,b){var c=b.parentNode;d.node!==c&&1===dom.nodeLength(c)&&e.push(c),dom.remove(b,!1)}),$.each(e,function(a,b){dom.remove(b,!1)}),new c(d.node,d.offset,d.node,d.offset).normalize()};var h=function(b){return function(){var c=dom.ancestor(a,b);return!!c&&c===dom.ancestor(e,b)}};this.isOnEditable=h(dom.isEditable),this.isOnList=h(dom.isList),this.isOnAnchor=h(dom.isAnchor),this.isOnCell=h(dom.isCell),this.isOnData=h(dom.isData),this.isLeftEdgeOf=function(a){if(!dom.isLeftEdgePoint(this.getStartPoint()))return!1;var b=dom.ancestor(this.sc,a);return b&&dom.isLeftEdgeOf(this.sc,b)},this.isCollapsed=function(){return a===e&&d===f},this.wrapBodyInlineWithPara=function(){if(dom.isBodyContainer(a)&&dom.isEmpty(a))return a.innerHTML=dom.emptyPara,new c(a.firstChild,0,a.firstChild,0);var b=this.normalize();if(dom.isParaInline(a)||dom.isPara(a))return b;var d;if(dom.isInline(b.sc)){var e=dom.listAncestor(b.sc,func.not(dom.isInline));d=list.last(e),dom.isInline(d)||(d=e[e.length-2]||b.sc.childNodes[b.so])}else d=b.sc.childNodes[b.so>0?b.so-1:0];var f=dom.listPrev(d,dom.isParaInline).reverse();if(f=f.concat(dom.listNext(d.nextSibling,dom.isParaInline)),f.length){var g=dom.wrap(list.head(f),"p");dom.appendChildNodes(g,list.tail(f))}return this.normalize()},this.insertNode=function(a){var b=this.wrapBodyInlineWithPara().deleteContents(),c=dom.splitPoint(b.getStartPoint(),dom.isInline(a));return c.rightNode?c.rightNode.parentNode.insertBefore(a,c.rightNode):c.container.appendChild(a),a},this.pasteHTML=function(a){var b=$("<div></div>").html(a)[0],c=list.from(b.childNodes),d=this.wrapBodyInlineWithPara().deleteContents();return c.reverse().map(function(a){return d.insertNode(a)}).reverse()},this.toString=function(){var a=g();return agent.isW3CRangeSupport?a.toString():a.text},this.getWordRange=function(a){var b=this.getEndPoint();if(!dom.isCharPoint(b))return this;var d=dom.prevPointUntil(b,function(a){return!dom.isCharPoint(a)});return a&&(b=dom.nextPointUntil(b,function(a){return!dom.isCharPoint(a)})),new c(d.node,d.offset,b.node,b.offset)},this.bookmark=function(b){return{s:{path:dom.makeOffsetPath(b,a),offset:d},e:{path:dom.makeOffsetPath(b,e),offset:f}}},this.paraBookmark=function(b){return{s:{path:list.tail(dom.makeOffsetPath(list.head(b),a)),offset:d},e:{path:list.tail(dom.makeOffsetPath(list.last(b),e)),offset:f}}},this.getClientRects=function(){var a=g();return a.getClientRects()}};return{create:function(a,b,d,e){if(4===arguments.length)return new c(a,b,d,e);if(2===arguments.length)return d=a,e=b,new c(a,b,d,e);var f=this.createFromSelection();return f||1!==arguments.length?f:(f=this.createFromNode(arguments[0]),f.collapse(dom.emptyPara===arguments[0].innerHTML))},createFromSelection:function(){var b,d,e,f;if(agent.isW3CRangeSupport){var g=document.getSelection();if(!g||0===g.rangeCount)return null;if(dom.isBody(g.anchorNode))return null;var h=g.getRangeAt(0);b=h.startContainer,d=h.startOffset,e=h.endContainer,f=h.endOffset}else{var i=document.selection.createRange(),j=i.duplicate();j.collapse(!1);var k=i;k.collapse(!0);var l=a(k,!0),m=a(j,!1);dom.isText(l.node)&&dom.isLeftEdgePoint(l)&&dom.isTextNode(m.node)&&dom.isRightEdgePoint(m)&&m.node.nextSibling===l.node&&(l=m),b=l.cont,d=l.offset,e=m.cont,f=m.offset}return new c(b,d,e,f)},createFromNode:function(a){var b=a,c=0,d=a,e=dom.nodeLength(d);return dom.isVoid(b)&&(c=dom.listPrev(b).length-1,b=b.parentNode),dom.isBR(d)?(e=dom.listPrev(d).length-1,d=d.parentNode):dom.isVoid(d)&&(e=dom.listPrev(d).length,d=d.parentNode),this.create(b,c,d,e)},createFromNodeBefore:function(a){return this.createFromNode(a).collapse(!0)},createFromNodeAfter:function(a){return this.createFromNode(a).collapse()},createFromBookmark:function(a,b){var d=dom.fromOffsetPath(a,b.s.path),e=b.s.offset,f=dom.fromOffsetPath(a,b.e.path),g=b.e.offset;return new c(d,e,f,g)},createFromParaBookmark:function(a,b){var d=a.s.offset,e=a.e.offset,f=dom.fromOffsetPath(list.head(b),a.s.path),g=dom.fromOffsetPath(list.last(b),a.e.path);return new c(f,d,g,e)}}}(),async=function(){var a=function(a){return $.Deferred(function(b){$.extend(new FileReader,{onload:function(a){var c=a.target.result;b.resolve(c)},onerror:function(){b.reject(this)}}).readAsDataURL(a)}).promise()},b=function(a){return $.Deferred(function(b){var c=$("<img>");c.one("load",function(){c.off("error abort"),b.resolve(c)}).one("error abort",function(){c.off("load").detach(),b.reject(c)}).css({display:"none"}).appendTo(document.body).attr("src",a)}).promise()};return{readFileAsDataURL:a,createImage:b | ||
| 3 | +}}(),History=function(a){var b=[],c=-1,d=a[0],e=function(){var b=range.create(d),c={s:{path:[],offset:0},e:{path:[],offset:0}};return{contents:a.html(),bookmark:b?b.bookmark(d):c}},f=function(b){null!==b.contents&&a.html(b.contents),null!==b.bookmark&&range.createFromBookmark(d,b.bookmark).select()};this.rewind=function(){a.html()!==b[c].contents&&this.recordUndo(),c=0,f(b[c])},this.reset=function(){b=[],c=-1,a.html(""),this.recordUndo()},this.undo=function(){a.html()!==b[c].contents&&this.recordUndo(),c>0&&(c--,f(b[c]))},this.redo=function(){b.length-1>c&&(c++,f(b[c]))},this.recordUndo=function(){c++,b.length>c&&(b=b.slice(0,c)),b.push(e())}},Style=function(){var a=function(a,b){if(agent.jqueryVersion<1.9){var c={};return $.each(b,function(b,d){c[d]=a.css(d)}),c}return a.css.call(a,b)};this.fromNode=function(b){var c=["font-family","font-size","text-align","list-style-type","line-height"],d=a(b,c)||{};return d["font-size"]=parseInt(d["font-size"],10),d},this.stylePara=function(a,b){$.each(a.nodes(dom.isPara,{includeAncestor:!0}),function(a,c){$(c).css(b)})},this.styleNodes=function(a,b){a=a.splitText();var c=b&&b.nodeName||"SPAN",d=!(!b||!b.expandClosestSibling),e=!(!b||!b.onlyPartialContains);if(a.isCollapsed())return[a.insertNode(dom.create(c))];var f=dom.makePredByNodeName(c),g=a.nodes(dom.isText,{fullyContains:!0}).map(function(a){return dom.singleChildAncestor(a,f)||dom.wrap(a,c)});if(d){if(e){var h=a.nodes();f=func.and(f,function(a){return list.contains(h,a)})}return g.map(function(a){var b=dom.withClosestSiblings(a,f),c=list.head(b),d=list.tail(b);return $.each(d,function(a,b){dom.appendChildNodes(c,b.childNodes),dom.remove(b)}),list.head(b)})}return g},this.current=function(a){var b=$(dom.isElement(a.sc)?a.sc:a.sc.parentNode),c=this.fromNode(b);try{c=$.extend(c,{"font-bold":document.queryCommandState("bold")?"bold":"normal","font-italic":document.queryCommandState("italic")?"italic":"normal","font-underline":document.queryCommandState("underline")?"underline":"normal","font-subscript":document.queryCommandState("subscript")?"subscript":"normal","font-superscript":document.queryCommandState("superscript")?"superscript":"normal","font-strikethrough":document.queryCommandState("strikethrough")?"strikethrough":"normal"})}catch(d){}if(a.isOnList()){var e=["circle","disc","disc-leading-zero","square"],f=$.inArray(c["list-style-type"],e)>-1;c["list-style"]=f?"unordered":"ordered"}else c["list-style"]="none";var g=dom.ancestor(a.sc,dom.isPara);if(g&&g.style["line-height"])c["line-height"]=g.style.lineHeight;else{var h=parseInt(c["line-height"],10)/parseInt(c["font-size"],10);c["line-height"]=h.toFixed(1)}return c.anchor=a.isOnAnchor()&&dom.ancestor(a.sc,dom.isAnchor),c.ancestors=dom.listAncestor(a.sc,dom.isEditable),c.range=a,c}},Bullet=function(){var a=this;this.insertOrderedList=function(a){this.toggleList("OL",a)},this.insertUnorderedList=function(a){this.toggleList("UL",a)},this.indent=function(a){var b=this,c=range.create(a).wrapBodyInlineWithPara(),d=c.nodes(dom.isPara,{includeAncestor:!0}),e=list.clusterBy(d,func.peq2("parentNode"));$.each(e,function(a,c){var d=list.head(c);dom.isLi(d)?b.wrapList(c,d.parentNode.nodeName):$.each(c,function(a,b){$(b).css("marginLeft",function(a,b){return(parseInt(b,10)||0)+25})})}),c.select()},this.outdent=function(a){var b=this,c=range.create(a).wrapBodyInlineWithPara(),d=c.nodes(dom.isPara,{includeAncestor:!0}),e=list.clusterBy(d,func.peq2("parentNode"));$.each(e,function(a,c){var d=list.head(c);dom.isLi(d)?b.releaseList([c]):$.each(c,function(a,b){$(b).css("marginLeft",function(a,b){return b=parseInt(b,10)||0,b>25?b-25:""})})}),c.select()},this.toggleList=function(b,c){var d=range.create(c).wrapBodyInlineWithPara(),e=d.nodes(dom.isPara,{includeAncestor:!0}),f=d.paraBookmark(e),g=list.clusterBy(e,func.peq2("parentNode"));if(list.find(e,dom.isPurePara)){var h=[];$.each(g,function(c,d){h=h.concat(a.wrapList(d,b))}),e=h}else{var i=d.nodes(dom.isList,{includeAncestor:!0}).filter(function(a){return!$.nodeName(a,b)});i.length?$.each(i,function(a,c){dom.replace(c,b)}):e=this.releaseList(g,!0)}range.createFromParaBookmark(f,e).select()},this.wrapList=function(a,b){var c=list.head(a),d=list.last(a),e=dom.isList(c.previousSibling)&&c.previousSibling,f=dom.isList(d.nextSibling)&&d.nextSibling,g=e||dom.insertAfter(dom.create(b||"UL"),d);return a=a.map(function(a){return dom.isPurePara(a)?dom.replace(a,"LI"):a}),dom.appendChildNodes(g,a),f&&(dom.appendChildNodes(g,list.from(f.childNodes)),dom.remove(f)),a},this.releaseList=function(a,b){var c=[];return $.each(a,function(a,d){var e=list.head(d),f=list.last(d),g=b?dom.lastAncestor(e,dom.isList):e.parentNode,h=g.childNodes.length>1?dom.splitTree(g,{node:f.parentNode,offset:dom.position(f)+1},{isSkipPaddingBlankHTML:!0}):null,i=dom.splitTree(g,{node:e.parentNode,offset:dom.position(e)},{isSkipPaddingBlankHTML:!0});d=b?dom.listDescendant(i,dom.isLi):list.from(i.childNodes).filter(dom.isLi),(b||!dom.isList(g.parentNode))&&(d=d.map(function(a){return dom.replace(a,"P")})),$.each(list.from(d).reverse(),function(a,b){dom.insertAfter(b,g)});var j=list.compact([g,i,h]);$.each(j,function(a,b){var c=[b].concat(dom.listDescendant(b,dom.isList));$.each(c.reverse(),function(a,b){dom.nodeLength(b)||dom.remove(b,!0)})}),c=c.concat(d)}),c}},Typing=function(){var a=new Bullet;this.insertTab=function(a,b){var c=dom.createText(new Array(b+1).join(dom.NBSP_CHAR));a=a.deleteContents(),a.insertNode(c,!0),a=range.create(c,b),a.select()},this.insertParagraph=function(b){var c=range.create(b);c=c.deleteContents(),c=c.wrapBodyInlineWithPara();var d,e=dom.ancestor(c.sc,dom.isPara);if(e){if(dom.isEmpty(e)&&dom.isLi(e))return void a.toggleList(e.parentNode.nodeName);if(dom.isEmpty(e)&&dom.isPara(e)&&dom.isBlockquote(e.parentNode))dom.insertAfter(e,e.parentNode),d=e;else{d=dom.splitTree(e,c.getStartPoint());var f=dom.listDescendant(e,dom.isEmptyAnchor);f=f.concat(dom.listDescendant(d,dom.isEmptyAnchor)),$.each(f,function(a,b){dom.remove(b)}),(dom.isHeading(d)||dom.isPre(d))&&dom.isEmpty(d)&&(d=dom.replace(d,"p"))}}else{var g=c.sc.childNodes[c.so];d=$(dom.emptyPara)[0],g?c.sc.insertBefore(d,g):c.sc.appendChild(d)}range.create(d,0).normalize().select().scrollIntoView(b)}},Table=function(){this.tab=function(a,b){var c=dom.ancestor(a.commonAncestor(),dom.isCell),d=dom.ancestor(c,dom.isTable),e=dom.listDescendant(d,dom.isCell),f=list[b?"prev":"next"](e,c);f&&range.create(f,0).select()},this.createTable=function(a,b,c){for(var d,e=[],f=0;a>f;f++)e.push("<td>"+dom.blank+"</td>");d=e.join("");for(var g,h=[],i=0;b>i;i++)h.push("<tr>"+d+"</tr>");g=h.join("");var j=$("<table>"+g+"</table>");return c&&c.tableClassName&&j.addClass(c.tableClassName),j[0]}},KEY_BOGUS="bogus",Editor=function(a){var b=this,c=a.layoutInfo.note,d=a.layoutInfo.editor,e=a.layoutInfo.editable,f=a.options,g=f.langInfo,h=e[0],i=null,j=new Style,k=new Table,l=new Typing,m=new Bullet,n=new History(e);this.initialize=function(){e.on("keydown",function(c){c.keyCode===key.code.ENTER&&a.triggerEvent("enter",c),a.triggerEvent("keydown",c),c.isDefaultPrevented()||(f.shortcuts?b.handleKeyMap(c):b.preventDefaultEditableShortCuts(c))}).on("keyup",function(b){a.triggerEvent("keyup",b)}).on("focus",function(b){a.triggerEvent("focus",b)}).on("blur",function(b){a.triggerEvent("blur",b)}).on("mousedown",function(b){a.triggerEvent("mousedown",b)}).on("mouseup",function(b){a.triggerEvent("mouseup",b)}).on("scroll",function(b){a.triggerEvent("scroll",b)}).on("paste",function(b){a.triggerEvent("paste",b)}),e.html(dom.html(c)||dom.emptyPara);var g=agent.isMSIE?"DOMCharacterDataModified DOMSubtreeModified DOMNodeInserted":"input";e.on(g,func.debounce(function(){a.triggerEvent("change",e.html())},250)),d.on("focusin",function(b){a.triggerEvent("focusin",b)}).on("focusout",function(b){a.triggerEvent("focusout",b)}),f.airMode||(f.width&&d.outerWidth(f.width),f.height&&e.outerHeight(f.height),f.maxHeight&&e.css("max-height",f.maxHeight),f.minHeight&&e.css("min-height",f.minHeight)),n.recordUndo()},this.destroy=function(){e.off()},this.handleKeyMap=function(b){var c=f.keyMap[agent.isMac?"mac":"pc"],d=[];b.metaKey&&d.push("CMD"),b.ctrlKey&&!b.altKey&&d.push("CTRL"),b.shiftKey&&d.push("SHIFT");var e=key.nameFromCode[b.keyCode];e&&d.push(e);var g=c[d.join("+")];g?(b.preventDefault(),a.invoke(g)):key.isEdit(b.keyCode)&&this.afterCommand()},this.preventDefaultEditableShortCuts=function(a){(a.ctrlKey||a.metaKey)&&list.contains([66,73,85],a.keyCode)&&a.preventDefault()},this.createRange=function(){return this.focus(),range.create(h)},this.saveRange=function(a){i=this.createRange(),a&&i.collapse().select()},this.restoreRange=function(){i&&(i.select(),this.focus())},this.saveTarget=function(a){e.data("target",a)},this.clearTarget=function(){e.removeData("target")},this.restoreTarget=function(){return e.data("target")},this.currentStyle=function(){var a=range.create();return a&&(a=a.normalize()),a?j.current(a):j.fromNode(e)},this.styleFromNode=function(a){return j.fromNode(a)},this.undo=function(){a.triggerEvent("before.command",e.html()),n.undo(),a.triggerEvent("change",e.html())},a.memo("help.undo",g.help.undo),this.redo=function(){a.triggerEvent("before.command",e.html()),n.redo(),a.triggerEvent("change",e.html())},a.memo("help.redo",g.help.redo);for(var o=this.beforeCommand=function(){a.triggerEvent("before.command",e.html()),b.focus()},p=this.afterCommand=function(b){n.recordUndo(),b||a.triggerEvent("change",e.html())},q=["bold","italic","underline","strikethrough","superscript","subscript","justifyLeft","justifyCenter","justifyRight","justifyFull","formatBlock","removeFormat","backColor","foreColor","fontName"],r=0,s=q.length;s>r;r++)this[q[r]]=function(a){return function(b){o(),document.execCommand(a,!1,b),p(!0)}}(q[r]),a.memo("help."+q[r],g.help[q[r]]);this.tab=function(){var a=this.createRange();a.isCollapsed()&&a.isOnCell()?k.tab(a):(o(),l.insertTab(a,f.tabSize),p())},a.memo("help.tab",g.help.tab),this.untab=function(){var a=this.createRange();a.isCollapsed()&&a.isOnCell()&&k.tab(a,!0)},a.memo("help.untab",g.help.untab),this.wrapCommand=function(a){return function(){o(),a.apply(b,arguments),p()}},this.insertParagraph=this.wrapCommand(function(){l.insertParagraph(h)}),a.memo("help.insertParagraph",g.help.insertParagraph),this.insertOrderedList=this.wrapCommand(function(){m.insertOrderedList(h)}),a.memo("help.insertOrderedList",g.help.insertOrderedList),this.insertUnorderedList=this.wrapCommand(function(){m.insertUnorderedList(h)}),a.memo("help.insertUnorderedList",g.help.insertUnorderedList),this.indent=this.wrapCommand(function(){m.indent(h)}),a.memo("help.indent",g.help.indent),this.outdent=this.wrapCommand(function(){m.outdent(h)}),a.memo("help.outdent",g.help.outdent),this.insertImage=function(b,c){return async.createImage(b,c).then(function(a){o(),"function"==typeof c?c(a):("string"==typeof c&&a.attr("data-filename",c),a.css("width",Math.min(e.width(),a.width()))),a.show(),range.create(h).insertNode(a[0]),range.createFromNodeAfter(a[0]).select(),p()}).fail(function(b){a.triggerEvent("image.upload.error",b)})},this.insertImages=function(c){$.each(c,function(c,d){var e=d.name;f.maximumImageFileSize&&f.maximumImageFileSize<d.size?a.triggerEvent("image.upload.error",g.image.maximumFileSizeError):async.readFileAsDataURL(d).then(function(a){return b.insertImage(a,e)}).fail(function(){a.triggerEvent("image.upload.error")})})},this.insertImagesOrCallback=function(b){var c=f.callbacks;c.onImageUpload?a.triggerEvent("image.upload",b):this.insertImages(b)},this.insertNode=this.wrapCommand(function(a){var b=this.createRange();b.insertNode(a),range.createFromNodeAfter(a).select()}),this.insertText=this.wrapCommand(function(a){var b=this.createRange(),c=b.insertNode(dom.createText(a));range.create(c,dom.nodeLength(c)).select()}),this.getSelectedText=function(){var a=this.createRange();return a.isOnAnchor()&&(a=range.createFromNode(dom.ancestor(a.sc,dom.isAnchor))),a.toString()},this.pasteHTML=this.wrapCommand(function(a){var b=this.createRange().pasteHTML(a);range.createFromNodeAfter(list.last(b)).select()}),this.formatBlock=this.wrapCommand(function(a){a=agent.isMSIE?"<"+a+">":a,document.execCommand("FormatBlock",!1,a)}),this.formatPara=function(){this.formatBlock("P")},a.memo("help.formatPara",g.help.formatPara);for(var r=1;6>=r;r++)this["formatH"+r]=function(a){return function(){this.formatBlock("H"+a)}}(r),a.memo("help.formatH"+r,g.help["formatH"+r]);this.fontSize=function(a){var b=this.createRange();if(b&&b.isCollapsed()){var c=j.styleNodes(b),d=list.head(c);$(c).css({"font-size":a+"px"}),d&&!dom.nodeLength(d)&&(d.innerHTML=dom.ZERO_WIDTH_NBSP_CHAR,range.createFromNodeAfter(d.firstChild).select(),e.data(KEY_BOGUS,d))}else o(),$(j.styleNodes(b)).css({"font-size":a+"px"}),p()},this.insertHorizontalRule=this.wrapCommand(function(){var a=this.createRange().insertNode(dom.create("HR"));a.nextSibling&&range.create(a.nextSibling,0).normalize().select()}),a.memo("help.insertHorizontalRule",g.help.insertHorizontalRule),this.removeBogus=function(){var a=e.data(KEY_BOGUS);if(a){var b=list.find(list.from(a.childNodes),dom.isText),c=b.nodeValue.indexOf(dom.ZERO_WIDTH_NBSP_CHAR);-1!==c&&b.deleteData(c,1),dom.isEmpty(a)&&dom.remove(a),e.removeData(KEY_BOGUS)}},this.lineHeight=this.wrapCommand(function(a){j.stylePara(this.createRange(),{lineHeight:a})}),this.unlink=function(){var a=this.createRange();if(a.isOnAnchor()){var b=dom.ancestor(a.sc,dom.isAnchor);a=range.createFromNode(b),a.select(),o(),document.execCommand("unlink"),p()}},this.createLink=this.wrapCommand(function(a){var b=a.url,c=a.text,d=a.isNewWindow,e=a.range||this.createRange(),g=e.toString()!==c;"string"==typeof b&&(b=b.trim()),f.onCreateLink&&(b=f.onCreateLink(b));var h=[];if(g){e=e.deleteContents();var i=e.insertNode($("<A>"+c+"</A>")[0]);h.push(i)}else h=j.styleNodes(e,{nodeName:"A",expandClosestSibling:!0,onlyPartialContains:!0});$.each(h,function(a,c){b=/^[A-Za-z][A-Za-z0-9+-.]*\:[\/\/]?/.test(b)?b:"http://"+b,$(c).attr("href",b),d?$(c).attr("target","_blank"):$(c).removeAttr("target")});var k=range.createFromNodeBefore(list.head(h)),l=k.getStartPoint(),m=range.createFromNodeAfter(list.last(h)),n=m.getEndPoint();range.create(l.node,l.offset,n.node,n.offset).select()}),this.getLinkInfo=function(){var a=this.createRange().expand(dom.isAnchor),b=$(list.head(a.nodes(dom.isAnchor)));return{range:a,text:a.toString(),isNewWindow:b.length?"_blank"===b.attr("target"):!1,url:b.length?b.attr("href"):""}},this.color=this.wrapCommand(function(a){var b=a.foreColor,c=a.backColor;b&&document.execCommand("foreColor",!1,b),c&&document.execCommand("backColor",!1,c)}),this.insertTable=this.wrapCommand(function(a){var b=a.split("x"),c=this.createRange().deleteContents();c.insertNode(k.createTable(b[0],b[1],f))}),this.floatMe=this.wrapCommand(function(a){var b=$(this.restoreTarget());b.css("float",a)}),this.resize=this.wrapCommand(function(a){var b=$(this.restoreTarget());b.css({width:100*a+"%",height:""})}),this.resizeTo=function(a,b,c){var d;if(c){var e=a.y/a.x,f=b.data("ratio");d={width:f>e?a.x:a.y/f,height:f>e?a.x*f:a.y}}else d={width:a.x,height:a.y};b.css(d)},this.removeMedia=this.wrapCommand(function(){var b=$(this.restoreTarget()).detach();a.triggerEvent("media.delete",b,e)}),this.hasFocus=function(){return e.is(":focus")},this.focus=function(){this.hasFocus()||e.focus()},this.isEmpty=function(){return dom.isEmpty(e[0])||dom.emptyPara===e.html()},this.empty=function(){a.invoke("code",dom.emptyPara)}},Clipboard=function(a){var b=this,c=a.layoutInfo.editable;this.events={"summernote.keydown":function(c,d){b.needKeydownHook()&&(d.ctrlKey||d.metaKey)&&d.keyCode===key.code.V&&(a.invoke("editor.saveRange"),b.$paste.focus(),setTimeout(function(){b.pasteByHook()},0))}},this.needKeydownHook=function(){return agent.isMSIE&&agent.browserVersion>10||agent.isFF},this.initialize=function(){this.needKeydownHook()?(this.$paste=$('<div tabindex="-1" />').attr("contenteditable",!0).css({position:"absolute",left:-1e5,opacity:0}),c.before(this.$paste),this.$paste.on("paste",function(b){a.triggerEvent("paste",b)})):c.on("paste",this.pasteByEvent)},this.destroy=function(){this.needKeydownHook()&&(this.$paste.remove(),this.$paste=null)},this.pasteByHook=function(){var b=this.$paste[0].firstChild;if(dom.isImg(b)){for(var c=b.src,d=atob(c.split(",")[1]),e=new Uint8Array(d.length),f=0;f<d.length;f++)e[f]=d.charCodeAt(f);var g=new Blob([e],{type:"image/png"});g.name="clipboard.png",a.invoke("editor.restoreRange"),a.invoke("editor.focus"),a.invoke("editor.insertImagesOrCallback",[g])}else{var h=$("<div />").html(this.$paste.html()).html();a.invoke("editor.restoreRange"),a.invoke("editor.focus"),h&&a.invoke("editor.pasteHTML",h)}this.$paste.empty()},this.pasteByEvent=function(b){var c=b.originalEvent.clipboardData;if(c&&c.items&&c.items.length){var d=list.head(c.items);"file"===d.kind&&-1!==d.type.indexOf("image/")&&a.invoke("editor.insertImagesOrCallback",[d.getAsFile()]),a.invoke("editor.afterCommand")}}},Dropzone=function(a){var b=$(document),c=a.layoutInfo.editor,d=a.layoutInfo.editable,e=a.options,f=e.langInfo,g={},h=$(['<div class="note-dropzone">',' <div class="note-dropzone-message"/>',"</div>"].join("")).prependTo(c),i=function(){Object.keys(g).forEach(function(a){b.off(a.substr(2).toLowerCase(),g[a])}),g={}};this.initialize=function(){e.disableDragAndDrop?(g.onDrop=function(a){a.preventDefault()},b.on("drop",g.onDrop)):this.attachDragAndDropEvent()},this.attachDragAndDropEvent=function(){var e=$(),i=h.find(".note-dropzone-message");g.onDragenter=function(b){var d=a.invoke("codeview.isActivated"),g=c.width()>0&&c.height()>0;d||e.length||!g||(c.addClass("dragover"),h.width(c.width()),h.height(c.height()),i.text(f.image.dragImageHere)),e=e.add(b.target)},g.onDragleave=function(a){e=e.not(a.target),e.length||c.removeClass("dragover")},g.onDrop=function(){e=$(),c.removeClass("dragover")},b.on("dragenter",g.onDragenter).on("dragleave",g.onDragleave).on("drop",g.onDrop),h.on("dragenter",function(){h.addClass("hover"),i.text(f.image.dropImage)}).on("dragleave",function(){h.removeClass("hover"),i.text(f.image.dragImageHere)}),h.on("drop",function(b){var c=b.originalEvent.dataTransfer;c&&c.files&&c.files.length?(b.preventDefault(),d.focus(),a.invoke("editor.insertImagesOrCallback",c.files)):$.each(c.types,function(b,d){var e=c.getData(d);d.toLowerCase().indexOf("text")>-1?a.invoke("editor.pasteHTML",e):$(e).each(function(){a.invoke("editor.insertNode",this)})})}).on("dragover",!1)},this.destroy=function(){i()}},CodeMirror;agent.hasCodeMirror&&(agent.isSupportAmd?require(["codemirror"],function(a){CodeMirror=a}):CodeMirror=window.CodeMirror);var Codeview=function(a){var b=a.layoutInfo.editor,c=a.layoutInfo.editable,d=a.layoutInfo.codable,e=a.options;this.sync=function(){var a=this.isActivated();a&&agent.hasCodeMirror&&d.data("cmEditor").save()},this.isActivated=function(){return b.hasClass("codeview")},this.toggle=function(){this.isActivated()?this.deactivate():this.activate(),a.triggerEvent("codeview.toggled")},this.activate=function(){if(d.val(dom.html(c,e.prettifyHtml)),d.height(c.height()),a.invoke("toolbar.updateCodeview",!0),b.addClass("codeview"),d.focus(),agent.hasCodeMirror){var f=CodeMirror.fromTextArea(d[0],e.codemirror);if(e.codemirror.tern){var g=new CodeMirror.TernServer(e.codemirror.tern);f.ternServer=g,f.on("cursorActivity",function(a){g.updateArgHints(a)})}f.setSize(null,c.outerHeight()),d.data("cmEditor",f)}},this.deactivate=function(){if(agent.hasCodeMirror){var f=d.data("cmEditor");d.val(f.getValue()),f.toTextArea()}var g=dom.value(d,e.prettifyHtml)||dom.emptyPara,h=c.html()!==g;c.html(g),c.height(e.height?d.height():"auto"),b.removeClass("codeview"),h&&a.triggerEvent("change",c.html(),c),c.focus(),a.invoke("toolbar.updateCodeview",!1)},this.destroy=function(){this.isActivated()&&this.deactivate()}},EDITABLE_PADDING=24,Statusbar=function(a){var b=$(document),c=a.layoutInfo.statusbar,d=a.layoutInfo.editable,e=a.options;this.initialize=function(){e.airMode||e.disableResizeEditor||c.on("mousedown",function(a){a.preventDefault(),a.stopPropagation();var c=d.offset().top-b.scrollTop();b.on("mousemove",function(a){var b=a.clientY-(c+EDITABLE_PADDING);b=e.minheight>0?Math.max(b,e.minheight):b,b=e.maxHeight>0?Math.min(b,e.maxHeight):b,d.height(b)}).one("mouseup",function(){b.off("mousemove")})})},this.destroy=function(){c.off(),c.remove()}},Fullscreen=function(a){var b=a.layoutInfo.editor,c=a.layoutInfo.toolbar,d=a.layoutInfo.editable,e=a.layoutInfo.codable,f=$(window),g=$("html, body");this.toggle=function(){var h=function(a){d.css("height",a.h),e.css("height",a.h),e.data("cmeditor")&&e.data("cmeditor").setsize(null,a.h)};b.toggleClass("fullscreen"),this.isFullscreen()?(d.data("orgHeight",d.css("height")),f.on("resize",function(){h({h:f.height()-c.outerHeight()})}).trigger("resize"),g.css("overflow","hidden")):(f.off("resize"),h({h:d.data("orgHeight")}),g.css("overflow","visible")),a.invoke("toolbar.updateFullscreen",this.isFullscreen())},this.isFullscreen=function(){return b.hasClass("fullscreen")}},Handle=function(a){var b=this,c=$(document),d=a.layoutInfo.editingArea,e=a.options;this.events={"summernote.mousedown":function(a,c){b.update(c.target)&&c.preventDefault()},"summernote.keyup summernote.scroll summernote.change summernote.dialog.shown":function(){b.update()}},this.initialize=function(){this.$handle=$(['<div class="note-handle">','<div class="note-control-selection">','<div class="note-control-selection-bg"></div>','<div class="note-control-holder note-control-nw"></div>','<div class="note-control-holder note-control-ne"></div>','<div class="note-control-holder note-control-sw"></div>','<div class="',e.disableResizeImage?"note-control-holder":"note-control-sizing",' note-control-se"></div>',e.disableResizeImage?"":'<div class="note-control-selection-info"></div>',"</div>","</div>"].join("")).prependTo(d),this.$handle.on("mousedown",function(d){if(dom.isControlSizing(d.target)){d.preventDefault(),d.stopPropagation();var e=b.$handle.find(".note-control-selection").data("target"),f=e.offset(),g=c.scrollTop();c.on("mousemove",function(c){a.invoke("editor.resizeTo",{x:c.clientX-f.left,y:c.clientY-(f.top-g)},e,!c.shiftKey),b.update(e[0])}).one("mouseup",function(b){b.preventDefault(),c.off("mousemove"),a.invoke("editor.afterCommand")}),e.data("ratio")||e.data("ratio",e.height()/e.width())}})},this.destroy=function(){this.$handle.remove()},this.update=function(b){var c=dom.isImg(b),d=this.$handle.find(".note-control-selection");if(a.invoke("imagePopover.update",b),c){var e=$(b),f=e.position(),g={w:e.outerWidth(!0),h:e.outerHeight(!0)};d.css({display:"block",left:f.left,top:f.top,width:g.w,height:g.h}).data("target",e);var h=g.w+"x"+g.h;d.find(".note-control-selection-info").text(h),a.invoke("editor.saveTarget",b)}else this.hide();return c},this.hide=function(){a.invoke("editor.clearTarget"),this.$handle.children().hide()}},AutoLink=function(a){var b=this,c="http://",d=/^([A-Za-z][A-Za-z0-9+-.]*\:[\/\/]?|mailto:[A-Z0-9._%+-]+@)?(www\.)?(.+)$/i;this.events={"summernote.keyup":function(a,c){c.isDefaultPrevented()||b.handleKeyup(c)},"summernote.keydown":function(a,c){b.handleKeydown(c)}},this.initialize=function(){this.lastWordRange=null},this.destroy=function(){this.lastWordRange=null},this.replace=function(){if(this.lastWordRange){var b=this.lastWordRange.toString(),e=b.match(d);if(e&&(e[1]||e[2])){var f=e[1]?b:c+b,g=$("<a />").html(b).attr("href",f)[0];this.lastWordRange.insertNode(g),this.lastWordRange=null,a.invoke("editor.focus")}}},this.handleKeydown=function(b){if(list.contains([key.code.ENTER,key.code.SPACE],b.keyCode)){var c=a.invoke("editor.createRange").getWordRange();this.lastWordRange=c}},this.handleKeyup=function(a){list.contains([key.code.ENTER,key.code.SPACE],a.keyCode)&&this.replace()}},AutoSync=function(a){var b=a.layoutInfo.note;this.events={"summernote.change":function(){b.val(a.invoke("code"))}},this.shouldInitialize=function(){return dom.isTextarea(b[0])}},Placeholder=function(a){var b=this,c=a.layoutInfo.editingArea,d=a.options;this.events={"summernote.init summernote.change":function(){b.update()},"summernote.codeview.toggled":function(){b.update()}},this.shouldInitialize=function(){return!!d.placeholder},this.initialize=function(){this.$placeholder=$('<div class="note-placeholder">'),this.$placeholder.on("click",function(){a.invoke("focus")}).text(d.placeholder).prependTo(c)},this.destroy=function(){this.$placeholder.remove()},this.update=function(){var b=!a.invoke("codeview.isActivated")&&a.invoke("editor.isEmpty");this.$placeholder.toggle(b)}},Buttons=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.toolbar,e=a.options,f=e.langInfo,g=func.invertObject(e.keyMap[agent.isMac?"mac":"pc"]),h=this.representShortcut=function(a){var b=g[a];return e.shortcuts&&b?(agent.isMac&&(b=b.replace("CMD","⌘").replace("SHIFT","⇧")),b=b.replace("BACKSLASH","\\").replace("SLASH","/").replace("LEFTBRACKET","[").replace("RIGHTBRACKET","]")," ("+b+")"):""};this.initialize=function(){this.addToolbarButtons(),this.addImagePopoverButtons(),this.addLinkPopoverButtons(),this.fontInstalledMap={}},this.destroy=function(){delete this.fontInstalledMap},this.isFontInstalled=function(a){return b.fontInstalledMap.hasOwnProperty(a)||(b.fontInstalledMap[a]=agent.isFontInstalled(a)||list.contains(e.fontNamesIgnoreCheck,a)),b.fontInstalledMap[a]},this.addToolbarButtons=function(){a.memo("button.style",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:c.icon(e.icons.magic)+" "+c.icon(e.icons.caret,"span"),tooltip:f.style.style,data:{toggle:"dropdown"}}),c.dropdown({className:"dropdown-style",items:a.options.styleTags,template:function(a){"string"==typeof a&&(a={tag:a,title:f.style.hasOwnProperty(a)?f.style[a]:a});var b=a.tag,c=a.title,d=a.style?' style="'+a.style+'" ':"",e=a.className?' class="'+a.className+'"':"";return"<"+b+d+e+">"+c+"</"+b+">"},click:a.createInvokeHandler("editor.formatBlock")})]).render()}),a.memo("button.bold",function(){return c.button({className:"note-btn-bold",contents:c.icon(e.icons.bold),tooltip:f.font.bold+h("bold"),click:a.createInvokeHandler("editor.bold")}).render()}),a.memo("button.italic",function(){return c.button({className:"note-btn-italic",contents:c.icon(e.icons.italic),tooltip:f.font.italic+h("italic"),click:a.createInvokeHandler("editor.italic")}).render()}),a.memo("button.underline",function(){return c.button({className:"note-btn-underline",contents:c.icon(e.icons.underline),tooltip:f.font.underline+h("underline"),click:a.createInvokeHandler("editor.underline")}).render()}),a.memo("button.clear",function(){return c.button({contents:c.icon(e.icons.eraser),tooltip:f.font.clear+h("removeFormat"),click:a.createInvokeHandler("editor.removeFormat")}).render()}),a.memo("button.strikethrough",function(){return c.button({className:"note-btn-strikethrough",contents:c.icon(e.icons.strikethrough),tooltip:f.font.strikethrough+h("strikethrough"),click:a.createInvokeHandler("editor.strikethrough")}).render()}),a.memo("button.superscript",function(){return c.button({className:"note-btn-superscript",contents:c.icon(e.icons.superscript),tooltip:f.font.superscript,click:a.createInvokeHandler("editor.superscript")}).render()}),a.memo("button.subscript",function(){return c.button({className:"note-btn-subscript",contents:c.icon(e.icons.subscript),tooltip:f.font.subscript,click:a.createInvokeHandler("editor.subscript")}).render()}),a.memo("button.fontname",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:'<span class="note-current-fontname"/> '+c.icon(e.icons.caret,"span"),tooltip:f.font.name,data:{toggle:"dropdown"}}),c.dropdownCheck({className:"dropdown-fontname",checkClassName:e.icons.menuCheck,items:e.fontNames.filter(b.isFontInstalled),template:function(a){return'<span style="font-family:'+a+'">'+a+"</span>"},click:a.createInvokeHandler("editor.fontName")})]).render()}),a.memo("button.fontsize",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:'<span class="note-current-fontsize"/>'+c.icon(e.icons.caret,"span"),tooltip:f.font.size,data:{toggle:"dropdown"}}),c.dropdownCheck({className:"dropdown-fontsize",checkClassName:e.icons.menuCheck,items:e.fontSizes,click:a.createInvokeHandler("editor.fontSize")})]).render()}),a.memo("button.color",function(){return c.buttonGroup({className:"note-color",children:[c.button({className:"note-current-color-button",contents:c.icon(e.icons.font+" note-recent-color"),tooltip:f.color.recent,click:function(b){var c=$(b.currentTarget);a.invoke("editor.color",{backColor:c.attr("data-backColor"),foreColor:c.attr("data-foreColor")})},callback:function(a){var b=a.find(".note-recent-color");b.css("background-color","#FFFF00"),a.attr("data-backColor","#FFFF00")}}),c.button({className:"dropdown-toggle",contents:c.icon(e.icons.caret,"span"),tooltip:f.color.more,data:{toggle:"dropdown"}}),c.dropdown({items:["<li>",'<div class="btn-group">',' <div class="note-palette-title">'+f.color.background+"</div>"," <div>",' <button type="button" class="note-color-reset btn btn-default" data-event="backColor" data-value="inherit">',f.color.transparent," </button>"," </div>",' <div class="note-holder" data-event="backColor"/>',"</div>",'<div class="btn-group">',' <div class="note-palette-title">'+f.color.foreground+"</div>"," <div>",' <button type="button" class="note-color-reset btn btn-default" data-event="removeFormat" data-value="foreColor">',f.color.resetToDefault," </button>"," </div>",' <div class="note-holder" data-event="foreColor"/>',"</div>","</li>"].join(""),callback:function(a){a.find(".note-holder").each(function(){var a=$(this);a.append(c.palette({colors:e.colors,eventName:a.data("event")}).render())})},click:function(b){var c=$(b.target),d=c.data("event"),e=c.data("value");if(d&&e){var f="backColor"===d?"background-color":"color",g=c.closest(".note-color").find(".note-recent-color"),h=c.closest(".note-color").find(".note-current-color-button");g.css(f,e),h.attr("data-"+d,e),a.invoke("editor."+d,e)}}})]}).render()}),a.memo("button.ul",function(){return c.button({contents:c.icon(e.icons.unorderedlist),tooltip:f.lists.unordered+h("insertUnorderedList"),click:a.createInvokeHandler("editor.insertUnorderedList")}).render()}),a.memo("button.ol",function(){return c.button({contents:c.icon(e.icons.orderedlist),tooltip:f.lists.ordered+h("insertOrderedList"),click:a.createInvokeHandler("editor.insertOrderedList")}).render()});var d=c.button({contents:c.icon(e.icons.alignLeft),tooltip:f.paragraph.left+h("justifyLeft"),click:a.createInvokeHandler("editor.justifyLeft")}),g=c.button({contents:c.icon(e.icons.alignCenter),tooltip:f.paragraph.center+h("justifyCenter"),click:a.createInvokeHandler("editor.justifyCenter")}),i=c.button({contents:c.icon(e.icons.alignRight),tooltip:f.paragraph.right+h("justifyRight"),click:a.createInvokeHandler("editor.justifyRight")}),j=c.button({contents:c.icon(e.icons.alignJustify),tooltip:f.paragraph.justify+h("justifyFull"),click:a.createInvokeHandler("editor.justifyFull")}),k=c.button({contents:c.icon(e.icons.outdent),tooltip:f.paragraph.outdent+h("outdent"),click:a.createInvokeHandler("editor.outdent")}),l=c.button({contents:c.icon(e.icons.indent),tooltip:f.paragraph.indent+h("indent"),click:a.createInvokeHandler("editor.indent")});a.memo("button.justifyLeft",func.invoke(d,"render")),a.memo("button.justifyCenter",func.invoke(g,"render")),a.memo("button.justifyRight",func.invoke(i,"render")),a.memo("button.justifyFull",func.invoke(j,"render")),a.memo("button.outdent",func.invoke(k,"render")),a.memo("button.indent",func.invoke(l,"render")),a.memo("button.paragraph",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:c.icon(e.icons.alignLeft)+" "+c.icon(e.icons.caret,"span"),tooltip:f.paragraph.paragraph,data:{toggle:"dropdown"}}),c.dropdown([c.buttonGroup({className:"note-align",children:[d,g,i,j] | ||
| 4 | +}),c.buttonGroup({className:"note-list",children:[k,l]})])]).render()}),a.memo("button.height",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:c.icon(e.icons.textHeight)+" "+c.icon(e.icons.caret,"span"),tooltip:f.font.height,data:{toggle:"dropdown"}}),c.dropdownCheck({items:e.lineHeights,checkClassName:e.icons.menuCheck,className:"dropdown-line-height",click:a.createInvokeHandler("editor.lineHeight")})]).render()}),a.memo("button.table",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:c.icon(e.icons.table)+" "+c.icon(e.icons.caret,"span"),tooltip:f.table.table,data:{toggle:"dropdown"}}),c.dropdown({className:"note-table",items:['<div class="note-dimension-picker">',' <div class="note-dimension-picker-mousecatcher" data-event="insertTable" data-value="1x1"/>',' <div class="note-dimension-picker-highlighted"/>',' <div class="note-dimension-picker-unhighlighted"/>',"</div>",'<div class="note-dimension-display">1 x 1</div>'].join("")})],{callback:function(c){var d=c.find(".note-dimension-picker-mousecatcher");d.css({width:e.insertTableMaxSize.col+"em",height:e.insertTableMaxSize.row+"em"}).mousedown(a.createInvokeHandler("editor.insertTable")).on("mousemove",b.tableMoveHandler)}}).render()}),a.memo("button.link",function(){return c.button({contents:c.icon(e.icons.link),tooltip:f.link.link+h("linkDialog.show"),click:a.createInvokeHandler("linkDialog.show")}).render()}),a.memo("button.picture",function(){return c.button({contents:c.icon(e.icons.picture),tooltip:f.image.image,click:a.createInvokeHandler("imageDialog.show")}).render()}),a.memo("button.video",function(){return c.button({contents:c.icon(e.icons.video),tooltip:f.video.video,click:a.createInvokeHandler("videoDialog.show")}).render()}),a.memo("button.hr",function(){return c.button({contents:c.icon(e.icons.minus),tooltip:f.hr.insert+h("insertHorizontalRule"),click:a.createInvokeHandler("editor.insertHorizontalRule")}).render()}),a.memo("button.fullscreen",function(){return c.button({className:"btn-fullscreen",contents:c.icon(e.icons.arrowsAlt),tooltip:f.options.fullscreen,click:a.createInvokeHandler("fullscreen.toggle")}).render()}),a.memo("button.codeview",function(){return c.button({className:"btn-codeview",contents:c.icon(e.icons.code),tooltip:f.options.codeview,click:a.createInvokeHandler("codeview.toggle")}).render()}),a.memo("button.redo",function(){return c.button({contents:c.icon(e.icons.redo),tooltip:f.history.redo+h("redo"),click:a.createInvokeHandler("editor.redo")}).render()}),a.memo("button.undo",function(){return c.button({contents:c.icon(e.icons.undo),tooltip:f.history.undo+h("undo"),click:a.createInvokeHandler("editor.undo")}).render()}),a.memo("button.help",function(){return c.button({contents:c.icon(e.icons.question),tooltip:f.options.help,click:a.createInvokeHandler("helpDialog.show")}).render()})},this.addImagePopoverButtons=function(){a.memo("button.imageSize100",function(){return c.button({contents:'<span class="note-fontsize-10">100%</span>',tooltip:f.image.resizeFull,click:a.createInvokeHandler("editor.resize","1")}).render()}),a.memo("button.imageSize50",function(){return c.button({contents:'<span class="note-fontsize-10">50%</span>',tooltip:f.image.resizeHalf,click:a.createInvokeHandler("editor.resize","0.5")}).render()}),a.memo("button.imageSize25",function(){return c.button({contents:'<span class="note-fontsize-10">25%</span>',tooltip:f.image.resizeQuarter,click:a.createInvokeHandler("editor.resize","0.25")}).render()}),a.memo("button.floatLeft",function(){return c.button({contents:c.icon(e.icons.alignLeft),tooltip:f.image.floatLeft,click:a.createInvokeHandler("editor.floatMe","left")}).render()}),a.memo("button.floatRight",function(){return c.button({contents:c.icon(e.icons.alignRight),tooltip:f.image.floatRight,click:a.createInvokeHandler("editor.floatMe","right")}).render()}),a.memo("button.floatNone",function(){return c.button({contents:c.icon(e.icons.alignJustify),tooltip:f.image.floatNone,click:a.createInvokeHandler("editor.floatMe","none")}).render()}),a.memo("button.removeMedia",function(){return c.button({contents:c.icon(e.icons.trash),tooltip:f.image.remove,click:a.createInvokeHandler("editor.removeMedia")}).render()})},this.addLinkPopoverButtons=function(){a.memo("button.linkDialogShow",function(){return c.button({contents:c.icon(e.icons.link),tooltip:f.link.edit,click:a.createInvokeHandler("linkDialog.show")}).render()}),a.memo("button.unlink",function(){return c.button({contents:c.icon(e.icons.unlink),tooltip:f.link.unlink,click:a.createInvokeHandler("editor.unlink")}).render()})},this.build=function(b,d){for(var e=0,f=d.length;f>e;e++){for(var g=d[e],h=g[0],i=g[1],j=c.buttonGroup({className:"note-"+h}).render(),k=0,l=i.length;l>k;k++){var m=a.memo("button."+i[k]);m&&j.append("function"==typeof m?m(a):m)}j.appendTo(b)}},this.updateCurrentStyle=function(){var c=a.invoke("editor.currentStyle");if(this.updateBtnStates({".note-btn-bold":function(){return"bold"===c["font-bold"]},".note-btn-italic":function(){return"italic"===c["font-italic"]},".note-btn-underline":function(){return"underline"===c["font-underline"]},".note-btn-subscript":function(){return"subscript"===c["font-subscript"]},".note-btn-superscript":function(){return"superscript"===c["font-superscript"]},".note-btn-strikethrough":function(){return"strikethrough"===c["font-strikethrough"]}}),c["font-family"]){var e=c["font-family"].split(",").map(function(a){return a.replace(/[\'\"]/g,"").replace(/\s+$/,"").replace(/^\s+/,"")}),f=list.find(e,b.isFontInstalled);d.find(".dropdown-fontname li a").each(function(){var a=$(this).data("value")+""==f+"";this.className=a?"checked":""}),d.find(".note-current-fontname").text(f)}if(c["font-size"]){var g=c["font-size"];d.find(".dropdown-fontsize li a").each(function(){var a=$(this).data("value")+""==g+"";this.className=a?"checked":""}),d.find(".note-current-fontsize").text(g)}if(c["line-height"]){var h=c["line-height"];d.find(".dropdown-line-height li a").each(function(){var a=$(this).data("value")+""==h+"";this.className=a?"checked":""})}},this.updateBtnStates=function(a){$.each(a,function(a,b){c.toggleBtnActive(d.find(a),b())})},this.tableMoveHandler=function(a){var b,c=18,d=$(a.target.parentNode),f=d.next(),g=d.find(".note-dimension-picker-mousecatcher"),h=d.find(".note-dimension-picker-highlighted"),i=d.find(".note-dimension-picker-unhighlighted");if(void 0===a.offsetX){var j=$(a.target).offset();b={x:a.pageX-j.left,y:a.pageY-j.top}}else b={x:a.offsetX,y:a.offsetY};var k={c:Math.ceil(b.x/c)||1,r:Math.ceil(b.y/c)||1};h.css({width:k.c+"em",height:k.r+"em"}),g.data("value",k.c+"x"+k.r),3<k.c&&k.c<e.insertTableMaxSize.col&&i.css({width:k.c+1+"em"}),3<k.r&&k.r<e.insertTableMaxSize.row&&i.css({height:k.r+1+"em"}),f.html(k.c+" x "+k.r)}},Toolbar=function(a){var b=$.summernote.ui,c=a.layoutInfo.note,d=a.layoutInfo.toolbar,e=a.options;this.shouldInitialize=function(){return!e.airMode},this.initialize=function(){e.toolbar=e.toolbar||[],e.toolbar.length?a.invoke("buttons.build",d,e.toolbar):d.hide(),e.toolbarContainer&&d.appendTo(e.toolbarContainer),c.on("summernote.keyup summernote.mouseup summernote.change",function(){a.invoke("buttons.updateCurrentStyle")}),a.invoke("buttons.updateCurrentStyle")},this.destroy=function(){d.children().remove()},this.updateFullscreen=function(a){b.toggleBtnActive(d.find(".btn-fullscreen"),a)},this.updateCodeview=function(a){b.toggleBtnActive(d.find(".btn-codeview"),a),a?this.deactivate():this.activate()},this.activate=function(a){var c=d.find("button");a||(c=c.not(".btn-codeview")),b.toggleBtn(c,!0)},this.deactivate=function(a){var c=d.find("button");a||(c=c.not(".btn-codeview")),b.toggleBtn(c,!1)}},LinkDialog=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.editor,e=a.options,f=e.langInfo;this.initialize=function(){var a=e.dialogsInBody?$(document.body):d,b='<div class="form-group"><label>'+f.link.textToDisplay+'</label><input class="note-link-text form-control" type="text" /></div><div class="form-group"><label>'+f.link.url+'</label><input class="note-link-url form-control" type="text" value="http://" /></div>'+(e.disableLinkTarget?"":'<div class="checkbox"><label><input type="checkbox" checked> '+f.link.openInNewWindow+"</label></div>"),g='<button href="#" class="btn btn-primary note-link-btn disabled" disabled>'+f.link.insert+"</button>";this.$dialog=c.dialog({className:"link-dialog",title:f.link.insert,fade:e.dialogsFade,body:b,footer:g}).render().appendTo(a)},this.destroy=function(){c.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(a,b){a.on("keypress",function(a){a.keyCode===key.code.ENTER&&b.trigger("click")})},this.toggleLinkBtn=function(a,b,d){c.toggleBtn(a,b.val()&&d.val())},this.showLinkDialog=function(d){return $.Deferred(function(e){var f=b.$dialog.find(".note-link-text"),g=b.$dialog.find(".note-link-url"),h=b.$dialog.find(".note-link-btn"),i=b.$dialog.find("input[type=checkbox]");c.onDialogShown(b.$dialog,function(){a.triggerEvent("dialog.shown"),d.url||(d.url=d.text),f.val(d.text);var c=function(){b.toggleLinkBtn(h,f,g),d.text=f.val()};f.on("input",c).on("paste",function(){setTimeout(c,0)});var j=function(){b.toggleLinkBtn(h,f,g),d.text||f.val(g.val())};g.on("input",j).on("paste",function(){setTimeout(j,0)}).val(d.url).trigger("focus"),b.toggleLinkBtn(h,f,g),b.bindEnterKey(g,h),b.bindEnterKey(f,h),i.prop("checked",d.isNewWindow),h.one("click",function(a){a.preventDefault(),e.resolve({range:d.range,url:g.val(),text:f.val(),isNewWindow:i.is(":checked")}),b.$dialog.modal("hide")})}),c.onDialogHidden(b.$dialog,function(){f.off("input paste keypress"),g.off("input paste keypress"),h.off("click"),"pending"===e.state()&&e.reject()}),c.showDialog(b.$dialog)}).promise()},this.show=function(){var b=a.invoke("editor.getLinkInfo");a.invoke("editor.saveRange"),this.showLinkDialog(b).then(function(b){a.invoke("editor.restoreRange"),a.invoke("editor.createLink",b)}).fail(function(){a.invoke("editor.restoreRange")})},a.memo("help.linkDialog.show",e.langInfo.help["linkDialog.show"])},LinkPopover=function(a){var b=this,c=$.summernote.ui,d=a.options;this.events={"summernote.keyup summernote.mouseup summernote.change summernote.scroll":function(){b.update()},"summernote.dialog.shown":function(){b.hide()}},this.shouldInitialize=function(){return!list.isEmpty(d.popover.link)},this.initialize=function(){this.$popover=c.popover({className:"note-link-popover",callback:function(a){var b=a.find(".popover-content");b.prepend('<span><a target="_blank"></a> </span>')}}).render().appendTo("body");var b=this.$popover.find(".popover-content");a.invoke("buttons.build",b,d.popover.link)},this.destroy=function(){this.$popover.remove()},this.update=function(){if(!a.invoke("editor.hasFocus"))return void this.hide();var b=a.invoke("editor.createRange");if(b.isCollapsed()&&b.isOnAnchor()){var c=dom.ancestor(b.sc,dom.isAnchor),d=$(c).attr("href");this.$popover.find("a").attr("href",d).html(d);var e=dom.posFromPlaceholder(c);this.$popover.css({display:"block",left:e.left,top:e.top})}else this.hide()},this.hide=function(){this.$popover.hide()}},ImageDialog=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.editor,e=a.options,f=e.langInfo;this.initialize=function(){var a=e.dialogsInBody?$(document.body):d,b="";if(e.maximumImageFileSize){var g=Math.floor(Math.log(e.maximumImageFileSize)/Math.log(1024)),h=1*(e.maximumImageFileSize/Math.pow(1024,g)).toFixed(2)+" "+" KMGTP"[g]+"B";b="<small>"+f.image.maximumFileSize+" : "+h+"</small>"}var i='<div class="form-group note-group-select-from-files"><label>'+f.image.selectFromFiles+'</label><input class="note-image-input form-control" type="file" name="files" accept="image/*" multiple="multiple" />'+b+'</div><div class="form-group note-group-image-url" style="overflow:auto;"><label>'+f.image.url+'</label><input class="note-image-url form-control col-md-12" type="text" /></div>',j='<button href="#" class="btn btn-primary note-image-btn disabled" disabled>'+f.image.insert+"</button>";this.$dialog=c.dialog({title:f.image.insert,fade:e.dialogsFade,body:i,footer:j}).render().appendTo(a)},this.destroy=function(){c.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(a,b){a.on("keypress",function(a){a.keyCode===key.code.ENTER&&b.trigger("click")})},this.show=function(){a.invoke("editor.saveRange"),this.showImageDialog().then(function(d){c.hideDialog(b.$dialog),a.invoke("editor.restoreRange"),"string"==typeof d?a.invoke("editor.insertImage",d):a.invoke("editor.insertImagesOrCallback",d)}).fail(function(){a.invoke("editor.restoreRange")})},this.showImageDialog=function(){return $.Deferred(function(d){var e=b.$dialog.find(".note-image-input"),f=b.$dialog.find(".note-image-url"),g=b.$dialog.find(".note-image-btn");c.onDialogShown(b.$dialog,function(){a.triggerEvent("dialog.shown"),e.replaceWith(e.clone().on("change",function(){d.resolve(this.files||this.value)}).val("")),g.click(function(a){a.preventDefault(),d.resolve(f.val())}),f.on("keyup paste",function(){var a=f.val();c.toggleBtn(g,a)}).val("").trigger("focus"),b.bindEnterKey(f,g)}),c.onDialogHidden(b.$dialog,function(){e.off("change"),f.off("keyup paste keypress"),g.off("click"),"pending"===d.state()&&d.reject()}),c.showDialog(b.$dialog)})}},ImagePopover=function(a){var b=$.summernote.ui,c=a.options;this.shouldInitialize=function(){return!list.isEmpty(c.popover.image)},this.initialize=function(){this.$popover=b.popover({className:"note-image-popover"}).render().appendTo("body");var d=this.$popover.find(".popover-content");a.invoke("buttons.build",d,c.popover.image)},this.destroy=function(){this.$popover.remove()},this.update=function(a){if(dom.isImg(a)){var b=dom.posFromPlaceholder(a);this.$popover.css({display:"block",left:b.left,top:b.top})}else this.hide()},this.hide=function(){this.$popover.hide()}},VideoDialog=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.editor,e=a.options,f=e.langInfo;this.initialize=function(){var a=e.dialogsInBody?$(document.body):d,b='<div class="form-group row-fluid"><label>'+f.video.url+' <small class="text-muted">'+f.video.providers+'</small></label><input class="note-video-url form-control span12" type="text" /></div>',g='<button href="#" class="btn btn-primary note-video-btn disabled" disabled>'+f.video.insert+"</button>";this.$dialog=c.dialog({title:f.video.insert,fade:e.dialogsFade,body:b,footer:g}).render().appendTo(a)},this.destroy=function(){c.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(a,b){a.on("keypress",function(a){a.keyCode===key.code.ENTER&&b.trigger("click")})},this.createVideoNode=function(a){var b,c=/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/,d=a.match(c),e=/(?:www\.|\/\/)instagram\.com\/p\/(.[a-zA-Z0-9_-]*)/,f=a.match(e),g=/\/\/vine\.co\/v\/([a-zA-Z0-9]+)/,h=a.match(g),i=/\/\/(player\.)?vimeo\.com\/([a-z]*\/)*([0-9]{6,11})[?]?.*/,j=a.match(i),k=/.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/,l=a.match(k),m=/\/\/v\.youku\.com\/v_show\/id_(\w+)=*\.html/,n=a.match(m),o=/^.+.(mp4|m4v)$/,p=a.match(o),q=/^.+.(ogg|ogv)$/,r=a.match(q),s=/^.+.(webm)$/,t=a.match(s);if(d&&11===d[1].length){var u=d[1];b=$("<iframe>").attr("frameborder",0).attr("src","//www.youtube.com/embed/"+u).attr("width","640").attr("height","360")}else if(f&&f[0].length)b=$("<iframe>").attr("frameborder",0).attr("src","https://instagram.com/p/"+f[1]+"/embed/").attr("width","612").attr("height","710").attr("scrolling","no").attr("allowtransparency","true");else if(h&&h[0].length)b=$("<iframe>").attr("frameborder",0).attr("src",h[0]+"/embed/simple").attr("width","600").attr("height","600").attr("class","vine-embed");else if(j&&j[3].length)b=$("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("src","//player.vimeo.com/video/"+j[3]).attr("width","640").attr("height","360");else if(l&&l[2].length)b=$("<iframe>").attr("frameborder",0).attr("src","//www.dailymotion.com/embed/video/"+l[2]).attr("width","640").attr("height","360");else if(n&&n[1].length)b=$("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("height","498").attr("width","510").attr("src","//player.youku.com/embed/"+n[1]);else{if(!(p||r||t))return!1;b=$("<video controls>").attr("src",a).attr("width","640").attr("height","360")}return b.addClass("note-video-clip"),b[0]},this.show=function(){var d=a.invoke("editor.getSelectedText");a.invoke("editor.saveRange"),this.showVideoDialog(d).then(function(d){c.hideDialog(b.$dialog),a.invoke("editor.restoreRange");var e=b.createVideoNode(d);e&&a.invoke("editor.insertNode",e)}).fail(function(){a.invoke("editor.restoreRange")})},this.showVideoDialog=function(d){return $.Deferred(function(e){var f=b.$dialog.find(".note-video-url"),g=b.$dialog.find(".note-video-btn");c.onDialogShown(b.$dialog,function(){a.triggerEvent("dialog.shown"),f.val(d).on("input",function(){c.toggleBtn(g,f.val())}).trigger("focus"),g.click(function(a){a.preventDefault(),e.resolve(f.val())}),b.bindEnterKey(f,g)}),c.onDialogHidden(b.$dialog,function(){f.off("input"),g.off("click"),"pending"===e.state()&&e.reject()}),c.showDialog(b.$dialog)})}},HelpDialog=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.editor,e=a.options,f=e.langInfo;this.createShortCutList=function(){var b=e.keyMap[agent.isMac?"mac":"pc"];return Object.keys(b).map(function(c){var d=b[c],e=$('<div><div class="help-list-item"/></div>');return e.append($("<label><kbd>"+c+"</kdb></label>").css({width:180,"margin-right":10})).append($("<span/>").html(a.memo("help."+d)||d)),e.html()}).join("")},this.initialize=function(){var a=e.dialogsInBody?$(document.body):d,b=['<p class="text-center">','<a href="http://summernote.org/" target="_blank">Summernote 0.8.2</a> · ','<a href="https://github.com/summernote/summernote" target="_blank">Project</a> · ','<a href="https://github.com/summernote/summernote/issues" target="_blank">Issues</a>',"</p>"].join("");this.$dialog=c.dialog({title:f.options.help,fade:e.dialogsFade,body:this.createShortCutList(),footer:b,callback:function(a){a.find(".modal-body").css({"max-height":300,overflow:"scroll"})}}).render().appendTo(a)},this.destroy=function(){c.hideDialog(this.$dialog),this.$dialog.remove()},this.showHelpDialog=function(){return $.Deferred(function(d){c.onDialogShown(b.$dialog,function(){a.triggerEvent("dialog.shown"),d.resolve()}),c.showDialog(b.$dialog)}).promise()},this.show=function(){a.invoke("editor.saveRange"),this.showHelpDialog().then(function(){a.invoke("editor.restoreRange")})}},AirPopover=function(a){var b=this,c=$.summernote.ui,d=a.options,e=20;this.events={"summernote.keyup summernote.mouseup summernote.scroll":function(){b.update()},"summernote.change summernote.dialog.shown":function(){b.hide()},"summernote.focusout":function(a,c){agent.isFF||c.relatedTarget&&dom.ancestor(c.relatedTarget,func.eq(b.$popover[0]))||b.hide()}},this.shouldInitialize=function(){return d.airMode&&!list.isEmpty(d.popover.air)},this.initialize=function(){this.$popover=c.popover({className:"note-air-popover"}).render().appendTo("body");var b=this.$popover.find(".popover-content");a.invoke("buttons.build",b,d.popover.air)},this.destroy=function(){this.$popover.remove()},this.update=function(){var b=a.invoke("editor.currentStyle");if(b.range&&!b.range.isCollapsed()){var c=list.last(b.range.getClientRects());if(c){var d=func.rect2bnd(c);this.$popover.css({display:"block",left:Math.max(d.left+d.width/2,0)-e,top:d.top+d.height})}}else this.hide()},this.hide=function(){this.$popover.hide()}},HintPopover=function(a){var b=this,c=$.summernote.ui,d=5,e=a.options.hint||[],f=a.options.hintDirection||"bottom",g=$.isArray(e)?e:[e];this.events={"summernote.keyup":function(a,c){c.isDefaultPrevented()||b.handleKeyup(c)},"summernote.keydown":function(a,c){b.handleKeydown(c)},"summernote.dialog.shown":function(){b.hide()}},this.shouldInitialize=function(){return g.length>0},this.initialize=function(){this.lastWordRange=null,this.$popover=c.popover({className:"note-hint-popover",hideArrow:!0,direction:""}).render().appendTo("body"),this.$popover.hide(),this.$content=this.$popover.find(".popover-content"),this.$content.on("click",".note-hint-item",function(){b.$content.find(".active").removeClass("active"),$(this).addClass("active"),b.replace()})},this.destroy=function(){this.$popover.remove()},this.selectItem=function(a){this.$content.find(".active").removeClass("active"),a.addClass("active"),this.$content[0].scrollTop=a[0].offsetTop-this.$content.innerHeight()/2},this.moveDown=function(){var a=this.$content.find(".note-hint-item.active"),b=a.next();if(b.length)this.selectItem(b);else{var c=a.parent().next();c.length||(c=this.$content.find(".note-hint-group").first()),this.selectItem(c.find(".note-hint-item").first())}},this.moveUp=function(){var a=this.$content.find(".note-hint-item.active"),b=a.prev();if(b.length)this.selectItem(b);else{var c=a.parent().prev();c.length||(c=this.$content.find(".note-hint-group").last()),this.selectItem(c.find(".note-hint-item").last())}},this.replace=function(){var b=this.$content.find(".note-hint-item.active");if(b.length){var c=this.nodeFromItem(b);this.lastWordRange.insertNode(c),range.createFromNode(c).collapse().select(),this.lastWordRange=null,this.hide(),a.invoke("editor.focus")}},this.nodeFromItem=function(a){var b=g[a.data("index")],c=a.data("item"),d=b.content?b.content(c):c;return"string"==typeof d&&(d=dom.createText(d)),d},this.createItemTemplates=function(a,b){var c=g[a];return b.map(function(b,d){var e=$('<div class="note-hint-item"/>');return e.append(c.template?c.template(b):b+""),e.data({index:a,item:b}),0===a&&0===d&&e.addClass("active"),e})},this.handleKeydown=function(a){this.$popover.is(":visible")&&(a.keyCode===key.code.ENTER?(a.preventDefault(),this.replace()):a.keyCode===key.code.UP?(a.preventDefault(),this.moveUp()):a.keyCode===key.code.DOWN&&(a.preventDefault(),this.moveDown()))},this.searchKeyword=function(a,b,c){var d=g[a];if(d&&d.match.test(b)&&d.search){var e=d.match.exec(b);d.search(e[1],c)}else c()},this.createGroup=function(a,c){var d=$('<div class="note-hint-group note-hint-group-'+a+'"/>');return this.searchKeyword(a,c,function(c){c=c||[],c.length&&(d.html(b.createItemTemplates(a,c)),b.show())}),d},this.handleKeyup=function(c){if(list.contains([key.code.ENTER,key.code.UP,key.code.DOWN],c.keyCode)){if(c.keyCode===key.code.ENTER&&this.$popover.is(":visible"))return}else{var e=a.invoke("editor.createRange").getWordRange(),h=e.toString();if(g.length&&h){this.$content.empty();var i=func.rect2bnd(list.last(e.getClientRects()));i&&(this.$popover.hide(),this.lastWordRange=e,g.forEach(function(a,c){a.match.test(h)&&b.createGroup(c,h).appendTo(b.$content)}),"top"===f?this.$popover.css({left:i.left,top:i.top-this.$popover.outerHeight()-d}):this.$popover.css({left:i.left,top:i.top+i.height+d}))}else this.hide()}},this.show=function(){this.$popover.show()},this.hide=function(){this.$popover.hide()}};$.summernote=$.extend($.summernote,{version:"0.8.2",ui:ui,dom:dom,plugins:{},options:{modules:{editor:Editor,clipboard:Clipboard,dropzone:Dropzone,codeview:Codeview,statusbar:Statusbar,fullscreen:Fullscreen,handle:Handle,hintPopover:HintPopover,autoLink:AutoLink,autoSync:AutoSync,placeholder:Placeholder,buttons:Buttons,toolbar:Toolbar,linkDialog:LinkDialog,linkPopover:LinkPopover,imageDialog:ImageDialog,imagePopover:ImagePopover,videoDialog:VideoDialog,helpDialog:HelpDialog,airPopover:AirPopover},buttons:{},lang:"en-US",toolbar:[["style",["style"]],["font",["bold","underline","clear"]],["fontname",["fontname"]],["color",["color"]],["para",["ul","ol","paragraph"]],["table",["table"]],["insert",["link","picture","video"]],["view",["fullscreen","codeview","help"]]],popover:{image:[["imagesize",["imageSize100","imageSize50","imageSize25"]],["float",["floatLeft","floatRight","floatNone"]],["remove",["removeMedia"]]],link:[["link",["linkDialogShow","unlink"]]],air:[["color",["color"]],["font",["bold","underline","clear"]],["para",["ul","paragraph"]],["table",["table"]],["insert",["link","picture"]]]},airMode:!1,width:null,height:null,focus:!1,tabSize:4,styleWithSpan:!0,shortcuts:!0,textareaAutoSync:!0,direction:null,styleTags:["p","blockquote","pre","h1","h2","h3","h4","h5","h6"],fontNames:["Arial","Arial Black","Comic Sans MS","Courier New","Helvetica Neue","Helvetica","Impact","Lucida Grande","Tahoma","Times New Roman","Verdana"],fontSizes:["8","9","10","11","12","14","18","24","36"],colors:[["#000000","#424242","#636363","#9C9C94","#CEC6CE","#EFEFEF","#F7F7F7","#FFFFFF"],["#FF0000","#FF9C00","#FFFF00","#00FF00","#00FFFF","#0000FF","#9C00FF","#FF00FF"],["#F7C6CE","#FFE7CE","#FFEFC6","#D6EFD6","#CEDEE7","#CEE7F7","#D6D6E7","#E7D6DE"],["#E79C9C","#FFC69C","#FFE79C","#B5D6A5","#A5C6CE","#9CC6EF","#B5A5D6","#D6A5BD"],["#E76363","#F7AD6B","#FFD663","#94BD7B","#73A5AD","#6BADDE","#8C7BC6","#C67BA5"],["#CE0000","#E79439","#EFC631","#6BA54A","#4A7B8C","#3984C6","#634AA5","#A54A7B"],["#9C0000","#B56308","#BD9400","#397B21","#104A5A","#085294","#311873","#731842"],["#630000","#7B3900","#846300","#295218","#083139","#003163","#21104A","#4A1031"]],lineHeights:["1.0","1.2","1.4","1.5","1.6","1.8","2.0","3.0"],tableClassName:"table table-bordered",insertTableMaxSize:{col:10,row:10},dialogsInBody:!1,dialogsFade:!1,maximumImageFileSize:null,callbacks:{onInit:null,onFocus:null,onBlur:null,onEnter:null,onKeyup:null,onKeydown:null,onImageUpload:null,onImageUploadError:null},codemirror:{mode:"text/html",htmlMode:!0,lineNumbers:!0},keyMap:{pc:{ENTER:"insertParagraph","CTRL+Z":"undo","CTRL+Y":"redo",TAB:"tab","SHIFT+TAB":"untab","CTRL+B":"bold","CTRL+I":"italic","CTRL+U":"underline","CTRL+SHIFT+S":"strikethrough","CTRL+BACKSLASH":"removeFormat","CTRL+SHIFT+L":"justifyLeft","CTRL+SHIFT+E":"justifyCenter","CTRL+SHIFT+R":"justifyRight","CTRL+SHIFT+J":"justifyFull","CTRL+SHIFT+NUM7":"insertUnorderedList","CTRL+SHIFT+NUM8":"insertOrderedList","CTRL+LEFTBRACKET":"outdent","CTRL+RIGHTBRACKET":"indent","CTRL+NUM0":"formatPara","CTRL+NUM1":"formatH1","CTRL+NUM2":"formatH2","CTRL+NUM3":"formatH3","CTRL+NUM4":"formatH4","CTRL+NUM5":"formatH5","CTRL+NUM6":"formatH6","CTRL+ENTER":"insertHorizontalRule","CTRL+K":"linkDialog.show"},mac:{ENTER:"insertParagraph","CMD+Z":"undo","CMD+SHIFT+Z":"redo",TAB:"tab","SHIFT+TAB":"untab","CMD+B":"bold","CMD+I":"italic","CMD+U":"underline","CMD+SHIFT+S":"strikethrough","CMD+BACKSLASH":"removeFormat","CMD+SHIFT+L":"justifyLeft","CMD+SHIFT+E":"justifyCenter","CMD+SHIFT+R":"justifyRight","CMD+SHIFT+J":"justifyFull","CMD+SHIFT+NUM7":"insertUnorderedList","CMD+SHIFT+NUM8":"insertOrderedList","CMD+LEFTBRACKET":"outdent","CMD+RIGHTBRACKET":"indent","CMD+NUM0":"formatPara","CMD+NUM1":"formatH1","CMD+NUM2":"formatH2","CMD+NUM3":"formatH3","CMD+NUM4":"formatH4","CMD+NUM5":"formatH5","CMD+NUM6":"formatH6","CMD+ENTER":"insertHorizontalRule","CMD+K":"linkDialog.show"}},icons:{align:"note-icon-align",alignCenter:"note-icon-align-center",alignJustify:"note-icon-align-justify",alignLeft:"note-icon-align-left",alignRight:"note-icon-align-right",indent:"note-icon-align-indent",outdent:"note-icon-align-outdent",arrowsAlt:"note-icon-arrows-alt",bold:"note-icon-bold",caret:"note-icon-caret",circle:"note-icon-circle",close:"note-icon-close",code:"note-icon-code",eraser:"note-icon-eraser",font:"note-icon-font",frame:"note-icon-frame",italic:"note-icon-italic",link:"note-icon-link",unlink:"note-icon-chain-broken",magic:"note-icon-magic",menuCheck:"note-icon-check",minus:"note-icon-minus",orderedlist:"note-icon-orderedlist",pencil:"note-icon-pencil",picture:"note-icon-picture",question:"note-icon-question",redo:"note-icon-redo",square:"note-icon-square",strikethrough:"note-icon-strikethrough",subscript:"note-icon-subscript",superscript:"note-icon-superscript",table:"note-icon-table",textHeight:"note-icon-text-height",trash:"note-icon-trash",underline:"note-icon-underline",undo:"note-icon-undo",unorderedlist:"note-icon-unorderedlist",video:"note-icon-video"}}})}); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
package.json
0 → 100644
| 1 | +{ | ||
| 2 | + "name": "publisher", | ||
| 3 | + "version": "1.0.0", | ||
| 4 | + "description": "", | ||
| 5 | + "main": "index.js", | ||
| 6 | + "scripts": { | ||
| 7 | + "test": "echo \"Error: no test specified\" && exit 1", | ||
| 8 | + "start": "node index.js" | ||
| 9 | + }, | ||
| 10 | + "repository": { | ||
| 11 | + "type": "git", | ||
| 12 | + "url": "git@gitlab.kmlab.com:lintry/publisher.git" | ||
| 13 | + }, | ||
| 14 | + "keywords": [], | ||
| 15 | + "author": "lintry <shenlin00@gmail.com>", | ||
| 16 | + "license": "MIT", | ||
| 17 | + "dependencies": { | ||
| 18 | + "bluebird": "^3.4.6", | ||
| 19 | + "crypto-js": "^3.1.8", | ||
| 20 | + "express": "^4.14.0", | ||
| 21 | + "formidable": "^1.0.17", | ||
| 22 | + "gm": "^1.23.0", | ||
| 23 | + "lodash": "^4.16.5", | ||
| 24 | + "log4js": "^0.6.38", | ||
| 25 | + "node-uuid": "^1.4.7", | ||
| 26 | + "redis": "^2.6.3", | ||
| 27 | + "sequelize": "^3.24.6" | ||
| 28 | + } | ||
| 29 | +} |
readme.md
0 → 100644
server/init/config.js
0 → 100644
| 1 | +"use strict"; | ||
| 2 | + | ||
| 3 | +var configure = function () { | ||
| 4 | + const path = require('path'), | ||
| 5 | + PROJECT_NAME = 'publisher'; | ||
| 6 | + | ||
| 7 | + var host, port, database, username, password, BASE_URL; | ||
| 8 | + var redisHost, redisPort, redisDB, redisPass; | ||
| 9 | + | ||
| 10 | + switch (process.env.NODE_ENV) { | ||
| 11 | + case 'product': //生产服务模式 | ||
| 12 | + BASE_URL = `http://onwall.cn/${PROJECT_NAME}/`; | ||
| 13 | + host = '58.246.253.126'; | ||
| 14 | + port = '5433'; | ||
| 15 | + database = 'startup'; | ||
| 16 | + username = 'pms'; | ||
| 17 | + password = 'pms'; | ||
| 18 | + break; | ||
| 19 | + case 'real': //远程连接生产模式 | ||
| 20 | + BASE_URL = `http://onwall.cn/${PROJECT_NAME}/`; | ||
| 21 | + host = '58.246.253.126'; | ||
| 22 | + port = '5433'; | ||
| 23 | + database = 'startup'; | ||
| 24 | + username = 'pms'; | ||
| 25 | + password = 'pms'; | ||
| 26 | + break; | ||
| 27 | + default: //开发模式 | ||
| 28 | + BASE_URL = `http://onwall.cn/${PROJECT_NAME}/`; | ||
| 29 | + host = '58.246.253.126'; | ||
| 30 | + port = '5433'; | ||
| 31 | + database = 'startup'; | ||
| 32 | + username = 'pms'; | ||
| 33 | + password = 'pms'; | ||
| 34 | + redisHost = '192.168.1.90'; | ||
| 35 | + redisPort = 6379; | ||
| 36 | + redisDB = 1; | ||
| 37 | + redisPass = 'itomix'; | ||
| 38 | + break; | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + const root = process.cwd(), | ||
| 42 | + server_path = 'server', //后端主目录 | ||
| 43 | + init_path = 'init', //后端初始化目录 | ||
| 44 | + lib_path = 'lib', //后端自定义库 | ||
| 45 | + modules_path = 'modules', //后端模块定义 | ||
| 46 | + routers_path = 'routers', //后端路由定义 | ||
| 47 | + entities_path = 'entities', //实体类定义 | ||
| 48 | + public_path = 'public', //静态资源目录 | ||
| 49 | + logs_path = 'logs', //日志目录 | ||
| 50 | + views_path = 'views', //前端视图输出 | ||
| 51 | + mock_path = 'mock' //mock数据目录 | ||
| 52 | + ; | ||
| 53 | + | ||
| 54 | + return { | ||
| 55 | + //sequelize数据库连接定义 | ||
| 56 | + sequelize: { | ||
| 57 | + database: database, | ||
| 58 | + username: username, | ||
| 59 | + password: password, | ||
| 60 | + options: { | ||
| 61 | + timezone: '+08:00', //保证时区正确 | ||
| 62 | + host: host, | ||
| 63 | + port: port, | ||
| 64 | + dialect: 'postgres', | ||
| 65 | + //storage: 'path/to/database.sqlite', //SQLite only | ||
| 66 | + pool: { | ||
| 67 | + max: 5, | ||
| 68 | + min: 0, | ||
| 69 | + idle: 10000 | ||
| 70 | + } | ||
| 71 | + } | ||
| 72 | + }, | ||
| 73 | + redis: { | ||
| 74 | + host: redisHost, | ||
| 75 | + port: redisPort, | ||
| 76 | + db: redisDB, | ||
| 77 | + pass: redisPass | ||
| 78 | + }, | ||
| 79 | + //系统目录定义 | ||
| 80 | + system: { | ||
| 81 | + bind_port: 3030, //绑定端口 | ||
| 82 | + base_url: BASE_URL, //主URL | ||
| 83 | + project_name: PROJECT_NAME, //项目名 | ||
| 84 | + additional: '_action', //路由后缀 | ||
| 85 | + mock_file: '.js', //对应url请求时获取mock数据类型的文件后缀 | ||
| 86 | + mock_mode: process.env.MOCK_MODE||false, //mock模式, auto=自动|true|false | ||
| 87 | + real_mode: /^product|real$/.test(process.env.NODE_ENV) //连接真实生产环境 | ||
| 88 | + }, | ||
| 89 | + | ||
| 90 | + //系统路径 | ||
| 91 | + path: { | ||
| 92 | + ROUTERS_PATH: path.resolve(root, server_path, routers_path), //后端路由定义 | ||
| 93 | + ENTITIES_PATH: path.resolve(root, server_path, entities_path), //实体类定义 | ||
| 94 | + INIT_PATH: path.resolve(root, server_path, init_path), //后端初始化目录,固定 | ||
| 95 | + LIB_PATH: path.resolve(root, server_path, lib_path), //后端自定义库,固定 | ||
| 96 | + MODULES_PATH: path.resolve(root, server_path, modules_path), //后端模块定义 | ||
| 97 | + MOCK_PATH: path.resolve(root, mock_path), ///mock数据目录 | ||
| 98 | + PUBLIC_PATH: path.resolve(root, public_path), //静态资源目录 | ||
| 99 | + VIEWS_PATH: path.resolve(root, views_path), //前端视图输出 | ||
| 100 | + LOGS_PATH: path.resolve(root, logs_path) //日志目录 | ||
| 101 | + }, | ||
| 102 | + | ||
| 103 | + //文件上传目录定义 | ||
| 104 | + upload: { | ||
| 105 | + root: '/opt/domino-img/', | ||
| 106 | + base_url: BASE_URL, | ||
| 107 | + appimg: 'appimg/', | ||
| 108 | + qrimg: 'qrimg/', | ||
| 109 | + wximg: 'wximg/' | ||
| 110 | + }, | ||
| 111 | + | ||
| 112 | + //微信定义 | ||
| 113 | + wechat: { | ||
| 114 | + cert: '/opt/domino-cert/apiclient_cert.p12' | ||
| 115 | + } | ||
| 116 | + }; | ||
| 117 | +}(); | ||
| 118 | + | ||
| 119 | +//绑定到全局变量 | ||
| 120 | +global.config = global.config = configure; | ||
| 121 | +module.exports = configure; |
server/init/log4js-init.js
0 → 100644
| 1 | +/** | ||
| 2 | + * Created by lintry on 16/4/15. | ||
| 3 | + */ | ||
| 4 | +"use strict"; | ||
| 5 | +var loggers = function(){ | ||
| 6 | + var log4js = require('log4js'), | ||
| 7 | + fs = require('fs'), | ||
| 8 | + path = require('path'), | ||
| 9 | + config = require('./config'), | ||
| 10 | + config_path = config.path, | ||
| 11 | + project_name = config.system.project_name; | ||
| 12 | + | ||
| 13 | + const log_path = config_path.LOGS_PATH; | ||
| 14 | + if (!fs.existsSync(log_path)) { | ||
| 15 | + fs.mkdirSync(log_path); | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | + var appenders = [ | ||
| 19 | + { type: 'console' }, | ||
| 20 | + { | ||
| 21 | + type: 'file', | ||
| 22 | + filename: path.resolve(log_path, `${project_name}.log`), | ||
| 23 | + maxLogSize: 20480000, | ||
| 24 | + backups: 30, | ||
| 25 | + category: 'project', | ||
| 26 | + level: 'WARN' | ||
| 27 | + }, | ||
| 28 | + { | ||
| 29 | + type: 'file', | ||
| 30 | + filename: path.resolve(log_path, 'system.log'), | ||
| 31 | + maxLogSize: 20480000, | ||
| 32 | + backups: 30, | ||
| 33 | + category: 'system', | ||
| 34 | + level: 'ALL' | ||
| 35 | + }, | ||
| 36 | + { | ||
| 37 | + type: 'file', | ||
| 38 | + filename: path.resolve(log_path, 'upload.log'), | ||
| 39 | + maxLogSize: 20480000, | ||
| 40 | + backups: 30, | ||
| 41 | + category: 'upload', | ||
| 42 | + level: 'ERROR' | ||
| 43 | + }, | ||
| 44 | + { | ||
| 45 | + type: 'file', | ||
| 46 | + filename: path.resolve(log_path, 'pay.log'), | ||
| 47 | + maxLogSize: 20480000, | ||
| 48 | + backups: 30, | ||
| 49 | + category: 'pay', | ||
| 50 | + level: 'ALL' | ||
| 51 | + }, | ||
| 52 | + { | ||
| 53 | + type: 'file', | ||
| 54 | + filename: path.resolve(log_path, 'wx.log'), | ||
| 55 | + maxLogSize: 20480000, | ||
| 56 | + backups: 30, | ||
| 57 | + category: 'wx', | ||
| 58 | + level: 'ALL' | ||
| 59 | + }, | ||
| 60 | + { | ||
| 61 | + type: 'file', | ||
| 62 | + filename: path.resolve(log_path, 'cron.log'), | ||
| 63 | + maxLogSize: 20480000, | ||
| 64 | + backups: 30, | ||
| 65 | + category: 'cron', | ||
| 66 | + level: 'ALL' | ||
| 67 | + } | ||
| 68 | + ]; | ||
| 69 | + | ||
| 70 | + log4js.configure({ | ||
| 71 | + appenders: appenders | ||
| 72 | + }); | ||
| 73 | + | ||
| 74 | + var logger_export = {}; | ||
| 75 | + appenders.forEach(function(appender) { | ||
| 76 | + let name = appender.category; | ||
| 77 | + if (name) { | ||
| 78 | + let logger = log4js.getLogger(name); | ||
| 79 | + logger_export[name] = logger; | ||
| 80 | + logger.setLevel(appender.level || 'ALL'); | ||
| 81 | + logger.trace('TRACE is enabled now!'); | ||
| 82 | + logger.debug('DEBUG is enabled now!'); | ||
| 83 | + logger.info('INFO is enabled now!'); | ||
| 84 | + logger.warn('WARN is enabled now!'); | ||
| 85 | + logger.error('ERROR is enabled now!'); | ||
| 86 | + logger.fatal('FATAL is enabled now!'); | ||
| 87 | + } | ||
| 88 | + }); | ||
| 89 | + | ||
| 90 | + return logger_export; | ||
| 91 | +}(); | ||
| 92 | + | ||
| 93 | +//绑定到全局变量 | ||
| 94 | +global.loggers = global.loggers || loggers; | ||
| 95 | +module.exports = loggers; |
server/lib/cjson.js
0 → 100644
| 1 | +/** | ||
| 2 | + * Created by lintry on 16/7/18. | ||
| 3 | + */ | ||
| 4 | +"use strict"; | ||
| 5 | + | ||
| 6 | +function CryptoJSON(sKey, sIv) { | ||
| 7 | + const path = require('path'), | ||
| 8 | + util = require('util'), | ||
| 9 | + crypto_utils = require('./crypto-utils'); | ||
| 10 | + | ||
| 11 | + if (!(this instanceof CryptoJSON)) { | ||
| 12 | + return new CryptoJSON(sKey, sIv); | ||
| 13 | + } | ||
| 14 | + | ||
| 15 | + | ||
| 16 | + function convert(source, type, key, iv) { | ||
| 17 | + key = key || sKey; | ||
| 18 | + iv = iv || sIv; | ||
| 19 | + var method = crypto_utils[!!type ? 'AESEncode': 'AESDecode']; | ||
| 20 | + if (source) { | ||
| 21 | + if (util.isString(source)) { | ||
| 22 | + return method(source, key, iv); | ||
| 23 | + } | ||
| 24 | + var target = util.isArray(source)? [] : {}; | ||
| 25 | + for (let k in source) { | ||
| 26 | + var v = source[k]; | ||
| 27 | + if (!v) { | ||
| 28 | + target[k] = v; | ||
| 29 | + } | ||
| 30 | + else if (typeof v === 'object') { | ||
| 31 | + target[k] = convert(v, type, key, iv); | ||
| 32 | + } else { | ||
| 33 | + target[k] = method(v, key, iv); | ||
| 34 | + } | ||
| 35 | + } | ||
| 36 | + return target; | ||
| 37 | + } else { | ||
| 38 | + return null; | ||
| 39 | + } | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + /** | ||
| 43 | + * 加密对象 | ||
| 44 | + * @param obj | ||
| 45 | + * @param key | ||
| 46 | + * @param iv | ||
| 47 | + * @returns {*} | ||
| 48 | + */ | ||
| 49 | + this.encode = function (obj, key, iv) { | ||
| 50 | + return convert(obj, 1, key, iv); | ||
| 51 | + }; | ||
| 52 | + | ||
| 53 | + /** | ||
| 54 | + * 解密对象 | ||
| 55 | + * @param crypto_obj | ||
| 56 | + * @param key | ||
| 57 | + * @param iv | ||
| 58 | + * @returns {*} | ||
| 59 | + */ | ||
| 60 | + this.decode = function (crypto_obj, key, iv) { | ||
| 61 | + return convert(crypto_obj, 0, key, iv); | ||
| 62 | + }; | ||
| 63 | +} | ||
| 64 | + | ||
| 65 | +module.exports = CryptoJSON; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
server/lib/crypto-utils.js
0 → 100644
| 1 | +/** | ||
| 2 | + * Created by lintry on 16/4/19. | ||
| 3 | + * | ||
| 4 | + * 加密解密算法工具 | ||
| 5 | + */ | ||
| 6 | +"use strict"; | ||
| 7 | + | ||
| 8 | +module.exports = function () { | ||
| 9 | + const CryptoJS = require("crypto-js"), | ||
| 10 | + uuid = require('node-uuid'); | ||
| 11 | + | ||
| 12 | + const DEFAULT_KEY = '0102030405060708', | ||
| 13 | + DEFAULT_IV = '0000000000000000', | ||
| 14 | + PADDING_CHAR = 'ABCDEFGHIJKLMNOP', | ||
| 15 | + PADDING_LENGTH = 16; | ||
| 16 | + var cj = {}; | ||
| 17 | + | ||
| 18 | + function padding(text) { | ||
| 19 | + text = text || ''; | ||
| 20 | + return text + PADDING_CHAR.substr(0, PADDING_LENGTH - ((text.length % PADDING_LENGTH)||PADDING_LENGTH)); | ||
| 21 | + } | ||
| 22 | + | ||
| 23 | + cj.AESEncode = function (word, sKey, sIv) { | ||
| 24 | + var key = CryptoJS.enc.Utf8.parse(padding(sKey || DEFAULT_KEY)); | ||
| 25 | + var iv = CryptoJS.enc.Utf8.parse(padding(sIv || DEFAULT_IV)); | ||
| 26 | + var srcs = CryptoJS.enc.Utf8.parse(word); | ||
| 27 | + var encrypted = CryptoJS.AES.encrypt(srcs, key, {iv: iv, mode: CryptoJS.mode.CBC}); | ||
| 28 | + return encrypted.toString(); | ||
| 29 | + }; | ||
| 30 | + | ||
| 31 | + cj.AESDecode = function (word, sKey, sIv) { | ||
| 32 | + var key = CryptoJS.enc.Utf8.parse(padding(sKey || DEFAULT_KEY)); | ||
| 33 | + var iv = CryptoJS.enc.Utf8.parse(padding(sIv || DEFAULT_IV)); | ||
| 34 | + var decrypted = CryptoJS.AES.decrypt(word, key, {iv: iv, mode: CryptoJS.mode.CBC}); | ||
| 35 | + return CryptoJS.enc.Utf8.stringify(decrypted).toString(); | ||
| 36 | + }; | ||
| 37 | + | ||
| 38 | + cj.Base64Encode = function (text) { | ||
| 39 | + var words = CryptoJS.enc.Utf8.parse(text); | ||
| 40 | + return CryptoJS.enc.Base64.stringify(words); | ||
| 41 | + }; | ||
| 42 | + | ||
| 43 | + cj.Base64Decode = function (text) { | ||
| 44 | + return CryptoJS.enc.Base64.parse(text).toString(CryptoJS.enc.Utf8); | ||
| 45 | + }; | ||
| 46 | + | ||
| 47 | + cj.MD5 = function (text) { | ||
| 48 | + return CryptoJS.MD5(text).toString(); | ||
| 49 | + }; | ||
| 50 | + | ||
| 51 | + cj.SHA1 = function (text) { | ||
| 52 | + return CryptoJS.SHA1(text).toString(); | ||
| 53 | + }; | ||
| 54 | + | ||
| 55 | + cj.UUID = function() { | ||
| 56 | + return uuid.v4().replace(/[-]/g,''); | ||
| 57 | + }; | ||
| 58 | + | ||
| 59 | + return cj; | ||
| 60 | +}(); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
server/lib/result.js
0 → 100644
| 1 | +/** | ||
| 2 | + * Created by lintry on 16/4/16. | ||
| 3 | + */ | ||
| 4 | +"use strict"; | ||
| 5 | +var _ = require('lodash'), | ||
| 6 | + Promise = require('bluebird'); | ||
| 7 | +var enums = { | ||
| 8 | + ERROR: 'ERROR', //操作失败 | ||
| 9 | + OK: 'OK', //操作成功 | ||
| 10 | + EXPIRED: "EXPIRED", //链接过期,禁止进入系统 | ||
| 11 | + PASS: "PASS", //登录成功,可以进入系统 | ||
| 12 | + WRONG: "WRONG" //账号异常 | ||
| 13 | +}; | ||
| 14 | + | ||
| 15 | +/** | ||
| 16 | + * 创建返回结果对象 | ||
| 17 | + * @param ret 返回值 | ||
| 18 | + * @param msg 操作提示 | ||
| 19 | + * @param err 错误提示 | ||
| 20 | + * @param content 相关数据 | ||
| 21 | + * @returns {Result} | ||
| 22 | + * @constructor | ||
| 23 | + */ | ||
| 24 | +var Result = function(ret, msg, err, content) { | ||
| 25 | + if (!(this instanceof Result)) { | ||
| 26 | + return new Result(ret, msg, err, content); | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + this.ret = this.content = this.token = void 0; | ||
| 30 | + this.msg = msg; | ||
| 31 | + this.err = err; | ||
| 32 | + ret && enums[ret] && (this.ret = enums[ret]); | ||
| 33 | + content && (this.content = content); | ||
| 34 | + | ||
| 35 | + /** | ||
| 36 | + * 返回一个自身为参数的promise | ||
| 37 | + */ | ||
| 38 | + var me = this; | ||
| 39 | + this.promise = function () { | ||
| 40 | + return new Promise(function(resove){ | ||
| 41 | + resove(me); | ||
| 42 | + }); | ||
| 43 | + }; | ||
| 44 | + return this; | ||
| 45 | +}; | ||
| 46 | + | ||
| 47 | +_.merge(Result, enums); | ||
| 48 | + | ||
| 49 | +module.exports = Result; |
server/lib/uploader.js
0 → 100644
| 1 | +/** | ||
| 2 | + * 处理路由的文件上传action | ||
| 3 | + */ | ||
| 4 | +/* global global */ | ||
| 5 | +/* global process */ | ||
| 6 | +"use strict"; | ||
| 7 | +module.exports = function Uploader(routerPath, db) { | ||
| 8 | + routerPath = routerPath || ''; | ||
| 9 | + | ||
| 10 | + const _ = require('lodash'), | ||
| 11 | + path = require('path'), | ||
| 12 | + fs = require('fs'), | ||
| 13 | + Formidable = require('formidable'), | ||
| 14 | + gm = require('gm'), | ||
| 15 | + express = require('express'), | ||
| 16 | + router = express.Router(), | ||
| 17 | + config_path = global.config.path, | ||
| 18 | + UPLOAD_OPTION = global.config.upload, | ||
| 19 | + ENTITIES_PATH = config_path.ENTITIES_PATH, | ||
| 20 | + logger = global.loggers.upload, | ||
| 21 | + crypto_utils = require('./crypto-utils'), | ||
| 22 | + Result = require('./result'); | ||
| 23 | + | ||
| 24 | + const | ||
| 25 | + DEST_DIR = path.resolve(UPLOAD_OPTION.root, routerPath), | ||
| 26 | + IMAGE_URL = UPLOAD_OPTION.base_url + routerPath + '/', | ||
| 27 | + THUMB_W = 240, | ||
| 28 | + THUMB_H = 240; | ||
| 29 | + | ||
| 30 | + // var FileInfo = db.import(path.resolve(ENTITIES_PATH, 'file_info')); | ||
| 31 | + | ||
| 32 | + var upload_root = path.resolve(UPLOAD_OPTION.root); | ||
| 33 | + if (!fs.existsSync(upload_root)) { | ||
| 34 | + fs.mkdir(upload_root); | ||
| 35 | + } | ||
| 36 | + if (!fs.existsSync(DEST_DIR)) { | ||
| 37 | + fs.mkdir(DEST_DIR); | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + let fn_request = function (req, res, next) { | ||
| 41 | + /** | ||
| 42 | + * 创建缩略图 | ||
| 43 | + * @param gm_object gm对象,可以在此前对图片做好预处理 | ||
| 44 | + * @param file 处理图片文件 | ||
| 45 | + * @param uploaded_file 上传文件结构 | ||
| 46 | + */ | ||
| 47 | + var create_thumb = function (gm_object, file, uploaded_file) { | ||
| 48 | + let dest_thumb = uploaded_file.thumb_path, dest_file = uploaded_file.file_path; | ||
| 49 | + gm_object.size(function (err, size) { | ||
| 50 | + if (err) { | ||
| 51 | + logger.error(err, uploaded_file); | ||
| 52 | + return; | ||
| 53 | + } | ||
| 54 | + if (size.width > THUMB_W || size.height > THUMB_H) { | ||
| 55 | + this.thumb(THUMB_W, THUMB_H, dest_thumb, 0, 'center', function (err) { | ||
| 56 | + err ? logger.error(err, uploaded_file) : logger.debug('image saved to', uploaded_file); | ||
| 57 | + //move file to dest_path | ||
| 58 | + fs.rename(file.path, dest_file); | ||
| 59 | + }); | ||
| 60 | + } else { | ||
| 61 | + //小图片直接复制 | ||
| 62 | + this.write(dest_thumb, function (err) { | ||
| 63 | + err ? logger.error(err, uploaded_file) : logger.debug('image saved to', uploaded_file); | ||
| 64 | + //move file to dest_path | ||
| 65 | + fs.rename(file.path, dest_file); | ||
| 66 | + }) | ||
| 67 | + } | ||
| 68 | + }); | ||
| 69 | + }; | ||
| 70 | + | ||
| 71 | + // parse a file upload | ||
| 72 | + let form = new Formidable.IncomingForm(); | ||
| 73 | + form.encoding = 'utf-8'; | ||
| 74 | + form.uploadDir = DEST_DIR; | ||
| 75 | + form.hash = 'md5'; | ||
| 76 | + form.keepExtensions = true; | ||
| 77 | + form.maxFieldsSize = 10*(1<<20); //max file size is 10M | ||
| 78 | + // 处理上传文件 | ||
| 79 | + form.parse(req, function (err, fields, files) { | ||
| 80 | + let uploaded_files = []; | ||
| 81 | + if (files) { | ||
| 82 | + for (let key in files) { | ||
| 83 | + if (files.hasOwnProperty(key)) { | ||
| 84 | + let file = files[key]; | ||
| 85 | + if (file && file.size) { | ||
| 86 | + let file_ext = file.type.replace('image/', ''); | ||
| 87 | + switch (file.type) { | ||
| 88 | + case 'image/gif': | ||
| 89 | + file_ext = 'gif'; | ||
| 90 | + break; | ||
| 91 | + case 'image/jpeg': | ||
| 92 | + file_ext = 'jpg'; | ||
| 93 | + break; | ||
| 94 | + case 'image/png': | ||
| 95 | + file_ext = 'png'; | ||
| 96 | + break; | ||
| 97 | + default: | ||
| 98 | + res.json(new Result(Result.ERROR, '上传文件格式错误')); | ||
| 99 | + return null; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + let regexp = /\.([\w]{3,})$/, | ||
| 103 | + salt = (~~(Math.random() * 1000000000)).toString(36), | ||
| 104 | + file_id = crypto_utils.UUID(), | ||
| 105 | + file_name = `${file_id}_${salt}.${file_ext}`, | ||
| 106 | + dest_file = path.resolve(DEST_DIR, file_name), | ||
| 107 | + dest_thumb = dest_file.replace(regexp, '_s.$1'), | ||
| 108 | + uploaded_file = { | ||
| 109 | + id: file_id, | ||
| 110 | + content_type: file.type, | ||
| 111 | + name: file.name, | ||
| 112 | + size: file.size, | ||
| 113 | + file_path: dest_file, | ||
| 114 | + thumb_path: dest_thumb, | ||
| 115 | + hash: file.hash, | ||
| 116 | + url: IMAGE_URL + file_name, | ||
| 117 | + params: fields, | ||
| 118 | + key: key, | ||
| 119 | + thumbnail: IMAGE_URL + file_name.replace(regexp, '_s.$1') | ||
| 120 | + }; | ||
| 121 | + | ||
| 122 | + switch (file.type) { | ||
| 123 | + case 'image/gif': | ||
| 124 | + create_thumb(gm(file.path + '[0]'), file, uploaded_file); | ||
| 125 | + break; | ||
| 126 | + case 'image/jpeg': | ||
| 127 | + case 'image/png': | ||
| 128 | + create_thumb(gm(file.path).autoOrient(), file, uploaded_file); | ||
| 129 | + break; | ||
| 130 | + default: | ||
| 131 | + fs.unlink(file.path); | ||
| 132 | + logger.error(`${file.name} is not jpg/png/gif but ${file.type}`); | ||
| 133 | + break; | ||
| 134 | + } | ||
| 135 | + | ||
| 136 | + uploaded_files.push(uploaded_file); | ||
| 137 | + } | ||
| 138 | + } | ||
| 139 | + } | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + //处理结果 | ||
| 143 | + if (uploaded_files.length) { | ||
| 144 | + // FileInfo.bulkCreate(uploaded_files) | ||
| 145 | + // .then(function (files) { | ||
| 146 | + logger.debug('file saved into db', files); | ||
| 147 | + // }) | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + //输出结果 | ||
| 151 | + res.json(new Result(Result.OK, undefined, undefined, {files: uploaded_files})); | ||
| 152 | + next && next(); | ||
| 153 | + return null; | ||
| 154 | + }); | ||
| 155 | + }; | ||
| 156 | + | ||
| 157 | + var upload_regex = /^\/(.+\/)*upload$/; | ||
| 158 | + router.post(upload_regex, fn_request); | ||
| 159 | + router.get(upload_regex, function (req, res, next) { | ||
| 160 | + res.writeHead(200, {'content-type': 'text/html'}); | ||
| 161 | + res.end('\ | ||
| 162 | + <article>\ | ||
| 163 | + <form action="" enctype="multipart/form-data" method="post">\ | ||
| 164 | + <input type="text" name="title" placeholder="图片简介" style="width: 100%;"><br>\ | ||
| 165 | + <input type="file" name="upload" multiple="multiple" style="width: 50%;">\ | ||
| 166 | + <input type="submit" value="上传" style="width: 30%;">\ | ||
| 167 | + </form>\ | ||
| 168 | + </article>' | ||
| 169 | + ); | ||
| 170 | + | ||
| 171 | + next && next(); | ||
| 172 | + }); | ||
| 173 | + | ||
| 174 | + return router; | ||
| 175 | +}; |
server/server.js
0 → 100644
| 1 | +"use strict"; | ||
| 2 | +var start_time = Date.now(); | ||
| 3 | +const express = require('express'), | ||
| 4 | + app = express(), | ||
| 5 | + router = express.Router(), | ||
| 6 | + Uploader = require('./lib/uploader'), | ||
| 7 | + Result = require('./lib/result'); | ||
| 8 | + | ||
| 9 | +// 定义参数 | ||
| 10 | +const config = require('./init/config'), | ||
| 11 | + PROJECT_PATH = '/'+ config.system.project_name +'/', | ||
| 12 | + BIND_PORT = config.system.bind_port || 3000; | ||
| 13 | + | ||
| 14 | +// 定义log4js 包含业务日志和系统日志 | ||
| 15 | +const loggers = require('./init/log4js-init'); | ||
| 16 | + | ||
| 17 | +var ROOT_PATH = process.cwd(); | ||
| 18 | +app.use('/lib/', express.static(ROOT_PATH + '/lib')); | ||
| 19 | + | ||
| 20 | +app.get('/', function(req, res){ | ||
| 21 | + res.sendFile(ROOT_PATH + '/index.html'); | ||
| 22 | +}) | ||
| 23 | + | ||
| 24 | +app.use('/', new Uploader('appimg')); | ||
| 25 | + | ||
| 26 | +const PORT = 3080; | ||
| 27 | +app.listen(PORT) | ||
| 28 | +console.info(`Server is started up by binding ${PORT}. Visit http://localhost:${PORT}`); |
-
Please register or login to post a comment