diff --git a/.gitignore b/.gitignore index 1aad426af39dfd766dd3843b314fe732225afd47..83d07b9018b7c2765d9a36af76c82a8332cdc5aa 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /db/development.sqlite3 /db/test.sqlite3 /Gemfile.lock +/public/assets diff --git a/Gemfile b/Gemfile index b8993b98bfd80fab314c2dea10104b9c94dc64f7..dc8ba0e9c7057ade5cf47ad2ac5113f2b7ec4d86 100644 --- a/Gemfile +++ b/Gemfile @@ -22,7 +22,7 @@ gem 'jbuilder', '~> 2.0' gem 'sdoc', '~> 0.4.0', group: :doc # Use ActiveModel has_secure_password -# gem 'bcrypt', '~> 3.1.7' +gem 'bcrypt', '~> 3.1.7' # Use Unicorn as the app server # gem 'unicorn' @@ -30,12 +30,14 @@ gem 'sdoc', '~> 0.4.0', group: :doc # Use Capistrano for deployment # gem 'capistrano-rails', group: :development - gem 'orientdb4r' +gem 'orientdb-schema-migrator' # web server gem 'puma' +gem 'rufus-scheduler' + group :development, :test do gem 'better_errors' # Call 'byebug' anywhere in the code to stop execution and get a debugger console @@ -57,11 +59,13 @@ end # authentication gem 'devise' +# enable login via rest +gem 'devise_token_auth' +gem 'rack-cors', require: 'rack/cors' #bootstrap gem 'bootstrap-sass' -#Gruff (graphs and charts) gem 'rmagick' gem 'gruff' @@ -71,4 +75,13 @@ gem 'chart-js-rails' #depoyment gem 'mina' -gem 'rubycritic', require: false \ No newline at end of file +gem 'rubycritic', require: false + +gem 'locastyle' + +#RSolr - Search Engine used by DSpace +gem "rsolr", "~> 1.0.12" + +#Dspace REST API Integration +gem 'dspace_rest_client', '~> 1.1.0' +gem 'will_paginate', '~> 3.0.5' diff --git a/Gemfile.lock b/Gemfile.lock index 3ab513d178d8f43b34e950d8820c6db533d6f9fd..348d114357ac621d7bc511f8c0cfcc301778ae32 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -40,9 +40,9 @@ GEM adamantium (0.2.0) ice_nine (~> 0.11.0) memoizable (~> 0.4.0) - arel (6.0.2) + arel (6.0.3) ast (2.1.0) - autoprefixer-rails (5.1.11) + autoprefixer-rails (5.2.1.3) execjs json axiom-types (0.1.1) @@ -56,12 +56,11 @@ GEM rack (>= 0.9.0) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) - bootstrap-sass (3.3.4.1) + bootstrap-sass (3.3.5.1) autoprefixer-rails (>= 5.0.0.1) - sass (>= 3.2.19) + sass (>= 3.3.0) builder (3.2.2) - byebug (5.0.0) - columnize (= 0.9.0) + byebug (6.0.2) chart-js-rails (0.0.9) railties (> 3.1) coderay (1.1.0) @@ -74,33 +73,39 @@ GEM coffee-script-source execjs coffee-script-source (1.9.1.1) - columnize (0.9.0) concord (0.1.5) adamantium (~> 0.2.0) equalizer (~> 0.0.9) + curb (0.8.8) debug_inspector (0.0.2) descendants_tracker (0.0.4) thread_safe (~> 0.3, >= 0.3.1) - devise (3.5.1) + devise (3.5.2) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 3.2.6, < 5) responders thread_safe (~> 0.1) warden (~> 1.2.3) + devise_token_auth (0.1.33) + devise (~> 3.3) + rails (~> 4.2) diff-lcs (1.2.5) domain_name (0.5.24) unf (>= 0.0.5, < 1.0.0) + dspace_rest_client (1.1.2) + curb (~> 0.8.6) + rest-client (>= 1.7, < 2) equalizer (0.0.11) erubis (2.7.0) - execjs (2.5.2) + execjs (2.6.0) flay (2.4.0) ruby_parser (~> 3.0) sexp_processor (~> 4.0) flog (4.2.1) ruby_parser (~> 3.1, > 3.1.0) sexp_processor (~> 4.4) - globalid (0.3.5) + globalid (0.3.6) activesupport (>= 4.1.0) gruff (0.6.0) rmagick (>= 2.13.4) @@ -111,7 +116,7 @@ GEM jbuilder (2.3.1) activesupport (>= 3.0.0, < 5) multi_json (~> 1.2) - jquery-rails (4.0.4) + jquery-rails (4.0.5) rails-dom-testing (~> 1.0) railties (>= 4.2.0) thor (>= 0.14, < 2.0) @@ -119,7 +124,8 @@ GEM railties (>= 3.1.0) turbolinks json (1.8.3) - loofah (2.0.2) + locastyle (0.0.1) + loofah (2.0.3) nokogiri (>= 1.5.9) mail (2.6.3) mime-types (>= 1.16, < 3) @@ -130,12 +136,15 @@ GEM open4 (~> 1.3.4) rake mini_portile (0.6.2) - minitest (5.7.0) + minitest (5.8.0) multi_json (1.11.2) netrc (0.10.3) nokogiri (1.6.6.2) mini_portile (~> 0.6.0) open4 (1.3.4) + orientdb-schema-migrator (0.0.3) + activesupport (>= 3.0) + orientdb4r (~> 0.5) orientdb4r (0.5.1) rest-client (~> 1.7) orm_adapter (0.5.0) @@ -145,6 +154,7 @@ GEM procto (0.0.2) puma (2.13.4) rack (1.6.4) + rack-cors (0.4.0) rack-test (0.6.3) rack (>= 1.0) rails (4.2.0) @@ -160,7 +170,7 @@ GEM sprockets-rails rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) - rails-dom-testing (1.0.6) + rails-dom-testing (1.0.7) activesupport (>= 4.2.0.beta, < 5.0) nokogiri (~> 1.6.0) rails-deprecated_sanitizer (>= 1.0.1) @@ -185,6 +195,8 @@ GEM mime-types (>= 1.16, < 3.0) netrc (~> 0.7) rmagick (2.15.4) + rsolr (1.0.12) + builder (>= 2.1.2) ruby_parser (3.7.1) sexp_processor (~> 4.1) rubycritic (1.4.0) @@ -193,7 +205,12 @@ GEM parser (>= 2.2.0, < 3.0) reek (= 1.6.5) virtus (~> 1.0) +<<<<<<< HEAD + rufus-scheduler (3.1.4) sass (3.4.16) +======= + sass (3.4.18) +>>>>>>> master sass-rails (5.0.3) railties (>= 4.0.0, < 5.0) sass (~> 3.1) @@ -211,7 +228,7 @@ GEM shoulda-matchers (2.8.0) activesupport (>= 3.0.0) spring (1.3.6) - sprockets (3.2.0) + sprockets (3.3.3) rack (~> 1.0) sprockets-rails (2.3.2) actionpack (>= 3.0) @@ -225,7 +242,7 @@ GEM coffee-rails tzinfo (1.2.2) thread_safe (~> 0.1) - uglifier (2.7.1) + uglifier (2.7.2) execjs (>= 0.3.0) json (>= 1.8.0) unf (0.1.4) @@ -251,28 +268,37 @@ GEM binding_of_caller (>= 0.7.2) railties (>= 4.0) sprockets-rails (>= 2.0, < 4.0) + will_paginate (3.0.7) PLATFORMS ruby DEPENDENCIES + bcrypt (~> 3.1.7) better_errors bootstrap-sass byebug chart-js-rails coffee-rails (~> 4.1.0) devise + devise_token_auth + dspace_rest_client (~> 1.1.0) gruff jbuilder (~> 2.0) jquery-rails jquery-turbolinks + locastyle mina + orientdb-schema-migrator orientdb4r pg puma + rack-cors rails (= 4.2.0) rmagick + rsolr (~> 1.0.12) rubycritic + rufus-scheduler sass-rails (~> 5.0) sdoc (~> 0.4.0) shoulda @@ -281,3 +307,10 @@ DEPENDENCIES turbolinks uglifier (>= 1.3.0) web-console (~> 2.0) +<<<<<<< HEAD +======= + will_paginate (~> 3.0.5) + +BUNDLED WITH + 1.10.6 +>>>>>>> master diff --git a/README.md b/README.md index bf035b6e55056511c1c7e97bd2235d5f36240082..3ce5cfb8bd56aa155a76476e17a47d64b75885cf 100644 --- a/README.md +++ b/README.md @@ -9,18 +9,41 @@ * Postgres * OrientDB - + ## Database - ## Setup - +To setup the rails app, will be needed run active record migrations, +orient db migrations and populate active record database: + * ``` rake db:migrate ``` + * ``` rake db:seed ``` + * ``` rake orientdb:migrate ``` ## Definitions Some definitions and vocabulary of project domain model. ## Deploy -For deploy, you will need a server and some user with your ssh public key. +Before deploy, some env vars need be set: + + ### Secrets + * SECRET_TOKEN + * SECRET_KEY_BASE + + ### Active Record database + * PORTALMEC_DB_NAME + * PORTALMEC_DB_USERNAME + * PORTALMEC_DB_PASSWORD + + ### Orient Db database + * PORTALMEC_ORIENTDB_HOST + * PORTALMEC_ORIENTDB_DATABASE + * PORTALMEC_ORIENTDB_USERNAME + * PORTALMEC_ORIENTDB_PASSWD + * PORTALMEC_ORIENTDB_PORT + + ### Rails environment + * RAILS_SERVE_STATIC_FILES - default is FALSE + * RAILS_ENV: production, test or development Run: ``` $ mina setup diff --git a/app/assets/images/colections.png b/app/assets/images/colections.png new file mode 100644 index 0000000000000000000000000000000000000000..8082526e74f5cbec90c3c12a5c2fa5b9cbbb8907 Binary files /dev/null and b/app/assets/images/colections.png differ diff --git a/app/assets/images/geral_accesses.png b/app/assets/images/geral_accesses.png new file mode 100644 index 0000000000000000000000000000000000000000..d1923298d489ad0bfb00447445225a849c86d7bc Binary files /dev/null and b/app/assets/images/geral_accesses.png differ diff --git a/app/assets/images/geral_colections.png b/app/assets/images/geral_colections.png new file mode 100644 index 0000000000000000000000000000000000000000..b7a69f3c83b0d7b6be3c49c33b88d478a6ac290b Binary files /dev/null and b/app/assets/images/geral_colections.png differ diff --git a/app/assets/images/star-off.svg b/app/assets/images/star-off.svg new file mode 100644 index 0000000000000000000000000000000000000000..9a393aa40d139025bf2324aec47830757facb84a --- /dev/null +++ b/app/assets/images/star-off.svg @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"> + <path fill="#fff" stroke="#ccc" d="M 12,2.5 14.4,9.5 21.5,9.5 15.8,13.75 18.5,21.5 12,16.625 5.5,21.5 8.2,13.75 2.5,9.5 9.6,9.5 z"/> +</svg> diff --git a/app/assets/images/star-on.svg b/app/assets/images/star-on.svg new file mode 100644 index 0000000000000000000000000000000000000000..aa9553d194a32f54c5682835286e4b33c6c9f460 --- /dev/null +++ b/app/assets/images/star-on.svg @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"> + <path fill="#9c3" stroke="#682" d="M 12,2.5 14.4,9.5 21.5,9.5 15.8,13.75 18.5,21.5 12,16.625 5.5,21.5 8.2,13.75 2.5,9.5 9.6,9.5 z"/> +</svg> diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index b9930e25750f4668654d8c21bcd4a42d181956ba..8a653cb364e172b3ed9420d3255de776c3cd4a7f 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -16,11 +16,16 @@ //= require jquery.turbolinks //= require bootstrap-sprockets //= require_tree ./application +//= require_tree ./search $(document).ready(function(){ size_c = readCookie('fontSize'); if (size_c != null) { document.body.style.fontSize = size_c + 'px'; + $('.dropdown-menu').css('fontSize', document.body.style.fontSize); + $('h1').each(function(index,value) { + $(this).css('fontSize', (parseFloat($(this).css('fontSize')) + (size_c - 15)) + 'px'); + }); } Contrast(); }); @@ -56,14 +61,72 @@ function resizeText(increment) { if (increment > 0) { if (size < 25) { document.body.style.fontSize = parseFloat(document.body.style.fontSize) + increment + "px"; + $('.dropdown-menu').css('fontSize', document.body.style.fontSize); + $('h1').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h2').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h3').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h4').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h5').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h6').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); } } else if(increment < 0){ if (size > 10) { document.body.style.fontSize = parseFloat(document.body.style.fontSize) + increment + "px"; + $('.dropdown-menu').css('fontSize', document.body.style.fontSize); + $('h1').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h2').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h3').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h4').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h5').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); + $('h6').each(function(index,value) { + $(this).css('fontSize', parseFloat($(this).css('fontSize')) + increment + 'px'); + }); } } else{ - document.body.style.fontSize = '15px' + size = parseFloat(document.body.style.fontSize); + document.body.style.fontSize = '15px'; + $('.dropdown-menu').css('fontSize', document.body.style.fontSize); + $('h1').each(function(index,value) { + $(this).css('fontSize',Math.abs(parseFloat($(this).css('fontSize'))-(size-15)) + 'px'); + }); + $('h2').each(function(index,value) { + $(this).css('fontSize',Math.abs(parseFloat($(this).css('fontSize'))-(size-15)) + 'px'); + }); + $('h3').each(function(index,value) { + $(this).css('fontSize',Math.abs(parseFloat($(this).css('fontSize'))-(size-15)) + 'px'); + }); + $('h4').each(function(index,value) { + $(this).css('fontSize',Math.abs(parseFloat($(this).css('fontSize'))-(size-15)) + 'px'); + }); + $('h5').each(function(index,value) { + $(this).css('fontSize',Math.abs(parseFloat($(this).css('fontSize'))-(size-15)) + 'px'); + }); + $('h6').each(function(index,value) { + $(this).css('fontSize',Math.abs(parseFloat($(this).css('fontSize'))-(size-15)) + 'px'); + }); } createCookie('fontSize', parseFloat(document.body.style.fontSize), 365); } @@ -87,6 +150,15 @@ function Contrast() { $('#footer').removeClass("footer-contraste"); $('#footer div').removeClass("footer-contraste"); $('.dropdown-menu').removeClass("dropdown-menu-contrast"); + $('.general_highlights').removeClass("general_highlights-contrast"); + $(".nav > li > a").css('background-color','none'); + $(".nav > li > a").hover( + function(){ + $(this).css('background-color','#eee') + },function(){ + $(this).css('background-color','transparent') + } + ); }else { $('body').addClass("contraste"); $('body').addClass("alto-contraste"); @@ -95,5 +167,29 @@ function Contrast() { $('#footer').addClass("footer-contraste"); $('#footer div').addClass("footer-contraste"); $('.dropdown-menu').addClass("dropdown-menu-contrast"); + $('.general_highlights').addClass("general_highlights-contrast"); + $(".nav > li > a").css('background-color','#transparent'); + $(".nav > li > a").hover( + function(){ + $(this).css('background-color','#000'); + }, function() { + $(this).css('background-color','#transparent') + } + ); } } + + +$.fn.select2.amd.require( + ["select2/core", "select2/utils", "select2/compat/matcher"], + function (Select2, Utils, oldMatcher) { + + var $basicMultiple = $(".js-example-basic-multiple"); + var $limitMultiple = $(".js-example-basic-multiple-limit"); + + $basicMultiple.select2(); + $basicMultiple.select2({ width: '80%' }); + $limitMultiple.select2({ + maximumSelectionLength: 2 + }); +}); diff --git a/app/assets/javascripts/management.js b/app/assets/javascripts/management.js index ce5e0e3c68a1c5b32870ef34968834755ddd303e..6d8a234891f222388410291be9226e0d884f7f4d 100644 --- a/app/assets/javascripts/management.js +++ b/app/assets/javascripts/management.js @@ -15,6 +15,7 @@ //= require turbolinks //= require jquery.turbolinks //= require Chart +//= require locastyle //= require_tree ./management @@ -22,27 +23,27 @@ $(document).ready(function(){ //adicionar no array o nome do gráfico e criar um case para ele -var charts = ["colecoes","usuarios","downloads","acessos"]; +var charts = ["colections","users","downloads","accesses"]; for(i=0;i<charts.length;i++) { if ( document.getElementById(charts[i]) ) { var ctx = document.getElementById(charts[i]).getContext("2d"); switch ( charts[i] ){ - case "colecoes": - new Chart(ctx).Pie(data_colecoes,pie_options); - var colecoes_chart = new Chart(ctx).Pie(data_colecoes); + case "colections": + new Chart(ctx).Pie(data_colections,pie_options); + var colections_chart = new Chart(ctx).Pie(data_colections); break; - case "usuarios": - new Chart(ctx).Bar(data_usuarios,bar_options); - var usuarios_chart = new Chart(ctx).Bar(data_usuarios); + case "users": + new Chart(ctx).Bar(data_users,bar_options); + var users_chart = new Chart(ctx).Bar(data_users); break; case "downloads": new Chart(ctx).Line(data_downloads,line_options); var downloads_chart = new Chart(ctx).Line(data_downloads); break; - case "acessos": - new Chart(ctx).Line(data_acessos,line_options); - var acessos_chart = new Chart(ctx).Line(data_acessos); + case "accesses": + new Chart(ctx).Line(data_accesses,line_options); + var accesses_chart = new Chart(ctx).Line(data_accesses); break; default: null; diff --git a/app/assets/javascripts/management/acessos.js b/app/assets/javascripts/management/accesses.js similarity index 96% rename from app/assets/javascripts/management/acessos.js rename to app/assets/javascripts/management/accesses.js index 5dd548ebc28cd1ba1faef00db46a7891c52fcc52..c19a2393d02fefaf7f436b1bb431fa850b030786 100644 --- a/app/assets/javascripts/management/acessos.js +++ b/app/assets/javascripts/management/accesses.js @@ -3,7 +3,7 @@ //opçoes das linhas em downloads.js -var data_acessos = { +var data_accesses = { labels: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho"], datasets: [ diff --git a/app/assets/javascripts/management/colecoes.js b/app/assets/javascripts/management/colections.js similarity index 98% rename from app/assets/javascripts/management/colecoes.js rename to app/assets/javascripts/management/colections.js index 76e51326d947c6cdf0d7833fb3233b811fdd10ca..296fe7165d7766f5991fc19e9746278e6c68a1a5 100644 --- a/app/assets/javascripts/management/colecoes.js +++ b/app/assets/javascripts/management/colections.js @@ -1,6 +1,6 @@ //Configurações de gráficos PIE // //mais infos: www.chartjs.org/docs/ -var data_colecoes = [ +var data_colections = [ { value: 92, color:"#F7464A", diff --git a/app/assets/javascripts/management/locastyle.js b/app/assets/javascripts/management/locastyle.js deleted file mode 100644 index fdb91315be66bd85e3530f8b293e7a0b0a05495b..0000000000000000000000000000000000000000 --- a/app/assets/javascripts/management/locastyle.js +++ /dev/null @@ -1,72 +0,0 @@ -/*! Locastyle version: 3.7.4*/ /** - * - * Copyright 2013 LinkedIn Corp. All rights reserved. - - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - - * http://www.apache.org/licenses/LICENSE-2.0 - - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -!function(t,e){var n,a,s,i,o,r,l,c,u,d,h=window.Sizzle||null,f=t[e],p="undefined",m=!1,v=typeof window.jQuery!==p,g=!1,y=window.document;try{g=typeof window.sessionStorage!==p}catch(b){}d={smoothScroll:!0,scrollDuration:1e3,scrollTopMargin:200,showCloseButton:!0,showPrevButton:!1,showNextButton:!0,bubbleWidth:280,bubblePadding:15,arrowWidth:20,skipIfNoElement:!0,cookieName:"hopscotch.tour.state"},f||(Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),u=function(){m&&f.startTour()},r={addClass:function(t,e){var n,a,s,i;if(t.className){for(a=e.split(/\s+/),n=" "+t.className+" ",s=0,i=a.length;i>s;++s)n.indexOf(" "+a[s]+" ")<0&&(n+=a[s]+" ");t.className=n.replace(/^\s+|\s+$/g,"")}else t.className=e},removeClass:function(t,e){var n,a,s,i;for(a=e.split(/\s+/),n=" "+t.className+" ",s=0,i=a.length;i>s;++s)n=n.replace(" "+a[s]+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")},getPixelValue:function(t){var e=typeof t;return"number"===e?t:"string"===e?parseInt(t,10):0},valOrDefault:function(t,e){return typeof t!==p?t:e},invokeCallbackArrayHelper:function(t){var e;return Array.isArray(t)&&(e=c[t[0]],"function"==typeof e)?e.apply(this,t.slice(1)):void 0},invokeCallbackArray:function(t){var e,n;if(Array.isArray(t)){if("string"==typeof t[0])return r.invokeCallbackArrayHelper(t);for(e=0,n=t.length;n>e;++e)r.invokeCallback(t[e])}},invokeCallback:function(t){return"function"==typeof t?t():"string"==typeof t&&c[t]?c[t]():r.invokeCallbackArray(t)},invokeEventCallbacks:function(t,e){var n,a,s=l[t];if(e)return this.invokeCallback(e);for(n=0,a=s.length;a>n;++n)this.invokeCallback(s[n].cb)},getScrollTop:function(){var t;return t=typeof window.pageYOffset!==p?window.pageYOffset:y.documentElement.scrollTop},getScrollLeft:function(){var t;return t=typeof window.pageXOffset!==p?window.pageXOffset:y.documentElement.scrollLeft},getWindowHeight:function(){return window.innerHeight||y.documentElement.clientHeight},getWindowWidth:function(){return window.innerWidth||y.documentElement.clientWidth},addEvtListener:function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},removeEvtListener:function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},documentIsReady:function(){return"complete"===y.readyState||"interactive"===y.readyState},evtPreventDefault:function(t){t.preventDefault?t.preventDefault():event&&(event.returnValue=!1)},extend:function(t,e){var n;for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},getStepTargetHelper:function(t){var e;return/^[#\.]/.test(t)?y.querySelector?y.querySelector(t):v?(e=jQuery(t),e.length?e[0]:null):h?(e=new h(t),e.length?e[0]:null):/^#[a-zA-Z][\w-_:.]*$/.test(t)?y.getElementById(t.substring(1)):null:y.getElementById(t)},getStepTarget:function(t){var e;if(!t||!t.target)return null;if("string"==typeof t.target)return t.target=r.getStepTargetHelper(t.target),t.target;if(Array.isArray(t.target)){var n,a;for(n=0,a=t.target.length;a>n;n++)if("string"==typeof t.target[n]&&(e=r.getStepTargetHelper(t.target[n])))return t.target=e,e;return null}return t.target},getI18NString:function(t){return o[t]||i[t]},setState:function(t,e,n){var a,s="";g?sessionStorage.setItem(t,e):(n&&(a=new Date,a.setTime(a.getTime()+24*n*60*60*1e3),s="; expires="+a.toGMTString()),y.cookie=t+"="+e+s+"; path=/")},getState:function(t){var e,n,a,s=t+"=",i=y.cookie.split(";");if(g)a=sessionStorage.getItem(t);else for(e=0;e<i.length;e++){for(n=i[e];" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(s)){a=n.substring(s.length,n.length);break}}return a},clearState:function(t){g?sessionStorage.removeItem(t):this.setState(t,"",-1)}},r.addEvtListener(window,"load",u),l={next:[],prev:[],start:[],end:[],show:[],error:[],close:[]},c={},i={stepNums:null,nextBtn:"Next",prevBtn:"Back",doneBtn:"Done",skipBtn:"Skip",closeTooltip:"Close"},o={},a=function(t){this.init(t)},a.prototype={isShowing:!1,currStep:void 0,_createButton:function(t,e){var n=y.createElement("button"),a="hopscotch-nav-button";return n.id=t,e&&(n.innerHTML=e),a+=t.indexOf("prev")>=0?" prev":" next",r.addClass(n,a),n},setPosition:function(t){var e,n,a,s,i,o,l,c=6,u=r.getStepTarget(t),d=this.element,h=this.arrowEl;e=r.getPixelValue(t.width)||this.opt.bubbleWidth,a=r.valOrDefault(t.padding,this.opt.bubblePadding),r.removeClass(d,"fade-in-down fade-in-up fade-in-left fade-in-right"),!t.placement&&t.orientation&&(t.placement=t.orientation),s=u.getBoundingClientRect(),"top"===t.placement?(n=d.offsetHeight,i=s.top-n-this.opt.arrowWidth,o=s.left):"bottom"===t.placement?(i=s.bottom+this.opt.arrowWidth,o=s.left):"left"===t.placement?(i=s.top,o=s.left-e-2*a-2*c-this.opt.arrowWidth):"right"===t.placement&&(i=s.top,o=s.right+this.opt.arrowWidth),l="center"!==t.arrowOffset?r.getPixelValue(t.arrowOffset):t.arrowOffset,l?"top"===t.placement||"bottom"===t.placement?(h.style.top="",h.style.left="center"===l?e/2+a-h.offsetWidth/2+"px":l+"px"):("left"===t.placement||"right"===t.placement)&&(h.style.left="","center"===l?(n=n||d.offsetHeight,h.style.top=n/2+a-h.offsetHeight/2+"px"):h.style.top=l+"px"):(h.style.top="",h.style.left=""),"center"===t.xOffset?o=s.left+u.offsetWidth/2-e/2-a:o+=r.getPixelValue(t.xOffset),"center"===t.yOffset?(n=n||d.offsetHeight,i=s.top+u.offsetHeight/2-n/2-a):i+=r.getPixelValue(t.yOffset),t.fixedElement||(i+=r.getScrollTop(),o+=r.getScrollLeft()),d.style.position=t.fixedElement?"fixed":"absolute",d.style.top=i+"px",d.style.left=o+"px"},_initNavButtons:function(){var t=y.createElement("div");return this.prevBtnEl=this._createButton("hopscotch-prev",r.getI18NString("prevBtn")),this.nextBtnEl=this._createButton("hopscotch-next",r.getI18NString("nextBtn")),this.doneBtnEl=this._createButton("hopscotch-done",r.getI18NString("doneBtn")),this.ctaBtnEl=this._createButton("hopscotch-cta"),r.addClass(this.doneBtnEl,"hide"),t.appendChild(this.prevBtnEl),t.appendChild(this.ctaBtnEl),t.appendChild(this.nextBtnEl),t.appendChild(this.doneBtnEl),r.addEvtListener(this.prevBtnEl,"click",function(){f.prevStep(!0)}),r.addEvtListener(this.nextBtnEl,"click",function(){f.nextStep(!0)}),r.addEvtListener(this.doneBtnEl,"click",function(){f.endTour()}),t.className="hopscotch-actions",this.buttonsEl=t,this.containerEl.appendChild(t),this},_getCloseFn:function(){var t=this;return this.closeFn||(this.closeFn=function(e){t.opt.onClose&&r.invokeCallback(t.opt.onClose),t.opt.id&&!t.opt.isTourBubble?f.getCalloutManager().removeCallout(t.opt.id):t.destroy(),r.evtPreventDefault(e)}),this.closeFn},initCloseButton:function(){var t=y.createElement("a");return t.className="hopscotch-bubble-close",t.href="#",t.title=r.getI18NString("closeTooltip"),t.innerHTML=r.getI18NString("closeTooltip"),this.opt.isTourBubble?r.addEvtListener(t,"click",function(t){var e=f.getCurrStepNum(),n=f.getCurrTour(),a=e===n.steps.length-1;r.invokeEventCallbacks("close"),f.endTour(!0,a),t.preventDefault?t.preventDefault():event&&(event.returnValue=!1)}):r.addEvtListener(t,"click",this._getCloseFn()),r.valOrDefault(this.opt.showCloseButton,!0)||r.addClass(t,"hide"),this.closeBtnEl=t,this.containerEl.appendChild(t),this},_initArrow:function(){var t,e;return this.arrowEl=y.createElement("div"),this.arrowEl.className="hopscotch-bubble-arrow-container",e=y.createElement("div"),e.className="hopscotch-bubble-arrow-border",t=y.createElement("div"),t.className="hopscotch-bubble-arrow",this.arrowEl.appendChild(e),this.arrowEl.appendChild(t),this.element.appendChild(this.arrowEl),this},_setupCTAButton:function(t){var e=this;this._showButton(this.ctaBtnEl,!!t.showCTAButton),t.showCTAButton&&t.ctaLabel&&(this.ctaBtnEl.innerHTML=t.ctaLabel,this._ctaFn=function(){e.opt.isTourBubble||f.getCalloutManager().removeCallout(t.id),t.onCTA&&"function"==typeof t.onCTA&&t.onCTA()},r.addEvtListener(this.ctaBtnEl,"click",this._ctaFn))},_removeCTACallback:function(){this.ctaBtnEl&&this._ctaFn&&(r.removeEvtListener(this.ctaBtnEl,"click",this._ctaFn),this._ctaFn=null)},render:function(t,e,n,a){var s,i,o,l,c=this.element;return t?this.currStep=t:this.currStep&&(t=this.currStep),!t.placement&&t.orientation&&(t.placement=t.orientation),s=r.valOrDefault(t.showNextButton,this.opt.showNextButton),i=r.valOrDefault(t.showPrevButton,this.opt.showPrevButton),this.setTitle(t.title||""),this.setContent(t.content||""),this.opt.isTourBubble&&this.setNum(e),this.placement=t.placement,this.showPrevButton(this.prevBtnEl&&i&&e>0),this.showNextButton(this.nextBtnEl&&s&&!n),this.nextBtnEl.innerHTML=r.getI18NString(t.showSkip?"skipBtn":"nextBtn"),n?r.removeClass(this.doneBtnEl,"hide"):r.addClass(this.doneBtnEl,"hide"),this._setupCTAButton(t),this._setArrow(t.placement),o=r.getPixelValue(t.width)||this.opt.bubbleWidth,l=r.valOrDefault(t.padding,this.opt.bubblePadding),this.containerEl.style.width=o+"px",this.containerEl.style.padding=l+"px",c.style.zIndex=t.zindex||"","top"===t.placement?(c.style.top="-9999px",c.style.left="-9999px",r.removeClass(c,"hide"),this.setPosition(t),r.addClass(c,"hide")):this.setPosition(t),a&&a(!t.fixedElement),this},setTitle:function(t){return t?(this.titleEl.innerHTML=t,r.removeClass(this.titleEl,"hide")):r.addClass(this.titleEl,"hide"),this},setContent:function(t){return t?(this.contentEl.innerHTML=t,r.removeClass(this.contentEl,"hide")):r.addClass(this.contentEl,"hide"),this},setNum:function(t){var e=r.getI18NString("stepNums");e&&t<e.length?t=e[t]:t+=1,this.numberEl.innerHTML=t},_setArrow:function(t){r.removeClass(this.arrowEl,"down up right left"),"top"===t?r.addClass(this.arrowEl,"down"):"bottom"===t?r.addClass(this.arrowEl,"up"):"left"===t?r.addClass(this.arrowEl,"right"):"right"===t&&r.addClass(this.arrowEl,"left")},_getArrowDirection:function(){return"top"===this.placement?"down":"bottom"===this.placement?"up":"left"===this.placement?"right":"right"===this.placement?"left":void 0},show:function(){var t=this,e="fade-in-"+this._getArrowDirection(),n=1e3;return r.removeClass(this.element,"hide"),r.addClass(this.element,e),setTimeout(function(){r.removeClass(t.element,"invisible")},50),setTimeout(function(){r.removeClass(t.element,e)},n),this.isShowing=!0,this},hide:function(t){var e=this.element;return t=r.valOrDefault(t,!0),e.style.top="",e.style.left="",t?(r.addClass(e,"hide"),r.removeClass(e,"invisible")):(r.removeClass(e,"hide"),r.addClass(e,"invisible")),r.removeClass(e,"animate fade-in-up fade-in-down fade-in-right fade-in-left"),this.isShowing=!1,this},_showButton:function(t,e,n){var a="hide";n&&(a="hide-all"),typeof e===p&&(e=!0),e?r.removeClass(t,a):r.addClass(t,a)},showPrevButton:function(t){this._showButton(this.prevBtnEl,t)},showNextButton:function(t){this._showButton(this.nextBtnEl,t)},showCloseButton:function(t){this._showButton(this.closeBtnEl,t)},destroy:function(){var t=this.element;t&&t.parentNode.removeChild(t),this.closeBtnEl&&r.removeEvtListener(this.closeBtnEl,"click",this._getCloseFn()),this.ctaBtnEl&&this.onCTA&&this._removeCTACallback()},updateButtons:function(){this.showPrevButton(this.opt.showPrevButton),this.showNextButton(this.opt.showNextButton),this.showCloseButton(this.opt.showCloseButton),this.prevBtnEl.innerHTML=r.getI18NString("prevBtn"),this.nextBtnEl.innerHTML=r.getI18NString("nextBtn"),this.doneBtnEl.innerHTML=r.getI18NString("doneBtn")},init:function(t){var e,n,a,s=y.createElement("div"),i=y.createElement("div"),o=y.createElement("div"),l=this,c=!1;this.element=s,this.containerEl=i,this.titleEl=y.createElement("h3"),this.contentEl=y.createElement("div"),r.addClass(this.titleEl,"hopscotch-title"),r.addClass(this.contentEl,"hopscotch-content"),a={showPrevButton:d.showPrevButton,showNextButton:d.showNextButton,bubbleWidth:d.bubbleWidth,bubblePadding:d.bubblePadding,arrowWidth:d.arrowWidth,showNumber:!0,isTourBubble:!0},t=typeof t===p?{}:t,r.extend(a,t),this.opt=a,s.className="hopscotch-bubble animated",i.className="hopscotch-bubble-container",a.isTourBubble||(s.className+=" hopscotch-callout"),a.isTourBubble?(this.numberEl=y.createElement("span"),this.numberEl.className="hopscotch-bubble-number",i.appendChild(this.numberEl)):r.addClass(s,"no-number"),o.appendChild(this.titleEl),o.appendChild(this.contentEl),o.className="hopscotch-bubble-content",i.appendChild(o),s.appendChild(i),this._initNavButtons(),this.initCloseButton(),this._initArrow(),e=function(){!c&&l.isShowing&&(c=!0,setTimeout(function(){l.setPosition(l.currStep),c=!1},100))},r.addEvtListener(window,"resize",e),this.hide(),r.documentIsReady()?y.body.appendChild(s):(y.addEventListener?(n=function(){y.removeEventListener("DOMContentLoaded",n),window.removeEventListener("load",n),y.body.appendChild(s)},y.addEventListener("DOMContentLoaded",n,!1)):(n=function(){"complete"===y.readyState&&(y.detachEvent("onreadystatechange",n),window.detachEvent("onload",n),y.body.appendChild(s))},y.attachEvent("onreadystatechange",n)),r.addEvtListener(window,"load",n))}},s=function(){var t={};this.createCallout=function(e){var n;if(!e.id)throw"Must specify a callout id.";if(t[e.id])throw"Callout by that id already exists. Please choose a unique id.";return e.showNextButton=e.showPrevButton=!1,e.isTourBubble=!1,n=new a(e),t[e.id]=n,e.target&&n.render(e,null,null,function(){n.show()}),n},this.getCallout=function(e){return t[e]},this.removeAllCallouts=function(){var e;for(e in t)t.hasOwnProperty(e)&&this.removeCallout(e)},this.removeCallout=function(e){var n=t[e];t[e]=null,n&&n.destroy()}},n=function(t){var e,n,i,u,h,f,g,b,w=this,_=function(t){return e||(e=new a(i)),t&&(r.extend(e.opt,{bubblePadding:k("bubblePadding"),bubbleWidth:k("bubbleWidth"),showNextButton:k("showNextButton"),showPrevButton:k("showPrevButton"),showCloseButton:k("showCloseButton"),arrowWidth:k("arrowWidth")}),e.updateButtons()),e},k=function(t){return"undefined"==typeof i?d[t]:r.valOrDefault(i[t],d[t])},$=function(){var t;return t=0>h||h>=u.steps.length?null:u.steps[h]},C=function(){w.nextStep()},D=function(t){var e,n,a,s,i,o,l=_(),c=l.element,u=r.getPixelValue(c.style.top),d=u+r.getPixelValue(c.offsetHeight),h=r.getStepTarget($()),f=h.getBoundingClientRect(),m=f.top+r.getScrollTop(),g=f.bottom+r.getScrollTop(),b=m>u?u:m,w=d>g?d:g,C=r.getScrollTop(),D=C+r.getWindowHeight(),x=b-k("scrollTopMargin");b>=C&&(b<=C+k("scrollTopMargin")||D>=w)?t&&t():k("smoothScroll")?typeof YAHOO!==p&&typeof YAHOO.env!==p&&typeof YAHOO.env.ua!==p&&typeof YAHOO.util!==p&&typeof YAHOO.util.Scroll!==p?(e=YAHOO.env.ua.webkit?y.body:y.documentElement,a=YAHOO.util.Easing?YAHOO.util.Easing.easeOut:void 0,n=new YAHOO.util.Scroll(e,{scroll:{to:[0,x]}},k("scrollDuration")/1e3,a),n.onComplete.subscribe(t),n.animate()):v?jQuery("body, html").animate({scrollTop:x},k("scrollDuration"),t):(0>x&&(x=0),s=C>b?-1:1,i=Math.abs(C-x)/(k("scrollDuration")/10),(o=function(){var e=r.getScrollTop(),n=e+s*i;return s>0&&n>=x||0>s&&x>=n?(n=x,t&&t(),void window.scrollTo(0,n)):(window.scrollTo(0,n),r.getScrollTop()===e?void(t&&t()):void setTimeout(o,10))})()):(window.scrollTo(0,x),t&&t())},x=function(t,e){var n,a,s;h+t>=0&&h+t<u.steps.length?(h+=t,a=$(),s=function(){n=r.getStepTarget(a),n?e(h):(r.invokeEventCallbacks("error"),x(t,e))},a.delay?setTimeout(s,a.delay):s()):e(-1)},S=function(t,e){var n,a,s,i,o=_(),l=this;if(o.hide()._removeCTACallback(),t=r.valOrDefault(t,!0),n=$(),a=n,s=e>0?a.multipage:h>0&&u.steps[h-1].multipage,i=function(n){var i;return-1===n?this.endTour(!0):(t&&(i=e>0?r.invokeEventCallbacks("next",a.onNext):r.invokeEventCallbacks("prev",a.onPrev)),s?void r.setState(k("cookieName"),u.id+":"+h,1):(i=r.valOrDefault(i,!0),void(i?this.showStep(n):this.endTour(!1))))},!s&&k("skipIfNoElement"))x(e,function(t){i.call(l,t)});else if(h+e>=0&&h+e<u.steps.length){if(h+=e,n=$(),!r.getStepTarget(n)&&!s)return r.invokeEventCallbacks("error"),this.endTour(!0,!1);i.call(this,h)}return this},T=function(t){var e,n,a,s={};for(e in t)t.hasOwnProperty(e)&&"id"!==e&&"steps"!==e&&(s[e]=t[e]);return b.call(this,s,!0),n=r.getState(k("cookieName")),n&&(a=n.split(":"),f=a[0],g=a[1],g=parseInt(g,10)),this},M=function(t,e){var n,a;if(h=t||0,n=$(),a=r.getStepTarget(n))return void e(h);if(!a){if(r.invokeEventCallbacks("error"),k("skipIfNoElement"))return void x(1,e);h=-1,e(h)}},E=function(t){var e,n,a=u.steps[t],s=u.steps,i=s.length,o=u.id+":"+t,l=_(),c=r.getStepTarget(a);n=function(){l.show(),r.invokeEventCallbacks("show",a.onShow)},h=t,l.hide(!1),e=t===i-1,l.render(a,t,e,function(t){t?D(n):n(),a.nextOnTargetClick&&r.addEvtListener(c,"click",C)}),r.setState(k("cookieName"),o,1)},Y=function(t){t&&this.configure(t)};this.getCalloutManager=function(){return typeof n===p&&(n=new s),n},this.startTour=function(t,e){var n,a=this;if(u||(u=t,T.call(this,t)),typeof e!==p){if(e>=u.steps.length)throw"Specified step number out of bounds.";h=e}return r.documentIsReady()?(h||u.id!==f||typeof g===p?h||(h=0):h=g,M(h,function(t){var e=-1!==t&&r.getStepTarget(u.steps[t]);return e?(r.invokeEventCallbacks("start"),n=_(),n.hide(!1),a.isActive=!0,void(r.getStepTarget($())?a.showStep(t):(r.invokeEventCallbacks("error"),k("skipIfNoElement")&&a.nextStep(!1)))):void a.endTour(!1,!1)}),this):(m=!0,this)},this.showStep=function(t){var e=u.steps[t];return e.delay?setTimeout(function(){E(t)},e.delay):E(t),this},this.prevStep=function(t){return S.call(this,t,-1),this},this.nextStep=function(t){var e=$(),n=r.getStepTarget(e);return e.nextOnTargetClick&&r.removeEvtListener(n,"click",C),S.call(this,t,1),this},this.endTour=function(t,e){var n=_();return t=r.valOrDefault(t,!0),e=r.valOrDefault(e,!0),h=0,g=void 0,n.hide(),t&&r.clearState(k("cookieName")),this.isActive&&(this.isActive=!1,u&&e&&r.invokeEventCallbacks("end")),this.removeCallbacks(null,!0),this.resetDefaultOptions(),u=null,this},this.getCurrTour=function(){return u},this.getCurrTarget=function(){return r.getStepTarget($())},this.getCurrStepNum=function(){return h},this.listen=function(t,e,n){return t&&l[t].push({cb:e,fromTour:n}),this},this.unlisten=function(t,e){var n,a,s=l[t];for(n=0,a=s.length;a>n;++n)s[n]===e&&s.splice(n,1);return this},this.removeCallbacks=function(t,e){var n,a,s,i;for(i in l)if(!t||t===i)if(e)for(n=l[i],a=0,s=n.length;s>a;++a)n[a].fromTour&&(n.splice(a--,1),--s);else l[i]=[];return this},this.registerHelper=function(t,e){"string"==typeof t&&"function"==typeof e&&(c[t]=e)},this.unregisterHelper=function(t){c[t]=null},this.invokeHelper=function(t){var e,n,a=[];for(e=1,n=arguments.length;n>e;++e)a.push(arguments[e]);c[t]&&c[t].call(null,a)},this.setCookieName=function(t){return i.cookieName=t,this},this.resetDefaultOptions=function(){return i={},this},this.resetDefaultI18N=function(){return o={},this},this.getState=function(){return r.getState(k("cookieName"))},b=function(t,e){var n,a,s,l,c=["next","prev","start","end","show","error","close"];for(i||this.resetDefaultOptions(),r.extend(i,t),t&&r.extend(o,t.i18n),s=0,l=c.length;l>s;++s)a="on"+c[s].charAt(0).toUpperCase()+c[s].substring(1),t[a]&&this.listen(c[s],t[a],e);return n=_(!0),this},this.configure=function(t){return b.call(this,t,!1)},Y.call(this,t)},f=new n,t[e]=f)}(window,"hopscotch"),/*! - * jQuery Cookie Plugin v1.4.0 - * https://github.com/carhartl/jquery-cookie - * - * Copyright 2013 Klaus Hartl - * Released under the MIT license - */ -function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){function e(t){return r.raw?t:encodeURIComponent(t)}function n(t){return r.raw?t:decodeURIComponent(t)}function a(t){return e(r.json?JSON.stringify(t):String(t))}function s(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(o," ")),r.json?JSON.parse(t):t}catch(e){}}function i(e,n){var a=r.raw?e:s(e);return t.isFunction(n)?n(a):a}var o=/\+/g,r=t.cookie=function(s,o,l){if(void 0!==o&&!t.isFunction(o)){if(l=t.extend({},r.defaults,l),"number"==typeof l.expires){var c=l.expires,u=l.expires=new Date;u.setTime(+u+864e5*c)}return document.cookie=[e(s),"=",a(o),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var d=s?void 0:{},h=document.cookie?document.cookie.split("; "):[],f=0,p=h.length;p>f;f++){var m=h[f].split("="),v=n(m.shift()),g=m.join("=");if(s&&s===v){d=i(g,o);break}s||void 0===(g=i(g))||(d[v]=g)}return d};r.defaults={},t.removeCookie=function(e,n){return void 0===t.cookie(e)?!1:(t.cookie(e,"",t.extend({},n,{expires:-1})),!t.cookie(e))}}),/** - * jquery.mask.js - * @version: v1.6.4 - * @author: Igor Escobar - * - * Created by Igor Escobar on 2012-03-10. Please report any bug at http://blog.igorescobar.com - * - * Copyright (c) 2012 Igor Escobar http://blog.igorescobar.com - * - * The MIT License (http://www.opensource.org/licenses/mit-license.php) - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. - */ -function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(window.jQuery||window.Zepto)}(function(t){"use strict";var e=function(e,n,a){var s,i=this;e=t(e),n="function"==typeof n?n(e.val(),void 0,e,a):n,i.init=function(){a=a||{},i.byPassKeys=[9,16,17,18,36,37,38,39,40,91],i.translation={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}},i.translation=t.extend({},i.translation,a.translation),i=t.extend(!0,{},i,a),e.each(function(){a.maxlength!==!1&&e.attr("maxlength",n.length),a.placeholder&&e.attr("placeholder",a.placeholder),e.attr("autocomplete","off"),o.destroyEvents(),o.events();var t=o.getCaret();o.val(o.getMasked()),o.setCaret(t+o.getMaskCharactersBeforeCount(t,!0))})};var o={getCaret:function(){var t,n=0,a=e.get(0),s=document.selection,i=a.selectionStart;return s&&!~navigator.appVersion.indexOf("MSIE 10")?(t=s.createRange(),t.moveStart("character",e.is("input")?-e.val().length:-e.text().length),n=t.text.length):(i||"0"===i)&&(n=i),n},setCaret:function(t){if(e.is(":focus")){var n,a=e.get(0);a.setSelectionRange?a.setSelectionRange(t,t):a.createTextRange&&(n=a.createTextRange(),n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select())}},events:function(){e.on("keydown.mask",function(){s=o.val()}),e.on("keyup.mask",o.behaviour),e.on("paste.mask drop.mask",function(){setTimeout(function(){e.keydown().keyup()},100)}),e.on("change.mask",function(){e.data("changeCalled",!0)}),e.on("blur.mask",function(e){var n=t(e.target);n.prop("defaultValue")!==n.val()&&(n.prop("defaultValue",n.val()),n.data("changeCalled")||n.trigger("change")),n.data("changeCalled",!1)}),e.on("focusout.mask",function(){a.clearIfNotMatch&&o.val().length<n.length&&o.val("")})},destroyEvents:function(){e.off("keydown.mask keyup.mask paste.mask drop.mask change.mask blur.mask focusout.mask").removeData("changeCalled")},val:function(t){var n=e.is("input");return arguments.length>0?n?e.val(t):e.text(t):n?e.val():e.text()},getMaskCharactersBeforeCount:function(t,e){for(var a=0,s=0,o=n.length;o>s&&t>s;s++)i.translation[n.charAt(s)]||(t=e?t+1:t,a++);return a},determineCaretPos:function(t,e,a,s){var r=i.translation[n.charAt(Math.min(t-1,n.length-1))];return r?Math.min(t+a-e-s,a):o.determineCaretPos(t+1,e,a,s)},behaviour:function(e){e=e||window.event;var n=e.keyCode||e.which;if(-1===t.inArray(n,i.byPassKeys)){var a=o.getCaret(),s=o.val(),r=s.length,l=r>a,c=o.getMasked(),u=c.length,d=o.getMaskCharactersBeforeCount(u-1)-o.getMaskCharactersBeforeCount(r-1);return c!==s&&o.val(c),!l||65===n&&e.ctrlKey||(8!==n&&46!==n&&(a=o.determineCaretPos(a,r,u,d)),o.setCaret(a)),o.callbacks(e)}},getMasked:function(t){var e,s,r=[],l=o.val(),c=0,u=n.length,d=0,h=l.length,f=1,p="push",m=-1;for(a.reverse?(p="unshift",f=-1,e=0,c=u-1,d=h-1,s=function(){return c>-1&&d>-1}):(e=u-1,s=function(){return u>c&&h>d});s();){var v=n.charAt(c),g=l.charAt(d),y=i.translation[v];y?(g.match(y.pattern)?(r[p](g),y.recursive&&(-1===m?m=c:c===e&&(c=m-f),e===m&&(c-=f)),c+=f):y.optional&&(c+=f,d-=f),d+=f):(t||r[p](v),g===v&&(d+=f),c+=f)}var b=n.charAt(e);return u!==h+1||i.translation[b]||r.push(b),r.join("")},callbacks:function(t){var i=o.val(),r=o.val()!==s;r===!0&&"function"==typeof a.onChange&&a.onChange(i,t,e,a),r===!0&&"function"==typeof a.onKeyPress&&a.onKeyPress(i,t,e,a),"function"==typeof a.onComplete&&i.length===n.length&&a.onComplete(i,t,e,a)}};i.remove=function(){var t=o.getCaret(),e=o.getMaskCharactersBeforeCount(t);o.destroyEvents(),o.val(i.getCleanVal()).removeAttr("maxlength"),o.setCaret(t-e)},i.getCleanVal=function(){return o.getMasked(!0)},i.init()};t.fn.mask=function(n,a){return this.unmask(),this.each(function(){t(this).data("mask",new e(this,n,a))})},t.fn.unmask=function(){return this.each(function(){try{t(this).data("mask").remove()}catch(e){}})},t.fn.cleanVal=function(){return t(this).data("mask").getCleanVal()},t("*[data-mask]").each(function(){var e=t(this),n={},a="data-mask-";"true"===e.attr(a+"reverse")&&(n.reverse=!0),"false"===e.attr(a+"maxlength")&&(n.maxlength=!1),"true"===e.attr(a+"clearifnotmatch")&&(n.clearIfNotMatch=!0),e.mask(e.attr("data-mask"),n)})}),//! moment.js -//! version : 2.5.1 -//! authors : Tim Wood, Iskren Chernev, Moment.js contributors -//! license : MIT -//! momentjs.com -function(t){function e(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function n(t,e){return function(n){return u(t.call(this,n),e)}}function a(t,e){return function(n){return this.lang().ordinal(t.call(this,n),e)}}function s(){}function i(t){k(t),r(this,t)}function o(t){var e=v(t),n=e.year||0,a=e.month||0,s=e.week||0,i=e.day||0,o=e.hour||0,r=e.minute||0,l=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*l+6e4*r+36e5*o,this._days=+i+7*s,this._months=+a+12*n,this._data={},this._bubble()}function r(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return e.hasOwnProperty("toString")&&(t.toString=e.toString),e.hasOwnProperty("valueOf")&&(t.valueOf=e.valueOf),t}function l(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&ve.hasOwnProperty(e)&&(n[e]=t[e]);return n}function c(t){return 0>t?Math.ceil(t):Math.floor(t)}function u(t,e,n){for(var a=""+Math.abs(t),s=t>=0;a.length<e;)a="0"+a;return(s?n?"+":"":"-")+a}function d(t,e,n,a){var s,i,o=e._milliseconds,r=e._days,l=e._months;o&&t._d.setTime(+t._d+o*n),(r||l)&&(s=t.minute(),i=t.hour()),r&&t.date(t.date()+r*n),l&&t.month(t.month()+l*n),o&&!a&&ae.updateOffset(t),(r||l)&&(t.minute(s),t.hour(i))}function h(t){return"[object Array]"===Object.prototype.toString.call(t)}function f(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function p(t,e,n){var a,s=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),o=0;for(a=0;s>a;a++)(n&&t[a]!==e[a]||!n&&y(t[a])!==y(e[a]))&&o++;return o+i}function m(t){if(t){var e=t.toLowerCase().replace(/(.)s$/,"$1");t=Ue[t]||Re[e]||e}return t}function v(t){var e,n,a={};for(n in t)t.hasOwnProperty(n)&&(e=m(n),e&&(a[e]=t[n]));return a}function g(e){var n,a;if(0===e.indexOf("week"))n=7,a="day";else{if(0!==e.indexOf("month"))return;n=12,a="month"}ae[e]=function(s,i){var o,r,l=ae.fn._lang[e],c=[];if("number"==typeof s&&(i=s,s=t),r=function(t){var e=ae().utc().set(a,t);return l.call(ae.fn._lang,e,s||"")},null!=i)return r(i);for(o=0;n>o;o++)c.push(r(o));return c}}function y(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function b(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function w(t){return _(t)?366:365}function _(t){return t%4===0&&t%100!==0||t%400===0}function k(t){var e;t._a&&-2===t._pf.overflow&&(e=t._a[ce]<0||t._a[ce]>11?ce:t._a[ue]<1||t._a[ue]>b(t._a[le],t._a[ce])?ue:t._a[de]<0||t._a[de]>23?de:t._a[he]<0||t._a[he]>59?he:t._a[fe]<0||t._a[fe]>59?fe:t._a[pe]<0||t._a[pe]>999?pe:-1,t._pf._overflowDayOfYear&&(le>e||e>ue)&&(e=ue),t._pf.overflow=e)}function $(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length)),t._isValid}function C(t){return t?t.toLowerCase().replace("_","-"):t}function D(t,e){return e._isUTC?ae(t).zone(e._offset||0):ae(t).local()}function x(t,e){return e.abbr=t,me[t]||(me[t]=new s),me[t].set(e),me[t]}function S(t){delete me[t]}function T(t){var e,n,a,s,i=0,o=function(t){if(!me[t]&&ge)try{require("./lang/"+t)}catch(e){}return me[t]};if(!t)return ae.fn._lang;if(!h(t)){if(n=o(t))return n;t=[t]}for(;i<t.length;){for(s=C(t[i]).split("-"),e=s.length,a=C(t[i+1]),a=a?a.split("-"):null;e>0;){if(n=o(s.slice(0,e).join("-")))return n;if(a&&a.length>=e&&p(s,a,!0)>=e-1)break;e--}i++}return ae.fn._lang}function M(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function E(t){var e,n,a=t.match(_e);for(e=0,n=a.length;n>e;e++)a[e]=Je[a[e]]?Je[a[e]]:M(a[e]);return function(s){var i="";for(e=0;n>e;e++)i+=a[e]instanceof Function?a[e].call(s,t):a[e];return i}}function Y(t,e){return t.isValid()?(e=O(e,t.lang()),Ze[e]||(Ze[e]=E(e)),Ze[e](t)):t.lang().invalidDate()}function O(t,e){function n(t){return e.longDateFormat(t)||t}var a=5;for(ke.lastIndex=0;a>=0&&ke.test(t);)t=t.replace(ke,n),ke.lastIndex=0,a-=1;return t}function B(t,e){var n,a=e._strict;switch(t){case"DDDD":return Ae;case"YYYY":case"GGGG":case"gggg":return a?Ne:De;case"Y":case"G":case"g":return Le;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return a?Pe:xe;case"S":if(a)return Oe;case"SS":if(a)return Be;case"SSS":if(a)return Ae;case"DDD":return Ce;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Te;case"a":case"A":return T(e._l)._meridiemParse;case"X":return Ye;case"Z":case"ZZ":return Me;case"T":return Ee;case"SSSS":return Se;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return a?Be:$e;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return $e;default:return n=new RegExp(F(H(t.replace("\\","")),"i"))}}function A(t){t=t||"";var e=t.match(Me)||[],n=e[e.length-1]||[],a=(n+"").match(je)||["-",0,0],s=+(60*a[1])+y(a[2]);return"+"===a[0]?-s:s}function N(t,e,n){var a,s=n._a;switch(t){case"M":case"MM":null!=e&&(s[ce]=y(e)-1);break;case"MMM":case"MMMM":a=T(n._l).monthsParse(e),null!=a?s[ce]=a:n._pf.invalidMonth=e;break;case"D":case"DD":null!=e&&(s[ue]=y(e));break;case"DDD":case"DDDD":null!=e&&(n._dayOfYear=y(e));break;case"YY":s[le]=y(e)+(y(e)>68?1900:2e3);break;case"YYYY":case"YYYYY":case"YYYYYY":s[le]=y(e);break;case"a":case"A":n._isPm=T(n._l).isPM(e);break;case"H":case"HH":case"h":case"hh":s[de]=y(e);break;case"m":case"mm":s[he]=y(e);break;case"s":case"ss":s[fe]=y(e);break;case"S":case"SS":case"SSS":case"SSSS":s[pe]=y(1e3*("0."+e));break;case"X":n._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=A(e);break;case"w":case"ww":case"W":case"WW":case"d":case"dd":case"ddd":case"dddd":case"e":case"E":t=t.substr(0,1);case"gg":case"gggg":case"GG":case"GGGG":case"GGGGG":t=t.substr(0,2),e&&(n._w=n._w||{},n._w[t]=e)}}function P(t){var e,n,a,s,i,o,r,l,c,u,d=[];if(!t._d){for(a=I(t),t._w&&null==t._a[ue]&&null==t._a[ce]&&(i=function(e){var n=parseInt(e,10);return e?e.length<3?n>68?1900+n:2e3+n:n:null==t._a[le]?ae().weekYear():t._a[le]},o=t._w,null!=o.GG||null!=o.W||null!=o.E?r=Q(i(o.GG),o.W||1,o.E,4,1):(l=T(t._l),c=null!=o.d?Z(o.d,l):null!=o.e?parseInt(o.e,10)+l._week.dow:0,u=parseInt(o.w,10)||1,null!=o.d&&c<l._week.dow&&u++,r=Q(i(o.gg),u,c,l._week.doy,l._week.dow)),t._a[le]=r.year,t._dayOfYear=r.dayOfYear),t._dayOfYear&&(s=null==t._a[le]?a[le]:t._a[le],t._dayOfYear>w(s)&&(t._pf._overflowDayOfYear=!0),n=R(s,0,t._dayOfYear),t._a[ce]=n.getUTCMonth(),t._a[ue]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=d[e]=a[e];for(;7>e;e++)t._a[e]=d[e]=null==t._a[e]?2===e?1:0:t._a[e];d[de]+=y((t._tzm||0)/60),d[he]+=y((t._tzm||0)%60),t._d=(t._useUTC?R:U).apply(null,d)}}function L(t){var e;t._d||(e=v(t._i),t._a=[e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond],P(t))}function I(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function W(t){t._a=[],t._pf.empty=!0;var e,n,a,s,i,o=T(t._l),r=""+t._i,l=r.length,c=0;for(a=O(t._f,o).match(_e)||[],e=0;e<a.length;e++)s=a[e],n=(r.match(B(s,t))||[])[0],n&&(i=r.substr(0,r.indexOf(n)),i.length>0&&t._pf.unusedInput.push(i),r=r.slice(r.indexOf(n)+n.length),c+=n.length),Je[s]?(n?t._pf.empty=!1:t._pf.unusedTokens.push(s),N(s,n,t)):t._strict&&!n&&t._pf.unusedTokens.push(s);t._pf.charsLeftOver=l-c,r.length>0&&t._pf.unusedInput.push(r),t._isPm&&t._a[de]<12&&(t._a[de]+=12),t._isPm===!1&&12===t._a[de]&&(t._a[de]=0),P(t),k(t)}function H(t){return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,a,s){return e||n||a||s})}function F(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function j(t){var n,a,s,i,o;if(0===t._f.length)return t._pf.invalidFormat=!0,void(t._d=new Date(0/0));for(i=0;i<t._f.length;i++)o=0,n=r({},t),n._pf=e(),n._f=t._f[i],W(n),$(n)&&(o+=n._pf.charsLeftOver,o+=10*n._pf.unusedTokens.length,n._pf.score=o,(null==s||s>o)&&(s=o,a=n));r(t,a||n)}function z(t){var e,n,a=t._i,s=Ie.exec(a);if(s){for(t._pf.iso=!0,e=0,n=He.length;n>e;e++)if(He[e][1].exec(a)){t._f=He[e][0]+(s[6]||" ");break}for(e=0,n=Fe.length;n>e;e++)if(Fe[e][1].exec(a)){t._f+=Fe[e][0];break}a.match(Me)&&(t._f+="Z"),W(t)}else t._d=new Date(a)}function G(e){var n=e._i,a=ye.exec(n);n===t?e._d=new Date:a?e._d=new Date(+a[1]):"string"==typeof n?z(e):h(n)?(e._a=n.slice(0),P(e)):f(n)?e._d=new Date(+n):"object"==typeof n?L(e):e._d=new Date(n)}function U(t,e,n,a,s,i,o){var r=new Date(t,e,n,a,s,i,o);return 1970>t&&r.setFullYear(t),r}function R(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function Z(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function V(t,e,n,a,s){return s.relativeTime(e||1,!!n,t,a)}function q(t,e,n){var a=re(Math.abs(t)/1e3),s=re(a/60),i=re(s/60),o=re(i/24),r=re(o/365),l=45>a&&["s",a]||1===s&&["m"]||45>s&&["mm",s]||1===i&&["h"]||22>i&&["hh",i]||1===o&&["d"]||25>=o&&["dd",o]||45>=o&&["M"]||345>o&&["MM",re(o/30)]||1===r&&["y"]||["yy",r];return l[2]=e,l[3]=t>0,l[4]=n,V.apply({},l)}function J(t,e,n){var a,s=n-e,i=n-t.day();return i>s&&(i-=7),s-7>i&&(i+=7),a=ae(t).add("d",i),{week:Math.ceil(a.dayOfYear()/7),year:a.year()}}function Q(t,e,n,a,s){var i,o,r=R(t,0,1).getUTCDay();return n=null!=n?n:s,i=s-r+(r>a?7:0)-(s>r?7:0),o=7*(e-1)+(n-s)+i+1,{year:o>0?t:t-1,dayOfYear:o>0?o:w(t-1)+o}}function X(t){var e=t._i,n=t._f;return null===e?ae.invalid({nullInput:!0}):("string"==typeof e&&(t._i=e=T().preparse(e)),ae.isMoment(e)?(t=l(e),t._d=new Date(+e._d)):n?h(n)?j(t):W(t):G(t),new i(t))}function K(t,e){ae.fn[t]=ae.fn[t+"s"]=function(t){var n=this._isUTC?"UTC":"";return null!=t?(this._d["set"+n+e](t),ae.updateOffset(this),this):this._d["get"+n+e]()}}function te(t){ae.duration.fn[t]=function(){return this._data[t]}}function ee(t,e){ae.duration.fn["as"+t]=function(){return+this/e}}function ne(t){var e=!1,n=ae;"undefined"==typeof ender&&(t?(oe.moment=function(){return!e&&console&&console.warn&&(e=!0,console.warn("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.")),n.apply(null,arguments)},r(oe.moment,n)):oe.moment=ae)}for(var ae,se,ie="2.5.1",oe=this,re=Math.round,le=0,ce=1,ue=2,de=3,he=4,fe=5,pe=6,me={},ve={_isAMomentObject:null,_i:null,_f:null,_l:null,_strict:null,_isUTC:null,_offset:null,_pf:null,_lang:null},ge="undefined"!=typeof module&&module.exports&&"undefined"!=typeof require,ye=/^\/?Date\((\-?\d+)/i,be=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,we=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,_e=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,ke=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,$e=/\d\d?/,Ce=/\d{1,3}/,De=/\d{1,4}/,xe=/[+\-]?\d{1,6}/,Se=/\d+/,Te=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Me=/Z|[\+\-]\d\d:?\d\d/gi,Ee=/T/i,Ye=/[\+\-]?\d+(\.\d{1,3})?/,Oe=/\d/,Be=/\d\d/,Ae=/\d{3}/,Ne=/\d{4}/,Pe=/[+-]?\d{6}/,Le=/[+-]?\d+/,Ie=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,We="YYYY-MM-DDTHH:mm:ssZ",He=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Fe=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d{1,3}/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],je=/([\+\-]|\d\d)/gi,ze="Date|Hours|Minutes|Seconds|Milliseconds".split("|"),Ge={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},Ue={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},Re={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},Ze={},Ve="DDD w W M D d".split(" "),qe="M D H h m s w W".split(" "),Je={M:function(){return this.month()+1},MMM:function(t){return this.lang().monthsShort(this,t)},MMMM:function(t){return this.lang().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.lang().weekdaysMin(this,t)},ddd:function(t){return this.lang().weekdaysShort(this,t)},dddd:function(t){return this.lang().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return u(this.year()%100,2)},YYYY:function(){return u(this.year(),4)},YYYYY:function(){return u(this.year(),5)},YYYYYY:function(){var t=this.year(),e=t>=0?"+":"-";return e+u(Math.abs(t),6)},gg:function(){return u(this.weekYear()%100,2)},gggg:function(){return u(this.weekYear(),4)},ggggg:function(){return u(this.weekYear(),5)},GG:function(){return u(this.isoWeekYear()%100,2)},GGGG:function(){return u(this.isoWeekYear(),4)},GGGGG:function(){return u(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return y(this.milliseconds()/100)},SS:function(){return u(y(this.milliseconds()/10),2)},SSS:function(){return u(this.milliseconds(),3)},SSSS:function(){return u(this.milliseconds(),3)},Z:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+u(y(t/60),2)+":"+u(y(t)%60,2)},ZZ:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+u(y(t/60),2)+u(y(t)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},Qe=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];Ve.length;)se=Ve.pop(),Je[se+"o"]=a(Je[se],se);for(;qe.length;)se=qe.pop(),Je[se+se]=n(Je[se],2);for(Je.DDDD=n(Je.DDD,3),r(s.prototype,{set:function(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t){var e,n,a;for(this._monthsParse||(this._monthsParse=[]),e=0;12>e;e++)if(this._monthsParse[e]||(n=ae.utc([2e3,e]),a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[e]=new RegExp(a.replace(".",""),"i")),this._monthsParse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,n,a;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e++)if(this._weekdaysParse[e]||(n=ae([2e3,1]).day(e),a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(a.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e){var n=this._calendar[t];return"function"==typeof n?n.apply(e):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e,n,a){var s=this._relativeTime[n];return"function"==typeof s?s(t,e,n,a):s.replace(/%d/i,t)},pastFuture:function(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},postformat:function(t){return t},week:function(t){return J(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),ae=function(n,a,s,i){var o;return"boolean"==typeof s&&(i=s,s=t),o={},o._isAMomentObject=!0,o._i=n,o._f=a,o._l=s,o._strict=i,o._isUTC=!1,o._pf=e(),X(o)},ae.utc=function(n,a,s,i){var o;return"boolean"==typeof s&&(i=s,s=t),o={},o._isAMomentObject=!0,o._useUTC=!0,o._isUTC=!0,o._l=s,o._i=n,o._f=a,o._strict=i,o._pf=e(),X(o).utc()},ae.unix=function(t){return ae(1e3*t)},ae.duration=function(t,e){var n,a,s,i=t,r=null;return ae.isDuration(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(i={},e?i[e]=t:i.milliseconds=t):(r=be.exec(t))?(n="-"===r[1]?-1:1,i={y:0,d:y(r[ue])*n,h:y(r[de])*n,m:y(r[he])*n,s:y(r[fe])*n,ms:y(r[pe])*n}):(r=we.exec(t))&&(n="-"===r[1]?-1:1,s=function(t){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*n},i={y:s(r[2]),M:s(r[3]),d:s(r[4]),h:s(r[5]),m:s(r[6]),s:s(r[7]),w:s(r[8])}),a=new o(i),ae.isDuration(t)&&t.hasOwnProperty("_lang")&&(a._lang=t._lang),a},ae.version=ie,ae.defaultFormat=We,ae.updateOffset=function(){},ae.lang=function(t,e){var n;return t?(e?x(C(t),e):null===e?(S(t),t="en"):me[t]||T(t),n=ae.duration.fn._lang=ae.fn._lang=T(t),n._abbr):ae.fn._lang._abbr},ae.langData=function(t){return t&&t._lang&&t._lang._abbr&&(t=t._lang._abbr),T(t)},ae.isMoment=function(t){return t instanceof i||null!=t&&t.hasOwnProperty("_isAMomentObject")},ae.isDuration=function(t){return t instanceof o},se=Qe.length-1;se>=0;--se)g(Qe[se]);for(ae.normalizeUnits=function(t){return m(t)},ae.invalid=function(t){var e=ae.utc(0/0);return null!=t?r(e._pf,t):e._pf.userInvalidated=!0,e},ae.parseZone=function(t){return ae(t).parseZone()},r(ae.fn=i.prototype,{clone:function(){return ae(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var t=ae(this).utc();return 0<t.year()&&t.year()<=9999?Y(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):Y(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return $(this)},isDSTShifted:function(){return this._a?this.isValid()&&p(this._a,(this._isUTC?ae.utc(this._a):ae(this._a)).toArray())>0:!1},parsingFlags:function(){return r({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},format:function(t){var e=Y(this,t||ae.defaultFormat);return this.lang().postformat(e)},add:function(t,e){var n;return n="string"==typeof t?ae.duration(+e,t):ae.duration(t,e),d(this,n,1),this},subtract:function(t,e){var n;return n="string"==typeof t?ae.duration(+e,t):ae.duration(t,e),d(this,n,-1),this},diff:function(t,e,n){var a,s,i=D(t,this),o=6e4*(this.zone()-i.zone());return e=m(e),"year"===e||"month"===e?(a=432e5*(this.daysInMonth()+i.daysInMonth()),s=12*(this.year()-i.year())+(this.month()-i.month()),s+=(this-ae(this).startOf("month")-(i-ae(i).startOf("month")))/a,s-=6e4*(this.zone()-ae(this).startOf("month").zone()-(i.zone()-ae(i).startOf("month").zone()))/a,"year"===e&&(s/=12)):(a=this-i,s="second"===e?a/1e3:"minute"===e?a/6e4:"hour"===e?a/36e5:"day"===e?(a-o)/864e5:"week"===e?(a-o)/6048e5:a),n?s:c(s)},from:function(t,e){return ae.duration(this.diff(t)).lang(this.lang()._abbr).humanize(!e)},fromNow:function(t){return this.from(ae(),t)},calendar:function(){var t=D(ae(),this).startOf("day"),e=this.diff(t,"days",!0),n=-6>e?"sameElse":-1>e?"lastWeek":0>e?"lastDay":1>e?"sameDay":2>e?"nextDay":7>e?"nextWeek":"sameElse";return this.format(this.lang().calendar(n,this))},isLeapYear:function(){return _(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Z(t,this.lang()),this.add({d:t-e})):e},month:function(t){var e,n=this._isUTC?"UTC":"";return null!=t?"string"==typeof t&&(t=this.lang().monthsParse(t),"number"!=typeof t)?this:(e=this.date(),this.date(1),this._d["set"+n+"Month"](t),this.date(Math.min(e,this.daysInMonth())),ae.updateOffset(this),this):this._d["get"+n+"Month"]()},startOf:function(t){switch(t=m(t)){case"year":this.month(0);case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t?this.weekday(0):"isoWeek"===t&&this.isoWeekday(1),this},endOf:function(t){return t=m(t),this.startOf(t).add("isoWeek"===t?"week":t,1).subtract("ms",1)},isAfter:function(t,e){return e="undefined"!=typeof e?e:"millisecond",+this.clone().startOf(e)>+ae(t).startOf(e)},isBefore:function(t,e){return e="undefined"!=typeof e?e:"millisecond",+this.clone().startOf(e)<+ae(t).startOf(e)},isSame:function(t,e){return e=e||"ms",+this.clone().startOf(e)===+D(t,this).startOf(e)},min:function(t){return t=ae.apply(null,arguments),this>t?this:t},max:function(t){return t=ae.apply(null,arguments),t>this?this:t},zone:function(t){var e=this._offset||0;return null==t?this._isUTC?e:this._d.getTimezoneOffset():("string"==typeof t&&(t=A(t)),Math.abs(t)<16&&(t=60*t),this._offset=t,this._isUTC=!0,e!==t&&d(this,ae.duration(e-t,"m"),1,!0),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(t){return t=t?ae(t).zone():0,(this.zone()-t)%60===0},daysInMonth:function(){return b(this.year(),this.month())},dayOfYear:function(t){var e=re((ae(this).startOf("day")-ae(this).startOf("year"))/864e5)+1;return null==t?e:this.add("d",t-e)},quarter:function(){return Math.ceil((this.month()+1)/3)},weekYear:function(t){var e=J(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==t?e:this.add("y",t-e)},isoWeekYear:function(t){var e=J(this,1,4).year;return null==t?e:this.add("y",t-e)},week:function(t){var e=this.lang().week(this);return null==t?e:this.add("d",7*(t-e))},isoWeek:function(t){var e=J(this,1,4).week;return null==t?e:this.add("d",7*(t-e))},weekday:function(t){var e=(this.day()+7-this.lang()._week.dow)%7;return null==t?e:this.add("d",t-e)},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},get:function(t){return t=m(t),this[t]()},set:function(t,e){return t=m(t),"function"==typeof this[t]&&this[t](e),this},lang:function(e){return e===t?this._lang:(this._lang=T(e),this)}}),se=0;se<ze.length;se++)K(ze[se].toLowerCase().replace(/s$/,""),ze[se]);K("year","FullYear"),ae.fn.days=ae.fn.day,ae.fn.months=ae.fn.month,ae.fn.weeks=ae.fn.week,ae.fn.isoWeeks=ae.fn.isoWeek,ae.fn.toJSON=ae.fn.toISOString,r(ae.duration.fn=o.prototype,{_bubble:function(){var t,e,n,a,s=this._milliseconds,i=this._days,o=this._months,r=this._data;r.milliseconds=s%1e3,t=c(s/1e3),r.seconds=t%60,e=c(t/60),r.minutes=e%60,n=c(e/60),r.hours=n%24,i+=c(n/24),r.days=i%30,o+=c(i/30),r.months=o%12,a=c(o/12),r.years=a},weeks:function(){return c(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)},humanize:function(t){var e=+this,n=q(e,!t,this.lang());return t&&(n=this.lang().pastFuture(e,n)),this.lang().postformat(n)},add:function(t,e){var n=ae.duration(t,e);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(t,e){var n=ae.duration(t,e);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(t){return t=m(t),this[t.toLowerCase()+"s"]()},as:function(t){return t=m(t),this["as"+t.charAt(0).toUpperCase()+t.slice(1)+"s"]()},lang:ae.fn.lang,toIsoString:function(){var t=Math.abs(this.years()),e=Math.abs(this.months()),n=Math.abs(this.days()),a=Math.abs(this.hours()),s=Math.abs(this.minutes()),i=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(a||s||i?"T":"")+(a?a+"H":"")+(s?s+"M":"")+(i?i+"S":""):"P0D"}});for(se in Ge)Ge.hasOwnProperty(se)&&(ee(se,Ge[se]),te(se.toLowerCase()));ee("Weeks",6048e5),ae.duration.fn.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years()},ae.lang("en",{ordinal:function(t){var e=t%10,n=1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),ge?(module.exports=ae,ne(!0)):"function"==typeof define&&define.amd?define("moment",function(e,n,a){return a.config&&a.config()&&a.config().noGlobal!==!0&&ne(a.config().noGlobal===t),ae}):ne()}.call(this),/*! - * Pikaday - * - * Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/dbushell/Pikaday - */ -function(t,e){"use strict";var n;if("object"==typeof exports){try{n=require("moment")}catch(a){}module.exports=e(n)}else"function"==typeof define&&define.amd?define(function(t){var a="moment";return n=t.defined&&t.defined(a)?t(a):void 0,e(n)}):t.Pikaday=e(t.moment)}(this,function(t){"use strict";var e="function"==typeof t,n=!!window.addEventListener,a=window.document,s=window.setTimeout,i=function(t,e,a,s){n?t.addEventListener(e,a,!!s):t.attachEvent("on"+e,a)},o=function(t,e,a,s){n?t.removeEventListener(e,a,!!s):t.detachEvent("on"+e,a)},r=function(t,e,n){var s;a.createEvent?(s=a.createEvent("HTMLEvents"),s.initEvent(e,!0,!1),s=y(s,n),t.dispatchEvent(s)):a.createEventObject&&(s=a.createEventObject(),s=y(s,n),t.fireEvent("on"+e,s))},l=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},c=function(t,e){return-1!==(" "+t.className+" ").indexOf(" "+e+" ")},u=function(t,e){c(t,e)||(t.className=""===t.className?e:t.className+" "+e)},d=function(t,e){t.className=l((" "+t.className+" ").replace(" "+e+" "," "))},h=function(t){return/Array/.test(Object.prototype.toString.call(t))},f=function(t){return/Date/.test(Object.prototype.toString.call(t))&&!isNaN(t.getTime())},p=function(t){return t%4===0&&t%100!==0||t%400===0},m=function(t,e){return[31,p(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]},v=function(t){f(t)&&t.setHours(0,0,0,0)},g=function(t,e){return t.getTime()===e.getTime()},y=function(t,e,n){var a,s;for(a in e)s=void 0!==t[a],s&&"object"==typeof e[a]&&void 0===e[a].nodeName?f(e[a])?n&&(t[a]=new Date(e[a].getTime())):h(e[a])?n&&(t[a]=e[a].slice(0)):t[a]=y({},e[a],n):(n||!s)&&(t[a]=e[a]);return t},b=function(t){return t.month<0&&(t.year-=Math.ceil(Math.abs(t.month)/12),t.month+=12),t.month>11&&(t.year+=Math.floor(Math.abs(t.month)/12),t.month-=12),t},w={field:null,bound:void 0,position:"bottom left",format:"YYYY-MM-DD",defaultDate:null,setDefaultDate:!1,firstDay:0,minDate:null,maxDate:null,yearRange:10,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,numberOfMonths:1,mainCalendar:"left",i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},onSelect:null,onOpen:null,onClose:null,onDraw:null},_=function(t,e,n){for(e+=t.firstDay;e>=7;)e-=7;return n?t.i18n.weekdaysShort[e]:t.i18n.weekdays[e]},k=function(t,e,n,a,s,i,o){if(o)return'<td class="is-empty"></td>';var r=[];return i&&r.push("is-disabled"),s&&r.push("is-today"),a&&r.push("is-selected"),'<td data-day="'+t+'" class="'+r.join(" ")+'"><button class="pika-button pika-day" type="button" data-pika-year="'+n+'" data-pika-month="'+e+'" data-pika-day="'+t+'">'+t+"</button></td>"},$=function(t,e){return"<tr>"+(e?t.reverse():t).join("")+"</tr>"},C=function(t){return"<tbody>"+t.join("")+"</tbody>"},D=function(t){var e,n=[];for(e=0;7>e;e++)n.push('<th scope="col"><abbr title="'+_(t,e)+'">'+_(t,e,!0)+"</abbr></th>");return"<thead>"+(t.isRTL?n.reverse():n).join("")+"</thead>"},x=function(t,e,n,a,s){var i,o,r,l,c,u=t._o,d=n===u.minYear,f=n===u.maxYear,p='<div class="pika-title">',m=!0,v=!0;for(r=[],i=0;12>i;i++)r.push('<option value="'+(n===s?i-e:12+i-e)+'"'+(i===a?" selected":"")+(d&&i<u.minMonth||f&&i>u.maxMonth?"disabled":"")+">"+u.i18n.months[i]+"</option>");for(l='<div class="pika-label">'+u.i18n.months[a]+'<select class="pika-select pika-select-month">'+r.join("")+"</select></div>",h(u.yearRange)?(i=u.yearRange[0],o=u.yearRange[1]+1):(i=n-u.yearRange,o=1+n+u.yearRange),r=[];o>i&&i<=u.maxYear;i++)i>=u.minYear&&r.push('<option value="'+i+'"'+(i===n?" selected":"")+">"+i+"</option>");return c='<div class="pika-label">'+n+u.yearSuffix+'<select class="pika-select pika-select-year">'+r.join("")+"</select></div>",p+=u.showMonthAfterYear?c+l:l+c,d&&(0===a||u.minMonth>=a)&&(m=!1),f&&(11===a||u.maxMonth<=a)&&(v=!1),0===e&&(p+='<button class="pika-prev'+(m?"":" is-disabled")+'" type="button">'+u.i18n.previousMonth+"</button>"),e===t._o.numberOfMonths-1&&(p+='<button class="pika-next'+(v?"":" is-disabled")+'" type="button">'+u.i18n.nextMonth+"</button>"),p+="</div>"},S=function(t,e){return'<table cellpadding="0" cellspacing="0" class="pika-table">'+D(t)+C(e)+"</table>"},T=function(o){var r=this,l=r.config(o);r._onMouseDown=function(t){if(r._v){t=t||window.event;var e=t.target||t.srcElement;if(e){if(!c(e,"is-disabled")){if(c(e,"pika-button")&&!c(e,"is-empty"))return r.setDate(new Date(e.getAttribute("data-pika-year"),e.getAttribute("data-pika-month"),e.getAttribute("data-pika-day"))),void(l.bound&&s(function(){r.hide()},100));c(e,"pika-prev")?r.prevMonth():c(e,"pika-next")&&r.nextMonth()}if(c(e,"pika-select"))r._c=!0;else{if(!t.preventDefault)return t.returnValue=!1,!1;t.preventDefault()}}}},r._onChange=function(t){t=t||window.event;var e=t.target||t.srcElement;e&&(c(e,"pika-select-month")?r.gotoMonth(e.value):c(e,"pika-select-year")&&r.gotoYear(e.value))},r._onInputChange=function(n){var a;n.firedBy!==r&&(e?(a=t(l.field.value,l.format),a=a&&a.isValid()?a.toDate():null):a=new Date(Date.parse(l.field.value)),r.setDate(f(a)?a:null),r._v||r.show())},r._onInputFocus=function(){r.show()},r._onInputClick=function(){r.show()},r._onInputBlur=function(){r._c||(r._b=s(function(){r.hide()},50)),r._c=!1},r._onClick=function(t){t=t||window.event;var e=t.target||t.srcElement,a=e;if(e){!n&&c(e,"pika-select")&&(e.onchange||(e.setAttribute("onchange","return;"),i(e,"change",r._onChange)));do if(c(a,"pika-single"))return;while(a=a.parentNode);r._v&&e!==l.trigger&&r.hide()}},r.el=a.createElement("div"),r.el.className="pika-single"+(l.isRTL?" is-rtl":""),i(r.el,"mousedown",r._onMouseDown,!0),i(r.el,"change",r._onChange),l.field&&(l.bound?a.body.appendChild(r.el):l.field.parentNode.insertBefore(r.el,l.field.nextSibling),i(l.field,"change",r._onInputChange),l.defaultDate||(l.defaultDate=e&&l.field.value?t(l.field.value,l.format).toDate():new Date(Date.parse(l.field.value)),l.setDefaultDate=!0));var u=l.defaultDate;f(u)?l.setDefaultDate?r.setDate(u,!0):r.gotoDate(u):r.gotoDate(new Date),l.bound?(this.hide(),r.el.className+=" is-bound",i(l.trigger,"click",r._onInputClick),i(l.trigger,"focus",r._onInputFocus),i(l.trigger,"blur",r._onInputBlur)):this.show()};return T.prototype={config:function(t){this._o||(this._o=y({},w,!0));var e=y(this._o,t,!0);e.isRTL=!!e.isRTL,e.field=e.field&&e.field.nodeName?e.field:null,e.bound=!!(void 0!==e.bound?e.field&&e.bound:e.field),e.trigger=e.trigger&&e.trigger.nodeName?e.trigger:e.field;var n=parseInt(e.numberOfMonths,10)||1;if(e.numberOfMonths=n>4?4:n,f(e.minDate)||(e.minDate=!1),f(e.maxDate)||(e.maxDate=!1),e.minDate&&e.maxDate&&e.maxDate<e.minDate&&(e.maxDate=e.minDate=!1),e.minDate&&(v(e.minDate),e.minYear=e.minDate.getFullYear(),e.minMonth=e.minDate.getMonth()),e.maxDate&&(v(e.maxDate),e.maxYear=e.maxDate.getFullYear(),e.maxMonth=e.maxDate.getMonth()),h(e.yearRange)){var a=(new Date).getFullYear()-10;e.yearRange[0]=parseInt(e.yearRange[0],10)||a,e.yearRange[1]=parseInt(e.yearRange[1],10)||a}else e.yearRange=Math.abs(parseInt(e.yearRange,10))||w.yearRange,e.yearRange>100&&(e.yearRange=100);return e},toString:function(n){return f(this._d)?e?t(this._d).format(n||this._o.format):this._d.toDateString():""},getMoment:function(){return e?t(this._d):null},setMoment:function(n,a){e&&t.isMoment(n)&&this.setDate(n.toDate(),a)},getDate:function(){return f(this._d)?new Date(this._d.getTime()):null},setDate:function(t,e){if(!t)return this._d=null,this.draw();if("string"==typeof t&&(t=new Date(Date.parse(t))),f(t)){var n=this._o.minDate,a=this._o.maxDate;f(n)&&n>t?t=n:f(a)&&t>a&&(t=a),this._d=new Date(t.getTime()),v(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),r(this._o.field,"change",{firedBy:this})),e||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},gotoDate:function(t){var e=!0;if(f(t)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),a=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),s=t.getTime();a.setMonth(a.getMonth()+1),a.setDate(a.getDate()-1),e=s<n.getTime()||a.getTime()<s}e&&(this.calendars=[{month:t.getMonth(),year:t.getFullYear()}],"right"===this._o.mainCalendar&&(this.calendars[0].month+=1-this._o.numberOfMonths)),this.adjustCalendars()}},adjustCalendars:function(){this.calendars[0]=b(this.calendars[0]);for(var t=1;t<this._o.numberOfMonths;t++)this.calendars[t]=b({month:this.calendars[0].month+t,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(t){isNaN(t)||(this.calendars[0].month=parseInt(t,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(t){isNaN(t)||(this.calendars[0].year=parseInt(t,10),this.adjustCalendars())},setMinDate:function(t){this._o.minDate=t},setMaxDate:function(t){this._o.maxDate=t},draw:function(t){if(this._v||t){var e=this._o,n=e.minYear,a=e.maxYear,i=e.minMonth,o=e.maxMonth,r="";this._y<=n&&(this._y=n,!isNaN(i)&&this._m<i&&(this._m=i)),this._y>=a&&(this._y=a,!isNaN(o)&&this._m>o&&(this._m=o));for(var l=0;l<e.numberOfMonths;l++)r+='<div class="pika-lendar">'+x(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year)+this.render(this.calendars[l].year,this.calendars[l].month)+"</div>";if(this.el.innerHTML=r,e.bound&&"hidden"!==e.field.type&&s(function(){e.trigger.focus()},1),"function"==typeof this._o.onDraw){var c=this;s(function(){c._o.onDraw.call(c)},0)}}},adjustPosition:function(){var t,e,n,s=this._o.trigger,i=s,o=this.el.offsetWidth,r=this.el.offsetHeight,l=window.innerWidth||a.documentElement.clientWidth,c=window.innerHeight||a.documentElement.clientHeight,u=window.pageYOffset||a.body.scrollTop||a.documentElement.scrollTop;if("function"==typeof s.getBoundingClientRect)n=s.getBoundingClientRect(),t=n.left+window.pageXOffset,e=n.bottom+window.pageYOffset;else for(t=i.offsetLeft,e=i.offsetTop+i.offsetHeight;i=i.offsetParent;)t+=i.offsetLeft,e+=i.offsetTop;(t+o>l||this._o.position.indexOf("right")>-1&&t-o+s.offsetWidth>0)&&(t=t-o+s.offsetWidth),(e+r>c+u||this._o.position.indexOf("top")>-1&&e-r-s.offsetHeight>0)&&(e=e-r-s.offsetHeight),this.el.style.cssText=["position: absolute","left: "+t+"px","top: "+e+"px"].join(";")},render:function(t,e){var n=this._o,a=new Date,s=m(t,e),i=new Date(t,e,1).getDay(),o=[],r=[];v(a),n.firstDay>0&&(i-=n.firstDay,0>i&&(i+=7));for(var l=s+i,c=l;c>7;)c-=7;l+=7-c;for(var u=0,d=0;l>u;u++){var h=new Date(t,e,1+(u-i)),p=n.minDate&&h<n.minDate||n.maxDate&&h>n.maxDate,y=f(this._d)?g(h,this._d):!1,b=g(h,a),w=i>u||u>=s+i;r.push(k(1+(u-i),e,t,y,b,p,w)),7===++d&&(o.push($(r,n.isRTL)),r=[],d=0)}return S(n,o)},isVisible:function(){return this._v},show:function(){this._v||(d(this.el,"is-hidden"),this._v=!0,this.draw(),this._o.bound&&(i(a,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var t=this._v;t!==!1&&(this._o.bound&&o(a,"click",this._onClick),this.el.style.cssText="",u(this.el,"is-hidden"),this._v=!1,void 0!==t&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){this.hide(),o(this.el,"mousedown",this._onMouseDown,!0),o(this.el,"change",this._onChange),this._o.field&&(o(this._o.field,"change",this._onInputChange),this._o.bound&&(o(this._o.trigger,"click",this._onInputClick),o(this._o.trigger,"focus",this._onInputFocus),o(this._o.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},T}),/*! - * Pikaday jQuery plugin. - * - * Copyright © 2013 David Bushell | BSD & MIT license | https://github.com/dbushell/Pikaday - */ -function(t,e){"use strict";"object"==typeof exports?e(require("jquery"),require("../pikaday")):"function"==typeof define&&define.amd?define(["jquery","pikaday"],e):e(t.jQuery,t.Pikaday)}(this,function(t,e){"use strict";t.fn.pikaday=function(){var n=arguments;return n&&n.length||(n=[{}]),this.each(function(){var a=t(this),s=a.data("pikaday");if(s instanceof e)"string"==typeof n[0]&&"function"==typeof s[n[0]]&&s[n[0]].apply(s,Array.prototype.slice.call(n,1));else if("object"==typeof n[0]){var i=t.extend({},n[0]);i.field=a[0],a.data("pikaday",new e(i))}})}}),function(){this.JST||(this.JST={}),this.JST["locastyle/templates/_popover"]=function(t){t||(t={});var e,n=[],a=function(t){return t&&t.ecoSafe?t:"undefined"!=typeof t&&null!=t?i(t):""},s=t.safe,i=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},i||(i=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}),function(){(function(){n.push('<div id="ls-popover-'),n.push(a(this.uniqueId)),n.push('" class="ls-popover ls-popover-'),n.push(a(this.placement)),n.push(" "),n.push(a(this.customClasses)),n.push('" style="top:'),n.push(a(this.position.top)),n.push("px; left:"),n.push(a(this.position.left)),n.push("px;"),"open"===this.lsPopover&&n.push("display: block;"),n.push('">\n '),this.title&&(n.push('\n <div class="ls-popover-header">\n <h3 class="title-3"> '),n.push(a(this.title)),n.push(" </h3>\n </div>\n ")),n.push("\n "),this.content&&n.push("\n "),n.push('\n <div class="ls-popover-content"> '),n.push(this.content),n.push(" </div>\n</div>\n")}).call(this)}.call(t),t.safe=s,t.escape=i,n.join("")}}.call(this),function(){this.JST||(this.JST={}),this.JST["locastyle/templates/_modal"]=function(t){t||(t={});var e,n=[],a=function(t){return t&&t.ecoSafe?t:"undefined"!=typeof t&&null!=t?i(t):""},s=t.safe,i=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},i||(i=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}),function(){(function(){n.push('<div class="ls-modal ls-modal-template '),n.push(a(this.lsModule)),n.push('" tabindex="-1" aria-labelledby="lsModal" role="dialog">\n '),"link"!==this.actionType?(n.push('\n <form action="'),n.push(a(this.action)),n.push('" class="ls-modal-box ls-form" method="post">\n ')):n.push('\n <div class="ls-modal-box">\n '),n.push('\n <div class="ls-modal-header">\n <button type="button" data-dismiss="modal" class="close">×</button>\n <h4 class="ls-modal-title" id="lsModal">'),n.push(a(this.title)),n.push('</h4>\n </div>\n <div class="ls-modal-body">\n <p>'),n.push(this.content),n.push('</p>\n </div>\n <div class="ls-modal-footer">\n <button type="button" class="ls-btn ls-float-right" data-dismiss="modal">\n '),n.push(a(this.close)),n.push("\n </button>\n "),"link"!==this.actionType?(n.push("\n <button "),n.push(a(this.customAttrs)),n.push(' type="submit" class=" ls-btn '),n.push(a(this["class"])),n.push('">'),n.push(a(this.save)),n.push("</button>\n ")):(n.push('\n <a href="'),n.push(a(this.action)),n.push('" '),n.push(a(this.customAttrs)),n.push(' class=" ls-btn '),n.push(a(this["class"])),n.push('">'),n.push(a(this.save)),n.push("</a>\n ")),n.push("\n </div>\n "),n.push("link"!==this.actionType?"\n </form>\n ":"\n </div>\n "),n.push("\n</div>\n")}).call(this)}.call(t),t.safe=s,t.escape=i,n.join("")}}.call(this),function(){this.JST||(this.JST={}),this.JST["locastyle/templates/_dropdown"]=function(t){t||(t={});var e,n=[],a=t.safe,s=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},s||(s=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}),function(){(function(){var t,e,a,s;for(n.push('<div data-ls-module="dropdown" class="ls-dropdown">\n <a href="#" class="ls-btn"></a>\n <ul class="ls-dropdown-nav">\n '),s=this.elements,e=0,a=s.length;a>e;e++)t=s[e],n.push("\n "),""!==t.text&&(n.push("\n <li>"),n.push(t.outerHTML),n.push("</li>\n ")),n.push("\n ");n.push("\n </ul>\n</div>\n")}).call(this)}.call(t),t.safe=a,t.escape=s,n.join("")}}.call(this),function(){this.JST||(this.JST={}),this.JST["locastyle/templates/_browser-unsupported-bar"]=function(t){t||(t={});var e,n=[],a=t.safe,s=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},s||(s=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}),function(){(function(){n.push('<div class="ls-unsupported-bar ls-alert-blocker ls-alert-warning ls-alert-fixed-top">\n <span class="ls-dismiss" data-ls-module="dismiss">×</span>\n <strong>Atualize seu navegador!</strong><br>Baixe a vers\xe3o mais recente:<br>\n <a href="//www.mozilla.org/en-US/firefox" target="_blank">Firefox</a>, <a href="//www.google.com/intl/en-BR/chrome/browser/" target="_blank">Chrome</a>,\n <a href="//windows.microsoft.com/en-us/internet-explorer/download-ie" class="hidden-sm hidden-xs" target="_blank">Internet Explorer</a> ou\n <a href="//www.apple.com/safari/" target="_blank">Safari</a>\n</div>\n')}).call(this)}.call(t),t.safe=a,t.escape=s,n.join("")}}.call(this);var locastyle=function(){"use strict";function t(){locastyle.sidebarToggle.init(),locastyle.sidebars.init()}function e(){locastyle.breakpoints.init(),n(),locastyle.general.init(),locastyle.btnGroup.init(),locastyle.alert.init(),locastyle.datepicker.init(),locastyle.form.togglePasswordField(),a(),locastyle.browserDetect.init()}function n(){var t=s();for(var e in t)locastyle[t[e]].init(),console.info("Locastyle: module ["+t[e]+"] successfully initialized.")}function a(){$("html").hasClass("ls-trackevent-on")&&locastyle.trackEvents.init()}function s(){var t=[];return $("[data-ls-module]").each(function(){var e=$(this).data("ls-module");-1===t.indexOf(e)&&t.push(e)}),t}return{init:e,fastInit:t}}(),ls=locastyle;$(window).load(function(){"use strict";ls.init()}),$(document).ready(function(){"use strict";ls.fastInit()});var locastyle=locastyle||{};locastyle.eventDispatcher=function(){"use strict";function t(t,e){"undefined"==typeof n[t]&&(n[t]=[]),n[t].push(e)}function e(t){if("undefined"!=typeof n[t]){for(var e=0,a=n[t].length;a>e;e++)n[t][e].call(t),$.event.trigger(t);console.info('[Event Dispatcher] Event "'+t+'" dispatched to '+n[t].length+" function(s).")}else console.info("[Event Dispatcher] No function subscribed for event '"+t+"' ")}var n={};return{eventSubscribe:t,trigger:e}}();var locastyle=locastyle||{};locastyle.breakpoints=function(){"use strict";function t(t){s.html=$("html"),e(t),n(t),a()}function e(t){var e;e=t?t.documentWidth:$(document).width(),e<s.sm?(s.html.addClass("ls-window-xs"),locastyle.breakpointClass="ls-window-xs"):e>=s.sm&&e<s.md?(s.html.addClass("ls-window-sm").removeClass("ls-sidebar-visible ls-notifications-visible "),locastyle.breakpointClass="ls-window-sm"):e>=s.md&&e<s.lg?(s.html.addClass("ls-window-md").removeClass("ls-sidebar-visible ls-notifications-visible "),locastyle.breakpointClass="ls-window-md"):(s.html.addClass("ls-window-lg").removeClass("ls-sidebar-visible ls-notifications-visible "),locastyle.breakpointClass="ls-window-lg")}function n(t){var e;e=t?t.documentWidth:screen.width,e<s.sm?(s.html.addClass("ls-screen-xs"),locastyle.breakpointScreenClass="ls-screen-xs"):e>=s.sm&&e<s.md?(s.html.addClass("ls-screen-sm"),locastyle.breakpointScreenClass="ls-screen-sm"):e>=s.md&&e<s.lg?(s.html.addClass("ls-screen-md"),locastyle.breakpointScreenClass="ls-screen-md"):(s.html.addClass("ls-screen-lg"),locastyle.breakpointScreenClass="ls-screen-lg")}function a(){var t;$(window).resize(function(){clearTimeout(t),t=setTimeout(function(){var t=s.html.attr("class").replace(/(^|\s)(ls-window-\S+)|(ls-screen-\S+)/g,"");s.html.attr("class",$.trim(t)),e(),n(),$.event.trigger("breakpoint-updated")},300)})}var s={sm:"768",md:"992",lg:"1200",html:null};return{init:t}}();var locastyle=locastyle||{};locastyle.sidebars=function(){"use strict";function t(){v(),o(),e(),n(),i(),r(),l(),d(),h(),f(),p(),m()}function e(){$(".ls-show-sidebar").on("touchstart.ls click.ls",function(t){t.preventDefault(),a()})}function n(){$(".ls-show-notifications").on("touchstart.ls click.ls",function(t){t.preventDefault(),s()})}function a(){$("html").toggleClass("ls-sidebar-visible")}function s(){$("html").toggleClass("ls-notifications-visible")}function i(){1===$(".ls-sidebar .ls-area-account").length&&$(".ls-sidebar").addClass("ls-area-account-active")}function o(){1===$(".ls-notification").length&&0===$(".ls-show-notifications").length&&$(".ls-topbar").append('<span class="ls-show-notifications ls-ico-question"/>')}function r(){var t=$(".ls-menu").find("ul li ul");$(t).each(function(){$(this).addClass("ls-submenu"),$(this).parent("li").addClass("ls-submenu-parent"),$(this).find("a").addClass("ls-submenu-item")})}function l(){$(".ls-submenu-parent").on("click","> a",function(t){t.preventDefault(),$(this).parents(".ls-submenu-parent").hasClass("ls-active")?u($(this)):c($(this))})}function c(t){var e=$(t).parents(".ls-submenu-parent");$(".ls-submenu-parent").removeClass("ls-active"),e.addClass("ls-active"),m(e)}function u(t){var e=$(t).parents(".ls-submenu-parent");e.removeClass("ls-active"),m(e)}function d(){$(".ls-sidebar-toggled").length||$(".ls-submenu li.ls-active").each(function(){c($(this))})}function h(){$(window).on("sidebar-minimize",function(){$(".ls-submenu li").each(function(){u($(this))})}),$(window).on("sidebar-maximize",function(){$(".ls-submenu li.ls-active").each(function(){c($(this))})})}function f(){$(document).on("click",function(t){var e=$(t.target);$(".ls-sidebar-toggled").length&&$(".ls-submenu-parent.ls-active").length&&(e.is(".ls-submenu-parent.ls-active *")||u($(".ls-submenu-parent.ls-active > a")))})}function p(){var t=$(".ls-menu");t.attr({role:"navigation"}),t.find("ul").attr({role:"menu"}),t.find("a").attr({role:"menuitem"}),$(".ls-submenu-parent").each(function(t,e){m(e)})}function m(t){$(t).attr($(t).hasClass("ls-active")?{"aria-expanded":"true","aria-hidden":"false"}:{"aria-expanded":"false","aria-hidden":"true"})}function v(){$(".ls-show-sidebar").off("touchstart.ls click.ls"),$(".ls-show-notifications").off("touchstart.ls click.ls"),$(".ls-submenu-parent > a").off("click.ls")}return{init:t,unbind:v}}();var locastyle=locastyle||{};locastyle.sidebarToggle=function(){"use strict";function t(){r(),n(),e(),a(),n(),o()}function e(){$(".ls-sidebar").length&&$(".ls-sidebar").append('<span class="ls-sidebar-toggle ls-ico-shaft-left"></span>')}function n(){var t=localStorage.getItem("stateSidebar");t||$("html").hasClass("ls-sidebar-toggled")?s():i()}function a(){$(".ls-sidebar-toggle").on("click",function(){$("html").hasClass("ls-sidebar-toggled")?i():s()})}function s(){$("html").addClass("ls-sidebar-toggled"),$(".ls-sidebar-toggle").addClass("ls-active"),localStorage.setItem("stateSidebar","minimized"),$.event.trigger("sidebar-minimize")}function i(){$("html").removeClass("ls-sidebar-toggled"),$(".ls-sidebar-toggle").removeClass("ls-active"),localStorage.removeItem("stateSidebar"),$.event.trigger("sidebar-maximize")}function o(){$(window).on("breakpoint-updated",function(){$(".ls-window-xs").length&&i()})}function r(){$(".ls-sidebar-toggle").off("click")}return{init:t}}();var locastyle=locastyle||{};locastyle.collapse=function(){"use strict";function t(){$(o.classes.header).each(function(){i($(this))}),e()}function e(){$(o.trigger).each(function(t,e){$(e).hasClass(o.classes.alwaysOpened)||($(e).on("click.ck",function(){n($(this));var t=$(this).data("target");a(t),i($(this))}),$(o.classes.content).on("click.ck",function(t){t.stopPropagation()}))})}function n(t){var e=$(t).parents(o.classes.groupContainer);e[0]&&e.find(o.trigger).not($(t)).removeClass(o.classes.opened).find(o.classes.content).slideUp()}function a(t){s(t,o.dispatcherClose.close,o.dispatcherOpen.open),$(t).slideToggle(function(){$(t).parent().toggleClass(o.classes.opened),s(t,o.dispatcherOpen.opened,o.dispatcherClose.closed)})}function s(t,e,n){locastyle.eventDispatcher.trigger($(t).is(":visible")?e:n)}function i(t){$(t).hasClass("ls-collapse-open")?($(o.classes.header).attr({"aria-expanded":!0}),$(o.classes.content).attr({"aria-hidden":!1})):($(o.classes.header).attr({"aria-expanded":!1}),$(o.classes.content).attr({"aria-hidden":!0}))}var o={trigger:'[data-ls-module="collapse"]',classes:{header:".ls-collapse-header",content:".ls-collapse-body",groupContainer:".ls-collapse-group",open:"ls-collapse-open",close:"ls-collapse-close",opened:"ls-collapse-opened",alwaysOpened:"ls-collapse-opened-always"},dispatcherOpen:{open:"ls-collapse-open",opened:"ls-collapse-opened"},dispatcherClose:{close:"ls-collapse-close",closed:"ls-collapse-closed"}};return{init:t,toggle:a}}();var locastyle=locastyle||{};locastyle.modal=function(){"use strict";function t(){e(),n()}function e(){$(u.open.trigger).off("click.ls"),$(document).off("keyup.ls-esc"),$(u.close.classes+", "+u.close.trigger).off("click.ls")}function n(){$(u.open.trigger).on("click.ls",function(){locastyle.modal.open($(this).data())}),$(".ls-opened").length>0&&l("#"+$(".ls-opened").attr("id"))}function a(){$(document).one("keyup.ls-esc",function(t){27===t.keyCode&&$(".ls-opened")&&locastyle.modal.close()}),$(u.close.classes+", "+u.close.trigger).on("click.ls",function(t){return t.target!==t.currentTarget?!0:void locastyle.modal.close()})}function s(t){if(t.target)o($(t.target));else{var e=$(locastyle.templates.modal(t));$("body").append(e),o(e),$(".ls-modal-template").focus(),a()}c($(t.target)),l(t.target)}function i(){$(".ls-modal.ls-opened").attr("aria-hidden",!0),r(),locastyle.popover.destroyPopover(),locastyle.popover.init()}function o(t){locastyle.eventDispatcher.trigger(u.open.dispatcherOpen),t.fadeIn({queue:!1,duration:500,complete:function(){$(this).addClass("ls-opened"),locastyle.eventDispatcher.trigger(u.open.dispatcherOpened)}})}function r(){locastyle.eventDispatcher.trigger(u.close.dispatcherClose),$(".ls-modal.ls-opened").fadeOut({queue:!1,duration:500,complete:function(){$(this).removeClass("ls-opened"),$(this).hasClass("ls-modal-template")&&$(this).remove(),locastyle.eventDispatcher.trigger(u.close.dispatcherClosed)}})}function l(t){$(t).each(function(t,e){void 0!==$(e).data("modal-blocked")?$('[data-dismiss="modal"]').remove():a()})}function c(t){var e=t.find(".ls-modal-title").attr("id")||"lsModal"+u.lsModal++;t.find(".ls-modal-title").attr("id",e),t.attr({role:"dialog","aria-hidden":!1,"aria-labelledby":e,tabindex:"-1"}).focus()}var u={open:{trigger:'[data-ls-module="modal"]',dispatcherOpen:"ls-modal-open",dispatcherOpened:"ls-modal-opened"},close:{classes:".ls-modal",trigger:'[data-dismiss="modal"]',dispatcherClose:"ls-modal-close",dispatcherClosed:"ls-modal-closed"},lsModal:0};return{init:t,open:s,close:i,unbind:e}}();var locastyle=locastyle||{};locastyle.alert=function(){"use strict";function t(){e()}function e(){$('[class*="ls-alert"]').attr({role:"alert"})}return{init:t}}();var locastyle=locastyle||{};locastyle.dismiss=function(){"use strict";function t(){e(),n()}function e(){$("[data-ls-module=dismiss]").off("click.ls")}function n(){$("[data-ls-module=dismiss]").on("click.ls",function(){a(this),locastyle.topbarCurtain.updateStatusCounter()})}function a(t){var e=$(t).parents(".ls-dismissable");$(t).data("target")&&(e=$(t).data("target")),s(e)}function s(t){$(t).addClass("ls-dismissed")}return{init:t,unbind:e}}();var locastyle=locastyle||{};locastyle.popover=function(){"use strict";function t(){/sm|xs/.test(locastyle.breakpointClass)?($(r.module).attr("data-ls-module","modal").removeAttr("data-trigger"),locastyle.modal.init()):$(r.module).each(function(t,e){n($(e))}),e()}function e(){$(window).on("breakpoint-updated",function(){o(),t()})}function n(t){var e=t.data(),n=t.outerWidth(),s=t.outerHeight();t.data("uniqueId",r.uniqueId),e.position=e.container?t.position():t.offset(),e.container=e.container||r.container,e.placement=e.placement||r.placement,a(e,n,s),e.uniqueId=r.uniqueId++,$(e.container).append(locastyle.templates.popover(e)),i(t,e,n,s)}function a(t,e,n){switch(t.placement){case"top":t.position.top-=12,t.position.left+=e/2+4;break;case"right":t.position.top+=n/2-2,t.position.left+=e+12;break;case"bottom":t.position.top+=n+12,t.position.left+=e/2+4;break;case"left":t.position.top+=n/2-2,t.position.left-=12}}function s(t,e){t.css("top",e.position.top).css("left",e.position.left)}function i(t,e,n,i){var o="hover"===e.trigger?r.hoverEvent:r.trigger,l=$(r.idPopover+e.uniqueId);o===r.hoverEvent?t.on({mouseenter:function(t){t.preventDefault(),e.position=$(this).offset(),a(e,n,i),s(l,e),l.stop().show()},mouseleave:function(t){t.preventDefault(),l.stop().hide()}}):(t.on({click:function(t){t.preventDefault(),t.stopPropagation(),e.position=$(this).offset(),a(e,n,i),s(l,e),l.stop().toggle()}}),$(document).on("click",function(t){var e=t.toElement;$(e).parents().hasClass(r.popoverClass)||$("."+r.popoverClass).hide()}))}function o(){$("."+r.popoverClass).remove(),$(r.module).each(function(t,e){$(e).removeData("uniqueId").off(r.hoverEvent).off(r.trigger)})}var r={container:"body",hoverEvent:"mouseenter.ls.popover",idPopover:"#ls-popover-",module:'[data-ls-module="popover"]',placement:"top",trigger:"click.ls.popover",popoverClass:"ls-popover",uniqueId:0};return{init:t,destroyPopover:o}}();var locastyle=locastyle||{};locastyle.dropdown=function(){"use strict";function t(){e(),n(),a(),r(l.dropdown)}function e(){$(l.firstLink).off("click.ls"),$(l.area).off("click.ls")}function n(){$(l.firstLink).on("click.ls",function(t){t.preventDefault();var e=$($(this).parents(l.module));locastyle.dropdown.toggleDropdown(e),r(e),locastyle.dropdown.closeDropdown(e),o(e),t.stopPropagation()})}function a(){$(l.area).on("click.ls",function(){locastyle.dropdown.closeDropdown()})}function s(t){t.find(l.button).first().hasClass("ls-disabled")||(t.toggleClass("ls-active"),$(l.button).attr({"aria-expanded":"false"}),$(l.nav).attr({"aria-hidden":"true"}),locastyle.topbarCurtain.hideCurtains())}function i(t){$(l.module).not(t).removeClass("ls-active")}function o(t){var e=$(l.area);e.get(0).scrollWidth>e.width()&&$(t).addClass("ls-pos-right")}function r(t){$(l.nav,t).find("a").attr({role:"option"}),$(l.button,t).attr({role:"combobox"}),$(t).hasClass("ls-active")?($(l.button,t).attr({"aria-expanded":"true"}),$(l.nav,t).attr({"aria-hidden":"false"})):($(l.button,t).attr({"aria-expanded":"false"}),$(l.nav,t).attr({"aria-hidden":"true"}))}var l={area:"body",dropdown:".ls-dropdown",module:'[data-ls-module="dropdown"]',button:'[class*="ls-btn"]',firstLink:'[data-ls-module="dropdown"] > [class*="ls-btn"]:first-child, .ls-dropdown.ls-user-account > a:first-child',nav:".ls-dropdown-nav"};return{init:t,unbind:e,toggleDropdown:s,closeDropdown:i}}();var locastyle=locastyle||{};locastyle.tabs=function(){"use strict";function t(){c(),e(),n(),s(),u()}function e(){$("[data-ls-module=tabs]").on("click.ls",function(t){t.preventDefault();var e=$($(this).attr("href")||$(this).data("target"));l(this,e),r(this,e),a($(this).parents(".ls-tabs-nav"))&&i($(this).parents(".ls-tabs-nav"))})}function n(){$(window).on("breakpoint-updated",function(){locastyle.tabs.checkBreakpoint()})}function a(t){return $(t).hasClass("in-dropdown")}function s(){("ls-window-sm"===locastyle.breakpointClass||"ls-window-xs"===locastyle.breakpointClass)&&$(".ls-tabs-nav").each(function(t,e){a(e)||o(e)})}function i(t){$(t).parents(".ls-dropdown-tabs").find("> a").remove(),$(t).parents(".ls-dropdown-tabs").prepend($(t).find("li.ls-active").html()),$(t).parents(".ls-dropdown-tabs").find("> a").addClass("ls-btn"),locastyle.dropdown.init()}function o(t){$(t).wrap('<div data-ls-module="dropdown" class="ls-dropdown-tabs">'),i(t),$(t).addClass("in-dropdown"),$(t).addClass("ls-dropdown-nav")}function r(t,e){$(t).parents("li").addClass("ls-active"),e.addClass("ls-active"),$(t).attr("aria-selected",!0)}function l(t,e){$(t).parents("li").siblings().removeClass("ls-active"),e.siblings().removeClass("ls-active"),$(t).parents("li").siblings().find("a").attr("aria-selected",!1)}function c(){$("[data-ls-module=tabs]").off("click.ls")}function u(){$(d.tab).attr("role","tablist"),$(d.tabLink).attr("role","tab"),$(d.tabListActive).attr("aria-selected","true"),$(d.tabContent).attr("role","tabpanel")}var d={tab:".ls-tabs-nav",tabLink:".ls-tabs-nav a",tabListActive:".ls-tabs-nav li.ls-active a",tabContent:".ls-tab-content"};return{init:t,unbind:c,checkBreakpoint:s}}();var locastyle=locastyle||{};locastyle.templates=function(){"use strict";function t(){}function e(t){return JST[i+"popover"](t)}function n(t){return JST[i+"modal"](t)}function a(t){return JST[i+"dropdown"]({elements:t})}function s(){return JST[i+"browser-unsupported-bar"]()}var i="locastyle/templates/_";return{init:t,popover:e,modal:n,dropdown:a,browserUnsupportedBar:s}}();var locastyle=locastyle||{};locastyle.general=function(){"use strict";function t(){u(),n(),e(),r(),l(),c(),a()}function e(){$.each(d,function(t,e){var n=t.split("|");$(n[0]).off(n[1],n[2]),$(n[0]).on(n[1],n[2],function(t){var n=$(this);e(t,n)})})}function n(){var t=window.location.hash.replace("!/#","");""!==t&&$('[data-target="'+t+'"], a[href="'+t+'"]').trigger("click")}function a(){$("[data-ls-fields-enable]").on("click.ls",function(t){t.preventDefault();var e=$(this),n=$(e.data("ls-fields-enable")),a=n.data("form-text")?"ls-form-text":"";n.toggleClass("ls-form-disable ls-active "+a).find(":input").each(function(t,e){var n=$(e);n.toggleAttr("disabled").toggleClass(a).val(n.data("original-value"))})})}function s(t,e){var n=e.data("target")?$(e.data("target")):e,a=e.data("toggle-class");/(radio)|(checkbox)/.test(e.attr("type"))?(n.toggleClass(a,!e.prop("checked")),$('[name="'+e.attr("name")+'"]').not(e).each(function(){var t=$(this),n=t.data("target")?$(t.data("target")):t,a=t.data("toggle-class");n.toggleClass(a,e.prop("checked"))})):(t.preventDefault(),n.toggleClass(a))}function i(t,e){t.preventDefault();var n=e.data("target-text")?$(e.data("target-text")):e,a=e.data("toggle-text"),s=n.text();e.data("toggle-text",s),n.text(a)}function o(t,e){t.preventDefault();var n=$(e.attr("href"));n[0]&&$("html,body").animate({scrollTop:n.offset().top-70},1e3)}function r(){$(".ls-disabled, [disabled='disabled']").on("click",function(t){return $(this).hasClass("ls-disabled")||"disabled"===$(this).attr("disabled")?(t.stopImmediatePropagation(),t.preventDefault(),t.stopPropagation(),!1):void 0})}function l(t){$("a",t).on("click.lsPreventDefault",function(t){(""===$(this).attr("href")||"#"===$(this).attr("href"))&&t.preventDefault()})}function c(){$(".ls-group-active [class*='ls-btn']").on("click",function(){$(this).siblings().removeClass("ls-active"),$(this).addClass("ls-active")})}function u(){$("[data-ls-fields-enable]").off("click.ls"),$(".ls-disabled, [disabled='disabled']").off("click")}var d={"[data-toggle-class]|click":s,"[data-toggle-text]|click":i,".ls-link-smooth|click":o};return jQuery.fn.toggleAttr=function(t){return this.each(function(){var e=$(this);return e.attr(t)?e.removeAttr(t):e.attr(t,t)})},{init:t}}();var locastyle=locastyle||{};locastyle.progressBar=function(){"use strict";function t(){e()}function e(){$("[data-ls-module='progressBar']").each(function(t,e){var a=$(e).attr("aria-valuenow");$(e).append("<span aria-valuenow='"+a+"%'>");var s=$(e).find("span");n(s,a)})}function n(t,e){$(t).css("width",e+"%")}return{init:t}}();var locastyle=locastyle||{};locastyle.form=function(){"use strict";function t(){i(),o(),s(),n(),e(),l(),a()}function e(){"ls-window-xs"===locastyle.breakpointClass?($(".ls-label-text-sufix").parents(".ls-label").addClass("ls-label-text-has-sufix"),$(".ls-label-text-prefix").parents(".ls-label").addClass("ls-label-text-has-prefix")):$(".ls-label-text-sufix").prev('[class*="col-"]').addClass("ls-no-padding-right").find(":input").addClass("ls-no-right-radius ls-border")}function n(){$("textarea.ls-textarea-autoresize",".ls-label").each(function(t,e){var n=$(e);n.keyup(function(){if(!n.prop("scrollTop")){var t;do{t=n.prop("scrollHeight");var e=n.height();n.height(e-5)}while(t&&t!==n.prop("scrollHeight"))}n.height(n.prop("scrollHeight"))})})}function a(){$("textarea").each(function(t,e){var n=$(e).val(),a=n.split(/\r|\r\n|\n/),s=a.length,i=18*s;$(e).height(i+"px")})}function s(){$(".ls-mask-date").mask("11/11/1111"),$(".ls-mask-time").mask("00:00:00"),$(".ls-mask-date_time").mask("00/00/0000 00:00:00"),$(".ls-mask-cep").mask("00000-000"),$(".ls-mask-phone8").mask("0000-0000"),$(".ls-mask-phone9").mask("00009-0000"),$(".ls-mask-phone8_with_ddd").mask("(00) 0000-0000"),$(".ls-mask-phone9_with_ddd").mask("(00) 00009-0000"),$(".ls-mask-cpf").mask("000.000.000-00",{reverse:!0}),$(".ls-mask-cnpj").mask("00.000.000/0000-00",{reverse:!0}),$(".ls-mask-money").mask("#.##0,00",{reverse:!0,maxlength:!1}),$(".ls-mask-number").mask("#.##0",{reverse:!0,maxlength:!1}),$(".ls-mask-ip_address").mask("0ZZ.0ZZ.0ZZ.0ZZ",{translation:{Z:{pattern:/[0-9]/,optional:!0}}}),$(".ls-mask-percent").mask("##0,00%",{reverse:!0})}function i(){$(c.selectors.disable).each(function(t,e){var n=$(e);n.find(":input").each(function(t,e){var n=$(e);n.attr("disabled","disabled"),n.data("original-value",n.val())})})}function o(){$(c.selectors.text).each(function(t,e){$(e).find(":input").each(function(t,e){$(e).addClass("ls-form-text")}),$(e).data("form-text",!0)})}function r(t){if(void 0!==$(t).data("toggle-class")){var e=$(t).data("toggle-class").split(",");$(t).toggleClass(e[0]).toggleClass(e[1])}}function l(){$(".ls-toggle-pass").on("click",function(t){t.preventDefault();var e=$(this).data("target");r($(this)),"password"===$(e).attr("type")?$(e).removeAttr("attr").prop("type","text"):$(e).removeAttr("attr").prop("type","password")})}var c={selectors:{disable:".ls-form-disable",text:".ls-form-text"}};return{init:t,togglePasswordField:l}}();var locastyle=locastyle||{};locastyle.guidedTour=function(){"use strict";function t(t){e(t)}function e(t){t&&t.selectors&&hopscotch&&($.each(l.selectors,function(e){t.selectors[e]=t.selectors[e]||l.selectors[e]}),n(t),o())}function n(t){r=t,$(l.selectors.init).on({click:s})}function a(t){return $(l.selectors.tour).trigger("click"),$(l.selectors.init).focus().attr("tabindex","-1"),t?t.preventDefault():null}function s(){locastyle.topbarCurtain.hideCurtains(),hopscotch.endTour(),hopscotch.startTour(r,0),i()}function i(){var t=39,e=37,n=27,a=hopscotch.getCurrTour().steps.length;$("body").off("keyup").on("keyup",function(s){var i=s.keyCode;hopscotch.getCurrStepNum()<a&&hopscotch.getState()&&(i===t&&hopscotch.nextStep(),i===e&&hopscotch.prevStep()),i===n&&hopscotch.endTour()})}function o(){"true"!==$.cookie("cookie_tour")&&($(l.selectors.tour).trigger("click"),$(l.selectors.init).focus().attr("tabindex","-1"),$.cookie("cookie_tour","true"))}var r,l={selectors:{init:".ls-btn-tour",tour:".ls-alerts-list .ls-ico-question"}};return{init:t,openWelcomeTour:a}}();var locastyle=locastyle||{};locastyle.topbarCurtain=function(){"use strict";function t(){e(),a(),i(),s(),c(),n()}function e(){$(u.module).off("click.ls, ls.toggleTopCurtain"),$(".ls-notification-list").off("click.ls"),$("body").off("click.lsTopCurtain")}function n(){$(u.module).each(function(t,e){var n=$(e).data("target"),a=$(n+" .ls-dismissable:not(.ls-dismissed)").length;0!==a&&$('[data-target="'+n+'"]').attr("data-counter",a),0===a&&($('[data-target="'+n+'"]').removeAttr("data-counter"),$(n+" .ls-no-notification-message").addClass("active"))})}function a(){$(u.module).each(function(t,e){var n=$(e).position().left,a=11,s=$($(e).data("target")).width()/2,i=window.navigator.userAgent,r=i.indexOf("MSIE "),l=i.indexOf("Trident/");$($(e).data("target")).css(r>0||l>0?{left:n+a-s+"px",top:"60px"}:{left:n+a+s+"px"}),o(e)})}function s(){$(".ls-notification-list").on("click.ls",function(t){t.stopPropagation()})}function i(){$("body").on("click.lsTopCurtain",function(){l()})}function o(t){$(t).on("click.ls, ls.toggleTopCurtain",function(e){e.stopPropagation();var n=$($(t).data("target")).hasClass("ls-active");l(),n||($(t).addClass("ls-active"),r($(t).data("target")))})}function r(t){$(t).addClass("ls-active"),locastyle.dropdown.closeDropdown()}function l(){$("[data-ls-module='topbarCurtain']").removeClass("ls-active"),$(".ls-notification-list").removeClass("ls-active")}function c(){var t;$(window).resize(function(){clearTimeout(t),t=setTimeout(function(){e(),a(),i(),s()},300)})}var u={module:'[data-ls-module="topbarCurtain"]'};return{init:t,hideCurtains:l,unbind:e,updateStatusCounter:n}}();var locastyle=locastyle||{};locastyle.btnGroup=function(){"use strict";function t(){a(),n()}function e(){$(document).off("breakpoint-updated")}function n(){e(),$(document).on("breakpoint-updated",function(){a()})}function a(){("ls-window-sm"===locastyle.breakpointClass||"ls-window-xs"===locastyle.breakpointClass)&&($(".ls-regroup").each(function(t,e){s($(e).find("a, button"))}),locastyle.dropdown.init(),locastyle.modal.init(),locastyle.general.init())}function s(t){var e=$(t).wrap('<li class="hidden-xs hidden-sm">');t.parents(".ls-regroup").find('a[class*="ls-btn"]').removeClass(),t.parents(".ls-regroup").html(locastyle.templates.dropdown(e))}return{init:t}}();var locastyle=locastyle||{};locastyle.datepicker=function(){"use strict";function t(){$(a.selector).each(function(){e($(this))})}function e(t){t.pikaday({firstDay:1,minDate:new Date("2000-01-01"),maxDate:new Date("2020-12-31"),format:"DD/MM/YYYY",yearRange:[2e3,2020],i18n:{previousMonth:"Anterior",nextMonth:"Pr\xf3ximo",months:["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],weekdays:["Domingo","Segunda","Ter\xe7a","Quarta","Quinta","Sexta","S\xe1bado"],weekdaysShort:["Dom","Seg","Ter","Qua","Qui","Sex","S\xe1b"]}})}function n(t){e($(t))}var a={selector:".datepicker"};return{init:t,newDatepicker:n}}();var locastyle=locastyle||{};locastyle.charCounter=function(){"use strict";function t(){e()}function e(){$('[data-ls-module="charCounter"]').each(function(t,e){var a=$(e).attr("maxlength");$(e).removeAttr("maxlength").data().maxlength=a,$(e).after('<p class="ls-help-inline"><small><strong class="ls-char-count ls-number-counter-'+t+'">'+a+"</strong> caracteres restantes</small></p>"),$(e).keyup(function(){var e=$(this).val().length,a=$(this).data().maxlength;e>a?$(this).val($(this).val().substring(0,a)):n(t,a-e)}),$(e).trigger("keyup")})}function n(t,e){$(".ls-number-counter-"+t).text(e)}return{init:t}}();var locastyle=locastyle||{};locastyle.browserDetect=function(){"use strict";function t(){a()}function e(){return s=i.match(/(firefox)/)?i.match(/(firefox)/)[1]:i.match(/(msie|phantomjs|chrome|version|rv)/)[1]}function n(){return parseInt((i.match(/.+(?:firefox|phantomjs|msie|chrome|version|rv)[\/: ]([\d.]+)/)||[0,0])[1].split(".")[0])}function a(){$("html").addClass("ls-browser-"+e())}var s,i=navigator.userAgent.toLowerCase();return{init:t,browserName:e,browserVersion:n}}();var locastyle=locastyle||{};locastyle.browserUnsupportedBar=function(){"use strict";function t(){e(),a()}function e(){var t=locastyle.browserDetect.browserVersion(),e=locastyle.browserDetect.browserName(),a={chrome:34,firefox:29,version:5,msie:8};$.cookie("hideBrowserUnsupportedAlert")||t<=a[e]&&n()}function n(){$("html").addClass("ls-browser-unsupported"),$("body").prepend(locastyle.templates.browserUnsupportedBar())}function a(){$(".ls-dismiss[data-ls-module=dismiss]").on("click",function(){$("html").removeClass("ls-browser-unsupported"),$("html .ls-unsupported-bar").remove(),$.cookie("hideBrowserUnsupportedAlert",!0,{expires:1})})}return{init:t}}();var locastyle=locastyle||{};locastyle.trackEvents=function(){"use strict";function t(){window.ga?(this.gaPresent=!0,e(this),n()):this.gaPresent=!1}function e(t){t.eventCategory=$("body").attr("data-ls-te-category")||window.location.pathname}function n(){a(),s(),i(),o(),u()}function a(){var t=$("a");$(t).each(function(t,e){var n={};if(n.category=$(e).data("ls-te-category")?$(e).data("ls-te-category"):null,n.action=$(e).data("ls-te-action")?$(e).data("ls-te-action"):"open_link_#"+$(e).attr("href"),n.label=$(e).data("ls-te-label")?$(e).data("ls-te-label"):$(e).text(),$(e).attr("href")&&0===$(e).attr("href").indexOf("#")&&(n.action=$(e).data("ls-te-action")?$(e).data("ls-te-action"):"on_page_link_"+$(e).attr("href")),"tabs"===$(e).attr("data-ls-module")&&(n.action="tab_navigation"),"dropdown"===$(e).parent().attr("data-ls-module")&&($(e).parents(".ls-topbar").length>0?(n.action="top_bar_action",n.label="Toggle user dropdown"):n.action="dropdown_toggle"),"modal"===$(e).attr("data-ls-module")){var a=$(e).data("target")?$(e).data("target"):$(e).attr("href"); -n.action="open_modal_"+a}"collapse"===$(e).parent().attr("data-ls-module")&&(n.type="collapse"),"topbarCurtain"===$(e).attr("data-ls-module")&&(n.action="top_bar_action"),r(e,n)})}function s(){var t=$("button");$(t).each(function(t,e){var n={};n.category=$(e).data("ls-te-category")?$(e).data("ls-te-category"):null,n.action=$(e).data("ls-te-action")?$(e).data("ls-te-action"):"on_page_button_#",n.label=$(e).data("ls-te-label")?$(e).data("ls-te-label"):$(e).text();var a;"modal"===$(e).attr("data-ls-module")&&(a=$(e).data("target")?$(e).data("target"):$(e).attr("href"),n.action="open_modal_"+a),"modal"===$(e).attr("data-dismiss")&&(a=$($(e).parents(".ls-modal")).attr("id"),n.action="close_modal_#"+a),r(e,n)})}function i(){var t=$("form");$(t).each(function(t,e){var n={};n.action=$(e).parents(".ls-modal").length?"submit_form_#"+($(e).data("action")||$(e).attr("id")||$(e).attr("action"))+"#inside_modal#"+$(e).parents(".ls-modal").attr("id"):"submit_form_#"+($(e).data("action")||$(e).attr("id")||$(e).attr("action")),n.label=$(e).find(":submit[type=submit]").val()||$(e).find(":submit[type=submit]").text(),l(e,n)})}function o(){var t=$("select");$(t).each(function(t,e){var n={};n.category=$(e).data("ls-te-category")?$(e).data("ls-te-category"):null,n.action="select_change_#"+($(e).attr("id")||$(e).attr("name")),n.label="option",c(e,n)})}function r(t,e){$(t).off("click.lsTrackEvent"),$(t).on("click.lsTrackEvent",function(){if("collapse"===e.type){var n=$(t).parent().attr("id");$("#"+n).hasClass("ls-collapse-open")?(e.action="close_collapse_#"+n,e.label="Close collapse"):(e.action="open_collapse_#"+n,e.label="Open collapse")}ga("send","event",e.category||locastyle.trackEvents.eventCategory,e.action,e.label)})}function l(t,e){$(t).find(":submit[type=submit]").off("click.lsTrackEvent"),$(t).off("submit.ls"),$(t).on("submit.ls",function(){ga("send","event",locastyle.trackEvents.eventCategory,e.action,e.label)})}function c(t,e){$(t).off("change.ls"),$(t).on("change.ls",function(){e.label=$(this).val(),ga("send","event",e.category||locastyle.trackEvents.eventCategory,e.action,e.label)})}function u(){$("body").off("click.lsTrackEvents"),$("body").on("click.lsTrackEvents",".hopscotch-bubble .hopscotch-nav-button",function(){var t=$(this).parents(".hopscotch-bubble").find(".hopscotch-bubble-number").text();ga("send","event",locastyle.trackEvents.eventCategory,"go_to_tour_step["+t+"]",$(this).text())})}return{init:t}}();var locastyle=locastyle||{};locastyle.steps=function(){"use strict";function t(){e(),n(),a(),s(),i(),o(),r(),l()}function e(){$(g.selectors.nav).off("click.steps"),$(g.actions.next).off("click.steps"),$(g.actions.prev).off("click.steps")}function n(){$(".ls-steps-nav li").prepend('<span class="ls-steps-arrow" />')}function a(){$(g.selectors.nav).attr("role","tablist"),$(g.selectors.nav).find(g.selectors.button).attr("aria-selected","false"),$(g.selectors.nav).find(".ls-active .ls-steps-btn").attr("aria-selected","true"),$(g.selectors.button).attr("role","tab"),$(g.selectors.container).attr({"aria-hidden":!0,role:"tabpanel"})}function s(){for(var t=$(g.selectors.button),e=t.length,n=0;e>n;n++){var a=$(t[n]).attr("title");$(t[n]).attr({"aria-label":a})}}function i(){var t=$(g.selectors.nav).find(g.classes.active).index();-1===t?$(g.selectors.nav).each(function(){var t=$(this).find("li:first").find(g.selectors.button),e=t.data("target");p(t,$(e))}):(h(t),$(g.selectors.nav).find("li:lt("+t+")").addClass(g.status.actived));var e=$(g.selectors.moduleVisible).height();d(e)}function o(){$(g.selectors.nav).on("click.steps",g.selectors.moduleActive,function(t){t.preventDefault(),f($(this))})}function r(){$(g.actions.next).on("click.steps",function(t){t.preventDefault(),c()})}function l(){$(g.actions.prev).on("click.steps",function(t){t.preventDefault(),u()})}function c(){var t=jQuery.Event("NextStepEvent");$(document).trigger(t);var e=jQuery.Event("BeforeNextStep");if($(document).trigger(e),!t.isDefaultPrevented()&&!e.isDefaultPrevented()){var n=$(g.selectors.nav).find(g.classes.active).next("li").addClass(g.status.active).find(g.selectors.button);f(n),$(document).trigger(jQuery.Event("AfterNextStep"))}}function u(){var t=jQuery.Event("PrevStepEvent");$(document).trigger(t);var e=jQuery.Event("BeforePrevStep");if($(document).trigger(e),!t.isDefaultPrevented()&&!e.isDefaultPrevented()){var n=$(g.selectors.nav).find(g.classes.active).prev("li").find(g.selectors.button);f(n),$(document).trigger(jQuery.Event("AfterPrevStep"))}}function d(t){var e=$(g.selectors.nav),n=e.offset(),a=$(g.selectors.nav).height();$(window).scroll(function(){if($(window).scrollTop()>n.top){var s=parseInt($(window).scrollTop()-a);e.stop().animate({marginTop:$(window).scrollTop()-n.top+20}),s+a>=t&&e.stop().animate({marginTop:0})}else e.stop().animate({marginTop:0})})}function h(t){$(g.selectors.container).eq(t).addClass(g.status.active)}function f(t){var e=$(t.attr("href")||t.data("target"));p(t,e),m(t,e),v()}function p(t,e){$(t).parents("li").addClass(g.status.active),$(t).parents("li").prev("li").addClass(g.status.actived),e.addClass(g.status.active).attr({"aria-hidden":!1}),$(t).attr("aria-selected",!0)}function m(t,e){$(t).parents("li").siblings().removeClass(g.status.active),e.siblings().removeClass(g.status.active).attr({"aria-hidden":!0}),$(t).parents("li").siblings().find(g.selectors.button).attr("aria-selected",!1)}function v(){$("html, body").stop().animate({scrollTop:$(".ls-steps").offset().top-60},300);var t=$(g.selectors.moduleVisible).height();d(t)}var g={selectors:{moduleActive:'.ls-actived [data-ls-module="steps"]',nav:".ls-steps-nav",button:".ls-steps-btn",container:".ls-steps-content",parent:".ls-steps",moduleVisible:".ls-steps-content:visible"},status:{active:"ls-active",actived:"ls-actived"},classes:{active:".ls-active"},actions:{next:'.ls-steps-content [data-action="next"]',prev:'.ls-steps-content [data-action="prev"]'}};return{init:t,unbind:e,nextStep:c,prevStep:u}}();var locastyle=locastyle||{};locastyle.button=function(){"use strict";function t(){e(),i(),n(),l()}function e(){$("[data-ls-module=button]").off("click.button")}function n(){$('[data-ls-module="button"]').on("click.button",function(t){t.preventDefault();var e=$($(this).attr("href")||$(this).data("target")),n="[data-ls-module=button]";r(this,e,n),o(this,e),a(),$(this).find("input").prop("checked",!0)})}function a(){$('[data-ls-module="button"] input[type="radio"]').each(function(t,e){$(e).removeAttr("checked")})}function s(t){$(t).each(function(t,e){$(e).attr("checked","checked")})}function i(){$(".ls-tabs-btn-nav li.ls-active").each(function(){if($(this).hasClass("ls-active")===!0){var t=$(this).find('[data-ls-module="button"]'),e=t.attr("href")||t.data("target"),n="[data-ls-module=button]";s($(this).find('[data-ls-module="button"] input[type="radio"]')),r(t,e,n),o(t,e)}})}function o(t,e){$(t).parents("li").addClass("ls-active"),$(e).addClass("ls-active"),$(t).attr("aria-selected",!0)}function r(t,e,n){$(t).parents("li").siblings().removeClass("ls-active"),$(e).siblings().removeClass("ls-active"),$(t).parents("li").siblings().find(n).attr("aria-selected",!1)}function l(){$(".ls-tabs-btn-nav").attr("role","tablist"),$(".ls-tabs-btn-nav .ls-btn").attr("role","tab"),$(".ls-tabs-btn-nav .ls-active .ls-btn").attr("aria-selected","true"),$(".ls-tabs-btn .ls-tab-content").attr("role","tabpanel")}return{init:t,unbind:e}}(); \ No newline at end of file diff --git a/app/assets/javascripts/management/usuarios.js b/app/assets/javascripts/management/users.js similarity index 98% rename from app/assets/javascripts/management/usuarios.js rename to app/assets/javascripts/management/users.js index 542c087d5fa750fbffa6ef8a9f77f8b80a41453b..00e4ca158d99487f25169d175c177b7a8ef9d739 100644 --- a/app/assets/javascripts/management/usuarios.js +++ b/app/assets/javascripts/management/users.js @@ -1,7 +1,7 @@ //Configurações de gráficos BAR //mais infos www.chartjs.org/docs/ -var data_usuarios = { +var data_users = { labels: ["Estudantes", "Professores", "Moderadores", "Admnistradores"], datasets: [ { diff --git a/app/assets/javascripts/registrations.coffee b/app/assets/javascripts/registrations.coffee new file mode 100644 index 0000000000000000000000000000000000000000..24f83d18bbd38c24c4f7c3c2fc360cd68e857a2a --- /dev/null +++ b/app/assets/javascripts/registrations.coffee @@ -0,0 +1,3 @@ +# Place all the behaviors and hooks related to the matching controller here. +# All this logic will automatically be available in application.js. +# You can use CoffeeScript in this file: http://coffeescript.org/ diff --git a/app/assets/javascripts/search/select2.full.js b/app/assets/javascripts/search/select2.full.js new file mode 100644 index 0000000000000000000000000000000000000000..dd0e8bc74d679445338dc62a19ee756bb3bc2974 --- /dev/null +++ b/app/assets/javascripts/search/select2.full.js @@ -0,0 +1,6114 @@ +/*! + * Select2 4.0.0 + * https://select2.github.io + * + * Released under the MIT license + * https://github.com/select2/select2/blob/master/LICENSE.md + */ +(function (factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['jquery'], factory); + } else if (typeof exports === 'object') { + // Node/CommonJS + factory(require('jquery')); + } else { + // Browser globals + factory(jQuery); + } +}(function (jQuery) { + // This is needed so we can catch the AMD loader configuration and use it + // The inner file should be wrapped (by `banner.start.js`) in a function that + // returns the AMD loader references. + var S2 = +(function () { + // Restore the Select2 AMD loader so it can be used + // Needed mostly in the language files, where the loader is not inserted + if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) { + var S2 = jQuery.fn.select2.amd; + } +var S2;(function () { if (!S2 || !S2.requirejs) { +if (!S2) { S2 = {}; } else { require = S2; } +/** + * @license almond 0.2.9 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved. + * Available via the MIT or new BSD license. + * see: http://github.com/jrburke/almond for details + */ +//Going sloppy to avoid 'use strict' string cost, but strict practices should +//be followed. +/*jslint sloppy: true */ +/*global setTimeout: false */ + +var requirejs, require, define; +(function (undef) { + var main, req, makeMap, handlers, + defined = {}, + waiting = {}, + config = {}, + defining = {}, + hasOwn = Object.prototype.hasOwnProperty, + aps = [].slice, + jsSuffixRegExp = /\.js$/; + + function hasProp(obj, prop) { + return hasOwn.call(obj, prop); + } + + /** + * Given a relative module name, like ./something, normalize it to + * a real name that can be mapped to a path. + * @param {String} name the relative name + * @param {String} baseName a real name that the name arg is relative + * to. + * @returns {String} normalized name + */ + function normalize(name, baseName) { + var nameParts, nameSegment, mapValue, foundMap, lastIndex, + foundI, foundStarMap, starI, i, j, part, + baseParts = baseName && baseName.split("/"), + map = config.map, + starMap = (map && map['*']) || {}; + + //Adjust any relative paths. + if (name && name.charAt(0) === ".") { + //If have a base name, try to normalize against it, + //otherwise, assume it is a top-level require that will + //be relative to baseUrl in the end. + if (baseName) { + //Convert baseName to array, and lop off the last part, + //so that . matches that "directory" and not name of the baseName's + //module. For instance, baseName of "one/two/three", maps to + //"one/two/three.js", but we want the directory, "one/two" for + //this normalization. + baseParts = baseParts.slice(0, baseParts.length - 1); + name = name.split('/'); + lastIndex = name.length - 1; + + // Node .js allowance: + if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) { + name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, ''); + } + + name = baseParts.concat(name); + + //start trimDots + for (i = 0; i < name.length; i += 1) { + part = name[i]; + if (part === ".") { + name.splice(i, 1); + i -= 1; + } else if (part === "..") { + if (i === 1 && (name[2] === '..' || name[0] === '..')) { + //End of the line. Keep at least one non-dot + //path segment at the front so it can be mapped + //correctly to disk. Otherwise, there is likely + //no path mapping for a path starting with '..'. + //This can still fail, but catches the most reasonable + //uses of .. + break; + } else if (i > 0) { + name.splice(i - 1, 2); + i -= 2; + } + } + } + //end trimDots + + name = name.join("/"); + } else if (name.indexOf('./') === 0) { + // No baseName, so this is ID is resolved relative + // to baseUrl, pull off the leading dot. + name = name.substring(2); + } + } + + //Apply map config if available. + if ((baseParts || starMap) && map) { + nameParts = name.split('/'); + + for (i = nameParts.length; i > 0; i -= 1) { + nameSegment = nameParts.slice(0, i).join("/"); + + if (baseParts) { + //Find the longest baseName segment match in the config. + //So, do joins on the biggest to smallest lengths of baseParts. + for (j = baseParts.length; j > 0; j -= 1) { + mapValue = map[baseParts.slice(0, j).join('/')]; + + //baseName segment has config, find if it has one for + //this name. + if (mapValue) { + mapValue = mapValue[nameSegment]; + if (mapValue) { + //Match, update name to the new value. + foundMap = mapValue; + foundI = i; + break; + } + } + } + } + + if (foundMap) { + break; + } + + //Check for a star map match, but just hold on to it, + //if there is a shorter segment match later in a matching + //config, then favor over this star map. + if (!foundStarMap && starMap && starMap[nameSegment]) { + foundStarMap = starMap[nameSegment]; + starI = i; + } + } + + if (!foundMap && foundStarMap) { + foundMap = foundStarMap; + foundI = starI; + } + + if (foundMap) { + nameParts.splice(0, foundI, foundMap); + name = nameParts.join('/'); + } + } + + return name; + } + + function makeRequire(relName, forceSync) { + return function () { + //A version of a require function that passes a moduleName + //value for items that may need to + //look up paths relative to the moduleName + return req.apply(undef, aps.call(arguments, 0).concat([relName, forceSync])); + }; + } + + function makeNormalize(relName) { + return function (name) { + return normalize(name, relName); + }; + } + + function makeLoad(depName) { + return function (value) { + defined[depName] = value; + }; + } + + function callDep(name) { + if (hasProp(waiting, name)) { + var args = waiting[name]; + delete waiting[name]; + defining[name] = true; + main.apply(undef, args); + } + + if (!hasProp(defined, name) && !hasProp(defining, name)) { + throw new Error('No ' + name); + } + return defined[name]; + } + + //Turns a plugin!resource to [plugin, resource] + //with the plugin being undefined if the name + //did not have a plugin prefix. + function splitPrefix(name) { + var prefix, + index = name ? name.indexOf('!') : -1; + if (index > -1) { + prefix = name.substring(0, index); + name = name.substring(index + 1, name.length); + } + return [prefix, name]; + } + + /** + * Makes a name map, normalizing the name, and using a plugin + * for normalization if necessary. Grabs a ref to plugin + * too, as an optimization. + */ + makeMap = function (name, relName) { + var plugin, + parts = splitPrefix(name), + prefix = parts[0]; + + name = parts[1]; + + if (prefix) { + prefix = normalize(prefix, relName); + plugin = callDep(prefix); + } + + //Normalize according + if (prefix) { + if (plugin && plugin.normalize) { + name = plugin.normalize(name, makeNormalize(relName)); + } else { + name = normalize(name, relName); + } + } else { + name = normalize(name, relName); + parts = splitPrefix(name); + prefix = parts[0]; + name = parts[1]; + if (prefix) { + plugin = callDep(prefix); + } + } + + //Using ridiculous property names for space reasons + return { + f: prefix ? prefix + '!' + name : name, //fullName + n: name, + pr: prefix, + p: plugin + }; + }; + + function makeConfig(name) { + return function () { + return (config && config.config && config.config[name]) || {}; + }; + } + + handlers = { + require: function (name) { + return makeRequire(name); + }, + exports: function (name) { + var e = defined[name]; + if (typeof e !== 'undefined') { + return e; + } else { + return (defined[name] = {}); + } + }, + module: function (name) { + return { + id: name, + uri: '', + exports: defined[name], + config: makeConfig(name) + }; + } + }; + + main = function (name, deps, callback, relName) { + var cjsModule, depName, ret, map, i, + args = [], + callbackType = typeof callback, + usingExports; + + //Use name if no relName + relName = relName || name; + + //Call the callback to define the module, if necessary. + if (callbackType === 'undefined' || callbackType === 'function') { + //Pull out the defined dependencies and pass the ordered + //values to the callback. + //Default to [require, exports, module] if no deps + deps = !deps.length && callback.length ? ['require', 'exports', 'module'] : deps; + for (i = 0; i < deps.length; i += 1) { + map = makeMap(deps[i], relName); + depName = map.f; + + //Fast path CommonJS standard dependencies. + if (depName === "require") { + args[i] = handlers.require(name); + } else if (depName === "exports") { + //CommonJS module spec 1.1 + args[i] = handlers.exports(name); + usingExports = true; + } else if (depName === "module") { + //CommonJS module spec 1.1 + cjsModule = args[i] = handlers.module(name); + } else if (hasProp(defined, depName) || + hasProp(waiting, depName) || + hasProp(defining, depName)) { + args[i] = callDep(depName); + } else if (map.p) { + map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {}); + args[i] = defined[depName]; + } else { + throw new Error(name + ' missing ' + depName); + } + } + + ret = callback ? callback.apply(defined[name], args) : undefined; + + if (name) { + //If setting exports via "module" is in play, + //favor that over return value and exports. After that, + //favor a non-undefined return value over exports use. + if (cjsModule && cjsModule.exports !== undef && + cjsModule.exports !== defined[name]) { + defined[name] = cjsModule.exports; + } else if (ret !== undef || !usingExports) { + //Use the return value from the function. + defined[name] = ret; + } + } + } else if (name) { + //May just be an object definition for the module. Only + //worry about defining if have a module name. + defined[name] = callback; + } + }; + + requirejs = require = req = function (deps, callback, relName, forceSync, alt) { + if (typeof deps === "string") { + if (handlers[deps]) { + //callback in this case is really relName + return handlers[deps](callback); + } + //Just return the module wanted. In this scenario, the + //deps arg is the module name, and second arg (if passed) + //is just the relName. + //Normalize module name, if it contains . or .. + return callDep(makeMap(deps, callback).f); + } else if (!deps.splice) { + //deps is a config object, not an array. + config = deps; + if (config.deps) { + req(config.deps, config.callback); + } + if (!callback) { + return; + } + + if (callback.splice) { + //callback is an array, which means it is a dependency list. + //Adjust args if there are dependencies + deps = callback; + callback = relName; + relName = null; + } else { + deps = undef; + } + } + + //Support require(['a']) + callback = callback || function () {}; + + //If relName is a function, it is an errback handler, + //so remove it. + if (typeof relName === 'function') { + relName = forceSync; + forceSync = alt; + } + + //Simulate async callback; + if (forceSync) { + main(undef, deps, callback, relName); + } else { + //Using a non-zero value because of concern for what old browsers + //do, and latest browsers "upgrade" to 4 if lower value is used: + //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout: + //If want a value immediately, use require('id') instead -- something + //that works in almond on the global level, but not guaranteed and + //unlikely to work in other AMD implementations. + setTimeout(function () { + main(undef, deps, callback, relName); + }, 4); + } + + return req; + }; + + /** + * Just drops the config on the floor, but returns req in case + * the config return value is used. + */ + req.config = function (cfg) { + return req(cfg); + }; + + /** + * Expose module registry for debugging and tooling + */ + requirejs._defined = defined; + + define = function (name, deps, callback) { + + //This module may not have dependencies + if (!deps.splice) { + //deps is not an array, so probably means + //an object literal or factory function for + //the value. Adjust args. + callback = deps; + deps = []; + } + + if (!hasProp(defined, name) && !hasProp(waiting, name)) { + waiting[name] = [name, deps, callback]; + } + }; + + define.amd = { + jQuery: true + }; +}()); + +S2.requirejs = requirejs;S2.require = require;S2.define = define; +} +}()); +S2.define("almond", function(){}); + +/* global jQuery:false, $:false */ +S2.define('jquery',[],function () { + var _$ = jQuery || $; + + if (_$ == null && console && console.error) { + console.error( + 'Select2: An instance of jQuery or a jQuery-compatible library was not ' + + 'found. Make sure that you are including jQuery before Select2 on your ' + + 'web page.' + ); + } + + return _$; +}); + +S2.define('select2/utils',[ + 'jquery' +], function ($) { + var Utils = {}; + + Utils.Extend = function (ChildClass, SuperClass) { + var __hasProp = {}.hasOwnProperty; + + function BaseConstructor () { + this.constructor = ChildClass; + } + + for (var key in SuperClass) { + if (__hasProp.call(SuperClass, key)) { + ChildClass[key] = SuperClass[key]; + } + } + + BaseConstructor.prototype = SuperClass.prototype; + ChildClass.prototype = new BaseConstructor(); + ChildClass.__super__ = SuperClass.prototype; + + return ChildClass; + }; + + function getMethods (theClass) { + var proto = theClass.prototype; + + var methods = []; + + for (var methodName in proto) { + var m = proto[methodName]; + + if (typeof m !== 'function') { + continue; + } + + if (methodName === 'constructor') { + continue; + } + + methods.push(methodName); + } + + return methods; + } + + Utils.Decorate = function (SuperClass, DecoratorClass) { + var decoratedMethods = getMethods(DecoratorClass); + var superMethods = getMethods(SuperClass); + + function DecoratedClass () { + var unshift = Array.prototype.unshift; + + var argCount = DecoratorClass.prototype.constructor.length; + + var calledConstructor = SuperClass.prototype.constructor; + + if (argCount > 0) { + unshift.call(arguments, SuperClass.prototype.constructor); + + calledConstructor = DecoratorClass.prototype.constructor; + } + + calledConstructor.apply(this, arguments); + } + + DecoratorClass.displayName = SuperClass.displayName; + + function ctr () { + this.constructor = DecoratedClass; + } + + DecoratedClass.prototype = new ctr(); + + for (var m = 0; m < superMethods.length; m++) { + var superMethod = superMethods[m]; + + DecoratedClass.prototype[superMethod] = + SuperClass.prototype[superMethod]; + } + + var calledMethod = function (methodName) { + // Stub out the original method if it's not decorating an actual method + var originalMethod = function () {}; + + if (methodName in DecoratedClass.prototype) { + originalMethod = DecoratedClass.prototype[methodName]; + } + + var decoratedMethod = DecoratorClass.prototype[methodName]; + + return function () { + var unshift = Array.prototype.unshift; + + unshift.call(arguments, originalMethod); + + return decoratedMethod.apply(this, arguments); + }; + }; + + for (var d = 0; d < decoratedMethods.length; d++) { + var decoratedMethod = decoratedMethods[d]; + + DecoratedClass.prototype[decoratedMethod] = calledMethod(decoratedMethod); + } + + return DecoratedClass; + }; + + var Observable = function () { + this.listeners = {}; + }; + + Observable.prototype.on = function (event, callback) { + this.listeners = this.listeners || {}; + + if (event in this.listeners) { + this.listeners[event].push(callback); + } else { + this.listeners[event] = [callback]; + } + }; + + Observable.prototype.trigger = function (event) { + var slice = Array.prototype.slice; + + this.listeners = this.listeners || {}; + + if (event in this.listeners) { + this.invoke(this.listeners[event], slice.call(arguments, 1)); + } + + if ('*' in this.listeners) { + this.invoke(this.listeners['*'], arguments); + } + }; + + Observable.prototype.invoke = function (listeners, params) { + for (var i = 0, len = listeners.length; i < len; i++) { + listeners[i].apply(this, params); + } + }; + + Utils.Observable = Observable; + + Utils.generateChars = function (length) { + var chars = ''; + + for (var i = 0; i < length; i++) { + var randomChar = Math.floor(Math.random() * 36); + chars += randomChar.toString(36); + } + + return chars; + }; + + Utils.bind = function (func, context) { + return function () { + func.apply(context, arguments); + }; + }; + + Utils._convertData = function (data) { + for (var originalKey in data) { + var keys = originalKey.split('-'); + + var dataLevel = data; + + if (keys.length === 1) { + continue; + } + + for (var k = 0; k < keys.length; k++) { + var key = keys[k]; + + // Lowercase the first letter + // By default, dash-separated becomes camelCase + key = key.substring(0, 1).toLowerCase() + key.substring(1); + + if (!(key in dataLevel)) { + dataLevel[key] = {}; + } + + if (k == keys.length - 1) { + dataLevel[key] = data[originalKey]; + } + + dataLevel = dataLevel[key]; + } + + delete data[originalKey]; + } + + return data; + }; + + Utils.hasScroll = function (index, el) { + // Adapted from the function created by @ShadowScripter + // and adapted by @BillBarry on the Stack Exchange Code Review website. + // The original code can be found at + // http://codereview.stackexchange.com/q/13338 + // and was designed to be used with the Sizzle selector engine. + + var $el = $(el); + var overflowX = el.style.overflowX; + var overflowY = el.style.overflowY; + + //Check both x and y declarations + if (overflowX === overflowY && + (overflowY === 'hidden' || overflowY === 'visible')) { + return false; + } + + if (overflowX === 'scroll' || overflowY === 'scroll') { + return true; + } + + return ($el.innerHeight() < el.scrollHeight || + $el.innerWidth() < el.scrollWidth); + }; + + Utils.escapeMarkup = function (markup) { + var replaceMap = { + '\\': '\', + '&': '&', + '<': '<', + '>': '>', + '"': '"', + '\'': ''', + '/': '/' + }; + + // Do not try to escape the markup if it's not a string + if (typeof markup !== 'string') { + return markup; + } + + return String(markup).replace(/[&<>"'\/\\]/g, function (match) { + return replaceMap[match]; + }); + }; + + // Append an array of jQuery nodes to a given element. + Utils.appendMany = function ($element, $nodes) { + // jQuery 1.7.x does not support $.fn.append() with an array + // Fall back to a jQuery object collection using $.fn.add() + if ($.fn.jquery.substr(0, 3) === '1.7') { + var $jqNodes = $(); + + $.map($nodes, function (node) { + $jqNodes = $jqNodes.add(node); + }); + + $nodes = $jqNodes; + } + + $element.append($nodes); + }; + + return Utils; +}); + +S2.define('select2/results',[ + 'jquery', + './utils' +], function ($, Utils) { + function Results ($element, options, dataAdapter) { + this.$element = $element; + this.data = dataAdapter; + this.options = options; + + Results.__super__.constructor.call(this); + } + + Utils.Extend(Results, Utils.Observable); + + Results.prototype.render = function () { + var $results = $( + '<ul class="select2-results__options" role="tree"></ul>' + ); + + if (this.options.get('multiple')) { + $results.attr('aria-multiselectable', 'true'); + } + + this.$results = $results; + + return $results; + }; + + Results.prototype.clear = function () { + this.$results.empty(); + }; + + Results.prototype.displayMessage = function (params) { + var escapeMarkup = this.options.get('escapeMarkup'); + + this.clear(); + this.hideLoading(); + + var $message = $( + '<li role="treeitem" class="select2-results__option"></li>' + ); + + var message = this.options.get('translations').get(params.message); + + $message.append( + escapeMarkup( + message(params.args) + ) + ); + + this.$results.append($message); + }; + + Results.prototype.append = function (data) { + this.hideLoading(); + + var $options = []; + + if (data.results == null || data.results.length === 0) { + if (this.$results.children().length === 0) { + this.trigger('results:message', { + message: 'noResults' + }); + } + + return; + } + + data.results = this.sort(data.results); + + for (var d = 0; d < data.results.length; d++) { + var item = data.results[d]; + + var $option = this.option(item); + + $options.push($option); + } + + this.$results.append($options); + }; + + Results.prototype.position = function ($results, $dropdown) { + var $resultsContainer = $dropdown.find('.select2-results'); + $resultsContainer.append($results); + }; + + Results.prototype.sort = function (data) { + var sorter = this.options.get('sorter'); + + return sorter(data); + }; + + Results.prototype.setClasses = function () { + var self = this; + + this.data.current(function (selected) { + var selectedIds = $.map(selected, function (s) { + return s.id.toString(); + }); + + var $options = self.$results + .find('.select2-results__option[aria-selected]'); + + $options.each(function () { + var $option = $(this); + + var item = $.data(this, 'data'); + + // id needs to be converted to a string when comparing + var id = '' + item.id; + + if ((item.element != null && item.element.selected) || + (item.element == null && $.inArray(id, selectedIds) > -1)) { + $option.attr('aria-selected', 'true'); + } else { + $option.attr('aria-selected', 'false'); + } + }); + + var $selected = $options.filter('[aria-selected=true]'); + + // Check if there are any selected options + if ($selected.length > 0) { + // If there are selected options, highlight the first + $selected.first().trigger('mouseenter'); + } else { + // If there are no selected options, highlight the first option + // in the dropdown + $options.first().trigger('mouseenter'); + } + }); + }; + + Results.prototype.showLoading = function (params) { + this.hideLoading(); + + var loadingMore = this.options.get('translations').get('searching'); + + var loading = { + disabled: true, + loading: true, + text: loadingMore(params) + }; + var $loading = this.option(loading); + $loading.className += ' loading-results'; + + this.$results.prepend($loading); + }; + + Results.prototype.hideLoading = function () { + this.$results.find('.loading-results').remove(); + }; + + Results.prototype.option = function (data) { + var option = document.createElement('li'); + option.className = 'select2-results__option'; + + var attrs = { + 'role': 'treeitem', + 'aria-selected': 'false' + }; + + if (data.disabled) { + delete attrs['aria-selected']; + attrs['aria-disabled'] = 'true'; + } + + if (data.id == null) { + delete attrs['aria-selected']; + } + + if (data._resultId != null) { + option.id = data._resultId; + } + + if (data.title) { + option.title = data.title; + } + + if (data.children) { + attrs.role = 'group'; + attrs['aria-label'] = data.text; + delete attrs['aria-selected']; + } + + for (var attr in attrs) { + var val = attrs[attr]; + + option.setAttribute(attr, val); + } + + if (data.children) { + var $option = $(option); + + var label = document.createElement('strong'); + label.className = 'select2-results__group'; + + var $label = $(label); + this.template(data, label); + + var $children = []; + + for (var c = 0; c < data.children.length; c++) { + var child = data.children[c]; + + var $child = this.option(child); + + $children.push($child); + } + + var $childrenContainer = $('<ul></ul>', { + 'class': 'select2-results__options select2-results__options--nested' + }); + + $childrenContainer.append($children); + + $option.append(label); + $option.append($childrenContainer); + } else { + this.template(data, option); + } + + $.data(option, 'data', data); + + return option; + }; + + Results.prototype.bind = function (container, $container) { + var self = this; + + var id = container.id + '-results'; + + this.$results.attr('id', id); + + container.on('results:all', function (params) { + self.clear(); + self.append(params.data); + + if (container.isOpen()) { + self.setClasses(); + } + }); + + container.on('results:append', function (params) { + self.append(params.data); + + if (container.isOpen()) { + self.setClasses(); + } + }); + + container.on('query', function (params) { + self.showLoading(params); + }); + + container.on('select', function () { + if (!container.isOpen()) { + return; + } + + self.setClasses(); + }); + + container.on('unselect', function () { + if (!container.isOpen()) { + return; + } + + self.setClasses(); + }); + + container.on('open', function () { + // When the dropdown is open, aria-expended="true" + self.$results.attr('aria-expanded', 'true'); + self.$results.attr('aria-hidden', 'false'); + + self.setClasses(); + self.ensureHighlightVisible(); + }); + + container.on('close', function () { + // When the dropdown is closed, aria-expended="false" + self.$results.attr('aria-expanded', 'false'); + self.$results.attr('aria-hidden', 'true'); + self.$results.removeAttr('aria-activedescendant'); + }); + + container.on('results:toggle', function () { + var $highlighted = self.getHighlightedResults(); + + if ($highlighted.length === 0) { + return; + } + + $highlighted.trigger('mouseup'); + }); + + container.on('results:select', function () { + var $highlighted = self.getHighlightedResults(); + + if ($highlighted.length === 0) { + return; + } + + var data = $highlighted.data('data'); + + if ($highlighted.attr('aria-selected') == 'true') { + self.trigger('close'); + } else { + self.trigger('select', { + data: data + }); + } + }); + + container.on('results:previous', function () { + var $highlighted = self.getHighlightedResults(); + + var $options = self.$results.find('[aria-selected]'); + + var currentIndex = $options.index($highlighted); + + // If we are already at te top, don't move further + if (currentIndex === 0) { + return; + } + + var nextIndex = currentIndex - 1; + + // If none are highlighted, highlight the first + if ($highlighted.length === 0) { + nextIndex = 0; + } + + var $next = $options.eq(nextIndex); + + $next.trigger('mouseenter'); + + var currentOffset = self.$results.offset().top; + var nextTop = $next.offset().top; + var nextOffset = self.$results.scrollTop() + (nextTop - currentOffset); + + if (nextIndex === 0) { + self.$results.scrollTop(0); + } else if (nextTop - currentOffset < 0) { + self.$results.scrollTop(nextOffset); + } + }); + + container.on('results:next', function () { + var $highlighted = self.getHighlightedResults(); + + var $options = self.$results.find('[aria-selected]'); + + var currentIndex = $options.index($highlighted); + + var nextIndex = currentIndex + 1; + + // If we are at the last option, stay there + if (nextIndex >= $options.length) { + return; + } + + var $next = $options.eq(nextIndex); + + $next.trigger('mouseenter'); + + var currentOffset = self.$results.offset().top + + self.$results.outerHeight(false); + var nextBottom = $next.offset().top + $next.outerHeight(false); + var nextOffset = self.$results.scrollTop() + nextBottom - currentOffset; + + if (nextIndex === 0) { + self.$results.scrollTop(0); + } else if (nextBottom > currentOffset) { + self.$results.scrollTop(nextOffset); + } + }); + + container.on('results:focus', function (params) { + params.element.addClass('select2-results__option--highlighted'); + }); + + container.on('results:message', function (params) { + self.displayMessage(params); + }); + + if ($.fn.mousewheel) { + this.$results.on('mousewheel', function (e) { + var top = self.$results.scrollTop(); + + var bottom = ( + self.$results.get(0).scrollHeight - + self.$results.scrollTop() + + e.deltaY + ); + + var isAtTop = e.deltaY > 0 && top - e.deltaY <= 0; + var isAtBottom = e.deltaY < 0 && bottom <= self.$results.height(); + + if (isAtTop) { + self.$results.scrollTop(0); + + e.preventDefault(); + e.stopPropagation(); + } else if (isAtBottom) { + self.$results.scrollTop( + self.$results.get(0).scrollHeight - self.$results.height() + ); + + e.preventDefault(); + e.stopPropagation(); + } + }); + } + + this.$results.on('mouseup', '.select2-results__option[aria-selected]', + function (evt) { + var $this = $(this); + + var data = $this.data('data'); + + if ($this.attr('aria-selected') === 'true') { + if (self.options.get('multiple')) { + self.trigger('unselect', { + originalEvent: evt, + data: data + }); + } else { + self.trigger('close'); + } + + return; + } + + self.trigger('select', { + originalEvent: evt, + data: data + }); + }); + + this.$results.on('mouseenter', '.select2-results__option[aria-selected]', + function (evt) { + var data = $(this).data('data'); + + self.getHighlightedResults() + .removeClass('select2-results__option--highlighted'); + + self.trigger('results:focus', { + data: data, + element: $(this) + }); + }); + }; + + Results.prototype.getHighlightedResults = function () { + var $highlighted = this.$results + .find('.select2-results__option--highlighted'); + + return $highlighted; + }; + + Results.prototype.destroy = function () { + this.$results.remove(); + }; + + Results.prototype.ensureHighlightVisible = function () { + var $highlighted = this.getHighlightedResults(); + + if ($highlighted.length === 0) { + return; + } + + var $options = this.$results.find('[aria-selected]'); + + var currentIndex = $options.index($highlighted); + + var currentOffset = this.$results.offset().top; + var nextTop = $highlighted.offset().top; + var nextOffset = this.$results.scrollTop() + (nextTop - currentOffset); + + var offsetDelta = nextTop - currentOffset; + nextOffset -= $highlighted.outerHeight(false) * 2; + + if (currentIndex <= 2) { + this.$results.scrollTop(0); + } else if (offsetDelta > this.$results.outerHeight() || offsetDelta < 0) { + this.$results.scrollTop(nextOffset); + } + }; + + Results.prototype.template = function (result, container) { + var template = this.options.get('templateResult'); + var escapeMarkup = this.options.get('escapeMarkup'); + + var content = template(result); + + if (content == null) { + container.style.display = 'none'; + } else if (typeof content === 'string') { + container.innerHTML = escapeMarkup(content); + } else { + $(container).append(content); + } + }; + + return Results; +}); + +S2.define('select2/keys',[ + +], function () { + var KEYS = { + BACKSPACE: 8, + TAB: 9, + ENTER: 13, + SHIFT: 16, + CTRL: 17, + ALT: 18, + ESC: 27, + SPACE: 32, + PAGE_UP: 33, + PAGE_DOWN: 34, + END: 35, + HOME: 36, + LEFT: 37, + UP: 38, + RIGHT: 39, + DOWN: 40, + DELETE: 46 + }; + + return KEYS; +}); + +S2.define('select2/selection/base',[ + 'jquery', + '../utils', + '../keys' +], function ($, Utils, KEYS) { + function BaseSelection ($element, options) { + this.$element = $element; + this.options = options; + + BaseSelection.__super__.constructor.call(this); + } + + Utils.Extend(BaseSelection, Utils.Observable); + + BaseSelection.prototype.render = function () { + var $selection = $( + '<span class="select2-selection" role="combobox" ' + + 'aria-autocomplete="list" aria-haspopup="true" aria-expanded="false">' + + '</span>' + ); + + this._tabindex = 0; + + if (this.$element.data('old-tabindex') != null) { + this._tabindex = this.$element.data('old-tabindex'); + } else if (this.$element.attr('tabindex') != null) { + this._tabindex = this.$element.attr('tabindex'); + } + + $selection.attr('title', this.$element.attr('title')); + $selection.attr('tabindex', this._tabindex); + + this.$selection = $selection; + + return $selection; + }; + + BaseSelection.prototype.bind = function (container, $container) { + var self = this; + + var id = container.id + '-container'; + var resultsId = container.id + '-results'; + + this.container = container; + + this.$selection.on('focus', function (evt) { + self.trigger('focus', evt); + }); + + this.$selection.on('blur', function (evt) { + self.trigger('blur', evt); + }); + + this.$selection.on('keydown', function (evt) { + self.trigger('keypress', evt); + + if (evt.which === KEYS.SPACE) { + evt.preventDefault(); + } + }); + + container.on('results:focus', function (params) { + self.$selection.attr('aria-activedescendant', params.data._resultId); + }); + + container.on('selection:update', function (params) { + self.update(params.data); + }); + + container.on('open', function () { + // When the dropdown is open, aria-expanded="true" + self.$selection.attr('aria-expanded', 'true'); + self.$selection.attr('aria-owns', resultsId); + + self._attachCloseHandler(container); + }); + + container.on('close', function () { + // When the dropdown is closed, aria-expanded="false" + self.$selection.attr('aria-expanded', 'false'); + self.$selection.removeAttr('aria-activedescendant'); + self.$selection.removeAttr('aria-owns'); + + self.$selection.focus(); + + self._detachCloseHandler(container); + }); + + container.on('enable', function () { + self.$selection.attr('tabindex', self._tabindex); + }); + + container.on('disable', function () { + self.$selection.attr('tabindex', '-1'); + }); + }; + + BaseSelection.prototype._attachCloseHandler = function (container) { + var self = this; + + $(document.body).on('mousedown.select2.' + container.id, function (e) { + var $target = $(e.target); + + var $select = $target.closest('.select2'); + + var $all = $('.select2.select2-container--open'); + + $all.each(function () { + var $this = $(this); + + if (this == $select[0]) { + return; + } + + var $element = $this.data('element'); + + $element.select2('close'); + }); + }); + }; + + BaseSelection.prototype._detachCloseHandler = function (container) { + $(document.body).off('mousedown.select2.' + container.id); + }; + + BaseSelection.prototype.position = function ($selection, $container) { + var $selectionContainer = $container.find('.selection'); + $selectionContainer.append($selection); + }; + + BaseSelection.prototype.destroy = function () { + this._detachCloseHandler(this.container); + }; + + BaseSelection.prototype.update = function (data) { + throw new Error('The `update` method must be defined in child classes.'); + }; + + return BaseSelection; +}); + +S2.define('select2/selection/single',[ + 'jquery', + './base', + '../utils', + '../keys' +], function ($, BaseSelection, Utils, KEYS) { + function SingleSelection () { + SingleSelection.__super__.constructor.apply(this, arguments); + } + + Utils.Extend(SingleSelection, BaseSelection); + + SingleSelection.prototype.render = function () { + var $selection = SingleSelection.__super__.render.call(this); + + $selection.addClass('select2-selection--single'); + + $selection.html( + '<span class="select2-selection__rendered"></span>' + + '<span class="select2-selection__arrow" role="presentation">' + + '<b role="presentation"></b>' + + '</span>' + ); + + return $selection; + }; + + SingleSelection.prototype.bind = function (container, $container) { + var self = this; + + SingleSelection.__super__.bind.apply(this, arguments); + + var id = container.id + '-container'; + + this.$selection.find('.select2-selection__rendered').attr('id', id); + this.$selection.attr('aria-labelledby', id); + + this.$selection.on('mousedown', function (evt) { + // Only respond to left clicks + if (evt.which !== 1) { + return; + } + + self.trigger('toggle', { + originalEvent: evt + }); + }); + + this.$selection.on('focus', function (evt) { + // User focuses on the container + }); + + this.$selection.on('blur', function (evt) { + // User exits the container + }); + + container.on('selection:update', function (params) { + self.update(params.data); + }); + }; + + SingleSelection.prototype.clear = function () { + this.$selection.find('.select2-selection__rendered').empty(); + }; + + SingleSelection.prototype.display = function (data) { + var template = this.options.get('templateSelection'); + var escapeMarkup = this.options.get('escapeMarkup'); + + return escapeMarkup(template(data)); + }; + + SingleSelection.prototype.selectionContainer = function () { + return $('<span></span>'); + }; + + SingleSelection.prototype.update = function (data) { + if (data.length === 0) { + this.clear(); + return; + } + + var selection = data[0]; + + var formatted = this.display(selection); + + var $rendered = this.$selection.find('.select2-selection__rendered'); + $rendered.empty().append(formatted); + $rendered.prop('title', selection.title || selection.text); + }; + + return SingleSelection; +}); + +S2.define('select2/selection/multiple',[ + 'jquery', + './base', + '../utils' +], function ($, BaseSelection, Utils) { + function MultipleSelection ($element, options) { + MultipleSelection.__super__.constructor.apply(this, arguments); + } + + Utils.Extend(MultipleSelection, BaseSelection); + + MultipleSelection.prototype.render = function () { + var $selection = MultipleSelection.__super__.render.call(this); + + $selection.addClass('select2-selection--multiple'); + + $selection.html( + '<ul class="select2-selection__rendered"></ul>' + ); + + return $selection; + }; + + MultipleSelection.prototype.bind = function (container, $container) { + var self = this; + + MultipleSelection.__super__.bind.apply(this, arguments); + + this.$selection.on('click', function (evt) { + self.trigger('toggle', { + originalEvent: evt + }); + }); + + this.$selection.on('click', '.select2-selection__choice__remove', + function (evt) { + var $remove = $(this); + var $selection = $remove.parent(); + + var data = $selection.data('data'); + + self.trigger('unselect', { + originalEvent: evt, + data: data + }); + }); + }; + + MultipleSelection.prototype.clear = function () { + this.$selection.find('.select2-selection__rendered').empty(); + }; + + MultipleSelection.prototype.display = function (data) { + var template = this.options.get('templateSelection'); + var escapeMarkup = this.options.get('escapeMarkup'); + + return escapeMarkup(template(data)); + }; + + MultipleSelection.prototype.selectionContainer = function () { + var $container = $( + '<li class="select2-selection__choice">' + + '<span class="select2-selection__choice__remove" role="presentation">' + + '×' + + '</span>' + + '</li>' + ); + + return $container; + }; + + MultipleSelection.prototype.update = function (data) { + this.clear(); + + if (data.length === 0) { + return; + } + + var $selections = []; + + for (var d = 0; d < data.length; d++) { + var selection = data[d]; + + var formatted = this.display(selection); + var $selection = this.selectionContainer(); + + $selection.append(formatted); + $selection.prop('title', selection.title || selection.text); + + $selection.data('data', selection); + + $selections.push($selection); + } + + var $rendered = this.$selection.find('.select2-selection__rendered'); + + Utils.appendMany($rendered, $selections); + }; + + return MultipleSelection; +}); + +S2.define('select2/selection/placeholder',[ + '../utils' +], function (Utils) { + function Placeholder (decorated, $element, options) { + this.placeholder = this.normalizePlaceholder(options.get('placeholder')); + + decorated.call(this, $element, options); + } + + Placeholder.prototype.normalizePlaceholder = function (_, placeholder) { + if (typeof placeholder === 'string') { + placeholder = { + id: '', + text: placeholder + }; + } + + return placeholder; + }; + + Placeholder.prototype.createPlaceholder = function (decorated, placeholder) { + var $placeholder = this.selectionContainer(); + + $placeholder.html(this.display(placeholder)); + $placeholder.addClass('select2-selection__placeholder') + .removeClass('select2-selection__choice'); + + return $placeholder; + }; + + Placeholder.prototype.update = function (decorated, data) { + var singlePlaceholder = ( + data.length == 1 && data[0].id != this.placeholder.id + ); + var multipleSelections = data.length > 1; + + if (multipleSelections || singlePlaceholder) { + return decorated.call(this, data); + } + + this.clear(); + + var $placeholder = this.createPlaceholder(this.placeholder); + + this.$selection.find('.select2-selection__rendered').append($placeholder); + }; + + return Placeholder; +}); + +S2.define('select2/selection/allowClear',[ + 'jquery', + '../keys' +], function ($, KEYS) { + function AllowClear () { } + + AllowClear.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + if (this.placeholder == null) { + if (this.options.get('debug') && window.console && console.error) { + console.error( + 'Select2: The `allowClear` option should be used in combination ' + + 'with the `placeholder` option.' + ); + } + } + + this.$selection.on('mousedown', '.select2-selection__clear', + function (evt) { + self._handleClear(evt); + }); + + container.on('keypress', function (evt) { + self._handleKeyboardClear(evt, container); + }); + }; + + AllowClear.prototype._handleClear = function (_, evt) { + // Ignore the event if it is disabled + if (this.options.get('disabled')) { + return; + } + + var $clear = this.$selection.find('.select2-selection__clear'); + + // Ignore the event if nothing has been selected + if ($clear.length === 0) { + return; + } + + evt.stopPropagation(); + + var data = $clear.data('data'); + + for (var d = 0; d < data.length; d++) { + var unselectData = { + data: data[d] + }; + + // Trigger the `unselect` event, so people can prevent it from being + // cleared. + this.trigger('unselect', unselectData); + + // If the event was prevented, don't clear it out. + if (unselectData.prevented) { + return; + } + } + + this.$element.val(this.placeholder.id).trigger('change'); + + this.trigger('toggle'); + }; + + AllowClear.prototype._handleKeyboardClear = function (_, evt, container) { + if (container.isOpen()) { + return; + } + + if (evt.which == KEYS.DELETE || evt.which == KEYS.BACKSPACE) { + this._handleClear(evt); + } + }; + + AllowClear.prototype.update = function (decorated, data) { + decorated.call(this, data); + + if (this.$selection.find('.select2-selection__placeholder').length > 0 || + data.length === 0) { + return; + } + + var $remove = $( + '<span class="select2-selection__clear">' + + '×' + + '</span>' + ); + $remove.data('data', data); + + this.$selection.find('.select2-selection__rendered').prepend($remove); + }; + + return AllowClear; +}); + +S2.define('select2/selection/search',[ + 'jquery', + '../utils', + '../keys' +], function ($, Utils, KEYS) { + function Search (decorated, $element, options) { + decorated.call(this, $element, options); + } + + Search.prototype.render = function (decorated) { + var $search = $( + '<li class="select2-search select2-search--inline">' + + '<input class="select2-search__field" type="search" tabindex="-1"' + + ' autocomplete="off" autocorrect="off" autocapitalize="off"' + + ' spellcheck="false" role="textbox" />' + + '</li>' + ); + + this.$searchContainer = $search; + this.$search = $search.find('input'); + + var $rendered = decorated.call(this); + + return $rendered; + }; + + Search.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('open', function () { + self.$search.attr('tabindex', 0); + + self.$search.focus(); + }); + + container.on('close', function () { + self.$search.attr('tabindex', -1); + + self.$search.val(''); + self.$search.focus(); + }); + + container.on('enable', function () { + self.$search.prop('disabled', false); + }); + + container.on('disable', function () { + self.$search.prop('disabled', true); + }); + + this.$selection.on('focusin', '.select2-search--inline', function (evt) { + self.trigger('focus', evt); + }); + + this.$selection.on('focusout', '.select2-search--inline', function (evt) { + self.trigger('blur', evt); + }); + + this.$selection.on('keydown', '.select2-search--inline', function (evt) { + evt.stopPropagation(); + + self.trigger('keypress', evt); + + self._keyUpPrevented = evt.isDefaultPrevented(); + + var key = evt.which; + + if (key === KEYS.BACKSPACE && self.$search.val() === '') { + var $previousChoice = self.$searchContainer + .prev('.select2-selection__choice'); + + if ($previousChoice.length > 0) { + var item = $previousChoice.data('data'); + + self.searchRemoveChoice(item); + + evt.preventDefault(); + } + } + }); + + // Workaround for browsers which do not support the `input` event + // This will prevent double-triggering of events for browsers which support + // both the `keyup` and `input` events. + this.$selection.on('input', '.select2-search--inline', function (evt) { + // Unbind the duplicated `keyup` event + self.$selection.off('keyup.search'); + }); + + this.$selection.on('keyup.search input', '.select2-search--inline', + function (evt) { + self.handleSearch(evt); + }); + }; + + Search.prototype.createPlaceholder = function (decorated, placeholder) { + this.$search.attr('placeholder', placeholder.text); + }; + + Search.prototype.update = function (decorated, data) { + this.$search.attr('placeholder', ''); + + decorated.call(this, data); + + this.$selection.find('.select2-selection__rendered') + .append(this.$searchContainer); + + this.resizeSearch(); + }; + + Search.prototype.handleSearch = function () { + this.resizeSearch(); + + if (!this._keyUpPrevented) { + var input = this.$search.val(); + + this.trigger('query', { + term: input + }); + } + + this._keyUpPrevented = false; + }; + + Search.prototype.searchRemoveChoice = function (decorated, item) { + this.trigger('unselect', { + data: item + }); + + this.trigger('open'); + + this.$search.val(item.text + ' '); + }; + + Search.prototype.resizeSearch = function () { + this.$search.css('width', '25px'); + + var width = ''; + + if (this.$search.attr('placeholder') !== '') { + width = this.$selection.find('.select2-selection__rendered').innerWidth(); + } else { + var minimumWidth = this.$search.val().length + 1; + + width = (minimumWidth * 0.75) + 'em'; + } + + this.$search.css('width', width); + }; + + return Search; +}); + +S2.define('select2/selection/eventRelay',[ + 'jquery' +], function ($) { + function EventRelay () { } + + EventRelay.prototype.bind = function (decorated, container, $container) { + var self = this; + var relayEvents = [ + 'open', 'opening', + 'close', 'closing', + 'select', 'selecting', + 'unselect', 'unselecting' + ]; + + var preventableEvents = ['opening', 'closing', 'selecting', 'unselecting']; + + decorated.call(this, container, $container); + + container.on('*', function (name, params) { + // Ignore events that should not be relayed + if ($.inArray(name, relayEvents) === -1) { + return; + } + + // The parameters should always be an object + params = params || {}; + + // Generate the jQuery event for the Select2 event + var evt = $.Event('select2:' + name, { + params: params + }); + + self.$element.trigger(evt); + + // Only handle preventable events if it was one + if ($.inArray(name, preventableEvents) === -1) { + return; + } + + params.prevented = evt.isDefaultPrevented(); + }); + }; + + return EventRelay; +}); + +S2.define('select2/translation',[ + 'jquery', + 'require' +], function ($, require) { + function Translation (dict) { + this.dict = dict || {}; + } + + Translation.prototype.all = function () { + return this.dict; + }; + + Translation.prototype.get = function (key) { + return this.dict[key]; + }; + + Translation.prototype.extend = function (translation) { + this.dict = $.extend({}, translation.all(), this.dict); + }; + + // Static functions + + Translation._cache = {}; + + Translation.loadPath = function (path) { + if (!(path in Translation._cache)) { + var translations = require(path); + + Translation._cache[path] = translations; + } + + return new Translation(Translation._cache[path]); + }; + + return Translation; +}); + +S2.define('select2/diacritics',[ + +], function () { + var diacritics = { + '\u24B6': 'A', + '\uFF21': 'A', + '\u00C0': 'A', + '\u00C1': 'A', + '\u00C2': 'A', + '\u1EA6': 'A', + '\u1EA4': 'A', + '\u1EAA': 'A', + '\u1EA8': 'A', + '\u00C3': 'A', + '\u0100': 'A', + '\u0102': 'A', + '\u1EB0': 'A', + '\u1EAE': 'A', + '\u1EB4': 'A', + '\u1EB2': 'A', + '\u0226': 'A', + '\u01E0': 'A', + '\u00C4': 'A', + '\u01DE': 'A', + '\u1EA2': 'A', + '\u00C5': 'A', + '\u01FA': 'A', + '\u01CD': 'A', + '\u0200': 'A', + '\u0202': 'A', + '\u1EA0': 'A', + '\u1EAC': 'A', + '\u1EB6': 'A', + '\u1E00': 'A', + '\u0104': 'A', + '\u023A': 'A', + '\u2C6F': 'A', + '\uA732': 'AA', + '\u00C6': 'AE', + '\u01FC': 'AE', + '\u01E2': 'AE', + '\uA734': 'AO', + '\uA736': 'AU', + '\uA738': 'AV', + '\uA73A': 'AV', + '\uA73C': 'AY', + '\u24B7': 'B', + '\uFF22': 'B', + '\u1E02': 'B', + '\u1E04': 'B', + '\u1E06': 'B', + '\u0243': 'B', + '\u0182': 'B', + '\u0181': 'B', + '\u24B8': 'C', + '\uFF23': 'C', + '\u0106': 'C', + '\u0108': 'C', + '\u010A': 'C', + '\u010C': 'C', + '\u00C7': 'C', + '\u1E08': 'C', + '\u0187': 'C', + '\u023B': 'C', + '\uA73E': 'C', + '\u24B9': 'D', + '\uFF24': 'D', + '\u1E0A': 'D', + '\u010E': 'D', + '\u1E0C': 'D', + '\u1E10': 'D', + '\u1E12': 'D', + '\u1E0E': 'D', + '\u0110': 'D', + '\u018B': 'D', + '\u018A': 'D', + '\u0189': 'D', + '\uA779': 'D', + '\u01F1': 'DZ', + '\u01C4': 'DZ', + '\u01F2': 'Dz', + '\u01C5': 'Dz', + '\u24BA': 'E', + '\uFF25': 'E', + '\u00C8': 'E', + '\u00C9': 'E', + '\u00CA': 'E', + '\u1EC0': 'E', + '\u1EBE': 'E', + '\u1EC4': 'E', + '\u1EC2': 'E', + '\u1EBC': 'E', + '\u0112': 'E', + '\u1E14': 'E', + '\u1E16': 'E', + '\u0114': 'E', + '\u0116': 'E', + '\u00CB': 'E', + '\u1EBA': 'E', + '\u011A': 'E', + '\u0204': 'E', + '\u0206': 'E', + '\u1EB8': 'E', + '\u1EC6': 'E', + '\u0228': 'E', + '\u1E1C': 'E', + '\u0118': 'E', + '\u1E18': 'E', + '\u1E1A': 'E', + '\u0190': 'E', + '\u018E': 'E', + '\u24BB': 'F', + '\uFF26': 'F', + '\u1E1E': 'F', + '\u0191': 'F', + '\uA77B': 'F', + '\u24BC': 'G', + '\uFF27': 'G', + '\u01F4': 'G', + '\u011C': 'G', + '\u1E20': 'G', + '\u011E': 'G', + '\u0120': 'G', + '\u01E6': 'G', + '\u0122': 'G', + '\u01E4': 'G', + '\u0193': 'G', + '\uA7A0': 'G', + '\uA77D': 'G', + '\uA77E': 'G', + '\u24BD': 'H', + '\uFF28': 'H', + '\u0124': 'H', + '\u1E22': 'H', + '\u1E26': 'H', + '\u021E': 'H', + '\u1E24': 'H', + '\u1E28': 'H', + '\u1E2A': 'H', + '\u0126': 'H', + '\u2C67': 'H', + '\u2C75': 'H', + '\uA78D': 'H', + '\u24BE': 'I', + '\uFF29': 'I', + '\u00CC': 'I', + '\u00CD': 'I', + '\u00CE': 'I', + '\u0128': 'I', + '\u012A': 'I', + '\u012C': 'I', + '\u0130': 'I', + '\u00CF': 'I', + '\u1E2E': 'I', + '\u1EC8': 'I', + '\u01CF': 'I', + '\u0208': 'I', + '\u020A': 'I', + '\u1ECA': 'I', + '\u012E': 'I', + '\u1E2C': 'I', + '\u0197': 'I', + '\u24BF': 'J', + '\uFF2A': 'J', + '\u0134': 'J', + '\u0248': 'J', + '\u24C0': 'K', + '\uFF2B': 'K', + '\u1E30': 'K', + '\u01E8': 'K', + '\u1E32': 'K', + '\u0136': 'K', + '\u1E34': 'K', + '\u0198': 'K', + '\u2C69': 'K', + '\uA740': 'K', + '\uA742': 'K', + '\uA744': 'K', + '\uA7A2': 'K', + '\u24C1': 'L', + '\uFF2C': 'L', + '\u013F': 'L', + '\u0139': 'L', + '\u013D': 'L', + '\u1E36': 'L', + '\u1E38': 'L', + '\u013B': 'L', + '\u1E3C': 'L', + '\u1E3A': 'L', + '\u0141': 'L', + '\u023D': 'L', + '\u2C62': 'L', + '\u2C60': 'L', + '\uA748': 'L', + '\uA746': 'L', + '\uA780': 'L', + '\u01C7': 'LJ', + '\u01C8': 'Lj', + '\u24C2': 'M', + '\uFF2D': 'M', + '\u1E3E': 'M', + '\u1E40': 'M', + '\u1E42': 'M', + '\u2C6E': 'M', + '\u019C': 'M', + '\u24C3': 'N', + '\uFF2E': 'N', + '\u01F8': 'N', + '\u0143': 'N', + '\u00D1': 'N', + '\u1E44': 'N', + '\u0147': 'N', + '\u1E46': 'N', + '\u0145': 'N', + '\u1E4A': 'N', + '\u1E48': 'N', + '\u0220': 'N', + '\u019D': 'N', + '\uA790': 'N', + '\uA7A4': 'N', + '\u01CA': 'NJ', + '\u01CB': 'Nj', + '\u24C4': 'O', + '\uFF2F': 'O', + '\u00D2': 'O', + '\u00D3': 'O', + '\u00D4': 'O', + '\u1ED2': 'O', + '\u1ED0': 'O', + '\u1ED6': 'O', + '\u1ED4': 'O', + '\u00D5': 'O', + '\u1E4C': 'O', + '\u022C': 'O', + '\u1E4E': 'O', + '\u014C': 'O', + '\u1E50': 'O', + '\u1E52': 'O', + '\u014E': 'O', + '\u022E': 'O', + '\u0230': 'O', + '\u00D6': 'O', + '\u022A': 'O', + '\u1ECE': 'O', + '\u0150': 'O', + '\u01D1': 'O', + '\u020C': 'O', + '\u020E': 'O', + '\u01A0': 'O', + '\u1EDC': 'O', + '\u1EDA': 'O', + '\u1EE0': 'O', + '\u1EDE': 'O', + '\u1EE2': 'O', + '\u1ECC': 'O', + '\u1ED8': 'O', + '\u01EA': 'O', + '\u01EC': 'O', + '\u00D8': 'O', + '\u01FE': 'O', + '\u0186': 'O', + '\u019F': 'O', + '\uA74A': 'O', + '\uA74C': 'O', + '\u01A2': 'OI', + '\uA74E': 'OO', + '\u0222': 'OU', + '\u24C5': 'P', + '\uFF30': 'P', + '\u1E54': 'P', + '\u1E56': 'P', + '\u01A4': 'P', + '\u2C63': 'P', + '\uA750': 'P', + '\uA752': 'P', + '\uA754': 'P', + '\u24C6': 'Q', + '\uFF31': 'Q', + '\uA756': 'Q', + '\uA758': 'Q', + '\u024A': 'Q', + '\u24C7': 'R', + '\uFF32': 'R', + '\u0154': 'R', + '\u1E58': 'R', + '\u0158': 'R', + '\u0210': 'R', + '\u0212': 'R', + '\u1E5A': 'R', + '\u1E5C': 'R', + '\u0156': 'R', + '\u1E5E': 'R', + '\u024C': 'R', + '\u2C64': 'R', + '\uA75A': 'R', + '\uA7A6': 'R', + '\uA782': 'R', + '\u24C8': 'S', + '\uFF33': 'S', + '\u1E9E': 'S', + '\u015A': 'S', + '\u1E64': 'S', + '\u015C': 'S', + '\u1E60': 'S', + '\u0160': 'S', + '\u1E66': 'S', + '\u1E62': 'S', + '\u1E68': 'S', + '\u0218': 'S', + '\u015E': 'S', + '\u2C7E': 'S', + '\uA7A8': 'S', + '\uA784': 'S', + '\u24C9': 'T', + '\uFF34': 'T', + '\u1E6A': 'T', + '\u0164': 'T', + '\u1E6C': 'T', + '\u021A': 'T', + '\u0162': 'T', + '\u1E70': 'T', + '\u1E6E': 'T', + '\u0166': 'T', + '\u01AC': 'T', + '\u01AE': 'T', + '\u023E': 'T', + '\uA786': 'T', + '\uA728': 'TZ', + '\u24CA': 'U', + '\uFF35': 'U', + '\u00D9': 'U', + '\u00DA': 'U', + '\u00DB': 'U', + '\u0168': 'U', + '\u1E78': 'U', + '\u016A': 'U', + '\u1E7A': 'U', + '\u016C': 'U', + '\u00DC': 'U', + '\u01DB': 'U', + '\u01D7': 'U', + '\u01D5': 'U', + '\u01D9': 'U', + '\u1EE6': 'U', + '\u016E': 'U', + '\u0170': 'U', + '\u01D3': 'U', + '\u0214': 'U', + '\u0216': 'U', + '\u01AF': 'U', + '\u1EEA': 'U', + '\u1EE8': 'U', + '\u1EEE': 'U', + '\u1EEC': 'U', + '\u1EF0': 'U', + '\u1EE4': 'U', + '\u1E72': 'U', + '\u0172': 'U', + '\u1E76': 'U', + '\u1E74': 'U', + '\u0244': 'U', + '\u24CB': 'V', + '\uFF36': 'V', + '\u1E7C': 'V', + '\u1E7E': 'V', + '\u01B2': 'V', + '\uA75E': 'V', + '\u0245': 'V', + '\uA760': 'VY', + '\u24CC': 'W', + '\uFF37': 'W', + '\u1E80': 'W', + '\u1E82': 'W', + '\u0174': 'W', + '\u1E86': 'W', + '\u1E84': 'W', + '\u1E88': 'W', + '\u2C72': 'W', + '\u24CD': 'X', + '\uFF38': 'X', + '\u1E8A': 'X', + '\u1E8C': 'X', + '\u24CE': 'Y', + '\uFF39': 'Y', + '\u1EF2': 'Y', + '\u00DD': 'Y', + '\u0176': 'Y', + '\u1EF8': 'Y', + '\u0232': 'Y', + '\u1E8E': 'Y', + '\u0178': 'Y', + '\u1EF6': 'Y', + '\u1EF4': 'Y', + '\u01B3': 'Y', + '\u024E': 'Y', + '\u1EFE': 'Y', + '\u24CF': 'Z', + '\uFF3A': 'Z', + '\u0179': 'Z', + '\u1E90': 'Z', + '\u017B': 'Z', + '\u017D': 'Z', + '\u1E92': 'Z', + '\u1E94': 'Z', + '\u01B5': 'Z', + '\u0224': 'Z', + '\u2C7F': 'Z', + '\u2C6B': 'Z', + '\uA762': 'Z', + '\u24D0': 'a', + '\uFF41': 'a', + '\u1E9A': 'a', + '\u00E0': 'a', + '\u00E1': 'a', + '\u00E2': 'a', + '\u1EA7': 'a', + '\u1EA5': 'a', + '\u1EAB': 'a', + '\u1EA9': 'a', + '\u00E3': 'a', + '\u0101': 'a', + '\u0103': 'a', + '\u1EB1': 'a', + '\u1EAF': 'a', + '\u1EB5': 'a', + '\u1EB3': 'a', + '\u0227': 'a', + '\u01E1': 'a', + '\u00E4': 'a', + '\u01DF': 'a', + '\u1EA3': 'a', + '\u00E5': 'a', + '\u01FB': 'a', + '\u01CE': 'a', + '\u0201': 'a', + '\u0203': 'a', + '\u1EA1': 'a', + '\u1EAD': 'a', + '\u1EB7': 'a', + '\u1E01': 'a', + '\u0105': 'a', + '\u2C65': 'a', + '\u0250': 'a', + '\uA733': 'aa', + '\u00E6': 'ae', + '\u01FD': 'ae', + '\u01E3': 'ae', + '\uA735': 'ao', + '\uA737': 'au', + '\uA739': 'av', + '\uA73B': 'av', + '\uA73D': 'ay', + '\u24D1': 'b', + '\uFF42': 'b', + '\u1E03': 'b', + '\u1E05': 'b', + '\u1E07': 'b', + '\u0180': 'b', + '\u0183': 'b', + '\u0253': 'b', + '\u24D2': 'c', + '\uFF43': 'c', + '\u0107': 'c', + '\u0109': 'c', + '\u010B': 'c', + '\u010D': 'c', + '\u00E7': 'c', + '\u1E09': 'c', + '\u0188': 'c', + '\u023C': 'c', + '\uA73F': 'c', + '\u2184': 'c', + '\u24D3': 'd', + '\uFF44': 'd', + '\u1E0B': 'd', + '\u010F': 'd', + '\u1E0D': 'd', + '\u1E11': 'd', + '\u1E13': 'd', + '\u1E0F': 'd', + '\u0111': 'd', + '\u018C': 'd', + '\u0256': 'd', + '\u0257': 'd', + '\uA77A': 'd', + '\u01F3': 'dz', + '\u01C6': 'dz', + '\u24D4': 'e', + '\uFF45': 'e', + '\u00E8': 'e', + '\u00E9': 'e', + '\u00EA': 'e', + '\u1EC1': 'e', + '\u1EBF': 'e', + '\u1EC5': 'e', + '\u1EC3': 'e', + '\u1EBD': 'e', + '\u0113': 'e', + '\u1E15': 'e', + '\u1E17': 'e', + '\u0115': 'e', + '\u0117': 'e', + '\u00EB': 'e', + '\u1EBB': 'e', + '\u011B': 'e', + '\u0205': 'e', + '\u0207': 'e', + '\u1EB9': 'e', + '\u1EC7': 'e', + '\u0229': 'e', + '\u1E1D': 'e', + '\u0119': 'e', + '\u1E19': 'e', + '\u1E1B': 'e', + '\u0247': 'e', + '\u025B': 'e', + '\u01DD': 'e', + '\u24D5': 'f', + '\uFF46': 'f', + '\u1E1F': 'f', + '\u0192': 'f', + '\uA77C': 'f', + '\u24D6': 'g', + '\uFF47': 'g', + '\u01F5': 'g', + '\u011D': 'g', + '\u1E21': 'g', + '\u011F': 'g', + '\u0121': 'g', + '\u01E7': 'g', + '\u0123': 'g', + '\u01E5': 'g', + '\u0260': 'g', + '\uA7A1': 'g', + '\u1D79': 'g', + '\uA77F': 'g', + '\u24D7': 'h', + '\uFF48': 'h', + '\u0125': 'h', + '\u1E23': 'h', + '\u1E27': 'h', + '\u021F': 'h', + '\u1E25': 'h', + '\u1E29': 'h', + '\u1E2B': 'h', + '\u1E96': 'h', + '\u0127': 'h', + '\u2C68': 'h', + '\u2C76': 'h', + '\u0265': 'h', + '\u0195': 'hv', + '\u24D8': 'i', + '\uFF49': 'i', + '\u00EC': 'i', + '\u00ED': 'i', + '\u00EE': 'i', + '\u0129': 'i', + '\u012B': 'i', + '\u012D': 'i', + '\u00EF': 'i', + '\u1E2F': 'i', + '\u1EC9': 'i', + '\u01D0': 'i', + '\u0209': 'i', + '\u020B': 'i', + '\u1ECB': 'i', + '\u012F': 'i', + '\u1E2D': 'i', + '\u0268': 'i', + '\u0131': 'i', + '\u24D9': 'j', + '\uFF4A': 'j', + '\u0135': 'j', + '\u01F0': 'j', + '\u0249': 'j', + '\u24DA': 'k', + '\uFF4B': 'k', + '\u1E31': 'k', + '\u01E9': 'k', + '\u1E33': 'k', + '\u0137': 'k', + '\u1E35': 'k', + '\u0199': 'k', + '\u2C6A': 'k', + '\uA741': 'k', + '\uA743': 'k', + '\uA745': 'k', + '\uA7A3': 'k', + '\u24DB': 'l', + '\uFF4C': 'l', + '\u0140': 'l', + '\u013A': 'l', + '\u013E': 'l', + '\u1E37': 'l', + '\u1E39': 'l', + '\u013C': 'l', + '\u1E3D': 'l', + '\u1E3B': 'l', + '\u017F': 'l', + '\u0142': 'l', + '\u019A': 'l', + '\u026B': 'l', + '\u2C61': 'l', + '\uA749': 'l', + '\uA781': 'l', + '\uA747': 'l', + '\u01C9': 'lj', + '\u24DC': 'm', + '\uFF4D': 'm', + '\u1E3F': 'm', + '\u1E41': 'm', + '\u1E43': 'm', + '\u0271': 'm', + '\u026F': 'm', + '\u24DD': 'n', + '\uFF4E': 'n', + '\u01F9': 'n', + '\u0144': 'n', + '\u00F1': 'n', + '\u1E45': 'n', + '\u0148': 'n', + '\u1E47': 'n', + '\u0146': 'n', + '\u1E4B': 'n', + '\u1E49': 'n', + '\u019E': 'n', + '\u0272': 'n', + '\u0149': 'n', + '\uA791': 'n', + '\uA7A5': 'n', + '\u01CC': 'nj', + '\u24DE': 'o', + '\uFF4F': 'o', + '\u00F2': 'o', + '\u00F3': 'o', + '\u00F4': 'o', + '\u1ED3': 'o', + '\u1ED1': 'o', + '\u1ED7': 'o', + '\u1ED5': 'o', + '\u00F5': 'o', + '\u1E4D': 'o', + '\u022D': 'o', + '\u1E4F': 'o', + '\u014D': 'o', + '\u1E51': 'o', + '\u1E53': 'o', + '\u014F': 'o', + '\u022F': 'o', + '\u0231': 'o', + '\u00F6': 'o', + '\u022B': 'o', + '\u1ECF': 'o', + '\u0151': 'o', + '\u01D2': 'o', + '\u020D': 'o', + '\u020F': 'o', + '\u01A1': 'o', + '\u1EDD': 'o', + '\u1EDB': 'o', + '\u1EE1': 'o', + '\u1EDF': 'o', + '\u1EE3': 'o', + '\u1ECD': 'o', + '\u1ED9': 'o', + '\u01EB': 'o', + '\u01ED': 'o', + '\u00F8': 'o', + '\u01FF': 'o', + '\u0254': 'o', + '\uA74B': 'o', + '\uA74D': 'o', + '\u0275': 'o', + '\u01A3': 'oi', + '\u0223': 'ou', + '\uA74F': 'oo', + '\u24DF': 'p', + '\uFF50': 'p', + '\u1E55': 'p', + '\u1E57': 'p', + '\u01A5': 'p', + '\u1D7D': 'p', + '\uA751': 'p', + '\uA753': 'p', + '\uA755': 'p', + '\u24E0': 'q', + '\uFF51': 'q', + '\u024B': 'q', + '\uA757': 'q', + '\uA759': 'q', + '\u24E1': 'r', + '\uFF52': 'r', + '\u0155': 'r', + '\u1E59': 'r', + '\u0159': 'r', + '\u0211': 'r', + '\u0213': 'r', + '\u1E5B': 'r', + '\u1E5D': 'r', + '\u0157': 'r', + '\u1E5F': 'r', + '\u024D': 'r', + '\u027D': 'r', + '\uA75B': 'r', + '\uA7A7': 'r', + '\uA783': 'r', + '\u24E2': 's', + '\uFF53': 's', + '\u00DF': 's', + '\u015B': 's', + '\u1E65': 's', + '\u015D': 's', + '\u1E61': 's', + '\u0161': 's', + '\u1E67': 's', + '\u1E63': 's', + '\u1E69': 's', + '\u0219': 's', + '\u015F': 's', + '\u023F': 's', + '\uA7A9': 's', + '\uA785': 's', + '\u1E9B': 's', + '\u24E3': 't', + '\uFF54': 't', + '\u1E6B': 't', + '\u1E97': 't', + '\u0165': 't', + '\u1E6D': 't', + '\u021B': 't', + '\u0163': 't', + '\u1E71': 't', + '\u1E6F': 't', + '\u0167': 't', + '\u01AD': 't', + '\u0288': 't', + '\u2C66': 't', + '\uA787': 't', + '\uA729': 'tz', + '\u24E4': 'u', + '\uFF55': 'u', + '\u00F9': 'u', + '\u00FA': 'u', + '\u00FB': 'u', + '\u0169': 'u', + '\u1E79': 'u', + '\u016B': 'u', + '\u1E7B': 'u', + '\u016D': 'u', + '\u00FC': 'u', + '\u01DC': 'u', + '\u01D8': 'u', + '\u01D6': 'u', + '\u01DA': 'u', + '\u1EE7': 'u', + '\u016F': 'u', + '\u0171': 'u', + '\u01D4': 'u', + '\u0215': 'u', + '\u0217': 'u', + '\u01B0': 'u', + '\u1EEB': 'u', + '\u1EE9': 'u', + '\u1EEF': 'u', + '\u1EED': 'u', + '\u1EF1': 'u', + '\u1EE5': 'u', + '\u1E73': 'u', + '\u0173': 'u', + '\u1E77': 'u', + '\u1E75': 'u', + '\u0289': 'u', + '\u24E5': 'v', + '\uFF56': 'v', + '\u1E7D': 'v', + '\u1E7F': 'v', + '\u028B': 'v', + '\uA75F': 'v', + '\u028C': 'v', + '\uA761': 'vy', + '\u24E6': 'w', + '\uFF57': 'w', + '\u1E81': 'w', + '\u1E83': 'w', + '\u0175': 'w', + '\u1E87': 'w', + '\u1E85': 'w', + '\u1E98': 'w', + '\u1E89': 'w', + '\u2C73': 'w', + '\u24E7': 'x', + '\uFF58': 'x', + '\u1E8B': 'x', + '\u1E8D': 'x', + '\u24E8': 'y', + '\uFF59': 'y', + '\u1EF3': 'y', + '\u00FD': 'y', + '\u0177': 'y', + '\u1EF9': 'y', + '\u0233': 'y', + '\u1E8F': 'y', + '\u00FF': 'y', + '\u1EF7': 'y', + '\u1E99': 'y', + '\u1EF5': 'y', + '\u01B4': 'y', + '\u024F': 'y', + '\u1EFF': 'y', + '\u24E9': 'z', + '\uFF5A': 'z', + '\u017A': 'z', + '\u1E91': 'z', + '\u017C': 'z', + '\u017E': 'z', + '\u1E93': 'z', + '\u1E95': 'z', + '\u01B6': 'z', + '\u0225': 'z', + '\u0240': 'z', + '\u2C6C': 'z', + '\uA763': 'z', + '\u0386': '\u0391', + '\u0388': '\u0395', + '\u0389': '\u0397', + '\u038A': '\u0399', + '\u03AA': '\u0399', + '\u038C': '\u039F', + '\u038E': '\u03A5', + '\u03AB': '\u03A5', + '\u038F': '\u03A9', + '\u03AC': '\u03B1', + '\u03AD': '\u03B5', + '\u03AE': '\u03B7', + '\u03AF': '\u03B9', + '\u03CA': '\u03B9', + '\u0390': '\u03B9', + '\u03CC': '\u03BF', + '\u03CD': '\u03C5', + '\u03CB': '\u03C5', + '\u03B0': '\u03C5', + '\u03C9': '\u03C9', + '\u03C2': '\u03C3' + }; + + return diacritics; +}); + +S2.define('select2/data/base',[ + '../utils' +], function (Utils) { + function BaseAdapter ($element, options) { + BaseAdapter.__super__.constructor.call(this); + } + + Utils.Extend(BaseAdapter, Utils.Observable); + + BaseAdapter.prototype.current = function (callback) { + throw new Error('The `current` method must be defined in child classes.'); + }; + + BaseAdapter.prototype.query = function (params, callback) { + throw new Error('The `query` method must be defined in child classes.'); + }; + + BaseAdapter.prototype.bind = function (container, $container) { + // Can be implemented in subclasses + }; + + BaseAdapter.prototype.destroy = function () { + // Can be implemented in subclasses + }; + + BaseAdapter.prototype.generateResultId = function (container, data) { + var id = container.id + '-result-'; + + id += Utils.generateChars(4); + + if (data.id != null) { + id += '-' + data.id.toString(); + } else { + id += '-' + Utils.generateChars(4); + } + return id; + }; + + return BaseAdapter; +}); + +S2.define('select2/data/select',[ + './base', + '../utils', + 'jquery' +], function (BaseAdapter, Utils, $) { + function SelectAdapter ($element, options) { + this.$element = $element; + this.options = options; + + SelectAdapter.__super__.constructor.call(this); + } + + Utils.Extend(SelectAdapter, BaseAdapter); + + SelectAdapter.prototype.current = function (callback) { + var data = []; + var self = this; + + this.$element.find(':selected').each(function () { + var $option = $(this); + + var option = self.item($option); + + data.push(option); + }); + + callback(data); + }; + + SelectAdapter.prototype.select = function (data) { + var self = this; + + data.selected = true; + + // If data.element is a DOM node, use it instead + if ($(data.element).is('option')) { + data.element.selected = true; + + this.$element.trigger('change'); + + return; + } + + if (this.$element.prop('multiple')) { + this.current(function (currentData) { + var val = []; + + data = [data]; + data.push.apply(data, currentData); + + for (var d = 0; d < data.length; d++) { + var id = data[d].id; + + if ($.inArray(id, val) === -1) { + val.push(id); + } + } + + self.$element.val(val); + self.$element.trigger('change'); + }); + } else { + var val = data.id; + + this.$element.val(val); + this.$element.trigger('change'); + } + }; + + SelectAdapter.prototype.unselect = function (data) { + var self = this; + + if (!this.$element.prop('multiple')) { + return; + } + + data.selected = false; + + if ($(data.element).is('option')) { + data.element.selected = false; + + this.$element.trigger('change'); + + return; + } + + this.current(function (currentData) { + var val = []; + + for (var d = 0; d < currentData.length; d++) { + var id = currentData[d].id; + + if (id !== data.id && $.inArray(id, val) === -1) { + val.push(id); + } + } + + self.$element.val(val); + + self.$element.trigger('change'); + }); + }; + + SelectAdapter.prototype.bind = function (container, $container) { + var self = this; + + this.container = container; + + container.on('select', function (params) { + self.select(params.data); + }); + + container.on('unselect', function (params) { + self.unselect(params.data); + }); + }; + + SelectAdapter.prototype.destroy = function () { + // Remove anything added to child elements + this.$element.find('*').each(function () { + // Remove any custom data set by Select2 + $.removeData(this, 'data'); + }); + }; + + SelectAdapter.prototype.query = function (params, callback) { + var data = []; + var self = this; + + var $options = this.$element.children(); + + $options.each(function () { + var $option = $(this); + + if (!$option.is('option') && !$option.is('optgroup')) { + return; + } + + var option = self.item($option); + + var matches = self.matches(params, option); + + if (matches !== null) { + data.push(matches); + } + }); + + callback({ + results: data + }); + }; + + SelectAdapter.prototype.addOptions = function ($options) { + Utils.appendMany(this.$element, $options); + }; + + SelectAdapter.prototype.option = function (data) { + var option; + + if (data.children) { + option = document.createElement('optgroup'); + option.label = data.text; + } else { + option = document.createElement('option'); + + if (option.textContent !== undefined) { + option.textContent = data.text; + } else { + option.innerText = data.text; + } + } + + if (data.id) { + option.value = data.id; + } + + if (data.disabled) { + option.disabled = true; + } + + if (data.selected) { + option.selected = true; + } + + if (data.title) { + option.title = data.title; + } + + var $option = $(option); + + var normalizedData = this._normalizeItem(data); + normalizedData.element = option; + + // Override the option's data with the combined data + $.data(option, 'data', normalizedData); + + return $option; + }; + + SelectAdapter.prototype.item = function ($option) { + var data = {}; + + data = $.data($option[0], 'data'); + + if (data != null) { + return data; + } + + if ($option.is('option')) { + data = { + id: $option.val(), + text: $option.text(), + disabled: $option.prop('disabled'), + selected: $option.prop('selected'), + title: $option.prop('title') + }; + } else if ($option.is('optgroup')) { + data = { + text: $option.prop('label'), + children: [], + title: $option.prop('title') + }; + + var $children = $option.children('option'); + var children = []; + + for (var c = 0; c < $children.length; c++) { + var $child = $($children[c]); + + var child = this.item($child); + + children.push(child); + } + + data.children = children; + } + + data = this._normalizeItem(data); + data.element = $option[0]; + + $.data($option[0], 'data', data); + + return data; + }; + + SelectAdapter.prototype._normalizeItem = function (item) { + if (!$.isPlainObject(item)) { + item = { + id: item, + text: item + }; + } + + item = $.extend({}, { + text: '' + }, item); + + var defaults = { + selected: false, + disabled: false + }; + + if (item.id != null) { + item.id = item.id.toString(); + } + + if (item.text != null) { + item.text = item.text.toString(); + } + + if (item._resultId == null && item.id && this.container != null) { + item._resultId = this.generateResultId(this.container, item); + } + + return $.extend({}, defaults, item); + }; + + SelectAdapter.prototype.matches = function (params, data) { + var matcher = this.options.get('matcher'); + + return matcher(params, data); + }; + + return SelectAdapter; +}); + +S2.define('select2/data/array',[ + './select', + '../utils', + 'jquery' +], function (SelectAdapter, Utils, $) { + function ArrayAdapter ($element, options) { + var data = options.get('data') || []; + + ArrayAdapter.__super__.constructor.call(this, $element, options); + + this.addOptions(this.convertToOptions(data)); + } + + Utils.Extend(ArrayAdapter, SelectAdapter); + + ArrayAdapter.prototype.select = function (data) { + var $option = this.$element.find('option').filter(function (i, elm) { + return elm.value == data.id.toString(); + }); + + if ($option.length === 0) { + $option = this.option(data); + + this.addOptions($option); + } + + ArrayAdapter.__super__.select.call(this, data); + }; + + ArrayAdapter.prototype.convertToOptions = function (data) { + var self = this; + + var $existing = this.$element.find('option'); + var existingIds = $existing.map(function () { + return self.item($(this)).id; + }).get(); + + var $options = []; + + // Filter out all items except for the one passed in the argument + function onlyItem (item) { + return function () { + return $(this).val() == item.id; + }; + } + + for (var d = 0; d < data.length; d++) { + var item = this._normalizeItem(data[d]); + + // Skip items which were pre-loaded, only merge the data + if ($.inArray(item.id, existingIds) >= 0) { + var $existingOption = $existing.filter(onlyItem(item)); + + var existingData = this.item($existingOption); + var newData = $.extend(true, {}, existingData, item); + + var $newOption = this.option(existingData); + + $existingOption.replaceWith($newOption); + + continue; + } + + var $option = this.option(item); + + if (item.children) { + var $children = this.convertToOptions(item.children); + + Utils.appendMany($option, $children); + } + + $options.push($option); + } + + return $options; + }; + + return ArrayAdapter; +}); + +S2.define('select2/data/ajax',[ + './array', + '../utils', + 'jquery' +], function (ArrayAdapter, Utils, $) { + function AjaxAdapter ($element, options) { + this.ajaxOptions = this._applyDefaults(options.get('ajax')); + + if (this.ajaxOptions.processResults != null) { + this.processResults = this.ajaxOptions.processResults; + } + + ArrayAdapter.__super__.constructor.call(this, $element, options); + } + + Utils.Extend(AjaxAdapter, ArrayAdapter); + + AjaxAdapter.prototype._applyDefaults = function (options) { + var defaults = { + data: function (params) { + return { + q: params.term + }; + }, + transport: function (params, success, failure) { + var $request = $.ajax(params); + + $request.then(success); + $request.fail(failure); + + return $request; + } + }; + + return $.extend({}, defaults, options, true); + }; + + AjaxAdapter.prototype.processResults = function (results) { + return results; + }; + + AjaxAdapter.prototype.query = function (params, callback) { + var matches = []; + var self = this; + + if (this._request != null) { + // JSONP requests cannot always be aborted + if ($.isFunction(this._request.abort)) { + this._request.abort(); + } + + this._request = null; + } + + var options = $.extend({ + type: 'GET' + }, this.ajaxOptions); + + if (typeof options.url === 'function') { + options.url = options.url(params); + } + + if (typeof options.data === 'function') { + options.data = options.data(params); + } + + function request () { + var $request = options.transport(options, function (data) { + var results = self.processResults(data, params); + + if (self.options.get('debug') && window.console && console.error) { + // Check to make sure that the response included a `results` key. + if (!results || !results.results || !$.isArray(results.results)) { + console.error( + 'Select2: The AJAX results did not return an array in the ' + + '`results` key of the response.' + ); + } + } + + callback(results); + }, function () { + // TODO: Handle AJAX errors + }); + + self._request = $request; + } + + if (this.ajaxOptions.delay && params.term !== '') { + if (this._queryTimeout) { + window.clearTimeout(this._queryTimeout); + } + + this._queryTimeout = window.setTimeout(request, this.ajaxOptions.delay); + } else { + request(); + } + }; + + return AjaxAdapter; +}); + +S2.define('select2/data/tags',[ + 'jquery' +], function ($) { + function Tags (decorated, $element, options) { + var tags = options.get('tags'); + + var createTag = options.get('createTag'); + + if (createTag !== undefined) { + this.createTag = createTag; + } + + decorated.call(this, $element, options); + + if ($.isArray(tags)) { + for (var t = 0; t < tags.length; t++) { + var tag = tags[t]; + var item = this._normalizeItem(tag); + + var $option = this.option(item); + + this.$element.append($option); + } + } + } + + Tags.prototype.query = function (decorated, params, callback) { + var self = this; + + this._removeOldTags(); + + if (params.term == null || params.page != null) { + decorated.call(this, params, callback); + return; + } + + function wrapper (obj, child) { + var data = obj.results; + + for (var i = 0; i < data.length; i++) { + var option = data[i]; + + var checkChildren = ( + option.children != null && + !wrapper({ + results: option.children + }, true) + ); + + var checkText = option.text === params.term; + + if (checkText || checkChildren) { + if (child) { + return false; + } + + obj.data = data; + callback(obj); + + return; + } + } + + if (child) { + return true; + } + + var tag = self.createTag(params); + + if (tag != null) { + var $option = self.option(tag); + $option.attr('data-select2-tag', true); + + self.addOptions([$option]); + + self.insertTag(data, tag); + } + + obj.results = data; + + callback(obj); + } + + decorated.call(this, params, wrapper); + }; + + Tags.prototype.createTag = function (decorated, params) { + var term = $.trim(params.term); + + if (term === '') { + return null; + } + + return { + id: term, + text: term + }; + }; + + Tags.prototype.insertTag = function (_, data, tag) { + data.unshift(tag); + }; + + Tags.prototype._removeOldTags = function (_) { + var tag = this._lastTag; + + var $options = this.$element.find('option[data-select2-tag]'); + + $options.each(function () { + if (this.selected) { + return; + } + + $(this).remove(); + }); + }; + + return Tags; +}); + +S2.define('select2/data/tokenizer',[ + 'jquery' +], function ($) { + function Tokenizer (decorated, $element, options) { + var tokenizer = options.get('tokenizer'); + + if (tokenizer !== undefined) { + this.tokenizer = tokenizer; + } + + decorated.call(this, $element, options); + } + + Tokenizer.prototype.bind = function (decorated, container, $container) { + decorated.call(this, container, $container); + + this.$search = container.dropdown.$search || container.selection.$search || + $container.find('.select2-search__field'); + }; + + Tokenizer.prototype.query = function (decorated, params, callback) { + var self = this; + + function select (data) { + self.select(data); + } + + params.term = params.term || ''; + + var tokenData = this.tokenizer(params, this.options, select); + + if (tokenData.term !== params.term) { + // Replace the search term if we have the search box + if (this.$search.length) { + this.$search.val(tokenData.term); + this.$search.focus(); + } + + params.term = tokenData.term; + } + + decorated.call(this, params, callback); + }; + + Tokenizer.prototype.tokenizer = function (_, params, options, callback) { + var separators = options.get('tokenSeparators') || []; + var term = params.term; + var i = 0; + + var createTag = this.createTag || function (params) { + return { + id: params.term, + text: params.term + }; + }; + + while (i < term.length) { + var termChar = term[i]; + + if ($.inArray(termChar, separators) === -1) { + i++; + + continue; + } + + var part = term.substr(0, i); + var partParams = $.extend({}, params, { + term: part + }); + + var data = createTag(partParams); + + callback(data); + + // Reset the term to not include the tokenized portion + term = term.substr(i + 1) || ''; + i = 0; + } + + return { + term: term + }; + }; + + return Tokenizer; +}); + +S2.define('select2/data/minimumInputLength',[ + +], function () { + function MinimumInputLength (decorated, $e, options) { + this.minimumInputLength = options.get('minimumInputLength'); + + decorated.call(this, $e, options); + } + + MinimumInputLength.prototype.query = function (decorated, params, callback) { + params.term = params.term || ''; + + if (params.term.length < this.minimumInputLength) { + this.trigger('results:message', { + message: 'inputTooShort', + args: { + minimum: this.minimumInputLength, + input: params.term, + params: params + } + }); + + return; + } + + decorated.call(this, params, callback); + }; + + return MinimumInputLength; +}); + +S2.define('select2/data/maximumInputLength',[ + +], function () { + function MaximumInputLength (decorated, $e, options) { + this.maximumInputLength = options.get('maximumInputLength'); + + decorated.call(this, $e, options); + } + + MaximumInputLength.prototype.query = function (decorated, params, callback) { + params.term = params.term || ''; + + if (this.maximumInputLength > 0 && + params.term.length > this.maximumInputLength) { + this.trigger('results:message', { + message: 'inputTooLong', + args: { + maximum: this.maximumInputLength, + input: params.term, + params: params + } + }); + + return; + } + + decorated.call(this, params, callback); + }; + + return MaximumInputLength; +}); + +S2.define('select2/data/maximumSelectionLength',[ + +], function (){ + function MaximumSelectionLength (decorated, $e, options) { + this.maximumSelectionLength = options.get('maximumSelectionLength'); + + decorated.call(this, $e, options); + } + + MaximumSelectionLength.prototype.query = + function (decorated, params, callback) { + var self = this; + + this.current(function (currentData) { + var count = currentData != null ? currentData.length : 0; + if (self.maximumSelectionLength > 0 && + count >= self.maximumSelectionLength) { + self.trigger('results:message', { + message: 'maximumSelected', + args: { + maximum: self.maximumSelectionLength + } + }); + return; + } + decorated.call(self, params, callback); + }); + }; + + return MaximumSelectionLength; +}); + +S2.define('select2/dropdown',[ + 'jquery', + './utils' +], function ($, Utils) { + function Dropdown ($element, options) { + this.$element = $element; + this.options = options; + + Dropdown.__super__.constructor.call(this); + } + + Utils.Extend(Dropdown, Utils.Observable); + + Dropdown.prototype.render = function () { + var $dropdown = $( + '<span class="select2-dropdown">' + + '<span class="select2-results"></span>' + + '</span>' + ); + + $dropdown.attr('dir', this.options.get('dir')); + + this.$dropdown = $dropdown; + + return $dropdown; + }; + + Dropdown.prototype.position = function ($dropdown, $container) { + // Should be implmented in subclasses + }; + + Dropdown.prototype.destroy = function () { + // Remove the dropdown from the DOM + this.$dropdown.remove(); + }; + + return Dropdown; +}); + +S2.define('select2/dropdown/search',[ + 'jquery', + '../utils' +], function ($, Utils) { + function Search () { } + + Search.prototype.render = function (decorated) { + var $rendered = decorated.call(this); + + var $search = $( + '<span class="select2-search select2-search--dropdown">' + + '<input class="select2-search__field" type="search" tabindex="-1"' + + ' autocomplete="off" autocorrect="off" autocapitalize="off"' + + ' spellcheck="false" role="textbox" />' + + '</span>' + ); + + this.$searchContainer = $search; + this.$search = $search.find('input'); + + $rendered.prepend($search); + + return $rendered; + }; + + Search.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + this.$search.on('keydown', function (evt) { + self.trigger('keypress', evt); + + self._keyUpPrevented = evt.isDefaultPrevented(); + }); + + // Workaround for browsers which do not support the `input` event + // This will prevent double-triggering of events for browsers which support + // both the `keyup` and `input` events. + this.$search.on('input', function (evt) { + // Unbind the duplicated `keyup` event + $(this).off('keyup'); + }); + + this.$search.on('keyup input', function (evt) { + self.handleSearch(evt); + }); + + container.on('open', function () { + self.$search.attr('tabindex', 0); + + self.$search.focus(); + + window.setTimeout(function () { + self.$search.focus(); + }, 0); + }); + + container.on('close', function () { + self.$search.attr('tabindex', -1); + + self.$search.val(''); + }); + + container.on('results:all', function (params) { + if (params.query.term == null || params.query.term === '') { + var showSearch = self.showSearch(params); + + if (showSearch) { + self.$searchContainer.removeClass('select2-search--hide'); + } else { + self.$searchContainer.addClass('select2-search--hide'); + } + } + }); + }; + + Search.prototype.handleSearch = function (evt) { + if (!this._keyUpPrevented) { + var input = this.$search.val(); + + this.trigger('query', { + term: input + }); + } + + this._keyUpPrevented = false; + }; + + Search.prototype.showSearch = function (_, params) { + return true; + }; + + return Search; +}); + +S2.define('select2/dropdown/hidePlaceholder',[ + +], function () { + function HidePlaceholder (decorated, $element, options, dataAdapter) { + this.placeholder = this.normalizePlaceholder(options.get('placeholder')); + + decorated.call(this, $element, options, dataAdapter); + } + + HidePlaceholder.prototype.append = function (decorated, data) { + data.results = this.removePlaceholder(data.results); + + decorated.call(this, data); + }; + + HidePlaceholder.prototype.normalizePlaceholder = function (_, placeholder) { + if (typeof placeholder === 'string') { + placeholder = { + id: '', + text: placeholder + }; + } + + return placeholder; + }; + + HidePlaceholder.prototype.removePlaceholder = function (_, data) { + var modifiedData = data.slice(0); + + for (var d = data.length - 1; d >= 0; d--) { + var item = data[d]; + + if (this.placeholder.id === item.id) { + modifiedData.splice(d, 1); + } + } + + return modifiedData; + }; + + return HidePlaceholder; +}); + +S2.define('select2/dropdown/infiniteScroll',[ + 'jquery' +], function ($) { + function InfiniteScroll (decorated, $element, options, dataAdapter) { + this.lastParams = {}; + + decorated.call(this, $element, options, dataAdapter); + + this.$loadingMore = this.createLoadingMore(); + this.loading = false; + } + + InfiniteScroll.prototype.append = function (decorated, data) { + this.$loadingMore.remove(); + this.loading = false; + + decorated.call(this, data); + + if (this.showLoadingMore(data)) { + this.$results.append(this.$loadingMore); + } + }; + + InfiniteScroll.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('query', function (params) { + self.lastParams = params; + self.loading = true; + }); + + container.on('query:append', function (params) { + self.lastParams = params; + self.loading = true; + }); + + this.$results.on('scroll', function () { + var isLoadMoreVisible = $.contains( + document.documentElement, + self.$loadingMore[0] + ); + + if (self.loading || !isLoadMoreVisible) { + return; + } + + var currentOffset = self.$results.offset().top + + self.$results.outerHeight(false); + var loadingMoreOffset = self.$loadingMore.offset().top + + self.$loadingMore.outerHeight(false); + + if (currentOffset + 50 >= loadingMoreOffset) { + self.loadMore(); + } + }); + }; + + InfiniteScroll.prototype.loadMore = function () { + this.loading = true; + + var params = $.extend({}, {page: 1}, this.lastParams); + + params.page++; + + this.trigger('query:append', params); + }; + + InfiniteScroll.prototype.showLoadingMore = function (_, data) { + return data.pagination && data.pagination.more; + }; + + InfiniteScroll.prototype.createLoadingMore = function () { + var $option = $( + '<li class="option load-more" role="treeitem"></li>' + ); + + var message = this.options.get('translations').get('loadingMore'); + + $option.html(message(this.lastParams)); + + return $option; + }; + + return InfiniteScroll; +}); + +S2.define('select2/dropdown/attachBody',[ + 'jquery', + '../utils' +], function ($, Utils) { + function AttachBody (decorated, $element, options) { + this.$dropdownParent = options.get('dropdownParent') || document.body; + + decorated.call(this, $element, options); + } + + AttachBody.prototype.bind = function (decorated, container, $container) { + var self = this; + + var setupResultsEvents = false; + + decorated.call(this, container, $container); + + container.on('open', function () { + self._showDropdown(); + self._attachPositioningHandler(container); + + if (!setupResultsEvents) { + setupResultsEvents = true; + + container.on('results:all', function () { + self._positionDropdown(); + self._resizeDropdown(); + }); + + container.on('results:append', function () { + self._positionDropdown(); + self._resizeDropdown(); + }); + } + }); + + container.on('close', function () { + self._hideDropdown(); + self._detachPositioningHandler(container); + }); + + this.$dropdownContainer.on('mousedown', function (evt) { + evt.stopPropagation(); + }); + }; + + AttachBody.prototype.position = function (decorated, $dropdown, $container) { + // Clone all of the container classes + $dropdown.attr('class', $container.attr('class')); + + $dropdown.removeClass('select2'); + $dropdown.addClass('select2-container--open'); + + $dropdown.css({ + position: 'absolute', + top: -999999 + }); + + this.$container = $container; + }; + + AttachBody.prototype.render = function (decorated) { + var $container = $('<span></span>'); + + var $dropdown = decorated.call(this); + $container.append($dropdown); + + this.$dropdownContainer = $container; + + return $container; + }; + + AttachBody.prototype._hideDropdown = function (decorated) { + this.$dropdownContainer.detach(); + }; + + AttachBody.prototype._attachPositioningHandler = function (container) { + var self = this; + + var scrollEvent = 'scroll.select2.' + container.id; + var resizeEvent = 'resize.select2.' + container.id; + var orientationEvent = 'orientationchange.select2.' + container.id; + + var $watchers = this.$container.parents().filter(Utils.hasScroll); + $watchers.each(function () { + $(this).data('select2-scroll-position', { + x: $(this).scrollLeft(), + y: $(this).scrollTop() + }); + }); + + $watchers.on(scrollEvent, function (ev) { + var position = $(this).data('select2-scroll-position'); + $(this).scrollTop(position.y); + }); + + $(window).on(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent, + function (e) { + self._positionDropdown(); + self._resizeDropdown(); + }); + }; + + AttachBody.prototype._detachPositioningHandler = function (container) { + var scrollEvent = 'scroll.select2.' + container.id; + var resizeEvent = 'resize.select2.' + container.id; + var orientationEvent = 'orientationchange.select2.' + container.id; + + var $watchers = this.$container.parents().filter(Utils.hasScroll); + $watchers.off(scrollEvent); + + $(window).off(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent); + }; + + AttachBody.prototype._positionDropdown = function () { + var $window = $(window); + + var isCurrentlyAbove = this.$dropdown.hasClass('select2-dropdown--above'); + var isCurrentlyBelow = this.$dropdown.hasClass('select2-dropdown--below'); + + var newDirection = null; + + var position = this.$container.position(); + var offset = this.$container.offset(); + + offset.bottom = offset.top + this.$container.outerHeight(false); + + var container = { + height: this.$container.outerHeight(false) + }; + + container.top = offset.top; + container.bottom = offset.top + container.height; + + var dropdown = { + height: this.$dropdown.outerHeight(false) + }; + + var viewport = { + top: $window.scrollTop(), + bottom: $window.scrollTop() + $window.height() + }; + + var enoughRoomAbove = viewport.top < (offset.top - dropdown.height); + var enoughRoomBelow = viewport.bottom > (offset.bottom + dropdown.height); + + var css = { + left: offset.left, + top: container.bottom + }; + + if (!isCurrentlyAbove && !isCurrentlyBelow) { + newDirection = 'below'; + } + + if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove) { + newDirection = 'above'; + } else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) { + newDirection = 'below'; + } + + if (newDirection == 'above' || + (isCurrentlyAbove && newDirection !== 'below')) { + css.top = container.top - dropdown.height; + } + + if (newDirection != null) { + this.$dropdown + .removeClass('select2-dropdown--below select2-dropdown--above') + .addClass('select2-dropdown--' + newDirection); + this.$container + .removeClass('select2-container--below select2-container--above') + .addClass('select2-container--' + newDirection); + } + + this.$dropdownContainer.css(css); + }; + + AttachBody.prototype._resizeDropdown = function () { + this.$dropdownContainer.width(); + + var css = { + width: this.$container.outerWidth(false) + 'px' + }; + + if (this.options.get('dropdownAutoWidth')) { + css.minWidth = css.width; + css.width = 'auto'; + } + + this.$dropdown.css(css); + }; + + AttachBody.prototype._showDropdown = function (decorated) { + this.$dropdownContainer.appendTo(this.$dropdownParent); + + this._positionDropdown(); + this._resizeDropdown(); + }; + + return AttachBody; +}); + +S2.define('select2/dropdown/minimumResultsForSearch',[ + +], function () { + function countResults (data) { + var count = 0; + + for (var d = 0; d < data.length; d++) { + var item = data[d]; + + if (item.children) { + count += countResults(item.children); + } else { + count++; + } + } + + return count; + } + + function MinimumResultsForSearch (decorated, $element, options, dataAdapter) { + this.minimumResultsForSearch = options.get('minimumResultsForSearch'); + + if (this.minimumResultsForSearch < 0) { + this.minimumResultsForSearch = Infinity; + } + + decorated.call(this, $element, options, dataAdapter); + } + + MinimumResultsForSearch.prototype.showSearch = function (decorated, params) { + if (countResults(params.data.results) < this.minimumResultsForSearch) { + return false; + } + + return decorated.call(this, params); + }; + + return MinimumResultsForSearch; +}); + +S2.define('select2/dropdown/selectOnClose',[ + +], function () { + function SelectOnClose () { } + + SelectOnClose.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('close', function () { + self._handleSelectOnClose(); + }); + }; + + SelectOnClose.prototype._handleSelectOnClose = function () { + var $highlightedResults = this.getHighlightedResults(); + + if ($highlightedResults.length < 1) { + return; + } + + this.trigger('select', { + data: $highlightedResults.data('data') + }); + }; + + return SelectOnClose; +}); + +S2.define('select2/dropdown/closeOnSelect',[ + +], function () { + function CloseOnSelect () { } + + CloseOnSelect.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('select', function (evt) { + self._selectTriggered(evt); + }); + + container.on('unselect', function (evt) { + self._selectTriggered(evt); + }); + }; + + CloseOnSelect.prototype._selectTriggered = function (_, evt) { + var originalEvent = evt.originalEvent; + + // Don't close if the control key is being held + if (originalEvent && originalEvent.ctrlKey) { + return; + } + + this.trigger('close'); + }; + + return CloseOnSelect; +}); + +S2.define('select2/i18n/en',[],function () { + // English + return { + errorLoading: function () { + return 'The results could not be loaded.'; + }, + inputTooLong: function (args) { + var overChars = args.input.length - args.maximum; + + var message = 'Please delete ' + overChars + ' character'; + + if (overChars != 1) { + message += 's'; + } + + return message; + }, + inputTooShort: function (args) { + var remainingChars = args.minimum - args.input.length; + + var message = 'Please enter ' + remainingChars + ' or more characters'; + + return message; + }, + loadingMore: function () { + return 'Loading more results…'; + }, + maximumSelected: function (args) { + var message = 'You can only select ' + args.maximum + ' item'; + + if (args.maximum != 1) { + message += 's'; + } + + return message; + }, + noResults: function () { + return 'No results found'; + }, + searching: function () { + return 'Searching…'; + } + }; +}); + +S2.define('select2/defaults',[ + 'jquery', + 'require', + + './results', + + './selection/single', + './selection/multiple', + './selection/placeholder', + './selection/allowClear', + './selection/search', + './selection/eventRelay', + + './utils', + './translation', + './diacritics', + + './data/select', + './data/array', + './data/ajax', + './data/tags', + './data/tokenizer', + './data/minimumInputLength', + './data/maximumInputLength', + './data/maximumSelectionLength', + + './dropdown', + './dropdown/search', + './dropdown/hidePlaceholder', + './dropdown/infiniteScroll', + './dropdown/attachBody', + './dropdown/minimumResultsForSearch', + './dropdown/selectOnClose', + './dropdown/closeOnSelect', + + './i18n/en' +], function ($, require, + + ResultsList, + + SingleSelection, MultipleSelection, Placeholder, AllowClear, + SelectionSearch, EventRelay, + + Utils, Translation, DIACRITICS, + + SelectData, ArrayData, AjaxData, Tags, Tokenizer, + MinimumInputLength, MaximumInputLength, MaximumSelectionLength, + + Dropdown, DropdownSearch, HidePlaceholder, InfiniteScroll, + AttachBody, MinimumResultsForSearch, SelectOnClose, CloseOnSelect, + + EnglishTranslation) { + function Defaults () { + this.reset(); + } + + Defaults.prototype.apply = function (options) { + options = $.extend({}, this.defaults, options); + + if (options.dataAdapter == null) { + if (options.ajax != null) { + options.dataAdapter = AjaxData; + } else if (options.data != null) { + options.dataAdapter = ArrayData; + } else { + options.dataAdapter = SelectData; + } + + if (options.minimumInputLength > 0) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + MinimumInputLength + ); + } + + if (options.maximumInputLength > 0) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + MaximumInputLength + ); + } + + if (options.maximumSelectionLength > 0) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + MaximumSelectionLength + ); + } + + if (options.tags) { + options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags); + } + + if (options.tokenSeparators != null || options.tokenizer != null) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + Tokenizer + ); + } + + if (options.query != null) { + var Query = require(options.amdBase + 'compat/query'); + + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + Query + ); + } + + if (options.initSelection != null) { + var InitSelection = require(options.amdBase + 'compat/initSelection'); + + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + InitSelection + ); + } + } + + if (options.resultsAdapter == null) { + options.resultsAdapter = ResultsList; + + if (options.ajax != null) { + options.resultsAdapter = Utils.Decorate( + options.resultsAdapter, + InfiniteScroll + ); + } + + if (options.placeholder != null) { + options.resultsAdapter = Utils.Decorate( + options.resultsAdapter, + HidePlaceholder + ); + } + + if (options.selectOnClose) { + options.resultsAdapter = Utils.Decorate( + options.resultsAdapter, + SelectOnClose + ); + } + } + + if (options.dropdownAdapter == null) { + if (options.multiple) { + options.dropdownAdapter = Dropdown; + } else { + var SearchableDropdown = Utils.Decorate(Dropdown, DropdownSearch); + + options.dropdownAdapter = SearchableDropdown; + } + + if (options.minimumResultsForSearch !== 0) { + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + MinimumResultsForSearch + ); + } + + if (options.closeOnSelect) { + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + CloseOnSelect + ); + } + + if ( + options.dropdownCssClass != null || + options.dropdownCss != null || + options.adaptDropdownCssClass != null + ) { + var DropdownCSS = require(options.amdBase + 'compat/dropdownCss'); + + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + DropdownCSS + ); + } + + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + AttachBody + ); + } + + if (options.selectionAdapter == null) { + if (options.multiple) { + options.selectionAdapter = MultipleSelection; + } else { + options.selectionAdapter = SingleSelection; + } + + // Add the placeholder mixin if a placeholder was specified + if (options.placeholder != null) { + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + Placeholder + ); + } + + if (options.allowClear) { + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + AllowClear + ); + } + + if (options.multiple) { + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + SelectionSearch + ); + } + + if ( + options.containerCssClass != null || + options.containerCss != null || + options.adaptContainerCssClass != null + ) { + var ContainerCSS = require(options.amdBase + 'compat/containerCss'); + + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + ContainerCSS + ); + } + + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + EventRelay + ); + } + + if (typeof options.language === 'string') { + // Check if the language is specified with a region + if (options.language.indexOf('-') > 0) { + // Extract the region information if it is included + var languageParts = options.language.split('-'); + var baseLanguage = languageParts[0]; + + options.language = [options.language, baseLanguage]; + } else { + options.language = [options.language]; + } + } + + if ($.isArray(options.language)) { + var languages = new Translation(); + options.language.push('en'); + + var languageNames = options.language; + + for (var l = 0; l < languageNames.length; l++) { + var name = languageNames[l]; + var language = {}; + + try { + // Try to load it with the original name + language = Translation.loadPath(name); + } catch (e) { + try { + // If we couldn't load it, check if it wasn't the full path + name = this.defaults.amdLanguageBase + name; + language = Translation.loadPath(name); + } catch (ex) { + // The translation could not be loaded at all. Sometimes this is + // because of a configuration problem, other times this can be + // because of how Select2 helps load all possible translation files. + if (options.debug && window.console && console.warn) { + console.warn( + 'Select2: The language file for "' + name + '" could not be ' + + 'automatically loaded. A fallback will be used instead.' + ); + } + + continue; + } + } + + languages.extend(language); + } + + options.translations = languages; + } else { + var baseTranslation = Translation.loadPath( + this.defaults.amdLanguageBase + 'en' + ); + var customTranslation = new Translation(options.language); + + customTranslation.extend(baseTranslation); + + options.translations = customTranslation; + } + + return options; + }; + + Defaults.prototype.reset = function () { + function stripDiacritics (text) { + // Used 'uni range + named function' from http://jsperf.com/diacritics/18 + function match(a) { + return DIACRITICS[a] || a; + } + + return text.replace(/[^\u0000-\u007E]/g, match); + } + + function matcher (params, data) { + // Always return the object if there is nothing to compare + if ($.trim(params.term) === '') { + return data; + } + + // Do a recursive check for options with children + if (data.children && data.children.length > 0) { + // Clone the data object if there are children + // This is required as we modify the object to remove any non-matches + var match = $.extend(true, {}, data); + + // Check each child of the option + for (var c = data.children.length - 1; c >= 0; c--) { + var child = data.children[c]; + + var matches = matcher(params, child); + + // If there wasn't a match, remove the object in the array + if (matches == null) { + match.children.splice(c, 1); + } + } + + // If any children matched, return the new object + if (match.children.length > 0) { + return match; + } + + // If there were no matching children, check just the plain object + return matcher(params, match); + } + + var original = stripDiacritics(data.text).toUpperCase(); + var term = stripDiacritics(params.term).toUpperCase(); + + // Check if the text contains the term + if (original.indexOf(term) > -1) { + return data; + } + + // If it doesn't contain the term, don't return anything + return null; + } + + this.defaults = { + amdBase: './', + amdLanguageBase: './i18n/', + closeOnSelect: true, + debug: false, + dropdownAutoWidth: false, + escapeMarkup: Utils.escapeMarkup, + language: EnglishTranslation, + matcher: matcher, + minimumInputLength: 0, + maximumInputLength: 0, + maximumSelectionLength: 0, + minimumResultsForSearch: 0, + selectOnClose: false, + sorter: function (data) { + return data; + }, + templateResult: function (result) { + return result.text; + }, + templateSelection: function (selection) { + return selection.text; + }, + theme: 'default', + width: 'resolve' + }; + }; + + Defaults.prototype.set = function (key, value) { + var camelKey = $.camelCase(key); + + var data = {}; + data[camelKey] = value; + + var convertedData = Utils._convertData(data); + + $.extend(this.defaults, convertedData); + }; + + var defaults = new Defaults(); + + return defaults; +}); + +S2.define('select2/options',[ + 'require', + 'jquery', + './defaults', + './utils' +], function (require, $, Defaults, Utils) { + function Options (options, $element) { + this.options = options; + + if ($element != null) { + this.fromElement($element); + } + + this.options = Defaults.apply(this.options); + + if ($element && $element.is('input')) { + var InputCompat = require(this.get('amdBase') + 'compat/inputData'); + + this.options.dataAdapter = Utils.Decorate( + this.options.dataAdapter, + InputCompat + ); + } + } + + Options.prototype.fromElement = function ($e) { + var excludedData = ['select2']; + + if (this.options.multiple == null) { + this.options.multiple = $e.prop('multiple'); + } + + if (this.options.disabled == null) { + this.options.disabled = $e.prop('disabled'); + } + + if (this.options.language == null) { + if ($e.prop('lang')) { + this.options.language = $e.prop('lang').toLowerCase(); + } else if ($e.closest('[lang]').prop('lang')) { + this.options.language = $e.closest('[lang]').prop('lang'); + } + } + + if (this.options.dir == null) { + if ($e.prop('dir')) { + this.options.dir = $e.prop('dir'); + } else if ($e.closest('[dir]').prop('dir')) { + this.options.dir = $e.closest('[dir]').prop('dir'); + } else { + this.options.dir = 'ltr'; + } + } + + $e.prop('disabled', this.options.disabled); + $e.prop('multiple', this.options.multiple); + + if ($e.data('select2Tags')) { + if (this.options.debug && window.console && console.warn) { + console.warn( + 'Select2: The `data-select2-tags` attribute has been changed to ' + + 'use the `data-data` and `data-tags="true"` attributes and will be ' + + 'removed in future versions of Select2.' + ); + } + + $e.data('data', $e.data('select2Tags')); + $e.data('tags', true); + } + + if ($e.data('ajaxUrl')) { + if (this.options.debug && window.console && console.warn) { + console.warn( + 'Select2: The `data-ajax-url` attribute has been changed to ' + + '`data-ajax--url` and support for the old attribute will be removed' + + ' in future versions of Select2.' + ); + } + + $e.attr('ajax--url', $e.data('ajaxUrl')); + $e.data('ajax--url', $e.data('ajaxUrl')); + } + + var dataset = {}; + + // Prefer the element's `dataset` attribute if it exists + // jQuery 1.x does not correctly handle data attributes with multiple dashes + if ($.fn.jquery && $.fn.jquery.substr(0, 2) == '1.' && $e[0].dataset) { + dataset = $.extend(true, {}, $e[0].dataset, $e.data()); + } else { + dataset = $e.data(); + } + + var data = $.extend(true, {}, dataset); + + data = Utils._convertData(data); + + for (var key in data) { + if ($.inArray(key, excludedData) > -1) { + continue; + } + + if ($.isPlainObject(this.options[key])) { + $.extend(this.options[key], data[key]); + } else { + this.options[key] = data[key]; + } + } + + return this; + }; + + Options.prototype.get = function (key) { + return this.options[key]; + }; + + Options.prototype.set = function (key, val) { + this.options[key] = val; + }; + + return Options; +}); + +S2.define('select2/core',[ + 'jquery', + './options', + './utils', + './keys' +], function ($, Options, Utils, KEYS) { + var Select2 = function ($element, options) { + if ($element.data('select2') != null) { + $element.data('select2').destroy(); + } + + this.$element = $element; + + this.id = this._generateId($element); + + options = options || {}; + + this.options = new Options(options, $element); + + Select2.__super__.constructor.call(this); + + // Set up the tabindex + + var tabindex = $element.attr('tabindex') || 0; + $element.data('old-tabindex', tabindex); + $element.attr('tabindex', '-1'); + + // Set up containers and adapters + + var DataAdapter = this.options.get('dataAdapter'); + this.dataAdapter = new DataAdapter($element, this.options); + + var $container = this.render(); + + this._placeContainer($container); + + var SelectionAdapter = this.options.get('selectionAdapter'); + this.selection = new SelectionAdapter($element, this.options); + this.$selection = this.selection.render(); + + this.selection.position(this.$selection, $container); + + var DropdownAdapter = this.options.get('dropdownAdapter'); + this.dropdown = new DropdownAdapter($element, this.options); + this.$dropdown = this.dropdown.render(); + + this.dropdown.position(this.$dropdown, $container); + + var ResultsAdapter = this.options.get('resultsAdapter'); + this.results = new ResultsAdapter($element, this.options, this.dataAdapter); + this.$results = this.results.render(); + + this.results.position(this.$results, this.$dropdown); + + // Bind events + + var self = this; + + // Bind the container to all of the adapters + this._bindAdapters(); + + // Register any DOM event handlers + this._registerDomEvents(); + + // Register any internal event handlers + this._registerDataEvents(); + this._registerSelectionEvents(); + this._registerDropdownEvents(); + this._registerResultsEvents(); + this._registerEvents(); + + // Set the initial state + this.dataAdapter.current(function (initialData) { + self.trigger('selection:update', { + data: initialData + }); + }); + + // Hide the original select + $element.addClass('select2-hidden-accessible'); + $element.attr('aria-hidden', 'true'); + + // Synchronize any monitored attributes + this._syncAttributes(); + + $element.data('select2', this); + }; + + Utils.Extend(Select2, Utils.Observable); + + Select2.prototype._generateId = function ($element) { + var id = ''; + + if ($element.attr('id') != null) { + id = $element.attr('id'); + } else if ($element.attr('name') != null) { + id = $element.attr('name') + '-' + Utils.generateChars(2); + } else { + id = Utils.generateChars(4); + } + + id = 'select2-' + id; + + return id; + }; + + Select2.prototype._placeContainer = function ($container) { + $container.insertAfter(this.$element); + + var width = this._resolveWidth(this.$element, this.options.get('width')); + + if (width != null) { + $container.css('width', width); + } + }; + + Select2.prototype._resolveWidth = function ($element, method) { + var WIDTH = /^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i; + + if (method == 'resolve') { + var styleWidth = this._resolveWidth($element, 'style'); + + if (styleWidth != null) { + return styleWidth; + } + + return this._resolveWidth($element, 'element'); + } + + if (method == 'element') { + var elementWidth = $element.outerWidth(false); + + if (elementWidth <= 0) { + return 'auto'; + } + + return elementWidth + 'px'; + } + + if (method == 'style') { + var style = $element.attr('style'); + + if (typeof(style) !== 'string') { + return null; + } + + var attrs = style.split(';'); + + for (var i = 0, l = attrs.length; i < l; i = i + 1) { + var attr = attrs[i].replace(/\s/g, ''); + var matches = attr.match(WIDTH); + + if (matches !== null && matches.length >= 1) { + return matches[1]; + } + } + + return null; + } + + return method; + }; + + Select2.prototype._bindAdapters = function () { + this.dataAdapter.bind(this, this.$container); + this.selection.bind(this, this.$container); + + this.dropdown.bind(this, this.$container); + this.results.bind(this, this.$container); + }; + + Select2.prototype._registerDomEvents = function () { + var self = this; + + this.$element.on('change.select2', function () { + self.dataAdapter.current(function (data) { + self.trigger('selection:update', { + data: data + }); + }); + }); + + this._sync = Utils.bind(this._syncAttributes, this); + + if (this.$element[0].attachEvent) { + this.$element[0].attachEvent('onpropertychange', this._sync); + } + + var observer = window.MutationObserver || + window.WebKitMutationObserver || + window.MozMutationObserver + ; + + if (observer != null) { + this._observer = new observer(function (mutations) { + $.each(mutations, self._sync); + }); + this._observer.observe(this.$element[0], { + attributes: true, + subtree: false + }); + } else if (this.$element[0].addEventListener) { + this.$element[0].addEventListener('DOMAttrModified', self._sync, false); + } + }; + + Select2.prototype._registerDataEvents = function () { + var self = this; + + this.dataAdapter.on('*', function (name, params) { + self.trigger(name, params); + }); + }; + + Select2.prototype._registerSelectionEvents = function () { + var self = this; + var nonRelayEvents = ['toggle']; + + this.selection.on('toggle', function () { + self.toggleDropdown(); + }); + + this.selection.on('*', function (name, params) { + if ($.inArray(name, nonRelayEvents) !== -1) { + return; + } + + self.trigger(name, params); + }); + }; + + Select2.prototype._registerDropdownEvents = function () { + var self = this; + + this.dropdown.on('*', function (name, params) { + self.trigger(name, params); + }); + }; + + Select2.prototype._registerResultsEvents = function () { + var self = this; + + this.results.on('*', function (name, params) { + self.trigger(name, params); + }); + }; + + Select2.prototype._registerEvents = function () { + var self = this; + + this.on('open', function () { + self.$container.addClass('select2-container--open'); + }); + + this.on('close', function () { + self.$container.removeClass('select2-container--open'); + }); + + this.on('enable', function () { + self.$container.removeClass('select2-container--disabled'); + }); + + this.on('disable', function () { + self.$container.addClass('select2-container--disabled'); + }); + + this.on('focus', function () { + self.$container.addClass('select2-container--focus'); + }); + + this.on('blur', function () { + self.$container.removeClass('select2-container--focus'); + }); + + this.on('query', function (params) { + if (!self.isOpen()) { + self.trigger('open'); + } + + this.dataAdapter.query(params, function (data) { + self.trigger('results:all', { + data: data, + query: params + }); + }); + }); + + this.on('query:append', function (params) { + this.dataAdapter.query(params, function (data) { + self.trigger('results:append', { + data: data, + query: params + }); + }); + }); + + this.on('keypress', function (evt) { + var key = evt.which; + + if (self.isOpen()) { + if (key === KEYS.ENTER) { + self.trigger('results:select'); + + evt.preventDefault(); + } else if ((key === KEYS.SPACE && evt.ctrlKey)) { + self.trigger('results:toggle'); + + evt.preventDefault(); + } else if (key === KEYS.UP) { + self.trigger('results:previous'); + + evt.preventDefault(); + } else if (key === KEYS.DOWN) { + self.trigger('results:next'); + + evt.preventDefault(); + } else if (key === KEYS.ESC || key === KEYS.TAB) { + self.close(); + + evt.preventDefault(); + } + } else { + if (key === KEYS.ENTER || key === KEYS.SPACE || + ((key === KEYS.DOWN || key === KEYS.UP) && evt.altKey)) { + self.open(); + + evt.preventDefault(); + } + } + }); + }; + + Select2.prototype._syncAttributes = function () { + this.options.set('disabled', this.$element.prop('disabled')); + + if (this.options.get('disabled')) { + if (this.isOpen()) { + this.close(); + } + + this.trigger('disable'); + } else { + this.trigger('enable'); + } + }; + + /** + * Override the trigger method to automatically trigger pre-events when + * there are events that can be prevented. + */ + Select2.prototype.trigger = function (name, args) { + var actualTrigger = Select2.__super__.trigger; + var preTriggerMap = { + 'open': 'opening', + 'close': 'closing', + 'select': 'selecting', + 'unselect': 'unselecting' + }; + + if (name in preTriggerMap) { + var preTriggerName = preTriggerMap[name]; + var preTriggerArgs = { + prevented: false, + name: name, + args: args + }; + + actualTrigger.call(this, preTriggerName, preTriggerArgs); + + if (preTriggerArgs.prevented) { + args.prevented = true; + + return; + } + } + + actualTrigger.call(this, name, args); + }; + + Select2.prototype.toggleDropdown = function () { + if (this.options.get('disabled')) { + return; + } + + if (this.isOpen()) { + this.close(); + } else { + this.open(); + } + }; + + Select2.prototype.open = function () { + if (this.isOpen()) { + return; + } + + this.trigger('query', {}); + + this.trigger('open'); + }; + + Select2.prototype.close = function () { + if (!this.isOpen()) { + return; + } + + this.trigger('close'); + }; + + Select2.prototype.isOpen = function () { + return this.$container.hasClass('select2-container--open'); + }; + + Select2.prototype.enable = function (args) { + if (this.options.get('debug') && window.console && console.warn) { + console.warn( + 'Select2: The `select2("enable")` method has been deprecated and will' + + ' be removed in later Select2 versions. Use $element.prop("disabled")' + + ' instead.' + ); + } + + if (args == null || args.length === 0) { + args = [true]; + } + + var disabled = !args[0]; + + this.$element.prop('disabled', disabled); + }; + + Select2.prototype.data = function () { + if (this.options.get('debug') && + arguments.length > 0 && window.console && console.warn) { + console.warn( + 'Select2: Data can no longer be set using `select2("data")`. You ' + + 'should consider setting the value instead using `$element.val()`.' + ); + } + + var data = []; + + this.dataAdapter.current(function (currentData) { + data = currentData; + }); + + return data; + }; + + Select2.prototype.val = function (args) { + if (this.options.get('debug') && window.console && console.warn) { + console.warn( + 'Select2: The `select2("val")` method has been deprecated and will be' + + ' removed in later Select2 versions. Use $element.val() instead.' + ); + } + + if (args == null || args.length === 0) { + return this.$element.val(); + } + + var newVal = args[0]; + + if ($.isArray(newVal)) { + newVal = $.map(newVal, function (obj) { + return obj.toString(); + }); + } + + this.$element.val(newVal).trigger('change'); + }; + + Select2.prototype.destroy = function () { + this.$container.remove(); + + if (this.$element[0].detachEvent) { + this.$element[0].detachEvent('onpropertychange', this._sync); + } + + if (this._observer != null) { + this._observer.disconnect(); + this._observer = null; + } else if (this.$element[0].removeEventListener) { + this.$element[0] + .removeEventListener('DOMAttrModified', this._sync, false); + } + + this._sync = null; + + this.$element.off('.select2'); + this.$element.attr('tabindex', this.$element.data('old-tabindex')); + + this.$element.removeClass('select2-hidden-accessible'); + this.$element.attr('aria-hidden', 'false'); + this.$element.removeData('select2'); + + this.dataAdapter.destroy(); + this.selection.destroy(); + this.dropdown.destroy(); + this.results.destroy(); + + this.dataAdapter = null; + this.selection = null; + this.dropdown = null; + this.results = null; + }; + + Select2.prototype.render = function () { + var $container = $( + '<span class="select2 select2-container">' + + '<span class="selection"></span>' + + '<span class="dropdown-wrapper" aria-hidden="true"></span>' + + '</span>' + ); + + $container.attr('dir', this.options.get('dir')); + + this.$container = $container; + + this.$container.addClass('select2-container--' + this.options.get('theme')); + + $container.data('element', this.$element); + + return $container; + }; + + return Select2; +}); + +S2.define('select2/compat/utils',[ + 'jquery' +], function ($) { + function syncCssClasses ($dest, $src, adapter) { + var classes, replacements = [], adapted; + + classes = $.trim($dest.attr('class')); + + if (classes) { + classes = '' + classes; // for IE which returns object + + $(classes.split(/\s+/)).each(function () { + // Save all Select2 classes + if (this.indexOf('select2-') === 0) { + replacements.push(this); + } + }); + } + + classes = $.trim($src.attr('class')); + + if (classes) { + classes = '' + classes; // for IE which returns object + + $(classes.split(/\s+/)).each(function () { + // Only adapt non-Select2 classes + if (this.indexOf('select2-') !== 0) { + adapted = adapter(this); + + if (adapted != null) { + replacements.push(adapted); + } + } + }); + } + + $dest.attr('class', replacements.join(' ')); + } + + return { + syncCssClasses: syncCssClasses + }; +}); + +S2.define('select2/compat/containerCss',[ + 'jquery', + './utils' +], function ($, CompatUtils) { + // No-op CSS adapter that discards all classes by default + function _containerAdapter (clazz) { + return null; + } + + function ContainerCSS () { } + + ContainerCSS.prototype.render = function (decorated) { + var $container = decorated.call(this); + + var containerCssClass = this.options.get('containerCssClass') || ''; + + if ($.isFunction(containerCssClass)) { + containerCssClass = containerCssClass(this.$element); + } + + var containerCssAdapter = this.options.get('adaptContainerCssClass'); + containerCssAdapter = containerCssAdapter || _containerAdapter; + + if (containerCssClass.indexOf(':all:') !== -1) { + containerCssClass = containerCssClass.replace(':all', ''); + + var _cssAdapter = containerCssAdapter; + + containerCssAdapter = function (clazz) { + var adapted = _cssAdapter(clazz); + + if (adapted != null) { + // Append the old one along with the adapted one + return adapted + ' ' + clazz; + } + + return clazz; + }; + } + + var containerCss = this.options.get('containerCss') || {}; + + if ($.isFunction(containerCss)) { + containerCss = containerCss(this.$element); + } + + CompatUtils.syncCssClasses($container, this.$element, containerCssAdapter); + + $container.css(containerCss); + $container.addClass(containerCssClass); + + return $container; + }; + + return ContainerCSS; +}); + +S2.define('select2/compat/dropdownCss',[ + 'jquery', + './utils' +], function ($, CompatUtils) { + // No-op CSS adapter that discards all classes by default + function _dropdownAdapter (clazz) { + return null; + } + + function DropdownCSS () { } + + DropdownCSS.prototype.render = function (decorated) { + var $dropdown = decorated.call(this); + + var dropdownCssClass = this.options.get('dropdownCssClass') || ''; + + if ($.isFunction(dropdownCssClass)) { + dropdownCssClass = dropdownCssClass(this.$element); + } + + var dropdownCssAdapter = this.options.get('adaptDropdownCssClass'); + dropdownCssAdapter = dropdownCssAdapter || _dropdownAdapter; + + if (dropdownCssClass.indexOf(':all:') !== -1) { + dropdownCssClass = dropdownCssClass.replace(':all', ''); + + var _cssAdapter = dropdownCssAdapter; + + dropdownCssAdapter = function (clazz) { + var adapted = _cssAdapter(clazz); + + if (adapted != null) { + // Append the old one along with the adapted one + return adapted + ' ' + clazz; + } + + return clazz; + }; + } + + var dropdownCss = this.options.get('dropdownCss') || {}; + + if ($.isFunction(dropdownCss)) { + dropdownCss = dropdownCss(this.$element); + } + + CompatUtils.syncCssClasses($dropdown, this.$element, dropdownCssAdapter); + + $dropdown.css(dropdownCss); + $dropdown.addClass(dropdownCssClass); + + return $dropdown; + }; + + return DropdownCSS; +}); + +S2.define('select2/compat/initSelection',[ + 'jquery' +], function ($) { + function InitSelection (decorated, $element, options) { + if (options.get('debug') && window.console && console.warn) { + console.warn( + 'Select2: The `initSelection` option has been deprecated in favor' + + ' of a custom data adapter that overrides the `current` method. ' + + 'This method is now called multiple times instead of a single ' + + 'time when the instance is initialized. Support will be removed ' + + 'for the `initSelection` option in future versions of Select2' + ); + } + + this.initSelection = options.get('initSelection'); + this._isInitialized = false; + + decorated.call(this, $element, options); + } + + InitSelection.prototype.current = function (decorated, callback) { + var self = this; + + if (this._isInitialized) { + decorated.call(this, callback); + + return; + } + + this.initSelection.call(null, this.$element, function (data) { + self._isInitialized = true; + + if (!$.isArray(data)) { + data = [data]; + } + + callback(data); + }); + }; + + return InitSelection; +}); + +S2.define('select2/compat/inputData',[ + 'jquery' +], function ($) { + function InputData (decorated, $element, options) { + this._currentData = []; + this._valueSeparator = options.get('valueSeparator') || ','; + + if ($element.prop('type') === 'hidden') { + if (options.get('debug') && console && console.warn) { + console.warn( + 'Select2: Using a hidden input with Select2 is no longer ' + + 'supported and may stop working in the future. It is recommended ' + + 'to use a `<select>` element instead.' + ); + } + } + + decorated.call(this, $element, options); + } + + InputData.prototype.current = function (_, callback) { + function getSelected (data, selectedIds) { + var selected = []; + + if (data.selected || $.inArray(data.id, selectedIds) !== -1) { + data.selected = true; + selected.push(data); + } else { + data.selected = false; + } + + if (data.children) { + selected.push.apply(selected, getSelected(data.children, selectedIds)); + } + + return selected; + } + + var selected = []; + + for (var d = 0; d < this._currentData.length; d++) { + var data = this._currentData[d]; + + selected.push.apply( + selected, + getSelected( + data, + this.$element.val().split( + this._valueSeparator + ) + ) + ); + } + + callback(selected); + }; + + InputData.prototype.select = function (_, data) { + if (!this.options.get('multiple')) { + this.current(function (allData) { + $.map(allData, function (data) { + data.selected = false; + }); + }); + + this.$element.val(data.id); + this.$element.trigger('change'); + } else { + var value = this.$element.val(); + value += this._valueSeparator + data.id; + + this.$element.val(value); + this.$element.trigger('change'); + } + }; + + InputData.prototype.unselect = function (_, data) { + var self = this; + + data.selected = false; + + this.current(function (allData) { + var values = []; + + for (var d = 0; d < allData.length; d++) { + var item = allData[d]; + + if (data.id == item.id) { + continue; + } + + values.push(item.id); + } + + self.$element.val(values.join(self._valueSeparator)); + self.$element.trigger('change'); + }); + }; + + InputData.prototype.query = function (_, params, callback) { + var results = []; + + for (var d = 0; d < this._currentData.length; d++) { + var data = this._currentData[d]; + + var matches = this.matches(params, data); + + if (matches !== null) { + results.push(matches); + } + } + + callback({ + results: results + }); + }; + + InputData.prototype.addOptions = function (_, $options) { + var options = $.map($options, function ($option) { + return $.data($option[0], 'data'); + }); + + this._currentData.push.apply(this._currentData, options); + }; + + return InputData; +}); + +S2.define('select2/compat/matcher',[ + 'jquery' +], function ($) { + function oldMatcher (matcher) { + function wrappedMatcher (params, data) { + var match = $.extend(true, {}, data); + + if (params.term == null || $.trim(params.term) === '') { + return match; + } + + if (data.children) { + for (var c = data.children.length - 1; c >= 0; c--) { + var child = data.children[c]; + + // Check if the child object matches + // The old matcher returned a boolean true or false + var doesMatch = matcher(params.term, child.text, child); + + // If the child didn't match, pop it off + if (!doesMatch) { + match.children.splice(c, 1); + } + } + + if (match.children.length > 0) { + return match; + } + } + + if (matcher(params.term, data.text, data)) { + return match; + } + + return null; + } + + return wrappedMatcher; + } + + return oldMatcher; +}); + +S2.define('select2/compat/query',[ + +], function () { + function Query (decorated, $element, options) { + if (options.get('debug') && window.console && console.warn) { + console.warn( + 'Select2: The `query` option has been deprecated in favor of a ' + + 'custom data adapter that overrides the `query` method. Support ' + + 'will be removed for the `query` option in future versions of ' + + 'Select2.' + ); + } + + decorated.call(this, $element, options); + } + + Query.prototype.query = function (_, params, callback) { + params.callback = callback; + + var query = this.options.get('query'); + + query.call(null, params); + }; + + return Query; +}); + +S2.define('select2/dropdown/attachContainer',[ + +], function () { + function AttachContainer (decorated, $element, options) { + decorated.call(this, $element, options); + } + + AttachContainer.prototype.position = + function (decorated, $dropdown, $container) { + var $dropdownContainer = $container.find('.dropdown-wrapper'); + $dropdownContainer.append($dropdown); + + $dropdown.addClass('select2-dropdown--below'); + $container.addClass('select2-container--below'); + }; + + return AttachContainer; +}); + +S2.define('select2/dropdown/stopPropagation',[ + +], function () { + function StopPropagation () { } + + StopPropagation.prototype.bind = function (decorated, container, $container) { + decorated.call(this, container, $container); + + var stoppedEvents = [ + 'blur', + 'change', + 'click', + 'dblclick', + 'focus', + 'focusin', + 'focusout', + 'input', + 'keydown', + 'keyup', + 'keypress', + 'mousedown', + 'mouseenter', + 'mouseleave', + 'mousemove', + 'mouseover', + 'mouseup', + 'search', + 'touchend', + 'touchstart' + ]; + + this.$dropdown.on(stoppedEvents.join(' '), function (evt) { + evt.stopPropagation(); + }); + }; + + return StopPropagation; +}); + +S2.define('select2/selection/stopPropagation',[ + +], function () { + function StopPropagation () { } + + StopPropagation.prototype.bind = function (decorated, container, $container) { + decorated.call(this, container, $container); + + var stoppedEvents = [ + 'blur', + 'change', + 'click', + 'dblclick', + 'focus', + 'focusin', + 'focusout', + 'input', + 'keydown', + 'keyup', + 'keypress', + 'mousedown', + 'mouseenter', + 'mouseleave', + 'mousemove', + 'mouseover', + 'mouseup', + 'search', + 'touchend', + 'touchstart' + ]; + + this.$selection.on(stoppedEvents.join(' '), function (evt) { + evt.stopPropagation(); + }); + }; + + return StopPropagation; +}); + +S2.define('jquery.select2',[ + 'jquery', + 'require', + + './select2/core', + './select2/defaults' +], function ($, require, Select2, Defaults) { + // Force jQuery.mousewheel to be loaded if it hasn't already + require('jquery.mousewheel'); + + if ($.fn.select2 == null) { + // All methods that should return the element + var thisMethods = ['open', 'close', 'destroy']; + + $.fn.select2 = function (options) { + options = options || {}; + + if (typeof options === 'object') { + this.each(function () { + var instanceOptions = $.extend({}, options, true); + + var instance = new Select2($(this), instanceOptions); + }); + + return this; + } else if (typeof options === 'string') { + var instance = this.data('select2'); + + if (instance == null && window.console && console.error) { + console.error( + 'The select2(\'' + options + '\') method was called on an ' + + 'element that is not using Select2.' + ); + } + + var args = Array.prototype.slice.call(arguments, 1); + + var ret = instance[options](args); + + // Check if we should be returning `this` + if ($.inArray(options, thisMethods) > -1) { + return this; + } + + return ret; + } else { + throw new Error('Invalid arguments for Select2: ' + options); + } + }; + } + + if ($.fn.select2.defaults == null) { + $.fn.select2.defaults = Defaults; + } + + return Select2; +}); + +/*! + * jQuery Mousewheel 3.1.12 + * + * Copyright 2014 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +(function (factory) { + if ( typeof S2.define === 'function' && S2.define.amd ) { + // AMD. Register as an anonymous module. + S2.define('jquery.mousewheel',['jquery'], factory); + } else if (typeof exports === 'object') { + // Node/CommonJS style for Browserify + module.exports = factory; + } else { + // Browser globals + factory(jQuery); + } +}(function ($) { + + var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll'], + toBind = ( 'onwheel' in document || document.documentMode >= 9 ) ? + ['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll'], + slice = Array.prototype.slice, + nullLowestDeltaTimeout, lowestDelta; + + if ( $.event.fixHooks ) { + for ( var i = toFix.length; i; ) { + $.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks; + } + } + + var special = $.event.special.mousewheel = { + version: '3.1.12', + + setup: function() { + if ( this.addEventListener ) { + for ( var i = toBind.length; i; ) { + this.addEventListener( toBind[--i], handler, false ); + } + } else { + this.onmousewheel = handler; + } + // Store the line height and page height for this particular element + $.data(this, 'mousewheel-line-height', special.getLineHeight(this)); + $.data(this, 'mousewheel-page-height', special.getPageHeight(this)); + }, + + teardown: function() { + if ( this.removeEventListener ) { + for ( var i = toBind.length; i; ) { + this.removeEventListener( toBind[--i], handler, false ); + } + } else { + this.onmousewheel = null; + } + // Clean up the data we added to the element + $.removeData(this, 'mousewheel-line-height'); + $.removeData(this, 'mousewheel-page-height'); + }, + + getLineHeight: function(elem) { + var $elem = $(elem), + $parent = $elem['offsetParent' in $.fn ? 'offsetParent' : 'parent'](); + if (!$parent.length) { + $parent = $('body'); + } + return parseInt($parent.css('fontSize'), 10) || parseInt($elem.css('fontSize'), 10) || 16; + }, + + getPageHeight: function(elem) { + return $(elem).height(); + }, + + settings: { + adjustOldDeltas: true, // see shouldAdjustOldDeltas() below + normalizeOffset: true // calls getBoundingClientRect for each event + } + }; + + $.fn.extend({ + mousewheel: function(fn) { + return fn ? this.bind('mousewheel', fn) : this.trigger('mousewheel'); + }, + + unmousewheel: function(fn) { + return this.unbind('mousewheel', fn); + } + }); + + + function handler(event) { + var orgEvent = event || window.event, + args = slice.call(arguments, 1), + delta = 0, + deltaX = 0, + deltaY = 0, + absDelta = 0, + offsetX = 0, + offsetY = 0; + event = $.event.fix(orgEvent); + event.type = 'mousewheel'; + + // Old school scrollwheel delta + if ( 'detail' in orgEvent ) { deltaY = orgEvent.detail * -1; } + if ( 'wheelDelta' in orgEvent ) { deltaY = orgEvent.wheelDelta; } + if ( 'wheelDeltaY' in orgEvent ) { deltaY = orgEvent.wheelDeltaY; } + if ( 'wheelDeltaX' in orgEvent ) { deltaX = orgEvent.wheelDeltaX * -1; } + + // Firefox < 17 horizontal scrolling related to DOMMouseScroll event + if ( 'axis' in orgEvent && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) { + deltaX = deltaY * -1; + deltaY = 0; + } + + // Set delta to be deltaY or deltaX if deltaY is 0 for backwards compatabilitiy + delta = deltaY === 0 ? deltaX : deltaY; + + // New school wheel delta (wheel event) + if ( 'deltaY' in orgEvent ) { + deltaY = orgEvent.deltaY * -1; + delta = deltaY; + } + if ( 'deltaX' in orgEvent ) { + deltaX = orgEvent.deltaX; + if ( deltaY === 0 ) { delta = deltaX * -1; } + } + + // No change actually happened, no reason to go any further + if ( deltaY === 0 && deltaX === 0 ) { return; } + + // Need to convert lines and pages to pixels if we aren't already in pixels + // There are three delta modes: + // * deltaMode 0 is by pixels, nothing to do + // * deltaMode 1 is by lines + // * deltaMode 2 is by pages + if ( orgEvent.deltaMode === 1 ) { + var lineHeight = $.data(this, 'mousewheel-line-height'); + delta *= lineHeight; + deltaY *= lineHeight; + deltaX *= lineHeight; + } else if ( orgEvent.deltaMode === 2 ) { + var pageHeight = $.data(this, 'mousewheel-page-height'); + delta *= pageHeight; + deltaY *= pageHeight; + deltaX *= pageHeight; + } + + // Store lowest absolute delta to normalize the delta values + absDelta = Math.max( Math.abs(deltaY), Math.abs(deltaX) ); + + if ( !lowestDelta || absDelta < lowestDelta ) { + lowestDelta = absDelta; + + // Adjust older deltas if necessary + if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) { + lowestDelta /= 40; + } + } + + // Adjust older deltas if necessary + if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) { + // Divide all the things by 40! + delta /= 40; + deltaX /= 40; + deltaY /= 40; + } + + // Get a whole, normalized value for the deltas + delta = Math[ delta >= 1 ? 'floor' : 'ceil' ](delta / lowestDelta); + deltaX = Math[ deltaX >= 1 ? 'floor' : 'ceil' ](deltaX / lowestDelta); + deltaY = Math[ deltaY >= 1 ? 'floor' : 'ceil' ](deltaY / lowestDelta); + + // Normalise offsetX and offsetY properties + if ( special.settings.normalizeOffset && this.getBoundingClientRect ) { + var boundingRect = this.getBoundingClientRect(); + offsetX = event.clientX - boundingRect.left; + offsetY = event.clientY - boundingRect.top; + } + + // Add information to the event object + event.deltaX = deltaX; + event.deltaY = deltaY; + event.deltaFactor = lowestDelta; + event.offsetX = offsetX; + event.offsetY = offsetY; + // Go ahead and set deltaMode to 0 since we converted to pixels + // Although this is a little odd since we overwrite the deltaX/Y + // properties with normalized deltas. + event.deltaMode = 0; + + // Add event and delta to the front of the arguments + args.unshift(event, delta, deltaX, deltaY); + + // Clearout lowestDelta after sometime to better + // handle multiple device types that give different + // a different lowestDelta + // Ex: trackpad = 3 and mouse wheel = 120 + if (nullLowestDeltaTimeout) { clearTimeout(nullLowestDeltaTimeout); } + nullLowestDeltaTimeout = setTimeout(nullLowestDelta, 200); + + return ($.event.dispatch || $.event.handle).apply(this, args); + } + + function nullLowestDelta() { + lowestDelta = null; + } + + function shouldAdjustOldDeltas(orgEvent, absDelta) { + // If this is an older event and the delta is divisable by 120, + // then we are assuming that the browser is treating this as an + // older mouse wheel event and that we should divide the deltas + // by 40 to try and get a more usable deltaFactor. + // Side note, this actually impacts the reported scroll distance + // in older browsers and can cause scrolling to be slower than native. + // Turn this off by setting $.event.special.mousewheel.settings.adjustOldDeltas to false. + return special.settings.adjustOldDeltas && orgEvent.type === 'mousewheel' && absDelta % 120 === 0; + } + +})); + + // Return the AMD loader configuration so it can be used outside of this file + return { + define: S2.define, + require: S2.require + }; +}()); + + // Autoload the jQuery bindings + // We know that all of the modules exist above this, so we're safe + var select2 = S2.require('jquery.select2'); + + // Hold the AMD module references on the jQuery function that was just loaded + // This allows Select2 to use the internal loader outside of this file, such + // as in the language files. + jQuery.fn.select2.amd = S2; + + // Return the Select2 instance for anyone who is importing it. + return select2; +})); diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 27eaa149f916cd1979096a57a628a5757511fdd2..9342e9a7227e8166fe65e3e550b642cc473714df 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -12,6 +12,7 @@ * *= require_tree ./application *= require_self + *= require_tree ./search */ @import "bootstrap-sprockets"; @import "bootstrap"; @@ -41,9 +42,58 @@ .dropdown-menu-contrast{ background-color: black !important; + border: 1px solid white; +} +.general_highlights-contrast{ + border: 1px solid white; } /*---------------*/ +.padding-left-0{ + padding-left: 0 !important; +} +.padding-right-0{ + padding-right: 0 !important; +} +.general_highlights{ + padding-bottom: 20px; + padding-left: 0px; +} +.font_roboto_light{ + font-family: 'Roboto', sans-serif; +} +#mec_portais{ + background-color: #2E3192; + width: 100px; + height: 50px; +} +#mec_portais2{ + background-color: #2E3192; + width: 100px; + height: 50px; + margin-left: 5px; +} +.rede_social{ + width: 30px; + height: 30px; + border-radius: 5px; +} +#rede_social1{ + background-color: #2E3192; +} +#rede_social2{ + background-color: #C01A2C; + margin-left: 5px; +} +#rede_social3{ + background-color: #00ADEF; + margin-left: 5px; +} +#rede_social4{ + background-color: #6A5E50; + margin-left: 5px; +} + #barra-brasil .brasil-flag{ height: 50px !important; } @@ -295,3 +345,117 @@ a.thumbnail.active { border: 1px solid #555; border-radius: 10px; } + + +#nestedAccordion{ + width:100%; +} +#nestedAccordion h2, #nestedAccordion h3, +#nestedAccordion div, #nestedAccordion ol, +#nestedAccordion li{ + /* reset styles for accordion */ + margin:0; + padding:0; + font-size:1em; + font-weight:normal; + list-style:none; +} +#nestedAccordion div{ + color:#555;/*#555 #003300*/ + overflow:hidden; + display:none; +} + +#nestedAccordion h2{ + cursor:pointer; + color:#fff; + font-size:1.1em; + moz-border-radius: 5px 5px 0 0; + -webkit-border-radius: 5px 5px 0 0; + border-radius: 5px 5px 0 0; + padding:3px; + margin-top:5px; + background-color: #529652; + background-image: -webkit-gradient(linear, left top, left bottom, from(#4B8CFF), to(#447FE8)); + background-image: -webkit-linear-gradient(top, #4B8CFF, #447FE8);/*#4B8CFF, #447FE8*/ + background-image: -moz-linear-gradient(top, #4B8CFF, #447FE8); + background-image: -ms-linear-gradient(top, #4B8CFF, #447FE8); + background-image: -o-linear-gradient(top, #4B8CFF, #447FE8); + background-image: linear-gradient(to bottom, #4B8CFF, #447FE8); + background-image: url("arrow.ico"); + background-repeat: no-repeat; + background-position: right bottom; +} +#nestedAccordion h3{ + cursor:pointer; + padding:4px; + color: #666; + text-shadow: 0 1px 0 rgba(255, 255, 255, .5); + background-color: #f5f5f5; + background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#ededed)); + background-image: -webkit-linear-gradient(top, #f5f5f5, #ededed); + background-image: -moz-linear-gradient(top, #f5f5f5, #ededed); + background-image: -ms-linear-gradient(top, #f5f5f5, #ededed); + background-image: -o-linear-gradient(top, #f5f5f5, #ededed); + background-image: linear-gradient(to bottom, #f5f5f5, #ededed); + +} +#nestedAccordion h3:hover{ + color:#000; +} +#nestedAccordion h3 + div{ + display:none; + background-color:#F5F5F5; + padding:5px 5px 5px 30px; +} +#nestedAccordion li:hover{ + color:#000; + cursor:pointer; +} +#nestedAccordion h2 +div.aberto{ + display:inherit; +} + + +.starRating:not(old){ + display : inline-block; + width : 7.5em; + height : 1.5em; + overflow : hidden; + vertical-align : bottom; +} + +.starRating:not(old) > input{ + margin-right : -100%; + opacity : 0; +} + +.starRating:not(old) > label{ + display : block; + float : right; + position : relative; + background : url('star-off.svg'); + background-size : contain; +} + +.starRating:not(old) > label:before{ + content : ''; + display : block; + width : 1.5em; + height : 1.5em; + background : url('star-on.svg'); + background-size : contain; + opacity : 0; + transition : opacity 0.2s linear; +} + +.starRating:not(old) > label:hover:before, +.starRating:not(old) > label:hover ~ label:before, +.starRating:not(:hover) > :checked ~ label:before{ + opacity : 1; +} + +td.stars { width: 22%; } +td.visualis { width: 22%; } +table.tipo1 td { width: 52%; height: 33px;} +table.tipo1 p{ font-size: 15px; font-weight: bold; } diff --git a/app/assets/stylesheets/management.css b/app/assets/stylesheets/management.css index 4eb8a9a7cf6f1e35080b3a3a731b1ca8618f3dc4..280f4bb3720693b96278863b5483e7161ac5d46d 100644 --- a/app/assets/stylesheets/management.css +++ b/app/assets/stylesheets/management.css @@ -11,5 +11,6 @@ * file per style scope. * *= require_tree ./management + *= require locastyle *= require_self */ diff --git a/app/assets/stylesheets/management/fonts/locastyle-docs.eot b/app/assets/stylesheets/management/fonts/locastyle-docs.eot deleted file mode 100755 index f4b2b5d8781b5ec4eac10ed56c3d5b0e55659141..0000000000000000000000000000000000000000 Binary files a/app/assets/stylesheets/management/fonts/locastyle-docs.eot and /dev/null differ diff --git a/app/assets/stylesheets/management/fonts/locastyle-docs.json b/app/assets/stylesheets/management/fonts/locastyle-docs.json deleted file mode 100644 index 68bfc945a2d889575fcb4b67fba418dcdd2c590c..0000000000000000000000000000000000000000 --- a/app/assets/stylesheets/management/fonts/locastyle-docs.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "IcoMoonType": "selection", - "icons": [ - { - "icon": { - "paths": [ - "M892.118 188.118l-120.234-120.236c-37.338-37.336-111.084-67.882-163.884-67.882h-448c-52.8 0-96 43.2-96 96v832c0 52.8 43.2 96 96 96h704c52.8 0 96-43.2 96-96v-576c0-52.8-30.546-126.546-67.882-163.882zM640 135.562c2.196 0.804 4.452 1.68 6.758 2.636 18.060 7.482 30.598 16.176 34.616 20.194l120.236 120.238c4.018 4.018 12.712 16.554 20.194 34.614 0.956 2.306 1.832 4.562 2.636 6.756l-184.44 0v-184.438zM832 896h-640v-768h384v256h256v512zM256 512h512v64h-512zM256 640h512v64h-512zM256 768h512v64h-512z" - ], - "tags": [ - "file", - "list", - "paper", - "page", - "document" - ], - "grid": 16 - }, - "properties": { - "id": 37, - "order": 3, - "prevSize": 32, - "code": 58880, - "name": "file", - "ligatures": "" - }, - "setIdx": 0, - "iconIdx": 37 - }, - { - "icon": { - "paths": [ - "M384 832h640v128h-640zM384 448h640v128h-640zM384 64h640v128h-640zM192 0v256h-64v-192h-64v-64zM128 526v50h128v64h-192v-146l128-60v-50h-128v-64h192v146zM256 704v320h-192v-64h128v-64h-128v-64h128v-64h-128v-64z" - ], - "tags": [ - "numbered-list", - "list", - "items", - "nl" - ], - "grid": 16 - }, - "properties": { - "id": 182, - "order": 2, - "prevSize": 32, - "code": 58881, - "name": "numbered-list", - "ligatures": "" - }, - "setIdx": 0, - "iconIdx": 182 - }, - { - "icon": { - "paths": [ - "M736 448l-256 256-256-256h160v-384h192v384zM480 704h-480v256h960v-256h-480zM896 832h-128v-64h128v64z" - ], - "tags": [ - "download", - "store", - "save" - ], - "grid": 16 - }, - "properties": { - "id": 191, - "order": 4, - "prevSize": 32, - "code": 58882, - "name": "download", - "ligatures": "" - }, - "setIdx": 0, - "iconIdx": 191 - } - ], - "height": 1024, - "metadata": { - "name": "icomoon" - }, - "preferences": { - "fontPref": { - "prefix": "icon-", - "metadata": { - "fontFamily": "icomoon" - }, - "showGlyphs": true, - "metrics": { - "emSize": 512, - "baseline": 6.25, - "whitespace": 50 - }, - "resetPoint": 58880, - "showQuickUse": true, - "quickUsageToken": false, - "showMetrics": true, - "showMetadata": false - }, - "imagePref": { - "color": 0, - "height": 32, - "columns": 16, - "margin": 16, - "png": false, - "sprites": true - }, - "historySize": 100, - "showCodes": true, - "gridSize": 16, - "showLiga": false, - "showGrid": true, - "showGlyphs": true, - "showQuickUse": true, - "search": "" - } -} \ No newline at end of file diff --git a/app/assets/stylesheets/management/fonts/locastyle-docs.svg b/app/assets/stylesheets/management/fonts/locastyle-docs.svg deleted file mode 100644 index c27d8d427d2e3fd9d5bac945f542524299c37fae..0000000000000000000000000000000000000000 --- a/app/assets/stylesheets/management/fonts/locastyle-docs.svg +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> -<metadata>Generated by IcoMoon</metadata> -<defs> -<font id="icomoon" horiz-adv-x="512"> -<font-face units-per-em="512" ascent="480" descent="-32" /> -<missing-glyph horiz-adv-x="512" /> -<glyph unicode=" " d="" horiz-adv-x="256" /> -<glyph unicode="" d="M446.059 385.941l-60.117 60.118c-18.669 18.668-55.542 33.941-81.942 33.941h-224c-26.4 0-48-21.6-48-48v-416c0-26.4 21.6-48 48-48h352c26.4 0 48 21.6 48 48v288c0 26.4-15.273 63.273-33.941 81.941zM320 412.219c1.098-0.402 2.226-0.84 3.379-1.318 9.030-3.741 15.299-8.088 17.308-10.097l60.118-60.119c2.009-2.009 6.356-8.277 10.097-17.307 0.478-1.153 0.916-2.281 1.318-3.378h-92.22v92.219zM416 32h-320v384h192v-128h128v-256zM128 224h256v-32h-256zM128 160h256v-32h-256zM128 96h256v-32h-256z" /> -<glyph unicode="" d="M192 64h320v-64h-320zM192 256h320v-64h-320zM192 448h320v-64h-320zM96 480v-128h-32v96h-32v32zM64 217v-25h64v-32h-96v73l64 30v25h-64v32h96v-73zM128 128v-160h-96v32h64v32h-64v32h64v32h-64v32z" /> -<glyph unicode="" d="M368 256l-128-128-128 128h80v192h96v-192zM240 128h-240v-128h480v128h-240zM448 64h-64v32h64v-32z" /> -</font></defs></svg> \ No newline at end of file diff --git a/app/assets/stylesheets/management/fonts/locastyle-docs.ttf b/app/assets/stylesheets/management/fonts/locastyle-docs.ttf deleted file mode 100755 index 60a669d2cd29e8e762e75241d9cb4f1d28169394..0000000000000000000000000000000000000000 Binary files a/app/assets/stylesheets/management/fonts/locastyle-docs.ttf and /dev/null differ diff --git a/app/assets/stylesheets/management/fonts/locastyle-docs.woff b/app/assets/stylesheets/management/fonts/locastyle-docs.woff deleted file mode 100755 index 5bf58e3deb7ffa8b8b52e5c8ab937460b23d7476..0000000000000000000000000000000000000000 Binary files a/app/assets/stylesheets/management/fonts/locastyle-docs.woff and /dev/null differ diff --git a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.eot b/app/assets/stylesheets/management/fonts/locastyle-panel-icons.eot deleted file mode 100755 index cbb1d9127d80a56706d522c6d256cc203cf79412..0000000000000000000000000000000000000000 Binary files a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.eot and /dev/null differ diff --git a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.json b/app/assets/stylesheets/management/fonts/locastyle-panel-icons.json deleted file mode 100644 index 41e703bade67e374a5f0a7abbd6e39f3c79c1d66..0000000000000000000000000000000000000000 --- a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.json +++ /dev/null @@ -1,301 +0,0 @@ -{ - "IcoMoonType": "selection", - "icons": [ - { - "icon": { - "paths": [ - "M735.137 420.346c-124.565 0-225.548 100.988-225.548 225.542 0 0.316 0.010 0.84 0.023 1.278h-53.054l84.395 84.22 84.536-84.22h-53.217v-0.054c-0.023-0.427-0.023-0.917-0.023-1.224 0-89.827 73.063-162.882 162.888-162.882s162.888 73.057 162.888 162.882c0 89.825-73.063 162.909-162.888 162.909-54.507 0-102.831-26.948-132.402-68.199l-44.858 44.664c41.306 52.463 105.332 86.185 177.257 86.185 124.577 0 225.548-100.984 225.548-225.559 0.002-124.554-100.969-225.542-225.546-225.542zM369.534 610.636l91.677-0.008c2.003-15.422 5.234-30.458 9.668-44.971h-355.786c-20.259 0-36.689-16.436-36.689-36.695v-326.334c0-20.259 16.429-36.691 36.689-36.691h672.444c20.257 0 36.684 16.429 36.684 36.691v182.587c22.282 7.618 43.272 18.017 62.573 30.765v-276.251c0-20.259-16.425-36.684-36.686-36.684h-796.445c-20.264 0-36.689 16.425-36.689 36.684v502.949c0 20.257 16.425 36.693 36.689 36.693h283.311v63.566h-88.685c-37.362 0-67.648 28.162-67.648 65.534h330.781c-20.461-28.17-35.714-60.358-44.381-95.154l-97.507-102.682zM716.693 533.706v127.765l101.649 58.267 14.598-32.584-79.74-46.047v-107.4h-36.507z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "backup" - ] - }, - "attrs": [ - {} - ], - "properties": { - "order": 118, - "id": 1, - "name": "backup", - "prevSize": 48, - "code": 58886 - }, - "setIdx": 0, - "iconIdx": 0 - }, - { - "icon": { - "paths": [ - "M200.917 595.584l32.192-137.685h1.088l18.304 76.885 13.568 60.821h52.395l50.795-173.931h-47.168l-21.141 77.013c-1.045 4.565-2.773 13.355-5.205 26.368-2.411 13.035-4.096 23.275-5.035 30.741h-0.96c-0.085-2.923-0.491-6.763-1.173-11.605-0.683-4.864-1.451-9.749-2.304-14.805-0.832-4.992-1.707-9.749-2.603-14.208s-1.557-7.829-1.984-10.112l-20.672-83.392h-53.013l-21.781 83.392-2.517 13.227c-3.243 17.131-5.099 29.632-5.525 37.525h-0.939c-3.371-24.299-6.677-43.328-9.941-57.131l-20.352-77.013h-47.957l50.176 173.931h51.755zM572.331 525.035c-2.432 13.035-4.139 23.275-5.077 30.741h-0.96c-0.085-2.923-0.448-6.763-1.173-11.605-0.661-4.864-1.408-9.749-2.261-14.805-0.853-4.992-1.707-9.749-2.624-14.208-0.896-4.459-1.557-7.829-1.963-10.112l-20.693-83.392h-52.992l-21.781 83.392-2.517 13.227c-3.264 17.131-5.099 29.632-5.525 37.525h-0.939c-3.371-24.299-6.677-43.328-9.941-57.131l-20.352-77.013h-47.957l50.176 173.931h51.755l32.171-137.685h1.109l18.304 76.885 13.589 60.821h52.352l50.816-173.931h-47.168l-21.141 77.013c-1.067 4.544-2.795 13.333-5.205 26.347zM807.659 698.709h-70.144c5.845-18.496 10.56-38.016 14.677-57.963h-68.011c-3.584 20.181-7.723 39.787-13.035 57.963h-319.232c-5.333-18.176-9.451-37.781-13.056-57.963h-68.011c4.139 19.947 8.832 39.467 14.677 57.963h-70.165c-11.541-18.219-21.291-37.675-29.355-57.963h-65.749c54.101 164.48 208.704 283.328 391.275 283.328 182.592 0 337.195-118.848 391.296-283.328h-65.813c-8.064 20.288-17.813 39.723-29.355 57.963zM267.541 763.115h43.136c9.515 19.925 19.947 38.635 31.488 55.424-27.307-15.125-52.395-33.835-74.624-55.424zM511.531 862.272c-58.496 0-103.723-37.867-134.72-99.136h269.44c-30.997 61.269-76.224 99.136-134.72 99.136zM680.896 818.517c11.541-16.789 21.973-35.499 31.488-55.403h43.115c-22.229 21.589-47.296 40.277-74.603 55.403zM215.381 325.291h70.165c-5.845 18.496-10.56 38.016-14.677 57.941h68.011c3.584-20.181 7.723-39.787 13.035-57.941h319.232c5.312 18.155 9.451 37.76 13.035 57.941h68.011c-4.117-19.947-8.811-39.467-14.677-57.941h70.144c11.52 18.219 21.269 37.675 29.355 57.941h65.792c-54.101-164.459-208.683-283.307-391.275-283.307-182.571 0-337.173 118.848-391.275 283.307h65.771c8.085-20.288 17.835-39.723 29.355-57.941zM755.52 260.885h-43.136c-9.493-19.925-19.947-38.635-31.488-55.424 27.307 15.125 52.373 33.835 74.624 55.424zM511.531 161.728c58.496 0 103.723 37.888 134.72 99.157h-269.44c30.997-61.291 76.224-99.157 134.72-99.157zM342.187 205.44c-11.563 16.811-21.995 35.52-31.488 55.445h-43.157c22.229-21.589 47.296-40.299 74.645-55.445zM854.101 498.667c-1.067 4.565-2.795 13.355-5.205 26.368-2.411 13.035-4.096 23.275-5.035 30.741h-0.96c-0.107-2.923-0.491-6.763-1.195-11.605-0.683-4.864-1.429-9.749-2.283-14.805-0.832-4.992-1.707-9.749-2.624-14.208-0.875-4.459-1.515-7.829-1.92-10.112l-20.715-83.392h-52.992l-21.781 83.392-2.539 13.227c-3.243 17.131-5.077 29.632-5.504 37.525h-0.96c-3.328-24.299-6.656-43.328-9.941-57.131l-20.352-77.013h-47.957l50.176 173.931h51.755l32.192-137.685h1.109l18.304 76.885 13.568 60.821h52.395l50.795-173.931h-47.168l-21.163 76.992z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "dominio" - ] - }, - "attrs": [ - {} - ], - "properties": { - "order": 119, - "id": 0, - "name": "dominio", - "prevSize": 48, - "code": 58887 - }, - "setIdx": 0, - "iconIdx": 1 - }, - { - "icon": { - "paths": [ - "M330.731 341.205h-55.488v176.704h50.027c31.275 0 55.211-7.701 71.744-23.168 16.555-15.488 24.832-37.781 24.832-66.859 0-27.328-7.979-48.576-23.936-63.829-15.936-15.232-38.315-22.848-67.179-22.848zM328.811 486.955h-16.085v-115.051h19.968c33.515 0 50.283 18.987 50.283 56.939-0.021 38.763-18.069 58.112-54.165 58.112zM888.427 177.813h-754.368c-19.2 0-34.752 15.552-34.752 34.709v476.395c0 19.179 15.552 34.773 34.752 34.773h268.352v60.181h-84.011c-35.371 0-64.085 26.688-64.085 62.101h515.712c0-35.413-28.715-62.101-64.085-62.101h-77.696v-60.181h260.16c19.2 0 34.773-15.573 34.773-34.773v-476.395c0-19.157-15.552-34.709-34.752-34.709zM863.915 581.248c0 19.179-15.573 34.752-34.795 34.752h-636.885c-19.179 0-34.731-15.552-34.731-34.752v-309.12c0-19.179 15.552-34.773 34.731-34.773h636.885c19.2 0 34.795 15.573 34.795 34.773v309.12zM574.080 424.853c0 9.493 0.576 25.749 1.813 48.704h-0.832l-76.779-132.373h-47.275v176.704h33.472v-83.115c0-10.091-0.747-26.923-2.283-50.539h1.088l76.885 133.653h47.616v-176.704h-33.707v83.669zM708.587 415.915c-12.501-5.973-20.395-10.091-23.765-12.395-3.349-2.304-5.76-4.672-7.275-7.125-1.536-2.453-2.325-5.355-2.325-8.661 0-5.312 1.92-9.6 5.717-12.907 3.755-3.307 9.259-4.949 16.32-4.949 5.973 0 12.011 0.768 18.176 2.283 6.165 1.536 13.973 4.245 23.424 8.107l12.053-29.141c-9.088-3.947-17.792-6.997-26.176-9.173-8.32-2.197-17.088-3.264-26.261-3.264-18.709 0-33.344 4.459-43.947 13.419-10.624 8.939-15.893 21.248-15.893 36.885 0 8.299 1.6 15.552 4.864 21.739 3.179 6.208 7.552 11.648 12.885 16.32 5.397 4.693 13.525 9.557 24.32 14.635 11.541 5.504 19.115 9.451 22.869 11.989 3.776 2.496 6.656 5.077 8.576 7.787 1.899 2.688 2.923 5.781 2.923 9.259 0 6.208-2.261 10.859-6.635 14.016-4.395 3.115-10.709 4.715-18.923 4.715-6.848 0-14.421-1.088-22.677-3.243-8.256-2.197-18.347-5.952-30.272-11.243v34.752c14.528 7.104 31.232 10.645 50.091 10.645 20.437 0 36.395-4.587 47.893-13.76 11.456-9.195 17.216-21.739 17.216-37.717 0-11.52-3.051-21.248-9.173-29.184s-17.472-15.893-34.005-23.787z" - ], - "attrs": [ - { - "visibility": false - } - ], - "isMulticolor": false, - "tags": [ - "dns" - ], - "grid": 16 - }, - "attrs": [ - { - "visibility": false - } - ], - "properties": { - "order": 1, - "id": 5, - "prevSize": 48, - "code": 58885, - "name": "dns" - }, - "setIdx": 1, - "iconIdx": 0 - }, - { - "icon": { - "paths": [ - "M617.588 580.659c-4.092 0-7.371 3.298-7.371 7.371 0 4.092 3.277 7.39 7.371 7.39 4.073 0 7.371-3.298 7.371-7.39 0-4.073-3.298-7.371-7.371-7.371zM602.846 715.842c4.073 0 7.39-3.317 7.39-7.371 0-4.073-3.317-7.39-7.39-7.39-4.054 0-7.371 3.317-7.371 7.39 0 4.054 3.317 7.371 7.371 7.371zM706.030 556.104c4.092 0 7.39-3.298 7.39-7.39 0-4.073-3.298-7.39-7.39-7.39-4.054 0-7.35 3.317-7.35 7.39 0 4.092 3.298 7.39 7.35 7.39zM647.067 580.659c-4.034 0-7.371 3.298-7.371 7.371 0 4.092 3.335 7.39 7.371 7.39 4.073 0 7.371-3.298 7.371-7.39 0-4.073-3.298-7.371-7.371-7.371zM720.809 575.752c4.054 0 7.35-3.298 7.35-7.371s-3.298-7.371-7.35-7.371c-4.073 0-7.39 3.298-7.39 7.371s3.317 7.371 7.39 7.371zM892.282 589.95c10.415 0 18.871-8.437 18.871-18.852s-8.455-18.871-18.871-18.871c-10.397 0-18.852 8.455-18.852 18.871s8.455 18.852 18.852 18.852zM706.030 580.659c-4.054 0-7.35 3.298-7.35 7.371 0 4.092 3.298 7.39 7.35 7.39 4.092 0 7.39-3.298 7.39-7.39 0-4.073-3.298-7.371-7.39-7.371zM617.588 696.157c4.073 0 7.371-3.298 7.371-7.371 0-4.054-3.298-7.332-7.371-7.332-4.092 0-7.371 3.277-7.371 7.332 0 4.073 3.277 7.371 7.371 7.371zM676.549 580.659c-4.054 0-7.35 3.298-7.35 7.371 0 4.092 3.298 7.39 7.35 7.39 4.073 0 7.371-3.298 7.371-7.39 0-4.073-3.298-7.371-7.371-7.371zM691.288 715.842c4.092 0 7.39-3.317 7.39-7.371 0-4.073-3.298-7.39-7.39-7.39s-7.371 3.317-7.371 7.39c0 4.054 3.277 7.371 7.371 7.371zM706.030 720.751c-4.054 0-7.35 3.277-7.35 7.35 0 4.092 3.298 7.39 7.35 7.39 4.092 0 7.39-3.298 7.39-7.39 0-4.073-3.298-7.35-7.39-7.35zM676.549 720.751c-4.054 0-7.35 3.277-7.35 7.35 0 4.092 3.298 7.39 7.35 7.39 4.073 0 7.371-3.298 7.371-7.39 0-4.073-3.298-7.35-7.371-7.35zM647.067 720.751c-4.034 0-7.371 3.277-7.371 7.35 0 4.092 3.335 7.39 7.371 7.39 4.073 0 7.371-3.298 7.371-7.39 0-4.073-3.298-7.35-7.371-7.35zM892.282 730.040c10.415 0 18.871-8.495 18.871-18.871 0-10.434-8.455-18.892-18.871-18.892-10.397 0-18.852 8.455-18.852 18.892 0.018 10.397 8.455 18.871 18.852 18.871zM632.327 715.842c4.092 0 7.371-3.317 7.371-7.371 0-4.073-3.277-7.39-7.371-7.39s-7.371 3.317-7.371 7.39c0 4.054 3.277 7.371 7.371 7.371zM617.588 720.751c-4.092 0-7.371 3.277-7.371 7.35 0 4.092 3.277 7.39 7.371 7.39 4.073 0 7.371-3.298 7.371-7.39 0-4.073-3.298-7.35-7.371-7.35zM676.549 696.157c4.073 0 7.371-3.298 7.371-7.371 0-4.054-3.298-7.332-7.371-7.332-4.054 0-7.35 3.277-7.35 7.332 0 4.073 3.298 7.371 7.35 7.371zM647.067 696.157c4.073 0 7.371-3.298 7.371-7.371 0-4.054-3.298-7.332-7.371-7.332-4.034 0-7.371 3.277-7.371 7.332 0 4.073 3.335 7.371 7.371 7.371zM180.731 246.19h535.075l-97.131 83.769h105.316l40.904-34.678v34.678h63.811v-132.838c0-8.146-6.615-14.721-14.721-14.721h-731.431c-8.127 0-14.702 6.575-14.702 14.721v520.335c0 8.146 6.575 14.74 14.721 14.74h438.796v-63.83h-340.637l137.318-215.112 103.24 87.493h53.996l46.083-39.061v-87.783l-73.082 63.034-267.556-230.745zM131.66 619.275v-323.977l177.913 150.759-177.913 173.218zM706.030 696.157c4.092 0 7.39-3.298 7.39-7.371 0-4.054-3.298-7.332-7.39-7.332-4.054 0-7.35 3.277-7.35 7.332 0 4.073 3.298 7.371 7.35 7.371zM661.828 715.842c4.054 0 7.39-3.317 7.39-7.371 0-4.073-3.335-7.39-7.39-7.39-4.073 0-7.39 3.317-7.39 7.39 0 4.054 3.317 7.371 7.39 7.371zM647.067 440.588c-4.034 0-7.371 3.298-7.371 7.371 0 4.054 3.335 7.371 7.371 7.371 4.073 0 7.371-3.298 7.371-7.371s-3.298-7.371-7.371-7.371zM661.828 420.939c-4.073 0-7.39 3.298-7.39 7.371s3.317 7.35 7.39 7.35c4.054 0 7.39-3.298 7.39-7.35s-3.335-7.371-7.39-7.371zM617.588 440.588c-4.092 0-7.371 3.298-7.371 7.371 0 4.054 3.277 7.371 7.371 7.371 4.073 0 7.371-3.298 7.371-7.371s-3.298-7.371-7.371-7.371zM632.327 420.939c-4.092 0-7.371 3.298-7.371 7.371s3.277 7.35 7.371 7.35 7.371-3.298 7.371-7.35-3.277-7.371-7.371-7.371zM676.549 440.588c-4.054 0-7.35 3.298-7.35 7.371 0 4.054 3.298 7.371 7.35 7.371 4.073 0 7.371-3.298 7.371-7.371s-3.298-7.371-7.371-7.371zM706.030 440.588c-4.054 0-7.35 3.298-7.35 7.371 0 4.054 3.298 7.371 7.35 7.371 4.092 0 7.39-3.298 7.39-7.371s-3.298-7.371-7.39-7.371zM691.288 420.939c-4.092 0-7.371 3.298-7.371 7.371s3.277 7.35 7.371 7.35 7.39-3.298 7.39-7.35-3.298-7.371-7.39-7.371zM932.7 487.581c14.895 0 26.94-12.063 26.94-26.94v-64.663c0-14.877-12.044-26.94-26.94-26.94h-344.789c-14.877 0-26.958 12.063-26.958 26.94v64.663c0 14.877 12.084 26.94 26.958 26.94h10.881v21.547h-10.881c-14.877 0-26.958 12.063-26.958 26.94v64.644c0 14.877 12.084 26.94 26.958 26.94h10.881v21.548h-10.881c-14.877 0-26.958 12.063-26.958 26.94v64.644c0 14.895 12.084 26.958 26.958 26.958h10.881v21.529h323.144v-21.529h10.783c14.896 0 26.94-12.063 26.94-26.958v-64.644c0-14.877-12.044-26.94-26.94-26.94h-10.783v-21.548h10.783c14.896 0 26.94-12.063 26.94-26.94v-64.644c0-14.877-12.044-26.94-26.94-26.94h-10.783v-21.547h10.765zM927.31 665.358c8.942 0 16.175 7.254 16.175 16.175v53.862c0 8.942-7.234 16.175-16.175 16.175h-334.043c-8.903 0-16.157-7.234-16.157-16.175v-53.862c0-8.921 7.254-16.175 16.157-16.175h334.043zM927.31 525.306c8.942 0 16.175 7.234 16.175 16.157v53.88c0 8.903-7.234 16.175-16.175 16.175h-334.043c-8.903 0-16.157-7.273-16.157-16.175v-53.88c0-8.921 7.254-16.157 16.157-16.157h334.043zM593.267 471.426c-8.903 0-16.157-7.234-16.157-16.157v-53.862c0-8.921 7.254-16.157 16.157-16.157h334.043c8.942 0 16.175 7.234 16.175 16.157v53.862c0 8.942-7.234 16.157-16.175 16.157h-334.043zM892.282 412.154c-10.397 0-18.852 8.455-18.852 18.852 0 10.415 8.455 18.871 18.852 18.871 10.415 0 18.871-8.455 18.871-18.871 0-10.397-8.437-18.852-18.871-18.852zM602.846 420.939c-4.054 0-7.371 3.298-7.371 7.371s3.317 7.35 7.371 7.35c4.073 0 7.39-3.298 7.39-7.35s-3.317-7.371-7.39-7.371zM720.809 420.939c-4.073 0-7.39 3.298-7.39 7.371s3.317 7.35 7.39 7.35c4.054 0 7.35-3.298 7.35-7.35s-3.298-7.371-7.35-7.371zM706.030 416.034c4.092 0 7.39-3.298 7.39-7.371s-3.298-7.35-7.39-7.35c-4.054 0-7.35 3.277-7.35 7.35s3.298 7.371 7.35 7.371zM617.588 416.034c4.073 0 7.371-3.298 7.371-7.371s-3.298-7.35-7.371-7.35c-4.092 0-7.371 3.277-7.371 7.35s3.277 7.371 7.371 7.371zM632.327 575.752c4.092 0 7.371-3.298 7.371-7.371s-3.277-7.371-7.371-7.371-7.371 3.298-7.371 7.371 3.277 7.371 7.371 7.371zM661.828 575.752c4.054 0 7.39-3.298 7.39-7.371s-3.335-7.371-7.39-7.371c-4.073 0-7.39 3.298-7.39 7.371s3.317 7.371 7.39 7.371zM617.588 556.104c4.073 0 7.371-3.298 7.371-7.39 0-4.073-3.298-7.39-7.371-7.39-4.092 0-7.371 3.317-7.371 7.39 0 4.092 3.277 7.39 7.371 7.39zM676.549 556.104c4.073 0 7.371-3.298 7.371-7.39 0-4.073-3.298-7.39-7.371-7.39-4.054 0-7.35 3.317-7.35 7.39 0 4.092 3.298 7.39 7.35 7.39zM647.067 556.104c4.073 0 7.371-3.298 7.371-7.39 0-4.073-3.298-7.39-7.371-7.39-4.034 0-7.371 3.317-7.371 7.39 0 4.092 3.335 7.39 7.371 7.39zM647.067 416.034c4.073 0 7.371-3.298 7.371-7.371s-3.298-7.35-7.371-7.35c-4.034 0-7.371 3.277-7.371 7.35s3.335 7.371 7.371 7.371zM676.549 416.034c4.073 0 7.371-3.298 7.371-7.371s-3.298-7.35-7.371-7.35c-4.054 0-7.35 3.277-7.35 7.35s3.298 7.371 7.35 7.371zM691.288 575.752c4.092 0 7.39-3.298 7.39-7.371s-3.298-7.371-7.39-7.371-7.371 3.298-7.371 7.371 3.277 7.371 7.371 7.371zM602.846 575.752c4.073 0 7.39-3.298 7.39-7.371s-3.317-7.371-7.39-7.371c-4.054 0-7.371 3.298-7.371 7.371s3.317 7.371 7.371 7.371zM720.809 715.842c4.054 0 7.35-3.317 7.35-7.371 0-4.073-3.298-7.39-7.35-7.39-4.073 0-7.39 3.317-7.39 7.39 0 4.054 3.317 7.371 7.39 7.371z" - ], - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "isMulticolor": false, - "tags": [ - "smtp" - ], - "grid": 16 - }, - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "properties": { - "order": 2, - "id": 4, - "prevSize": 48, - "code": 58884, - "name": "smtp", - "ligatures": "" - }, - "setIdx": 1, - "iconIdx": 1 - }, - { - "icon": { - "paths": [ - "M877.532 188.256h-731.042c-18.58 0-33.686 15.066-33.686 33.666v461.652c0 18.558 15.066 33.666 33.686 33.666h260.028v58.362h-81.386c-34.286 0-62.104 25.834-62.104 60.14h499.72c0-34.306-27.818-60.14-62.082-60.14h-75.288v-58.362h252.112c18.558 0 33.666-15.066 33.666-33.666v-461.652c0.020-18.62-15.024-33.666-33.624-33.666zM853.744 579.188c0 18.558-15.066 33.686-33.666 33.686h-617.19c-18.58 0-33.666-15.066-33.666-33.686v-299.522c0-18.6 15.066-33.666 33.666-33.666h617.19c18.6 0 33.666 15.066 33.666 33.666v299.522zM460.768 308.992c0 0-21.1-17.298-32.446-0.166v237.956c0 0 7.42 17.442 32.074 1.612l179.78-101.018c0 0 18.58-12.172 0.972-31.082l-180.378-107.302z" - ], - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "isMulticolor": false, - "tags": [ - "streaming" - ], - "grid": 16 - }, - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "properties": { - "order": 6, - "id": 3, - "prevSize": 48, - "code": 58880, - "name": "streaming", - "ligatures": "" - }, - "setIdx": 1, - "iconIdx": 2 - }, - { - "icon": { - "paths": [ - "M627.569 210.922c-17.463 0-31.623 14.159-31.623 31.623s14.159 31.645 31.623 31.645 31.667-14.182 31.667-31.645-14.204-31.623-31.667-31.623zM339.968 225.632c-6.826 0-12.376 5.549-12.376 12.376 0 6.849 5.528 12.376 12.376 12.376s12.376-5.528 12.376-12.376c-0.022-6.826-5.549-12.376-12.376-12.376zM315.238 258.598c-6.826 0-12.376 5.528-12.376 12.376 0 6.826 5.528 12.376 12.376 12.376s12.354-5.549 12.354-12.376c0-6.849-5.528-12.376-12.354-12.376zM126.139 780.134c-14.975 0-27.108-12.178-27.108-27.108v-90.355c0-15.041 12.134-27.108 27.108-27.108h338.691c2.995-32.218 11.979-62.585 25.567-90.355h-364.258c-14.975 0-27.108-12.156-27.108-27.108v-90.355c0-14.975 12.134-27.086 27.108-27.086h560.183c0.727 0 1.366 0.375 2.114 0.441 12.178-1.739 24.422-2.929 37.084-2.929 3.435 0 6.76 0.375 10.152 0.507-7.399-14.843-22.572-25.149-40.299-25.149h-18.014v-36.137h18.014c24.994 0 45.21-20.237 45.21-45.188v-108.412c0-24.951-20.216-45.166-45.21-45.166h-578.263c-24.951 0-45.166 20.216-45.166 45.166v108.434c0 24.951 20.216 45.188 45.166 45.188h18.255v36.137h-18.255c-24.951 0-45.166 20.237-45.166 45.188v108.39c0 24.994 20.216 45.21 45.166 45.21h18.255v36.137h-18.255c-24.951 0-45.166 20.216-45.166 45.166v108.434c0 24.994 20.216 45.21 45.166 45.21h18.255v36.159h403.258c-18.234-18.586-33.605-39.903-45.672-63.224l-366.812-0.088zM126.139 310.283c-14.975 0-27.108-12.134-27.108-27.086v-90.376c0-14.975 12.134-27.086 27.108-27.086h560.183c14.975 0 27.086 12.134 27.086 27.086v90.376c0 14.975-12.134 27.086-27.086 27.086h-560.183zM191.609 485.288c6.826 0 12.376-5.549 12.376-12.376 0-6.849-5.528-12.376-12.376-12.376s-12.376 5.528-12.376 12.376c0.022 6.826 5.549 12.376 12.376 12.376zM166.901 427.591c-6.826 0-12.376 5.528-12.376 12.376 0 6.826 5.528 12.376 12.376 12.376s12.354-5.549 12.354-12.376c0-6.849-5.528-12.376-12.354-12.376zM290.507 225.632c-6.826 0-12.354 5.549-12.354 12.376 0 6.849 5.528 12.376 12.354 12.376s12.376-5.528 12.376-12.376c0-6.826-5.549-12.376-12.376-12.376zM142.171 460.557c-6.826 0-12.376 5.528-12.376 12.376 0 6.826 5.528 12.376 12.376 12.376s12.354-5.549 12.354-12.376c0-6.849-5.528-12.376-12.354-12.376zM166.901 518.232c6.826 0 12.354-5.528 12.354-12.376 0-6.826-5.528-12.354-12.354-12.354s-12.376 5.528-12.376 12.354c0 6.849 5.549 12.376 12.376 12.376zM241.069 225.632c-6.826 0-12.376 5.549-12.376 12.376 0 6.849 5.528 12.376 12.376 12.376s12.354-5.528 12.354-12.376c0-6.826-5.528-12.376-12.354-12.376zM166.901 217.397c6.826 0 12.354-5.528 12.354-12.376 0-6.826-5.528-12.376-12.354-12.376s-12.376 5.549-12.376 12.376c0 6.849 5.549 12.376 12.376 12.376zM216.34 217.397c6.826 0 12.376-5.528 12.376-12.376 0-6.826-5.528-12.376-12.376-12.376s-12.354 5.571-12.354 12.376c0 6.849 5.528 12.376 12.354 12.376zM142.171 225.632c-6.826 0-12.376 5.549-12.376 12.376 0 6.849 5.528 12.376 12.376 12.376s12.354-5.528 12.354-12.376c0-6.826-5.528-12.376-12.354-12.376zM265.799 217.397c6.826 0 12.376-5.528 12.376-12.376 0-6.826-5.528-12.376-12.376-12.376s-12.376 5.549-12.376 12.376c0 6.849 5.549 12.376 12.376 12.376zM315.238 217.397c6.826 0 12.354-5.528 12.354-12.376 0-6.826-5.528-12.376-12.354-12.376s-12.376 5.549-12.376 12.376c0.022 6.849 5.549 12.376 12.376 12.376zM166.901 258.598c-6.826 0-12.376 5.528-12.376 12.376 0 6.826 5.528 12.376 12.376 12.376s12.354-5.549 12.354-12.376c0-6.849-5.528-12.376-12.354-12.376zM216.34 258.598c-6.826 0-12.354 5.528-12.354 12.376 0 6.826 5.528 12.376 12.354 12.376s12.376-5.549 12.376-12.376c0-6.849-5.549-12.376-12.376-12.376zM216.34 518.232c6.826 0 12.376-5.528 12.376-12.376 0-6.826-5.528-12.354-12.376-12.354s-12.354 5.549-12.354 12.354c0 6.849 5.528 12.376 12.354 12.376zM265.799 258.598c-6.826 0-12.376 5.528-12.376 12.376 0 6.826 5.528 12.376 12.376 12.376s12.376-5.549 12.376-12.376c-0.022-6.849-5.549-12.376-12.376-12.376zM191.609 225.632c-6.826 0-12.376 5.549-12.376 12.376 0 6.849 5.528 12.376 12.376 12.376s12.376-5.528 12.376-12.376c0-6.826-5.549-12.376-12.376-12.376zM315.238 518.232c6.826 0 12.354-5.528 12.354-12.376 0-6.826-5.528-12.354-12.354-12.354s-12.376 5.528-12.376 12.354c0.022 6.849 5.549 12.376 12.376 12.376zM265.799 753.091c6.826 0 12.376-5.505 12.376-12.354s-5.528-12.376-12.376-12.376-12.376 5.549-12.376 12.376 5.549 12.354 12.376 12.354zM216.34 427.591c-6.826 0-12.354 5.528-12.354 12.376 0 6.826 5.528 12.376 12.354 12.376s12.376-5.549 12.376-12.376c0-6.849-5.549-12.376-12.376-12.376zM216.34 662.451c-6.826 0-12.354 5.549-12.354 12.376 0 6.849 5.528 12.376 12.354 12.376s12.376-5.505 12.376-12.376c0-6.849-5.549-12.376-12.376-12.376zM216.34 753.091c6.826 0 12.376-5.505 12.376-12.354s-5.528-12.376-12.376-12.376-12.354 5.549-12.354 12.398 5.528 12.332 12.354 12.332zM265.799 662.451c-6.826 0-12.376 5.549-12.376 12.376 0 6.849 5.528 12.376 12.376 12.376s12.376-5.505 12.376-12.376c0-6.849-5.549-12.376-12.376-12.376zM315.238 753.091c6.826 0 12.354-5.505 12.354-12.354s-5.528-12.376-12.354-12.376c-6.826 0-12.376 5.549-12.376 12.376s5.549 12.354 12.376 12.354zM290.507 720.148c6.826 0 12.376-5.549 12.376-12.376 0-6.805-5.528-12.354-12.376-12.354-6.826 0-12.354 5.549-12.354 12.354 0 6.826 5.549 12.376 12.354 12.376zM339.968 720.148c6.826 0 12.376-5.549 12.376-12.376 0-6.805-5.528-12.354-12.376-12.354s-12.376 5.549-12.376 12.354c0 6.826 5.549 12.376 12.376 12.376zM315.238 662.451c-6.826 0-12.376 5.549-12.376 12.376 0 6.849 5.528 12.376 12.376 12.376s12.354-5.505 12.354-12.376c0-6.849-5.528-12.376-12.354-12.376zM191.609 720.148c6.826 0 12.376-5.549 12.376-12.376 0-6.805-5.528-12.354-12.376-12.354s-12.376 5.549-12.376 12.354c0.022 6.826 5.549 12.376 12.376 12.376zM241.069 720.148c6.826 0 12.354-5.549 12.354-12.376 0-6.805-5.528-12.354-12.354-12.354s-12.376 5.549-12.376 12.354c0.022 6.826 5.549 12.376 12.376 12.376zM315.238 427.591c-6.826 0-12.376 5.528-12.376 12.376 0 6.826 5.528 12.376 12.376 12.376s12.354-5.549 12.354-12.376c0-6.849-5.528-12.376-12.354-12.376zM265.799 427.591c-6.826 0-12.376 5.528-12.376 12.376 0 6.826 5.528 12.376 12.376 12.376s12.376-5.549 12.376-12.376c-0.022-6.849-5.549-12.376-12.376-12.376zM290.507 485.288c6.826 0 12.376-5.549 12.376-12.376 0-6.849-5.528-12.376-12.376-12.376-6.826 0-12.354 5.528-12.354 12.376 0 6.826 5.549 12.376 12.354 12.376zM241.069 485.288c6.826 0 12.354-5.549 12.354-12.376 0-6.849-5.528-12.376-12.354-12.376s-12.376 5.528-12.376 12.376c0.022 6.826 5.549 12.376 12.376 12.376zM166.901 662.451c-6.826 0-12.376 5.549-12.376 12.376 0 6.849 5.528 12.376 12.376 12.376s12.354-5.505 12.354-12.376c0-6.849-5.528-12.376-12.354-12.376zM265.799 518.232c6.826 0 12.376-5.528 12.376-12.376 0-6.826-5.528-12.354-12.376-12.354s-12.376 5.528-12.376 12.354c0 6.849 5.549 12.376 12.376 12.376zM142.171 695.439c-6.826 0-12.376 5.549-12.376 12.354 0 6.871 5.528 12.376 12.376 12.376s12.354-5.549 12.354-12.376c0-6.805-5.528-12.354-12.354-12.354zM166.901 753.091c6.826 0 12.354-5.505 12.354-12.354s-5.528-12.376-12.354-12.376-12.376 5.549-12.376 12.376 5.549 12.354 12.376 12.354zM339.968 485.288c6.826 0 12.376-5.549 12.376-12.376 0-6.849-5.528-12.376-12.376-12.376s-12.376 5.528-12.376 12.376c0 6.826 5.549 12.376 12.376 12.376zM725.806 432.987c-124.906 0-226.183 101.233-226.183 226.161 0 124.972 101.277 226.227 226.183 226.227 124.95 0 226.227-101.321 226.227-226.227s-101.277-226.161-226.227-226.161zM587.226 520.544c15.834-15.877 33.979-28.716 54.019-38.296-14.579 19.379-26.668 43.669-35.477 71.35h-45.21c7.619-11.87 16.516-22.946 26.668-33.054zM544.812 583.746h53.028c-4.052 19.048-6.628 39.308-7.444 60.339h-60.008c1.541-20.855 6.43-41.070 14.424-60.339zM530.388 674.21h60.008c0.814 20.987 3.391 41.246 7.444 60.295h-53.028c-7.994-19.225-12.838-39.441-14.424-60.295zM587.226 797.795c-10.152-10.108-19.048-21.185-26.668-33.098h45.21c8.808 27.769 20.898 51.993 35.477 71.394-20.039-9.624-38.185-22.484-54.019-38.296zM710.744 853.003c-6.849-1.982-13.72-5.33-20.392-10.063-12.508-8.853-24.51-22.484-34.662-39.353-7.003-11.693-13.081-24.686-18.146-38.912h73.199v88.328zM710.744 734.55h-82.030c-4.558-19.313-7.267-39.485-8.17-60.295h90.2v60.295zM710.744 644.085h-90.178c0.903-20.81 3.612-41.026 8.17-60.339h82.030v60.339zM710.744 553.599h-73.199c5.065-14.226 11.143-27.153 18.146-38.868 10.152-16.913 22.153-30.5 34.662-39.33 6.673-4.712 13.499-8.060 20.392-10.086v88.284zM921.336 644.085h-60.053c-0.859-21.030-3.391-41.29-7.444-60.339h53.028c8.060 19.269 12.927 39.485 14.468 60.339zM864.476 520.544c10.108 10.086 19.005 21.162 26.624 33.032h-45.21c-8.765-27.681-20.898-51.971-35.477-71.35 20.039 9.624 38.185 22.462 54.062 38.317zM740.914 465.337c6.871 2.004 13.675 5.33 20.392 10.063 12.508 8.831 24.51 22.44 34.662 39.308 7.003 11.715 13.081 24.708 18.146 38.89l-73.199-0.022v-88.241zM740.914 583.746h82.074c4.514 19.313 7.223 39.528 8.126 60.339h-90.2v-60.339zM740.914 674.21h90.2c-0.903 20.81-3.612 40.982-8.126 60.295h-82.074v-60.295zM761.283 842.939c-6.717 4.691-13.499 8.038-20.392 10.063v-88.35h73.199c-5.065 14.226-11.143 27.174-18.146 38.934-10.13 16.934-22.132 30.522-34.662 39.353zM864.476 797.795c-15.877 15.877-34.023 28.738-54.062 38.296 14.579-19.401 26.712-43.624 35.477-71.394h45.21c-7.619 11.913-16.516 22.99-26.624 33.098zM906.846 734.55h-52.984c4.052-19.048 6.585-39.308 7.399-60.295h60.119c-1.63 20.81-6.496 41.026-14.534 60.295z" - ], - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "isMulticolor": false, - "tags": [ - "hospedagem" - ], - "grid": 16 - }, - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "properties": { - "order": 5, - "id": 2, - "prevSize": 48, - "code": 58881, - "name": "hospedagem", - "ligatures": "" - }, - "setIdx": 1, - "iconIdx": 3 - }, - { - "icon": { - "paths": [ - "M997.099 351.147v-190.997h-191.040l62.315 62.293-356.373 309.653-273.963-236.224h496.085l75.2-65.344h-671.829c-8.32 0-15.061 6.741-15.061 15.083v532.8c0 8.363 6.741 15.083 15.061 15.083h748.971c8.384 0 15.083-6.72 15.083-15.083v-426.816l-65.323 51.435v274.795l-178.304-173.547 275.456-216.853 63.723 63.723zM187.797 346.133l182.165 154.368-182.165 177.323v-331.691zM785.984 728.128h-547.947l140.608-220.267 105.685 89.557h55.317l108.416-85.355 137.92 216.064z" - ], - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "isMulticolor": false, - "tags": [ - "emkt" - ], - "grid": 16 - }, - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "properties": { - "order": 4, - "id": 1, - "prevSize": 48, - "code": 58882, - "name": "emkt", - "ligatures": "" - }, - "setIdx": 1, - "iconIdx": 4 - }, - { - "icon": { - "paths": [ - "M525.081 783.459c4.471 0 8.082-3.612 8.082-8.082s-3.612-8.082-8.082-8.082c-4.448 0-8.060 3.612-8.060 8.082s3.612 8.082 8.060 8.082zM638.117 608.476c4.471 0 8.082-3.612 8.082-8.060s-3.612-8.060-8.082-8.060c-4.448 0-8.060 3.612-8.060 8.060s3.589 8.060 8.060 8.060zM541.222 761.922c4.448 0 8.060-3.612 8.060-8.082 0-4.448-3.612-8.060-8.060-8.060s-8.060 3.612-8.060 8.060c0 4.471 3.612 8.082 8.060 8.082zM638.117 635.409c-4.448 0-8.060 3.612-8.060 8.060 0 4.471 3.612 8.082 8.060 8.082 4.471 0 8.082-3.612 8.082-8.082 0-4.448-3.612-8.060-8.082-8.060zM654.281 630.013c4.426 0 8.038-3.612 8.038-8.082 0-4.448-3.612-8.060-8.038-8.060-4.471 0-8.082 3.612-8.082 8.060 0 4.471 3.612 8.082 8.082 8.082zM605.812 635.409c-4.426 0-8.060 3.612-8.060 8.060 0 4.471 3.634 8.082 8.060 8.082 4.471 0 8.082-3.612 8.082-8.082 0-4.448-3.612-8.060-8.082-8.060zM573.528 635.409c-4.448 0-8.060 3.612-8.060 8.060 0 4.471 3.612 8.082 8.060 8.082s8.060-3.612 8.060-8.082c0-4.448-3.612-8.060-8.060-8.060zM541.222 635.409c-4.448 0-8.060 3.612-8.060 8.060 0 4.471 3.612 8.082 8.060 8.082s8.060-3.612 8.060-8.082c0-4.448-3.612-8.060-8.060-8.060zM842.124 645.538c11.407 0 20.657-9.249 20.657-20.657s-9.249-20.657-20.657-20.657c-11.429 0-20.657 9.249-20.657 20.657s9.249 20.657 20.657 20.657zM557.386 783.459c4.471 0 8.082-3.612 8.082-8.082s-3.612-8.082-8.082-8.082-8.082 3.612-8.082 8.082 3.589 8.082 8.082 8.082zM573.528 788.832c-4.448 0-8.060 3.612-8.060 8.082 0 4.448 3.612 8.060 8.060 8.060s8.060-3.612 8.060-8.060c0-4.471-3.612-8.082-8.060-8.082zM573.528 761.922c4.448 0 8.060-3.612 8.060-8.082 0-4.448-3.612-8.060-8.060-8.060s-8.060 3.612-8.060 8.060c0 4.471 3.612 8.082 8.060 8.082zM638.117 788.832c-4.448 0-8.060 3.612-8.060 8.082 0 4.448 3.612 8.060 8.060 8.060 4.471 0 8.082-3.612 8.082-8.060 0-4.471-3.612-8.082-8.082-8.082zM188.438 733.779c-2.621 0.177-5.109 0.771-7.774 0.771-61.263 0-110.922-49.681-110.922-110.922 0-61.263 49.659-110.944 110.922-110.944 4.228 0 8.258 0.793 12.376 1.255h43.537c-6.232-13.301-10.042-27.791-10.042-42.524 0-49.372 40.013-89.407 89.407-89.407 27.065 0 51.002 12.266 67.407 31.249 15.922-93.635 97.203-165.007 195.419-165.007 86.104 0 159.194 54.944 186.677 131.601h73.287c-30.038-113.763-133.363-197.753-256.55-197.753-102.51 0-191.323 58.181-235.586 143.206-16.648-8.17-35.3-12.883-55.098-12.883-69.214 0-125.28 56.089-125.28 125.28 0 5.351 0.441 10.57 1.101 15.745-90.355 7.113-161.483 82.536-161.483 174.719 0 91.785 70.557 167.011 160.383 174.675v0.748h279.717v-69.412h-257.498v-0.396zM541.222 788.832c-4.448 0-8.060 3.612-8.060 8.082 0 4.448 3.612 8.060 8.060 8.060s8.060-3.612 8.060-8.060c0-4.471-3.612-8.082-8.060-8.082zM605.812 788.832c-4.426 0-8.060 3.612-8.060 8.082 0 4.448 3.634 8.060 8.060 8.060 4.471 0 8.082-3.612 8.082-8.060 0-4.471-3.612-8.082-8.082-8.082zM589.67 783.459c4.448 0 8.060-3.612 8.060-8.082s-3.612-8.082-8.060-8.082c-4.471 0-8.082 3.612-8.082 8.082s3.612 8.082 8.082 8.082zM605.812 761.922c4.471 0 8.082-3.612 8.082-8.082 0-4.448-3.612-8.060-8.082-8.060-4.426 0-8.060 3.612-8.060 8.060 0 4.471 3.634 8.082 8.060 8.082zM638.117 761.922c4.471 0 8.082-3.612 8.082-8.082 0-4.448-3.612-8.060-8.082-8.060-4.448 0-8.060 3.612-8.060 8.060-0.022 4.471 3.589 8.082 8.060 8.082zM842.124 799.006c11.407 0 20.657-9.249 20.657-20.657s-9.249-20.657-20.657-20.657c-11.429 0-20.657 9.249-20.657 20.657s9.249 20.657 20.657 20.657zM621.976 783.459c4.448 0 8.060-3.612 8.060-8.082s-3.612-8.082-8.060-8.082c-4.471 0-8.082 3.612-8.082 8.082s3.612 8.082 8.082 8.082zM621.976 460.448c-4.471 0-8.082 3.612-8.082 8.060s3.612 8.082 8.082 8.082c4.448 0 8.060-3.634 8.060-8.082s-3.612-8.060-8.060-8.060zM573.528 481.962c-4.448 0-8.060 3.612-8.060 8.082 0 4.448 3.612 8.060 8.060 8.060s8.060-3.634 8.060-8.060c0-4.471-3.612-8.082-8.060-8.082zM525.081 460.448c-4.448 0-8.060 3.612-8.060 8.060s3.612 8.082 8.060 8.082c4.471 0 8.082-3.634 8.082-8.082s-3.612-8.060-8.082-8.060zM589.67 460.448c-4.471 0-8.082 3.612-8.082 8.060s3.612 8.082 8.082 8.082c4.448 0 8.060-3.634 8.060-8.082s-3.612-8.060-8.060-8.060zM541.222 481.962c-4.448 0-8.060 3.612-8.060 8.082 0 4.448 3.612 8.060 8.060 8.060s8.060-3.634 8.060-8.060c0-4.471-3.612-8.082-8.060-8.082zM557.386 460.448c-4.471 0-8.082 3.612-8.082 8.060s3.612 8.082 8.082 8.082 8.082-3.634 8.082-8.082-3.612-8.060-8.082-8.060zM605.812 481.962c-4.426 0-8.060 3.612-8.060 8.082 0 4.448 3.634 8.060 8.060 8.060 4.471 0 8.082-3.634 8.082-8.060 0-4.471-3.612-8.082-8.082-8.082zM953.289 492.247v131.292c0.309 3.457 1.035 6.805 1.035 10.328 0 5.065-0.441 10.042-1.035 14.952v115.283c39.551-32.107 64.92-80.995 64.92-135.916 0-54.966-25.369-103.832-64.92-135.939zM886.388 403.61h-377.669c-16.296 0-29.509 13.213-29.509 29.509v70.821c0 16.296 13.213 29.509 29.509 29.509h11.913v23.607h-11.913c-16.296 0-29.509 13.213-29.509 29.486v70.821c0 16.296 13.213 29.509 29.509 29.509h11.913v23.607h-11.913c-16.296 0-29.509 13.213-29.509 29.509v70.843c0 16.274 13.213 29.509 29.509 29.509h11.913v23.585h353.952v-23.585h11.804c16.274 0 29.509-13.235 29.509-29.509v-70.843c0-16.296-13.235-29.509-29.509-29.509h-11.804v-23.629h11.804c16.274 0 29.509-13.213 29.509-29.509v-70.821c0-16.274-13.235-29.486-29.509-29.486h-11.804v-23.607h11.804c16.274 0 29.509-13.213 29.509-29.509v-70.821c0-16.274-13.235-29.486-29.509-29.486zM880.463 728.163c9.778 0 17.727 7.928 17.727 17.705v59.040c0 9.778-7.928 17.727-17.727 17.727h-365.865c-9.756 0-17.705-7.928-17.705-17.727v-59.040c0-9.756 7.928-17.705 17.705-17.705h365.865zM880.463 574.761c9.778 0 17.727 7.906 17.727 17.705v59.017c0 9.756-7.928 17.705-17.727 17.705h-365.865c-9.756 0-17.705-7.928-17.705-17.705v-59.017c0-9.778 7.928-17.705 17.705-17.705h365.865zM898.191 498.039c0 9.778-7.928 17.705-17.727 17.705h-365.865c-9.756 0-17.705-7.928-17.705-17.705v-59.017c0-9.778 7.928-17.684 17.705-17.684h365.865c9.778 0 17.727 7.906 17.727 17.684v59.017zM654.281 460.448c-4.471 0-8.082 3.612-8.082 8.060s3.612 8.082 8.082 8.082c4.426 0 8.038-3.634 8.038-8.082s-3.612-8.060-8.038-8.060zM638.117 481.962c-4.448 0-8.060 3.612-8.060 8.082 0 4.448 3.612 8.060 8.060 8.060 4.471 0 8.082-3.634 8.082-8.060 0-4.471-3.612-8.082-8.082-8.082zM842.124 450.824c-11.429 0-20.657 9.249-20.657 20.657s9.249 20.657 20.657 20.657c11.407 0 20.657-9.249 20.657-20.657s-9.249-20.657-20.657-20.657zM573.528 455.052c4.448 0 8.060-3.612 8.060-8.082s-3.612-8.082-8.060-8.082-8.060 3.612-8.060 8.082 3.612 8.082 8.060 8.082zM541.222 608.476c4.448 0 8.060-3.612 8.060-8.060s-3.612-8.060-8.060-8.060-8.060 3.612-8.060 8.060 3.612 8.060 8.060 8.060zM557.386 630.013c4.471 0 8.082-3.612 8.082-8.082 0-4.448-3.612-8.060-8.082-8.060s-8.082 3.612-8.082 8.060c-0.022 4.471 3.589 8.082 8.082 8.082zM573.528 608.476c4.448 0 8.060-3.612 8.060-8.060s-3.612-8.060-8.060-8.060-8.060 3.612-8.060 8.060 3.612 8.060 8.060 8.060zM589.67 630.013c4.448 0 8.060-3.612 8.060-8.082 0-4.448-3.612-8.060-8.060-8.060-4.471 0-8.082 3.612-8.082 8.060 0 4.471 3.612 8.082 8.082 8.082zM605.812 608.476c4.471 0 8.082-3.612 8.082-8.060s-3.612-8.060-8.082-8.060c-4.426 0-8.060 3.612-8.060 8.060s3.634 8.060 8.060 8.060zM621.976 630.013c4.448 0 8.060-3.612 8.060-8.082 0-4.448-3.612-8.060-8.060-8.060-4.471 0-8.082 3.612-8.082 8.060 0 4.471 3.612 8.082 8.082 8.082zM525.081 630.013c4.471 0 8.082-3.612 8.082-8.082 0-4.448-3.612-8.060-8.082-8.060-4.448 0-8.060 3.612-8.060 8.060 0 4.471 3.612 8.082 8.060 8.082zM541.222 455.052c4.448 0 8.060-3.612 8.060-8.082s-3.612-8.082-8.060-8.082-8.060 3.612-8.060 8.082 3.612 8.082 8.060 8.082zM605.812 455.052c4.471 0 8.082-3.612 8.082-8.082s-3.612-8.082-8.082-8.082c-4.426 0-8.060 3.612-8.060 8.082s3.634 8.082 8.060 8.082zM638.117 455.052c4.471 0 8.082-3.612 8.082-8.082s-3.612-8.082-8.082-8.082c-4.448 0-8.060 3.612-8.060 8.082s3.589 8.082 8.060 8.082zM654.281 783.459c4.426 0 8.038-3.612 8.038-8.082s-3.612-8.082-8.038-8.082c-4.471 0-8.082 3.612-8.082 8.082s3.612 8.082 8.082 8.082z" - ], - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "isMulticolor": false, - "tags": [ - "cloud" - ], - "grid": 16 - }, - "attrs": [ - { - "opacity": 1, - "visibility": false - } - ], - "properties": { - "order": 3, - "id": 0, - "prevSize": 48, - "code": 58883, - "name": "cloud", - "ligatures": "" - }, - "setIdx": 1, - "iconIdx": 5 - } - ], - "height": 1024, - "metadata": { - "name": "icomoon" - }, - "preferences": { - "fontPref": { - "prefix": "icon-", - "metadata": { - "fontFamily": "icomoon" - }, - "showGlyphs": true, - "metrics": { - "emSize": 1024, - "baseline": 6.25, - "whitespace": 50 - }, - "resetPoint": 58880, - "showQuickUse": true, - "quickUsageToken": false, - "showMetrics": true, - "showMetadata": false - }, - "imagePref": { - "color": 0, - "height": 32, - "columns": 16, - "margin": 16, - "png": false, - "sprites": true - }, - "historySize": 100, - "showCodes": true, - "gridSize": 16, - "showLiga": false, - "showGrid": true, - "showGlyphs": true, - "showQuickUse": true, - "showQuickUse2": true, - "showSVGs": true, - "search": "" - } -} \ No newline at end of file diff --git a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.svg b/app/assets/stylesheets/management/fonts/locastyle-panel-icons.svg deleted file mode 100644 index 86534ebacf2677a9a231782fd087d4d4d5d9679a..0000000000000000000000000000000000000000 --- a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> -<metadata>Generated by IcoMoon</metadata> -<defs> -<font id="icomoon" horiz-adv-x="1024"> -<font-face units-per-em="1024" ascent="960" descent="-64" /> -<missing-glyph horiz-adv-x="1024" /> -<glyph unicode=" " d="" horiz-adv-x="512" /> -<glyph unicode="" d="M877.532 771.744h-731.042c-18.58 0-33.686-15.066-33.686-33.666v-461.652c0-18.558 15.066-33.666 33.686-33.666h260.028v-58.362h-81.386c-34.286 0-62.104-25.834-62.104-60.14h499.72c0 34.306-27.818 60.14-62.082 60.14h-75.288v58.362h252.112c18.558 0 33.666 15.066 33.666 33.666v461.652c0.020 18.62-15.024 33.666-33.624 33.666zM853.744 380.812c0-18.558-15.066-33.686-33.666-33.686h-617.19c-18.58 0-33.666 15.066-33.666 33.686v299.522c0 18.6 15.066 33.666 33.666 33.666h617.19c18.6 0 33.666-15.066 33.666-33.666v-299.522zM460.768 651.008c0 0-21.1 17.298-32.446 0.166v-237.956c0 0 7.42-17.442 32.074-1.612l179.78 101.018c0 0 18.58 12.172 0.972 31.082l-180.378 107.302z" /> -<glyph unicode="" d="M627.569 749.078c-17.463 0-31.623-14.159-31.623-31.623s14.159-31.645 31.623-31.645 31.667 14.182 31.667 31.645-14.204 31.623-31.667 31.623zM339.968 734.368c-6.826 0-12.376-5.549-12.376-12.376 0-6.849 5.528-12.376 12.376-12.376s12.376 5.528 12.376 12.376c-0.022 6.826-5.549 12.376-12.376 12.376zM315.238 701.402c-6.826 0-12.376-5.528-12.376-12.376 0-6.826 5.528-12.376 12.376-12.376s12.354 5.549 12.354 12.376c0 6.849-5.528 12.376-12.354 12.376zM126.139 179.866c-14.975 0-27.108 12.178-27.108 27.108v90.355c0 15.041 12.134 27.108 27.108 27.108h338.691c2.995 32.218 11.979 62.585 25.567 90.355h-364.258c-14.975 0-27.108 12.156-27.108 27.108v90.355c0 14.975 12.134 27.086 27.108 27.086h560.183c0.727 0 1.366-0.375 2.114-0.441 12.178 1.739 24.422 2.929 37.084 2.929 3.435 0 6.76-0.375 10.152-0.507-7.399 14.843-22.572 25.149-40.299 25.149h-18.014v36.137h18.014c24.994 0 45.21 20.237 45.21 45.188v108.412c0 24.951-20.216 45.166-45.21 45.166h-578.263c-24.951 0-45.166-20.216-45.166-45.166v-108.434c0-24.951 20.216-45.188 45.166-45.188h18.255v-36.137h-18.255c-24.951 0-45.166-20.237-45.166-45.188v-108.39c0-24.994 20.216-45.21 45.166-45.21h18.255v-36.137h-18.255c-24.951 0-45.166-20.216-45.166-45.166v-108.434c0-24.994 20.216-45.21 45.166-45.21h18.255v-36.159h403.258c-18.234 18.586-33.605 39.903-45.672 63.224l-366.812 0.088zM126.139 649.717c-14.975 0-27.108 12.134-27.108 27.086v90.376c0 14.975 12.134 27.086 27.108 27.086h560.183c14.975 0 27.086-12.134 27.086-27.086v-90.376c0-14.975-12.134-27.086-27.086-27.086h-560.183zM191.609 474.712c6.826 0 12.376 5.549 12.376 12.376 0 6.849-5.528 12.376-12.376 12.376s-12.376-5.528-12.376-12.376c0.022-6.826 5.549-12.376 12.376-12.376zM166.901 532.409c-6.826 0-12.376-5.528-12.376-12.376 0-6.826 5.528-12.376 12.376-12.376s12.354 5.549 12.354 12.376c0 6.849-5.528 12.376-12.354 12.376zM290.507 734.368c-6.826 0-12.354-5.549-12.354-12.376 0-6.849 5.528-12.376 12.354-12.376s12.376 5.528 12.376 12.376c0 6.826-5.549 12.376-12.376 12.376zM142.171 499.443c-6.826 0-12.376-5.528-12.376-12.376 0-6.826 5.528-12.376 12.376-12.376s12.354 5.549 12.354 12.376c0 6.849-5.528 12.376-12.354 12.376zM166.901 441.768c6.826 0 12.354 5.528 12.354 12.376 0 6.826-5.528 12.354-12.354 12.354s-12.376-5.528-12.376-12.354c0-6.849 5.549-12.376 12.376-12.376zM241.069 734.368c-6.826 0-12.376-5.549-12.376-12.376 0-6.849 5.528-12.376 12.376-12.376s12.354 5.528 12.354 12.376c0 6.826-5.528 12.376-12.354 12.376zM166.901 742.603c6.826 0 12.354 5.528 12.354 12.376 0 6.826-5.528 12.376-12.354 12.376s-12.376-5.549-12.376-12.376c0-6.849 5.549-12.376 12.376-12.376zM216.34 742.603c6.826 0 12.376 5.528 12.376 12.376 0 6.826-5.528 12.376-12.376 12.376s-12.354-5.571-12.354-12.376c0-6.849 5.528-12.376 12.354-12.376zM142.171 734.368c-6.826 0-12.376-5.549-12.376-12.376 0-6.849 5.528-12.376 12.376-12.376s12.354 5.528 12.354 12.376c0 6.826-5.528 12.376-12.354 12.376zM265.799 742.603c6.826 0 12.376 5.528 12.376 12.376 0 6.826-5.528 12.376-12.376 12.376s-12.376-5.549-12.376-12.376c0-6.849 5.549-12.376 12.376-12.376zM315.238 742.603c6.826 0 12.354 5.528 12.354 12.376 0 6.826-5.528 12.376-12.354 12.376s-12.376-5.549-12.376-12.376c0.022-6.849 5.549-12.376 12.376-12.376zM166.901 701.402c-6.826 0-12.376-5.528-12.376-12.376 0-6.826 5.528-12.376 12.376-12.376s12.354 5.549 12.354 12.376c0 6.849-5.528 12.376-12.354 12.376zM216.34 701.402c-6.826 0-12.354-5.528-12.354-12.376 0-6.826 5.528-12.376 12.354-12.376s12.376 5.549 12.376 12.376c0 6.849-5.549 12.376-12.376 12.376zM216.34 441.768c6.826 0 12.376 5.528 12.376 12.376 0 6.826-5.528 12.354-12.376 12.354s-12.354-5.549-12.354-12.354c0-6.849 5.528-12.376 12.354-12.376zM265.799 701.402c-6.826 0-12.376-5.528-12.376-12.376 0-6.826 5.528-12.376 12.376-12.376s12.376 5.549 12.376 12.376c-0.022 6.849-5.549 12.376-12.376 12.376zM191.609 734.368c-6.826 0-12.376-5.549-12.376-12.376 0-6.849 5.528-12.376 12.376-12.376s12.376 5.528 12.376 12.376c0 6.826-5.549 12.376-12.376 12.376zM315.238 441.768c6.826 0 12.354 5.528 12.354 12.376 0 6.826-5.528 12.354-12.354 12.354s-12.376-5.528-12.376-12.354c0.022-6.849 5.549-12.376 12.376-12.376zM265.799 206.909c6.826 0 12.376 5.505 12.376 12.354s-5.528 12.376-12.376 12.376-12.376-5.549-12.376-12.376 5.549-12.354 12.376-12.354zM216.34 532.409c-6.826 0-12.354-5.528-12.354-12.376 0-6.826 5.528-12.376 12.354-12.376s12.376 5.549 12.376 12.376c0 6.849-5.549 12.376-12.376 12.376zM216.34 297.549c-6.826 0-12.354-5.549-12.354-12.376 0-6.849 5.528-12.376 12.354-12.376s12.376 5.505 12.376 12.376c0 6.849-5.549 12.376-12.376 12.376zM216.34 206.909c6.826 0 12.376 5.505 12.376 12.354s-5.528 12.376-12.376 12.376-12.354-5.549-12.354-12.398 5.528-12.332 12.354-12.332zM265.799 297.549c-6.826 0-12.376-5.549-12.376-12.376 0-6.849 5.528-12.376 12.376-12.376s12.376 5.505 12.376 12.376c0 6.849-5.549 12.376-12.376 12.376zM315.238 206.909c6.826 0 12.354 5.505 12.354 12.354s-5.528 12.376-12.354 12.376c-6.826 0-12.376-5.549-12.376-12.376s5.549-12.354 12.376-12.354zM290.507 239.852c6.826 0 12.376 5.549 12.376 12.376 0 6.805-5.528 12.354-12.376 12.354-6.826 0-12.354-5.549-12.354-12.354 0-6.826 5.549-12.376 12.354-12.376zM339.968 239.852c6.826 0 12.376 5.549 12.376 12.376 0 6.805-5.528 12.354-12.376 12.354s-12.376-5.549-12.376-12.354c0-6.826 5.549-12.376 12.376-12.376zM315.238 297.549c-6.826 0-12.376-5.549-12.376-12.376 0-6.849 5.528-12.376 12.376-12.376s12.354 5.505 12.354 12.376c0 6.849-5.528 12.376-12.354 12.376zM191.609 239.852c6.826 0 12.376 5.549 12.376 12.376 0 6.805-5.528 12.354-12.376 12.354s-12.376-5.549-12.376-12.354c0.022-6.826 5.549-12.376 12.376-12.376zM241.069 239.852c6.826 0 12.354 5.549 12.354 12.376 0 6.805-5.528 12.354-12.354 12.354s-12.376-5.549-12.376-12.354c0.022-6.826 5.549-12.376 12.376-12.376zM315.238 532.409c-6.826 0-12.376-5.528-12.376-12.376 0-6.826 5.528-12.376 12.376-12.376s12.354 5.549 12.354 12.376c0 6.849-5.528 12.376-12.354 12.376zM265.799 532.409c-6.826 0-12.376-5.528-12.376-12.376 0-6.826 5.528-12.376 12.376-12.376s12.376 5.549 12.376 12.376c-0.022 6.849-5.549 12.376-12.376 12.376zM290.507 474.712c6.826 0 12.376 5.549 12.376 12.376 0 6.849-5.528 12.376-12.376 12.376-6.826 0-12.354-5.528-12.354-12.376 0-6.826 5.549-12.376 12.354-12.376zM241.069 474.712c6.826 0 12.354 5.549 12.354 12.376 0 6.849-5.528 12.376-12.354 12.376s-12.376-5.528-12.376-12.376c0.022-6.826 5.549-12.376 12.376-12.376zM166.901 297.549c-6.826 0-12.376-5.549-12.376-12.376 0-6.849 5.528-12.376 12.376-12.376s12.354 5.505 12.354 12.376c0 6.849-5.528 12.376-12.354 12.376zM265.799 441.768c6.826 0 12.376 5.528 12.376 12.376 0 6.826-5.528 12.354-12.376 12.354s-12.376-5.528-12.376-12.354c0-6.849 5.549-12.376 12.376-12.376zM142.171 264.561c-6.826 0-12.376-5.549-12.376-12.354 0-6.871 5.528-12.376 12.376-12.376s12.354 5.549 12.354 12.376c0 6.805-5.528 12.354-12.354 12.354zM166.901 206.909c6.826 0 12.354 5.505 12.354 12.354s-5.528 12.376-12.354 12.376-12.376-5.549-12.376-12.376 5.549-12.354 12.376-12.354zM339.968 474.712c6.826 0 12.376 5.549 12.376 12.376 0 6.849-5.528 12.376-12.376 12.376s-12.376-5.528-12.376-12.376c0-6.826 5.549-12.376 12.376-12.376zM725.806 527.013c-124.906 0-226.183-101.233-226.183-226.161 0-124.972 101.277-226.227 226.183-226.227 124.95 0 226.227 101.321 226.227 226.227s-101.277 226.161-226.227 226.161zM587.226 439.456c15.834 15.877 33.979 28.716 54.019 38.296-14.579-19.379-26.668-43.669-35.477-71.35h-45.21c7.619 11.87 16.516 22.946 26.668 33.054zM544.812 376.254h53.028c-4.052-19.048-6.628-39.308-7.444-60.339h-60.008c1.541 20.855 6.43 41.070 14.424 60.339zM530.388 285.79h60.008c0.814-20.987 3.391-41.246 7.444-60.295h-53.028c-7.994 19.225-12.838 39.441-14.424 60.295zM587.226 162.205c-10.152 10.108-19.048 21.185-26.668 33.098h45.21c8.808-27.769 20.898-51.993 35.477-71.394-20.039 9.624-38.185 22.484-54.019 38.296zM710.744 106.997c-6.849 1.982-13.72 5.33-20.392 10.063-12.508 8.853-24.51 22.484-34.662 39.353-7.003 11.693-13.081 24.686-18.146 38.912h73.199v-88.328zM710.744 225.45h-82.030c-4.558 19.313-7.267 39.485-8.17 60.295h90.2v-60.295zM710.744 315.915h-90.178c0.903 20.81 3.612 41.026 8.17 60.339h82.030v-60.339zM710.744 406.401h-73.199c5.065 14.226 11.143 27.153 18.146 38.868 10.152 16.913 22.153 30.5 34.662 39.33 6.673 4.712 13.499 8.060 20.392 10.086v-88.284zM921.336 315.915h-60.053c-0.859 21.030-3.391 41.29-7.444 60.339h53.028c8.060-19.269 12.927-39.485 14.468-60.339zM864.476 439.456c10.108-10.086 19.005-21.162 26.624-33.032h-45.21c-8.765 27.681-20.898 51.971-35.477 71.35 20.039-9.624 38.185-22.462 54.062-38.317zM740.914 494.663c6.871-2.004 13.675-5.33 20.392-10.063 12.508-8.831 24.51-22.44 34.662-39.308 7.003-11.715 13.081-24.708 18.146-38.89l-73.199 0.022v88.241zM740.914 376.254h82.074c4.514-19.313 7.223-39.528 8.126-60.339h-90.2v60.339zM740.914 285.79h90.2c-0.903-20.81-3.612-40.982-8.126-60.295h-82.074v60.295zM761.283 117.061c-6.717-4.691-13.499-8.038-20.392-10.063v88.35h73.199c-5.065-14.226-11.143-27.174-18.146-38.934-10.13-16.934-22.132-30.522-34.662-39.353zM864.476 162.205c-15.877-15.877-34.023-28.738-54.062-38.296 14.579 19.401 26.712 43.624 35.477 71.394h45.21c-7.619-11.913-16.516-22.99-26.624-33.098zM906.846 225.45h-52.984c4.052 19.048 6.585 39.308 7.399 60.295h60.119c-1.63-20.81-6.496-41.026-14.534-60.295z" /> -<glyph unicode="" d="M997.099 608.853v190.997h-191.040l62.315-62.293-356.373-309.653-273.963 236.224h496.085l75.2 65.344h-671.829c-8.32 0-15.061-6.741-15.061-15.083v-532.8c0-8.363 6.741-15.083 15.061-15.083h748.971c8.384 0 15.083 6.72 15.083 15.083v426.816l-65.323-51.435v-274.795l-178.304 173.547 275.456 216.853 63.723-63.723zM187.797 613.867l182.165-154.368-182.165-177.323v331.691zM785.984 231.872h-547.947l140.608 220.267 105.685-89.557h55.317l108.416 85.355 137.92-216.064z" /> -<glyph unicode="" d="M525.081 176.541c4.471 0 8.082 3.612 8.082 8.082s-3.612 8.082-8.082 8.082c-4.448 0-8.060-3.612-8.060-8.082s3.612-8.082 8.060-8.082zM638.117 351.524c4.471 0 8.082 3.612 8.082 8.060s-3.612 8.060-8.082 8.060c-4.448 0-8.060-3.612-8.060-8.060s3.589-8.060 8.060-8.060zM541.222 198.078c4.448 0 8.060 3.612 8.060 8.082 0 4.448-3.612 8.060-8.060 8.060s-8.060-3.612-8.060-8.060c0-4.471 3.612-8.082 8.060-8.082zM638.117 324.591c-4.448 0-8.060-3.612-8.060-8.060 0-4.471 3.612-8.082 8.060-8.082 4.471 0 8.082 3.612 8.082 8.082 0 4.448-3.612 8.060-8.082 8.060zM654.281 329.987c4.426 0 8.038 3.612 8.038 8.082 0 4.448-3.612 8.060-8.038 8.060-4.471 0-8.082-3.612-8.082-8.060 0-4.471 3.612-8.082 8.082-8.082zM605.812 324.591c-4.426 0-8.060-3.612-8.060-8.060 0-4.471 3.634-8.082 8.060-8.082 4.471 0 8.082 3.612 8.082 8.082 0 4.448-3.612 8.060-8.082 8.060zM573.528 324.591c-4.448 0-8.060-3.612-8.060-8.060 0-4.471 3.612-8.082 8.060-8.082s8.060 3.612 8.060 8.082c0 4.448-3.612 8.060-8.060 8.060zM541.222 324.591c-4.448 0-8.060-3.612-8.060-8.060 0-4.471 3.612-8.082 8.060-8.082s8.060 3.612 8.060 8.082c0 4.448-3.612 8.060-8.060 8.060zM842.124 314.462c11.407 0 20.657 9.249 20.657 20.657s-9.249 20.657-20.657 20.657c-11.429 0-20.657-9.249-20.657-20.657s9.249-20.657 20.657-20.657zM557.386 176.541c4.471 0 8.082 3.612 8.082 8.082s-3.612 8.082-8.082 8.082-8.082-3.612-8.082-8.082 3.589-8.082 8.082-8.082zM573.528 171.168c-4.448 0-8.060-3.612-8.060-8.082 0-4.448 3.612-8.060 8.060-8.060s8.060 3.612 8.060 8.060c0 4.471-3.612 8.082-8.060 8.082zM573.528 198.078c4.448 0 8.060 3.612 8.060 8.082 0 4.448-3.612 8.060-8.060 8.060s-8.060-3.612-8.060-8.060c0-4.471 3.612-8.082 8.060-8.082zM638.117 171.168c-4.448 0-8.060-3.612-8.060-8.082 0-4.448 3.612-8.060 8.060-8.060 4.471 0 8.082 3.612 8.082 8.060 0 4.471-3.612 8.082-8.082 8.082zM188.438 226.221c-2.621-0.177-5.109-0.771-7.774-0.771-61.263 0-110.922 49.681-110.922 110.922 0 61.263 49.659 110.944 110.922 110.944 4.228 0 8.258-0.793 12.376-1.255h43.537c-6.232 13.301-10.042 27.791-10.042 42.524 0 49.372 40.013 89.407 89.407 89.407 27.065 0 51.002-12.266 67.407-31.249 15.922 93.635 97.203 165.007 195.419 165.007 86.104 0 159.194-54.944 186.677-131.601h73.287c-30.038 113.763-133.363 197.753-256.55 197.753-102.51 0-191.323-58.181-235.586-143.206-16.648 8.17-35.3 12.883-55.098 12.883-69.214 0-125.28-56.089-125.28-125.28 0-5.351 0.441-10.57 1.101-15.745-90.355-7.113-161.483-82.536-161.483-174.719 0-91.785 70.557-167.011 160.383-174.675v-0.748h279.717v69.412h-257.498v0.396zM541.222 171.168c-4.448 0-8.060-3.612-8.060-8.082 0-4.448 3.612-8.060 8.060-8.060s8.060 3.612 8.060 8.060c0 4.471-3.612 8.082-8.060 8.082zM605.812 171.168c-4.426 0-8.060-3.612-8.060-8.082 0-4.448 3.634-8.060 8.060-8.060 4.471 0 8.082 3.612 8.082 8.060 0 4.471-3.612 8.082-8.082 8.082zM589.67 176.541c4.448 0 8.060 3.612 8.060 8.082s-3.612 8.082-8.060 8.082c-4.471 0-8.082-3.612-8.082-8.082s3.612-8.082 8.082-8.082zM605.812 198.078c4.471 0 8.082 3.612 8.082 8.082 0 4.448-3.612 8.060-8.082 8.060-4.426 0-8.060-3.612-8.060-8.060 0-4.471 3.634-8.082 8.060-8.082zM638.117 198.078c4.471 0 8.082 3.612 8.082 8.082 0 4.448-3.612 8.060-8.082 8.060-4.448 0-8.060-3.612-8.060-8.060-0.022-4.471 3.589-8.082 8.060-8.082zM842.124 160.994c11.407 0 20.657 9.249 20.657 20.657s-9.249 20.657-20.657 20.657c-11.429 0-20.657-9.249-20.657-20.657s9.249-20.657 20.657-20.657zM621.976 176.541c4.448 0 8.060 3.612 8.060 8.082s-3.612 8.082-8.060 8.082c-4.471 0-8.082-3.612-8.082-8.082s3.612-8.082 8.082-8.082zM621.976 499.552c-4.471 0-8.082-3.612-8.082-8.060s3.612-8.082 8.082-8.082c4.448 0 8.060 3.634 8.060 8.082s-3.612 8.060-8.060 8.060zM573.528 478.038c-4.448 0-8.060-3.612-8.060-8.082 0-4.448 3.612-8.060 8.060-8.060s8.060 3.634 8.060 8.060c0 4.471-3.612 8.082-8.060 8.082zM525.081 499.552c-4.448 0-8.060-3.612-8.060-8.060s3.612-8.082 8.060-8.082c4.471 0 8.082 3.634 8.082 8.082s-3.612 8.060-8.082 8.060zM589.67 499.552c-4.471 0-8.082-3.612-8.082-8.060s3.612-8.082 8.082-8.082c4.448 0 8.060 3.634 8.060 8.082s-3.612 8.060-8.060 8.060zM541.222 478.038c-4.448 0-8.060-3.612-8.060-8.082 0-4.448 3.612-8.060 8.060-8.060s8.060 3.634 8.060 8.060c0 4.471-3.612 8.082-8.060 8.082zM557.386 499.552c-4.471 0-8.082-3.612-8.082-8.060s3.612-8.082 8.082-8.082 8.082 3.634 8.082 8.082-3.612 8.060-8.082 8.060zM605.812 478.038c-4.426 0-8.060-3.612-8.060-8.082 0-4.448 3.634-8.060 8.060-8.060 4.471 0 8.082 3.634 8.082 8.060 0 4.471-3.612 8.082-8.082 8.082zM953.289 467.753v-131.292c0.309-3.457 1.035-6.805 1.035-10.328 0-5.065-0.441-10.042-1.035-14.952v-115.283c39.551 32.107 64.92 80.995 64.92 135.916 0 54.966-25.369 103.832-64.92 135.939zM886.388 556.39h-377.669c-16.296 0-29.509-13.213-29.509-29.509v-70.821c0-16.296 13.213-29.509 29.509-29.509h11.913v-23.607h-11.913c-16.296 0-29.509-13.213-29.509-29.486v-70.821c0-16.296 13.213-29.509 29.509-29.509h11.913v-23.607h-11.913c-16.296 0-29.509-13.213-29.509-29.509v-70.843c0-16.274 13.213-29.509 29.509-29.509h11.913v-23.585h353.952v23.585h11.804c16.274 0 29.509 13.235 29.509 29.509v70.843c0 16.296-13.235 29.509-29.509 29.509h-11.804v23.629h11.804c16.274 0 29.509 13.213 29.509 29.509v70.821c0 16.274-13.235 29.486-29.509 29.486h-11.804v23.607h11.804c16.274 0 29.509 13.213 29.509 29.509v70.821c0 16.274-13.235 29.486-29.509 29.486zM880.463 231.837c9.778 0 17.727-7.928 17.727-17.705v-59.040c0-9.778-7.928-17.727-17.727-17.727h-365.865c-9.756 0-17.705 7.928-17.705 17.727v59.040c0 9.756 7.928 17.705 17.705 17.705h365.865zM880.463 385.239c9.778 0 17.727-7.906 17.727-17.705v-59.017c0-9.756-7.928-17.705-17.727-17.705h-365.865c-9.756 0-17.705 7.928-17.705 17.705v59.017c0 9.778 7.928 17.705 17.705 17.705h365.865zM898.191 461.961c0-9.778-7.928-17.705-17.727-17.705h-365.865c-9.756 0-17.705 7.928-17.705 17.705v59.017c0 9.778 7.928 17.684 17.705 17.684h365.865c9.778 0 17.727-7.906 17.727-17.684v-59.017zM654.281 499.552c-4.471 0-8.082-3.612-8.082-8.060s3.612-8.082 8.082-8.082c4.426 0 8.038 3.634 8.038 8.082s-3.612 8.060-8.038 8.060zM638.117 478.038c-4.448 0-8.060-3.612-8.060-8.082 0-4.448 3.612-8.060 8.060-8.060 4.471 0 8.082 3.634 8.082 8.060 0 4.471-3.612 8.082-8.082 8.082zM842.124 509.176c-11.429 0-20.657-9.249-20.657-20.657s9.249-20.657 20.657-20.657c11.407 0 20.657 9.249 20.657 20.657s-9.249 20.657-20.657 20.657zM573.528 504.948c4.448 0 8.060 3.612 8.060 8.082s-3.612 8.082-8.060 8.082-8.060-3.612-8.060-8.082 3.612-8.082 8.060-8.082zM541.222 351.524c4.448 0 8.060 3.612 8.060 8.060s-3.612 8.060-8.060 8.060-8.060-3.612-8.060-8.060 3.612-8.060 8.060-8.060zM557.386 329.987c4.471 0 8.082 3.612 8.082 8.082 0 4.448-3.612 8.060-8.082 8.060s-8.082-3.612-8.082-8.060c-0.022-4.471 3.589-8.082 8.082-8.082zM573.528 351.524c4.448 0 8.060 3.612 8.060 8.060s-3.612 8.060-8.060 8.060-8.060-3.612-8.060-8.060 3.612-8.060 8.060-8.060zM589.67 329.987c4.448 0 8.060 3.612 8.060 8.082 0 4.448-3.612 8.060-8.060 8.060-4.471 0-8.082-3.612-8.082-8.060 0-4.471 3.612-8.082 8.082-8.082zM605.812 351.524c4.471 0 8.082 3.612 8.082 8.060s-3.612 8.060-8.082 8.060c-4.426 0-8.060-3.612-8.060-8.060s3.634-8.060 8.060-8.060zM621.976 329.987c4.448 0 8.060 3.612 8.060 8.082 0 4.448-3.612 8.060-8.060 8.060-4.471 0-8.082-3.612-8.082-8.060 0-4.471 3.612-8.082 8.082-8.082zM525.081 329.987c4.471 0 8.082 3.612 8.082 8.082 0 4.448-3.612 8.060-8.082 8.060-4.448 0-8.060-3.612-8.060-8.060 0-4.471 3.612-8.082 8.060-8.082zM541.222 504.948c4.448 0 8.060 3.612 8.060 8.082s-3.612 8.082-8.060 8.082-8.060-3.612-8.060-8.082 3.612-8.082 8.060-8.082zM605.812 504.948c4.471 0 8.082 3.612 8.082 8.082s-3.612 8.082-8.082 8.082c-4.426 0-8.060-3.612-8.060-8.082s3.634-8.082 8.060-8.082zM638.117 504.948c4.471 0 8.082 3.612 8.082 8.082s-3.612 8.082-8.082 8.082c-4.448 0-8.060-3.612-8.060-8.082s3.589-8.082 8.060-8.082zM654.281 176.541c4.426 0 8.038 3.612 8.038 8.082s-3.612 8.082-8.038 8.082c-4.471 0-8.082-3.612-8.082-8.082s3.612-8.082 8.082-8.082z" /> -<glyph unicode="" d="M617.588 379.341c-4.092 0-7.371-3.298-7.371-7.371 0-4.092 3.277-7.39 7.371-7.39 4.073 0 7.371 3.298 7.371 7.39 0 4.073-3.298 7.371-7.371 7.371zM602.846 244.158c4.073 0 7.39 3.317 7.39 7.371 0 4.073-3.317 7.39-7.39 7.39-4.054 0-7.371-3.317-7.371-7.39 0-4.054 3.317-7.371 7.371-7.371zM706.030 403.896c4.092 0 7.39 3.298 7.39 7.39 0 4.073-3.298 7.39-7.39 7.39-4.054 0-7.35-3.317-7.35-7.39 0-4.092 3.298-7.39 7.35-7.39zM647.067 379.341c-4.034 0-7.371-3.298-7.371-7.371 0-4.092 3.335-7.39 7.371-7.39 4.073 0 7.371 3.298 7.371 7.39 0 4.073-3.298 7.371-7.371 7.371zM720.809 384.248c4.054 0 7.35 3.298 7.35 7.371s-3.298 7.371-7.35 7.371c-4.073 0-7.39-3.298-7.39-7.371s3.317-7.371 7.39-7.371zM892.282 370.050c10.415 0 18.871 8.437 18.871 18.852s-8.455 18.871-18.871 18.871c-10.397 0-18.852-8.455-18.852-18.871s8.455-18.852 18.852-18.852zM706.030 379.341c-4.054 0-7.35-3.298-7.35-7.371 0-4.092 3.298-7.39 7.35-7.39 4.092 0 7.39 3.298 7.39 7.39 0 4.073-3.298 7.371-7.39 7.371zM617.588 263.843c4.073 0 7.371 3.298 7.371 7.371 0 4.054-3.298 7.332-7.371 7.332-4.092 0-7.371-3.277-7.371-7.332 0-4.073 3.277-7.371 7.371-7.371zM676.549 379.341c-4.054 0-7.35-3.298-7.35-7.371 0-4.092 3.298-7.39 7.35-7.39 4.073 0 7.371 3.298 7.371 7.39 0 4.073-3.298 7.371-7.371 7.371zM691.288 244.158c4.092 0 7.39 3.317 7.39 7.371 0 4.073-3.298 7.39-7.39 7.39s-7.371-3.317-7.371-7.39c0-4.054 3.277-7.371 7.371-7.371zM706.030 239.249c-4.054 0-7.35-3.277-7.35-7.35 0-4.092 3.298-7.39 7.35-7.39 4.092 0 7.39 3.298 7.39 7.39 0 4.073-3.298 7.35-7.39 7.35zM676.549 239.249c-4.054 0-7.35-3.277-7.35-7.35 0-4.092 3.298-7.39 7.35-7.39 4.073 0 7.371 3.298 7.371 7.39 0 4.073-3.298 7.35-7.371 7.35zM647.067 239.249c-4.034 0-7.371-3.277-7.371-7.35 0-4.092 3.335-7.39 7.371-7.39 4.073 0 7.371 3.298 7.371 7.39 0 4.073-3.298 7.35-7.371 7.35zM892.282 229.96c10.415 0 18.871 8.495 18.871 18.871 0 10.434-8.455 18.892-18.871 18.892-10.397 0-18.852-8.455-18.852-18.892 0.018-10.397 8.455-18.871 18.852-18.871zM632.327 244.158c4.092 0 7.371 3.317 7.371 7.371 0 4.073-3.277 7.39-7.371 7.39s-7.371-3.317-7.371-7.39c0-4.054 3.277-7.371 7.371-7.371zM617.588 239.249c-4.092 0-7.371-3.277-7.371-7.35 0-4.092 3.277-7.39 7.371-7.39 4.073 0 7.371 3.298 7.371 7.39 0 4.073-3.298 7.35-7.371 7.35zM676.549 263.843c4.073 0 7.371 3.298 7.371 7.371 0 4.054-3.298 7.332-7.371 7.332-4.054 0-7.35-3.277-7.35-7.332 0-4.073 3.298-7.371 7.35-7.371zM647.067 263.843c4.073 0 7.371 3.298 7.371 7.371 0 4.054-3.298 7.332-7.371 7.332-4.034 0-7.371-3.277-7.371-7.332 0-4.073 3.335-7.371 7.371-7.371zM180.731 713.81h535.075l-97.131-83.769h105.316l40.904 34.678v-34.678h63.811v132.838c0 8.146-6.615 14.721-14.721 14.721h-731.431c-8.127 0-14.702-6.575-14.702-14.721v-520.335c0-8.146 6.575-14.74 14.721-14.74h438.796v63.83h-340.637l137.318 215.112 103.24-87.493h53.996l46.083 39.061v87.783l-73.082-63.034-267.556 230.745zM131.66 340.725v323.977l177.913-150.759-177.913-173.218zM706.030 263.843c4.092 0 7.39 3.298 7.39 7.371 0 4.054-3.298 7.332-7.39 7.332-4.054 0-7.35-3.277-7.35-7.332 0-4.073 3.298-7.371 7.35-7.371zM661.828 244.158c4.054 0 7.39 3.317 7.39 7.371 0 4.073-3.335 7.39-7.39 7.39-4.073 0-7.39-3.317-7.39-7.39 0-4.054 3.317-7.371 7.39-7.371zM647.067 519.412c-4.034 0-7.371-3.298-7.371-7.371 0-4.054 3.335-7.371 7.371-7.371 4.073 0 7.371 3.298 7.371 7.371s-3.298 7.371-7.371 7.371zM661.828 539.061c-4.073 0-7.39-3.298-7.39-7.371s3.317-7.35 7.39-7.35c4.054 0 7.39 3.298 7.39 7.35s-3.335 7.371-7.39 7.371zM617.588 519.412c-4.092 0-7.371-3.298-7.371-7.371 0-4.054 3.277-7.371 7.371-7.371 4.073 0 7.371 3.298 7.371 7.371s-3.298 7.371-7.371 7.371zM632.327 539.061c-4.092 0-7.371-3.298-7.371-7.371s3.277-7.35 7.371-7.35 7.371 3.298 7.371 7.35-3.277 7.371-7.371 7.371zM676.549 519.412c-4.054 0-7.35-3.298-7.35-7.371 0-4.054 3.298-7.371 7.35-7.371 4.073 0 7.371 3.298 7.371 7.371s-3.298 7.371-7.371 7.371zM706.030 519.412c-4.054 0-7.35-3.298-7.35-7.371 0-4.054 3.298-7.371 7.35-7.371 4.092 0 7.39 3.298 7.39 7.371s-3.298 7.371-7.39 7.371zM691.288 539.061c-4.092 0-7.371-3.298-7.371-7.371s3.277-7.35 7.371-7.35 7.39 3.298 7.39 7.35-3.298 7.371-7.39 7.371zM932.7 472.419c14.895 0 26.94 12.063 26.94 26.94v64.663c0 14.877-12.044 26.94-26.94 26.94h-344.789c-14.877 0-26.958-12.063-26.958-26.94v-64.663c0-14.877 12.084-26.94 26.958-26.94h10.881v-21.547h-10.881c-14.877 0-26.958-12.063-26.958-26.94v-64.644c0-14.877 12.084-26.94 26.958-26.94h10.881v-21.548h-10.881c-14.877 0-26.958-12.063-26.958-26.94v-64.644c0-14.895 12.084-26.958 26.958-26.958h10.881v-21.529h323.144v21.529h10.783c14.896 0 26.94 12.063 26.94 26.958v64.644c0 14.877-12.044 26.94-26.94 26.94h-10.783v21.548h10.783c14.896 0 26.94 12.063 26.94 26.94v64.644c0 14.877-12.044 26.94-26.94 26.94h-10.783v21.547h10.765zM927.31 294.642c8.942 0 16.175-7.254 16.175-16.175v-53.862c0-8.942-7.234-16.175-16.175-16.175h-334.043c-8.903 0-16.157 7.234-16.157 16.175v53.862c0 8.921 7.254 16.175 16.157 16.175h334.043zM927.31 434.694c8.942 0 16.175-7.234 16.175-16.157v-53.88c0-8.903-7.234-16.175-16.175-16.175h-334.043c-8.903 0-16.157 7.273-16.157 16.175v53.88c0 8.921 7.254 16.157 16.157 16.157h334.043zM593.267 488.574c-8.903 0-16.157 7.234-16.157 16.157v53.862c0 8.921 7.254 16.157 16.157 16.157h334.043c8.942 0 16.175-7.234 16.175-16.157v-53.862c0-8.942-7.234-16.157-16.175-16.157h-334.043zM892.282 547.846c-10.397 0-18.852-8.455-18.852-18.852 0-10.415 8.455-18.871 18.852-18.871 10.415 0 18.871 8.455 18.871 18.871 0 10.397-8.437 18.852-18.871 18.852zM602.846 539.061c-4.054 0-7.371-3.298-7.371-7.371s3.317-7.35 7.371-7.35c4.073 0 7.39 3.298 7.39 7.35s-3.317 7.371-7.39 7.371zM720.809 539.061c-4.073 0-7.39-3.298-7.39-7.371s3.317-7.35 7.39-7.35c4.054 0 7.35 3.298 7.35 7.35s-3.298 7.371-7.35 7.371zM706.030 543.966c4.092 0 7.39 3.298 7.39 7.371s-3.298 7.35-7.39 7.35c-4.054 0-7.35-3.277-7.35-7.35s3.298-7.371 7.35-7.371zM617.588 543.966c4.073 0 7.371 3.298 7.371 7.371s-3.298 7.35-7.371 7.35c-4.092 0-7.371-3.277-7.371-7.35s3.277-7.371 7.371-7.371zM632.327 384.248c4.092 0 7.371 3.298 7.371 7.371s-3.277 7.371-7.371 7.371-7.371-3.298-7.371-7.371 3.277-7.371 7.371-7.371zM661.828 384.248c4.054 0 7.39 3.298 7.39 7.371s-3.335 7.371-7.39 7.371c-4.073 0-7.39-3.298-7.39-7.371s3.317-7.371 7.39-7.371zM617.588 403.896c4.073 0 7.371 3.298 7.371 7.39 0 4.073-3.298 7.39-7.371 7.39-4.092 0-7.371-3.317-7.371-7.39 0-4.092 3.277-7.39 7.371-7.39zM676.549 403.896c4.073 0 7.371 3.298 7.371 7.39 0 4.073-3.298 7.39-7.371 7.39-4.054 0-7.35-3.317-7.35-7.39 0-4.092 3.298-7.39 7.35-7.39zM647.067 403.896c4.073 0 7.371 3.298 7.371 7.39 0 4.073-3.298 7.39-7.371 7.39-4.034 0-7.371-3.317-7.371-7.39 0-4.092 3.335-7.39 7.371-7.39zM647.067 543.966c4.073 0 7.371 3.298 7.371 7.371s-3.298 7.35-7.371 7.35c-4.034 0-7.371-3.277-7.371-7.35s3.335-7.371 7.371-7.371zM676.549 543.966c4.073 0 7.371 3.298 7.371 7.371s-3.298 7.35-7.371 7.35c-4.054 0-7.35-3.277-7.35-7.35s3.298-7.371 7.35-7.371zM691.288 384.248c4.092 0 7.39 3.298 7.39 7.371s-3.298 7.371-7.39 7.371-7.371-3.298-7.371-7.371 3.277-7.371 7.371-7.371zM602.846 384.248c4.073 0 7.39 3.298 7.39 7.371s-3.317 7.371-7.39 7.371c-4.054 0-7.371-3.298-7.371-7.371s3.317-7.371 7.371-7.371zM720.809 244.158c4.054 0 7.35 3.317 7.35 7.371 0 4.073-3.298 7.39-7.35 7.39-4.073 0-7.39-3.317-7.39-7.39 0-4.054 3.317-7.371 7.39-7.371z" /> -<glyph unicode="" d="M330.731 618.795h-55.488v-176.704h50.027c31.275 0 55.211 7.701 71.744 23.168 16.555 15.488 24.832 37.781 24.832 66.859 0 27.328-7.979 48.576-23.936 63.829-15.936 15.232-38.315 22.848-67.179 22.848zM328.811 473.045h-16.085v115.051h19.968c33.515 0 50.283-18.987 50.283-56.939-0.021-38.763-18.069-58.112-54.165-58.112zM888.427 782.187h-754.368c-19.2 0-34.752-15.552-34.752-34.709v-476.395c0-19.179 15.552-34.773 34.752-34.773h268.352v-60.181h-84.011c-35.371 0-64.085-26.688-64.085-62.101h515.712c0 35.413-28.715 62.101-64.085 62.101h-77.696v60.181h260.16c19.2 0 34.773 15.573 34.773 34.773v476.395c0 19.157-15.552 34.709-34.752 34.709zM863.915 378.752c0-19.179-15.573-34.752-34.795-34.752h-636.885c-19.179 0-34.731 15.552-34.731 34.752v309.12c0 19.179 15.552 34.773 34.731 34.773h636.885c19.2 0 34.795-15.573 34.795-34.773v-309.12zM574.080 535.147c0-9.493 0.576-25.749 1.813-48.704h-0.832l-76.779 132.373h-47.275v-176.704h33.472v83.115c0 10.091-0.747 26.923-2.283 50.539h1.088l76.885-133.653h47.616v176.704h-33.707v-83.669zM708.587 544.085c-12.501 5.973-20.395 10.091-23.765 12.395-3.349 2.304-5.76 4.672-7.275 7.125-1.536 2.453-2.325 5.355-2.325 8.661 0 5.312 1.92 9.6 5.717 12.907 3.755 3.307 9.259 4.949 16.32 4.949 5.973 0 12.011-0.768 18.176-2.283 6.165-1.536 13.973-4.245 23.424-8.107l12.053 29.141c-9.088 3.947-17.792 6.997-26.176 9.173-8.32 2.197-17.088 3.264-26.261 3.264-18.709 0-33.344-4.459-43.947-13.419-10.624-8.939-15.893-21.248-15.893-36.885 0-8.299 1.6-15.552 4.864-21.739 3.179-6.208 7.552-11.648 12.885-16.32 5.397-4.693 13.525-9.557 24.32-14.635 11.541-5.504 19.115-9.451 22.869-11.989 3.776-2.496 6.656-5.077 8.576-7.787 1.899-2.688 2.923-5.781 2.923-9.259 0-6.208-2.261-10.859-6.635-14.016-4.395-3.115-10.709-4.715-18.923-4.715-6.848 0-14.421 1.088-22.677 3.243-8.256 2.197-18.347 5.952-30.272 11.243v-34.752c14.528-7.104 31.232-10.645 50.091-10.645 20.437 0 36.395 4.587 47.893 13.76 11.456 9.195 17.216 21.739 17.216 37.717 0 11.52-3.051 21.248-9.173 29.184s-17.472 15.893-34.005 23.787z" /> -<glyph unicode="" d="M735.137 539.654c-124.565 0-225.548-100.988-225.548-225.542 0-0.316 0.010-0.84 0.023-1.278h-53.054l84.395-84.22 84.536 84.22h-53.217v0.054c-0.023 0.427-0.023 0.917-0.023 1.224 0 89.827 73.063 162.882 162.888 162.882s162.888-73.057 162.888-162.882c0-89.825-73.063-162.909-162.888-162.909-54.507 0-102.831 26.948-132.402 68.199l-44.858-44.664c41.306-52.463 105.332-86.185 177.257-86.185 124.577 0 225.548 100.984 225.548 225.559 0.002 124.554-100.969 225.542-225.546 225.542zM369.534 349.364l91.677 0.008c2.003 15.422 5.234 30.458 9.668 44.971h-355.786c-20.259 0-36.689 16.436-36.689 36.695v326.334c0 20.259 16.429 36.691 36.689 36.691h672.444c20.257 0 36.684-16.429 36.684-36.691v-182.587c22.282-7.618 43.272-18.017 62.573-30.765v276.251c0 20.259-16.425 36.684-36.686 36.684h-796.445c-20.264 0-36.689-16.425-36.689-36.684v-502.949c0-20.257 16.425-36.693 36.689-36.693h283.311v-63.566h-88.685c-37.362 0-67.648-28.162-67.648-65.534h330.781c-20.461 28.17-35.714 60.358-44.381 95.154l-97.507 102.682zM716.693 426.294v-127.765l101.649-58.267 14.598 32.584-79.74 46.047v107.4h-36.507z" /> -<glyph unicode="" d="M200.917 364.416l32.192 137.685h1.088l18.304-76.885 13.568-60.821h52.395l50.795 173.931h-47.168l-21.141-77.013c-1.045-4.565-2.773-13.355-5.205-26.368-2.411-13.035-4.096-23.275-5.035-30.741h-0.96c-0.085 2.923-0.491 6.763-1.173 11.605-0.683 4.864-1.451 9.749-2.304 14.805-0.832 4.992-1.707 9.749-2.603 14.208s-1.557 7.829-1.984 10.112l-20.672 83.392h-53.013l-21.781-83.392-2.517-13.227c-3.243-17.131-5.099-29.632-5.525-37.525h-0.939c-3.371 24.299-6.677 43.328-9.941 57.131l-20.352 77.013h-47.957l50.176-173.931h51.755zM572.331 434.965c-2.432-13.035-4.139-23.275-5.077-30.741h-0.96c-0.085 2.923-0.448 6.763-1.173 11.605-0.661 4.864-1.408 9.749-2.261 14.805-0.853 4.992-1.707 9.749-2.624 14.208-0.896 4.459-1.557 7.829-1.963 10.112l-20.693 83.392h-52.992l-21.781-83.392-2.517-13.227c-3.264-17.131-5.099-29.632-5.525-37.525h-0.939c-3.371 24.299-6.677 43.328-9.941 57.131l-20.352 77.013h-47.957l50.176-173.931h51.755l32.171 137.685h1.109l18.304-76.885 13.589-60.821h52.352l50.816 173.931h-47.168l-21.141-77.013c-1.067-4.544-2.795-13.333-5.205-26.347zM807.659 261.291h-70.144c5.845 18.496 10.56 38.016 14.677 57.963h-68.011c-3.584-20.181-7.723-39.787-13.035-57.963h-319.232c-5.333 18.176-9.451 37.781-13.056 57.963h-68.011c4.139-19.947 8.832-39.467 14.677-57.963h-70.165c-11.541 18.219-21.291 37.675-29.355 57.963h-65.749c54.101-164.48 208.704-283.328 391.275-283.328 182.592 0 337.195 118.848 391.296 283.328h-65.813c-8.064-20.288-17.813-39.723-29.355-57.963zM267.541 196.885h43.136c9.515-19.925 19.947-38.635 31.488-55.424-27.307 15.125-52.395 33.835-74.624 55.424zM511.531 97.728c-58.496 0-103.723 37.867-134.72 99.136h269.44c-30.997-61.269-76.224-99.136-134.72-99.136zM680.896 141.483c11.541 16.789 21.973 35.499 31.488 55.403h43.115c-22.229-21.589-47.296-40.277-74.603-55.403zM215.381 634.709h70.165c-5.845-18.496-10.56-38.016-14.677-57.941h68.011c3.584 20.181 7.723 39.787 13.035 57.941h319.232c5.312-18.155 9.451-37.76 13.035-57.941h68.011c-4.117 19.947-8.811 39.467-14.677 57.941h70.144c11.52-18.219 21.269-37.675 29.355-57.941h65.792c-54.101 164.459-208.683 283.307-391.275 283.307-182.571 0-337.173-118.848-391.275-283.307h65.771c8.085 20.288 17.835 39.723 29.355 57.941zM755.52 699.115h-43.136c-9.493 19.925-19.947 38.635-31.488 55.424 27.307-15.125 52.373-33.835 74.624-55.424zM511.531 798.272c58.496 0 103.723-37.888 134.72-99.157h-269.44c30.997 61.291 76.224 99.157 134.72 99.157zM342.187 754.56c-11.563-16.811-21.995-35.52-31.488-55.445h-43.157c22.229 21.589 47.296 40.299 74.645 55.445zM854.101 461.333c-1.067-4.565-2.795-13.355-5.205-26.368-2.411-13.035-4.096-23.275-5.035-30.741h-0.96c-0.107 2.923-0.491 6.763-1.195 11.605-0.683 4.864-1.429 9.749-2.283 14.805-0.832 4.992-1.707 9.749-2.624 14.208-0.875 4.459-1.515 7.829-1.92 10.112l-20.715 83.392h-52.992l-21.781-83.392-2.539-13.227c-3.243-17.131-5.077-29.632-5.504-37.525h-0.96c-3.328 24.299-6.656 43.328-9.941 57.131l-20.352 77.013h-47.957l50.176-173.931h51.755l32.192 137.685h1.109l18.304-76.885 13.568-60.821h52.395l50.795 173.931h-47.168l-21.163-76.992z" /> -</font></defs></svg> \ No newline at end of file diff --git a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.ttf b/app/assets/stylesheets/management/fonts/locastyle-panel-icons.ttf deleted file mode 100755 index 299d9137e77c7c5daab822b26235ee9143bce63a..0000000000000000000000000000000000000000 Binary files a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.ttf and /dev/null differ diff --git a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.woff b/app/assets/stylesheets/management/fonts/locastyle-panel-icons.woff deleted file mode 100755 index 6b980c72482e40fcb799da52b20d93066f4967fd..0000000000000000000000000000000000000000 Binary files a/app/assets/stylesheets/management/fonts/locastyle-panel-icons.woff and /dev/null differ diff --git a/app/assets/stylesheets/management/fonts/locastyle.eot b/app/assets/stylesheets/management/fonts/locastyle.eot deleted file mode 100755 index 5fa6a806c192b0cb41280da9085641a96b406d7d..0000000000000000000000000000000000000000 Binary files a/app/assets/stylesheets/management/fonts/locastyle.eot and /dev/null differ diff --git a/app/assets/stylesheets/management/fonts/locastyle.svg b/app/assets/stylesheets/management/fonts/locastyle.svg deleted file mode 100644 index 5ef5e8c54b00d901ec8a577d9d1b313ec852474d..0000000000000000000000000000000000000000 --- a/app/assets/stylesheets/management/fonts/locastyle.svg +++ /dev/null @@ -1,125 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> -<metadata>Generated by IcoMoon</metadata> -<defs> -<font id="icomoon" horiz-adv-x="1024"> -<font-face units-per-em="1024" ascent="960" descent="-64" /> -<missing-glyph horiz-adv-x="1024" /> -<glyph unicode=" " d="" horiz-adv-x="512" /> -<glyph unicode="" d="M822.938 877.088v85.516h-85.516v-85.516h-427.644v85.516h-85.526v-85.516h-171.054v-171.054h940.792l0.002 171.054h-171.054zM53.198-63.726h940.792l0.002 684.212h-940.794v-684.212zM822.938 449.444h85.516v-85.538h-85.516v85.538zM822.938 278.392h85.516v-85.548h-85.516v85.548zM822.938 107.328h85.516v-85.516h-85.516v85.516zM651.896 449.444h85.516v-85.538h-85.516v85.538zM651.896 278.392h85.516v-85.548h-85.516v85.548zM651.896 107.328h85.516v-85.516h-85.516v85.516zM480.832 449.444h85.526v-85.538h-85.526v85.538zM480.832 278.392h85.526v-85.548h-85.526v85.548zM480.832 107.328h85.526v-85.516h-85.526v85.516zM309.778 449.444h85.526v-85.538l-85.526 0.002v85.536zM309.778 278.392h85.526v-85.548h-85.526v85.548zM309.778 107.328h85.526v-85.516h-85.526v85.516zM138.714 449.444h85.538v-85.538h-85.538v85.538zM138.714 278.392h85.538v-85.548h-85.538v85.548zM138.714 107.328h85.538v-85.516h-85.538v85.516z" horiz-adv-x="1034" /> -<glyph unicode="" d="M460.8 328.192l214.016 214.016-65.536 65.536-148.48-148.48-148.48 148.48-65.536-65.536zM921.6 499.2q0-124.928-61.952-230.912t-167.936-167.936-230.912-61.952-230.912 61.952-167.936 167.936-61.952 230.912 61.952 230.912 167.936 167.936 230.912 61.952 230.912-61.952 167.936-167.936 61.952-230.912z" horiz-adv-x="918" /> -<glyph unicode="" d="M503.808 285.184l65.536 65.536-148.48 148.48 148.48 148.48-65.536 65.536-214.016-214.016zM921.6 499.2q0-124.928-61.952-230.912t-167.936-167.936-230.912-61.952-230.912 61.952-167.936 167.936-61.952 230.912 61.952 230.912 167.936 167.936 230.912 61.952 230.912-61.952 167.936-167.936 61.952-230.912z" horiz-adv-x="918" /> -<glyph unicode="" d="M609.28 390.656l65.536 65.536-214.016 214.016-214.016-214.016 65.536-65.536 148.48 148.48zM921.6 499.2q0-124.928-61.952-230.912t-167.936-167.936-230.912-61.952-230.912 61.952-167.936 167.936-61.952 230.912 61.952 230.912 167.936 167.936 230.912 61.952 230.912-61.952 167.936-167.936 61.952-230.912z" horiz-adv-x="918" /> -<glyph unicode="" d="M417.792 285.184l214.016 214.016-214.016 214.016-65.536-65.536 148.48-148.48-148.48-148.48zM921.6 499.2q0-124.928-61.952-230.912t-167.936-167.936-230.912-61.952-230.912 61.952-167.936 167.936-61.952 230.912 61.952 230.912 167.936 167.936 230.912 61.952 230.912-61.952 167.936-167.936 61.952-230.912z" horiz-adv-x="918" /> -<glyph unicode="" d="M99.108-43.578v852.114h101.494v53.174c0.014 52.356 33.090 83.662 88.43 83.662s88.4-31.306 88.4-83.66v-53.16h59.89v53.158c0 52.356 33.030 83.662 88.4 83.662 55.34 0 88.386-31.306 88.386-83.66v-53.16h59.918v53.158c0 52.356 33.032 83.662 88.372 83.662 55.384 0 88.386-31.306 88.386-83.66v-53.16h100.426v-852.128l-852.102-0.002zM330.064 861.71c0 25.878-11.834 36.352-41.048 36.352-29.228 0-41.062-10.474-41.062-36.352v-142.278c0-25.878 11.834-36.352 41.062-36.352 29.214 0 41.048 10.474 41.048 36.352v142.278zM566.77 861.71c0 25.878-11.864 36.352-41.048 36.352-29.214 0-41.078-10.474-41.078-36.352v-142.278c0-25.878 11.864-36.352 41.078-36.352 29.184 0 41.048 10.474 41.048 36.352v142.278zM803.488 861.71c0 25.878-11.878 36.352-41.092 36.352-29.184 0-41.078-10.474-41.078-36.352v-142.278c0-25.878 11.878-36.352 41.078-36.352 29.198 0 41.092 10.474 41.092 36.352v142.278zM880.202 619.154h-710.058v-591.712l710.058 0.002v591.71zM320.118 369.532c8.266 8.266 21.782 8.266 30.018 0.044l86.060-85.898c8.266-8.266 21.738-8.222 29.974 0l235.9 236.412c8.222 8.28 21.738 8.324 30.032 0.088l52.692-52.37c8.324-8.178 8.324-21.694 0.132-29.9l-286.092-286.75c-8.206-8.222-24.532-14.966-36.176-14.966h-24.708c-11.644 0-27.94 6.758-36.176 14.966l-134.686 135.372c-8.222 8.28-8.222 21.738 0.044 30.004l52.986 52.998z" /> -<glyph unicode="" d="M82.462-38.064v856.152h101.932v53.454c0 52.618 33.222 84.056 88.854 84.056 55.618 0 88.81-31.422 88.81-84.056v-53.452h60.168l-0.002 53.452c0 52.618 33.222 84.056 88.81 84.056 55.632 0 88.81-31.422 88.81-84.056v-53.452h60.196l0.002 53.452c0 52.618 33.222 84.056 88.81 84.056 55.632 0 88.824-31.422 88.824-84.056v-53.452h100.894v-856.152l-856.108-0.002zM314.47 871.542c0 25.966-11.878 36.498-41.224 36.498-29.36 0-41.268-10.518-41.268-36.498v-142.95c0-25.966 11.908-36.498 41.268-36.498 29.344 0 41.224 10.532 41.224 36.498v142.95zM552.316 871.542c0 25.966-11.894 36.498-41.268 36.498-29.344 0-41.268-10.518-41.268-36.498v-142.95c0-25.966 11.922-36.498 41.268-36.498 29.374 0 41.268 10.532 41.268 36.498v142.95zM790.148 871.542c0 25.966-11.878 36.498-41.268 36.498-29.374 0-41.252-10.518-41.252-36.498v-142.95c0-25.966 11.878-36.498 41.252-36.498 29.388 0 41.268 10.532 41.268 36.498v142.95zM867.226 627.814h-713.436v-594.534h713.45v594.534zM328.586 380.226h102.136c17.086 0 31.042 13.97 31.042 31.012v102.166c0 17.056 13.942 31.042 31.028 31.042h34.596c17.086 0 31.042-13.984 31.042-31.042v-102.166c0-17.056 13.956-31.012 31.028-31.012h102.108c17.086 0 31.072-13.97 31.072-31.042v-34.64c0-17.056-13.984-31.028-31.072-31.028h-102.108c-17.072 0-31.028-13.942-31.028-31.042v-102.166c0-16.998-13.956-31.012-31.042-31.012h-34.596c-17.086 0-31.028 14.014-31.028 31.012v102.166c0 17.1-13.956 31.042-31.042 31.042h-102.136c-17.056 0-31.012 13.97-31.012 31.028v34.64c0 17.072 13.956 31.042 31.012 31.042z" /> -<glyph unicode="" d="M599.728 145.086h-212.364c-17.422 0-31.48-14.014-31.48-31.452 0-17.334 14.058-31.436 31.48-31.436h212.362c17.378 0 31.436 14.102 31.436 31.436 0.002 17.438-14.042 31.452-31.434 31.452zM429.612 588.17c8.412-37.786 38.634-173.056 62.786-281.132 24.166 108.076 54.404 243.332 62.83 281.132h-125.616zM493.408 943.674c-180.224 0-326.452-152.312-326.452-340.158 0-137.23 78.058-255.050 190.304-308.912l7.182-101.39h103.35l-95.45 444.958h240.508l-95.408-444.958h103.892l8.382 101.39c112.274 53.862 190.434 171.68 190.434 308.912-0.014 187.86-146.328 340.158-326.742 340.158zM599.728 39.394h-212.364c-17.422 0-31.48-14.058-31.48-31.392s14.058-31.452 31.48-31.452h212.362c17.378 0 31.436 14.116 31.436 31.452 0.002 17.334-14.042 31.392-31.434 31.392z" /> -<glyph unicode="" d="M1024 352l-192 192v288h-128v-160l-192 192-512-512v-32h128v-320h320v192h128v-192h320v320h128z" /> -<glyph unicode="" d="M734.994 154.626c-18.952 2.988-19.384 54.654-19.384 54.654s55.688 54.656 67.824 128.152c32.652 0 52.814 78.138 20.164 105.628 1.362 28.94 41.968 227.176-163.598 227.176-205.564 0-164.958-198.236-163.598-227.176-32.654-27.49-12.488-105.628 20.162-105.628 12.134-73.496 67.826-128.152 67.826-128.152s-0.432-51.666-19.384-54.654c-61.048-9.632-289.006-109.316-289.006-218.626h768c0 109.31-227.958 208.994-289.006 218.626zM344.054 137.19c44.094 27.15 97.626 52.308 141.538 67.424-15.752 22.432-33.294 52.936-44.33 89.062-15.406 12.566-27.944 30.532-35.998 52.602-8.066 22.104-11.122 46.852-8.608 69.684 1.804 16.392 6.478 31.666 13.65 45.088-4.35 46.586-7.414 138.034 52.448 204.732 23.214 25.866 52.556 44.46 87.7 55.686-6.274 64.76-39.16 140.77-166.454 140.77-205.564 0-164.958-198.236-163.598-227.176-32.654-27.49-12.488-105.628 20.162-105.628 12.134-73.496 67.826-128.152 67.826-128.152s-0.432-51.666-19.384-54.654c-61.048-9.634-289.006-109.318-289.006-218.628h329.596c4.71 3.074 9.506 6.14 14.458 9.19z" /> -<glyph unicode="" d="M0 343.808l321.344-206.624v149.152l-191.328 118.144 191.328 118.144v150.176l-321.344-207.68v-121.312zM389.312 64h110.592l162.048 768h-111.328l-161.312-768zM702.688 672.8v-150.176l191.264-118.144-191.264-118.112v-149.152l321.312 206.592v121.312l-321.312 207.68z" /> -<glyph unicode="" d="M304 352c0-114.876 93.124-208 208-208s208 93.124 208 208-93.124 208-208 208-208-93.124-208-208zM960 704h-224c-16 64-32 128-96 128h-256c-64 0-80-64-96-128h-224c-35.2 0-64-28.8-64-64v-576c0-35.2 28.8-64 64-64h896c35.2 0 64 28.8 64 64v576c0 35.2-28.8 64-64 64zM512 68c-156.85 0-284 127.148-284 284 0 156.85 127.15 284 284 284 156.852 0 284-127.15 284-284 0-156.852-127.146-284-284-284zM960 512h-128v64h128v-64z" /> -<glyph unicode="" d="M928 832h-832c-52.8 0-96-43.2-96-96v-640c0-52.8 43.2-96 96-96h832c52.8 0 96 43.2 96 96v640c0 52.8-43.2 96-96 96zM398.74 409.628l-270.74-210.892v501.642l270.74-290.75zM176.38 704h671.24l-335.62-252-335.62 252zM409.288 398.302l102.712-110.302 102.71 110.302 210.554-270.302h-626.528l210.552 270.302zM625.26 409.628l270.74 290.75v-501.642l-270.74 210.892z" /> -<glyph unicode="" d="M622.826 257.264c-22.11 3.518-22.614 64.314-22.614 64.314s64.968 64.316 79.128 150.802c38.090 0 61.618 91.946 23.522 124.296 1.59 34.054 48.96 267.324-190.862 267.324s-192.45-233.27-190.864-267.324c-38.094-32.35-14.57-124.296 23.522-124.296 14.158-86.486 79.128-150.802 79.128-150.802s-0.504-60.796-22.614-64.314c-71.22-11.332-337.172-128.634-337.172-257.264h896c0 128.63-265.952 245.932-337.174 257.264z" /> -<glyph unicode="" d="M0 640h1024l-64-640h-896l-64 640zM928 768l32-64h-896l64 128h352l32-64h416z" /> -<glyph unicode="" d="M832 0l192 512h-832l-192-512zM128 576l-128-576v832h288l128-128h416v-128z" /> -<glyph unicode="" d="M1024 351.906v192.188l-146.774 24.462c-5.958 18.132-13.222 35.668-21.694 52.5l86.454 121.034-135.896 135.898-120.826-86.304c-16.91 8.554-34.538 15.888-52.768 21.902l-24.402 146.414h-192.188l-24.402-146.416c-18.23-6.014-35.858-13.348-52.766-21.902l-120.828 86.304-135.898-135.898 86.454-121.036c-8.47-16.83-15.734-34.366-21.692-52.498l-146.774-24.46v-192.188l147.118-24.52c5.96-17.968 13.21-35.348 21.642-52.030l-86.748-121.448 135.898-135.896 121.654 86.894c16.602-8.35 33.89-15.528 51.764-21.434l24.578-147.472h192.188l24.578 147.474c17.874 5.906 35.162 13.084 51.766 21.432l121.652-86.892 135.896 135.896-86.744 121.446c8.432 16.682 15.678 34.062 21.64 52.032l147.118 24.518zM512 320c-70.692 0-128 57.306-128 128 0 70.692 57.308 128 128 128 70.694 0 128-57.308 128-128 0-70.694-57.306-128-128-128z" /> -<glyph unicode="" d="M128 64h896v-128h-1024v1024h128zM288 128c-53.020 0-96 42.98-96 96s42.98 96 96 96c2.828 0 5.622-0.148 8.388-0.386l103.192 171.986c-9.84 15.070-15.58 33.062-15.58 52.402 0 53.020 42.98 96 96 96s96-42.98 96-96c0-19.342-5.74-37.332-15.58-52.402l103.192-171.986c2.766 0.238 5.56 0.386 8.388 0.386 2.136 0 4.248-0.094 6.35-0.23l170.356 298.122c-10.536 15.408-16.706 34.036-16.706 54.11 0 53.020 42.98 96 96 96s96-42.98 96-96c0-53.020-42.98-96-96-96-2.14 0-4.248 0.094-6.35 0.232l-170.356-298.124c10.536-15.406 16.706-34.036 16.706-54.11 0-53.020-42.98-96-96-96s-96 42.98-96 96c0 19.34 5.74 37.332 15.578 52.402l-103.19 171.984c-2.766-0.238-5.56-0.386-8.388-0.386s-5.622 0.146-8.388 0.386l-103.192-171.986c9.84-15.068 15.58-33.060 15.58-52.4 0-53.020-42.98-96-96-96z" /> -<glyph unicode="" d="M721.408 852.020c-58.418 42.138-131.686 63.182-219.956 63.182-67.174 0-123.802-14.848-169.83-44.442-73.062-46.388-111.872-125.134-116.582-236.238h169.266c0 32.358 9.42 63.538 28.314 93.542s50.944 45.004 96.154 45.004c45.926 0 77.62-12.186 94.924-36.506 17.356-24.422 26.010-51.406 26.010-80.998 0-25.754-12.902-49.306-28.466-70.758-8.55-12.494-19.866-23.962-33.842-34.51 0 0-91.802-58.88-132.146-106.19-23.398-27.442-25.498-68.506-27.546-127.438-0.154-4.198 1.434-12.85 16.128-12.85s118.63 0 131.686 0 15.77 9.678 15.974 13.926c0.922 21.452 3.328 32.41 7.27 44.8 7.424 23.398 27.494 43.826 50.126 61.39l46.592 32.154c42.034 32.768 75.622 59.648 90.418 80.742 25.294 34.714 43.058 77.414 43.058 128.052 0 82.688-29.236 145.050-87.552 187.136zM498.738 202.29c-58.368 1.74-106.496-38.606-108.338-101.888-1.844-63.232 43.93-105.010 102.298-106.752 60.928-1.792 107.776 37.274 109.62 100.506 1.792 63.284-42.65 106.342-103.578 108.134z" /> -<glyph unicode="" d="M920.571 548.571q0-30.286-21.143-51.429l-372-372q-21.714-21.714-52-21.714-30.857 0-51.429 21.714l-372 372q-21.714 20.571-21.714 51.429 0 30.286 21.714 52l42.286 42.857q22.286 21.143 52 21.143 30.286 0 51.429-21.143l277.714-277.714 277.714 277.714q21.143 21.143 51.429 21.143 29.714 0 52-21.143l42.857-42.857q21.143-22.286 21.143-52z" horiz-adv-x="951" /> -<glyph unicode="" d="M1024 128v768h-1024v-768h448v-64h-192v-64h512v64h-192v64h448zM128 768h768v-512h-768v512z" /> -<glyph unicode="" d="M628 475.428q0-29.714-21.143-52l-372.571-372q-21.143-21.143-51.429-21.143t-51.429 21.143l-43.429 42.857q-21.143 22.286-21.143 52 0 30.286 21.143 51.429l277.714 277.714-277.714 277.143q-21.143 22.286-21.143 52 0 30.286 21.143 51.429l43.429 42.857q20.571 21.714 51.429 21.714t51.429-21.714l372.571-372q21.143-21.143 21.143-51.429z" horiz-adv-x="658" /> -<glyph unicode="" d="M424 52l-372.571 372q-21.143 21.143-21.143 51.714t21.143 51.714l372.571 372q21.143 21.143 51.714 21.143t51.714-21.143l42.857-42.857q21.143-21.143 21.143-51.714t-21.143-51.714l-277.714-277.714 277.714-277.143q21.143-21.714 21.143-52t-21.143-51.429l-42.857-42.857q-21.143-21.143-51.714-21.143t-51.714 21.143z" horiz-adv-x="658" /> -<glyph unicode="" d="M920.571 256q0-30.286-21.143-51.429l-42.857-42.857q-21.714-21.714-52-21.714-30.857 0-51.429 21.714l-277.714 277.143-277.714-277.143q-20.571-21.714-51.429-21.714t-51.429 21.714l-42.857 42.857q-21.714 20.571-21.714 51.429 0 30.286 21.714 52l372 372q21.143 21.143 51.429 21.143 29.714 0 52-21.143l371.429-372q21.714-21.714 21.714-52z" horiz-adv-x="951" /> -<glyph unicode="" d="M64 768h896v-192h-896zM64 512h896v-192h-896zM64 256h896v-192h-896z" /> -<glyph unicode="" d="M384 320l128 64 448 448-64 64-448-448-64-128zM289.3 92.902c-31.632 66.728-65.666 100.762-132.396 132.394l99.096 272.792 128 77.912 384 384h-192l-384-384-192-640 640 192 384 384v192l-384-384-77.912-128z" /> -<glyph unicode="" d="M320 896h-256v-256h256v256zM384 960v0-384h-384v384h384zM128 832h128v-128h-128zM960 896h-256v-256h256v256zM1024 960v0-384h-384v384h384zM768 832h128v-128h-128zM320 256h-256v-256h256v256zM384 320v0-384h-384v384h384zM128 192h128v-128h-128zM448 960h64v-64h-64zM512 896h64v-64h-64zM448 832h64v-64h-64zM512 768h64v-64h-64zM448 704h64v-64h-64zM512 640h64v-64h-64zM448 576h64v-64h-64zM448 448h64v-64h-64zM512 384h64v-64h-64zM448 320h64v-64h-64zM512 256h64v-64h-64zM448 192h64v-64h-64zM512 128h64v-64h-64zM448 64h64v-64h-64zM512 0h64v-64h-64zM960 448h64v-64h-64zM64 448h64v-64h-64zM128 512h64v-64h-64zM0 512h64v-64h-64zM256 512h64v-64h-64zM320 448h64v-64h-64zM384 512h64v-64h-64zM576 448h64v-64h-64zM640 512h64v-64h-64zM704 448h64v-64h-64zM768 512h64v-64h-64zM832 448h64v-64h-64zM896 512h64v-64h-64zM960 320h64v-64h-64zM576 320h64v-64h-64zM640 384h64v-64h-64zM704 320h64v-64h-64zM832 320h64v-64h-64zM896 384h64v-64h-64zM960 192h64v-64h-64zM576 192h64v-64h-64zM640 256h64v-64h-64zM768 256h64v-64h-64zM832 192h64v-64h-64zM896 256h64v-64h-64zM960 64h64v-64h-64zM640 128h64v-64h-64zM704 64h64v-64h-64zM768 128h64v-64h-64zM832 64h64v-64h-64zM640 0h64v-64h-64zM768 0h64v-64h-64zM896 0h64v-64h-64z" /> -<glyph unicode="" d="M0 960h256v-256h-256zM384 896h640v-128h-640zM0 576h256v-256h-256zM384 512h640v-128h-640zM0 192h256v-256h-256zM384 128h640v-128h-640z" /> -<glyph unicode="" d="M384 896h640v-128h-640v128zM384 512h640v-128h-640v128zM384 128h640v-128h-640v128zM0 832c0 70.692 57.308 128 128 128s128-57.308 128-128c0-70.692-57.308-128-128-128s-128 57.308-128 128zM0 448c0 70.692 57.308 128 128 128s128-57.308 128-128c0-70.692-57.308-128-128-128s-128 57.308-128 128zM0 64c0 70.692 57.308 128 128 128s128-57.308 128-128c0-70.692-57.308-128-128-128s-128 57.308-128 128z" /> -<glyph unicode="" d="M384 128h640v-128h-640zM384 512h640v-128h-640zM384 896h640v-128h-640zM192 960v-256h-64v192h-64v64zM128 434v-50h128v-64h-192v146l128 60v50h-128v64h192v-146zM256 256v-320h-192v64h128v64h-128v64h128v64h-128v64z" /> -<glyph unicode="" d="M0 576h704v-128h-704v128zM0 768h704v-128h-704v128zM0 384h704v-128h-704v128zM0 192h704v-128h-704v128zM768 384l128-192 128 192h-256zM1024 448l-128 192-128-192h256z" /> -<glyph unicode="" d="M384 768h128v-64h-128zM576 768h128v-64h-128zM896 768v-256h-192v64h128v128h-64v64zM320 576h128v-64h-128zM512 576h128v-64h-128zM192 704v-128h64v-64h-128v256h192v-64zM384 384h128v-64h-128zM576 384h128v-64h-128zM896 384v-256h-192v64h128v128h-64v64zM320 192h128v-64h-128zM512 192h128v-64h-128zM192 320v-128h64v-64h-128v256h192v-64zM960 896h-896v-896h896v896zM1024 960v0-1024h-1024v1024h1024z" /> -<glyph unicode="" d="M960 192h-64v640h-640v64c0 35.376 28.624 64 64 64h640c35.376 0 64-28.624 64-64v-640c0-35.376-28.624-64-64-64zM832 704v-704c0-35.376-28.624-64-64-64h-704c-35.376 0-64 28.624-64 64v704c0 35.376 28.624 64 64 64h704c35.376 0 64-28.624 64-64zM704 640h-576v-192h576v192zM704 320h-576v-256h576v256zM256 512h-64v64h64v-64zM384 512h-64v64h64v-64zM640 512h-192v64h192v-64z" /> -<glyph unicode="" d="M864 960c88.364 0 160-71.634 160-160 0-36.020-11.91-69.258-32-96l-64-64-224 224 64 64c26.742 20.090 59.978 32 96 32zM64 224l-64-288 288 64 592 592-224 224-592-592zM715.578 596.422l-448-448-55.156 55.156 448 448 55.156-55.156z" /> -<glyph unicode="" d="M1024 384v384h-192v64c0 35.2-28.8 64-64 64h-704c-35.2 0-64-28.8-64-64v-192c0-35.2 28.8-64 64-64h704c35.2 0 64 28.8 64 64v64h128v-256h-576v-128h-32c-17.674 0-32-14.326-32-32v-320c0-17.674 14.326-32 32-32h128c17.674 0 32 14.326 32 32v320c0 17.674-14.326 32-32 32h-32v64h576zM768 768h-704v64h704v-64z" /> -<glyph unicode="" d="M128 704v-640h896v640h-896zM960 170.666l-128 213.334-145.066-120.888-110.934 184.888-384-320v512h768v-469.334zM256 480c0 53.019 42.981 96 96 96s96-42.981 96-96c0-53.019-42.981-96-96-96s-96 42.981-96 96zM896 832h-896v-640h64v576h832z" /> -<glyph unicode="" d="M896 768h-768v-640h768v640zM1024 896v0-896h-1024v896h1024zM832 192h-640v128l192 320 263-320 185 128v-64zM640 608c0 53.019 42.981 96 96 96s96-42.981 96-96c0-53.019-42.981-96-96-96s-96 42.981-96 96z" /> -<glyph unicode="" d="M512 384l256 256h-192v256h-128v-256h-192zM744.726 488.728l-71.74-71.742 260.080-96.986-421.066-157.018-421.066 157.018 260.080 96.986-71.742 71.742-279.272-104.728v-256l512-192 512 192v256z" /> -<glyph unicode="" d="M448 384h128v256h192l-256 256-256-256h192zM640 528v-98.712l293.066-109.288-421.066-157.018-421.066 157.018 293.066 109.288v98.712l-384-144v-256l512-192 512 192v256z" /> -<glyph unicode="" d="M1024 576h-384l143.53 143.53c-72.53 72.526-168.96 112.47-271.53 112.47s-199-39.944-271.53-112.47c-72.526-72.53-112.47-168.96-112.47-271.53s39.944-199 112.47-271.53c72.53-72.526 168.96-112.47 271.53-112.47s199 39.944 271.528 112.472c6.056 6.054 11.86 12.292 17.456 18.668l96.32-84.282c-93.846-107.166-231.664-174.858-385.304-174.858-282.77 0-512 229.23-512 512s229.23 512 512 512c141.386 0 269.368-57.326 362.016-149.984l149.984 149.984v-384z" /> -<glyph unicode="" d="M992.262 88.604l-242.552 206.294c-25.074 22.566-51.89 32.926-73.552 31.926 57.256 67.068 91.842 154.078 91.842 249.176 0 212.078-171.922 384-384 384-212.076 0-384-171.922-384-384s171.922-384 384-384c95.098 0 182.108 34.586 249.176 91.844-1-21.662 9.36-48.478 31.926-73.552l206.294-242.552c35.322-39.246 93.022-42.554 128.22-7.356s31.892 92.898-7.354 128.22zM384 320c-141.384 0-256 114.616-256 256s114.616 256 256 256 256-114.616 256-256-114.614-256-256-256z" /> -<glyph unicode="" d="M992.262 88.604l-242.552 206.294c-25.074 22.566-51.89 32.926-73.552 31.926 57.256 67.068 91.842 154.078 91.842 249.176 0 212.078-171.922 384-384 384-212.076 0-384-171.922-384-384s171.922-384 384-384c95.098 0 182.108 34.586 249.176 91.844-1-21.662 9.36-48.478 31.926-73.552l206.294-242.552c35.322-39.246 93.022-42.554 128.22-7.356s31.892 92.898-7.354 128.22zM384 320c-141.384 0-256 114.616-256 256s114.616 256 256 256 256-114.616 256-256-114.614-256-256-256zM448 768h-128v-128h-128v-128h128v-128h128v128h128v128h-128z" /> -<glyph unicode="" d="M992.262 88.604l-242.552 206.294c-25.074 22.566-51.89 32.926-73.552 31.926 57.256 67.068 91.842 154.078 91.842 249.176 0 212.078-171.922 384-384 384-212.076 0-384-171.922-384-384s171.922-384 384-384c95.098 0 182.108 34.586 249.176 91.844-1-21.662 9.36-48.478 31.926-73.552l206.294-242.552c35.322-39.246 93.022-42.554 128.22-7.356s31.892 92.898-7.354 128.22zM384 320c-141.384 0-256 114.616-256 256s114.616 256 256 256 256-114.616 256-256-114.614-256-256-256zM192 640h384v-128h-384z" /> -<glyph unicode="" d="M128 64h896v-128h-1024v1024h128zM288 128c-53.020 0-96 42.98-96 96s42.98 96 96 96c2.828 0 5.622-0.148 8.388-0.386l103.192 171.986c-9.84 15.070-15.58 33.062-15.58 52.402 0 53.020 42.98 96 96 96s96-42.98 96-96c0-19.342-5.74-37.332-15.58-52.402l103.192-171.986c2.766 0.238 5.56 0.386 8.388 0.386 2.136 0 4.248-0.094 6.35-0.23l170.356 298.122c-10.536 15.408-16.706 34.036-16.706 54.11 0 53.020 42.98 96 96 96s96-42.98 96-96c0-53.020-42.98-96-96-96-2.14 0-4.248 0.094-6.35 0.232l-170.356-298.124c10.536-15.406 16.706-34.036 16.706-54.11 0-53.020-42.98-96-96-96s-96 42.98-96 96c0 19.34 5.74 37.332 15.578 52.402l-103.19 171.984c-2.766-0.238-5.56-0.386-8.388-0.386s-5.622 0.146-8.388 0.386l-103.192-171.986c9.84-15.068 15.58-33.060 15.58-52.4 0-53.020-42.98-96-96-96z" /> -<glyph unicode="" d="M288 576h-192c-17.6 0-32-14.4-32-32v-576c0-17.6 14.4-32 32-32h192c17.6 0 32 14.4 32 32v576c0 17.6-14.4 32-32 32zM288 0h-192v256h192v-256zM608 704h-192c-17.6 0-32-14.4-32-32v-704c0-17.6 14.4-32 32-32h192c17.6 0 32 14.4 32 32v704c0 17.6-14.4 32-32 32zM608 0h-192v320h192v-320zM928 832h-192c-17.6 0-32-14.4-32-32v-832c0-17.6 14.4-32 32-32h192c17.6 0 32 14.4 32 32v832c0 17.6-14.4 32-32 32zM928 0h-192v384h192v-384z" /> -<glyph unicode="" d="M800 832h-576c-53.020 0-96-42.98-96-96v-32h768v32c0 53.020-42.98 96-96 96zM632.32 896l14.116-101h-268.872l14.114 101h240.642zM640 960h-256c-26.4 0-50.99-21.392-54.642-47.538l-18.714-133.924c-3.654-26.146 14.956-47.538 41.356-47.538h320c26.4 0 45.010 21.392 41.358 47.538l-18.714 133.924c-3.654 26.146-28.244 47.538-54.644 47.538v0zM816 640h-608c-35.2 0-61.392-28.682-58.206-63.738l52.412-576.526c3.186-35.054 34.594-63.736 69.794-63.736h480c35.2 0 66.608 28.682 69.794 63.736l52.41 576.526c3.188 35.056-23.004 63.738-58.204 63.738zM384 64h-96l-32 448h128v-448zM576 64h-128v448h128v-448zM736 64h-96v448h128l-32-448z" /> -<glyph unicode="" d="M960 768v64l-448-128-448 128v-64l320-128v-256l-128-448h64l192 448 192-448h64l-128 448v256zM416 864c0 53.019 42.981 96 96 96s96-42.981 96-96c0-53.019-42.981-96-96-96s-96 42.981-96 96z" /> -<glyph unicode="" d="M976 192h-16v208c0 61.756-50.242 112-112 112h-272v128h16c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-160c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h16v-128h-272c-61.756 0-112-50.244-112-112v-208h-16c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-16v192h256v-192h-16c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-16v192h256v-192h-16c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48zM192 0h-128v128h128v-128zM576 0h-128v128h128v-128zM448 704v128h128v-128h-128zM960 0h-128v128h128v-128z" /> -<glyph unicode="" d="M1024 302.458c0 82.090-56.678 150.9-132.996 169.48-3.242 128.7-108.458 232.062-237.862 232.062-75.792 0-143.266-35.494-186.854-90.732-24.442 31.598-62.69 51.96-105.708 51.96-73.81 0-133.642-59.874-133.642-133.722 0-6.436 0.48-12.76 1.364-18.954-11.222 2.024-22.766 3.138-34.57 3.138-106.998 0.002-193.732-86.786-193.732-193.842 0-107.062 86.734-193.848 193.73-193.848l656.262 0.012c96.138 0.184 174.008 78.212 174.008 174.446z" /> -<glyph unicode="" d="M891.004 599.94c-3.242 128.698-108.458 232.060-237.862 232.060-75.792 0-143.266-35.494-186.854-90.732-24.442 31.598-62.69 51.96-105.708 51.96-73.81 0-133.642-59.874-133.642-133.722 0-6.436 0.48-12.76 1.364-18.954-11.222 2.024-22.766 3.138-34.57 3.138-106.998 0.002-193.732-86.786-193.732-193.842 0-107.062 86.734-193.848 193.73-193.848h99.76l218.51-218.51 218.51 218.51 119.482 0.012c96.138 0.184 174.008 78.212 174.008 174.446 0 82.090-56.678 150.9-132.996 169.482zM512 128l-192 192h128v192h128v-192h128l-192-192z" /> -<glyph unicode="" d="M892.268 573.51c2.444 11.11 3.732 22.648 3.732 34.49 0 88.366-71.634 160-160 160-14.222 0-28.014-1.868-41.132-5.352-24.798 77.352-97.29 133.352-182.868 133.352-87.348 0-161.054-58.336-184.326-138.17-22.742 6.622-46.792 10.17-71.674 10.17-141.384 0-256-114.616-256-256 0-141.388 114.616-256 256-256h128v-192h256v192h224c88.366 0 160 71.632 160 160 0 78.72-56.854 144.162-131.732 157.51zM576 320v-192h-128v192h-160l224 224 224-224h-160z" /> -<glyph unicode="" d="M896 448h-160l-224-224-224 224h-160l-128-256v-64h1024v64l-128 256zM0 64h1024v-64h-1024v64zM576 640v256h-128v-256h-224l288-288 288 288h-224z" /> -<glyph unicode="" d="M0 64h1024v-64h-1024zM1024 192v-64h-1024v64l128 256h256v-128h256v128h256zM224 640l288 288 288-288h-224v-256h-128v256z" /> -<glyph unicode="" d="M480 896c-265.096 0-480-214.904-480-480 0-265.098 214.904-480 480-480 265.098 0 480 214.902 480 480 0 265.096-214.902 480-480 480zM751.59 256c8.58 40.454 13.996 83.392 15.758 128h127.446c-3.336-44.196-13.624-87.114-30.68-128h-112.524zM208.41 576c-8.58-40.454-13.996-83.392-15.758-128h-127.444c3.336 44.194 13.622 87.114 30.678 128h112.524zM686.036 576c9.614-40.962 15.398-83.854 17.28-128h-191.316v128h174.036zM512 640v187.338c14.59-4.246 29.044-11.37 43.228-21.37 26.582-18.74 52.012-47.608 73.54-83.486 14.882-24.802 27.752-52.416 38.496-82.484h-155.264zM331.232 722.484c21.528 35.878 46.956 64.748 73.54 83.486 14.182 10 28.638 17.124 43.228 21.37v-187.34h-155.264c10.746 30.066 23.616 57.68 38.496 82.484zM448 576v-128h-191.314c1.88 44.146 7.666 87.038 17.278 128h174.036zM95.888 256c-17.056 40.886-27.342 83.804-30.678 128h127.444c1.762-44.608 7.178-87.546 15.758-128h-112.524zM256.686 384h191.314v-128h-174.036c-9.612 40.96-15.398 83.854-17.278 128zM448 192v-187.34c-14.588 4.246-29.044 11.372-43.228 21.37-26.584 18.74-52.014 47.61-73.54 83.486-14.882 24.804-27.75 52.418-38.498 82.484h155.266zM628.768 109.516c-21.528-35.876-46.958-64.746-73.54-83.486-14.184-9.998-28.638-17.124-43.228-21.37v187.34h155.266c-10.746-30.066-23.616-57.68-38.498-82.484zM512 256v128h191.314c-1.88-44.146-7.666-87.040-17.28-128h-174.034zM767.348 448c-1.762 44.608-7.178 87.546-15.758 128h112.524c17.056-40.886 27.344-83.806 30.68-128h-127.446zM830.658 640h-95.9c-18.638 58.762-44.376 110.294-75.316 151.428 42.536-20.34 81.058-47.616 114.714-81.272 21.48-21.478 40.362-44.938 56.502-70.156zM185.844 710.156c33.658 33.658 72.18 60.932 114.714 81.272-30.942-41.134-56.676-92.666-75.316-151.428h-95.898c16.138 25.218 35.022 48.678 56.5 70.156zM129.344 192h95.898c18.64-58.762 44.376-110.294 75.318-151.43-42.536 20.34-81.058 47.616-114.714 81.274-21.48 21.478-40.364 44.938-56.502 70.156zM774.156 121.844c-33.656-33.658-72.18-60.934-114.714-81.274 30.942 41.134 56.678 92.668 75.316 151.43h95.9c-16.14-25.218-35.022-48.678-56.502-70.156z" /> -<glyph unicode="" d="M874.040 810.038c96.702-96.704 149.96-225.28 149.96-362.040s-53.258-265.334-149.96-362.038c-96.706-96.702-225.28-149.96-362.040-149.96s-265.334 53.258-362.040 149.96c-96.702 96.704-149.96 225.278-149.96 362.038s53.254 265.336 149.96 362.040c96.706 96.704 225.28 149.962 362.040 149.962s265.334-53.258 362.040-149.962zM828.784 131.214c63.058 63.060 104.986 141.608 122.272 227.062-13.474-19.836-26.362-27.194-34.344 17.206-8.22 72.39-74.708 26.148-116.516 51.86-44.004-29.658-142.906 57.662-126.098-40.824 25.934-44.422 140.008 59.45 83.148-34.542-36.274-65.616-132.642-210.932-120.106-286.258 1.582-109.744-112.134-22.884-151.314 13.52-26.356 72.92-8.982 200.374-77.898 236.086-74.802 3.248-139.004 10.046-167.994 93.67-17.446 59.828 18.564 148.894 82.678 162.644 93.85 58.966 127.374-69.054 215.39-71.434 27.328 28.594 101.816 37.686 107.992 69.75-57.75 10.19 73.268 48.558-5.528 70.382-43.47-5.112-71.478-45.074-48.368-78.958-84.238-19.642-86.936 121.904-167.91 77.258-2.058-70.59-132.222-22.886-45.036-8.572 29.956 13.088-48.86 51.016-6.28 44.124 20.916 1.136 91.332 25.812 72.276 42.402 39.21 24.34 72.16-58.29 110.538 1.882 27.708 46.266-11.62 54.808-46.35 31.356-19.58 21.924 34.57 69.276 82.332 89.738 15.918 6.82 31.122 10.536 42.746 9.484 24.058-27.792 68.55-32.606 70.878 3.342-59.582 28.534-125.276 43.608-193.292 43.608-97.622 0-190.47-31.024-267.308-88.39 20.65-9.46 32.372-21.238 12.478-36.296-15.456-46.054-78.17-107.876-133.224-99.124-28.586-49.296-47.412-103.606-55.46-160.528 46.112-15.256 56.744-45.45 46.836-55.55-23.496-20.488-37.936-49.53-45.376-81.322 15.010-91.836 58.172-176.476 125.27-243.576 84.616-84.614 197.118-131.214 316.784-131.214 119.664 0 232.168 46.6 316.784 131.214z" /> -<glyph unicode="" d="M953.396 885.358l-4.028 4.042c-94.148 94.134-248.194 94.134-342.326 0l-218.106-218.136c-94.134-94.132-94.134-248.176 0-342.31l4.026-4.026c7.832-7.848 16.146-14.924 24.736-21.458l79.848 79.85c-9.302 5.494-18.126 12.072-26.116 20.060l-4.042 4.042c-51.114 51.098-51.114 134.272 0 185.39l218.128 218.112c51.116 51.118 134.274 51.118 185.386 0l4.042-4.024c51.1-51.116 51.1-134.292 0-185.39l-98.686-98.686c17.132-42.308 25.248-87.4 24.538-132.386l152.604 152.604c94.134 94.136 94.134 248.178-0.004 342.316zM631.042 571.066c-7.832 7.832-16.146 14.922-24.736 21.44l-79.848-79.832c9.304-5.496 18.126-12.074 26.116-20.062l4.042-4.040c51.116-51.116 51.116-134.272 0-185.388l-218.13-218.134c-51.118-51.102-134.276-51.102-185.388 0l-4.042 4.042c-51.098 51.12-51.098 134.276 0 185.388l98.688 98.686c-17.134 42.306-25.246 87.402-24.538 132.386l-152.602-152.598c-94.136-94.132-94.136-248.178 0-342.324l4.026-4.032c94.152-94.128 248.192-94.128 342.328 0l218.11 218.118c94.134 94.132 94.134 248.194 0 342.326l-4.026 4.024z" /> -<glyph unicode="" d="M832 787.694c76.466 0 145.092 41.622 192 73.106v-595.69c-46.908-31.486-115.534-73.11-192-73.11s-145.092 22.67-192 54.156c-46.908 31.48-115.534 54.15-192 54.15s-145.090-38.916-192-70.396v595.69c46.91 31.484 115.534 70.4 192 70.4s145.092-22.668 192-54.152c46.908-31.484 115.534-54.154 192-54.154zM128 960c35.346 0 64-28.654 64-64v-960h-128v960c0 35.346 28.654 64 64 64z" /> -<glyph unicode="" d="M697.832 632.952l-64.952 64.922-324.81-324.742c-53.814-53.792-53.814-141.048 0-194.844 53.804-53.792 141.060-53.792 194.874 0l389.772 389.708c89.714 89.662 89.714 235.062 0 324.726-89.666 89.704-235.112 89.704-324.782 0l-409.23-409.178c-0.29-0.304-0.612-0.576-0.876-0.846-125.102-125.096-125.102-327.856 0-452.906 125.054-125.056 327.868-125.056 452.988 0 0.274 0.274 0.516 0.568 0.82 0.876l0.032-0.034 279.332 279.292-64.986 64.92-279.33-279.262c-0.296-0.268-0.564-0.57-0.846-0.844-89.074-89.058-233.98-89.058-323.076 0-89.062 89.042-89.062 233.922 0 322.978 0.304 0.304 0.604 0.582 0.888 0.846l-0.046 0.060 409.28 409.166c53.712 53.738 141.144 53.738 194.886 0 53.712-53.734 53.712-141.148 0-194.84l-389.772-389.7c-17.936-17.922-47.054-17.922-64.972 0-17.894 17.886-17.894 47.032 0 64.92l324.806 324.782z" /> -<glyph unicode="" d="M512 768c-223.318 0-416.882-130.042-512-320 95.118-189.958 288.682-320 512-320 223.314 0 416.878 130.042 512 320-95.116 189.958-288.686 320-512 320zM764.45 598.296c60.162-38.374 111.142-89.774 149.434-150.296-38.292-60.522-89.274-111.922-149.436-150.298-75.594-48.216-162.89-73.702-252.448-73.702-89.56 0-176.856 25.486-252.45 73.704-60.16 38.372-111.14 89.772-149.434 150.296 38.292 60.524 89.274 111.924 149.434 150.296 3.918 2.5 7.876 4.922 11.858 7.3-9.958-27.328-15.408-56.822-15.408-87.596 0-141.384 114.616-256 256-256s256 114.616 256 256c0 30.774-5.45 60.268-15.408 87.598 3.98-2.378 7.938-4.802 11.858-7.302zM512 550c0-53.020-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96 96-42.98 96-96z" /> -<glyph unicode="" d="M839.322 663.584c77.644-55.030 141.37-129.092 184.678-215.584-95.122-189.958-288.686-320-512-320-62.566 0-122.792 10.212-179.178 29.084l77.956 77.956c33.058-7.3 66.972-11.040 101.222-11.040 89.558 0 176.854 25.486 252.446 73.704 60.162 38.376 111.144 89.776 149.436 150.298-37.052 58.566-86.014 108.55-143.65 146.494l69.090 69.088zM512 262c-22.724 0-44.752 2.976-65.728 8.534l313.186 313.184c5.562-20.972 8.542-42.994 8.542-65.718 0-141.384-114.616-256-256-256zM960 960h-53.738l-219.612-219.612c-55.076 17.924-113.754 27.612-174.65 27.612-223.318 0-416.882-130.042-512-320 42.658-85.192 105.128-158.308 181.194-213.068l-181.194-181.194v-53.738h53.738l906.262 906.262v53.738zM416 646c48.044 0 87.846-35.294 94.892-81.37l-109.524-109.524c-46.074 7.048-81.368 46.85-81.368 94.894 0 53.020 42.98 96 96 96zM110.116 448c38.292 60.524 89.274 111.924 149.434 150.296 3.918 2.5 7.876 4.922 11.858 7.3-9.958-27.328-15.408-56.822-15.408-87.596 0-58.524 19.65-112.448 52.698-155.562l-58.55-58.55c-56.072 37.642-103.754 86.772-140.032 144.112z" /> -<glyph unicode="" d="M1024 562.95l-353.78 51.408-158.22 320.582-158.216-320.582-353.784-51.408 256-249.538-60.432-352.352 316.432 166.358 316.432-166.358-60.434 352.352 256.002 249.538zM512 206.502l-223.462-117.48 42.676 248.83-180.786 176.222 249.84 36.304 111.732 226.396 111.736-226.396 249.836-36.304-180.788-176.222 42.678-248.83-223.462 117.48z" /> -<glyph unicode="" d="M1024 562.95l-353.78 51.408-158.22 320.582-158.216-320.582-353.784-51.408 256-249.538-60.432-352.352 316.432 166.358 316.432-166.358-60.434 352.352 256.002 249.538zM512 206.502l-0.942-0.496 0.942 570.768 111.736-226.396 249.836-36.304-180.788-176.222 42.678-248.83-223.462 117.48z" /> -<glyph unicode="" d="M1024 562.95l-353.78 51.408-158.22 320.582-158.216-320.582-353.784-51.408 256-249.538-60.432-352.352 316.432 166.358 316.432-166.358-60.434 352.352 256.002 249.538z" /> -<glyph unicode="" d="M928 384c73 0 32-192-32-192 32 0 0-160-64-160 0-64-64-96-128-96-270.352 0-175.264 67.65-448 96v512c240.922 72.268 480 253.424 480 416 53 0 192-64 0-384 0 0 160 0 192 0 96 0 64-192 0-192zM192 544v-512h64v-32h-128c-35.2 0-64 43.2-64 96v384c0 52.8 28.8 96 64 96h128v-32h-64z" /> -<glyph unicode="" d="M96 512c-73 0-32 192 32 192-32 0 0 160 64 160 0 64 64 96 128 96 270.352 0 175.264-67.65 448-96v-512c-240.922-72.268-480-253.424-480-416-53 0-192 64 0 384 0 0-160 0-192 0-96 0-64 192 0 192zM832 352v512h-64v32h128c35.2 0 64-43.2 64-96v-384c0-52.8-28.8-96-64-96h-128v32h64z" /> -<glyph unicode="" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM448 768h128v-128h-128v128zM640 128h-256v64h64v256h-64v64h192v-320h64v-64z" /> -<glyph unicode="" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM768 613.49l-165.488-165.49 165.488-165.488v-90.512h-90.512l-165.488 165.488-165.49-165.488h-90.51v90.512l165.49 165.488-165.49 165.49v90.51h90.51l165.49-165.49 165.488 165.49h90.512v-90.51z" /> -<glyph unicode="" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM416 128l-212 276 94 98 118-150 370 302 46-46-416-480z" /> -<glyph unicode="" d="M1014.662 137.34c-0.004 0.004-0.008 0.008-0.012 0.010l-310.644 310.65 310.644 310.65c0.004 0.004 0.008 0.006 0.012 0.010 3.344 3.346 5.762 7.254 7.312 11.416 4.246 11.376 1.824 24.682-7.324 33.83l-146.746 146.746c-9.148 9.146-22.45 11.566-33.828 7.32-4.16-1.55-8.070-3.968-11.418-7.31 0-0.004-0.004-0.006-0.008-0.010l-310.648-310.652-310.648 310.65c-0.004 0.004-0.006 0.006-0.010 0.010-3.346 3.342-7.254 5.76-11.414 7.31-11.38 4.248-24.682 1.826-33.83-7.32l-146.748-146.748c-9.148-9.148-11.568-22.452-7.322-33.828 1.552-4.16 3.97-8.072 7.312-11.416 0.004-0.002 0.006-0.006 0.010-0.010l310.65-310.648-310.65-310.652c-0.002-0.004-0.006-0.006-0.008-0.010-3.342-3.346-5.76-7.254-7.314-11.414-4.248-11.376-1.826-24.682 7.322-33.83l146.748-146.746c9.15-9.148 22.452-11.568 33.83-7.322 4.16 1.552 8.070 3.97 11.416 7.312 0.002 0.004 0.006 0.006 0.010 0.010l310.648 310.65 310.648-310.65c0.004-0.002 0.008-0.006 0.012-0.008 3.348-3.344 7.254-5.762 11.414-7.314 11.378-4.246 24.684-1.826 33.828 7.322l146.746 146.748c9.148 9.148 11.57 22.454 7.324 33.83-1.552 4.16-3.97 8.068-7.314 11.414z" /> -<glyph unicode="" d="M864 832l-480-480-224 224-160-160 384-384 640 640z" /> -<glyph unicode="" d="M0 544v-192c0-17.672 14.328-32 32-32h960c17.672 0 32 14.328 32 32v192c0 17.672-14.328 32-32 32h-960c-17.672 0-32-14.328-32-32z" /> -<glyph unicode="" d="M992 576h-352v352c0 17.672-14.328 32-32 32h-192c-17.672 0-32-14.328-32-32v-352h-352c-17.672 0-32-14.328-32-32v-192c0-17.672 14.328-32 32-32h352v-352c0-17.672 14.328-32 32-32h192c17.672 0 32 14.328 32 32v352h352c17.672 0 32 14.328 32 32v192c0 17.672-14.328 32-32 32z" /> -<glyph unicode="" d="M0 960v-1024h1024v1024h-1024zM960 0h-896v896h896v-896zM768 736l-320-320-192 192-128-128 320-320 448 448-128 128z" /> -<glyph unicode="" d="M0 960v-1024h1024v1024h-1024zM960 0h-896v896h896v-896z" /> -<glyph unicode="" d="M0 960v-1024h1024v1024h-1024zM960 0h-896v896h896v-896zM256 704h512v-512h-512z" /> -<glyph unicode="" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM512 64c-212.078 0-384 171.922-384 384s171.922 384 384 384c212.078 0 384-171.922 384-384s-171.922-384-384-384zM320 448c0 106.039 85.961 192 192 192s192-85.961 192-192c0-106.039-85.961-192-192-192s-192 85.961-192 192z" /> -<glyph unicode="" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM512 64c-212.078 0-384 171.922-384 384s171.922 384 384 384c212.078 0 384-171.922 384-384s-171.922-384-384-384z" /> -<glyph unicode="" d="M768 163.84h-665.6v460.8h132.864c0 0 35.277 45.875 111.104 102.4h-295.168c-28.262 0-51.2-22.938-51.2-51.2v-563.2c0-28.314 22.938-51.2 51.2-51.2h768c28.314 0 51.2 22.886 51.2 51.2v191.795l-102.4-84.224v-56.371zM684.134 519.68v-181.76l339.866 266.291-339.866 255.949v-160.256c-412.774-0.051-412.774-408.064-412.774-408.064 116.838 191.898 188.723 227.84 412.774 227.84z" /> -<glyph unicode="" d="M960-64h-128q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45v-128q0-27-18.5-45.5t-45.5-18.5zM960 320h-128q-26 0-45 18.5t-19 45.5v128q0 27 19 45.5t45 18.5h128q26 0 45-18.5t19-45.5v-128q0-27-18.5-45.5t-45.5-18.5zM960 704h-128q-26 0-45 19t-19 45v128q0 27 19 45.5t45 18.5h128q26 0 45-18.5t19-45.5v-128q0-26-18.5-45t-45.5-19zM576-64h-128q-27 0-45.5 19t-18.5 45v128q0 26 19 45t45 19h128q27 0 45.5-19t18.5-45v-128q0-27-18.5-45.5t-45.5-18.5zM576 320h-128q-27 0-45.5 18.5t-18.5 45.5v128q0 27 19 45.5t45 18.5h128q27 0 45.5-18.5t18.5-45.5v-128q0-27-18.5-45.5t-45.5-18.5zM576 704h-128q-27 0-45.5 19t-18.5 45v128q0 27 19 45.5t45 18.5h128q27 0 45.5-18.5t18.5-45.5v-128q0-26-18.5-45t-45.5-19zM192-64h-128q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45v-128q0-27-18.5-45.5t-45.5-18.5zM192 320h-128q-26 0-45 18.5t-19 45.5v128q0 27 19 45.5t45 18.5h128q26 0 45-18.5t19-45.5v-128q0-27-18.5-45.5t-45.5-18.5zM192 704h-128q-26 0-45 19t-19 45v128q0 27 19 45.5t45 18.5h128q26 0 45-18.5t19-45.5v-128q0-26-18.5-45t-45.5-19z" /> -<glyph unicode="" d="M271.001 391.764v-339.197h151.383v337.181l-75.66 64.058-75.723-62.042zM16.658 52.567h151.478v254.818l-151.478-124.178v-130.639zM779.655 52.567h151.489v545.623l-151.489-129.679v-415.945zM525.396 302.634v-250.067h151.341v327.912l-120.98-103.582-30.361 25.737zM740.331 872.379l123.154-120.452-307.728-263.516-209.033 177.004-330.889-271.339v-117.274l330.889 271.381 209.033-176.983 371.754 318.242 103.223-100.89v283.827h-290.404z" horiz-adv-x="1035" /> -<glyph unicode="" d="M710.502 972.8h-397.005c-57.498 0-104.499-47.002-104.499-104.499v-815.002c0-57.446 47.002-104.499 104.499-104.499h397.005c57.498 0 104.499 47.053 104.499 104.499v815.002c0 57.498-47.002 104.499-104.499 104.499zM512-9.421c-40.346 0-73.114 23.398-73.114 52.275s32.768 52.275 73.114 52.275c40.397 0 73.114-23.398 73.114-52.275s-32.717-52.275-73.114-52.275zM731.392 147.354h-438.835v689.613h438.835v-689.613z" /> -<glyph unicode="" d="M633.702 233.062c-127.539 45.978-168.294 84.787-168.294 167.885 0 49.869 38.963 33.587 56.064 124.928 7.117 37.888 41.523 0.614 48.026 87.091 0 34.458-18.739 43.059-18.739 43.059s9.574 51.046 13.261 90.266c4.608 48.947-28.57 175.309-205.619 175.309s-210.227-126.362-205.619-175.309c3.738-39.27 13.312-90.266 13.312-90.266s-18.79-8.55-18.79-43.059c6.605-86.477 41.011-49.203 48.026-87.091 17.152-91.341 56.115-75.059 56.115-124.928 0-83.098-40.806-121.907-168.346-167.885-15.36-5.478-51.968-14.080-83.098-27.546v-205.517h819.2c0 0 0 75.725 0 107.776s-57.498 79.155-185.498 125.286zM870.4 512v153.6h-102.4v-153.6h-153.6v-102.4h153.6v-153.6h102.4v153.6h153.6v102.4h-153.6z" /> -<glyph unicode="" d="M819.2 512h-614.4c-28.262 0-51.2-22.938-51.2-51.2s22.938-51.2 51.2-51.2h614.4c28.314 0 51.2 22.938 51.2 51.2s-22.886 51.2-51.2 51.2zM204.8 614.4h614.4c28.314 0 51.2 22.938 51.2 51.2s-22.886 51.2-51.2 51.2h-614.4c-28.262 0-51.2-22.938-51.2-51.2s22.938-51.2 51.2-51.2zM819.2 307.2h-614.4c-28.262 0-51.2-22.886-51.2-51.2s22.938-51.2 51.2-51.2h614.4c28.314 0 51.2 22.886 51.2 51.2s-22.886 51.2-51.2 51.2z" /> -<glyph unicode="" d="M369.818 416.256h286.72v92.16h-286.72v-92.16zM768 921.6h-512c-56.32 0-102.4-46.080-102.4-102.4v-716.8c0-56.32 46.080-102.4 102.4-102.4h512c56.32 0 102.4 46.080 102.4 102.4v716.8c0 56.32-46.080 102.4-102.4 102.4zM768 102.4h-512v716.8h512v-716.8zM655.36 708.147h-286.72v-89.6h286.72v89.6zM655.36 306.176h-286.72v-89.6h286.72v89.6z" /> -<glyph unicode="" d="M768 921.6h-512c-56.32 0-102.4-46.080-102.4-102.4v-716.8c0-56.32 46.080-102.4 102.4-102.4h512c56.32 0 102.4 46.080 102.4 102.4v716.8c0 56.32-46.080 102.4-102.4 102.4zM297.574 708.147h428.8v-89.6h-428.8v89.6zM726.374 216.576h-428.8v89.6h428.8v-89.6zM727.603 416.256h-428.8v92.16h428.8v-92.16z" /> -<glyph unicode="" d="M768 921.6h-512c-56.32 0-102.4-46.080-102.4-102.4v-716.8c0-56.32 46.080-102.4 102.4-102.4h512c56.32 0 102.4 46.080 102.4 102.4v716.8c0 56.32-46.080 102.4-102.4 102.4zM768 102.4h-512v716.8h512v-716.8z" /> -<glyph unicode="" d="M993.178 593.203l-381.184 102.093-66.714 248.934c-5.581 20.787-27.853 32.922-49.766 27.034l-464.64-124.467c-21.914-5.837-35.123-27.494-29.594-48.282l165.325-617.062c5.581-20.787 27.853-32.922 49.715-27.034l184.986 49.562-25.242-94.106c-5.581-20.838 7.629-42.445 29.542-48.333l415.232-111.258c21.914-5.837 44.186 6.246 49.766 27.034l152.115 567.603c5.581 20.787-7.629 42.445-29.542 48.282zM83.661 786.842l400.845 107.315 148.429-553.882-400.896-107.315-148.378 553.882zM802.765 27.392l-348.928 95.437 27.443 102.554 199.731 53.504c21.914 5.888 35.174 27.494 29.594 48.333l-77.21 288.102 304.435-83.507-135.066-504.422z" /> -<glyph unicode="" d="M399.36 344.525l-204.8 81.971v-69.325l204.8-81.971v69.325zM399.36 557.261l-204.8 81.92v-69.325l204.8-81.92v69.325zM950.323 912.794c-14.029 9.523-31.949 11.469-47.718 5.171l-390.605-156.262-390.605 156.262c-15.77 6.298-33.638 4.352-47.718-5.171-14.029-9.523-22.477-25.395-22.477-42.394v-655.36c0-20.941 12.749-39.731 32.154-47.565l408.73-163.482c0 0 8.397-2.714 9.933-3.021 3.328-0.614 6.656-0.973 9.984-0.973 3.277 0 6.656 0.358 9.933 1.024 1.536 0.307 9.933 3.072 9.933 3.072l408.678 163.43c19.507 7.782 32.256 26.573 32.256 47.514v655.36c0 16.998-8.448 32.87-22.477 42.394zM460.8 104.755l-327.68 131.072v573.85l327.68-131.123v-573.798zM890.88 235.776l-327.68-131.072v573.85l327.68 131.123v-573.901zM829.44 426.496l-204.851-81.971v-69.325l204.851 81.971v69.325zM829.44 639.181l-204.851-81.92v-69.325l204.851 81.92v69.325z" /> -<glyph unicode="" d="M135.637 346.877l38.947 166.578h1.316l22.143-93.019 16.415-73.585h63.39l61.453 210.43h-57.067l-25.577-93.174c-1.265-5.523-3.354-16.158-6.298-31.902-2.917-15.769-4.955-28.159-6.091-37.193h-1.161c-0.103 3.535-0.594 8.182-1.419 14.040-0.826 5.885-1.755 11.795-2.787 17.912-1.009 6.040-2.067 11.795-3.148 17.188s-1.884 9.473-2.4 12.234l-25.010 100.891h-64.137l-26.353-100.891-3.045-16.002c-3.924-20.726-6.169-35.85-6.684-45.399h-1.134c-4.078 29.398-8.077 52.42-12.028 69.119l-24.623 93.174h-58.020l60.706-210.43h62.616zM584.992 432.231c-2.942-15.769-5.009-28.159-6.143-37.193h-1.161c-0.103 3.535-0.541 8.182-1.419 14.040-0.799 5.885-1.703 11.795-2.735 17.912-1.031 6.040-2.067 11.795-3.174 17.188-1.085 5.394-1.884 9.473-2.374 12.234l-25.035 100.891h-64.111l-26.353-100.891-3.045-16.002c-3.949-20.726-6.169-35.85-6.684-45.399h-1.134c-4.078 29.398-8.077 52.42-12.028 69.119l-24.623 93.174h-58.020l60.706-210.43h62.616l38.921 166.578h1.342l22.143-93.019 16.44-73.585h63.337l61.479 210.43h-57.067l-25.577-93.174c-1.291-5.497-3.381-16.13-6.298-31.876zM869.701 222.111h-84.864c7.072 22.377 12.777 45.993 17.757 70.126h-82.283c-4.335-24.416-9.343-48.136-15.769-70.126h-386.221c-6.452 21.99-11.434 45.71-15.796 70.126h-82.283c5.009-24.133 10.685-47.749 17.757-70.126h-84.889c-13.962 22.042-25.759 45.581-35.515 70.126h-79.546c65.454-198.996 252.5-342.783 473.382-342.783 220.908 0 407.953 143.787 473.408 342.783h-79.622c-9.756-24.545-21.55-48.058-35.515-70.126zM216.242 144.19h52.188c11.513-24.106 24.133-46.742 38.095-67.055-33.037 18.3-63.39 40.935-90.283 67.055zM511.432 24.225c-70.773 0-125.489 45.815-162.99 119.94h325.981c-37.501-74.125-92.22-119.94-162.99-119.94zM716.338 77.16c13.962 20.313 26.585 42.948 38.095 67.029h52.163c-26.893-26.119-57.221-48.728-90.258-67.029zM153.137 673.889h84.889c-7.072-22.377-12.777-45.993-17.757-70.1h82.283c4.335 24.416 9.343 48.136 15.769 70.1h386.221c6.427-21.965 11.434-45.684 15.769-70.1h82.283c-4.982 24.133-10.66 47.749-17.757 70.1h84.864c13.939-22.042 25.732-45.581 35.515-70.1h79.597c-65.454 198.969-252.474 342.757-473.382 342.757-220.882 0-407.927-143.787-473.382-342.757h79.574c9.782 24.545 21.577 48.058 35.515 70.1zM806.62 751.81h-52.188c-11.485 24.106-24.133 46.742-38.095 67.055 33.037-18.3 63.362-40.935 90.283-67.055zM511.432 871.775c70.773 0 125.489-45.838 162.99-119.965h-325.981c37.501 74.153 92.22 119.965 162.99 119.965zM306.552 818.889c-13.988-20.339-26.611-42.974-38.095-67.080h-52.213c26.893 26.119 57.221 48.756 90.31 67.080zM925.89 464.13c-1.291-5.523-3.381-16.158-6.298-31.902-2.917-15.769-4.955-28.159-6.091-37.193h-1.161c-0.13 3.535-0.594 8.182-1.446 14.040-0.826 5.885-1.729 11.795-2.762 17.912-1.009 6.040-2.067 11.795-3.174 17.188-1.058 5.394-1.832 9.473-2.323 12.234l-25.062 100.891h-64.111l-26.353-100.891-3.072-16.002c-3.924-20.726-6.143-35.85-6.659-45.399h-1.161c-4.026 29.398-8.054 52.42-12.028 69.119l-24.623 93.174h-58.020l60.706-210.43h62.616l38.947 166.578h1.342l22.143-93.019 16.415-73.585h63.39l61.453 210.43h-57.067l-25.604-93.149z" /> -<glyph unicode="" d="M646.639 324.415v0l-0.066-0.044-204.557-66.461 66.461 204.602h0.066l370.622 370.578 138.097-138.097-370.622-370.578zM536.312 445.402l-44.879-138.097 138.119 44.836-93.239 93.261zM246.201 739.323c-17.771 0-32.239-14.468-32.239-32.261v-516.448c0-17.816 14.49-32.284 32.239-32.284h515.919c17.771 0 32.239 14.468 32.239 32.284v189.627l96.806 96.785v-286.411c0-71.262-57.762-129.046-129.024-129.046h-515.942c-71.239 0-129.024 57.785-129.024 129.046v516.448c-0.022 71.262 57.762 129.024 129.024 129.024h515.919c8.699 0 17.132-0.881 25.369-2.51l-94.23-94.252h-447.059z" /> -<glyph unicode="" d="M447.986 633.604l456.958-358.2-195.223-33.213 124.153-253.094-113.838-55.635-124.869 255.505-147.177-133.635v578.27zM385.332 387.695c-109.716 27.966-191.090 127.606-191.090 245.906 0 139.916 113.827 253.747 253.745 253.747 139.914 0 253.747-113.829 253.747-253.747 0-36.407-7.727-71.038-21.593-102.366l60.687-47.572c23.069 44.964 36.089 95.928 36.089 149.94 0 181.666-147.267 328.932-328.93 328.932s-328.928-147.267-328.928-328.93c0-160.234 114.582-293.686 266.275-322.941v77.033zM447.986 804.479c-94.367 0-170.872-76.505-170.872-170.874 0-72.242 44.858-133.971 108.217-158.966v55.78c-34.809 21.212-58.097 59.528-58.097 103.187 0 66.584 54.169 120.751 120.748 120.751 66.584 0 120.748-54.169 120.748-120.751 0-4.858-0.322-9.641-0.883-14.354l43.903-34.414c4.598 15.455 7.102 31.814 7.102 48.765 0 94.37-76.498 170.874-170.874 170.874z" /> -<glyph unicode="" d="M1009.316 458.888c0.734-34.023-1.9-67.484-7.967-100.797l-105.829 27.192c3.981 24.612 5.567 49.001 4.89 73.605h108.905zM983.155 287.816l-105.88 27.207c-8.637-23.793-19.532-46.5-32.418-67.873l88.937-63.226c20.242 32.339 36.898 67.142 49.362 103.892zM801.218 42.724c33.171 23.798 63.294 51.576 89.687 82.622l-89.17 63.389c-16.868-18.9-35.541-36.146-55.762-51.463l55.243-94.547zM12.542 448c0-275.291 223.165-498.456 498.456-498.456 82.284 0 159.903 19.95 228.308 55.259l-55.043 94.215c-52.191-25.963-111.015-40.587-173.265-40.587-215.155 0-389.57 174.414-389.57 389.57s174.414 389.57 389.57 389.57c105.955 0 211.692-42.311 281.923-110.948l-86.773-86.771 305.312-55.73-55.73 305.309-85.805-85.803c-89.935 88.335-222.904 142.827-358.926 142.827-275.291 0-498.456-223.165-498.456-498.456zM639.133 303.961v63.402h-115.846v57.827l121.58 163.172h57.538v-164.77h36.403v-56.226h-36.403v-63.402h-63.27zM639.133 423.589v75.719l-56.402-75.719h56.402zM292.169 303.961c0 42.921 12.321 76.319 55.144 108.041 50.428 37.352 88.883 52.018 88.883 86.603 0 22.853-13.749 37.052-35.876 37.052-30.841 0-38.223-32.286-38.223-63.011h-63.493c-2.674 79.577 42.494 121.194 104.455 121.194 57.45 0 99.153-38.242 99.153-90.927 0-26.295-8.167-47.148-25.699-65.628-27.781-29.269-69.377-44.033-96.666-75.141h123.932v-58.182h-211.607z" /> -<glyph unicode="" d="M854.117 781.601c0-24.281-19.684-43.968-43.965-43.968s-43.966 19.685-43.966 43.968v110.65c0 24.279 19.687 43.965 43.966 43.965s43.965-19.685 43.965-43.965v-110.65zM260.084 892.449c0 24.281-19.685 43.966-43.965 43.966-24.283 0-43.968-19.687-43.968-43.966v-110.65c0-24.281 19.684-43.966 43.968-43.966 24.279 0 43.965 19.685 43.965 43.966v110.65zM907.263 828.253v-45.045c0-53.547-43.565-97.111-97.111-97.111s-97.113 43.565-97.113 97.111v45.045h-399.812v-44.844c0-53.547-43.565-97.111-97.109-97.111-53.547 0-97.111 43.565-97.111 97.111v44.844h-105.463v-868.67h996.913v868.67h-103.196zM913.671 56.369h-803.335v538.309h803.335v-538.309zM536.587 256.416c0 35.644-18.587 63.489-49.331 75.311 23.51 11.74 37.173 35.854 37.173 66.807 0 59.8-58.322 95.534-114.702 95.534-65.613 0-115.154-41.098-118.155-122.816h73.065c-0.629 33.805 12.068 58.435 45.558 58.435 19.959 0 41.443-12.087 41.443-38.635 0-33.506-36.275-38.312-69.658-35.395v-56.873c47.441 0 75.736-3.010 75.736-43.779 0-32.182-24.337-46.585-48.454-46.585-36.58 0-51.517 27.287-52.833 64.516h-72.542c-1.374-84.077 49.573-128.427 126.31-128.427 68.563 0.004 126.391 41.912 126.391 111.905zM728.264 150.599v336.928h-61.838c-7.669-51.269-44.228-66.267-96.507-64.85v-59.835h82.279v-212.238h76.066z" /> -<glyph unicode="" d="M370.334 351.332h-142.531v142.529h142.531v-142.529zM585.685 493.86h-142.529v-142.529h142.529v142.529zM801.037 493.86h-142.531v-142.529h142.531v142.529zM370.334 285.767h-142.531v-142.534h142.531v142.534zM585.685 285.767h-142.529v-142.534h142.529v142.534zM801.035 285.767h-142.529v-142.534h142.529v142.534zM854.117 781.601c0-24.281-19.684-43.967-43.965-43.967s-43.967 19.686-43.967 43.967v110.65c0 24.279 19.686 43.965 43.967 43.965s43.965-19.686 43.965-43.965v-110.65zM260.084 892.449c0 24.281-19.686 43.967-43.965 43.967-24.283 0-43.967-19.686-43.967-43.967v-110.648c0-24.281 19.684-43.967 43.967-43.967 24.279 0 43.965 19.686 43.965 43.967v110.648zM907.262 828.253v-45.046c0-53.547-43.565-97.112-97.11-97.112-53.547 0-97.112 43.565-97.112 97.112v45.046h-399.812v-44.844c0-53.547-43.565-97.112-97.11-97.112-53.547 0-97.112 43.565-97.112 97.112v44.844h-105.463v-868.669h996.913v868.669h-103.194zM913.669 56.371h-803.337v538.311h803.337v-538.311z" /> -<glyph unicode="" d="M1008.863-22.575c-6.879 6.881-13.791 13.108-20.699 19.991-19.989 26.925-44.839 50.356-71.767 69.661-22.066 15.213-70.344 35.883-79.302 61.417 0 0-0.71 0.654-1.365 1.365 15.156 1.394 33.096 6.91 47.599 11.060 23.457 6.198 44.841 4.806 68.951 11.033 11.060 2.729 22.066 6.198 33.154 9.639v6.229c-12.426 12.397-21.38 28.947-34.519 40.661-35.142 30.367-73.815 60.051-113.821 84.874-21.38 13.791-48.991 22.774-71.738 34.488-8.301 4.154-22.092 6.2-26.899 13.11-12.426 15.156-19.334 35.173-28.29 53.114-19.991 37.948-39.325 80.014-56.555 120.021-12.397 26.913-20.018 53.812-35.173 78.648-71.057 117.26-148.325 188.317-266.979 257.994-25.505 14.487-55.858 20.686-88.287 28.278-17.247 0.698-34.49 2.077-51.737 2.758-11.047 4.835-22.066 17.943-31.732 24.14-39.31 24.851-140.717 78.648-169.707 7.591-18.624-44.841 27.611-88.985 43.462-111.744 11.743-15.866 26.899-33.806 35.202-51.737 4.804-11.729 6.198-24.155 11.018-36.565 11.033-30.353 21.38-64.147 35.883-92.439 7.577-14.472 15.851-29.671 25.519-42.764 5.516-7.591 15.182-11.047 17.23-23.443-9.654-13.805-10.323-34.504-15.851-51.749-24.853-77.935-15.185-174.526 19.989-231.791 11.060-17.233 37.262-55.162 72.45-40.659 31.036 12.395 24.126 51.72 33.096 86.21 2.075 8.275 0.696 13.791 4.819 19.307 0-0.681 0-1.391 0-1.391 9.666-19.307 19.336-37.931 28.305-57.239 21.382-33.809 58.645-69.009 89.678-92.439 16.551-12.395 29.657-33.806 50.343-41.4v2.077c-0.696 0-0.696 0-1.365 0-4.166 6.227-10.349 8.956-15.878 13.791-12.412 12.424-26.217 27.609-35.871 41.4-28.959 38.613-54.478 81.406-77.254 125.564-11.047 21.38-20.713 44.81-29.671 66.193-4.137 8.301-4.137 20.697-11.031 24.836-10.349-15.156-25.519-28.278-33.125-46.902-13.108-29.657-14.458-66.221-19.293-104.153-2.773-0.712-1.394 0-2.773-1.396-22.078 5.516-29.657 28.294-37.931 47.602-20.686 48.962-24.155 127.624-6.227 184.192 4.833 14.487 25.548 60.009 17.274 73.8-4.166 13.108-17.943 20.686-25.548 31.050-8.956 13.108-18.624 29.657-24.822 44.143-16.535 38.627-24.851 81.406-42.75 120.033-8.301 17.941-22.776 36.565-34.519 53.099-13.108 18.638-27.567 31.746-37.931 53.81-3.442 7.591-8.275 20.018-2.744 28.292 1.365 5.516 4.137 7.577 9.625 8.956 8.985 7.606 34.519-2.062 43.489-6.198 25.517-10.335 46.902-20.003 68.284-34.492 9.654-6.895 20.018-20.003 32.429-23.457h14.489c22.078-4.819 46.902-1.379 67.586-7.591 36.567-11.714 69.663-28.959 99.347-47.597 90.349-57.251 164.831-138.659 215.215-235.902 8.275-15.866 11.716-30.367 19.334-46.916 14.445-33.806 32.415-68.284 46.858-101.411 14.501-32.398 28.321-65.524 49.020-92.451 10.351-14.472 51.693-22.066 70.346-29.628 13.791-6.2 35.171-11.743 47.597-19.336 23.43-14.472 46.916-31.048 68.982-46.916 11.033-8.246 45.549-25.505 47.597-39.294-55.162 1.365-97.982-4.152-133.836-19.334-10.323-4.125-26.899-4.125-28.263-17.233 5.545-5.516 6.2-14.474 11.004-22.092 8.301-13.791 22.805-32.386 35.883-42.054 14.501-11.060 29.002-22.066 44.158-31.73 26.899-16.551 57.239-26.217 83.454-42.766 15.182-9.668 30.367-22.066 45.549-32.444 7.564-5.516 12.397-14.472 22.066-17.939v2.104c-4.835 6.198-6.2 15.154-11.035 22.061zM236.261 778.292c-11.714 0-19.989-1.365-28.261-3.442 0 0 0-0.696 0-1.379 0.667 0 0.667 0 1.365 0 5.516-11.047 15.185-18.624 22.066-28.292 5.531-11.047 10.364-22.066 15.893-33.111 0.654 0.696 1.35 1.379 1.35 1.379 9.668 6.895 14.501 17.941 14.501 34.49-4.137 4.833-4.835 9.654-8.275 14.487-4.137 6.912-13.11 10.351-18.638 15.868z" /> -<glyph unicode="" d="M821.217 723.345c7.313-17.036 14.825-34.975 13.314-53.946 0.297-38.747-12.953-76.525-8.987-115.388 3.772-41.158 12.625-83.25 2.133-124.143-2.952-14.495-10.529-27.384-15.742-41.024 0.392-1.967 1.148-5.935 1.54-7.87 4.984 6.427 9.478 13.149 13.609 20.135 41.815 70.885 75.101 147.016 97.041 226.446 11.479 42.927 20.463 87.036 19.908 131.636-0.789 18.725-2.331 39.174-14.495 54.423-25.482 31.909-59.392 57.113-97.596 71.608-55.193 20.759-116.585 22.35-173.843 10.052 13.085-9.051 27.776-15.348 40.896-24.365 53.843-36.063 95.853-88.566 122.221-147.563zM767.205 399.794c-30.072 62.063-70.739 120.716-83.299 189.733-5.376 29.039-2.296 63.587 21.713 83.823 26.463 22.759 63.587 21.43 96.349 20.267-19.71 55.684-56.277 105.22-102.514 141.77-55.981 44.075-129.998 63.441-200.44 54.489-42.698-5.558-82.709-28.645-108.484-63.228-35.091-46.47-50.405-105.057-54.867-162.316 35.287 16.465 75.002 31.876 114.387 21.956 25.612-6.15 44.831-28.499 50.438-53.766 11.51-50.651 17.709-104.023 6.46-155.33-8.657-41.435-33.91-77.262-42.304-118.782 10.692-0.851 21.807-1.573 31.352-6.951 19.644-10.69 30.99-33.647 29.743-55.75-1.476-56.504-1.377-113.043 1.606-169.482 1.74-23.35 2.393-47.094 8.593-69.787 8.429-27.089 27.221-54.898 57.063-60.146 31.416-4.821 63.882 4.098 91.79 18.3 27.287 14.363 39.55 45.058 44.243 73.918 9.87 60.276 16.69 120.946 23.643 181.615 2.985 21.644-1.28 45.386 10.822 64.867 6.885 12.527 20.43 18.366 32.599 24.533-10.168 13.050-20.924 25.707-28.893 40.266zM302.836 496.834c5.149 36.909 6.132 74.296 3.871 111.5-3.935 52.8 3.607 106.285 20.003 156.527 12.102 37.632 32.762 72 59.326 101.188-60.212 18.366-124.554 31.172-187.289 19.086-39.156-7.329-76.476-29.762-96.448-64.95-26.727-46.47-29.646-102.45-24.956-154.626 9.379-68.589 25.711-136.064 45.027-202.455 17.249-56.095 36.139-112.634 67.392-162.645 11.576-17.020 24.826-36.007 45.585-42.009 17.773-3.673 31.843 10.952 42.273 23.251 23.612 29.155 49.453 56.308 73.819 84.839-35.78 32.531-55.129 82.083-48.603 130.292zM725.884 653.050c-18.17-14.249-17.249-40.157-13.545-60.653 13.085-64.376 50.632-119.552 79.69-177.352 21.677 43.567 8.33 92.955 4.986 138.901-3.708 37.122 7.674 73.278 8.82 110.173-26.661 1.656-56.865 5.312-79.95-11.068zM741.626 625.683c-6.592 2.985-14.924 12.414-7.215 18.725 13.085 9.346 31.253 10.036 45.684 3.311-0.526-18.298-22.464-31.449-38.468-22.037zM462.086 435.181c30.497 60.030 25.579 130.554 9.641 193.961-4.362 17.856-21.087 30.695-39.255 31.482-35.058 2.017-68.868-12.643-97.792-31.352 0.59-30.941 2.787-61.933 0.687-92.874-0.952-27.351-8.954-54.815-2.82-82.102 8.987-48.273 52.11-91.101 102.842-90.61 7.445 24.334 16.070 48.341 26.696 71.494zM407.81 633.389c-0.886 5.378 3.739 8.396 8.165 9.953 13.642 3.656 30.008 1.901 41.255-7.23 7.87-6.396 0.687-17.003-6.134-20.841-15.509-11.429-40.105-0.262-43.287 18.118zM818.593 329.222c-8.69 6.033-19.384 0.917-26.89-4.594-9.445-8.789-8.791-22.757-8.919-34.597 20.889-7.149 43.353-6.396 64.995-3.805 32.665 3.51 65.92 14.462 89.891 37.781-39.255-4.755-82.149-14.233-119.077 5.215zM469.366 328.826c-19.809-12.92-28.236-38.041-49.42-49.451-21.907-12.924-48.471-12.1-71.197-22.629 46.043-23.48 109.795-15.218 141.638 27.875 16.299 15.185 0.524 47.259-21.021 44.205zM1004.996 345.553c-5.673 23.94-30.891 38.435-54.536 36.895-24.072-1.575-47.422-9.315-71.721-9.315 53.979 93.793 96.153 195.324 115.634 302.086 7.379 44.503 12.298 91.186 0 135.294-6.854 25.662-25.416 45.651-43.681 63.95-41.29 40.943-95.564 67.72-152.626 78.002-62.836 11.937-127.769 5.066-189.159-11.035-42.963 5.888-87.102 9.889-129.996 1.181-25.22-4.098-48.242-15.414-71.263-25.761-71.23 22.249-147.741 36.843-221.987 21.741-52.373-10.248-101.335-40.977-129.276-86.986-34.762-56.178-40.533-125.095-35.32-189.504 9.247-72.458 26.432-143.705 46.666-213.836 18.331-60.703 39.123-121.47 72.213-175.911 19.086-30.303 44.503-60.408 80.413-70.212 28.236-7.969 58.636 1.441 80.706 19.776 11.413-11.020 24.727-20.137 39.781-25.383 42.894-14.726 90.971-14.757 133.244 2.23 2.525-58.407 0.394-118.846 21.71-174.334 8.623-26.5 23.711-52.21 47.715-67.491 25.974-17.315 59.031-20.265 89.138-14.823 27.547 5.213 55.455 12.298 79.525 27.285 25.121 15.414 44.274 39.222 56.407 65.918 27.221 59.782 28.532 126.782 32.27 191.257 62.408-3.607 128.685 10.43 176.469 52.963 18.756 15.808 34.791 40.504 27.675 66.015zM963.38 307.774c-47.552-46.503-119.569-58.702-183.222-47.946-6.427-56.865-13.184-113.732-22.070-170.335-4.92-31.614-15.445-64.506-40.173-86.315-23.253-20.333-53.882-29.285-83.658-34.925-30.334-5.281-64.407-0.952-88.314 19.906-25.319 22.431-39.746 55.651-42.927 89.003-6.46 56.931-6.722 114.354-6.559 171.613-27.351-23.579-63.719-35.712-99.759-32.958-25.383 2.1-53.554 6.101-72.64 24.661-10.56 9.641-9.97 28.005 1.771 36.402 20.397 15.381 47.486 14.2 70.606 23.087 17.152 5.052 26.007 21.71 36.796 34.533-19.906 1.476-39.387 6.528-57.325 15.35-27.483-29.252-53.946-59.489-79.69-90.349-14.887-17.806-36.86-32.859-61.161-29.907-27.318 3.342-47.616 24.727-62.9 45.977-30.072 43.258-48.667 93.137-65.59 142.689-25.678 79.428-45.814 160.89-57.522 243.629-5.77 62.326-0.853 130.228 35.45 183.387 28.728 42.632 78.97 65.85 129.014 71.065 67.293 7.050 135.244-6.689 198.439-29.45 52.668 35.157 119.635 40.008 180.338 27.695 5.444-0.69 10.855-3.165 16.396-2.050 66.901 20.662 139.869 26.17 207.851 7.723 54.472-14.627 103.862-47.372 137.934-92.317 13.774-18.645 16.89-42.616 17.906-65.162 1.28-40.256-5.673-80.231-14.724-119.339-24.892-102.877-69.393-200.357-125.964-289.623 31.711-13.578 67.262-6.757 99.958-0.952 13.642 2.69 31.22 5.969 41.517-5.971 10.031-13.015 0.39-29.578-9.778-39.121z" /> -<glyph unicode="" d="M897.028 778.023h-770.056c-60.781 0-110.007-49.23-110.007-110.007v-440.033c0-60.781 49.23-110.007 110.007-110.007h770.056c60.781 0 110.007 49.23 110.007 110.007v440.033c0 60.781-49.23 110.007-110.007 110.007zM897.028 227.982h-770.056v440.033h770.056v-440.033z" /> -<glyph unicode="" d="M576 896c247.424 0 448-200.576 448-448s-200.576-448-448-448v96c94.024 0 182.418 36.614 248.902 103.098s103.098 154.878 103.098 248.902c0 94.022-36.614 182.418-103.098 248.902s-154.878 103.098-248.902 103.098c-94.022 0-182.418-36.614-248.902-103.098-51.14-51.138-84.582-115.246-97.306-184.902h186.208l-224-256-224 256h164.57c31.060 217.102 217.738 384 443.43 384zM768 512v-128h-256v320h128v-192z" /> -<glyph unicode="" d="M18.549 9.382v183.372h972.122v-183.372h-972.122zM122.067 137.235h-44.448v-73.747h44.448v73.747zM202.545 137.235h-44.434v-73.747h44.434v73.747zM283.068 137.235h-44.434v-73.747h44.434v73.747zM931.177 124.83h-286.495v-47.725h286.495v47.725zM18.549 430.786h972.122v-183.372h-972.122v183.372zM644.682 315.143h286.495v47.759h-286.495v-47.759zM238.633 301.555h44.434v73.747h-44.434v-73.747zM158.113 301.555h44.434v73.747h-44.434v-73.747zM77.622 301.555h44.448v73.747h-44.448v-73.747zM18.549 668.862h61.047l198.112 269.452h453.835l198.112-269.452h61.012v-183.37h-972.127v183.37zM644.682 553.217h286.495v47.741h-286.495v-47.741zM238.633 539.63h44.434v73.726h-44.434v-73.726zM158.113 539.63h44.434v73.726h-44.434v-73.726zM77.622 539.63h44.448v73.726h-44.448v-73.726z" /> -<glyph unicode="" d="M2.852 580.862h132.418l136.925-97.002h587.18l159.346-112.866h-719.562l-296.303 209.868zM2.852 778.407h719.584l296.288-209.881h-719.566l-296.303 209.881zM250.2 301.921l21.994-15.58h587.18l159.346-112.866h-719.562l-296.303 209.864h132.418l114.932-81.416z" /> -<glyph unicode="" d="M877.254 173.254l-530.744 530.746h229.49c35.346 0 64 28.654 64 64s-28.654 64-64 64h-384c-25.886 0-49.222-15.592-59.128-39.508-3.282-7.924-4.84-16.242-4.838-24.492h-0.034v-384c0-35.346 28.654-64 64-64s64 28.654 64 64v229.49l530.746-530.744c12.496-12.498 28.876-18.746 45.254-18.746s32.758 6.248 45.254 18.746c24.994 24.992 24.994 65.516 0 90.508z" /> -<glyph unicode="" d="M877.254 557.254l-320 320c-24.992 24.994-65.514 24.994-90.508 0l-320-320c-24.994-24.994-24.994-65.516 0-90.51 24.994-24.996 65.516-24.996 90.51 0l210.744 210.746v-613.49c0-35.346 28.654-64 64-64s64 28.654 64 64v613.49l210.746-210.746c12.496-12.496 28.876-18.744 45.254-18.744s32.758 6.248 45.254 18.746c24.994 24.994 24.994 65.514 0 90.508z" /> -<glyph unicode="" d="M237.254 82.746l530.746 530.744v-229.49c0-35.346 28.654-64 64-64s64 28.654 64 64v384c0 25.884-15.594 49.222-39.508 59.126-7.924 3.284-16.242 4.84-24.492 4.838v0.036h-384c-35.346 0-64-28.654-64-64 0-35.348 28.654-64 64-64h229.49l-530.744-530.746c-12.498-12.496-18.746-28.876-18.746-45.254s6.248-32.758 18.746-45.254c24.992-24.994 65.516-24.994 90.508 0z" /> -<glyph unicode="" d="M621.254 82.746l320 320c24.994 24.992 24.994 65.516 0 90.51l-320 320c-24.994 24.992-65.516 24.992-90.51 0-24.994-24.994-24.994-65.516 0-90.51l210.746-210.746h-613.49c-35.346 0-64-28.654-64-64s28.654-64 64-64h613.49l-210.746-210.746c-12.496-12.496-18.744-28.876-18.744-45.254s6.248-32.758 18.744-45.254c24.994-24.994 65.516-24.994 90.51 0z" /> -<glyph unicode="" d="M146.746 722.746l530.742-530.746h-229.488c-35.346 0-64-28.654-64-64s28.654-64 64-64h384c25.884 0 49.222 15.594 59.126 39.508 3.284 7.924 4.84 16.242 4.838 24.492h0.036v384c0 35.346-28.654 64-64 64-35.348 0-64-28.654-64-64v-229.49l-530.746 530.744c-12.496 12.498-28.874 18.746-45.254 18.746s-32.758-6.248-45.254-18.746c-24.994-24.992-24.994-65.516 0-90.508z" /> -<glyph unicode="" d="M877.254 338.746l-320-320c-24.992-24.994-65.514-24.994-90.508 0l-320 320c-24.994 24.994-24.994 65.516 0 90.51 24.994 24.996 65.516 24.996 90.51 0l210.744-210.746v613.49c0 35.346 28.654 64 64 64s64-28.654 64-64v-613.49l210.746 210.746c12.496 12.496 28.876 18.744 45.254 18.744s32.758-6.248 45.254-18.746c24.994-24.994 24.994-65.514 0-90.508z" /> -<glyph unicode="" d="M786.744 813.256l-530.744-530.744v229.49c0 35.346-28.654 64-64 64s-64-28.654-64-64v-384.002c0-25.886 15.592-49.222 39.508-59.128 7.924-3.282 16.242-4.84 24.492-4.836v-0.036l384 0.002c35.344 0 64 28.654 64 63.998 0 35.348-28.656 64-64 64h-229.49l530.744 530.746c12.496 12.496 18.746 28.876 18.746 45.256 0 16.376-6.25 32.758-18.746 45.254-24.992 24.992-65.518 24.992-90.51 0v0z" /> -<glyph unicode="" d="M402.746 82.746l-320 320c-24.994 24.992-24.994 65.516 0 90.51l320 320c24.994 24.992 65.516 24.992 90.51 0 24.994-24.994 24.994-65.516 0-90.51l-210.746-210.746h613.49c35.346 0 64-28.654 64-64s-28.654-64-64-64h-613.49l210.746-210.746c12.496-12.496 18.744-28.876 18.744-45.254s-6.248-32.758-18.744-45.254c-24.994-24.994-65.516-24.994-90.51 0z" /> -<glyph unicode="" d="M0 448c0-282.77 229.23-512 512-512s512 229.23 512 512-229.23 512-512 512-512-229.23-512-512zM928 448c0-229.75-186.25-416-416-416s-416 186.25-416 416 186.25 416 416 416 416-186.25 416-416zM706.744 290.744l90.512 90.512-285.256 285.254-285.254-285.256 90.508-90.508 194.746 194.744z" /> -<glyph unicode="" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM512 32c-229.75 0-416 186.25-416 416s186.25 416 416 416 416-186.25 416-416-186.25-416-416-416zM354.744 253.256l90.512-90.512 285.254 285.256-285.256 285.254-90.508-90.508 194.744-194.746z" /> -<glyph unicode="" d="M1024 448c0 282.77-229.23 512-512 512s-512-229.23-512-512 229.23-512 512-512 512 229.23 512 512zM96 448c0 229.75 186.25 416 416 416s416-186.25 416-416-186.25-416-416-416-416 186.25-416 416zM317.256 605.256l-90.512-90.512 285.256-285.254 285.254 285.256-90.508 90.508-194.746-194.744z" /> -<glyph unicode="" d="M512-64c282.77 0 512 229.23 512 512s-229.23 512-512 512-512-229.23-512-512 229.23-512 512-512zM512 864c229.75 0 416-186.25 416-416s-186.25-416-416-416-416 186.25-416 416 186.25 416 416 416zM669.256 642.744l-90.512 90.512-285.254-285.256 285.256-285.254 90.508 90.508-194.744 194.746z" /> -<glyph unicode="" d="M950.856 589.714q30.286 0 51.714-21.428t21.428-51.714-21.428-51.714-51.714-21.43v-219.428q0-29.714-21.714-51.428t-51.428-21.714q-238.286 198.286-464 217.144-33.144-10.856-52-37.714t-17.714-57.428 22.858-52.856q-11.428-18.856-13.144-37.428t3.428-33.144 19.144-31.428 27.428-28.572 35.144-28.856q-16.572-33.144-63.714-47.428t-96.286-6.572-75.43 31.714q-4 13.144-16.856 50t-18.286 54-13.144 50.856-8.57 57.714 2 56.286 12.57 63.144h-69.714q-37.714 0-64.57 26.856t-26.856 64.572v109.714q0 37.714 26.856 64.572t64.57 26.856h274.286q248.572 0 512 219.428 29.714 0 51.428-21.714t21.714-51.43v-219.428zM877.714 244.572v545.144q-225.144-172.572-438.858-196v-154.286q215.43-24 438.858-194.856z" /> -<glyph unicode="" d="M219.43 292.572q0 30.286-21.43 51.714t-51.714 21.428-51.714-21.428-21.43-51.714 21.43-51.714 51.714-21.428 51.714 21.428 21.43 51.714zM329.142 548.572q0 30.286-21.428 51.714t-51.714 21.428-51.714-21.428-21.43-51.714 21.43-51.714 51.714-21.428 51.714 21.428 21.428 51.714zM573.714 273.714l57.714 218.286q3.428 14.858-4.286 27.714t-22 16.856-27.428-3.714-17.144-22.572l-57.714-218.286q-34.286-2.856-61.142-24.856t-36-56.286q-11.428-44 11.428-83.428t66.856-50.856 83.428 11.428 50.856 66.856q9.144 34.286-3.428 66.856t-41.144 52zM950.856 292.572q0 30.286-21.428 51.714t-51.714 21.428-51.714-21.428-21.428-51.714 21.428-51.714 51.714-21.428 51.714 21.428 21.428 51.714zM585.144 658.286q0 30.286-21.428 51.714t-51.714 21.428-51.714-21.428-21.428-51.714 21.428-51.714 51.714-21.428 51.714 21.428 21.428 51.714zM841.144 548.572q0 30.286-21.428 51.714t-51.714 21.428-51.714-21.428-21.428-51.714 21.428-51.714 51.714-21.428 51.714 21.428 21.428 51.714zM1024 292.572q0-149.144-80.572-276-10.856-16.572-30.856-16.572h-801.144q-20 0-30.856 16.572-80.57 126.286-80.57 276 0 104 40.57 198.856t109.144 163.428 163.43 109.144 198.856 40.57 198.856-40.57 163.428-109.144 109.144-163.428 40.572-198.856z" /> -<glyph unicode="" d="M484.572-18.286q0 9.144-9.144 9.144-33.714 0-58 24.286t-24.286 58q0 9.144-9.142 9.144t-9.144-9.144q0-41.714 29.428-71.144t71.144-29.428q9.144 0 9.144 9.144zM950.856 146.286q0-29.714-21.714-51.428t-51.428-21.714h-256q0-60.572-42.856-103.428t-103.428-42.858-103.428 42.858-42.856 103.428h-256q-29.714 0-51.43 21.714t-21.714 51.428q108.57 92 164 227.144t55.43 284.856q0 94.286 54.858 149.714t150.856 66.856q-4.572 10.286-4.572 21.144 0 22.856 16 38.856t38.856 16 38.856-16 16-38.856q0-10.856-4.572-21.144 96-11.428 150.856-66.856t54.856-149.714q0-149.714 55.428-284.856t164-227.144z" horiz-adv-x="952" /> -</font></defs></svg> \ No newline at end of file diff --git a/app/assets/stylesheets/management/fonts/locastyle.ttf b/app/assets/stylesheets/management/fonts/locastyle.ttf deleted file mode 100755 index 398f1b4a97b65e2496cb9a06730483e72345fbc0..0000000000000000000000000000000000000000 Binary files a/app/assets/stylesheets/management/fonts/locastyle.ttf and /dev/null differ diff --git a/app/assets/stylesheets/management/fonts/locastyle.woff b/app/assets/stylesheets/management/fonts/locastyle.woff deleted file mode 100755 index a1f3ea69b3d6041f6d7fcc9456ea155a182a7d52..0000000000000000000000000000000000000000 Binary files a/app/assets/stylesheets/management/fonts/locastyle.woff and /dev/null differ diff --git a/app/assets/stylesheets/management/locastyle.css b/app/assets/stylesheets/management/locastyle.css deleted file mode 100644 index 31b01974bbbd5a3ca5addb94a8ff9466e718a1ec..0000000000000000000000000000000000000000 --- a/app/assets/stylesheets/management/locastyle.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! Locastyle version: 3.7.4*/ /*! - * GRID by Bootstrap v3.1.1 (http://getbootstrap.com) - * Copyright 2011-2014 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media screen and (min-width: 768px){.container{width:750px}}@media screen and (min-width: 992px){.container{width:970px}}@media screen and (min-width: 1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.row:before,.row:after{content:" ";display:table}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:0%}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:0%}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0%}@media screen and (min-width: 768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:0%}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:0%}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0%}}@media screen and (min-width: 992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:0%}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:0%}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0%}}@media screen and (min-width: 1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:0%}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:0%}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0%}}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none !important}@media screen and (max-width: 767px){.visible-xs{display:block !important}table.visible-xs{display:table}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}@media screen and (min-width: 768px) and (max-width: 991px){.visible-sm{display:block !important}table.visible-sm{display:table}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}@media screen and (min-width: 992px) and (max-width: 1199px){.visible-md{display:block !important}table.visible-md{display:table}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}@media screen and (min-width: 1200px){.visible-lg{display:block !important}table.visible-lg{display:table}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media screen and (max-width: 767px){.hidden-xs{display:none !important}}@media screen and (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media screen and (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media screen and (min-width: 1200px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table}tr.visible-print{display:table-row !important}th.visible-print,td.visible-print{display:table-cell !important}}@media print{.hidden-print{display:none !important}}.ls-sidebar,.ls-notification,.ls-topbar,.ls-main{-moz-transition:-moz-transform 0.5s;-o-transition:-o-transform 0.5s;-webkit-transition:-webkit-transform 0.5s;transition:transform 0.5s}.ls-sidebar{-moz-transform:translateX(-265px);-ms-transform:translateX(-265px);-webkit-transform:translateX(-265px);transform:translateX(-265px)}.ls-notification{-moz-transform:translateX(265px);-ms-transform:translateX(265px);-webkit-transform:translateX(265px);transform:translateX(265px)}.ls-topbar,.ls-main{-moz-transform:translateX(0);-ms-transform:translateX(0);-webkit-transform:translateX(0);transform:translateX(0)}.ls-sidebar-visible.ls-browser-chrome{overflow:hidden}.ls-sidebar-visible .ls-topbar,.ls-sidebar-visible .ls-main{-moz-transform:translateX(265px);-ms-transform:translateX(265px);-webkit-transform:translateX(265px);transform:translateX(265px)}.ls-sidebar-visible .ls-notification{-moz-transform:translateX(265px);-ms-transform:translateX(265px);-webkit-transform:translateX(265px);transform:translateX(265px)}.ls-sidebar-visible .ls-sidebar{-moz-transform:translateX(0);-ms-transform:translateX(0);-webkit-transform:translateX(0);transform:translateX(0)}.ls-notifications-visible .ls-topbar,.ls-notifications-visible .ls-main{-moz-transform:translateX(-265px);-ms-transform:translateX(-265px);-webkit-transform:translateX(-265px);transform:translateX(-265px)}.ls-notifications-visible .ls-notification{-moz-transform:translateX(0);-ms-transform:translateX(0);-webkit-transform:translateX(0);transform:translateX(0);overflow:auto;z-index:3}.ls-notifications-visible .ls-sidebar{-moz-transform:translateX(-265px);-ms-transform:translateX(-265px);-webkit-transform:translateX(-265px);transform:translateX(-265px)}.ls-bg-theme-blue{background-color:#254fa2}.ls-theme-blue .ls-color-theme,.ls-theme-blue .ls-ico-alone,.ls-theme-blue .ls-ico-bg:before{color:#1d3f81 !important}.ls-theme-blue p a:not([class*="ls-btn"]),.ls-theme-blue .ls-breadcrumb a,.ls-theme-blue .hopscotch-bubble a{color:#1d3f81}.ls-theme-blue p a:not([class*="ls-btn"]):hover,.ls-theme-blue p a:not([class*="ls-btn"]):focus,.ls-theme-blue p a:not([class*="ls-btn"]).ls-active,.ls-theme-blue .ls-breadcrumb a:hover,.ls-theme-blue .ls-breadcrumb a:focus,.ls-theme-blue .ls-breadcrumb a.ls-active,.ls-theme-blue .hopscotch-bubble a:hover,.ls-theme-blue .hopscotch-bubble a:focus,.ls-theme-blue .hopscotch-bubble a.ls-active{color:#162f61}.ls-theme-blue .ls-tag-primary{background-color:#254fa2}.ls-theme-blue .ls-background-primary,.ls-theme-blue .ls-table .ls-background-primary td{background-color:#a8beeb;color:#254fa2}.ls-theme-blue .ls-user-account{background:#1f4389}.ls-theme-blue .ls-topbar{background-color:#254fa2}.ls-theme-blue .ls-topbar .ls-alerts-list [class^="ls-ico"]{color:#183369}.ls-theme-blue .ls-topbar .ls-alerts-list [class^="ls-ico"]:hover:not([data-counter]):not(.ls-active){color:#0e1f40}.ls-theme-blue .ls-topbar.ls-topbar-gray{background:#f7f7f7}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-user-account{background-color:#dedede}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-user-account>a{color:#555555}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-user-account>a small{color:#555555;color:#555555}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-theme-blue .ls-topbar.ls-topbar-gray [class*="ls-go"]{background-color:#dedede}.ls-theme-blue .ls-topbar.ls-topbar-gray [class*="ls-go"]:before{color:#555555}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-brand-name{background:#f7f7f7}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-brand-name a{color:#555555}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-theme-blue .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-theme-blue [class*="ls-go"]{background:#1d3f81}.ls-theme-blue [class*="ls-go"]:hover,.ls-theme-blue [class*="ls-go"]:focus{background:#1f4389}.ls-theme-blue .ls-menu li{border-bottom-color:#282828}.ls-theme-blue .ls-menu li.ls-active:not(.ls-submenu-parent)>a{background-color:#3d3d3d}.ls-theme-blue .ls-menu a{color:#8c8c8c}.ls-theme-blue .ls-menu a:hover,.ls-theme-blue .ls-menu a:focus{color:white;background-color:#323232}.ls-theme-blue .ls-sidebar [class*="ls-go"]{background:#254fa2}.ls-theme-blue .ls-submenu-parent:after{color:#8c8c8c}.ls-theme-blue .ls-submenu-parent:hover:after{color:white}.ls-theme-blue .ls-submenu-parent li{border-bottom-color:#323232}.ls-theme-blue .ls-submenu-parent.ls-active{background-color:#282828}.ls-theme-blue .ls-submenu-parent.ls-active ul{border-top-color:#323232}.ls-theme-blue .ls-brand-name{background-color:#254fa2}.ls-theme-blue .ls-area-account[class*="ls-ico"]:before{color:#254fa2}.ls-theme-blue .ls-info-header [class*="ls-title"]{color:#254fa2}.ls-theme-blue [class*="ls-btn"][data-ls-module]:after{border-top-color:#1d3f81}.ls-theme-blue [class*="ls-btn"].ls-active:not([data-ls-module="tabs"]){background-color:#1c3b78}.ls-theme-blue .ls-btn-primary{background-color:#1d3f81;border-color:#193771}.ls-theme-blue .ls-btn-primary:hover:not([disabled="disabled"]),.ls-theme-blue .ls-btn-primary:focus:not([disabled="disabled"]),.ls-theme-blue .ls-btn-primary:active:not([disabled="disabled"]),.ls-theme-blue .ls-btn-primary.ls-active:not([disabled="disabled"]){background:#162f61;border-color:#122751}.ls-theme-blue .ls-btn-primary.ls-disabled:hover,.ls-theme-blue .ls-btn-primary.ls-disabled:focus{background-color:#254fa2}.ls-theme-blue .ls-tabs-button-nav .ls-active [class*="ls-btn"]{background-color:#dddddd}.ls-theme-blue .ls-collapse .ls-collapse-header:before{color:#254fa2;border:3px solid #254fa2}.ls-theme-blue [class*="ls-pagination"] li.ls-active{background-color:#1d3f81;border-color:#1d3f81}.ls-theme-blue .pager li{border:1px solid #dddddd;color:#555555}.ls-theme-blue .pager li:hover,.ls-theme-blue .pager li:focus{background-color:#dddddd}.ls-theme-blue .pager li.disabled a{border:1px solid #dddddd;color:#eeeeee}.ls-theme-blue .pager li.disabled a:hover,.ls-theme-blue .pager li.disabled a:focus{background:none}.ls-theme-blue .ls-table.ls-bg-header thead{background-color:#254fa2}.ls-theme-blue .ls-table.ls-bg-header thead th{color:white}.ls-theme-blue .ls-table.ls-bg-header thead th a{color:white}.ls-theme-blue .ls-table.ls-bg-header thead th.ls-data-descending a:after,.ls-theme-blue .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-top-color:white}.ls-theme-blue .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-color:transparent;border-bottom-color:white}.ls-theme-blue .ls-table thead th a{color:black}.ls-theme-blue .ls-table tbody tr:hover{background-color:#1d3f81;background-color:rgba(29,63,129,0.02)}.ls-theme-blue .ls-table tbody a:not([class*="ls-btn"]){color:#254fa2}.ls-theme-blue .ls-table.ls-table-striped tbody tr:hover td{background-color:#1d3f81;background-color:rgba(29,63,129,0.02)}.ls-theme-blue .ls-table.ls-table-striped.ls-no-hover tbody tr:hover td{background:white}.ls-theme-blue .ls-table.ls-table-striped.ls-no-hover tbody tr:hover:nth-child(odd) td{background:#f7f7f7}.ls-theme-blue .ls-tabs-nav:not(.in-dropdown) li{background-color:#1d3f81;background-color:rgba(29,63,129,0.7)}.ls-theme-blue .ls-tabs-nav:not(.in-dropdown) li:hover{background-color:#1d3f81}.ls-theme-blue .ls-tabs-nav:not(.in-dropdown) li.ls-active{background-color:white}.ls-theme-blue .ls-lnk-nav:hover{color:#1d3f81}.ls-theme-blue .ls-lnk-nav:hover[class*="ls-ico"]:before{color:#1d3f81;border-color:#1d3f81}.ls-theme-blue .ls-lnk-nav[class*="ls-ico"]:before{color:#254fa2;border:4px solid #254fa2}.ls-theme-blue .ls-dropdown ul a:focus,.ls-theme-blue .ls-dropdown ul a:hover{background-color:#1d3f81;color:white}.ls-theme-blue .ls-dropdown ul a.ls-color-danger:hover{color:white !important}.ls-theme-blue .ls-switch-btn input:checked+label span:after{background-color:#254fa2}.ls-theme-blue .ls-list-title a{color:#254fa2}.ls-theme-blue.ls-pre-panel .ls-topbar{background-color:#f7f7f7}.ls-theme-blue .is-selected .pika-button{color:white;background:#1d3f81;box-shadow:none}.ls-theme-blue .pika-button:hover{color:white !important;background:#254fa2 !important}.ls-theme-blue .hopscotch-actions button.hopscotch-nav-button.next{background-color:#254fa2}.ls-theme-blue div[data-ls-module="progressBar"] span{background-color:#254fa2}.ls-theme-blue .ls-word-dotted{border-color:#1d3f81}.ls-theme-blue .ls-steps-nav .ls-actived:before{border-color:#254fa2}.ls-theme-blue .ls-steps-nav .ls-actived .ls-steps-btn{color:#254fa2}.ls-theme-blue .ls-steps-nav .ls-actived .ls-steps-btn:before{border-color:#254fa2;background:#254fa2;color:white}.ls-theme-blue .ls-steps-nav .ls-actived .ls-steps-btn:after{color:#92a7d0}.ls-theme-blue .ls-steps-nav .ls-actived.ls-active .ls-steps-btn:before{background:white;color:#254fa2}.ls-theme-blue .ls-steps-nav .ls-active .ls-steps-btn:before{border-color:#254fa2}.ls-theme-blue .ls-steps-nav .ls-active .ls-steps-btn:before,.ls-theme-blue .ls-steps-nav .ls-active .ls-steps-btn:after{color:#254fa2}.ls-theme-blue .ls-steps-arrow:before{background:#254fa2}.ls-theme-blue .ls-tabs-btn-nav .ls-active [class*="ls-btn"],.ls-theme-blue .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:focus,.ls-theme-blue .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:hover,.ls-theme-blue .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:active{background:#e9edf5;border-color:#92a7d0;color:#254fa2}.ls-theme-blue .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#92a7d0 transparent transparent transparent;position:absolute;top:auto;margin-left:-8px}.ls-theme-blue .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#e9edf5 transparent transparent transparent;position:absolute;top:auto;margin-left:-6px}.ls-bg-theme-gold{background-color:#a38e17}.ls-theme-gold .ls-color-theme,.ls-theme-gold .ls-ico-alone,.ls-theme-gold .ls-ico-bg:before{color:#827112 !important}.ls-theme-gold p a:not([class*="ls-btn"]),.ls-theme-gold .ls-breadcrumb a,.ls-theme-gold .hopscotch-bubble a{color:#827112}.ls-theme-gold p a:not([class*="ls-btn"]):hover,.ls-theme-gold p a:not([class*="ls-btn"]):focus,.ls-theme-gold p a:not([class*="ls-btn"]).ls-active,.ls-theme-gold .ls-breadcrumb a:hover,.ls-theme-gold .ls-breadcrumb a:focus,.ls-theme-gold .ls-breadcrumb a.ls-active,.ls-theme-gold .hopscotch-bubble a:hover,.ls-theme-gold .hopscotch-bubble a:focus,.ls-theme-gold .hopscotch-bubble a.ls-active{color:#61550d}.ls-theme-gold .ls-tag-primary{background-color:#a38e17}.ls-theme-gold .ls-background-primary,.ls-theme-gold .ls-table .ls-background-primary td{background-color:#f0e396;color:#a38e17}.ls-theme-gold .ls-user-account{background:#8a7813}.ls-theme-gold .ls-topbar{background-color:#a38e17}.ls-theme-gold .ls-topbar .ls-alerts-list [class^="ls-ico"]{color:#695c0e}.ls-theme-gold .ls-topbar .ls-alerts-list [class^="ls-ico"]:hover:not([data-counter]):not(.ls-active){color:#413809}.ls-theme-gold .ls-topbar.ls-topbar-gray{background:#f7f7f7}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-user-account{background-color:#dedede}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-user-account>a{color:#555555}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-user-account>a small{color:#555555;color:#555555}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-theme-gold .ls-topbar.ls-topbar-gray [class*="ls-go"]{background-color:#dedede}.ls-theme-gold .ls-topbar.ls-topbar-gray [class*="ls-go"]:before{color:#555555}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-brand-name{background:#f7f7f7}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-brand-name a{color:#555555}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-theme-gold .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-theme-gold [class*="ls-go"]{background:#827112}.ls-theme-gold [class*="ls-go"]:hover,.ls-theme-gold [class*="ls-go"]:focus{background:#8a7813}.ls-theme-gold .ls-menu li{border-bottom-color:#282828}.ls-theme-gold .ls-menu li.ls-active:not(.ls-submenu-parent)>a{background-color:#3d3d3d}.ls-theme-gold .ls-menu a{color:#8c8c8c}.ls-theme-gold .ls-menu a:hover,.ls-theme-gold .ls-menu a:focus{color:white;background-color:#323232}.ls-theme-gold .ls-sidebar [class*="ls-go"]{background:#a38e17}.ls-theme-gold .ls-submenu-parent:after{color:#8c8c8c}.ls-theme-gold .ls-submenu-parent:hover:after{color:white}.ls-theme-gold .ls-submenu-parent li{border-bottom-color:#323232}.ls-theme-gold .ls-submenu-parent.ls-active{background-color:#282828}.ls-theme-gold .ls-submenu-parent.ls-active ul{border-top-color:#323232}.ls-theme-gold .ls-brand-name{background-color:#a38e17}.ls-theme-gold .ls-area-account[class*="ls-ico"]:before{color:#a38e17}.ls-theme-gold .ls-info-header [class*="ls-title"]{color:#a38e17}.ls-theme-gold [class*="ls-btn"][data-ls-module]:after{border-top-color:#827112}.ls-theme-gold [class*="ls-btn"].ls-active:not([data-ls-module="tabs"]){background-color:#766711}.ls-theme-gold .ls-btn-primary{background-color:#827112;border-color:#726310}.ls-theme-gold .ls-btn-primary:hover:not([disabled="disabled"]),.ls-theme-gold .ls-btn-primary:focus:not([disabled="disabled"]),.ls-theme-gold .ls-btn-primary:active:not([disabled="disabled"]),.ls-theme-gold .ls-btn-primary.ls-active:not([disabled="disabled"]){background:#61550d;border-color:#51470b}.ls-theme-gold .ls-btn-primary.ls-disabled:hover,.ls-theme-gold .ls-btn-primary.ls-disabled:focus{background-color:#a38e17}.ls-theme-gold .ls-tabs-button-nav .ls-active [class*="ls-btn"]{background-color:#dddddd}.ls-theme-gold .ls-collapse .ls-collapse-header:before{color:#a38e17;border:3px solid #a38e17}.ls-theme-gold [class*="ls-pagination"] li.ls-active{background-color:#827112;border-color:#827112}.ls-theme-gold .pager li{border:1px solid #dddddd;color:#555555}.ls-theme-gold .pager li:hover,.ls-theme-gold .pager li:focus{background-color:#dddddd}.ls-theme-gold .pager li.disabled a{border:1px solid #dddddd;color:#eeeeee}.ls-theme-gold .pager li.disabled a:hover,.ls-theme-gold .pager li.disabled a:focus{background:none}.ls-theme-gold .ls-table.ls-bg-header thead{background-color:#a38e17}.ls-theme-gold .ls-table.ls-bg-header thead th{color:white}.ls-theme-gold .ls-table.ls-bg-header thead th a{color:white}.ls-theme-gold .ls-table.ls-bg-header thead th.ls-data-descending a:after,.ls-theme-gold .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-top-color:white}.ls-theme-gold .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-color:transparent;border-bottom-color:white}.ls-theme-gold .ls-table thead th a{color:black}.ls-theme-gold .ls-table tbody tr:hover{background-color:#827112;background-color:rgba(130,113,18,0.02)}.ls-theme-gold .ls-table tbody a:not([class*="ls-btn"]){color:#a38e17}.ls-theme-gold .ls-table.ls-table-striped tbody tr:hover td{background-color:#827112;background-color:rgba(130,113,18,0.02)}.ls-theme-gold .ls-table.ls-table-striped.ls-no-hover tbody tr:hover td{background:white}.ls-theme-gold .ls-table.ls-table-striped.ls-no-hover tbody tr:hover:nth-child(odd) td{background:#f7f7f7}.ls-theme-gold .ls-tabs-nav:not(.in-dropdown) li{background-color:#827112;background-color:rgba(130,113,18,0.7)}.ls-theme-gold .ls-tabs-nav:not(.in-dropdown) li:hover{background-color:#827112}.ls-theme-gold .ls-tabs-nav:not(.in-dropdown) li.ls-active{background-color:white}.ls-theme-gold .ls-lnk-nav:hover{color:#827112}.ls-theme-gold .ls-lnk-nav:hover[class*="ls-ico"]:before{color:#827112;border-color:#827112}.ls-theme-gold .ls-lnk-nav[class*="ls-ico"]:before{color:#a38e17;border:4px solid #a38e17}.ls-theme-gold .ls-dropdown ul a:focus,.ls-theme-gold .ls-dropdown ul a:hover{background-color:#827112;color:white}.ls-theme-gold .ls-dropdown ul a.ls-color-danger:hover{color:white !important}.ls-theme-gold .ls-switch-btn input:checked+label span:after{background-color:#a38e17}.ls-theme-gold .ls-list-title a{color:#a38e17}.ls-theme-gold.ls-pre-panel .ls-topbar{background-color:#f7f7f7}.ls-theme-gold .is-selected .pika-button{color:white;background:#827112;box-shadow:none}.ls-theme-gold .pika-button:hover{color:white !important;background:#a38e17 !important}.ls-theme-gold .hopscotch-actions button.hopscotch-nav-button.next{background-color:#a38e17}.ls-theme-gold div[data-ls-module="progressBar"] span{background-color:#a38e17}.ls-theme-gold .ls-word-dotted{border-color:#827112}.ls-theme-gold .ls-steps-nav .ls-actived:before{border-color:#a38e17}.ls-theme-gold .ls-steps-nav .ls-actived .ls-steps-btn{color:#a38e17}.ls-theme-gold .ls-steps-nav .ls-actived .ls-steps-btn:before{border-color:#a38e17;background:#a38e17;color:white}.ls-theme-gold .ls-steps-nav .ls-actived .ls-steps-btn:after{color:#d1c68b}.ls-theme-gold .ls-steps-nav .ls-actived.ls-active .ls-steps-btn:before{background:white;color:#a38e17}.ls-theme-gold .ls-steps-nav .ls-active .ls-steps-btn:before{border-color:#a38e17}.ls-theme-gold .ls-steps-nav .ls-active .ls-steps-btn:before,.ls-theme-gold .ls-steps-nav .ls-active .ls-steps-btn:after{color:#a38e17}.ls-theme-gold .ls-steps-arrow:before{background:#a38e17}.ls-theme-gold .ls-tabs-btn-nav .ls-active [class*="ls-btn"],.ls-theme-gold .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:focus,.ls-theme-gold .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:hover,.ls-theme-gold .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:active{background:#f5f3e7;border-color:#d1c68b;color:#a38e17}.ls-theme-gold .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#d1c68b transparent transparent transparent;position:absolute;top:auto;margin-left:-8px}.ls-theme-gold .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#f5f3e7 transparent transparent transparent;position:absolute;top:auto;margin-left:-6px}.ls-bg-theme-gray{background-color:#878787}.ls-theme-gray .ls-color-theme,.ls-theme-gray .ls-ico-alone,.ls-theme-gray .ls-ico-bg:before{color:#6c6c6c !important}.ls-theme-gray p a:not([class*="ls-btn"]),.ls-theme-gray .ls-breadcrumb a,.ls-theme-gray .hopscotch-bubble a{color:#6c6c6c}.ls-theme-gray p a:not([class*="ls-btn"]):hover,.ls-theme-gray p a:not([class*="ls-btn"]):focus,.ls-theme-gray p a:not([class*="ls-btn"]).ls-active,.ls-theme-gray .ls-breadcrumb a:hover,.ls-theme-gray .ls-breadcrumb a:focus,.ls-theme-gray .ls-breadcrumb a.ls-active,.ls-theme-gray .hopscotch-bubble a:hover,.ls-theme-gray .hopscotch-bubble a:focus,.ls-theme-gray .hopscotch-bubble a.ls-active{color:#515151}.ls-theme-gray .ls-tag-primary{background-color:#878787}.ls-theme-gray .ls-background-primary,.ls-theme-gray .ls-table .ls-background-primary td{background-color:#ededed;color:#878787}.ls-theme-gray .ls-user-account{background:#727272}.ls-theme-gray .ls-topbar{background-color:#878787}.ls-theme-gray .ls-topbar .ls-alerts-list [class^="ls-ico"]{color:#575757}.ls-theme-gray .ls-topbar .ls-alerts-list [class^="ls-ico"]:hover:not([data-counter]):not(.ls-active){color:#363636}.ls-theme-gray .ls-topbar.ls-topbar-gray{background:#f7f7f7}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-user-account{background-color:#dedede}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-user-account>a{color:#555555}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-user-account>a small{color:#555555;color:#555555}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-theme-gray .ls-topbar.ls-topbar-gray [class*="ls-go"]{background-color:#dedede}.ls-theme-gray .ls-topbar.ls-topbar-gray [class*="ls-go"]:before{color:#555555}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-brand-name{background:#f7f7f7}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-brand-name a{color:#555555}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-theme-gray .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-theme-gray [class*="ls-go"]{background:#6c6c6c}.ls-theme-gray [class*="ls-go"]:hover,.ls-theme-gray [class*="ls-go"]:focus{background:#727272}.ls-theme-gray .ls-menu li{border-bottom-color:#282828}.ls-theme-gray .ls-menu li.ls-active:not(.ls-submenu-parent)>a{background-color:#3d3d3d}.ls-theme-gray .ls-menu a{color:#8c8c8c}.ls-theme-gray .ls-menu a:hover,.ls-theme-gray .ls-menu a:focus{color:white;background-color:#323232}.ls-theme-gray .ls-sidebar [class*="ls-go"]{background:#878787}.ls-theme-gray .ls-submenu-parent:after{color:#8c8c8c}.ls-theme-gray .ls-submenu-parent:hover:after{color:white}.ls-theme-gray .ls-submenu-parent li{border-bottom-color:#323232}.ls-theme-gray .ls-submenu-parent.ls-active{background-color:#282828}.ls-theme-gray .ls-submenu-parent.ls-active ul{border-top-color:#323232}.ls-theme-gray .ls-brand-name{background-color:#878787}.ls-theme-gray .ls-area-account[class*="ls-ico"]:before{color:#878787}.ls-theme-gray .ls-info-header [class*="ls-title"]{color:#878787}.ls-theme-gray [class*="ls-btn"][data-ls-module]:after{border-top-color:#6c6c6c}.ls-theme-gray [class*="ls-btn"].ls-active:not([data-ls-module="tabs"]){background-color:#6e6e6e}.ls-theme-gray .ls-btn-primary{background-color:#6c6c6c;border-color:#5e5e5e}.ls-theme-gray .ls-btn-primary:hover:not([disabled="disabled"]),.ls-theme-gray .ls-btn-primary:focus:not([disabled="disabled"]),.ls-theme-gray .ls-btn-primary:active:not([disabled="disabled"]),.ls-theme-gray .ls-btn-primary.ls-active:not([disabled="disabled"]){background:#515151;border-color:#434343}.ls-theme-gray .ls-btn-primary.ls-disabled:hover,.ls-theme-gray .ls-btn-primary.ls-disabled:focus{background-color:#878787}.ls-theme-gray .ls-tabs-button-nav .ls-active [class*="ls-btn"]{background-color:#dddddd}.ls-theme-gray .ls-collapse .ls-collapse-header:before{color:#878787;border:3px solid #878787}.ls-theme-gray [class*="ls-pagination"] li.ls-active{background-color:#6c6c6c;border-color:#6c6c6c}.ls-theme-gray .pager li{border:1px solid #dddddd;color:#555555}.ls-theme-gray .pager li:hover,.ls-theme-gray .pager li:focus{background-color:#dddddd}.ls-theme-gray .pager li.disabled a{border:1px solid #dddddd;color:#eeeeee}.ls-theme-gray .pager li.disabled a:hover,.ls-theme-gray .pager li.disabled a:focus{background:none}.ls-theme-gray .ls-table.ls-bg-header thead{background-color:#878787}.ls-theme-gray .ls-table.ls-bg-header thead th{color:white}.ls-theme-gray .ls-table.ls-bg-header thead th a{color:white}.ls-theme-gray .ls-table.ls-bg-header thead th.ls-data-descending a:after,.ls-theme-gray .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-top-color:white}.ls-theme-gray .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-color:transparent;border-bottom-color:white}.ls-theme-gray .ls-table thead th a{color:black}.ls-theme-gray .ls-table tbody tr:hover{background-color:#6c6c6c;background-color:rgba(108,108,108,0.02)}.ls-theme-gray .ls-table tbody a:not([class*="ls-btn"]){color:#878787}.ls-theme-gray .ls-table.ls-table-striped tbody tr:hover td{background-color:#6c6c6c;background-color:rgba(108,108,108,0.02)}.ls-theme-gray .ls-table.ls-table-striped.ls-no-hover tbody tr:hover td{background:white}.ls-theme-gray .ls-table.ls-table-striped.ls-no-hover tbody tr:hover:nth-child(odd) td{background:#f7f7f7}.ls-theme-gray .ls-tabs-nav:not(.in-dropdown) li{background-color:#6c6c6c;background-color:rgba(108,108,108,0.7)}.ls-theme-gray .ls-tabs-nav:not(.in-dropdown) li:hover{background-color:#6c6c6c}.ls-theme-gray .ls-tabs-nav:not(.in-dropdown) li.ls-active{background-color:white}.ls-theme-gray .ls-lnk-nav:hover{color:#6c6c6c}.ls-theme-gray .ls-lnk-nav:hover[class*="ls-ico"]:before{color:#6c6c6c;border-color:#6c6c6c}.ls-theme-gray .ls-lnk-nav[class*="ls-ico"]:before{color:#878787;border:4px solid #878787}.ls-theme-gray .ls-dropdown ul a:focus,.ls-theme-gray .ls-dropdown ul a:hover{background-color:#6c6c6c;color:white}.ls-theme-gray .ls-dropdown ul a.ls-color-danger:hover{color:white !important}.ls-theme-gray .ls-switch-btn input:checked+label span:after{background-color:#878787}.ls-theme-gray .ls-list-title a{color:#878787}.ls-theme-gray.ls-pre-panel .ls-topbar{background-color:#f7f7f7}.ls-theme-gray .is-selected .pika-button{color:white;background:#6c6c6c;box-shadow:none}.ls-theme-gray .pika-button:hover{color:white !important;background:#878787 !important}.ls-theme-gray .hopscotch-actions button.hopscotch-nav-button.next{background-color:#878787}.ls-theme-gray div[data-ls-module="progressBar"] span{background-color:#878787}.ls-theme-gray .ls-word-dotted{border-color:#6c6c6c}.ls-theme-gray .ls-steps-nav .ls-actived:before{border-color:#878787}.ls-theme-gray .ls-steps-nav .ls-actived .ls-steps-btn{color:#878787}.ls-theme-gray .ls-steps-nav .ls-actived .ls-steps-btn:before{border-color:#878787;background:#878787;color:white}.ls-theme-gray .ls-steps-nav .ls-actived .ls-steps-btn:after{color:#c3c3c3}.ls-theme-gray .ls-steps-nav .ls-actived.ls-active .ls-steps-btn:before{background:white;color:#878787}.ls-theme-gray .ls-steps-nav .ls-active .ls-steps-btn:before{border-color:#878787}.ls-theme-gray .ls-steps-nav .ls-active .ls-steps-btn:before,.ls-theme-gray .ls-steps-nav .ls-active .ls-steps-btn:after{color:#878787}.ls-theme-gray .ls-steps-arrow:before{background:#878787}.ls-theme-gray .ls-tabs-btn-nav .ls-active [class*="ls-btn"],.ls-theme-gray .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:focus,.ls-theme-gray .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:hover,.ls-theme-gray .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:active{background:#f3f3f3;border-color:#c3c3c3;color:#878787}.ls-theme-gray .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#c3c3c3 transparent transparent transparent;position:absolute;top:auto;margin-left:-8px}.ls-theme-gray .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#f3f3f3 transparent transparent transparent;position:absolute;top:auto;margin-left:-6px}.ls-bg-theme-light-green{background-color:#25b89a}.ls-theme-light-green .ls-color-theme,.ls-theme-light-green .ls-ico-alone,.ls-theme-light-green .ls-ico-bg:before{color:#1d937b !important}.ls-theme-light-green p a:not([class*="ls-btn"]),.ls-theme-light-green .ls-breadcrumb a,.ls-theme-light-green .hopscotch-bubble a{color:#1d937b}.ls-theme-light-green p a:not([class*="ls-btn"]):hover,.ls-theme-light-green p a:not([class*="ls-btn"]):focus,.ls-theme-light-green p a:not([class*="ls-btn"]).ls-active,.ls-theme-light-green .ls-breadcrumb a:hover,.ls-theme-light-green .ls-breadcrumb a:focus,.ls-theme-light-green .ls-breadcrumb a.ls-active,.ls-theme-light-green .hopscotch-bubble a:hover,.ls-theme-light-green .hopscotch-bubble a:focus,.ls-theme-light-green .hopscotch-bubble a.ls-active{color:#166e5c}.ls-theme-light-green .ls-tag-primary{background-color:#25b89a}.ls-theme-light-green .ls-background-primary,.ls-theme-light-green .ls-table .ls-background-primary td{background-color:#b8f1e5;color:#25b89a}.ls-theme-light-green .ls-user-account{background:#1f9c82}.ls-theme-light-green .ls-topbar{background-color:#25b89a}.ls-theme-light-green .ls-topbar .ls-alerts-list [class^="ls-ico"]{color:#187764}.ls-theme-light-green .ls-topbar .ls-alerts-list [class^="ls-ico"]:hover:not([data-counter]):not(.ls-active){color:#0e493d}.ls-theme-light-green .ls-topbar.ls-topbar-gray{background:#f7f7f7}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-user-account{background-color:#dedede}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-user-account>a{color:#555555}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-user-account>a small{color:#555555;color:#555555}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-theme-light-green .ls-topbar.ls-topbar-gray [class*="ls-go"]{background-color:#dedede}.ls-theme-light-green .ls-topbar.ls-topbar-gray [class*="ls-go"]:before{color:#555555}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-brand-name{background:#f7f7f7}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-brand-name a{color:#555555}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-theme-light-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-theme-light-green [class*="ls-go"]{background:#1d937b}.ls-theme-light-green [class*="ls-go"]:hover,.ls-theme-light-green [class*="ls-go"]:focus{background:#1f9c82}.ls-theme-light-green .ls-menu li{border-bottom-color:#282828}.ls-theme-light-green .ls-menu li.ls-active:not(.ls-submenu-parent)>a{background-color:#3d3d3d}.ls-theme-light-green .ls-menu a{color:#8c8c8c}.ls-theme-light-green .ls-menu a:hover,.ls-theme-light-green .ls-menu a:focus{color:white;background-color:#323232}.ls-theme-light-green .ls-sidebar [class*="ls-go"]{background:#25b89a}.ls-theme-light-green .ls-submenu-parent:after{color:#8c8c8c}.ls-theme-light-green .ls-submenu-parent:hover:after{color:white}.ls-theme-light-green .ls-submenu-parent li{border-bottom-color:#323232}.ls-theme-light-green .ls-submenu-parent.ls-active{background-color:#282828}.ls-theme-light-green .ls-submenu-parent.ls-active ul{border-top-color:#323232}.ls-theme-light-green .ls-brand-name{background-color:#25b89a}.ls-theme-light-green .ls-area-account[class*="ls-ico"]:before{color:#25b89a}.ls-theme-light-green .ls-info-header [class*="ls-title"]{color:#25b89a}.ls-theme-light-green [class*="ls-btn"][data-ls-module]:after{border-top-color:#1d937b}.ls-theme-light-green [class*="ls-btn"].ls-active:not([data-ls-module="tabs"]){background-color:#1c8e76}.ls-theme-light-green .ls-btn-primary{background-color:#1d937b;border-color:#19806b}.ls-theme-light-green .ls-btn-primary:hover:not([disabled="disabled"]),.ls-theme-light-green .ls-btn-primary:focus:not([disabled="disabled"]),.ls-theme-light-green .ls-btn-primary:active:not([disabled="disabled"]),.ls-theme-light-green .ls-btn-primary.ls-active:not([disabled="disabled"]){background:#166e5c;border-color:#125c4d}.ls-theme-light-green .ls-btn-primary.ls-disabled:hover,.ls-theme-light-green .ls-btn-primary.ls-disabled:focus{background-color:#25b89a}.ls-theme-light-green .ls-tabs-button-nav .ls-active [class*="ls-btn"]{background-color:#dddddd}.ls-theme-light-green .ls-collapse .ls-collapse-header:before{color:#25b89a;border:3px solid #25b89a}.ls-theme-light-green [class*="ls-pagination"] li.ls-active{background-color:#1d937b;border-color:#1d937b}.ls-theme-light-green .pager li{border:1px solid #dddddd;color:#555555}.ls-theme-light-green .pager li:hover,.ls-theme-light-green .pager li:focus{background-color:#dddddd}.ls-theme-light-green .pager li.disabled a{border:1px solid #dddddd;color:#eeeeee}.ls-theme-light-green .pager li.disabled a:hover,.ls-theme-light-green .pager li.disabled a:focus{background:none}.ls-theme-light-green .ls-table.ls-bg-header thead{background-color:#25b89a}.ls-theme-light-green .ls-table.ls-bg-header thead th{color:white}.ls-theme-light-green .ls-table.ls-bg-header thead th a{color:white}.ls-theme-light-green .ls-table.ls-bg-header thead th.ls-data-descending a:after,.ls-theme-light-green .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-top-color:white}.ls-theme-light-green .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-color:transparent;border-bottom-color:white}.ls-theme-light-green .ls-table thead th a{color:black}.ls-theme-light-green .ls-table tbody tr:hover{background-color:#1d937b;background-color:rgba(29,147,123,0.02)}.ls-theme-light-green .ls-table tbody a:not([class*="ls-btn"]){color:#25b89a}.ls-theme-light-green .ls-table.ls-table-striped tbody tr:hover td{background-color:#1d937b;background-color:rgba(29,147,123,0.02)}.ls-theme-light-green .ls-table.ls-table-striped.ls-no-hover tbody tr:hover td{background:white}.ls-theme-light-green .ls-table.ls-table-striped.ls-no-hover tbody tr:hover:nth-child(odd) td{background:#f7f7f7}.ls-theme-light-green .ls-tabs-nav:not(.in-dropdown) li{background-color:#1d937b;background-color:rgba(29,147,123,0.7)}.ls-theme-light-green .ls-tabs-nav:not(.in-dropdown) li:hover{background-color:#1d937b}.ls-theme-light-green .ls-tabs-nav:not(.in-dropdown) li.ls-active{background-color:white}.ls-theme-light-green .ls-lnk-nav:hover{color:#1d937b}.ls-theme-light-green .ls-lnk-nav:hover[class*="ls-ico"]:before{color:#1d937b;border-color:#1d937b}.ls-theme-light-green .ls-lnk-nav[class*="ls-ico"]:before{color:#25b89a;border:4px solid #25b89a}.ls-theme-light-green .ls-dropdown ul a:focus,.ls-theme-light-green .ls-dropdown ul a:hover{background-color:#1d937b;color:white}.ls-theme-light-green .ls-dropdown ul a.ls-color-danger:hover{color:white !important}.ls-theme-light-green .ls-switch-btn input:checked+label span:after{background-color:#25b89a}.ls-theme-light-green .ls-list-title a{color:#25b89a}.ls-theme-light-green.ls-pre-panel .ls-topbar{background-color:#f7f7f7}.ls-theme-light-green .is-selected .pika-button{color:white;background:#1d937b;box-shadow:none}.ls-theme-light-green .pika-button:hover{color:white !important;background:#25b89a !important}.ls-theme-light-green .hopscotch-actions button.hopscotch-nav-button.next{background-color:#25b89a}.ls-theme-light-green div[data-ls-module="progressBar"] span{background-color:#25b89a}.ls-theme-light-green .ls-word-dotted{border-color:#1d937b}.ls-theme-light-green .ls-steps-nav .ls-actived:before{border-color:#25b89a}.ls-theme-light-green .ls-steps-nav .ls-actived .ls-steps-btn{color:#25b89a}.ls-theme-light-green .ls-steps-nav .ls-actived .ls-steps-btn:before{border-color:#25b89a;background:#25b89a;color:white}.ls-theme-light-green .ls-steps-nav .ls-actived .ls-steps-btn:after{color:#92dbcc}.ls-theme-light-green .ls-steps-nav .ls-actived.ls-active .ls-steps-btn:before{background:white;color:#25b89a}.ls-theme-light-green .ls-steps-nav .ls-active .ls-steps-btn:before{border-color:#25b89a}.ls-theme-light-green .ls-steps-nav .ls-active .ls-steps-btn:before,.ls-theme-light-green .ls-steps-nav .ls-active .ls-steps-btn:after{color:#25b89a}.ls-theme-light-green .ls-steps-arrow:before{background:#25b89a}.ls-theme-light-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"],.ls-theme-light-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:focus,.ls-theme-light-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:hover,.ls-theme-light-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:active{background:#e9f7f4;border-color:#92dbcc;color:#25b89a}.ls-theme-light-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#92dbcc transparent transparent transparent;position:absolute;top:auto;margin-left:-8px}.ls-theme-light-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#e9f7f4 transparent transparent transparent;position:absolute;top:auto;margin-left:-6px}.ls-bg-theme-green{background-color:#1ab551}.ls-theme-green .ls-color-theme,.ls-theme-green .ls-ico-alone,.ls-theme-green .ls-ico-bg:before{color:#149040 !important}.ls-theme-green p a:not([class*="ls-btn"]),.ls-theme-green .ls-breadcrumb a,.ls-theme-green .hopscotch-bubble a{color:#149040}.ls-theme-green p a:not([class*="ls-btn"]):hover,.ls-theme-green p a:not([class*="ls-btn"]):focus,.ls-theme-green p a:not([class*="ls-btn"]).ls-active,.ls-theme-green .ls-breadcrumb a:hover,.ls-theme-green .ls-breadcrumb a:focus,.ls-theme-green .ls-breadcrumb a.ls-active,.ls-theme-green .hopscotch-bubble a:hover,.ls-theme-green .hopscotch-bubble a:focus,.ls-theme-green .hopscotch-bubble a.ls-active{color:#0f6c30}.ls-theme-green .ls-tag-primary{background-color:#1ab551}.ls-theme-green .ls-background-primary,.ls-theme-green .ls-table .ls-background-primary td{background-color:#a8f3c3;color:#1ab551}.ls-theme-green .ls-user-account{background:#169944}.ls-theme-green .ls-topbar{background-color:#1ab551}.ls-theme-green .ls-topbar .ls-alerts-list [class^="ls-ico"]{color:#107534}.ls-theme-green .ls-topbar .ls-alerts-list [class^="ls-ico"]:hover:not([data-counter]):not(.ls-active){color:#0a4820}.ls-theme-green .ls-topbar.ls-topbar-gray{background:#f7f7f7}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-user-account{background-color:#dedede}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-user-account>a{color:#555555}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-user-account>a small{color:#555555;color:#555555}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-theme-green .ls-topbar.ls-topbar-gray [class*="ls-go"]{background-color:#dedede}.ls-theme-green .ls-topbar.ls-topbar-gray [class*="ls-go"]:before{color:#555555}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-brand-name{background:#f7f7f7}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-brand-name a{color:#555555}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-theme-green .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-theme-green [class*="ls-go"]{background:#149040}.ls-theme-green [class*="ls-go"]:hover,.ls-theme-green [class*="ls-go"]:focus{background:#169944}.ls-theme-green .ls-menu li{border-bottom-color:#282828}.ls-theme-green .ls-menu li.ls-active:not(.ls-submenu-parent)>a{background-color:#3d3d3d}.ls-theme-green .ls-menu a{color:#8c8c8c}.ls-theme-green .ls-menu a:hover,.ls-theme-green .ls-menu a:focus{color:white;background-color:#323232}.ls-theme-green .ls-sidebar [class*="ls-go"]{background:#1ab551}.ls-theme-green .ls-submenu-parent:after{color:#8c8c8c}.ls-theme-green .ls-submenu-parent:hover:after{color:white}.ls-theme-green .ls-submenu-parent li{border-bottom-color:#323232}.ls-theme-green .ls-submenu-parent.ls-active{background-color:#282828}.ls-theme-green .ls-submenu-parent.ls-active ul{border-top-color:#323232}.ls-theme-green .ls-brand-name{background-color:#1ab551}.ls-theme-green .ls-area-account[class*="ls-ico"]:before{color:#1ab551}.ls-theme-green .ls-info-header [class*="ls-title"]{color:#1ab551}.ls-theme-green [class*="ls-btn"][data-ls-module]:after{border-top-color:#149040}.ls-theme-green [class*="ls-btn"].ls-active:not([data-ls-module="tabs"]){background-color:#14883d}.ls-theme-green .ls-btn-primary{background-color:#149040;border-color:#127e38}.ls-theme-green .ls-btn-primary:hover:not([disabled="disabled"]),.ls-theme-green .ls-btn-primary:focus:not([disabled="disabled"]),.ls-theme-green .ls-btn-primary:active:not([disabled="disabled"]),.ls-theme-green .ls-btn-primary.ls-active:not([disabled="disabled"]){background:#0f6c30;border-color:#0d5a28}.ls-theme-green .ls-btn-primary.ls-disabled:hover,.ls-theme-green .ls-btn-primary.ls-disabled:focus{background-color:#1ab551}.ls-theme-green .ls-tabs-button-nav .ls-active [class*="ls-btn"]{background-color:#dddddd}.ls-theme-green .ls-collapse .ls-collapse-header:before{color:#1ab551;border:3px solid #1ab551}.ls-theme-green [class*="ls-pagination"] li.ls-active{background-color:#149040;border-color:#149040}.ls-theme-green .pager li{border:1px solid #dddddd;color:#555555}.ls-theme-green .pager li:hover,.ls-theme-green .pager li:focus{background-color:#dddddd}.ls-theme-green .pager li.disabled a{border:1px solid #dddddd;color:#eeeeee}.ls-theme-green .pager li.disabled a:hover,.ls-theme-green .pager li.disabled a:focus{background:none}.ls-theme-green .ls-table.ls-bg-header thead{background-color:#1ab551}.ls-theme-green .ls-table.ls-bg-header thead th{color:white}.ls-theme-green .ls-table.ls-bg-header thead th a{color:white}.ls-theme-green .ls-table.ls-bg-header thead th.ls-data-descending a:after,.ls-theme-green .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-top-color:white}.ls-theme-green .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-color:transparent;border-bottom-color:white}.ls-theme-green .ls-table thead th a{color:black}.ls-theme-green .ls-table tbody tr:hover{background-color:#149040;background-color:rgba(20,144,64,0.02)}.ls-theme-green .ls-table tbody a:not([class*="ls-btn"]){color:#1ab551}.ls-theme-green .ls-table.ls-table-striped tbody tr:hover td{background-color:#149040;background-color:rgba(20,144,64,0.02)}.ls-theme-green .ls-table.ls-table-striped.ls-no-hover tbody tr:hover td{background:white}.ls-theme-green .ls-table.ls-table-striped.ls-no-hover tbody tr:hover:nth-child(odd) td{background:#f7f7f7}.ls-theme-green .ls-tabs-nav:not(.in-dropdown) li{background-color:#149040;background-color:rgba(20,144,64,0.7)}.ls-theme-green .ls-tabs-nav:not(.in-dropdown) li:hover{background-color:#149040}.ls-theme-green .ls-tabs-nav:not(.in-dropdown) li.ls-active{background-color:white}.ls-theme-green .ls-lnk-nav:hover{color:#149040}.ls-theme-green .ls-lnk-nav:hover[class*="ls-ico"]:before{color:#149040;border-color:#149040}.ls-theme-green .ls-lnk-nav[class*="ls-ico"]:before{color:#1ab551;border:4px solid #1ab551}.ls-theme-green .ls-dropdown ul a:focus,.ls-theme-green .ls-dropdown ul a:hover{background-color:#149040;color:white}.ls-theme-green .ls-dropdown ul a.ls-color-danger:hover{color:white !important}.ls-theme-green .ls-switch-btn input:checked+label span:after{background-color:#1ab551}.ls-theme-green .ls-list-title a{color:#1ab551}.ls-theme-green.ls-pre-panel .ls-topbar{background-color:#f7f7f7}.ls-theme-green .is-selected .pika-button{color:white;background:#149040;box-shadow:none}.ls-theme-green .pika-button:hover{color:white !important;background:#1ab551 !important}.ls-theme-green .hopscotch-actions button.hopscotch-nav-button.next{background-color:#1ab551}.ls-theme-green div[data-ls-module="progressBar"] span{background-color:#1ab551}.ls-theme-green .ls-word-dotted{border-color:#149040}.ls-theme-green .ls-steps-nav .ls-actived:before{border-color:#1ab551}.ls-theme-green .ls-steps-nav .ls-actived .ls-steps-btn{color:#1ab551}.ls-theme-green .ls-steps-nav .ls-actived .ls-steps-btn:before{border-color:#1ab551;background:#1ab551;color:white}.ls-theme-green .ls-steps-nav .ls-actived .ls-steps-btn:after{color:#8cdaa8}.ls-theme-green .ls-steps-nav .ls-actived.ls-active .ls-steps-btn:before{background:white;color:#1ab551}.ls-theme-green .ls-steps-nav .ls-active .ls-steps-btn:before{border-color:#1ab551}.ls-theme-green .ls-steps-nav .ls-active .ls-steps-btn:before,.ls-theme-green .ls-steps-nav .ls-active .ls-steps-btn:after{color:#1ab551}.ls-theme-green .ls-steps-arrow:before{background:#1ab551}.ls-theme-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"],.ls-theme-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:focus,.ls-theme-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:hover,.ls-theme-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:active{background:#e8f7ed;border-color:#8cdaa8;color:#1ab551}.ls-theme-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#8cdaa8 transparent transparent transparent;position:absolute;top:auto;margin-left:-8px}.ls-theme-green .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#e8f7ed transparent transparent transparent;position:absolute;top:auto;margin-left:-6px}.ls-bg-theme-orange{background-color:#ef7736}.ls-theme-orange .ls-color-theme,.ls-theme-orange .ls-ico-alone,.ls-theme-orange .ls-ico-bg:before{color:#bf5f2b !important}.ls-theme-orange p a:not([class*="ls-btn"]),.ls-theme-orange .ls-breadcrumb a,.ls-theme-orange .hopscotch-bubble a{color:#bf5f2b}.ls-theme-orange p a:not([class*="ls-btn"]):hover,.ls-theme-orange p a:not([class*="ls-btn"]):focus,.ls-theme-orange p a:not([class*="ls-btn"]).ls-active,.ls-theme-orange .ls-breadcrumb a:hover,.ls-theme-orange .ls-breadcrumb a:focus,.ls-theme-orange .ls-breadcrumb a.ls-active,.ls-theme-orange .hopscotch-bubble a:hover,.ls-theme-orange .hopscotch-bubble a:focus,.ls-theme-orange .hopscotch-bubble a.ls-active{color:#8f4720}.ls-theme-orange .ls-tag-primary{background-color:#ef7736}.ls-theme-orange .ls-background-primary,.ls-theme-orange .ls-table .ls-background-primary td{background-color:#fef7f3;color:#ef7736}.ls-theme-orange .ls-user-account{background:#cb652d}.ls-theme-orange .ls-topbar{background-color:#ef7736}.ls-theme-orange .ls-topbar .ls-alerts-list [class^="ls-ico"]{color:#9b4d23}.ls-theme-orange .ls-topbar .ls-alerts-list [class^="ls-ico"]:hover:not([data-counter]):not(.ls-active){color:#5f2f15}.ls-theme-orange .ls-topbar.ls-topbar-gray{background:#f7f7f7}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-user-account{background-color:#dedede}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-user-account>a{color:#555555}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-user-account>a small{color:#555555;color:#555555}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-theme-orange .ls-topbar.ls-topbar-gray [class*="ls-go"]{background-color:#dedede}.ls-theme-orange .ls-topbar.ls-topbar-gray [class*="ls-go"]:before{color:#555555}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-brand-name{background:#f7f7f7}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-brand-name a{color:#555555}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-theme-orange .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-theme-orange [class*="ls-go"]{background:#bf5f2b}.ls-theme-orange [class*="ls-go"]:hover,.ls-theme-orange [class*="ls-go"]:focus{background:#cb652d}.ls-theme-orange .ls-menu li{border-bottom-color:#282828}.ls-theme-orange .ls-menu li.ls-active:not(.ls-submenu-parent)>a{background-color:#3d3d3d}.ls-theme-orange .ls-menu a{color:#8c8c8c}.ls-theme-orange .ls-menu a:hover,.ls-theme-orange .ls-menu a:focus{color:white;background-color:#323232}.ls-theme-orange .ls-sidebar [class*="ls-go"]{background:#ef7736}.ls-theme-orange .ls-submenu-parent:after{color:#8c8c8c}.ls-theme-orange .ls-submenu-parent:hover:after{color:white}.ls-theme-orange .ls-submenu-parent li{border-bottom-color:#323232}.ls-theme-orange .ls-submenu-parent.ls-active{background-color:#282828}.ls-theme-orange .ls-submenu-parent.ls-active ul{border-top-color:#323232}.ls-theme-orange .ls-brand-name{background-color:#ef7736}.ls-theme-orange .ls-area-account[class*="ls-ico"]:before{color:#ef7736}.ls-theme-orange .ls-info-header [class*="ls-title"]{color:#ef7736}.ls-theme-orange [class*="ls-btn"][data-ls-module]:after{border-top-color:#bf5f2b}.ls-theme-orange [class*="ls-btn"].ls-active:not([data-ls-module="tabs"]){background-color:#e05a12}.ls-theme-orange .ls-btn-primary{background-color:#bf5f2b;border-color:#a75325}.ls-theme-orange .ls-btn-primary:hover:not([disabled="disabled"]),.ls-theme-orange .ls-btn-primary:focus:not([disabled="disabled"]),.ls-theme-orange .ls-btn-primary:active:not([disabled="disabled"]),.ls-theme-orange .ls-btn-primary.ls-active:not([disabled="disabled"]){background:#8f4720;border-color:#773b1b}.ls-theme-orange .ls-btn-primary.ls-disabled:hover,.ls-theme-orange .ls-btn-primary.ls-disabled:focus{background-color:#ef7736}.ls-theme-orange .ls-tabs-button-nav .ls-active [class*="ls-btn"]{background-color:#dddddd}.ls-theme-orange .ls-collapse .ls-collapse-header:before{color:#ef7736;border:3px solid #ef7736}.ls-theme-orange [class*="ls-pagination"] li.ls-active{background-color:#bf5f2b;border-color:#bf5f2b}.ls-theme-orange .pager li{border:1px solid #dddddd;color:#555555}.ls-theme-orange .pager li:hover,.ls-theme-orange .pager li:focus{background-color:#dddddd}.ls-theme-orange .pager li.disabled a{border:1px solid #dddddd;color:#eeeeee}.ls-theme-orange .pager li.disabled a:hover,.ls-theme-orange .pager li.disabled a:focus{background:none}.ls-theme-orange .ls-table.ls-bg-header thead{background-color:#ef7736}.ls-theme-orange .ls-table.ls-bg-header thead th{color:white}.ls-theme-orange .ls-table.ls-bg-header thead th a{color:white}.ls-theme-orange .ls-table.ls-bg-header thead th.ls-data-descending a:after,.ls-theme-orange .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-top-color:white}.ls-theme-orange .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-color:transparent;border-bottom-color:white}.ls-theme-orange .ls-table thead th a{color:black}.ls-theme-orange .ls-table tbody tr:hover{background-color:#bf5f2b;background-color:rgba(191,95,43,0.02)}.ls-theme-orange .ls-table tbody a:not([class*="ls-btn"]){color:#ef7736}.ls-theme-orange .ls-table.ls-table-striped tbody tr:hover td{background-color:#bf5f2b;background-color:rgba(191,95,43,0.02)}.ls-theme-orange .ls-table.ls-table-striped.ls-no-hover tbody tr:hover td{background:white}.ls-theme-orange .ls-table.ls-table-striped.ls-no-hover tbody tr:hover:nth-child(odd) td{background:#f7f7f7}.ls-theme-orange .ls-tabs-nav:not(.in-dropdown) li{background-color:#bf5f2b;background-color:rgba(191,95,43,0.7)}.ls-theme-orange .ls-tabs-nav:not(.in-dropdown) li:hover{background-color:#bf5f2b}.ls-theme-orange .ls-tabs-nav:not(.in-dropdown) li.ls-active{background-color:white}.ls-theme-orange .ls-lnk-nav:hover{color:#bf5f2b}.ls-theme-orange .ls-lnk-nav:hover[class*="ls-ico"]:before{color:#bf5f2b;border-color:#bf5f2b}.ls-theme-orange .ls-lnk-nav[class*="ls-ico"]:before{color:#ef7736;border:4px solid #ef7736}.ls-theme-orange .ls-dropdown ul a:focus,.ls-theme-orange .ls-dropdown ul a:hover{background-color:#bf5f2b;color:white}.ls-theme-orange .ls-dropdown ul a.ls-color-danger:hover{color:white !important}.ls-theme-orange .ls-switch-btn input:checked+label span:after{background-color:#ef7736}.ls-theme-orange .ls-list-title a{color:#ef7736}.ls-theme-orange.ls-pre-panel .ls-topbar{background-color:#f7f7f7}.ls-theme-orange .is-selected .pika-button{color:white;background:#bf5f2b;box-shadow:none}.ls-theme-orange .pika-button:hover{color:white !important;background:#ef7736 !important}.ls-theme-orange .hopscotch-actions button.hopscotch-nav-button.next{background-color:#ef7736}.ls-theme-orange div[data-ls-module="progressBar"] span{background-color:#ef7736}.ls-theme-orange .ls-word-dotted{border-color:#bf5f2b}.ls-theme-orange .ls-steps-nav .ls-actived:before{border-color:#ef7736}.ls-theme-orange .ls-steps-nav .ls-actived .ls-steps-btn{color:#ef7736}.ls-theme-orange .ls-steps-nav .ls-actived .ls-steps-btn:before{border-color:#ef7736;background:#ef7736;color:white}.ls-theme-orange .ls-steps-nav .ls-actived .ls-steps-btn:after{color:#f7bb9a}.ls-theme-orange .ls-steps-nav .ls-actived.ls-active .ls-steps-btn:before{background:white;color:#ef7736}.ls-theme-orange .ls-steps-nav .ls-active .ls-steps-btn:before{border-color:#ef7736}.ls-theme-orange .ls-steps-nav .ls-active .ls-steps-btn:before,.ls-theme-orange .ls-steps-nav .ls-active .ls-steps-btn:after{color:#ef7736}.ls-theme-orange .ls-steps-arrow:before{background:#ef7736}.ls-theme-orange .ls-tabs-btn-nav .ls-active [class*="ls-btn"],.ls-theme-orange .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:focus,.ls-theme-orange .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:hover,.ls-theme-orange .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:active{background:#fdf1ea;border-color:#f7bb9a;color:#ef7736}.ls-theme-orange .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#f7bb9a transparent transparent transparent;position:absolute;top:auto;margin-left:-8px}.ls-theme-orange .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#fdf1ea transparent transparent transparent;position:absolute;top:auto;margin-left:-6px}.ls-bg-theme-wine{background-color:#513335}.ls-theme-wine .ls-color-theme,.ls-theme-wine .ls-ico-alone,.ls-theme-wine .ls-ico-bg:before{color:#40282a !important}.ls-theme-wine p a:not([class*="ls-btn"]),.ls-theme-wine .ls-breadcrumb a,.ls-theme-wine .hopscotch-bubble a{color:#40282a}.ls-theme-wine p a:not([class*="ls-btn"]):hover,.ls-theme-wine p a:not([class*="ls-btn"]):focus,.ls-theme-wine p a:not([class*="ls-btn"]).ls-active,.ls-theme-wine .ls-breadcrumb a:hover,.ls-theme-wine .ls-breadcrumb a:focus,.ls-theme-wine .ls-breadcrumb a.ls-active,.ls-theme-wine .hopscotch-bubble a:hover,.ls-theme-wine .hopscotch-bubble a:focus,.ls-theme-wine .hopscotch-bubble a.ls-active{color:#301e1f}.ls-theme-wine .ls-tag-primary{background-color:#513335}.ls-theme-wine .ls-background-primary,.ls-theme-wine .ls-table .ls-background-primary td{background-color:#bc9497;color:#513335}.ls-theme-wine .ls-user-account{background:#442b2d}.ls-theme-wine .ls-topbar{background-color:#513335}.ls-theme-wine .ls-topbar .ls-alerts-list [class^="ls-ico"]{color:#857071}.ls-theme-wine .ls-topbar .ls-alerts-list [class^="ls-ico"]:hover:not([data-counter]):not(.ls-active){color:#d3cccc}.ls-theme-wine .ls-topbar.ls-topbar-gray{background:#f7f7f7}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-user-account{background-color:#dedede}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-user-account>a{color:#555555}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-user-account>a small{color:#555555;color:#555555}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-theme-wine .ls-topbar.ls-topbar-gray [class*="ls-go"]{background-color:#dedede}.ls-theme-wine .ls-topbar.ls-topbar-gray [class*="ls-go"]:before{color:#555555}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-brand-name{background:#f7f7f7}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-brand-name a{color:#555555}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-theme-wine .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-theme-wine [class*="ls-go"]{background:#40282a}.ls-theme-wine [class*="ls-go"]:hover,.ls-theme-wine [class*="ls-go"]:focus{background:#442b2d}.ls-theme-wine .ls-menu li{border-bottom-color:#282828}.ls-theme-wine .ls-menu li.ls-active:not(.ls-submenu-parent)>a{background-color:#3d3d3d}.ls-theme-wine .ls-menu a{color:#8c8c8c}.ls-theme-wine .ls-menu a:hover,.ls-theme-wine .ls-menu a:focus{color:white;background-color:#323232}.ls-theme-wine .ls-sidebar [class*="ls-go"]{background:#513335}.ls-theme-wine .ls-submenu-parent:after{color:#8c8c8c}.ls-theme-wine .ls-submenu-parent:hover:after{color:white}.ls-theme-wine .ls-submenu-parent li{border-bottom-color:#323232}.ls-theme-wine .ls-submenu-parent.ls-active{background-color:#282828}.ls-theme-wine .ls-submenu-parent.ls-active ul{border-top-color:#323232}.ls-theme-wine .ls-brand-name{background-color:#513335}.ls-theme-wine .ls-area-account[class*="ls-ico"]:before{color:#7c6667}.ls-theme-wine .ls-info-header [class*="ls-title"]{color:#513335}.ls-theme-wine [class*="ls-btn"][data-ls-module]:after{border-top-color:#40282a}.ls-theme-wine [class*="ls-btn"].ls-active:not([data-ls-module="tabs"]){background-color:#321f21}.ls-theme-wine .ls-btn-primary{background-color:#40282a;border-color:#382325}.ls-theme-wine .ls-btn-primary:hover:not([disabled="disabled"]),.ls-theme-wine .ls-btn-primary:focus:not([disabled="disabled"]),.ls-theme-wine .ls-btn-primary:active:not([disabled="disabled"]),.ls-theme-wine .ls-btn-primary.ls-active:not([disabled="disabled"]){background:#301e1f;border-color:#28191a}.ls-theme-wine .ls-btn-primary.ls-disabled:hover,.ls-theme-wine .ls-btn-primary.ls-disabled:focus{background-color:#513335}.ls-theme-wine .ls-tabs-button-nav .ls-active [class*="ls-btn"]{background-color:#dddddd}.ls-theme-wine .ls-collapse .ls-collapse-header:before{color:#513335;border:3px solid #513335}.ls-theme-wine [class*="ls-pagination"] li.ls-active{background-color:#40282a;border-color:#40282a}.ls-theme-wine .pager li{border:1px solid #dddddd;color:#555555}.ls-theme-wine .pager li:hover,.ls-theme-wine .pager li:focus{background-color:#dddddd}.ls-theme-wine .pager li.disabled a{border:1px solid #dddddd;color:#eeeeee}.ls-theme-wine .pager li.disabled a:hover,.ls-theme-wine .pager li.disabled a:focus{background:none}.ls-theme-wine .ls-table.ls-bg-header thead{background-color:#513335}.ls-theme-wine .ls-table.ls-bg-header thead th{color:white}.ls-theme-wine .ls-table.ls-bg-header thead th a{color:white}.ls-theme-wine .ls-table.ls-bg-header thead th.ls-data-descending a:after,.ls-theme-wine .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-top-color:white}.ls-theme-wine .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-color:transparent;border-bottom-color:white}.ls-theme-wine .ls-table thead th a{color:black}.ls-theme-wine .ls-table tbody tr:hover{background-color:#40282a;background-color:rgba(64,40,42,0.02)}.ls-theme-wine .ls-table tbody a:not([class*="ls-btn"]){color:#513335}.ls-theme-wine .ls-table.ls-table-striped tbody tr:hover td{background-color:#40282a;background-color:rgba(64,40,42,0.02)}.ls-theme-wine .ls-table.ls-table-striped.ls-no-hover tbody tr:hover td{background:white}.ls-theme-wine .ls-table.ls-table-striped.ls-no-hover tbody tr:hover:nth-child(odd) td{background:#f7f7f7}.ls-theme-wine .ls-tabs-nav:not(.in-dropdown) li{background-color:#40282a;background-color:rgba(64,40,42,0.7)}.ls-theme-wine .ls-tabs-nav:not(.in-dropdown) li:hover{background-color:#40282a}.ls-theme-wine .ls-tabs-nav:not(.in-dropdown) li.ls-active{background-color:white}.ls-theme-wine .ls-lnk-nav:hover{color:#40282a}.ls-theme-wine .ls-lnk-nav:hover[class*="ls-ico"]:before{color:#40282a;border-color:#40282a}.ls-theme-wine .ls-lnk-nav[class*="ls-ico"]:before{color:#513335;border:4px solid #513335}.ls-theme-wine .ls-dropdown ul a:focus,.ls-theme-wine .ls-dropdown ul a:hover{background-color:#40282a;color:white}.ls-theme-wine .ls-dropdown ul a.ls-color-danger:hover{color:white !important}.ls-theme-wine .ls-switch-btn input:checked+label span:after{background-color:#513335}.ls-theme-wine .ls-list-title a{color:#513335}.ls-theme-wine.ls-pre-panel .ls-topbar{background-color:#f7f7f7}.ls-theme-wine .is-selected .pika-button{color:white;background:#40282a;box-shadow:none}.ls-theme-wine .pika-button:hover{color:white !important;background:#513335 !important}.ls-theme-wine .hopscotch-actions button.hopscotch-nav-button.next{background-color:#513335}.ls-theme-wine div[data-ls-module="progressBar"] span{background-color:#513335}.ls-theme-wine .ls-word-dotted{border-color:#40282a}.ls-theme-wine .ls-steps-nav .ls-actived:before{border-color:#513335}.ls-theme-wine .ls-steps-nav .ls-actived .ls-steps-btn{color:#513335}.ls-theme-wine .ls-steps-nav .ls-actived .ls-steps-btn:before{border-color:#513335;background:#513335;color:white}.ls-theme-wine .ls-steps-nav .ls-actived .ls-steps-btn:after{color:#a8999a}.ls-theme-wine .ls-steps-nav .ls-actived.ls-active .ls-steps-btn:before{background:white;color:#513335}.ls-theme-wine .ls-steps-nav .ls-active .ls-steps-btn:before{border-color:#513335}.ls-theme-wine .ls-steps-nav .ls-active .ls-steps-btn:before,.ls-theme-wine .ls-steps-nav .ls-active .ls-steps-btn:after{color:#513335}.ls-theme-wine .ls-steps-arrow:before{background:#513335}.ls-theme-wine .ls-tabs-btn-nav .ls-active [class*="ls-btn"],.ls-theme-wine .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:focus,.ls-theme-wine .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:hover,.ls-theme-wine .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:active{background:#edeaea;border-color:#a8999a;color:#513335}.ls-theme-wine .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#a8999a transparent transparent transparent;position:absolute;top:auto;margin-left:-8px}.ls-theme-wine .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#edeaea transparent transparent transparent;position:absolute;top:auto;margin-left:-6px}.ls-bg-theme-cyanogen{background-color:#00c9f5}.ls-theme-cyanogen .ls-color-theme,.ls-theme-cyanogen .ls-ico-alone,.ls-theme-cyanogen .ls-ico-bg:before{color:#00a0c4 !important}.ls-theme-cyanogen p a:not([class*="ls-btn"]),.ls-theme-cyanogen .ls-breadcrumb a,.ls-theme-cyanogen .hopscotch-bubble a{color:#00a0c4}.ls-theme-cyanogen p a:not([class*="ls-btn"]):hover,.ls-theme-cyanogen p a:not([class*="ls-btn"]):focus,.ls-theme-cyanogen p a:not([class*="ls-btn"]).ls-active,.ls-theme-cyanogen .ls-breadcrumb a:hover,.ls-theme-cyanogen .ls-breadcrumb a:focus,.ls-theme-cyanogen .ls-breadcrumb a.ls-active,.ls-theme-cyanogen .hopscotch-bubble a:hover,.ls-theme-cyanogen .hopscotch-bubble a:focus,.ls-theme-cyanogen .hopscotch-bubble a.ls-active{color:#007893}.ls-theme-cyanogen .ls-tag-primary{background-color:#00c9f5}.ls-theme-cyanogen .ls-background-primary,.ls-theme-cyanogen .ls-table .ls-background-primary td{background-color:#c2f4ff;color:#00c9f5}.ls-theme-cyanogen .ls-user-account{background:#00aad0}.ls-theme-cyanogen .ls-topbar{background-color:#00c9f5}.ls-theme-cyanogen .ls-topbar .ls-alerts-list [class^="ls-ico"]{color:#00829f}.ls-theme-cyanogen .ls-topbar .ls-alerts-list [class^="ls-ico"]:hover:not([data-counter]):not(.ls-active){color:#005062}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray{background:#f7f7f7}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-user-account{background-color:#dedede}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-user-account>a{color:#555555}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-user-account>a small{color:#555555;color:#555555}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray [class*="ls-go"]{background-color:#dedede}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray [class*="ls-go"]:before{color:#555555}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-brand-name{background:#f7f7f7}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-brand-name a{color:#555555}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-theme-cyanogen .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-theme-cyanogen [class*="ls-go"]{background:#00a0c4}.ls-theme-cyanogen [class*="ls-go"]:hover,.ls-theme-cyanogen [class*="ls-go"]:focus{background:#00aad0}.ls-theme-cyanogen .ls-menu li{border-bottom-color:#282828}.ls-theme-cyanogen .ls-menu li.ls-active:not(.ls-submenu-parent)>a{background-color:#3d3d3d}.ls-theme-cyanogen .ls-menu a{color:#8c8c8c}.ls-theme-cyanogen .ls-menu a:hover,.ls-theme-cyanogen .ls-menu a:focus{color:white;background-color:#323232}.ls-theme-cyanogen .ls-sidebar [class*="ls-go"]{background:#00c9f5}.ls-theme-cyanogen .ls-submenu-parent:after{color:#8c8c8c}.ls-theme-cyanogen .ls-submenu-parent:hover:after{color:white}.ls-theme-cyanogen .ls-submenu-parent li{border-bottom-color:#323232}.ls-theme-cyanogen .ls-submenu-parent.ls-active{background-color:#282828}.ls-theme-cyanogen .ls-submenu-parent.ls-active ul{border-top-color:#323232}.ls-theme-cyanogen .ls-brand-name{background-color:#00c9f5}.ls-theme-cyanogen .ls-area-account[class*="ls-ico"]:before{color:#00c9f5}.ls-theme-cyanogen .ls-info-header [class*="ls-title"]{color:#00c9f5}.ls-theme-cyanogen [class*="ls-btn"][data-ls-module]:after{border-top-color:#00a0c4}.ls-theme-cyanogen [class*="ls-btn"].ls-active:not([data-ls-module="tabs"]){background-color:#009fc2}.ls-theme-cyanogen .ls-btn-primary{background-color:#00a0c4;border-color:#008cab}.ls-theme-cyanogen .ls-btn-primary:hover:not([disabled="disabled"]),.ls-theme-cyanogen .ls-btn-primary:focus:not([disabled="disabled"]),.ls-theme-cyanogen .ls-btn-primary:active:not([disabled="disabled"]),.ls-theme-cyanogen .ls-btn-primary.ls-active:not([disabled="disabled"]){background:#007893;border-color:#00647a}.ls-theme-cyanogen .ls-btn-primary.ls-disabled:hover,.ls-theme-cyanogen .ls-btn-primary.ls-disabled:focus{background-color:#00c9f5}.ls-theme-cyanogen .ls-tabs-button-nav .ls-active [class*="ls-btn"]{background-color:#dddddd}.ls-theme-cyanogen .ls-collapse .ls-collapse-header:before{color:#00c9f5;border:3px solid #00c9f5}.ls-theme-cyanogen [class*="ls-pagination"] li.ls-active{background-color:#00a0c4;border-color:#00a0c4}.ls-theme-cyanogen .pager li{border:1px solid #dddddd;color:#555555}.ls-theme-cyanogen .pager li:hover,.ls-theme-cyanogen .pager li:focus{background-color:#dddddd}.ls-theme-cyanogen .pager li.disabled a{border:1px solid #dddddd;color:#eeeeee}.ls-theme-cyanogen .pager li.disabled a:hover,.ls-theme-cyanogen .pager li.disabled a:focus{background:none}.ls-theme-cyanogen .ls-table.ls-bg-header thead{background-color:#00c9f5}.ls-theme-cyanogen .ls-table.ls-bg-header thead th{color:white}.ls-theme-cyanogen .ls-table.ls-bg-header thead th a{color:white}.ls-theme-cyanogen .ls-table.ls-bg-header thead th.ls-data-descending a:after,.ls-theme-cyanogen .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-top-color:white}.ls-theme-cyanogen .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-color:transparent;border-bottom-color:white}.ls-theme-cyanogen .ls-table thead th a{color:black}.ls-theme-cyanogen .ls-table tbody tr:hover{background-color:#00a0c4;background-color:rgba(0,160,196,0.02)}.ls-theme-cyanogen .ls-table tbody a:not([class*="ls-btn"]){color:#00c9f5}.ls-theme-cyanogen .ls-table.ls-table-striped tbody tr:hover td{background-color:#00a0c4;background-color:rgba(0,160,196,0.02)}.ls-theme-cyanogen .ls-table.ls-table-striped.ls-no-hover tbody tr:hover td{background:white}.ls-theme-cyanogen .ls-table.ls-table-striped.ls-no-hover tbody tr:hover:nth-child(odd) td{background:#f7f7f7}.ls-theme-cyanogen .ls-tabs-nav:not(.in-dropdown) li{background-color:#00a0c4;background-color:rgba(0,160,196,0.7)}.ls-theme-cyanogen .ls-tabs-nav:not(.in-dropdown) li:hover{background-color:#00a0c4}.ls-theme-cyanogen .ls-tabs-nav:not(.in-dropdown) li.ls-active{background-color:white}.ls-theme-cyanogen .ls-lnk-nav:hover{color:#00a0c4}.ls-theme-cyanogen .ls-lnk-nav:hover[class*="ls-ico"]:before{color:#00a0c4;border-color:#00a0c4}.ls-theme-cyanogen .ls-lnk-nav[class*="ls-ico"]:before{color:#00c9f5;border:4px solid #00c9f5}.ls-theme-cyanogen .ls-dropdown ul a:focus,.ls-theme-cyanogen .ls-dropdown ul a:hover{background-color:#00a0c4;color:white}.ls-theme-cyanogen .ls-dropdown ul a.ls-color-danger:hover{color:white !important}.ls-theme-cyanogen .ls-switch-btn input:checked+label span:after{background-color:#00c9f5}.ls-theme-cyanogen .ls-list-title a{color:#00c9f5}.ls-theme-cyanogen.ls-pre-panel .ls-topbar{background-color:#f7f7f7}.ls-theme-cyanogen .is-selected .pika-button{color:white;background:#00a0c4;box-shadow:none}.ls-theme-cyanogen .pika-button:hover{color:white !important;background:#00c9f5 !important}.ls-theme-cyanogen .hopscotch-actions button.hopscotch-nav-button.next{background-color:#00c9f5}.ls-theme-cyanogen div[data-ls-module="progressBar"] span{background-color:#00c9f5}.ls-theme-cyanogen .ls-word-dotted{border-color:#00a0c4}.ls-theme-cyanogen .ls-steps-nav .ls-actived:before{border-color:#00c9f5}.ls-theme-cyanogen .ls-steps-nav .ls-actived .ls-steps-btn{color:#00c9f5}.ls-theme-cyanogen .ls-steps-nav .ls-actived .ls-steps-btn:before{border-color:#00c9f5;background:#00c9f5;color:white}.ls-theme-cyanogen .ls-steps-nav .ls-actived .ls-steps-btn:after{color:#7fe4fa}.ls-theme-cyanogen .ls-steps-nav .ls-actived.ls-active .ls-steps-btn:before{background:white;color:#00c9f5}.ls-theme-cyanogen .ls-steps-nav .ls-active .ls-steps-btn:before{border-color:#00c9f5}.ls-theme-cyanogen .ls-steps-nav .ls-active .ls-steps-btn:before,.ls-theme-cyanogen .ls-steps-nav .ls-active .ls-steps-btn:after{color:#00c9f5}.ls-theme-cyanogen .ls-steps-arrow:before{background:#00c9f5}.ls-theme-cyanogen .ls-tabs-btn-nav .ls-active [class*="ls-btn"],.ls-theme-cyanogen .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:focus,.ls-theme-cyanogen .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:hover,.ls-theme-cyanogen .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:active{background:#e5f9fe;border-color:#7fe4fa;color:#00c9f5}.ls-theme-cyanogen .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#7fe4fa transparent transparent transparent;position:absolute;top:auto;margin-left:-8px}.ls-theme-cyanogen .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#e5f9fe transparent transparent transparent;position:absolute;top:auto;margin-left:-6px}.ls-bg-theme-light-red{background-color:#ef1e37}.ls-theme-light-red .ls-color-theme,.ls-theme-light-red .ls-ico-alone,.ls-theme-light-red .ls-ico-bg:before{color:#bf182c !important}.ls-theme-light-red p a:not([class*="ls-btn"]),.ls-theme-light-red .ls-breadcrumb a,.ls-theme-light-red .hopscotch-bubble a{color:#bf182c}.ls-theme-light-red p a:not([class*="ls-btn"]):hover,.ls-theme-light-red p a:not([class*="ls-btn"]):focus,.ls-theme-light-red p a:not([class*="ls-btn"]).ls-active,.ls-theme-light-red .ls-breadcrumb a:hover,.ls-theme-light-red .ls-breadcrumb a:focus,.ls-theme-light-red .ls-breadcrumb a.ls-active,.ls-theme-light-red .hopscotch-bubble a:hover,.ls-theme-light-red .hopscotch-bubble a:focus,.ls-theme-light-red .hopscotch-bubble a.ls-active{color:#8f1221}.ls-theme-light-red .ls-tag-primary{background-color:#ef1e37}.ls-theme-light-red .ls-background-primary,.ls-theme-light-red .ls-table .ls-background-primary td{background-color:#fddce0;color:#ef1e37}.ls-theme-light-red .ls-user-account{background:#cb192e}.ls-theme-light-red .ls-topbar{background-color:#ef1e37}.ls-theme-light-red .ls-topbar .ls-alerts-list [class^="ls-ico"]{color:#9b1323}.ls-theme-light-red .ls-topbar .ls-alerts-list [class^="ls-ico"]:hover:not([data-counter]):not(.ls-active){color:#5f0c16}.ls-theme-light-red .ls-topbar.ls-topbar-gray{background:#f7f7f7}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-user-account{background-color:#dedede}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-user-account>a{color:#555555}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-user-account>a small{color:#555555;color:#555555}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-theme-light-red .ls-topbar.ls-topbar-gray [class*="ls-go"]{background-color:#dedede}.ls-theme-light-red .ls-topbar.ls-topbar-gray [class*="ls-go"]:before{color:#555555}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-brand-name{background:#f7f7f7}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-brand-name a{color:#555555}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-theme-light-red .ls-topbar.ls-topbar-gray .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-theme-light-red [class*="ls-go"]{background:#bf182c}.ls-theme-light-red [class*="ls-go"]:hover,.ls-theme-light-red [class*="ls-go"]:focus{background:#cb192e}.ls-theme-light-red .ls-menu li{border-bottom-color:#282828}.ls-theme-light-red .ls-menu li.ls-active:not(.ls-submenu-parent)>a{background-color:#3d3d3d}.ls-theme-light-red .ls-menu a{color:#8c8c8c}.ls-theme-light-red .ls-menu a:hover,.ls-theme-light-red .ls-menu a:focus{color:white;background-color:#323232}.ls-theme-light-red .ls-sidebar [class*="ls-go"]{background:#ef1e37}.ls-theme-light-red .ls-submenu-parent:after{color:#8c8c8c}.ls-theme-light-red .ls-submenu-parent:hover:after{color:white}.ls-theme-light-red .ls-submenu-parent li{border-bottom-color:#323232}.ls-theme-light-red .ls-submenu-parent.ls-active{background-color:#282828}.ls-theme-light-red .ls-submenu-parent.ls-active ul{border-top-color:#323232}.ls-theme-light-red .ls-brand-name{background-color:#ef1e37}.ls-theme-light-red .ls-area-account[class*="ls-ico"]:before{color:#ef1e37}.ls-theme-light-red .ls-info-header [class*="ls-title"]{color:#ef1e37}.ls-theme-light-red [class*="ls-btn"][data-ls-module]:after{border-top-color:#bf182c}.ls-theme-light-red [class*="ls-btn"].ls-active:not([data-ls-module="tabs"]){background-color:#cc0e25}.ls-theme-light-red .ls-btn-primary{background-color:#bf182c;border-color:#a71526}.ls-theme-light-red .ls-btn-primary:hover:not([disabled="disabled"]),.ls-theme-light-red .ls-btn-primary:focus:not([disabled="disabled"]),.ls-theme-light-red .ls-btn-primary:active:not([disabled="disabled"]),.ls-theme-light-red .ls-btn-primary.ls-active:not([disabled="disabled"]){background:#8f1221;border-color:#770f1b}.ls-theme-light-red .ls-btn-primary.ls-disabled:hover,.ls-theme-light-red .ls-btn-primary.ls-disabled:focus{background-color:#ef1e37}.ls-theme-light-red .ls-tabs-button-nav .ls-active [class*="ls-btn"]{background-color:#dddddd}.ls-theme-light-red .ls-collapse .ls-collapse-header:before{color:#ef1e37;border:3px solid #ef1e37}.ls-theme-light-red [class*="ls-pagination"] li.ls-active{background-color:#bf182c;border-color:#bf182c}.ls-theme-light-red .pager li{border:1px solid #dddddd;color:#555555}.ls-theme-light-red .pager li:hover,.ls-theme-light-red .pager li:focus{background-color:#dddddd}.ls-theme-light-red .pager li.disabled a{border:1px solid #dddddd;color:#eeeeee}.ls-theme-light-red .pager li.disabled a:hover,.ls-theme-light-red .pager li.disabled a:focus{background:none}.ls-theme-light-red .ls-table.ls-bg-header thead{background-color:#ef1e37}.ls-theme-light-red .ls-table.ls-bg-header thead th{color:white}.ls-theme-light-red .ls-table.ls-bg-header thead th a{color:white}.ls-theme-light-red .ls-table.ls-bg-header thead th.ls-data-descending a:after,.ls-theme-light-red .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-top-color:white}.ls-theme-light-red .ls-table.ls-bg-header thead th.ls-data-ascending a:after{border-color:transparent;border-bottom-color:white}.ls-theme-light-red .ls-table thead th a{color:black}.ls-theme-light-red .ls-table tbody tr:hover{background-color:#bf182c;background-color:rgba(191,24,44,0.02)}.ls-theme-light-red .ls-table tbody a:not([class*="ls-btn"]){color:#ef1e37}.ls-theme-light-red .ls-table.ls-table-striped tbody tr:hover td{background-color:#bf182c;background-color:rgba(191,24,44,0.02)}.ls-theme-light-red .ls-table.ls-table-striped.ls-no-hover tbody tr:hover td{background:white}.ls-theme-light-red .ls-table.ls-table-striped.ls-no-hover tbody tr:hover:nth-child(odd) td{background:#f7f7f7}.ls-theme-light-red .ls-tabs-nav:not(.in-dropdown) li{background-color:#bf182c;background-color:rgba(191,24,44,0.7)}.ls-theme-light-red .ls-tabs-nav:not(.in-dropdown) li:hover{background-color:#bf182c}.ls-theme-light-red .ls-tabs-nav:not(.in-dropdown) li.ls-active{background-color:white}.ls-theme-light-red .ls-lnk-nav:hover{color:#bf182c}.ls-theme-light-red .ls-lnk-nav:hover[class*="ls-ico"]:before{color:#bf182c;border-color:#bf182c}.ls-theme-light-red .ls-lnk-nav[class*="ls-ico"]:before{color:#ef1e37;border:4px solid #ef1e37}.ls-theme-light-red .ls-dropdown ul a:focus,.ls-theme-light-red .ls-dropdown ul a:hover{background-color:#bf182c;color:white}.ls-theme-light-red .ls-dropdown ul a.ls-color-danger:hover{color:white !important}.ls-theme-light-red .ls-switch-btn input:checked+label span:after{background-color:#ef1e37}.ls-theme-light-red .ls-list-title a{color:#ef1e37}.ls-theme-light-red.ls-pre-panel .ls-topbar{background-color:#f7f7f7}.ls-theme-light-red .is-selected .pika-button{color:white;background:#bf182c;box-shadow:none}.ls-theme-light-red .pika-button:hover{color:white !important;background:#ef1e37 !important}.ls-theme-light-red .hopscotch-actions button.hopscotch-nav-button.next{background-color:#ef1e37}.ls-theme-light-red div[data-ls-module="progressBar"] span{background-color:#ef1e37}.ls-theme-light-red .ls-word-dotted{border-color:#bf182c}.ls-theme-light-red .ls-steps-nav .ls-actived:before{border-color:#ef1e37}.ls-theme-light-red .ls-steps-nav .ls-actived .ls-steps-btn{color:#ef1e37}.ls-theme-light-red .ls-steps-nav .ls-actived .ls-steps-btn:before{border-color:#ef1e37;background:#ef1e37;color:white}.ls-theme-light-red .ls-steps-nav .ls-actived .ls-steps-btn:after{color:#f78e9b}.ls-theme-light-red .ls-steps-nav .ls-actived.ls-active .ls-steps-btn:before{background:white;color:#ef1e37}.ls-theme-light-red .ls-steps-nav .ls-active .ls-steps-btn:before{border-color:#ef1e37}.ls-theme-light-red .ls-steps-nav .ls-active .ls-steps-btn:before,.ls-theme-light-red .ls-steps-nav .ls-active .ls-steps-btn:after{color:#ef1e37}.ls-theme-light-red .ls-steps-arrow:before{background:#ef1e37}.ls-theme-light-red .ls-tabs-btn-nav .ls-active [class*="ls-btn"],.ls-theme-light-red .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:focus,.ls-theme-light-red .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:hover,.ls-theme-light-red .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:active{background:#fde8eb;border-color:#f78e9b;color:#ef1e37}.ls-theme-light-red .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#f78e9b transparent transparent transparent;position:absolute;top:auto;margin-left:-8px}.ls-theme-light-red .ls-tabs-btn-nav .ls-active [class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#fde8eb transparent transparent transparent;position:absolute;top:auto;margin-left:-6px}.ls-xs-space{padding:5px !important}.ls-sm-space,[class*="ls-alert-"].ls-sm-space,.ls-table.ls-sm-space td,.ls-table.ls-sm-space th,.ls-box.ls-sm-space,.ls-sm-space.ls-box-filter,.ls-sm-space.ls-alert-box{padding:10px !important;font-size:12px !important}.ls-md-space,[class*="ls-alert-"].ls-md-space,.ls-table.ls-md-space td,.ls-table.ls-md-space th,.ls-box.ls-md-space,.ls-md-space.ls-box-filter,.ls-md-space.ls-alert-box{padding:20px !important;font-size:14px !important}.ls-lg-space,.ls-no-notification-message{padding:40px !important}.ls-clearfix:after,.container-white:after,[class*="ls-title"]:after,.ls-info-header:after,.ls-group-btn:after,.ls-form-horizontal .ls-actions-btn:after,.ls-label:after,.ls-form-horizontal .row:after,.ls-form-inline:after,.ls-box:after,.ls-box-filter:after,.ls-alert-box:after,.ls-steps:after{content:"";display:block;clear:both}.ls-no-float,.ls-float-none{float:none !important}.ls-float-right,.ls-pager li.ls-next a{float:right !important}.ls-float-left,.ls-info-header>[class*="ls-ico"]:before,.ls-group-btn [class*="ls-btn"],.ls-form-horizontal .ls-label[class*="col-"],.ls-prefix-group input,.ls-box[class*="ls-ico-"]:before,[class*="ls-ico-"].ls-box-filter:before,[class*="ls-ico-"].ls-alert-box:before,[class*="ls-pagination"] li,[class*="ls-pagination"] li .ls-gap,[class*="ls-pagination"] li a,.ls-pager li.ls-previous a,.pika-lendar,.pika-prev,.is-rtl .pika-next{float:left !important}.ls-clear-both{clear:both !important}.ls-clear-right{clear:right !important}.ls-clear-left{clear:left !important}.ls-overflow-hidden{overflow:hidden !important}.ls-overflow-visible{overflow:visible !important}.ls-display-block,.ls-no-notification-message.active{display:block !important}.ls-display-inline{display:inline !important;float:none !important}.ls-display-inline-block{display:inline-block !important;float:none !important}.ls-display-none,.ls-no-notification-message{display:none !important}.ls-width-auto{width:auto !important}.ls-width-inherit{width:inherit}.ls-full-width{width:100% !important}.ls-height-inherit{height:inherit}.ls-height-auto{height:auto !important}.ls-width-50{width:50px}.ls-width-100{width:100px}.ls-width-150{width:150px}.ls-width-200{width:200px}.ls-width-250{width:250px}.ls-width-300{width:300px}.ls-width-350{width:350px}.ls-width-400{width:400px}.ls-width-450{width:450px}.ls-width-500{width:500px}.ls-no-margin,.ls-form-horizontal .ls-actions-btn{margin:0 !important}.ls-no-margin-left,[class*="ls-btn"]:empty:after,[class*="ls-btn"].ls-btn-block{margin-left:0 !important}.ls-no-margin-right,[class*="ls-btn"].ls-btn-block{margin-right:0 !important}.ls-no-margin-top,[class*="ls-btn"].ls-btn-block:first-child,.ls-form-horizontal .ls-actions-btn [class*="ls-btn"]:not(.ls-btn-block){margin-top:0 !important}.ls-no-margin-bottom{margin-bottom:0 !important}.ls-no-padding,.ls-form-inline .ls-actions-btn,.ls-form-horizontal .ls-actions-btn{padding:0 !important}.ls-no-padding-left,[class*="ls-btn"].ls-btn-block{padding-left:0 !important}.ls-no-padding-right,[class*="ls-btn"].ls-btn-block{padding-right:0 !important}.ls-no-padding-top{padding-top:0 !important}.ls-no-padding-bottom{padding-bottom:0 !important}.ls-margin-auto{margin-left:auto !important;margin-right:auto !important}.ls-txt-left,.ls-table.ls-txt-left td,.ls-table.ls-txt-left th,.ls-table tbody.ls-txt-left td,.ls-table tbody.ls-txt-left th{text-align:left !important}.ls-txt-right,.ls-table.ls-txt-right td,.ls-table.ls-txt-right th,.ls-table tbody.ls-txt-right td,.ls-table tbody.ls-txt-right th{text-align:right !important}.ls-txt-justify{text-align:justify !important}.ls-txt-center,.ls-board-box .ls-box,.ls-board-box .ls-box-filter,.ls-board-box .ls-alert-box,.ls-no-notification-message,.ls-table.ls-txt-center td,.ls-table.ls-txt-center th,.ls-table tbody.ls-txt-center td,.ls-table tbody.ls-txt-center th,.ls-box-disclaimer{text-align:center !important}.ls-txt-center-all{-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);position:absolute !important;top:50% !important;left:50% !important;margin:0 !important}.ls-v-align-top{vertical-align:top !important}.ls-v-align-middle{vertical-align:middle !important}.ls-v-align-bottom{vertical-align:bottom !important}.ls-no-bg{background:none !important}.ls-no-bghover:hover{background:none !important}.ls-no-shadow{box-shadow:none !important}.ls-no-border{border:none !important}.ls-no-border-right{border-right:none !important}.ls-no-border-left{border-left:none !important}.ls-no-border-bottom{border-bottom:none !important}.ls-no-border-top{border-top:none !important}.ls-border{border-color:#eeeeee !important}.ls-word-dotted{border-bottom:1px dotted #555555}.ls-cursor-pointer,[class*="ls-btn"]{cursor:pointer !important}.ls-cursor-default{cursor:default !important}.ls-cursor-crosshair{cursor:crosshair !important}.ls-cursor-move{cursor:move !important}.ls-cursor-help{cursor:help !important}.ls-cursor-wait{cursor:wait !important}.ls-cursor-inherit{cursor:inherit !important}.ls-cursor-text{cursor:text !important}.ls-cursor-progress{cursor:progress !important}.ls-cursor-grab{cursor:-ms-grab;cursor:-moz-grab;cursor:-webkit-grab;cursor:hand;cursor:grab}.ls-cursor-grabbing{cursor:grabbing;cursor:-ms-grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.ls-scroll-touch{-webkit-overflow-scrolling:touch;-moz-overflow-scrolling:touch;-ms-overflow-scrolling:touch;overflow-scrolling:touch}.ls-bg-white{background:white !important}.ls-color-black{color:black !important}.ls-color-white,.ls-dropdown-menu{color:white}.ls-color-danger{color:#d75553 !important}.ls-color-info{color:#2881ac !important}.ls-color-success{color:#388f39 !important}.ls-color-warning{color:#b9a016 !important}.ls-no-spin::-webkit-inner-spin-button{-webkit-appearance:none}.ls-ellipsis,.ls-user-account>a .ls-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block !important}.ls-nowrap{white-space:nowrap}.ls-no-bold{font-weight:normal !important}.ls-word-break-all{word-break:break-all !important;padding:0}.ls-word-break{word-break:break-word !important}.ls-no-word-break{word-break:normal !important}.ls-no-radius,.ls-group-btn [class*="ls-btn"]:not(:first-child):not(:last-child){-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.ls-no-left-radius{-moz-border-radius-topleft:0 !important;-webkit-border-top-left-radius:0 !important;border-top-left-radius:0 !important;-moz-border-radius-bottomleft:0 !important;-webkit-border-bottom-left-radius:0 !important;border-bottom-left-radius:0 !important}.ls-no-right-radius{-moz-border-radius-topright:0 !important;-webkit-border-top-right-radius:0 !important;border-top-right-radius:0 !important;-moz-border-radius-bottomright:0 !important;-webkit-border-bottom-right-radius:0 !important;border-bottom-right-radius:0 !important}.ls-no-top-radius{-moz-border-radius-topleft:0 !important;-webkit-border-top-left-radius:0 !important;border-top-left-radius:0 !important;-moz-border-radius-topright:0 !important;-webkit-border-top-right-radius:0 !important;border-top-right-radius:0 !important}.ls-no-bottom-radius{-moz-border-radius-bottomleft:0 !important;-webkit-border-bottom-left-radius:0 !important;border-bottom-left-radius:0 !important;-moz-border-radius-bottomright:0 !important;-webkit-border-bottom-right-radius:0 !important;border-bottom-right-radius:0 !important}.ls-no-list-style{list-style:none !important}.ls-transparent-25{opacity:0.25 !important}.ls-transparent-50{opacity:0.5 !important}.ls-transparent-75{opacity:0.75 !important}.ls-no-style-input,.ls-no-style-input:focus,.ls-no-style-input:active{outline:none !important;background:none !important;border:none !important;box-shadow:none !important;outline:1px solid transparent !important;margin:0 !important;padding:0 !important;height:auto !important}.ls-hidden-accessible{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.ls-break-text,.ls-table td,.ls-table th{word-wrap:break-word !important}.ls-table-layout-auto{table-layout:auto !important}.ls-small-letter-spacing{letter-spacing:-1px}.ls-text-default{color:#555555;font-size:13px !important}.ls-text-xs{font-size:11px !important}.ls-text-sm{font-size:12px !important}.ls-text-md{font-size:14px !important}.ls-text-lg{font-size:18px !important}.ls-text-xl{font-size:20px !important}.ls-text-uppercase,.ls-topbar .ls-brand-name a small,.ls-topbar .ls-brand-name a span{text-transform:uppercase}.ls-text-lowercase{text-transform:lowercase}.ls-text-capitalize{text-transform:capitalize}.ls-text-underline{text-decoration:underline !important}.ls-text-decoration-none{text-decoration:none}.ls-line-separator{width:calc(100% - 2rem);width:85% \9;float:none;clear:both;border:1px solid red;border-color:#cccccc transparent #dddddd transparent;margin:2rem 1rem}.ls-line-separator:before,.ls-line-separator:after{content:" ";display:table}.ls-background-sucess,.ls-table .ls-background-sucess td{color:#388f39;background-color:#b2e1b3}.ls-background-info,.ls-table .ls-background-info td{color:#2881ac;background-color:#b3daed}.ls-background-warning,.ls-table .ls-background-warning td{color:#b9a016;background-color:#f4e9a7}.ls-background-danger,.ls-table .ls-background-danger td{color:#d75553;background-color:#fdf9f9}.ls-style-list{margin-left:18px;margin-bottom:10px}.ls-style-list li{line-height:1.3}.ls-position-absolute{position:absolute !important}@media screen and (max-width: 768px){.ls-float-none-xs{float:none !important}.ls-float-right-xs{float:right !important}.ls-float-left-xs{float:left !important}.ls-display-none-xs{display:none !important}.ls-display-inline-xs{display:inline !important}.ls-display-inline-block-xs{display:inline-block !important}.ls-display-block-xs{display:block !important}}@media screen and (min-width: 768px) and (max-width: 992px){.ls-float-none-sm{float:none !important}.ls-float-right-sm{float:right !important}.ls-float-left-sm{float:left !important}.ls-display-none-sm{display:none !important}.ls-display-inline-sm{display:inline !important}.ls-display-inline-block-sm{display:inline-block !important}.ls-display-block-sm{display:block !important}.ls-clear-both-sm{clear:both !important}.ls-clear-right-sm{clear:right !important}.ls-clear-left-sm{clear:left !important}.ls-txt-right-sm{text-align:right !important}.ls-txt-left-sm{text-align:left !important}.ls-btn-block-sm{display:block !important;text-align:center !important;margin-bottom:10px;width:100% !important}}@media screen and (min-width: 992px) and (max-width: 1200px){.ls-float-none-md{float:none !important}.ls-float-right-md{float:right !important}.ls-float-left-md{float:left !important}.ls-display-none-md{display:none !important}.ls-display-inline-md{display:inline !important}.ls-display-inline-block-md{display:inline-block !important}.ls-display-block-md{display:block !important}.ls-clear-both-md{clear:both !important}.ls-clear-right-md{clear:right !important}.ls-clear-left-md{clear:left !important}.ls-txt-right-md{text-align:right !important}.ls-txt-left-md{text-align:left !important}.ls-btn-block-md{display:block !important;text-align:center !important;margin-bottom:10px;width:100% !important}}@media screen and (min-width: 1200px){.ls-float-none-lg{float:none !important}.ls-float-right-lg{float:right !important}.ls-float-left-lg{float:left !important}.ls-display-none-lg{display:none !important}.ls-display-inline-lg{display:inline !important}.ls-display-inline-block-lg{display:inline-block !important}.ls-display-block-lg{display:block !important}}*{margin:0;padding:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}*:after,*:before{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}html{background-color:white}html.ls-html-nobg{background-color:#f7f7f7}html,body{height:100%}body{font-size:100%;line-height:1;font-family:Open Sans, Arial, Helvetica, Sans-serif}.container-white{margin:0 -15px;padding:30px;border-top:1px solid #eeeeee;background-color:white}a,a:hover{text-decoration:none}p a,a.ls-color-theme,a.ls-ico-alone,a.ls-ico-bg:before{border-bottom-style:solid;border-bottom-width:1px}p a:hover,p a:focus,a.ls-color-theme:hover,a.ls-ico-alone:hover,a.ls-ico-bg:hover:before,a.ls-color-theme:focus,a.ls-ico-alone:focus,a.ls-ico-bg:focus:before{border-bottom-color:transparent}img{max-width:100%}hr{border:none;border-top:1px solid #eeeeee;margin:15px 0}fieldset{border:none}main{display:block}[hidden],template{display:none}small{font-size:11px}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}@media screen and (min-width: 768px){html,body{overflow-x:initial}}.ls-main-full .ls-main{margin-left:0}.ls-main{min-height:100%;padding-top:60px;margin-left:0;z-index:10;position:relative;background-color:white}.ls-main .container-fluid{min-height:85%}.ls-main .container-fluid>.row [class*="col-"]{padding-bottom:20px}.ls-html-nobg .ls-main{background-color:#f7f7f7}.ls-lnk-nav{padding:7px 10px 0;font-size:20px;color:black;text-decoration:none;display:block;line-height:1.25}.ls-lnk-nav[class*="ls-ico"]:before{position:relative;top:-2px;padding:3px 5px 3px 6px;margin-right:5px;display:inline-block;vertical-align:middle;border-radius:100%;font-size:16px;text-align:center}.ls-ico-help{cursor:pointer;font-size:9px;font-family:"locastyle";display:inline-block;border-radius:100%;background-color:#154297;color:white;height:15px;text-align:right;line-height:15px;width:15px}.ls-ico-help:before{color:white;content:"\e60a"}a.ls-word-dotted{color:#555555}@media screen and (max-width: 992px){.ls-board-box [class*="col-md"]{margin-bottom:10px}}@media screen and (min-width: 768px){.ls-main-full .ls-sidebar{display:none}.ls-main{-moz-transform:none;-ms-transform:none;-webkit-transform:none;transform:none;-moz-transition:margin 0.25s ease-in-out;-o-transition:margin 0.25s ease-in-out;-webkit-transition:margin 0.25s ease-in-out;transition:margin 0.25s ease-in-out;margin-left:265px;height:100%;min-height:100%;-webkit-overflow-scrolling:touch;-moz-overflow-scrolling:touch;-ms-overflow-scrolling:touch;overflow-scrolling:touch}.ls-sidebar-toggled .ls-main{margin-left:60px}.ls-main .container-fluid>.row [class*="col-"]{padding-bottom:0}.ls-main:after{clear:both;content:""}.ls-sidebar-visible .ls-main,.ls-notifications-visible .ls-main{-moz-transform:translate(0, 0);-ms-transform:translate(0, 0);-webkit-transform:translate(0, 0);transform:translate(0, 0)}.ls-container,.ls-main>.container-fluid,.ls-main>.container{padding:0 30px}}html:after{content:url("//assets.locaweb.com.br/locastyle/edge/images/ls-smile.gif");opacity:0;position:absolute;top:0;right:0;z-index:-20}@font-face{font-family:"locastyle";src:url("fonts/locastyle.eot?-luxi4q");src:url("fonts/locastyle.eot?#iefix-luxi4q") format("embedded-opentype"),url("fonts/locastyle.woff?-luxi4q") format("woff"),url("fonts/locastyle.ttf?-luxi4q") format("truetype"),url("fonts/locastyle.svg?-luxi4q#locastyle") format("svg");font-weight:normal;font-style:normal}@font-face{font-family:"locastyle-panel-icons";src:url("fonts/locastyle-panel-icons.eot?-luxi4q");src:url("fonts/locastyle-panel-icons.eot?#iefix-luxi4q") format("embedded-opentype"),url("fonts/locastyle-panel-icons.woff?-luxi4q") format("woff"),url("fonts/locastyle-panel-icons.ttf?-luxi4q") format("truetype"),url("fonts/locastyle-panel-icons.svg?-luxi4q#locastyle-panel-icons") format("svg");font-weight:normal;font-style:normal}[class*="ls-ico"]:before,[class*="ls-ico"]:after,[class*="ls-ico-panel"]:before,[class*="ls-ico-panel"]:after{font-family:"locastyle";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;margin-right:3px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*="ls-ico-panel"]:before,[class*="ls-ico-panel"]:after{font-family:"locastyle-panel-icons"}[class*="ls-ico-"]:after,[class*="ls-ico-panel"]:after,.ls-ico-right:before,.ls-ico-panel-right:before{display:none}.ls-ico-right:after,.ls-ico-panel-right:after{display:inline-block;margin-left:5px;padding:0;width:5px}.ls-ico-alone{display:inline-block;font-size:64px;border-bottom-color:transparent}.ls-ico-bullhorn:before,.ls-ico-bullhorn:after{content:"\f0a1"}.ls-ico-dashboard:before,.ls-ico-dashboard:after{content:"\f0e4"}.ls-ico-bell-o:before,.ls-ico-bell-o:after{content:"\f0f3"}.ls-ico-home:before,.ls-ico-home:after{content:"\e600"}.ls-ico-users:before,.ls-ico-users:after{content:"\e601"}.ls-ico-stats:before,.ls-ico-stats:after{content:"\e609"}.ls-ico-envelope:before,.ls-ico-envelope:after{content:"\e604"}.ls-ico-envelop:before,.ls-ico-envelop:after{content:"\e604"}.ls-ico-cog:before,.ls-ico-cog:after{content:"\e608"}.ls-ico-user:before,.ls-ico-user:after{content:"\e605"}.ls-ico-question:before,.ls-ico-question:after{content:"\e60a"}.ls-ico-chevron-up:before,.ls-ico-chevron-up:after{content:"\e60f"}.ls-ico-chevron-right:before,.ls-ico-chevron-right:after{content:"\e60d"}.ls-ico-chevron-down:before,.ls-ico-chevron-down:after{content:"\e60b"}.ls-ico-chevron-left:before,[class*="ls-go"]:before,.ls-ico-chevron-left:after{content:"\e60e"}.ls-ico-shaft-up-left:before,.ls-ico-shaft-up-left:after{content:"\ea39"}.ls-ico-shaft-up:before,.ls-ico-shaft-up:after{content:"\ea3a"}.ls-ico-shaft-up-right:before,.ls-ico-shaft-up-right:after{content:"\ea3b"}.ls-ico-shaft-right:before,.ls-ico-shaft-right:after{content:"\ea3c"}.ls-ico-shaft-down-right:before,.ls-ico-shaft-down-right:after{content:"\ea3d"}.ls-ico-shaft-down:before,.ls-ico-shaft-down:after{content:"\ea3e"}.ls-ico-shaft-down-left:before,.ls-ico-shaft-down-left:after{content:"\ea3f"}.ls-ico-shaft-left:before,.ls-ico-shaft-left:after{content:"\ea40"}.ls-ico-circle-up:before,.ls-ico-circle-up:after{content:"\ea41"}.ls-ico-circle-right:before,.ls-ico-circle-right:after{content:"\ea42"}.ls-ico-circle-down:before,.ls-ico-circle-down:after{content:"\ea43"}.ls-ico-circle-left:before,.ls-ico-circle-left:after{content:"\ea44"}.ls-ico-menu:before,.ls-ico-menu:after{content:"\e610"}.ls-ico-pencil:before,.ls-ico-pencil:after{content:"\e619"}.ls-ico-pencil2:before,.ls-ico-pencil2:after{content:"\e611"}.ls-ico-paint-format:before,.ls-ico-paint-format:after{content:"\e61a"}.ls-ico-image:before,.ls-ico-image:after{content:"\e61c"}.ls-ico-images:before,.ls-ico-images:after{content:"\e61b"}.ls-ico-qrcode:before,.ls-ico-qrcode:after{content:"\e612"}.ls-ico-list:before,.ls-ico-list:after{content:"\e613"}.ls-ico-list2:before,.ls-ico-list2:after{content:"\e614"}.ls-ico-numbered-list:before,.ls-ico-numbered-list:after{content:"\e615"}.ls-ico-menu2:before,.ls-ico-menu2:after{content:"\e616"}.ls-ico-insert-template:before,.ls-ico-insert-template:after{content:"\e617"}.ls-ico-windows:before,.ls-ico-windows:after{content:"\e618"}.ls-ico-code:before,.ls-ico-code:after{content:"\e602"}.ls-ico-screen:before,.ls-ico-screen:after{content:"\e60c"}.ls-ico-camera:before,.ls-ico-camera:after{content:"\e603"}.ls-ico-folder:before,.ls-ico-folder:after{content:"\e606"}.ls-ico-folder-open:before,.ls-ico-folder-open:after{content:"\e607"}.ls-ico-download:before,.ls-ico-download:after{content:"\e61d"}.ls-ico-upload:before,.ls-ico-upload:after{content:"\e61e"}.ls-ico-spinner:before,.ls-ico-spinner:after{content:"\e61f"}.ls-ico-search:before,.ls-ico-search:after{content:"\e620"}.ls-ico-zoomin:before,.ls-ico-zoomin:after{content:"\e621"}.ls-ico-zoomout:before,.ls-ico-zoomout:after{content:"\e622"}.ls-ico-stats:before,.ls-ico-stats:after{content:"\e623"}.ls-ico-bars:before,.ls-ico-bars:after{content:"\e624"}.ls-ico-remove:before,.ls-ico-remove:after{content:"\e625"}.ls-ico-accessibility:before,.ls-ico-accessibility:after{content:"\e626"}.ls-ico-tree:before,.ls-ico-tree:after{content:"\e627"}.ls-ico-cloud:before,.ls-ico-cloud:after{content:"\e628"}.ls-ico-cloud-download:before,.ls-ico-cloud-download:after{content:"\e629"}.ls-ico-cloud-upload:before,.ls-ico-cloud-upload:after{content:"\e62a"}.ls-ico-download2:before,.ls-ico-download2:after{content:"\e62b"}.ls-ico-upload2:before,.ls-ico-upload2:after{content:"\e62c"}.ls-ico-globe:before,.ls-ico-globe:after{content:"\e62d"}.ls-ico-earth:before,.ls-ico-earth:after{content:"\e62e"}.ls-ico-link:before,.ls-ico-link:after{content:"\e62f"}.ls-ico-flag:before,.ls-ico-flag:after{content:"\e630"}.ls-ico-attachment:before,.ls-ico-attachment:after{content:"\e631"}.ls-ico-eye:before,.ls-ico-eye:after{content:"\e632"}.ls-ico-eye-blocked:before,.ls-ico-eye-blocked:after{content:"\e633"}.ls-ico-star:before,.ls-ico-star:after{content:"\e634"}.ls-ico-star2:before,.ls-ico-star2:after{content:"\e635"}.ls-ico-star3:before,.ls-ico-star3:after{content:"\e636"}.ls-ico-thumbs-up:before,.ls-ico-thumbs-up:after{content:"\e637"}.ls-ico-thumbs-up2:before,.ls-ico-thumbs-up2:after{content:"\e638"}.ls-ico-info:before,.ls-ico-info:after{content:"\e639"}.ls-ico-cancel-circle:before,.ls-ico-cancel-circle:after{content:"\e63a"}.ls-ico-checkmark-circle:before,.ls-ico-checkmark-circle:after{content:"\e63b"}.ls-ico-close:before,.ls-ico-close:after{content:"\e63c"}.ls-ico-checkmark:before,.ls-ico-checkmark:after{content:"\e63d"}.ls-ico-minus:before,.ls-ico-minus:after{content:"\e63e"}.ls-ico-plus:before,.ls-ico-plus:after{content:"\e63f"}.ls-ico-checkbox-checked:before,.ls-ico-checkbox-checked:after{content:"\e640"}.ls-ico-checkbox-unchecked:before,.ls-ico-checkbox-unchecked:after{content:"\e641"}.ls-ico-checkbox-partial:before,.ls-ico-checkbox-partial:after{content:"\e642"}.ls-ico-radio-checked:before,.ls-ico-radio-checked:after{content:"\e643"}.ls-ico-radio-unchecked:before,.ls-ico-radio-unchecked:after{content:"\e644"}.ls-ico-domain:before,.ls-ico-domain:after{content:"\e650"}.ls-ico-edit-admin:before,.ls-ico-edit-admin:after{content:"\e651"}.ls-ico-calendar:before,.ls-ico-calendar:after{content:"\e0e8"}.ls-ico-calendar-more:before,.ls-ico-calendar-more:after{content:"\e0f3"}.ls-ico-calendar-check:before,.ls-ico-calendar-check:after{content:"\e0f2"}.ls-ico-chart-bar-up:before,.ls-ico-chart-bar-up:after{content:"\e647"}.ls-ico-lamp:before,.ls-ico-lamp:after{content:"\e0f4"}.ls-ico-arrow-down:before,.ls-ico-arrow-down:after{content:"\e0eb"}.ls-ico-arrow-left:before,.ls-ico-arrow-left:after{content:"\e0ec"}.ls-ico-arrow-up:before,.ls-ico-arrow-up:after{content:"\e0ed"}.ls-ico-arrow-right:before,.ls-ico-arrow-right:after{content:"\e0ee"}.ls-ico-export:before,.ls-ico-export:after{content:"\e645"}.ls-ico-table-alt:before,.ls-ico-table-alt:after{content:"\e646"}.ls-ico-mobile:before,.ls-ico-mobile:after{content:"\e648"}.ls-ico-user-add:before,.ls-ico-user-add:after{content:"\e649"}.ls-ico-list3:before,.ls-ico-list3:after{content:"\e64a"}.ls-ico-text:before,.ls-ico-text:after{content:"\e64b"}.ls-ico-text2:before,.ls-ico-text2:after{content:"\e64c"}.ls-ico-document:before,.ls-ico-document:after{content:"\e64d"}.ls-ico-docs:before,.ls-ico-docs:after{content:"\e64e"}.ls-ico-book:before,.ls-ico-book:after{content:"\e64f"}.ls-ico-target:before,.ls-ico-target:after{content:"\e652"}.ls-ico-hours:before,.ls-ico-hours:after{content:"\e653"}.ls-ico-month:before,.ls-ico-month:after{content:"\e654"}.ls-ico-week:before,.ls-ico-week:after{content:"\e655"}.ls-ico-mysql:before,.ls-ico-mysql:after{content:"\e656"}.ls-ico-postgres:before,.ls-ico-postgres:after{content:"\e657"}.ls-ico-ftp:before,.ls-ico-ftp:after{content:"\e65a"}.ls-ico-origins:before,.ls-ico-origins:after{content:"\e65b"}.ls-ico-history:before,.ls-ico-history:after{content:"\e659"}.ls-ico-blank:before,.ls-ico-blank:after{content:"\e658"}.ls-ico-panel-streaming:before,.ls-ico-panel-streaming:after{content:"\e600"}.ls-ico-panel-hospedagem:before,.ls-ico-panel-hospedagem:after{content:"\e601"}.ls-ico-panel-emkt:before,.ls-ico-panel-emkt:after{content:"\e602"}.ls-ico-panel-cloud:before,.ls-ico-panel-cloud:after{content:"\e603"}.ls-ico-panel-smtp:before,.ls-ico-panel-smtp:after{content:"\e604"}.ls-ico-panel-dns:before,.ls-ico-panel-dns:after{content:"\e605"}.ls-ico-panel-backup:before,.ls-ico-panel-backup:after{content:"\e606"}.ls-ico-panel-domains:before,.ls-ico-panel-domains:after{content:"\e607"}html{font-size:90%}body{color:#555555}[class*="ls-title"]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:antialiased;font-weight:400;color:#222222;margin-bottom:10px}[class*="ls-title"] [class*="ls-btn"]{margin-top:10px}.ls-title-1{font-size:28px}.ls-title-2{font-size:24px}.ls-title-3{font-size:20px}.ls-title-4{font-size:16px}.ls-title-5{font-size:14px}.ls-title-6{font-size:12px;font-weight:bold}p,li{font-size:13px;letter-spacing:0.2px}p{line-height:1.3;margin-bottom:10px}.ls-title-intro{font-weight:300;color:#222222;padding:15px;margin:0 -15px 30px;font-size:28px;background-color:#f7f7f7;border-bottom:1px solid;border-bottom-color:#eeeeee;border-bottom-color:rgba(238,238,238,0.4)}.ls-title-intro.ls-no-bg{border-bottom:none;margin-bottom:0}.ls-html-nobg .ls-title-intro{border:none;margin-bottom:0}.ls-title-intro:before{width:40px;display:inline-block;opacity:0.15;vertical-align:top}.ls-box .ls-title-intro,.ls-box-filter .ls-title-intro,.ls-alert-box .ls-title-intro{font-weight:400;font-size:32px;color:#555555;margin:0;margin-bottom:20px;padding:0;padding-bottom:20px;border-bottom:1px solid #eeeeee;background-color:transparent}.ls-intro{padding:10px 30px;margin:0 -30px 30px;background-color:#f7f7f7;border-bottom:1px solid;border-bottom-color:#eeeeee}.ls-intro .ls-title-intro{padding:0;margin:0;background-color:transparent;border-bottom:none}.ls-intro .ls-title-intro[class*="ls-ico"]{padding-left:52px}.ls-intro p{padding-top:10px;margin:0}.ls-helper-text{font-size:11px;margin-top:3px;margin-bottom:3px}@media screen and (min-width: 768px){html{font-size:100%}[class*="ls-title"]{margin-bottom:5px}[class*="ls-title"] [class*="ls-btn"]{margin-top:-8px}[class*="ls-title-"]{font-weight:600;letter-spacing:-0.2px}.ls-title-1{color:black;font-size:36px}.ls-title-2{font-size:32px}.ls-title-3{font-size:26px}.ls-title-4{font-size:22px}.ls-title-5{font-size:18px}.ls-title-6{font-size:14px}.ls-title-intro{padding:29px 30px 20px;margin-right:-30px;margin-left:-30px;margin-bottom:30px;font-size:36px;font-weight:300}.ls-title-intro[class*="ls-ico"]:before{margin-left:0;margin-right:10px}}.ls-dismissed{display:none}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;animation-duration:1s}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px)}100%{opacity:1;-moz-transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}.fade-in-up{-webkit-animation-name:fadeInUp;-moz-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translateY(-20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInDown{0%{opacity:0;-moz-transform:translateY(-20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInDown{0%{opacity:0;-ms-transform:translateY(-20px)}100%{opacity:1;-ms-transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-20px)}100%{opacity:1;transform:translateY(0)}}.fade-in-down{-webkit-animation-name:fadeInDown;-moz-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translateX(-20px)}100%{opacity:1;-webkit-transform:translateX(0)}}@-moz-keyframes fadeInRight{0%{opacity:0;-moz-transform:translateX(-20px)}100%{opacity:1;-moz-transform:translateX(0)}}@-o-keyframes fadeInRight{0%{opacity:0;-o-transform:translateX(-20px)}100%{opacity:1;-o-transform:translateX(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translateX(-20px)}100%{opacity:1;transform:translateX(0)}}.fade-in-right{-webkit-animation-name:fadeInRight;-moz-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translateX(20px)}100%{opacity:1;-webkit-transform:translateX(0)}}@-moz-keyframes fadeInLeft{0%{opacity:0;-moz-transform:translateX(20px)}100%{opacity:1;-moz-transform:translateX(0)}}@keyframes fadeInLeft{0%{opacity:0;transform:translateX(20px)}100%{opacity:1;transform:translateX(0)}}.fade-in-left{-webkit-animation-name:fadeInLeft;-moz-animation-name:fadeInLeft;animation-name:fadeInLeft}[class*="ls-alert-"]{padding:15px;margin-bottom:20px;border-style:solid;border-width:1px;border-radius:4px;font-size:14px;line-height:1.6}[class*="ls-alert-"]:empty{display:none}[class*="ls-alert-"] p{color:inherit;margin-bottom:0}[class*="ls-alert-"] a:not([class*="ls-btn"]){color:inherit}[class*="ls-alert-"] a:not([class*="ls-btn"]):hover,[class*="ls-alert-"] a:not([class*="ls-btn"]):focus{text-decoration:none}.ls-alert-success{color:#388f39;border-color:#7db67e;background-color:#d7e8d7}.ls-alert-info{color:#2881ac;border-color:#73adc9;background-color:#d4e5ee}.ls-alert-warning{color:#b9a016;border-color:#d1c167;background-color:#f1ecd0}.ls-alert-danger{color:#d75553;border-color:#e5908f;background-color:#f7dddc}.ls-dismiss{float:right;position:relative;top:-3px;right:5px;background:none;border:none;cursor:pointer;color:inherit;font-size:21px;opacity:0.3;line-height:1}.ls-dismiss:hover{opacity:0.5}.ls-alert-blocker ~ .ls-sidebar{height:calc(100% - 90px)}.ls-alert-blocker ~ .ls-sidebar,.ls-alert-blocker ~ .ls-sidebar.ls-area-account-active,.ls-alert-blocker ~ .ls-notification{top:90px}.ls-alert-blocker ~ .ls-topbar,.ls-pre-panel .ls-alert-blocker ~ .ls-sidebar{top:90px}.ls-alert-blocker ~ .ls-main .ls-title-intro{margin-top:90px}.ls-alert-blocker{text-align:center}.ls-alert-fixed-top{top:0}.ls-alert-fixed-bottom{bottom:0}.ls-alert-fixed-top,.ls-alert-fixed-bottom{position:fixed;z-index:13}.ls-alert-blocker,.ls-alert-fixed-top,.ls-alert-fixed-bottom{border-radius:0;border:none;width:100%;margin-bottom:0;line-height:20px}@media screen and (min-width: 768px){.ls-alert-blocker ~ .ls-sidebar{height:100%}.ls-alert-blocker ~ .ls-sidebar,.ls-alert-blocker ~ .ls-sidebar.ls-area-account-active,.ls-alert-blocker ~ .ls-notification{top:150px}}.ls-board-box .ls-no-data{text-align:center;font-size:18px;font-weight:400;color:#888888;padding:45px 0 50px;margin:0}.ls-board-box .ls-box,.ls-board-box .ls-box-filter,.ls-board-box .ls-alert-box{border:none;background-color:#f8f8f8;margin-bottom:10px;min-height:90px;padding:15px;border-radius:4px}.ls-board-box .ls-box small,.ls-board-box .ls-box-filter small,.ls-board-box .ls-alert-box small{margin-bottom:10px;display:block;font-size:12px}.ls-board-box .ls-box strong,.ls-board-box .ls-box-filter strong,.ls-board-box .ls-alert-box strong{display:block;font-size:40px;margin-bottom:10px;color:#222222}.ls-board-box .ls-box strong small,.ls-board-box .ls-box-filter strong small,.ls-board-box .ls-alert-box strong small{font-size:14px}.ls-board-box .ls-title-4{text-transform:uppercase;color:#888888;font-weight:400;font-size:14px;margin-bottom:8px}.ls-board-data{display:block}.ls-board-data+[class*="ls-btn"]{margin-bottom:15px}.ls-info-header{margin-bottom:10px}.ls-info-header>[class*="col-md"]:first-child{padding-left:0}.ls-info-header>[class*="ls-ico"] small{display:block;color:#888888;font-size:14px;margin-top:3px}.ls-info-header>[class*="ls-ico"]:before{margin-right:5px;margin-bottom:7px}.ls-info-header [class*="ls-btn"] ~ .ls-dropdown,.ls-info-header [class*="ls-btn"] ~ [class*="ls-btn"]{margin-left:0;margin-right:0}.ls-info-header .ls-actions-btn{border-top:none;padding:0;margin:20px 0 0}@media screen and (min-width: 768px){.ls-board-box{margin-bottom:0;min-height:170px}.ls-board-box .row>[class*="col-"]{display:table;height:160px;table-layout:fixed}.ls-board-box .row>[class*="col-"] .ls-box,.ls-board-box .row>[class*="col-"] .ls-box-filter,.ls-board-box .row>[class*="col-"] .ls-alert-box{display:table-cell;vertical-align:middle;min-height:160px}.ls-info-header .ls-actions-btn{margin:0}.ls-info-header [class*="ls-btn"] ~ .ls-dropdown,.ls-info-header [class*="ls-btn"] ~ [class*="ls-btn"]{margin-left:5px;margin-right:5px}}@media screen and (max-width: 1200px){.ls-board-box .ls-box strong,.ls-board-box .ls-box-filter strong,.ls-board-box .ls-alert-box strong{display:block;font-size:32px}}[class*="ls-btn"]{-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s;border:1px solid #b2b2b2;padding:6px 11px 7px;border-radius:4px;background-color:white;display:inline-block;font-size:13px;line-height:1.42857;text-decoration:none;text-align:center;white-space:normal;color:black;vertical-align:top;font-weight:normal;-webkit-appearance:none;-moz-appearance:none;appearance:none}[class*="ls-btn"]:hover,[class*="ls-btn"]:focus,[class*="ls-btn"]:active,[class*="ls-btn"].ls-active{border-color:#cccccc;background:#e5e5e5;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.05);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.05);box-shadow:inset 0 3px 5px rgba(0,0,0,0.05)}[class*="ls-btn"][class*="ls-ico-"]:empty:before{margin:0}p+[class*="ls-btn"]{margin-top:7px}[class*="ls-btn"].ls-disabled,[class*="ls-btn"][disabled]{opacity:0.6;cursor:default;pointer-events:none}[class*="ls-btn"]+.ls-dropdown,[class*="ls-btn"]+[class*="ls-btn"]{margin-left:5px}[class*="ls-btn"].ls-btn-block{display:block;width:100%}[class*="ls-btn"].ls-btn-block+.ls-btn-block{margin-top:15px}.ls-btn-primary{color:white}.ls-btn-dark{background-color:#888888;border-color:#555555;color:#eeeeee}.ls-btn-dark:hover,.ls-btn-dark:focus{background-color:#555555}.ls-btn-dark[data-ls-module]:after{border-top-color:#eeeeee}.ls-btn-lg{font-size:16px;padding:11px}.ls-btn-sm{font-size:12px;padding:5px 11px}.ls-btn-xs{font-size:12px;padding:2px 11px}.ls-btn-sm,.ls-btn-xs{line-height:1.5}.ls-btn-danger{color:#d75553}.ls-btn-danger:hover,.ls-btn-danger:focus,.ls-btn-danger.ls-active{background:#d75553;border-color:#c14c4a;color:white}.ls-group-btn{position:relative;z-index:3}.ls-group-btn.ls-float-none-xs{margin-bottom:10px}.ls-group-btn [class*="ls-btn"]:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ls-group-btn [class*="ls-btn"]:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.ls-group-btn [class*="ls-btn"]+[class*="ls-btn"]{margin-left:-1px}.ls-group-btn [class*="ls-btn"]:hover,.ls-group-btn [class*="ls-btn"]:focus{-moz-transition:none 1s;-o-transition:none 1s;-webkit-transition:none 1s;transition:none 1s;outline:none}.ls-actions-btn{padding:15px 0;margin:30px 0;border-top:4px solid #eeeeee;white-space:nowrap}.ls-form-inline .ls-actions-btn{margin:0;border:none;display:inline-block}.ls-form-horizontal .ls-actions-btn{padding-top:21px;border:none}.ls-collapse-group .ls-collapse{margin-bottom:0;border-bottom:0;border-radius:0}.ls-collapse-group .ls-collapse:first-child{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px}.ls-collapse-group .ls-collapse:last-child{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;border:1px solid #eeeeee}.ls-collapse{border:1px solid #eeeeee;border-radius:4px;background-color:white;font-size:14px;margin-bottom:10px}.ls-collapse .ls-collapse-body{padding:10px}.ls-collapse-opened .ls-collapse-header:before,.ls-collapse-opened-always .ls-collapse-header:before{-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ls-collapse-opened .ls-collapse-body,.ls-collapse-opened-always .ls-collapse-body{display:block}.ls-collapse-header{display:block;padding:10px 35px 10px 10px;cursor:pointer;position:relative;word-wrap:break-word}.ls-collapse-header:before{-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);-moz-transition:all 0.35s ease;-o-transition:all 0.35s ease;-webkit-transition:all 0.35s ease;transition:all 0.35s ease;border-radius:100%;content:"\e60b";font-family:"locastyle";font-size:14px;position:absolute;top:50%;margin-top:-12px;right:10px;height:24px;width:24px;line-height:1.4;text-align:center}.ls-collapse-header p{margin-bottom:0;color:#888888}.ls-collapse-title{color:#555555;font-size:16px;margin-bottom:0}.ls-collapse-body{border:0px solid transparent;display:none}[class*="ls-dropdown"]{position:relative;display:inline-block}[class*="ls-dropdown"] .ls-dropdown-nav{list-style:none;display:none;position:absolute;top:100%;z-index:3;min-width:160px;margin:0;margin-top:2px;overflow:hidden;border-radius:4px;font-size:14px;border:1px solid #dddddd;background:white}[class*="ls-dropdown"] .ls-dropdown-nav a{padding:8px 20px;display:block;color:#222222;line-height:1;text-align:left;white-space:nowrap}[class*="ls-dropdown"] .ls-dropdown-nav a:hover,[class*="ls-dropdown"] .ls-dropdown-nav a:focus{background:#eeeeee}[class*="ls-dropdown"] .ls-dropdown-nav a.ls-divider{border-top:1px solid #dddddd;padding-top:10px}[class*="ls-dropdown"] .ls-dropdown-nav a.ls-divider:hover,[class*="ls-dropdown"] .ls-dropdown-nav a.ls-divider:focus{color:white !important}[class*="ls-dropdown"].ls-active .ls-dropdown-nav{display:block}[class*="ls-dropdown"] [class*="ls-btn"]:empty:after{margin-left:0}[class*="ls-dropdown"] [class*="ls-btn"]:after{content:"";content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:5px solid transparent;border-color:#555555 transparent transparent transparent;display:inline-block;width:0;height:0;margin-left:14px;position:relative;top:4px}[class*="ls-dropdown"] [class*="ls-btn"].ls-btn-lg:after{top:2px}[class*="ls-dropdown"] [class*="ls-btn-"]:after,[class*="ls-dropdown"] [class*="ls-btn-"][class*="ls-btn-"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:5px solid transparent;border-color:white transparent transparent transparent}[class*="ls-dropdown"] .ls-btn[class*="ls-btn-"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:5px solid transparent;border-color:#555555 transparent transparent transparent}[class*="ls-dropdown"].ls-dropdown [class*="ls-btn-danger"]:after{border-color:#d75553 transparent transparent transparent}[class*="ls-dropdown"].ls-dropdown [class*="ls-btn-danger"]:hover:after,[class*="ls-dropdown"].ls-dropdown [class*="ls-btn-danger"]:focus:after{border-color:white transparent transparent transparent}[class*="ls-dropdown"].ls-pos-right ul{left:auto;right:0}[class*="ls-dropdown"].ls-dropdown-tabs{z-index:2}[class*="ls-dropdown"].ls-dropdown-tabs [class*="ls-btn"]{border-radius:4px 4px 0 0;border-color:#eeeeee;border-bottom:1px solid white;padding:13px 12px 11px;line-height:1;font-size:14px}[class*="ls-dropdown"].ls-dropdown-tabs [class*="ls-btn"]:hover,[class*="ls-dropdown"].ls-dropdown-tabs [class*="ls-btn"]:focus{background-color:#eeeeee;background-color:rgba(238,238,238,0.2)}[class*="ls-dropdown"].ls-dropdown-tabs [class*="ls-btn"]:after{margin-left:6px}[class*="ls-dropdown"].ls-dropdown-tabs .ls-dropdown-nav{border-radius:0 0 4px 4px;border-color:#dddddd;margin-top:-1px;padding:5px 0}[class*="ls-dropdown"].ls-dropdown-tabs .ls-dropdown-nav a{font-size:14px}[class*="ls-btn-"][data-ls-module]:after{border-top-color:white}.ls-footer{position:relative;z-index:0;padding-bottom:5px;margin:0 auto;overflow:hidden;width:calc(100% - 30px);width:96.5% \9;border-top:30px solid transparent}.ls-title-footer,.bg-customer-support,.bg-my-tickets,.bg-help-desk,.bg-statusblog{background-image:url(../images/footer/sprite.png);background-repeat:no-repeat}.ls-footer-menu{background-color:#131313;border-radius:4px;overflow:hidden}.ls-title-footer{position:relative;text-transform:uppercase;text-align:center;padding:15px 0;margin:0 auto;color:white;font-weight:bolder;font-size:14px;background-position:center 37px}.ls-footer-list{margin:0;text-align:center;position:relative;display:block;padding:10px 0 20px}.ls-footer-list li{display:inline-block;padding:0;margin:0 10px}.ls-footer-list a{padding:18px 10px 18px 35px;color:white}.ls-footer-list a:hover,.ls-footer-list a:focus{text-decoration:none}.ls-footer-list .bg-customer-support{background-position:-5px -67px}.ls-footer-list .bg-my-tickets{background-position:-5px -187px}.ls-footer-list .bg-help-desk{background-position:-5px -127px}.ls-footer-list .bg-statusblog{background-position:-5px -247px}.ls-footer-info{font-size:11px;text-align:center;padding:5px 0 0}.ls-footer-info .set-ip{margin-top:5px}.ls-footer-info p{border-top:solid 1px #d9d9d9;margin-top:5px;padding-top:5px;font-size:11px}@media screen and (min-width: 1200px){.ls-footer{display:block}.ls-footer-menu{position:relative}.ls-title-footer{display:inline-block;vertical-align:middle;line-height:25px;padding:15px 35px 15px 15px;background-position:right -20px}.ls-footer-list{margin:0;display:inline-block;width:calc(100% - 185px);width:79.5% \9;position:relative;top:5px}.ls-footer-list li{margin-left:0;margin-right:0;font-size:13px;display:inline-block;vertical-align:top;width:24%}.ls-footer-list a .visible-lg{display:inline-block !important;opacity:1}.ls-footer-list:hover,.ls-footer-list:focus,.ls-footer-list:active{opacity:0.8}.ls-footer-info{padding-bottom:10px}.ls-footer-info .set-ip{margin-top:0}.ls-footer-info .set-ip,.ls-footer-info .last-access{float:left;margin-right:10px}.ls-footer-info .ls-copy-right{float:right;border:none;margin:0;padding:0}}[class*="ls-title"]+.ls-form{padding-top:15px}.ls-form.row [class*="ls-btn"]{margin-left:15px}.ls-form [class*="ls-btn"].ls-btn-block{width:calc(100% - 30px);width:96.5% \9}.ls-modal-footer [class*="ls-btn"]{margin-left:0}.ls-label{display:block;float:none;vertical-align:top;margin-bottom:15px}.ls-label b,.ls-label label,.ls-label .ls-label-text{display:block;color:#555555;font-weight:bold;line-height:19.8px;font-size:14px;margin-right:5px}.ls-label b+p,.ls-label label+p,.ls-label .ls-label-text+p{color:#888888}.ls-label b ~ label{font-weight:normal}.ls-input-text,input[type="color"],input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="email"],input[type="month"],input[type="number"],input[type="password"],input[type="search"],input[type="tel"],input[type="text"],input[type="time"],input[type="url"],input[type="week"],input[type="text"],textarea{-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;-o-transition:border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;-webkit-transition:border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;font-family:Open Sans, Arial, Helvetica, Sans-serif;font-size:13px;padding:6px 11px 7px;vertical-align:middle;background-color:white;background-image:none;border:1px solid #dddddd;border-radius:4px;line-height:1.42857}.ls-label .ls-input-text,.ls-label input[type="color"],.ls-label input[type="date"],.ls-label input[type="datetime"],.ls-label input[type="datetime-local"],.ls-label input[type="email"],.ls-label input[type="month"],.ls-label input[type="number"],.ls-label input[type="password"],.ls-label input[type="search"],.ls-label input[type="tel"],.ls-label input[type="text"],.ls-label input[type="time"],.ls-label input[type="url"],.ls-label input[type="week"],.ls-label input[type="text"],.ls-label textarea{width:100%}.ls-form-inline .ls-label .ls-input-text,.ls-form-inline .ls-label input[type="color"],.ls-form-inline .ls-label input[type="date"],.ls-form-inline .ls-label input[type="datetime"],.ls-form-inline .ls-label input[type="datetime-local"],.ls-form-inline .ls-label input[type="email"],.ls-form-inline .ls-label input[type="month"],.ls-form-inline .ls-label input[type="number"],.ls-form-inline .ls-label input[type="password"],.ls-form-inline .ls-label input[type="search"],.ls-form-inline .ls-label input[type="tel"],.ls-form-inline .ls-label input[type="text"],.ls-form-inline .ls-label input[type="time"],.ls-form-inline .ls-label input[type="url"],.ls-form-inline .ls-label input[type="week"],.ls-form-inline .ls-label input[type="text"],.ls-form-inline .ls-label textarea{width:auto}.ls-form-inline .ls-label[class*="col-"] .ls-input-text,.ls-form-inline .ls-label[class*="col-"] input[type="color"],.ls-form-inline .ls-label[class*="col-"] input[type="date"],.ls-form-inline .ls-label[class*="col-"] input[type="datetime"],.ls-form-inline .ls-label[class*="col-"] input[type="datetime-local"],.ls-form-inline .ls-label[class*="col-"] input[type="email"],.ls-form-inline .ls-label[class*="col-"] input[type="month"],.ls-form-inline .ls-label[class*="col-"] input[type="number"],.ls-form-inline .ls-label[class*="col-"] input[type="password"],.ls-form-inline .ls-label[class*="col-"] input[type="search"],.ls-form-inline .ls-label[class*="col-"] input[type="tel"],.ls-form-inline .ls-label[class*="col-"] input[type="text"],.ls-form-inline .ls-label[class*="col-"] input[type="time"],.ls-form-inline .ls-label[class*="col-"] input[type="url"],.ls-form-inline .ls-label[class*="col-"] input[type="week"],.ls-form-inline .ls-label[class*="col-"] input[type="text"],.ls-form-inline .ls-label[class*="col-"] textarea{width:100%}.ls-input-text[disabled],input[type="color"][disabled],input[type="date"][disabled],input[type="datetime"][disabled],input[type="datetime-local"][disabled],input[type="email"][disabled],input[type="month"][disabled],input[type="number"][disabled],input[type="password"][disabled],input[type="search"][disabled],input[type="tel"][disabled],input[type="text"][disabled],input[type="time"][disabled],input[type="url"][disabled],input[type="week"][disabled],input[type="text"][disabled],textarea[disabled]{border-color:#eeeeee;background-color:#f7f7f7}.ls-input-text.ls-field-lg,input[type="color"].ls-field-lg,input[type="date"].ls-field-lg,input[type="datetime"].ls-field-lg,input[type="datetime-local"].ls-field-lg,input[type="email"].ls-field-lg,input[type="month"].ls-field-lg,input[type="number"].ls-field-lg,input[type="password"].ls-field-lg,input[type="search"].ls-field-lg,input[type="tel"].ls-field-lg,input[type="text"].ls-field-lg,input[type="time"].ls-field-lg,input[type="url"].ls-field-lg,input[type="week"].ls-field-lg,input[type="text"].ls-field-lg,textarea.ls-field-lg{font-size:16px;padding:11px}.ls-input-text.ls-field-md,input[type="color"].ls-field-md,input[type="date"].ls-field-md,input[type="datetime"].ls-field-md,input[type="datetime-local"].ls-field-md,input[type="email"].ls-field-md,input[type="month"].ls-field-md,input[type="number"].ls-field-md,input[type="password"].ls-field-md,input[type="search"].ls-field-md,input[type="tel"].ls-field-md,input[type="text"].ls-field-md,input[type="time"].ls-field-md,input[type="url"].ls-field-md,input[type="week"].ls-field-md,input[type="text"].ls-field-md,textarea.ls-field-md{font-size:13px;padding:6px 11px 7px}.ls-input-text.ls-field-sm,input[type="color"].ls-field-sm,input[type="date"].ls-field-sm,input[type="datetime"].ls-field-sm,input[type="datetime-local"].ls-field-sm,input[type="email"].ls-field-sm,input[type="month"].ls-field-sm,input[type="number"].ls-field-sm,input[type="password"].ls-field-sm,input[type="search"].ls-field-sm,input[type="tel"].ls-field-sm,input[type="text"].ls-field-sm,input[type="time"].ls-field-sm,input[type="url"].ls-field-sm,input[type="week"].ls-field-sm,input[type="text"].ls-field-sm,textarea.ls-field-sm{font-size:12px;padding:5px 11px}.ls-input-text.ls-field-xs,input[type="color"].ls-field-xs,input[type="date"].ls-field-xs,input[type="datetime"].ls-field-xs,input[type="datetime-local"].ls-field-xs,input[type="email"].ls-field-xs,input[type="month"].ls-field-xs,input[type="number"].ls-field-xs,input[type="password"].ls-field-xs,input[type="search"].ls-field-xs,input[type="tel"].ls-field-xs,input[type="text"].ls-field-xs,input[type="time"].ls-field-xs,input[type="url"].ls-field-xs,input[type="week"].ls-field-xs,input[type="text"].ls-field-xs,textarea.ls-field-xs{font-size:12px;padding:2px 11px}.ls-input-text.ls-field-sm,.ls-input-text.ls-field-xs,input[type="color"].ls-field-sm,input[type="color"].ls-field-xs,input[type="date"].ls-field-sm,input[type="date"].ls-field-xs,input[type="datetime"].ls-field-sm,input[type="datetime"].ls-field-xs,input[type="datetime-local"].ls-field-sm,input[type="datetime-local"].ls-field-xs,input[type="email"].ls-field-sm,input[type="email"].ls-field-xs,input[type="month"].ls-field-sm,input[type="month"].ls-field-xs,input[type="number"].ls-field-sm,input[type="number"].ls-field-xs,input[type="password"].ls-field-sm,input[type="password"].ls-field-xs,input[type="search"].ls-field-sm,input[type="search"].ls-field-xs,input[type="tel"].ls-field-sm,input[type="tel"].ls-field-xs,input[type="text"].ls-field-sm,input[type="text"].ls-field-xs,input[type="time"].ls-field-sm,input[type="time"].ls-field-xs,input[type="url"].ls-field-sm,input[type="url"].ls-field-xs,input[type="week"].ls-field-sm,input[type="week"].ls-field-xs,input[type="text"].ls-field-sm,input[type="text"].ls-field-xs,textarea.ls-field-sm,textarea.ls-field-xs{line-height:1.5}textarea{resize:none}textarea.ls-textarea-resize-both{resize:both;overflow:auto}textarea.ls-textarea-resize-horizontal{resize:horizontal}textarea.ls-textarea-resize-vertical{resize:vertical}.ls-help-message{font-size:13px}.ls-warning .ls-label-text,.ls-warning .ls-help-message{color:#b9a016}.ls-warning .ls-prefix-group a,.ls-warning .ls-prefix-group .ls-label-text-prefix{color:#b9a016;border-color:#b9a016}.ls-warning input,.ls-warning textarea{border-color:#b9a016}.ls-success .ls-label-text,.ls-success .ls-help-message{color:#388f39}.ls-success .ls-prefix-group a,.ls-success .ls-prefix-group .ls-label-text-prefix{color:#388f39;border-color:#388f39}.ls-success input,.ls-success textarea{border-color:#388f39}.ls-error .ls-label-text,.ls-error .ls-help-message{color:#d75553}.ls-error .ls-prefix-group a,.ls-error .ls-prefix-group .ls-label-text-prefix{color:#d75553;border-color:#d75553}.ls-error input,.ls-error textarea{border-color:#d75553}.ls-form-horizontal .ls-label .ls-label-text{display:inline-block;margin-right:10px}.ls-form-horizontal [class*="ls-btn"]{vertical-align:top;margin-top:21px}.ls-form-horizontal .ls-actions-btn{clear:both}.ls-form-inline{margin-right:0}.ls-form-inline.ls-float-left,.ls-info-header>.ls-form-inline[class*="ls-ico"]:before,.ls-group-btn .ls-form-inline[class*="ls-btn"],.ls-form-horizontal .ls-form-inline.ls-label[class*="col-"],.ls-prefix-group input.ls-form-inline,.ls-form-inline.ls-box[class*="ls-ico-"]:before,.ls-form-inline[class*="ls-ico-"].ls-box-filter:before,.ls-form-inline[class*="ls-ico-"].ls-alert-box:before,[class*="ls-pagination"] li.ls-form-inline,[class*="ls-pagination"] li .ls-form-inline.ls-gap,[class*="ls-pagination"] li a.ls-form-inline,.ls-pager li.ls-previous a.ls-form-inline,.ls-form-inline.pika-lendar,.ls-form-inline.pika-prev,.is-rtl .ls-form-inline.pika-next{width:48%}.ls-form-inline.row{margin-right:0}.ls-form-inline.row [class*="ls-btn"]{margin-left:0}.ls-form-inline .ls-label{display:inline-block;margin-right:10px;margin-bottom:15px}.ls-form-inline .ls-label+[class*="ls-btn"]{margin-left:0}.ls-form-inline .ls-label .ls-label-text{display:inline-block;margin-right:5px}.ls-form-inline .ls-label[class*="col-"]{float:left;display:inline-table;margin-right:0;padding-left:0}.ls-form-inline .ls-label[class*="col-"] .ls-label-text{display:table-cell;padding-right:10px;vertical-align:middle;white-space:nowrap;width:1%}.ls-form-inline .ls-actions-btn{display:inline-table}.ls-form-inline .ls-actions-btn [class*="ls-btn"]+[class*="ls-btn"]{margin-left:15px}.ls-box-filter form.ls-float-right{min-width:230px;text-align:right}.ls-box-filter form.ls-float-right .ls-label{display:inline-block}.ls-box-filter form.ls-float-right .ls-label[class*="col-"]{padding-right:15px}.ls-box-filter form.ls-float-right .ls-label input{width:100%}.ls-form-text input,input.ls-form-text,.ls-form-text[disabled]{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border-color:transparent !important;background-color:transparent !important;padding-right:0 !important;padding-left:0 !important}.ls-prefix-group .ls-form-text input,.ls-prefix-group input.ls-form-text,.ls-prefix-group .ls-form-text[disabled]{background-color:white !important;background-image:none;border:1px solid #dddddd !important;border-left:none !important;padding-left:8px !important}.ls-middle-label{display:inline-block;padding-top:9px}.ls-prefix-group{position:relative;height:36px;display:table}.ls-form-inline .ls-prefix-group input+.ls-label-text-prefix{height:inherit}.ls-form-inline .ls-prefix-group input{width:78%}.ls-prefix-group input{position:relative;z-index:2;width:100%;height:inherit;margin-bottom:0;display:table-cell}.ls-label-text-prefix{width:1%;display:table-cell;padding:6px 12px;white-space:nowrap;vertical-align:middle;font-size:14px;font-weight:400;line-height:1;color:#a2a2a2;text-align:center;background-color:#fbfbfb;border:1px solid #dddddd;border-radius:4px 0 0 4px}.ls-label-text-prefix.ls-bg-white{color:#222222;font-weight:bold}.ls-label-text-prefix.ls-bg-white:hover,.ls-label-text-prefix.ls-bg-white:focus{background:#dddddd !important}.ls-label-text-prefix+input{border-left:none;border-bottom-left-radius:0;border-top-left-radius:0}input+.ls-label-text-prefix{border:1px solid #dddddd;border-radius:0 4px 4px 0;position:relative;left:-4px;z-index:2}@media screen and (max-width: 768px){.ls-form-horizontal [class*="ls-btn"]{margin-top:0}.ls-form-inline.row{margin-left:0;margin-right:-15px}.ls-form-inline .ls-label .ls-label-text{display:block}.ls-form-inline .ls-label[class*="col-"]{float:none;display:block}.ls-form-inline .ls-label[class*="col-"] .ls-label-text{display:block}.ls-form-inline .ls-actions-btn{display:block}.ls-form-inline [class*="ls-btn"]{margin-left:0}.ls-form-inline [class*="ls-btn"]+[class*="ls-btn"]{margin-left:15px}.ls-form-inline .ls-float-right,.ls-form-inline .ls-pager li.ls-next a,.ls-pager li.ls-next .ls-form-inline a{float:none !important}.ls-box-filter form.ls-float-right{text-align:left;float:none !important}.ls-box-filter form.ls-float-right .ls-label{display:block}.ls-box-filter form.ls-float-right [class*="ls-btn"]{margin-left:0}}@media screen and (min-width: 768px){.ls-box-filter .ls-form-inline .ls-label{margin-bottom:0}.ls-form-inline .ls-actions-btn{margin-top:0;margin-bottom:0}}.ls-list{border:1px solid #eeeeee;border-left-width:4px;color:#888888;border-radius:4px;margin-bottom:10px;font-size:13px}.ls-list .ls-list-header{display:table;width:100%}.ls-list .ls-list-header>div{padding:15px;height:inherit}.ls-list .ls-list-header+.ls-list-content{border-top:1px solid #eeeeee}.ls-list .ls-list-label{color:#888888;color:rgba(136,136,136,0.8);display:block;font-size:13px;padding-bottom:2px}.ls-list .ls-list-label+strong{color:#222222;color:rgba(34,34,34,0.8)}.ls-list .ls-list-image{display:inline-block;margin-right:10px;vertical-align:top}.ls-list .ls-list-title strong{color:#222222}.ls-list .ls-list-title a,.ls-list .ls-list-title strong{font-size:18px;font-weight:600}.ls-list .ls-list-title small{padding-top:5px;display:block;font-size:13px}.ls-list-description p{display:block;font-size:13px}.ls-list-description ul{margin-left:20px;margin-bottom:10px}.ls-list-description li{font-size:13px;line-height:1.4}.ls-list-description [class*="ls-btn"]+[class*="ls-btn"]{margin-right:5px}.ls-list-content{display:table;margin-left:10px;width:calc(100% - 20px);width:98.5% \9}.ls-list-content [class*="col-"]{border-left:1px solid #eeeeee;padding-bottom:12px;padding-top:12px}.ls-list-content [class*="col-"]:first-child{border-color:transparent;padding-left:5px}.ls-list-content [class*="col-xs-12"]{border-left:none;border-top:1px solid #eeeeee;text-align:center}.ls-list-content [class*="col-xs-12"]:first-child{border-top:none}.ls-list-content+.ls-list-content{border-top:1px solid #eeeeee}@media screen and (min-width: 768px){.ls-list-content [class*="col-xs-12"]{border-left:1px solid #eeeeee;border-top:none;text-align:left}}.ls-modal{display:none;position:fixed;left:0;top:0;right:0;bottom:0;text-align:center;overflow:auto;overflow-y:scroll;z-index:16;backface-visibility:hidden;background:rgba(0,0,0,0.8)}.ls-modal.ls-opened{display:block}.ls-modal.popover .ls-modal-footer{display:none}.ls-modal-box{display:inline-block;width:90%;margin:10% 20px 100px;position:relative;text-align:left;background-color:white;border-radius:4px;box-shadow:0 0 10px 0 rgba(0,0,0,0.7)}.ls-modal-box.ls-modal-large{width:750px;margin-left:-375px}.ls-modal-box.ls-modal-small{width:450px;margin-left:-225px}[data-modal-blocked] [data-dismiss]{display:none}.ls-modal-header{padding:20px;border-bottom:1px solid #eeeeee}.ls-modal-header [data-dismiss]{position:absolute;right:10px;top:14px;border:none;background:none;color:#212121;text-align:center;font-size:20px;font-weight:bold;cursor:pointer;opacity:0.3}.ls-modal-header [data-dismiss]:hover{opacity:1}.ls-modal-header .ls-modal-title{padding:0;margin:0;font-size:16px}.ls-modal-body{padding:20px}.ls-modal-body p{margin-bottom:10px}.ls-modal-footer{padding:20px;border-top:1px solid #eeeeee}.ls-modal-feedbackr .ls-modal-box{width:627px;height:600px}.ls-modal-feedbackr .ls-modal-box .ls-modal-header{padding:0;border:none}.ls-modal-feedbackr .ls-modal-box .ls-modal-header [data-dismiss]{top:0px;right:3px}.ls-modal-feedbackr .ls-modal-box .ls-modal-body{width:100%;height:600px}@media screen and (min-width: 768px){.ls-modal-box{width:600px}}.ls-notification{background:#222222;width:265px;position:fixed;right:0;top:0;height:100%;z-index:-1}.ls-notification .ls-notification-list ul li{border-bottom:1px solid #555555;position:relative;list-style:none}.ls-notification .ls-notification-list ul li:last-child{border-bottom:none}.ls-notification .ls-notification-list [class*="ls-title"]{padding:20px;color:white;background:#555555}.ls-notification .ls-notification-list a:not([class*="btn"]){-moz-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s;color:#888888;display:block;font-size:14px;text-decoration:none;padding:20px;padding-right:30px;font-weight:300;line-height:1.3}.ls-notification .ls-notification-list a:not([class*="btn"]).ls-close-notification{padding:0;position:absolute;top:10px;right:5px;font-size:10px;color:white}.ls-notification .ls-notification-list a:not([class*="btn"]):hover,.ls-notification .ls-notification-list a:not([class*="btn"]):focus,.ls-notification .ls-notification-list a:not([class*="btn"]):active{color:white}.ls-notification .ls-notification-list a[class*="btn"]{margin:20px 0}@media screen and (min-width: 768px){.ls-notification{-moz-transform:none;-ms-transform:none;-webkit-transform:none;transform:none;-moz-transform:translate(-100%, 0);-ms-transform:translate(-100%, 0);-webkit-transform:translate(-100%, 0);transform:translate(-100%, 0);-moz-transition:none 1s;-o-transition:none 1s;-webkit-transition:none 1s;transition:none 1s;float:none;top:60px;height:calc(100% - 60px);height:93% \9;z-index:11;position:fixed;overflow:visible;right:auto;left:0}.ls-notification-list{position:fixed;background:#222222;width:265px;top:-20px;display:block;-ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out;transition:all 0.2s ease-out;opacity:0;height:0;overflow:hidden;border-radius:4px}.ls-notification-list h3{border-radius:4px 4px 0 0}.ls-notification-list ul{max-height:300px;overflow:auto;margin:0 5px 5px 0}.ls-notification-list ul::-webkit-scrollbar{width:6px}.ls-notification-list ul::-webkit-scrollbar-track{background:rgba(0,0,0,0.8);border-radius:4px}.ls-notification-list ul::-webkit-scrollbar-thumb{background:#888888;border-radius:4px}.ls-notification-list.ls-active{top:0;opacity:1;height:auto;overflow:visible}.ls-notification-list:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:10px solid transparent;position:absolute;top:-20px;left:50%;margin-left:-10px;border-bottom-color:#555555}}.ls-pre-panel .ls-sidebar{top:0;height:100%}.ls-pre-panel .ls-go-next{display:none}.ls-pre-panel .ls-title-intro{background-color:transparent;border-bottom:none;margin-bottom:0}.ls-pre-panel .ls-title-intro+p{font-size:14px;margin-bottom:30px}.ls-pre-panel .ls-topbar .ls-notification-topbar .ls-alerts-list a{color:#555555;color:rgba(85,85,85,0.4)}.ls-pre-panel .ls-topbar .ls-notification-topbar .ls-alerts-list a.ls-active{color:black}.ls-pre-panel .ls-topbar .ls-notification-topbar .ls-alerts-list a[data-counter]{color:#555555;color:#555555}.ls-pre-panel .ls-topbar .ls-notification-topbar .ls-alerts-list a[data-counter].ls-active{color:black}.ls-pre-panel .ls-topbar .ls-notification-topbar .ls-alerts-list a[data-counter]:after{color:white}.ls-pre-panel .ls-user-account{background-color:#dedede}.ls-pre-panel .ls-topbar .ls-ico-menu:before,.ls-pre-panel .ls-topbar .ls-show-notifications.ls-ico-question:before{color:#555555}.ls-pre-panel .ls-alert-blocker ~ .ls-sidebar{height:calc(100% - 90px)}@media screen and (min-width: 768px){.ls-pre-panel .ls-sidebar{z-index:12}.ls-pre-panel .ls-user-account>a{color:#555555}.ls-pre-panel .ls-user-account>a small{color:#555555;color:#555555}.ls-pre-panel .ls-user-account>a:before{color:#555555;color:rgba(85,85,85,0.5);box-shadow:inset 0 0 0 2px rgba(85,85,85,0.3)}.ls-main-full .ls-topbar [class*="ls-go"]{display:none}}.ls-popover{position:absolute;z-index:17;max-width:376px;background-color:white;border:1px solid rgba(0,0,0,0.2);border-radius:4px;box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box;display:none}.ls-popover.ls-popover-top{-moz-transform:translateX(-50%) translateY(-100%);-ms-transform:translateX(-50%) translateY(-100%);-webkit-transform:translateX(-50%) translateY(-100%);transform:translateX(-50%) translateY(-100%)}.ls-popover.ls-popover-bottom{-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ls-popover.ls-popover-right{-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ls-popover.ls-popover-left{-moz-transform:translateX(-100%) translateY(-50%);-ms-transform:translateX(-100%) translateY(-50%);-webkit-transform:translateX(-100%) translateY(-50%);transform:translateX(-100%) translateY(-50%)}.ls-popover:after,.ls-popover:before{content:"";position:absolute;width:0px;height:0px;border-style:solid}.ls-popover.ls-popover-top:after{bottom:-10px;left:46.5%;margin-left:-8px;border-width:10px 10px 0 10px;border-color:white transparent transparent transparent}.ls-popover.ls-popover-top:before{bottom:-11px;left:46.5%;margin-left:-8px;border-width:10px 10px 0 10px;border-color:rgba(0,0,0,0.2) transparent transparent transparent}.ls-popover.ls-popover-right:after{top:50%;left:-9px;margin-top:-7px;border-width:10px 10px 10px 0;border-color:transparent white transparent transparent}.ls-popover.ls-popover-right:before{top:50%;left:-10px;margin-top:-7px;border-width:10px 10px 10px 0;border-color:transparent rgba(0,0,0,0.2) transparent transparent}.ls-popover.ls-popover-bottom:after{top:-10px;left:46.5%;border-width:0 10px 10px 10px;border-color:transparent transparent #f7f7f7 transparent}.ls-popover.ls-popover-bottom:before{top:-11px;left:46.5%;border-width:0 10px 10px 10px;border-color:transparent transparent rgba(0,0,0,0.2) transparent}.ls-popover.ls-popover-left:after{top:50%;right:-10px;margin-top:-8px;border-width:10px 0 10px 10px;border-color:transparent transparent transparent white}.ls-popover.ls-popover-left:before{top:50%;right:-11px;margin-top:-8px;border-width:10px 0 10px 10px;border-color:transparent transparent transparent rgba(0,0,0,0.2)}.ls-popover .ls-popover-header [class*="title-"]{padding:13px 20px 12px;margin:0;font-size:16px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:4px 4px 0 0}.ls-popover .ls-popover-content{color:#555555;padding:20px;font-size:14px;text-overflow:ellipsis;overflow:hidden}.ls-popover .ls-popover-content ul,.ls-popover .ls-popover-content ol{margin:0;padding:0}.ls-popover .ls-popover-content ul li{margin-bottom:5px}[data-ls-module="progressBar"]{background:#eeeeee;width:100%;padding:2px;min-height:24px;border-radius:4px;position:relative}[data-ls-module="progressBar"] span{display:block;min-height:20px;background:#555555;border-radius:4px;text-align:center}[data-ls-module="progressBar"] span:before{content:attr(aria-valuenow);color:white;font-size:10px;display:inline-block;padding:5px}[data-ls-module="progressBar"].ls-right-percentage{width:calc(100% - 30px);width:96.5% \9}[data-ls-module="progressBar"].ls-right-percentage span:before{position:absolute;left:100%;color:black}[data-ls-module="progressBar"].ls-left-percentage{margin-left:30px;width:calc(100% - 30px);width:96.5% \9}[data-ls-module="progressBar"].ls-left-percentage span:before{position:absolute;right:100%;color:black}@-webkit-keyframes stretch{0%{width:0}}@keyframes stretch{0%{width:0}}[data-ls-module="progressBar"].ls-animated span{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:stretch;animation-name:stretch}.ls-sidebar{background-color:#1e1e1e;width:265px;position:fixed;left:0;top:0;height:100%}.ls-sidebar .ls-sidebar-toggle{display:none}.ls-sidebar .ls-sidebar-inner{overflow:auto;height:inherit}.ls-sidebar .ls-user-account{position:absolute;bottom:0;left:0;padding:0;display:inline-block;width:100%;background-color:#111111;z-index:3}.ls-sidebar .ls-user-account ~ .ls-sidebar-inner{height:calc(100% - 60px)}.ls-sidebar .ls-user-account>a[class*="ls-ico"]{font-weight:300;height:70px;padding-left:60px;padding-top:20px}.ls-sidebar .ls-user-account>a[class*="ls-ico"]:after{-moz-transition:none 1s;-o-transition:none 1s;-webkit-transition:none 1s;transition:none 1s;content:"\e60f";position:absolute;top:25px;right:15px}.ls-sidebar .ls-user-account>a[class*="ls-ico"]:before{background:#222222;position:absolute;left:15px;top:15px}.ls-sidebar .ls-user-account>a[class*="ls-ico"] .ls-name{display:block !important;font-weight:600;top:-5px;position:relative}.ls-sidebar .ls-user-account.ls-active{height:100%}.ls-sidebar .ls-user-account.ls-active>a:after{-moz-transform:rotate(0);-ms-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0);-moz-transition:none 1s;-o-transition:none 1s;-webkit-transition:none 1s;transition:none 1s;content:"\e63c"}.ls-sidebar .ls-user-account [class*="ls-ico"]{padding:15px}.ls-sidebar .ls-user-account .ls-user-menu{background-color:#111111;position:static}.ls-sidebar.ls-area-account-active .ls-menu{height:calc(100% - 160px);height:100% \9;padding-bottom:160px \9}.ls-sidebar .ls-brand-name{padding:40px 20px;text-align:center;font-size:28px;font-weight:300;line-height:1.3}.ls-sidebar .ls-brand-name a{color:white}.ls-sidebar .ls-brand-name:before{display:block;color:white;font-size:72px}.ls-menu{margin:0;padding:0;-webkit-overflow-scrolling:touch;-moz-overflow-scrolling:touch;-ms-overflow-scrolling:touch;overflow-scrolling:touch}.ls-pre-panel .ls-sidebar .ls-menu{height:calc(100% - 224px)}.ls-menu li{list-style:none;border-bottom:1px solid}.ls-menu li.ls-active>a{color:white}.ls-menu a{-moz-transition:padding 0.2s;-o-transition:padding 0.2s;-webkit-transition:padding 0.2s;transition:padding 0.2s;display:block;font-size:14px;font-weight:600;line-height:1.3;text-decoration:none;padding:20px 20px 20px 59px;position:relative;width:265px;overflow:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ls-menu a:before{-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s;font-size:20px;position:absolute;top:50%;margin-top:-10px;left:19px}.ls-menu a:focus,.ls-menu a:hover{padding-left:65px}.ls-menu a:focus:before,.ls-menu a:hover:before{left:25px}.ls-submenu-parent{position:relative}.ls-submenu-parent>a{padding-right:35px}.ls-submenu-parent ul{height:0;display:none}.ls-submenu-parent:after{-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s;content:"\e60b";font-family:"locastyle";font-size:11px;position:absolute;top:24px;right:20px;pointer-events:none}.ls-submenu-parent.ls-active a{font-weight:400}.ls-submenu-parent.ls-active a:hover,.ls-submenu-parent.ls-active a:focus{padding-left:65px}.ls-submenu-parent.ls-active:after{-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg);-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s}.ls-submenu-parent.ls-active ul{-moz-transition:opacity 0.3s;-o-transition:opacity 0.3s;-webkit-transition:opacity 0.3s;transition:opacity 0.3s;height:auto;display:block;border-top:1px solid}.ls-submenu-parent.ls-active ul li:last-child{border-bottom:none}.ls-area-account{background-color:#141414;border-bottom-color:#282828;padding:20px 15px;position:absolute;bottom:0;width:100%;z-index:2}.ls-area-account[class*="ls-ico"]:before{float:left;font-size:1.875em;margin-right:15px}.ls-area-account [class*="ls-title"]{margin-bottom:0;padding-top:0}.ls-area-account [class*="ls-title"]:after{display:inline-block}.ls-area-account .ls-title-2{color:#7f7f7f;font-size:11px;font-weight:normal;text-transform:uppercase}.ls-area-account .ls-title-3{color:white;font-size:14px;font-weight:normal;margin:3px 0 15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-area-account [class*="ls-btn"]{margin-left:45px;background-color:#262626;color:#999999;font-size:9px;border-color:#595959}.ls-area-account [class*="ls-btn"]:hover{background-color:#3f3f3f}@media screen and (min-width: 768px){.ls-sidebar{-moz-transform:none;-ms-transform:none;-webkit-transform:none;transform:none;-moz-transform:translate(0, 0);-ms-transform:translate(0, 0);-webkit-transform:translate(0, 0);transform:translate(0, 0);-moz-transition:width 0.25s linear;-o-transition:width 0.25s linear;-webkit-transition:width 0.25s linear;transition:width 0.25s linear;float:none;top:60px;height:calc(100% - 60px);height:93% \9}.ls-sidebar .ls-menu{height:100%;overflow:auto;margin-top:0}.ls-sidebar .ls-area-account{position:static}.ls-sidebar .ls-user-account{display:none}.ls-sidebar .ls-user-account ~ .ls-sidebar-inner{overflow:auto;height:100%}.ls-sidebar .ls-sidebar-toggle{display:block;position:absolute;bottom:0;cursor:pointer;width:100%;padding:20px;text-align:right;border-top:1px solid #222222;background:inherit;-moz-transition:width 0.25s linear;-o-transition:width 0.25s linear;-webkit-transition:width 0.25s linear;transition:width 0.25s linear}.ls-sidebar .ls-sidebar-toggle:hover{color:white;background-color:#323232}.ls-sidebar .ls-sidebar-toggle:hover:before{color:white}.ls-sidebar .ls-sidebar-toggle:before{-moz-transition:-moz-transform 0.25s linear;-o-transition:-o-transform 0.25s linear;-webkit-transition:-webkit-transform 0.25s linear;transition:transform 0.25s linear;display:inline-block;font-size:11.04px;font-weight:bold;color:#7f7f7f;width:22px}}.ls-sidebar-toggled .ls-brand-name{width:265px;padding:16px;width:auto;text-align:left}.ls-sidebar-toggled .ls-brand-name a{display:none}.ls-sidebar-toggled .ls-brand-name:before{font-size:inherit}.ls-sidebar-toggled .ls-user-account ~ .ls-sidebar-inner{overflow:initial}.ls-sidebar-toggled .ls-sidebar-toggle:before{-moz-transform:rotate(-180deg);-ms-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);transform:rotate(-180deg);margin-left:4px}.ls-sidebar-toggled .ls-sidebar{width:60px;z-index:11}.ls-sidebar-toggled .ls-menu{overflow:visible}.ls-sidebar-toggled .ls-menu a:focus:before,.ls-sidebar-toggled .ls-menu a:hover:before{left:19px}.ls-sidebar-toggled .ls-menu>ul>li{position:relative;overflow:hidden}.ls-sidebar-toggled .ls-menu .ls-submenu-parent:after{right:5px;font-size:9px;-moz-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-webkit-transform:rotate(-90deg);transform:rotate(-90deg);color:#595959}.ls-sidebar-toggled .ls-menu .ls-submenu-parent:hover:after{color:white}.ls-sidebar-toggled .ls-menu .ls-submenu-parent .ls-submenu{height:0}.ls-sidebar-toggled .ls-menu .ls-submenu-parent.ls-active{overflow:visible}.ls-sidebar-toggled .ls-menu .ls-submenu-parent.ls-active:after{color:white}.ls-sidebar-toggled .ls-menu .ls-submenu-parent.ls-active>a{color:white;background:inherit;padding-left:85px;width:325px;font-weight:600;-moz-transition:none;-webkit-transition:none;transition:none}.ls-sidebar-toggled .ls-menu .ls-submenu-parent.ls-active .ls-submenu{height:auto;position:absolute;left:60px;background:inherit}.ls-sidebar-toggled .ls-menu .ls-submenu-parent.ls-active .ls-submenu a{-moz-transition:none;-webkit-transition:none;transition:none;padding:15px 25px}.ls-sidebar-toggled .ls-area-account{-moz-transition:height 0.4s;-o-transition:height 0.4s;-webkit-transition:height 0.4s;transition:height 0.4s;overflow:hidden;width:265px;height:70px}@media screen and (max-width: 768px){.ls-sidebar .ls-user-account+[class*="ls-ico"]+.ls-menu,.ls-sidebar .ls-user-account+.ls-menu{margin-top:60px}}.ls-switch-btn{position:relative;display:inline-block;user-select:none}.ls-switch-btn a{color:#555555}.ls-switch-btn .ls-switch-label{display:inline-block}.ls-switch-btn .ls-switch-label span{display:inline-block;vertical-align:middle}.ls-switch-btn .ls-switch-label span:after{content:"";-moz-user-select:-moz-none;-ms-user-select:none;-webkit-user-select:none;user-select:none;background:#888 url(../images/ico-switch-on-off.png) -159px center no-repeat;height:24px;width:50px;position:relative;z-index:0;margin-right:10px;border-radius:4px;display:inline-block;cursor:pointer}.ls-switch-btn .ls-switch-label span:before{content:"";-moz-transition:all 0.25s linear;-o-transition:all 0.25s linear;-webkit-transition:all 0.25s linear;transition:all 0.25s linear;position:absolute;top:2px;left:2px;z-index:1;display:block;width:23px;height:20px;border:1px solid rgba(34,34,34,0.15);background:#fff url(../images/ico-switch.png) center no-repeat;border-radius:4px 0 0 4px;cursor:pointer}.ls-switch-btn .ls-switch-label span:hover:before,.ls-switch-btn .ls-switch-label span:focus:before{background-color:#ebebeb}.ls-switch-btn .ls-switch-label span:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ls-switch-btn input{display:block;cursor:pointer;position:absolute;top:0;left:0;z-index:2;width:100%;height:24px;opacity:0}.ls-switch-btn input:checked+.ls-switch-label span{display:inline-block}.ls-switch-btn input:checked+.ls-switch-label span:after{box-shadow:none;background-position:7px center}.ls-switch-btn input:checked+.ls-switch-label span:before{-moz-transition:all 0.25s linear;-o-transition:all 0.25s linear;-webkit-transition:all 0.25s linear;transition:all 0.25s linear;top:2px;left:25px;border-radius:0 4px 4px 0}@media screen and (min-width: 768px){.ls-switch-btn input+.ls-switch-label:after{display:inline-block;vertical-align:middle;content:attr(ls-switch-off)}.ls-switch-btn input+.ls-switch-label span:before{-moz-transition:none 1s;-o-transition:none 1s;-webkit-transition:none 1s;transition:none 1s}.ls-switch-btn input:checked+.ls-switch-label:after{content:attr(ls-switch-on)}.ls-switch-btn input:checked+.ls-switch-label span:before{-moz-transition:none 1s;-o-transition:none 1s;-webkit-transition:none 1s;transition:none 1s}}.ls-table{width:100%;border-collapse:collapse;background:white;margin:20px 0;border-bottom:1px solid #dddddd;table-layout:fixed}.ls-box-gray .ls-table,.ls-board-box .ls-box .ls-table,.ls-board-box .ls-alert-box .ls-table,.ls-box-filter .ls-table{background:transparent}.ls-well .ls-table:first-child{margin-top:0;margin-bottom:0}.ls-table.ls-no-hover tbody tr:hover{background:inherit}.ls-table.ls-table-bordered{border:1px solid #dddddd}.ls-table td,.ls-table th{padding:13px;text-align:left;font-size:14px}.ls-table tr,.ls-table th{border-bottom:1px solid #dddddd}.ls-table thead th{border-bottom-width:2px}.ls-table .ls-data-descending a,.ls-table .ls-data-ascending a{position:relative;display:inline-block}.ls-table .ls-data-descending a:after,.ls-table .ls-data-ascending a:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:5px solid transparent;border-color:black transparent transparent transparent;content:"";position:absolute;top:50%;right:-15px;margin-top:-2px}.ls-table .ls-data-ascending a:after{border-color:transparent;border-bottom-color:black;margin-top:-7px}.ls-table tbody tr:last-child td,.ls-table tbody tr:last-child th{border-bottom:none}.ls-table-striped tbody tr:nth-child(odd) td,.ls-table-striped.ls-bg-header tr:nth-child(even) td{background:#f7f7f7}.ls-table-striped.ls-bg-header tr:nth-child(odd) td{background:white}.ls-tabs-nav:not(.in-dropdown){position:relative;z-index:2;margin:0}.ls-tabs-nav:not(.in-dropdown) li{position:relative;list-style:none;display:inline-block;border:1px solid transparent;border-bottom:none;border-radius:4px 4px 0 0;line-height:1;font-size:14px;margin-right:-3px}.ls-tabs-nav:not(.in-dropdown) li a{color:white;display:inline-block;padding:11px}.ls-tabs-nav:not(.in-dropdown) li.ls-active{border-color:#eeeeee;top:0px}.ls-tabs-nav:not(.in-dropdown) li.ls-active a{margin-top:0px;color:#333333;padding:15px 16px 12px}.ls-tabs-container{clear:both;position:relative;z-index:1;top:-1px}.ls-tabs-container .ls-tab-content{-moz-border-radius:0 4px 4px 4px;-webkit-border-radius:0;border-radius:0 4px 4px 4px;display:none;padding:20px 15px;margin-bottom:20px;border:1px solid #eeeeee;border-bottom-width:3px;background-color:white}.ls-tabs-container .ls-tab-content.ls-active{display:block}.ls-tabs-container .ls-tab-content p{padding:0;font-size:14px}.ls-tabs-container .ls-tab-content p:last-child{margin-bottom:0}.ls-tabs-container .ls-tab-content .ls-tab-content{padding:0;border:none;background:none;margin:0}[class*="ls-tag"]{display:inline-block;padding:4px;font-size:10px !important;letter-spacing:0.6px;font-weight:400;line-height:1;color:white !important;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:2px;background-color:#888888}.ls-tag-success{background-color:#388f39}.ls-tag-info{background-color:#2881ac}.ls-tag-warning{background-color:#b9a016}.ls-tag-danger{background-color:#d75553}a[class*="ls-tag-"]:hover{opacity:0.8}.ls-topbar{height:60px;position:fixed;top:0;left:0;width:100%;z-index:11}.ls-topbar:after{-moz-box-shadow:0px 5px 8px -1px rgba(255,255,255,0.5);-webkit-box-shadow:0px 5px 8px -1px rgba(255,255,255,0.5);box-shadow:0px 5px 8px -1px rgba(255,255,255,0.5);content:"";width:100%;height:6px;position:absolute;bottom:0;left:0}.ls-topbar .ls-brand-name{font-size:24px;font-weight:400;color:white;padding:12px 0 15px;height:60px;text-align:center;width:67%;margin:0 auto;line-height:1.3}.ls-topbar .ls-brand-name a{text-decoration:none;color:white;vertical-align:sub}.ls-topbar .ls-brand-name a:before{display:none}.ls-topbar .ls-brand-name a small,.ls-topbar .ls-brand-name a span{display:block;font-weight:300;font-size:11px;letter-spacing:0.5px;opacity:0.75;margin-bottom:-2px}.ls-topbar .ls-brand-name a[class*="ls-ico"]{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.ls-topbar .ls-brand-name a[class*="ls-ico"] small,.ls-topbar .ls-brand-name a[class*="ls-ico"] span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-topbar .ls-notification-topbar{float:right}.ls-topbar .ls-notification-topbar .ls-alerts-list{display:inline-block;vertical-align:middle;margin-top:20px}.ls-topbar .ls-notification-topbar .ls-alerts-list :before{font-size:20px;margin:0}.ls-topbar .ls-notification-topbar .ls-alerts-list [class*="ls-ico"]{margin-right:14px;position:relative;display:none;width:22px;text-align:center}.ls-topbar .ls-notification-topbar .ls-alerts-list [class*="ls-ico"]:after{content:attr(data-counter);position:absolute;font-family:arial, sans-serif;text-align:center;font-size:10px;height:17px;width:17px;line-height:17px;border-radius:100%;background:#cc0000;color:white;top:-10px;left:10px;display:none;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:grayscale}.ls-theme-light-red .ls-topbar .ls-notification-topbar .ls-alerts-list [class*="ls-ico"]:after{background:blue}.ls-topbar .ls-notification-topbar .ls-alerts-list [class*="ls-ico"][data-counter]{color:white}.ls-topbar .ls-notification-topbar .ls-alerts-list [class*="ls-ico"][data-counter]:after{display:block}.ls-topbar .ls-notification-topbar .ls-alerts-list [class*="ls-ico"].ls-active{color:white}.ls-topbar .ls-notification-topbar .ls-alerts-list [class*="ls-ico"] span{display:none}.ls-topbar .ls-ico-menu,.ls-topbar .ls-show-notifications{cursor:pointer}.ls-topbar .ls-ico-menu:before,.ls-topbar .ls-show-notifications:before{position:absolute;padding:15px 15px 0;height:60px;display:inline-block;color:white;font-size:32px;vertical-align:middle;cursor:pointer}.ls-topbar .ls-ico-menu:after,.ls-topbar .ls-show-notifications:after{background:white;content:"";position:absolute;top:0;left:0;width:100%;height:2424px;display:none;opacity:0.8}.ls-topbar .ls-show-notifications:before{right:0;font-size:24px;top:4px}.ls-sidebar-visible .ls-ico-menu:after,.ls-notifications-visible .ls-show-notifications:after{display:block}@media screen and (min-width: 768px){.ls-topbar{text-align:left;-moz-transition:none 1s;-o-transition:none 1s;-webkit-transition:none 1s;transition:none 1s}.ls-topbar:after{left:265px}.ls-sidebar-visible .ls-topbar{-moz-transform:translate(0, 0);-ms-transform:translate(0, 0);-webkit-transform:translate(0, 0);transform:translate(0, 0)}.ls-notifications-visible .ls-topbar{-moz-transform:translate(0, 0);-ms-transform:translate(0, 0);-webkit-transform:translate(0, 0);transform:translate(0, 0)}.ls-topbar .ls-brand-name{font-size:26px;text-align:left;width:auto;display:inline-block;padding-left:15px;position:relative;z-index:1}.ls-topbar .ls-brand-name a:before{display:block;position:absolute;top:12px;left:15px;font-size:36px}.ls-topbar .ls-brand-name a[class*="ls-ico"]{display:inline-block;padding-left:45px}.ls-topbar .ls-brand-name a[class*="ls-ico-panel"]{padding-left:52px}.ls-topbar .ls-brand-name a[class*="ls-ico-panel"]:before{font-size:54px;top:4px;left:7px}.ls-topbar .ls-ico-menu:before,.ls-topbar .ls-show-notifications:before{display:none}.ls-topbar .ls-notification-topbar .ls-alerts-list{margin-top:0}.ls-topbar .ls-notification-topbar .ls-alerts-list [class*="ls-ico"]{background:transparent;border:none;cursor:pointer;display:inline-block}.ls-topbar .ls-notification-topbar .ls-user-account{display:inline-block}}@media screen and (min-width: 1200px){.ls-topbar .ls-brand-name a[class*="ls-ico"]{max-width:520px}}@media screen and (min-width: 768px) and (max-width: 1200px){.ls-topbar .ls-brand-name a[class*="ls-ico"]{max-width:248px}}[class*="ls-tooltip"]{position:relative;text-decoration:none}[class*="ls-tooltip"]:after,[class*="ls-tooltip"]:before{position:absolute;z-index:100;opacity:0}[class*="ls-tooltip"]:after{-moz-box-shadow:0 0 5px 0 rgba(0,0,0,0.3);-webkit-box-shadow:0 0 5px 0 rgba(0,0,0,0.3);box-shadow:0 0 5px 0 rgba(0,0,0,0.3);content:attr(aria-label);height:25px;line-height:25px;padding:0 10px;font-size:12px;text-align:center;color:white;background:#222222;border-radius:4px;text-shadow:0 0 5px black;white-space:nowrap}[class*="ls-tooltip"]:before{content:"";width:0;height:0;border-width:6px;border-style:solid}[class*="ls-tooltip"]:hover:after,[class*="ls-tooltip"]:focus:after,[class*="ls-tooltip"]:hover:before,[class*="ls-tooltip"]:focus:before{opacity:1}.ls-tooltip-top:after,.ls-tooltip-top:before{-moz-transition:bottom 0.25s ease-in-out;-o-transition:bottom 0.25s ease-in-out;-webkit-transition:bottom 0.25s ease-in-out;transition:bottom 0.25s ease-in-out;-moz-transition:opacity 0.25s ease-in-out;-o-transition:opacity 0.25s ease-in-out;-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out;bottom:90%;left:-9999px;margin-bottom:12px}.ls-tooltip-top:before{border-color:#222222 transparent transparent transparent;margin-bottom:0}.ls-tooltip-top:hover:after,.ls-tooltip-top:focus:after,.ls-tooltip-top:focus:after,.ls-tooltip-top:hover:before,.ls-tooltip-top:focus:before,.ls-tooltip-top:focus:before{bottom:80%;left:0}.ls-tooltip-top:hover:before,.ls-tooltip-top:focus:before{left:15px}.ls-tooltip-bottom:after,.ls-tooltip-bottom:before{-moz-transition:top 0.25s ease-in-out;-o-transition:top 0.25s ease-in-out;-webkit-transition:top 0.25s ease-in-out;transition:top 0.25s ease-in-out;-moz-transition:opacity 0.25s ease-in-out;-o-transition:opacity 0.25s ease-in-out;-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out;top:90%;left:-9999px;margin-top:12px}.ls-tooltip-bottom:before{border-color:transparent transparent #222222 transparent;margin-top:0}.ls-tooltip-bottom:hover:after,.ls-tooltip-bottom:focus:after,.ls-tooltip-bottom:hover:before,.ls-tooltip-bottom:focus:before{top:80%;left:0}.ls-tooltip-bottom:hover:before,.ls-tooltip-bottom:focus:before{left:15px}.ls-tooltip-right:after,.ls-tooltip-right:before{-moz-transition:left 0.25s ease-in-out;-o-transition:left 0.25s ease-in-out;-webkit-transition:left 0.25s ease-in-out;transition:left 0.25s ease-in-out;-moz-transition:opacity 0.25s ease-in-out;-o-transition:opacity 0.25s ease-in-out;-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out;top:-9999px;left:96%;margin-left:12px}.ls-tooltip-right:before{border-color:transparent #222222 transparent transparent;margin-left:0}.ls-tooltip-right:hover:after,.ls-tooltip-right:focus:after,.ls-tooltip-right:hover:before,.ls-tooltip-right:focus:before{left:100%;top:0}.ls-tooltip-right:hover:before,.ls-tooltip-right:focus:before{top:7px}.ls-tooltip-left:after,.ls-tooltip-left:before{-moz-transition:right 0.25s ease-in-out;-o-transition:right 0.25s ease-in-out;-webkit-transition:right 0.25s ease-in-out;transition:right 0.25s ease-in-out;-moz-transition:opacity 0.25s ease-in-out;-o-transition:opacity 0.25s ease-in-out;-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out;top:-9999px;right:96%;margin-right:12px}.ls-tooltip-left:before{border-color:transparent transparent transparent #222222;margin-right:0}.ls-tooltip-left:hover:after,.ls-tooltip-left:focus:after,.ls-tooltip-left:hover:before,.ls-tooltip-left:focus:before{right:100%;top:0}.ls-tooltip-left:hover:before,.ls-tooltip-left:focus:before{top:7px}.ls-tooltip-top-left:after,.ls-tooltip-top-left:before{-moz-transition:bottom 0.25s ease-in-out;-o-transition:bottom 0.25s ease-in-out;-webkit-transition:bottom 0.25s ease-in-out;transition:bottom 0.25s ease-in-out;-moz-transition:opacity 0.25s ease-in-out;-o-transition:opacity 0.25s ease-in-out;-webkit-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out;bottom:90%;left:-9999px;margin-bottom:12px}.ls-tooltip-top-left:before{border-color:#222222 transparent transparent transparent;margin-bottom:0}.ls-tooltip-top-left:hover:after,.ls-tooltip-top-left:focus:after,.ls-tooltip-top-left:focus:after,.ls-tooltip-top-left:hover:before,.ls-tooltip-top-left:focus:before,.ls-tooltip-top-left:focus:before{bottom:80%;left:auto;right:0}.ls-tooltip-top-left:hover:before,.ls-tooltip-top-left:focus:before{right:15px}.ls-box,.ls-box-filter,.ls-alert-box{padding:15px;margin-bottom:30px;background-color:white;border-radius:4px;border:1px solid #dddddd}.ls-box:last-child,.ls-box-filter:last-child,.ls-alert-box:last-child{margin-bottom:0}.ls-box p,.ls-box-filter p,.ls-alert-box p{margin:5px 0 10px}.ls-box-group .ls-box,.ls-box-group .ls-box-filter,.ls-box-group .ls-alert-box{margin-bottom:10px}.ls-box.ls-box-gray,.ls-board-box .ls-box,.ls-board-box .ls-box-filter,.ls-board-box .ls-alert-box,.ls-box-filter,.ls-box-gray.ls-alert-box{background-color:#f7f7f7}.ls-box .ls-small-info,.ls-box-filter .ls-small-info,.ls-alert-box .ls-small-info{font-size:12px;color:#555555;margin:0;padding:0}.ls-box[class*="ls-ico-"],[class*="ls-ico-"].ls-box-filter,[class*="ls-ico-"].ls-alert-box{overflow:hidden;position:relative}.ls-box[class*="ls-ico-"]:before,[class*="ls-ico-"].ls-box-filter:before,[class*="ls-ico-"].ls-alert-box:before{vertical-align:top;font-size:96px;margin:0 20px}[class^="ls-title"]+.ls-box,[class^="ls-title"]+.ls-box-filter,[class^="ls-title"]+.ls-alert-box{margin-top:10px;clear:both}.ls-box-filter{border-radius:4px;margin:20px 0}.ls-box-disclaimer{padding:30px}.ls-box-disclaimer [class*="ls-title"]{padding:0 0 20px}.ls-box-disclaimer p{padding:0 0 20px;font-size:16px}.ls-ico-bg:before{opacity:0.1;position:absolute;top:-25%;right:30px;font-size:272px !important}.ls-box-error{border:none;margin:20px 0 0 15px}.ls-box-error .ls-title-intro{border-bottom:none}.ls-box-error ol{margin:0 21px 30px}.ls-box-error ol li{padding-bottom:5px}.ls-info-header{background:white;padding:15px 15px 10px;margin-bottom:20px;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px;border-radius:4px 4px 0 0;width:calc(32px + 100%);margin-left:-16px;margin-top:-16px;border:1px solid #eeeeee}.ls-info-header [class*="ls-ico-"]:before{font-size:28px}.ls-info-header [class*="ls-title"]{font-weight:normal;display:block}@media screen and (max-width: 768px){.ls-ico-bg:before{display:none}.ls-small-info+[class^="ls-title-"]{padding-top:10px}}@media screen and (min-width: 768px) and (max-width: 992px){.ls-box:last-child,.ls-box-filter:last-child,.ls-alert-box:last-child{margin-bottom:30px}[class^="col-"]:last-child .ls-box:last-child,[class^="col-"]:last-child .ls-box-filter:last-child,[class^="col-"]:last-child .ls-alert-box:last-child{margin-bottom:0}}@media screen and (min-width: 992px){.ls-info-header [class^="ls-title-"]{display:inline-block}.ls-info-header .ls-btn{float:right}}.ls-alert-box{border-color:#dddddd;border-bottom-width:3px}.ls-alert-box .ls-info-header{border-color:#dddddd;margin-bottom:30px;background:#e3e3e3;border-bottom:#e3e3e3}.ls-alert-box .ls-info-header [class^="ls-title-"]{color:#222222;font-weight:normal}.ls-alert-box .ls-info-header .ls-dismiss{-moz-transform:translateY(50%);-ms-transform:translateY(50%);-webkit-transform:translateY(50%);transform:translateY(50%);color:#888888;opacity:1}.ls-alert-box .ls-info-header .ls-dismiss:hover{opacity:0.3}.ls-alert-box-success{border-color:#7db67e}.ls-alert-box-success .ls-info-header{border-color:#7db67e;background-color:#d7e8d7;color:#388f39}.ls-alert-box-success .ls-info-header [class^="ls-title-"]{color:#388f39}.ls-alert-box-success .ls-info-header .ls-dismiss{color:#388f39}.ls-alert-box-info{border-color:#73adc9}.ls-alert-box-info .ls-info-header{border-color:#73adc9;background-color:#d4e5ee;color:#2881ac}.ls-alert-box-info .ls-info-header [class^="ls-title-"]{color:#2881ac}.ls-alert-box-info .ls-info-header .ls-dismiss{color:#2881ac}.ls-alert-box-warning{border-color:#d1c167}.ls-alert-box-warning .ls-info-header{border-color:#d1c167;background-color:#f1ecd0;color:#b9a016}.ls-alert-box-warning .ls-info-header [class^="ls-title-"]{color:#b9a016}.ls-alert-box-warning .ls-info-header .ls-dismiss{color:#b9a016}.ls-alert-box-danger{border-color:#e5908f}.ls-alert-box-danger .ls-info-header{border-color:#e5908f;background-color:#f7dddc;color:#d75553}.ls-alert-box-danger .ls-info-header [class^="ls-title-"]{color:#d75553}.ls-alert-box-danger .ls-info-header .ls-dismiss{color:#d75553}.ls-custom-select{background:white;display:inline-block;position:relative;border:1px solid #dddddd;border-radius:4px;overflow:hidden;vertical-align:middle;height:33px;width:98%}.ls-box-filter .ls-custom-select{width:100%}.ls-form-horizontal .ls-label .ls-custom-select{display:block}.ls-custom-select[disabled],.ls-form-disable .ls-custom-select{border-color:#eeeeee}.ls-custom-select select{position:relative;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-appearance:none;-moz-appearance:none;appearance:none;height:inherit;padding:5px 45px 5px 10px;display:inline-block;border:none;background:white;font-size:14px;color:#555555;width:145%;z-index:1}.ls-custom-select select option{padding:5px 10px}.ls-custom-select select[disabled],.ls-form-disable .ls-custom-select select{background:#eeeeee}.ls-custom-select:before{content:"";width:0;height:0;margin-left:5px;border-style:solid;border-width:5px;border-color:#555555 transparent transparent transparent;position:absolute;top:50%;margin-top:-2px;right:10px;z-index:2;pointer-events:none}.ls-custom-select:after{content:"";height:inherit;position:absolute;border-left:1px solid #dddddd;right:30px;top:0;z-index:1}.ls-custom-select.ls-field-lg{height:46px}.ls-custom-select.ls-field-lg select{font-size:16px}.ls-custom-select.ls-field-md{height:33px}.ls-custom-select.ls-field-md select{font-size:13px}.ls-custom-select.ls-field-sm{height:30px}.ls-custom-select.ls-field-sm select{font-size:12px}.ls-custom-select.ls-field-xs{height:24px}.ls-custom-select.ls-field-xs select{font-size:12px}@media screen and (min-width: 768px){.ls-custom-select{padding-right:0}}.ls-pagination-filter{width:100%;padding:10px 0;font-size:13px;color:#555555;text-align:center}.ls-filter-view [class^="ls-custom-select"]{width:90px}[class*="ls-pagination"]{display:inline-block;list-style:none}[class*="ls-pagination"] li{margin-left:-1px}[class*="ls-pagination"] li:first-child a{border-top-left-radius:3px;border-bottom-left-radius:3px}[class*="ls-pagination"] li:first-child a a{border-top-right-radius:4px;border-bottom-right-radius:4px}[class*="ls-pagination"] li:first-child.ls-active{border-top-left-radius:4px;border-bottom-left-radius:4px}[class*="ls-pagination"] li:last-child a{border-top-right-radius:3px;border-bottom-right-radius:3px}[class*="ls-pagination"] li:last-child.ls-active{border-top-right-radius:4px;border-bottom-right-radius:4px}[class*="ls-pagination"] li.ls-disabled a{color:#dddddd;cursor:not-allowed}[class*="ls-pagination"] li.ls-disabled a:hover,[class*="ls-pagination"] li.ls-disabled a:focus{background:none;color:#dddddd}[class*="ls-pagination"] li.ls-active a,[class*="ls-pagination"] li.ls-active a:hover,[class*="ls-pagination"] li.ls-active .ls-gap{color:white}[class*="ls-pagination"] li .ls-gap,[class*="ls-pagination"] li a{padding:9px 12px;position:relative;text-decoration:none;border:1px solid #eeeeee;color:#555555;line-height:1;font-size:13px}[class*="ls-pagination"] li .ls-gap:hover,[class*="ls-pagination"] li .ls-gap:focus,[class*="ls-pagination"] li a:hover,[class*="ls-pagination"] li a:focus{color:#555555;background-color:#eeeeee;background-color:rgba(238,238,238,0.2)}[class*="ls-pagination"].ls-pagination-sm .ls-gap,[class*="ls-pagination"].ls-pagination-sm a{padding:5px 10px;font-size:12px}[class*="ls-pagination"].ls-pagination-lg .ls-gap,[class*="ls-pagination"].ls-pagination-lg a{padding:14px 16px;font-size:16px}.ls-gap{cursor:pointer}.ls-pager{text-align:center;margin:10px 0;overflow:hidden;font-size:12px;line-height:12px}.ls-pager li{display:inline}.ls-pager li.ls-disabled a{color:#eeeeee;border-color:#eeeeee;cursor:not-allowed}.ls-pager li.ls-disabled a:hover,.ls-pager li.ls-disabled a:focus{background:none;color:#eeeeee}.ls-pager li a{display:inline-block;padding:8px 15px;background-color:transparent;border-radius:4px;border:solid 1px #eeeeee;color:#555555;line-height:1}.ls-pager li a:hover,.ls-pager li a:focus{background-color:#eeeeee;background-color:rgba(238,238,238,0.2)}@media screen and (min-width: 768px){.ls-pagination-filter{text-align:left}[class*="ls-pagination"]{float:right}.ls-filter-view{margin-top:0}}.ls-breadcrumb{display:block;padding:8px 0;font-size:12px;background:none;border-bottom:1px solid #eeeeee;list-style:none}.ls-breadcrumb li{position:relative;display:inline-block;padding:0 12px;list-style:none;color:#555555}.ls-breadcrumb li:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:4px solid transparent;border-color:transparent transparent transparent #555555;top:-1px}.ls-breadcrumb li a{text-decoration:underline}.ls-breadcrumb li a:hover{text-decoration:none}.hopscotch-bubble{z-index:11;background-clip:padding-box;background-color:white;border-radius:4px;border:1px solid #dddddd;border:1px solid rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);max-width:276px;padding:1px;position:absolute;text-align:left;white-space:normal}.hopscotch-bubble.invisible{opacity:0}.hopscotch-bubble.hide{display:none}.hopscotch-bubble .hide,.hopscotch-bubble .hide-all{display:none !important}.hopscotch-bubble .hopscotch-bubble-container{padding:0 !important}.hopscotch-bubble .hopscotch-bubble-arrow-container{position:absolute;width:22px;height:22px}.hopscotch-bubble .hopscotch-bubble-arrow-container .hopscotch-bubble-arrow,.hopscotch-bubble .hopscotch-bubble-arrow-container .hopscotch-bubble-arrow-border{border:11px solid transparent;position:absolute;width:0;height:0;top:0;left:0;border:11px solid transparent}.hopscotch-bubble .hopscotch-bubble-arrow-container.up{top:-21px}.hopscotch-bubble .hopscotch-bubble-arrow-container.up .hopscotch-bubble-arrow{border-color:transparent transparent #f7f7f7 transparent}.hopscotch-bubble .hopscotch-bubble-arrow-container.up .hopscotch-bubble-arrow-border{border-color:transparent transparent rgba(0,0,0,0.2) transparent;top:-2px}.hopscotch-bubble .hopscotch-bubble-arrow-container.down{bottom:-21px}.hopscotch-bubble .hopscotch-bubble-arrow-container.down .hopscotch-bubble-arrow{border-color:#f7f7f7 transparent transparent transparent}.hopscotch-bubble .hopscotch-bubble-arrow-container.down .hopscotch-bubble-arrow-border{border-color:black transparent transparent transparent;bottom:-2px}.hopscotch-bubble .hopscotch-bubble-arrow-container.left{left:-19px}.hopscotch-bubble .hopscotch-bubble-arrow-container.left .hopscotch-bubble-arrow{border-color:transparent white transparent transparent}.hopscotch-bubble .hopscotch-bubble-arrow-container.left .hopscotch-bubble-arrow-border{border-color:transparent rgba(0,0,0,0.2) transparent transparent;left:-2px}.hopscotch-bubble .hopscotch-bubble-arrow-container.right{right:-22px}.hopscotch-bubble .hopscotch-bubble-arrow-container.right .hopscotch-bubble-arrow{border-color:transparent transparent transparent white}.hopscotch-bubble .hopscotch-bubble-arrow-container.right .hopscotch-bubble-arrow-border{border-color:transparent transparent transparent black;right:-2px}.hopscotch-bubble .hopscotch-bubble-number{display:none}.hopscotch-bubble .hopscotch-title{background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:4px 4px 0 0;font-size:14px;font-weight:normal;line-height:18px;margin:0;padding:6px 14px}.hopscotch-bubble .hopscotch-content{color:#555555;font-size:14px;padding:9px 14px;text-align:left;white-space:normal}.hopscotch-bubble .hopscotch-actions{background:#f7f7f7;border-top:1px solid #ebebeb;border-radius:0 0 4px 4px;margin-top:0;padding:6px 15px;overflow:hidden}.hopscotch-bubble .hopscotch-actions button{display:inline-block;padding:4px 10px;margin-bottom:0;font-size:12px;font-weight:normal;line-height:1.42857;text-align:center;vertical-align:middle;cursor:pointer;border:none;border-radius:4px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:white;background-color:#888888;margin-right:16px}.hopscotch-bubble .hopscotch-actions button.hopscotch-nav-button.next{float:right;margin:0}.hopscotch-bubble .hopscotch-bubble-close{cursor:pointer;font-size:12px;height:12px;overflow:hidden;position:absolute;right:11px;text-align:center;top:10px;width:10px}.hopscotch-bubble .hopscotch-bubble-close:before{content:"\e63c";color:#dddddd;font-family:"locastyle";font-size:9px;margin-right:10px}.hopscotch-bubble .hopscotch-bubble-close:hover{opacity:0.7}.pika-single{z-index:9999;display:block;position:relative;color:#333333;background:white;border:1px solid #cccccc;border-bottom-color:#bbbbbb;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif}.pika-single:before{content:" ";display:table}.pika-single:after{content:" ";display:table;clear:both;*zoom:1}.pika-single.is-hidden{display:none}.pika-single.is-bound{position:absolute;box-shadow:0 5px 15px -5px rgba(0,0,0,0.5)}.pika-lendar{width:240px;margin:8px}.pika-title{position:relative;text-align:center}.pika-label{display:inline-block;*display:inline;position:relative;z-index:9999;overflow:hidden;margin:0;padding:5px 3px;font-size:14px;line-height:20px;font-weight:bold;background-color:white}.pika-title select{cursor:pointer;position:absolute;z-index:9998;margin:0;left:0;top:5px;filter:alpha(opacity=0);opacity:0}.pika-prev,.pika-next{display:block;cursor:pointer;position:relative;outline:none;border:0;padding:0;width:20px;height:30px;text-indent:20px;white-space:nowrap;overflow:hidden;background-color:transparent;background-position:center center;background-repeat:no-repeat;background-size:75% 75%;opacity:0.5;*position:absolute;*top:0}.pika-prev:hover,.pika-next:hover{opacity:1}.pika-prev,.is-rtl .pika-next{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==");*left:0}.pika-next,.is-rtl .pika-prev{float:right;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=");*right:0}.pika-prev.is-disabled,.pika-next.is-disabled{cursor:default;opacity:0.2}.pika-select{display:inline-block;*display:inline}.pika-table{width:100%;border-collapse:collapse;border-spacing:0;border:0}.pika-table th,.pika-table td{width:14.28571%;padding:0}.pika-table th{color:#999999;font-size:12px;line-height:25px;font-weight:bold;text-align:center}.pika-button{cursor:pointer;display:block;outline:none;border:0;margin:0;width:100%;padding:5px;color:#666666;font-size:12px;line-height:15px;text-align:right;background:whitesmoke}.is-today .pika-button{color:#33aaff;font-weight:bold}.is-selected .pika-button{color:white;font-weight:bold;background:#33aaff;box-shadow:inset 0 1px 3px #178fe5;border-radius:4px}.is-disabled .pika-button{pointer-events:none;cursor:default;color:#999999;opacity:0.3}.pika-button:hover{color:white !important;background:#ff8000 !important;box-shadow:none !important;border-radius:4px !important}.ls-user-account{box-shadow:inset 1px 0 0 0 rgba(0,0,0,0.05);display:none;vertical-align:middle;height:60px;padding:0 15px;position:relative;z-index:1}.ls-user-account>a{color:white;text-decoration:none;vertical-align:middle;font-size:14px;font-weight:600;display:inline-block;width:100%;padding:14px 3px;position:relative}.ls-user-account>a .ls-name{max-width:160px;position:relative;top:2px}.ls-user-account>a small{color:white;font-weight:400;font-size:inherit}.ls-user-account>a:before{margin-right:10px;text-align:center;font-size:20px;height:33px;width:33px;line-height:33px;border-radius:100%;box-shadow:inset 0 0 0 2px rgba(255,255,255,0.3);vertical-align:sub;display:inline-block}.ls-user-account>a:after{content:"\e60b";font-size:12px;display:inline-block;margin-left:10px;-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s}.ls-user-account.ls-active>a:after{-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg);-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s}.ls-user-account input[type='checkbox']{height:60px;width:100%;position:absolute;top:0;left:0;opacity:0;cursor:pointer}.ls-user-account .ls-user-menu{background:#222222;position:absolute;left:0;top:100%;width:100%;-ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out;transition:all 0.2s ease-out;overflow:hidden;border:none;border-radius:0;margin-top:0}.ls-user-account .ls-user-menu ul{list-style:none}.ls-sidebar .ls-user-account .ls-user-menu ul{border-top:1px solid #222222}.ls-user-account .ls-user-menu ul a{color:#888888;padding:15px 20px;display:block;border-bottom:1px solid #222222;-ms-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-webkit-transition:all 0.2s ease-out;transition:all 0.2s ease-out;font-weight:300;font-size:14px}.ls-sidebar .ls-user-account .ls-user-menu ul a{color:rgba(255,255,255,0.75);font-weight:400;padding:20px 20px 20px 60px}.ls-sidebar .ls-user-account .ls-user-menu ul a:hover,.ls-sidebar .ls-user-account .ls-user-menu ul a:focus{padding-left:50px}.ls-user-account .ls-user-menu ul a:hover,.ls-user-account .ls-user-menu ul a:focus{color:white;padding-left:25px}.ls-user-account .ls-user-menu ul li:last-child a{border-bottom:none}.ls-sidebar .ls-user-account .ls-user-menu ul li:last-child a{border-bottom:1px solid #222222}.ls-user-account .ls-user-menu .ls-btn-logout{padding:11px;text-align:center;color:rgba(255,255,255,0.6);font-size:13px;background-color:#222222;border-color:#343434;margin:0 55px;position:absolute;bottom:30px;left:0;right:0}.ls-user-account .ls-user-menu .ls-btn-logout:hover,.ls-user-account .ls-user-menu .ls-btn-logout:focus{background-color:rgba(34,34,34,0.8)}.ls-user-account .ls-user-menu .ls-btn-logout:after{display:none}.ls-login-parent{background-color:#f7f7f7;height:inherit;display:table;width:100%}.ls-login-parent .ls-login-inner{vertical-align:middle;display:table-cell}.ls-login-parent .ls-login-container{text-align:center}.ls-login-parent .ls-login-container [class*="ls-login-"]{vertical-align:middle}.ls-login-parent .ls-login-adv{display:block;margin-top:30px}.ls-login-parent .ls-login-box{width:300px;display:inline-block;box-shadow:0 0 10px 0 rgba(0,0,0,0.1);background-color:white;padding:20px;text-align:left}.ls-login-parent .ls-login-box .ls-form-actions [class*="ls-btn"]{margin-bottom:0}.ls-login-parent .ls-login-logo{color:#888888;text-align:center;line-height:1;margin-bottom:20px}.ls-login-parent .ls-login-form .ls-label:last-of-type{margin-bottom:0}.ls-login-parent .ls-login-form .ls-login-bg-user,.ls-login-parent .ls-login-form .ls-login-bg-password,.ls-login-parent .ls-login-form .ls-login-bg-email{background-repeat:no-repeat;background-position:10px center;padding-left:35px;font-size:14px}.ls-login-parent .ls-login-form .ls-login-bg-user{background-image:url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABkAAD/4QMtaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUE2QTc2Nzk1QUFCMTFFM0FFRDNBMkYxRDlBNTM5RUQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUE2QTc2N0E1QUFCMTFFM0FFRDNBMkYxRDlBNTM5RUQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFQTZBNzY3NzVBQUIxMUUzQUVEM0EyRjFEOUE1MzlFRCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFQTZBNzY3ODVBQUIxMUUzQUVEM0EyRjFEOUE1MzlFRCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pv/uACZBZG9iZQBkwAAAAAEDABUEAwYKDQAABQgAAAWAAAAF2gAABiP/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAgICAgICAgICAgMDAwMDAwMDAwMBAQEBAQEBAgEBAgICAQICAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA//CABEIABEAEQMBEQACEQEDEQH/xACYAAACAwAAAAAAAAAAAAAAAAAACAUGCQEBAAAAAAAAAAAAAAAAAAAAABAAAgEFAQAAAAAAAAAAAAAAAwYFACAwAQQVEQACAQIEAwkAAAAAAAAAAAABAgMRBAAhQRIQURMgkSIy0hQ0lAUSAQAAAAAAAAAAAAAAAAAAADATAQEAAQUAAwAAAAAAAAAAAAERABAgMCExQaGx/9oADAMBAAIRAxEAAAHZUroxIvpADDiEgB//2gAIAQEAAQUCdjlFHIpy73TKxRx+dYYOCNF6MfZ//9oACAECAAEFAsP/2gAIAQMAAQUCw//aAAgBAgIGPwIf/9oACAEDAgY/Ah//2gAIAQEBBj8Ct0jZ0Wa5pLtqAyrGxCMw0Laa0xfwFnMKrDIimpRHq4amilx304XH5kUZu2OXXDbYYZUOTRtm0rIRp4Tzx7O5haIyyl3vFO9STkvVTzIqDlXHzrT7EXq7H//aAAgBAQMBPyG0eF5iRLBr6Mt3yC16+Yp+Gjw2EIxTTsFADKLjfoZAocA7Bn8wq7d//9oACAECAwE/IeH/2gAIAQMDAT8h4f/aAAwDAQACEQMRAAAQAAgAH//aAAgBAQMBPxC1U6r/AGgFWjuN49de1GmKVjE3O+jevMJ1CgBIBwxa+lD5CU/cyvbKn//aAAgBAgMBPxDh/9oACAEDAwE/EOH/2Q==)}.ls-login-parent .ls-login-form .ls-login-bg-password{background-image:url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABkAAD/4QMtaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUE2QTc2N0Q1QUFCMTFFM0FFRDNBMkYxRDlBNTM5RUQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUE2QTc2N0U1QUFCMTFFM0FFRDNBMkYxRDlBNTM5RUQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFQTZBNzY3QjVBQUIxMUUzQUVEM0EyRjFEOUE1MzlFRCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFQTZBNzY3QzVBQUIxMUUzQUVEM0EyRjFEOUE1MzlFRCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pv/uACZBZG9iZQBkwAAAAAEDABUEAwYKDQAABQoAAAWSAAAF7gAABjX/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAgICAgICAgICAgMDAwMDAwMDAwMBAQEBAQEBAgEBAgICAQICAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA//CABEIABEAEQMBEQACEQEDEQH/xACYAAACAwAAAAAAAAAAAAAAAAAECAYHCQEBAAAAAAAAAAAAAAAAAAAAABAAAQMFAQAAAAAAAAAAAAAABQACBjABAwQ1EhEAAgECBAUEAwAAAAAAAAAAAgMEARIRMRMFABBBYTIhcSJCs3S0EgEAAAAAAAAAAAAAAAAAAAAwEwEBAAAHAQAAAAAAAAAAAAABEQAQIDAhMUFR/9oADAMBAAIRAxEAAAHZ4DLqFFBxwhNSPj1H/9oACAEBAAEFAj+VmyRF31xh1SGzHSnxr45WpZ3gvXX/2gAIAQIAAQUCo//aAAgBAwABBQKj/9oACAECAgY/Ah//2gAIAQMCBj8CH//aAAgBAQEGPwLa9pbK0Yj6yGTrHCutaLVqKW0sfiJ988eGbbElX7fIhDIBZPFoLla2nYosfIqdM648mCwRJdX7fQxMrBIKojXCR/Qa069OEBEFYxx3OJpUSeou29XqJY18s+2XKd7Rf5EcbZ+/F/MHL//aAAgBAQMBPyGUjQDJR0zDwvYYCnNPECXw2+RbDKIhTuPg6aPlziWnfe9nBEqLG/GlGW//2gAIAQIDAT8h2f/aAAgBAwMBPyHZ/9oADAMBAAIRAxEAABAQAAAf/9oACAEBAwE/ECQlXG5S4IhgFYQOZKAM68Fy02ZChOuFECRR8YiTxGg4SMqRDBpxIP/aAAgBAgMBPxDZ/9oACAEDAwE/ENn/2Q==)}.ls-login-parent .ls-login-form .ls-login-bg-email{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAANCAIAAADAGxJNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKumlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjarZZ3UJNbGsbf7/vSSKElICAl1FAE6QSQXkOXDjZCQgmEEEOCiA2Vi1fgWlARARt6UUTBCsi1IKJYuAg27BfkIqCuFws2VPYPlrC7s/vHzuw7c2Z+88w5z3nfc/55AKhdXLFYiCoDZImkksgAb2Z8QiKT+AyIQAYG2IMVl5cj9oqICIH/Wh/vAwIAcMeSKxYL4X8rFX5KDg8AiQCAZH4OLwsAOQ2AnOaJJVIALB0ADJdJxVIArBQAGJL4hEQAbB8AMNKm+DQAMJKn+BoAMCTRkT4A2BMAEpXLlaQBUEYAgJnLS5MCUEkAYC3iC0QAVDYAuPPSuXwAah4AzMnKyuYDUA8CgGnyP/mk/YtnstyTy02T89QsAABA8hXkiIXc5fD/riyhbPoOfQCgpksCIwFAAwCpzswOlrMoOSx8mgV8gGlOlwXGTDMvxydxmvlc3+BplmXGeE0zVzJzViDlRE+zJDtS7i8ShoXI/VM4ck7J8Yua5lSBP2ea89Oj46Y5VxAbNs05mVHBM3t85LpEFinvOVXiL58xK2emNx535i5penSgfK4UXz95P6IY+R6x1FvuIxZGzPQsDJDrOblR8rNSSbRcz+AGRcz4RMjfBHzBD0IgBJgQA7ZgCzZgC4EQKk3JkwIA+GSLl0sEaelSppdYLExhckQ8qzlMW2sbe4D4hETm1Le+fwAIACDqpBkt+wqAswgA65jRFlsAnBgGUPab0UxfADDqAS4a8mSS3CkNBwCABzIoAQM0QRcMwRQswRYcwRU8wQ+CIByiIQEWAw/SIQsksAxWwlooghLYAjugEvbCATgMx+AkNMM5uARX4Sb0wD14DP0wBK9gDD7CBIIgRISG0BFNRA8xRiwQW4SNuCN+SAgSiSQgSUgaIkJkyEpkPVKClCGVyH6kDjmBnEUuIdeRXuQhMoCMIu+QryiGUlEGqoOaoHNRNuqFBqPR6CI0DV2K5qOF6Ca0Aq1Bj6JN6CX0JnoP7UdfoeMYYBRMHdPHLDE25oOFY4lYKibBVmPFWDlWgzVgrVgndgfrx15jX3AEHB3HxFniXHGBuBgcD7cUtxpXiqvEHcY14Tpwd3ADuDHcDzwNr423wLvgOfh4fBp+Gb4IX46vxZ/BX8Hfww/hPxIIBHUCi+BECCQkEDIIKwilhN2ERkIboZcwSBgnEomaRAuiGzGcyCVKiUXEXcSjxIvE28Qh4mcShaRHsiX5kxJJItI6UjnpCOkC6TZpmDShoKxgrOCiEK7AV1iusFnhoEKrwi2FIYUJsgqZRXYjR5MzyGvJFeQG8hXyE/J7CoViQHGmzKcIKAWUCspxyjXKAOULVZVqTvWhLqTKqJuoh6ht1IfU9zQazYTmSUukSWmbaHW0y7RntM+KdEUrRY4iX3GNYpVik+JtxTdKCkrGSl5Ki5XylcqVTindUnqtrKBsouyjzFVerVylfFa5T3lcha5ioxKukqVSqnJE5brKiCpR1UTVT5WvWqh6QPWy6iAdoxvSfeg8+nr6QfoV+hCDwGAxOIwMRgnjGKObMaamqmavFquWp1aldl6tXx1TN1HnqAvVN6ufVL+v/nWWziyvWSmzNs5qmHV71ieN2RqeGikaxRqNGvc0vmoyNf00MzW3ajZrPtXCaZlrzddaprVH64rW69mM2a6zebOLZ5+c/Ugb1TbXjtReoX1Au0t7XEdXJ0BHrLNL57LOa111XU/dDN3tuhd0R/Xoeu56Ar3tehf1XjLVmF5MIbOC2cEc09fWD9SX6e/X79afMGAZxBisM2g0eGpINmQbphpuN2w3HDPSMwo1WmlUb/TIWMGYbZxuvNO40/iTCcskzmSDSbPJCEuDxWHls+pZT0xpph6mS01rTO+aEczYZplmu816zFFzB/N08yrzWxaohaOFwGK3Re8c/BznOaI5NXP6LKmWXpa5lvWWA1bqViFW66yard7MNZqbOHfr3M65P6wdrIXWB60f26jaBNmss2m1eWdrbsuzrbK9a0ez87dbY9di99bewj7Ffo/9Awe6Q6jDBod2h++OTo4SxwbHUScjpySnaqc+NoMdwS5lX3PGO3s7r3E+5/zFxdFF6nLS5S9XS9dM1yOuI/NY81LmHZw36GbgxnXb79bvznRPct/n3u+h78H1qPF47mnoyfes9Rz2MvPK8Drq9cbb2lvifcb7k4+LzyqfNl/MN8C32LfbT9Uvxq/S75m/gX+af73/WIBDwIqAtkB8YHDg1sA+jg6Hx6njjAU5Ba0K6gimBkcFVwY/DzEPkYS0hqKhQaHbQp+EGYeJwprDIZwTvi38aQQrYmnEb/MJ8yPmV81/EWkTuTKyM4oetSTqSNTHaO/ozdGPY0xjZDHtsUqxC2PrYj/F+caVxfXHz41fFX8zQStBkNCSSEyMTaxNHF/gt2DHgqGFDguLFt5fxFqUt+j6Yq3FwsXnlygt4S45lYRPiks6kvSNG86t4Y4nc5Krk8d4PrydvFd8T/52/miKW0pZynCqW2pZ6kiaW9q2tNF0j/Ty9NcCH0Gl4G1GYMbejE+Z4ZmHMieFccLGLFJWUtZZkaooU9SRrZudl90rthAXifuXuizdsXRMEiypzUFyFuW0SBlSsbRLZir7STaQ655blft5WeyyU3kqeaK8ruXmyzcuH873z/91BW4Fb0X7Sv2Va1cOrPJatX81sjp5dfsawzWFa4YKAgoOryWvzVz7+zrrdWXrPqyPW99aqFNYUDj4U8BP9UWKRZKivg2uG/b+jPtZ8HP3RruNuzb+KOYX3yixLikv+VbKK73xi80vFb9Mbkrd1L3ZcfOeLYQtoi33t3psPVymUpZfNrgtdFvTdub24u0fdizZcb3cvnzvTvJO2c7+ipCKll1Gu7bs+laZXnmvyruqsVq7emP1p9383bf3eO5p2Kuzt2Tv132CfQ/2B+xvqjGpKT9AOJB74MXB2IOdv7J/ravVqi2p/X5IdKj/cOThjjqnuroj2kc216P1svrRowuP9hzzPdbSYNmwv1G9seQ4HJcdf3ki6cT9k8En20+xTzWcNj5dfYZ+prgJaVreNNac3tzfktDSezbobHura+uZ36x+O3RO/1zVebXzmy+QLxRemLyYf3G8Tdz2+lLapcH2Je2PL8dfvtsxv6P7SvCVa1f9r17u9Oq8eM3t2rnrLtfP3mDfaL7peLOpy6HrzO8Ov5/pduxuuuV0q6XHuae1d17vhdsety/d8b1z9S7n7s17Yfd678fcf9C3sK//Af/ByEPhw7ePch9NPC54gn9S/FT5afkz7Wc1f5j90djv2H9+wHeg63nU88eDvMFXf+b8+W2o8AXtRfmw3nDdiO3IuVH/0Z6XC14OvRK/mnhd9DeVv1W/MX1z+i/Pv7rG4seG3kreTr4rfa/5/tAH+w/t4xHjzz5mfZz4VPxZ8/PhL+wvnV/jvg5PLPtG/Fbx3ex764/gH08msyYnxVwJFwAAMABAU1MB3h0CoCUA0HsAyIpTuRgAAJCpLA8wlUH+M09lZwAAcAQ44AkQ3QYQ1gawDwBYBQCqBQARngDRnoDa2cnXPyon1c52yovSDIAvn5x8HwdANAP43jc5OdE8Ofm9FgB7BND2cSqPAwAoHwXoCbDxiQ3pYjV9+/dc/HeUnwLX0t2H3gAAACBjSFJNAABuJwAAc68AAPWiAACBJgAAdI4AAO8dAAAzAAAAF519sdLeAAAB1klEQVR42lxSPavqQBQ8u1lXQxK/ECSVEBDEQCIG1NLCH2wrEgutxEqbGEEQRBBs4hfJutnsK8K93OdUA2dm4Mw56HQ6BUGAMQaAz+eDEEIISSkBAABynmUZpRQAsiyzLAvNZrM0TYUQuq5TSt/vt5QSIZR7crOmaWmaPp9PQggAkCzLVFXVNA1jbNt2sVh8v9+/nnyqKMputzMMgzH2eDywEIJz7rpuvV5fLpfP59MwDP0H5XKZMeb7fqFQ8DxPSsk5xwghIUQcx5Zl1Wq16XR6OBzgB+fzeTqdUkpt287TEUIknwkhAGAwGOi6vl6voyhyXXe/32+3W9u2Pc8DAM55LibwP7rdbhzHYRheLhfGWLvd7vV6Xxr8Ww4AMMaCIGi1WqPRiDHmOE632w3D8PV6/a0RSykxxpqmJUmyWCzu93uj0bAsazKZdDqdSqWSpqnv+1EUlUolQoiUkmCMKaW32y0IAlVVh8NhHtloNHLiOE4cx6vVqt/vE0IURUHz+VxRlOv1aprmeDwGgDRN/94UY4wx3mw2h8Oh2WwihAjnnHNerVYppZvNJkmSr42llKqqZllWr9fz6lAYhsfjkVIqhEiSJP+3L4+UslgsEkI456Zp/hsArRIAsBkSa/gAAAAASUVORK5CYII=)}.ls-login-parent .ls-login-form [class*="ls-btn"].ls-btn-block{width:100%}.ls-login-parent .ls-login-forgot{font-size:12px}.ls-login-parent [class*="ls-btn"]{margin-top:20px;margin-bottom:30px}@media screen and (min-width: 768px){.ls-login-parent .ls-login-adv{display:inline-block;margin-left:30px;margin-top:0}}[class*="ls-go"]{position:relative;z-index:2}[class*="ls-go"]:before{font-family:"locastyle";color:white;display:inline-block;vertical-align:top;height:60px;line-height:65px;text-align:center;font-size:20px;padding:0 25px;position:relative}[class*="ls-go"] .ls-text{display:none;top:0;left:0;position:absolute;width:auto}.ls-sidebar [class*="ls-go"]{display:table;width:100%}.ls-sidebar [class*="ls-go"] .ls-text{display:table-cell;color:white;vertical-align:middle;position:static;line-height:1.4;padding-right:10px;position:relative;left:-5px}.ls-topbar [class*="ls-go"]{display:none}@media screen and (min-width: 768px){[class*="ls-go"]:before{border-right:1px solid rgba(0,0,0,0.2);padding:0;width:60px}.ls-sidebar [class*="ls-go"]{display:none}.ls-topbar [class*="ls-go"]{display:inline-block;vertical-align:top}[class*="ls-go"] .ls-text{display:none;top:18px;left:70px;position:absolute;height:25px;line-height:25px;padding:0 10px;font-size:12px;text-align:center;color:white;background:#222222;border-radius:4px;text-shadow:0 0 5px black;white-space:nowrap}[class*="ls-go"] .ls-text:before{position:absolute;left:-12px;top:6px;z-index:10}[class*="ls-go"] .ls-text:before{content:"";width:0;height:0;border-width:6px;border-style:solid;border-color:transparent #222222 transparent transparent}[class*="ls-go"]:hover .ls-text,[class*="ls-go"]:focus .ls-text{display:block}}.ls-steps{position:relative;margin:15px 0 15px -15px;overflow:hidden;padding-top:15px}.ls-steps-nav{list-style:none;margin:0;counter-reset:steps;position:absolute;top:10px;left:15px;z-index:11;width:85px}.ls-steps-nav:before{content:"";border-right:1px solid #dddddd;position:absolute;height:100%;right:29px;top:0}.ls-steps-nav li{counter-increment:steps;padding-bottom:20px;position:relative}.ls-steps-nav li:last-child{padding-bottom:0}.ls-steps-nav li:last-child:before{display:none}.ls-steps-nav li:before{content:"";border-left:3px dotted #dddddd;height:100%;left:16px;position:absolute;top:24px;z-index:1}.ls-steps-btn{background:white;border:none;cursor:none;display:inline-block;font-family:Open Sans, Arial, Helvetica, Sans-serif;font-size:18px;font-weight:300;color:#dddddd;padding-right:5px;pointer-events:none;position:relative}.ls-active .ls-steps-btn,.ls-actived .ls-steps-btn{cursor:pointer;pointer-events:initial}.ls-active .ls-steps-btn:before,.ls-actived .ls-steps-btn:before{border:2px solid #888888;color:white}.ls-active .ls-steps-btn:after,.ls-actived .ls-steps-btn:after{color:#888888}.ls-active .ls-steps-btn:before{color:#888888}.ls-actived:not(.ls-active) .ls-steps-btn:before{content:"\e63d";font-family:"locastyle";font-size:16px}.ls-steps-btn:hover:after,.ls-steps-btn:focus:after,.ls-steps-btn:active:after{opacity:0.7}.ls-steps-btn:before{content:counters(steps,"") " ";font-family:Open Sans, Arial, Helvetica, Sans-serif;font-size:22px;font-weight:300;border:2px solid #dddddd;background:white;border-radius:50%;display:inline-block;height:35px;line-height:31px;vertical-align:middle;text-align:center;width:35px;position:relative;z-index:2}.ls-steps-btn:after{content:attr(aria-label);position:absolute;top:-999999px}.ls-steps-arrow{-moz-transition:all 0.25s linear;-o-transition:all 0.25s linear;-webkit-transition:all 0.25s linear;transition:all 0.25s linear;border-left:12px solid #dddddd;border-top:12px solid transparent;border-bottom:12px solid transparent;display:none;height:0;width:0;position:absolute;top:50%;margin-top:-23px;right:18px}.ls-steps-arrow:before,.ls-steps-arrow:after{content:"";display:block;left:-1px;position:absolute}.ls-steps-arrow:before{background:#888888;border-radius:50%;position:absolute;left:-12px;top:-12px;margin-top:10px;height:4px;width:4px;z-index:2}.ls-steps-arrow:after{border-left:10px solid white;border-top:10px solid transparent;border-bottom:10px solid transparent;top:-10px;left:-12px;height:0;width:0;z-index:1}.ls-steps-main{border-left:1px solid #dddddd;position:relative;margin-left:70px;padding-left:15px;padding-right:15px}.ls-steps-content{position:relative;display:none;z-index:-1}.ls-steps-content.ls-active{display:block;z-index:99}.ls-steps-content .ls-actions-btn{overflow:hidden}.ls-steps-content .ls-actions-btn [class*="ls-btn"]{float:left}.ls-steps-content .ls-actions-btn [class*="ls-btn"][data-action="next"]{float:right}@media screen and (min-width: 768px){.ls-steps-nav{left:15px;width:250px}.ls-steps-main{margin-left:235px;padding-left:25px}.ls-active .ls-steps-arrow{display:block}.ls-steps-btn:after{position:relative;top:0;margin-left:10px;width:170px;text-align:left;display:inline-block;vertical-align:middle}}.ls-tabs-btn .ls-tabs-btn-nav [class*="ls-btn"]{border-color:#cccccc;color:#555555;display:inline-block;font-family:Open Sans, Arial, Helvetica, Sans-serif;font-size:16px;font-weight:300;padding:12px 15px;margin-bottom:10px;position:relative;width:100%}.ls-tabs-btn .ls-tabs-btn-nav [class*="ls-btn"]+[class*="ls-btn"]{margin-left:0}.ls-tabs-btn .ls-tabs-btn-nav [class*="ls-btn"]:hover,.ls-tabs-btn .ls-tabs-btn-nav [class*="ls-btn"]:focus,.ls-tabs-btn .ls-tabs-btn-nav [class*="ls-btn"]:active{background-color:#dddddd;border-color:#d8d8d8}.ls-tabs-btn .ls-tabs-btn-nav [class*="ls-btn"] input{position:absolute;left:-20px;top:-20px}.ls-tabs-btn .ls-active>[class*="ls-btn"]{position:relative;font-weight:600}.ls-tabs-btn .ls-active>[class*="ls-btn"]:before,.ls-tabs-btn .ls-active>[class*="ls-btn"]:after{left:50%;display:none !important}.ls-tabs-btn .ls-active>[class*="ls-btn"]:before{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:8px solid transparent;border-color:#d8d8d8 transparent transparent transparent;bottom:-16px;position:absolute;top:auto;margin-left:-8px;z-index:1}.ls-tabs-btn .ls-active>[class*="ls-btn"]:after{content:"";display:inline-block;width:0;height:0;margin-left:5px;position:relative;border:6px solid transparent;border-color:#dddddd transparent transparent transparent;bottom:-12px;position:absolute;top:auto;margin-left:-6px;z-index:2}.ls-tabs-btn .ls-active>[class*="ls-btn"] [class*="ls-ico"]:before,.ls-tabs-btn .ls-active>[class*="ls-btn"] [class*="ls-ico"]:after{opacity:1}.ls-tabs-btn [class*="ls-ico"]{font-size:16px}.ls-tabs-btn [class*="ls-ico"]:before,.ls-tabs-btn [class*="ls-ico"]:after{opacity:0.5;font-size:24px;vertical-align:sub}.ls-tabs-btn [class*="ls-ico"]:before{margin-right:5px}.ls-tabs-btn [class*="ls-ico"]:after{margin-left:5px}.ls-tabs-btn .ls-tabs-btn-nav{list-style:none;margin-right:0;margin-left:-5px}.ls-tabs-btn .ls-tabs-btn-nav [class*="col-"]{padding:0 5px;overflow:hidden}.ls-tabs-btn .ls-tabs-container{top:10px}.ls-tabs-btn .ls-tabs-container .ls-tab-content{padding:0;border:none;margin-bottom:0}@media screen and (min-width: 768px){.ls-tabs-btn .ls-active [class*="ls-btn"]:before,.ls-tabs-btn .ls-active [class*="ls-btn"]:after{display:block !important}} \ No newline at end of file diff --git a/app/assets/stylesheets/registrations.scss b/app/assets/stylesheets/registrations.scss new file mode 100644 index 0000000000000000000000000000000000000000..f6e17a22d8ea83e854c44006511714d6fc63a863 --- /dev/null +++ b/app/assets/stylesheets/registrations.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the registrations controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/app/assets/stylesheets/search/select2.min.css b/app/assets/stylesheets/search/select2.min.css new file mode 100644 index 0000000000000000000000000000000000000000..1c7234426a473d3e017340ecda88f880dc1e3476 --- /dev/null +++ b/app/assets/stylesheets/search/select2.min.css @@ -0,0 +1 @@ +.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none;}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px;}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none;}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap;}.select2-container .select2-search--inline{float:left;}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none;}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051;}.select2-results{display:block;}.select2-results__options{list-style:none;margin:0;padding:0;}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none;}.select2-results__option[aria-selected]{cursor:pointer;}.select2-container--open .select2-dropdown{left:0;}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0;}.select2-search--dropdown{display:block;padding:4px;}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box;}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none;}.select2-search--dropdown.select2-search--hide{display:none;}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0);}.select2-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px;}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px;}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999;}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px;}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0;}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left;}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto;}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default;}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none;}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px;}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%;}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left;}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px;}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px;}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px;}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder{float:right;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto;}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0;}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default;}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none;}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0;}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa;}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto;}.select2-container--default .select2-results__option[role=group]{padding:0;}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999;}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd;}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em;}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white;}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px;}.select2-container--classic .select2-selection--single{background-color:#f6f6f6;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #ffffff 50%, #eeeeee 100%);background-image:-o-linear-gradient(top, #ffffff 50%, #eeeeee 100%);background-image:linear-gradient(to bottom, #ffffff 50%, #eeeeee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb;}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px;}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px;}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999;}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0;}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left;}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto;}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb;}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none;}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px;}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #ffffff 0%, #eeeeee 50%);background-image:-o-linear-gradient(top, #ffffff 0%, #eeeeee 50%);background-image:linear-gradient(to bottom, #ffffff 0%, #eeeeee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eeeeee 50%, #ffffff 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, #ffffff 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, #ffffff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0;}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb;}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px;}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none;}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px;}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px;}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto;}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb;}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0;}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0;}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;}.select2-container--classic .select2-dropdown{background-color:white;border:1px solid transparent;}.select2-container--classic .select2-dropdown--above{border-bottom:none;}.select2-container--classic .select2-dropdown--below{border-top:none;}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto;}.select2-container--classic .select2-results__option[role=group]{padding:0;}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey;}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:white;}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px;}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb;} \ No newline at end of file diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a00febeb44d6011ab44b96a0dc33e8de2c562d68..c2a66dab49848d4295a9fb227caffac4445c89bb 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,10 +1,30 @@ class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. - protect_from_forgery with: :exception + protect_from_forgery with: :null_session + before_action :configure_permitted_parameters, if: :devise_controller? def repository Portalmec::Application.repository end + protected + + def configure_permitted_parameters + devise_parameter_sanitizer.for(:sign_up) << :name + end + + def dspace_service + @dspace_service ||= DspaceService.new( + DspaceService.create_dspace_client( + Rails.application.secrets.dspace_host, + get_dspace_authenticable_token + ) + ) + end + + def get_dspace_authenticable_token + session[:dspace_auth_token] || nil + end + end diff --git a/app/controllers/management/highlights_controller.rb b/app/controllers/management/highlights_controller.rb index a06967692860dfc8e7cee1df3b7da681d4484ce6..2c91db6b179c71322b42d85ffff779913da35d78 100644 --- a/app/controllers/management/highlights_controller.rb +++ b/app/controllers/management/highlights_controller.rb @@ -1,6 +1,5 @@ class Management::HighlightsController < ManagementController - def index @highlights = highlight_repository.find_all end @@ -16,14 +15,16 @@ class Management::HighlightsController < ManagementController end def create + highlight_repository.insert_data(params[:name],params[:url]) - render :action => 'new' + redirect_to management_highlights_index_path + end def destroy - params[:name].each do |name| - highlight_repository.destroy_data(name) + params[:id].each do |id| + highlight_repository.destroy_data(id) end redirect_to management_highlights_index_path diff --git a/app/controllers/management/estatisticas_controller.rb b/app/controllers/management/statistics_controller.rb similarity index 84% rename from app/controllers/management/estatisticas_controller.rb rename to app/controllers/management/statistics_controller.rb index dfbd3d1b192d99e6f7d3c6f58bc60be0820fe1ab..2ad8a384063cf2a6a743f15c3b32cead63baee28 100644 --- a/app/controllers/management/estatisticas_controller.rb +++ b/app/controllers/management/statistics_controller.rb @@ -1,4 +1,4 @@ -class Management::EstatisticasController < ManagementController +class Management::StatisticsController < ManagementController def index g = Gruff::Line.new g.title = "Usuários" @@ -40,8 +40,8 @@ class Management::EstatisticasController < ManagementController g.marker_count = 1 g = Gruff::Line.new - g.title = "Colecoes" - g.data 'colecoes', [0, 55, 153, 220] + g.title = "Coleções" + g.data 'colections', [0, 55, 153, 220] g.labels={ 0 => '1', 1 => '3', @@ -58,9 +58,12 @@ class Management::EstatisticasController < ManagementController g.replace_colors(['green','yellow','black']) g.marker_count = 1 + g.write("/home/alexandre/projetos/portalmec/app/assets/images/geral_colections.png") + + g = Gruff::Line.new g.title = "Acessos" - g.data 'acessos', [0, 415, 388, 320, 577 ] + g.data 'accesses', [0, 415, 388, 320, 577 ] g.labels={ 0 => '1', 1 => '3', @@ -76,6 +79,9 @@ class Management::EstatisticasController < ManagementController } g.replace_colors(['green','yellow','black']) g.marker_count = 1 + + g.write("/home/alexandre/projetos/portalmec/app/assets/images/geral_accesses.png") + end def usuarios @@ -105,13 +111,13 @@ class Management::EstatisticasController < ManagementController end - def acessos + def accesses end - def destaques + def highlights end - def colecoes + def collections g = Gruff::Pie.new g.title = "Por área de atuação" @@ -134,6 +140,9 @@ class Management::EstatisticasController < ManagementController } g.replace_colors(['green','yellow','black','purple', 'blue', 'brown', 'red']) g.marker_count = 1 + + g.write("/home/alexandre/projetos/portalmec/app/assets/images/colections.png") + end end diff --git a/app/controllers/management/users_controller.rb b/app/controllers/management/users_controller.rb index 36201b8cd81d50ba8b9f0a30feca04df17787ff6..95e72c32739f9e894038c403bdf8734b13036798 100644 --- a/app/controllers/management/users_controller.rb +++ b/app/controllers/management/users_controller.rb @@ -1,7 +1,83 @@ class Management::UsersController < ManagementController + before_action :set_user, only: [:show, :edit, :update, :destroy] + before_action :set_roles, only: [:new, :edit] + def index + @users = user_repository.all end + # GET /users/1 + # GET /users/1.json def show end + + # GET /users/new + def new + @user = User.new + end + + # GET /users/1/edit + def edit + end + + # POST /users + # POST /users.json + def create + @user = User.new(user_params) + + respond_to do |format| + if user_repository.save @user + format.html { redirect_to management_user_path(@user), notice: "User created!" } + format.json { render :show, status: :created, location: @user } + else + format.html { render :new } + format.json { render json: @user.errors, status: :unprocessable_entity } + end + end + end + + # PATCH/PUT /users/1 + # PATCH/PUT /users/1.json + def update + respond_to do |format| + if user_repository.update(user_params) + format.html { redirect_to management_user_path(@user), notice: "User updated!" } + format.json { render :show, status: :ok, location: @user } + else + format.html { render :edit } + format.json { render json: @user.errors, status: :unprocessable_entity } + end + end + end + + # DELETE /users/1 + # DELETE /users/1.json + def destroy + user_repository.destroy @user + respond_to do |format| + format.html { redirect_to management_users_path, notice: "User destroyed!" } + format.json { head :no_content } + end + end + + private + + # Use callbacks to share common setup or constraints between actions. + def set_user + @user = user_repository.find params[:id] + end + + # Never trust parameters from the scary internet, only allow the white list through. + def user_params + params.require(:user).permit(:name, :email, :password, :password_confirmation, roles: []) + end + + def user_repository + repository.for(:user) + end + + def set_roles + @roles = Role.all + end + end diff --git a/app/controllers/search/solr_controller.rb b/app/controllers/search/solr_controller.rb new file mode 100644 index 0000000000000000000000000000000000000000..1306ee17e226d20cbaa361373c7e7264f4ac4bcf --- /dev/null +++ b/app/controllers/search/solr_controller.rb @@ -0,0 +1,85 @@ +class Search::SolrController < ApplicationController + + def search + queryParams = {:q => '*:*', :fq => params[:qry]} + + results = solr_client.get 'select', + :params => merge_search_parameters(queryParams, solr_search_default_parameters) + + @numFound = results["response"]["numFound"] + objectsFound1 = select_items_from_results(results) + + per_page=10 + if(params[:paginacao]) + per_page=params[:paginacao].to_i + end + + if(params[:page]) + #params[:page] = 1 + else + params[:page] = 1 + end + + current_page= params[:page].to_i + # @numpag = params[:page] + # current_page per_page total_results + @objectsFound = WillPaginate::Collection.create(current_page, per_page, objectsFound1.length) do |pager| + start = (current_page-1)*per_page + pager.replace (objectsFound1.to_a[start,per_page]) + end + + #search.resourceid + #for item in objectsFound + # Busca no orientDb (rid,classe,rate) + #end + end + + private + + #Resource types: + # 2 = Item + # 3 = Collection + # 4 = Community + + def select_items_from_results(results) + resultList = Set.new + results["response"]["docs"].select { |r| + r["search.resourcetype"].to_i.equal? 2 + }.each do |i| + resultList.add i + end + return resultList + end + + def solr_client + return RSolr.connect :url => 'http://portalmecdev.c3sl.ufpr.br:8080/solr/search/' + end + + def merge_search_parameters(p1, p2) + return p1.merge(p2) { |key,oldval,newval| key = [newval,oldval].flatten } + end + + def solr_search_default_parameters + return { + "fl"=>[" + search.resourcetype, search.resourceid, + handle, author, title, dc.description + "], + "type"=>"0", + "start"=>"0", + "rows"=>"1000", + "facet"=>"true", + "facet.offset"=>"0", + "facet.mincount"=>"1", + "f.subject_tax_0_filter.facet.sort"=>"count", + "f.subject_tax_0_filter.facet.limit"=>"11", + "f.author_filter.facet.limit"=>"11", + "f.dateIssued.year.facet.sort"=>"index", + "f.dateIssued.year.facet.limit"=>"10", + "f.author_filter.facet.sort"=>"count", + "facet.field"=>["author_filter","subject_tax_0_filter","dateIssued.year"], + "fq"=>["NOT(withdrawn:true)","NOT(discoverable:false)","read:(g0 OR g0)"] + } + end + +end diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb deleted file mode 100644 index 3a2a164d6ac3004f500308844243a79fa17af6c9..0000000000000000000000000000000000000000 --- a/app/controllers/users_controller.rb +++ /dev/null @@ -1,33 +0,0 @@ -class UsersController < ApplicationController - def index - #db = repository.for(:user) #OrientDb::UserRepository.new - #@user = db.find_by_id "#17:1" - end - - def show - end - - # GET /users/new - def new - end - - # GET /users/1/edit - def edit - end - - # POST /users - # POST /users.json - def create - end - - # PATCH/PUT /users/1 - # PATCH/PUT /users/1.json - def update - end - - # DELETE /users/1 - # DELETE /users/1.json - def destroy - end - -end diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index dc53b3325d9eaf36e0445c15f4ebd50072aef913..37b8bd2034c9bb99f3b7830f66553a342ea4e03c 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -1,6 +1,17 @@ class WelcomeController < ApplicationController + def index - @highlights = repository.for(:highlight).find_all + @Carousel = Array.new + @General = Array.new + mainPage = repository.for(:mainPage).find_all + + @Carousel = mainPage[0]["carousel"].collect do |id| + repository.for(:webLink).find_by_id(id)[0] #orientdb returns a hash inside an array, I want only the hash + end + + @General = mainPage[0]["highlights"].collect do |id| + repository.for(:object).find_by_id(id)[0] + end end def faq diff --git a/app/helpers/management/users_helper.rb b/app/helpers/management/users_helper.rb new file mode 100644 index 0000000000000000000000000000000000000000..688b6e1e8520ddde4f16a269af9b08523533fc7d --- /dev/null +++ b/app/helpers/management/users_helper.rb @@ -0,0 +1,2 @@ +module Management::UsersHelper +end \ No newline at end of file diff --git a/app/helpers/search/solr_helper.rb b/app/helpers/search/solr_helper.rb new file mode 100644 index 0000000000000000000000000000000000000000..2e2d9efa75464a718e752fb8615f4dff34c1d151 --- /dev/null +++ b/app/helpers/search/solr_helper.rb @@ -0,0 +1,6 @@ +module Search::SolrHelper + def object_thumbnail(handle) + # return "http://demo.dspace.org/xmlui/bitstream/handle/10673/4/kitty-1257950690.jpg.jpg?sequence=10&isAllowed=y" + return "logo.png" + end +end diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb deleted file mode 100644 index 2310a240d78bd6361668625f782ada9d71cdd6c5..0000000000000000000000000000000000000000 --- a/app/helpers/users_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module UsersHelper -end diff --git a/app/models/bitstream.rb b/app/models/bitstream.rb new file mode 100644 index 0000000000000000000000000000000000000000..f81e0d81baf176259793860ade8e5b728cc9f08c --- /dev/null +++ b/app/models/bitstream.rb @@ -0,0 +1,5 @@ +class Bitstream + include ActiveModel::Model + + attr_accessor :id, :name, :description, :retrieve_link, :size_bytes +end diff --git a/app/models/object.rb b/app/models/object.rb new file mode 100644 index 0000000000000000000000000000000000000000..296f27a01835a65b0255887f40a36a8ad40d7e4d --- /dev/null +++ b/app/models/object.rb @@ -0,0 +1,7 @@ +class Object + include ActiveModel::Model + + attr_accessor :id, :name, :title, :author_id, :description, :date, :exercises, + :references, :supplementary_material, :license_name, :license_uri, + :files +end diff --git a/app/models/role.rb b/app/models/role.rb new file mode 100644 index 0000000000000000000000000000000000000000..33cd819aca6c2fef5200134c096b45a0249961bb --- /dev/null +++ b/app/models/role.rb @@ -0,0 +1,3 @@ +class Role < ActiveRecord::Base + has_and_belongs_to_many :users +end diff --git a/app/models/user.rb b/app/models/user.rb index 3e95628a7582ae762b71ddef39d12dc6e5a039e5..655002b4a16e0db6faa79368658ed3c1927e3fe2 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -3,4 +3,5 @@ class User < ActiveRecord::Base # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable -end \ No newline at end of file + has_and_belongs_to_many :roles +end diff --git a/app/repositories/active_record/carousel_repository.rb b/app/repositories/active_record/carousel_repository.rb new file mode 100644 index 0000000000000000000000000000000000000000..bfec616aa00ec56993f360f1f7cc03b22d12133c --- /dev/null +++ b/app/repositories/active_record/carousel_repository.rb @@ -0,0 +1,14 @@ +module ActiveRecord + class CarouselRepository + + def find_all + end + + def find_by_id + end + + def insert_data(name, url) + end + + end +end diff --git a/app/repositories/active_record/learning_object_repository.rb b/app/repositories/active_record/learning_object_repository.rb new file mode 100644 index 0000000000000000000000000000000000000000..66a3d4ea20afc0bacc80dbe47589defee4f0b22d --- /dev/null +++ b/app/repositories/active_record/learning_object_repository.rb @@ -0,0 +1,14 @@ +module ActiveRecord + class LearningObjectRepository + + def find_all + end + + def find_by_id + end + + def insert_data(name, url) + end + + end +end diff --git a/app/repositories/active_record/main_page_repository.rb b/app/repositories/active_record/main_page_repository.rb new file mode 100644 index 0000000000000000000000000000000000000000..656aab684c7eaa33e845387038aee21882f2615f --- /dev/null +++ b/app/repositories/active_record/main_page_repository.rb @@ -0,0 +1,14 @@ +module ActiveRecord + class MainPageRepository + + def find_all + end + + def find_by_id + end + + def insert_data(name, url) + end + + end +end diff --git a/app/repositories/active_record/highlight_repository.rb b/app/repositories/active_record/object_repository.rb similarity index 64% rename from app/repositories/active_record/highlight_repository.rb rename to app/repositories/active_record/object_repository.rb index 39afb4fc9432756044326b33dd6a197b7968c12b..bccb37fd94efe3d7d18b4c39963cd1ce4fb87316 100644 --- a/app/repositories/active_record/highlight_repository.rb +++ b/app/repositories/active_record/object_repository.rb @@ -1,9 +1,12 @@ module ActiveRecord - class HighlightRepository + class ObjectRepository def find_all end + def find_by_id + end + def insert_data(name, url) end diff --git a/app/repositories/active_record/user_repository.rb b/app/repositories/active_record/user_repository.rb index 0f9109e58ecae8e5eec4375024b1f0b046b2371d..d102a7e8d67914eda5c084def0544f7bb6e24a10 100644 --- a/app/repositories/active_record/user_repository.rb +++ b/app/repositories/active_record/user_repository.rb @@ -1,13 +1,29 @@ module ActiveRecord class UserRepository + class MethodNotImplementedError < NoMethodError; end - def find_by_id(rid) + def find(*ids) + User.find ids end - def author_of(rid) + def all + User.all end - def has(rid) + def save(user) + user.save + end + + def update(params={}) + User.update params + end + + def destroy(user) + user.destroy + end + + def ensure_is_graph_node(user) + raise MethodNotImplementedError, 'This method is implement only for graph repositories' end end diff --git a/app/repositories/active_record/weblink_repository.rb b/app/repositories/active_record/weblink_repository.rb new file mode 100644 index 0000000000000000000000000000000000000000..a717c04fd8f450ca3d0e531ee82075d8614bde0e --- /dev/null +++ b/app/repositories/active_record/weblink_repository.rb @@ -0,0 +1,14 @@ +module ActiveRecord + class WeblinkRepository + + def find_all + end + + def find_by_id + end + + def insert_data(name, url) + end + + end +end diff --git a/app/repositories/orient_db/base.rb b/app/repositories/orient_db/base.rb index ff4a148e7c7a17dbd8d6dc11d0ec8e0ce07b0b7d..53599f9125b196ed8d4d04a645719a3419ad04c8 100644 --- a/app/repositories/orient_db/base.rb +++ b/app/repositories/orient_db/base.rb @@ -1,13 +1,12 @@ class OrientDb::Base - attr_reader :connection - def initialize(connection) - @connection = connection + def initialize(orientdb_connection) + @connection = orientdb_connection + end + - rescue => e - puts "Fail to connect OrientDb" - puts e.message - puts e.backtrace + def connection + @connection end end diff --git a/app/repositories/orient_db/carousel_repository.rb b/app/repositories/orient_db/carousel_repository.rb new file mode 100644 index 0000000000000000000000000000000000000000..a8a2d8c0a0c529dba2d7a43e4d02a0adfe9f5dd5 --- /dev/null +++ b/app/repositories/orient_db/carousel_repository.rb @@ -0,0 +1,24 @@ +module OrientDb + class CarouselRepository < Base + + def find_all + connection.query "SELECT FROM Carousel" + end + + def find_by_id(id) + connection.query "SELECT FROM Carousel where @rid = '#{id}'" + end + + def insert_data (name,url) + connection.command "INSERT INTO Carousel (name,URL) VALUES ('#{name}','#{url}')" + end + + + def destroy_data(id) + return @connection.command "DELETE VERTEX Carousel where @rid = '#{id}'" + rescue + return nil + end + + end +end diff --git a/app/repositories/orient_db/highlight_repository.rb b/app/repositories/orient_db/highlight_repository.rb deleted file mode 100644 index 7477083cef5236c51c252d7e7fb7127d451da604..0000000000000000000000000000000000000000 --- a/app/repositories/orient_db/highlight_repository.rb +++ /dev/null @@ -1,17 +0,0 @@ -module OrientDb - class HighlightRepository < Base - - def find_all - connection.query "SELECT FROM Highlight" - end - - def insert_data (name,url) - connection.command "INSERT INTO Highlight (name,URL) VALUES ('#{name}','#{url}')" - end - - def destroy_data(name) - connection.command "DELETE VERTEX Highlight where name = '#{name}'" - end - - end -end diff --git a/app/repositories/orient_db/learning_object_repository.rb b/app/repositories/orient_db/learning_object_repository.rb new file mode 100644 index 0000000000000000000000000000000000000000..a38e2bb6d4ae00f32db6d4629a85da0c0b94a5fd --- /dev/null +++ b/app/repositories/orient_db/learning_object_repository.rb @@ -0,0 +1,39 @@ +module OrientDb + class LearningObjectRepository < Base + + def find_all + connection.query "SELECT FROM LearningObject" + end + + def find_by_id(id) + connection.query "SELECT FROM LearningObject where @rid = '#{id}'" + end + + def insert_data (name,url) + connection.command "INSERT INTO LearningObject (name,URL) VALUES ('#{name}','#{url}')" + end + + + def destroy_data(id) + return @connection.command "DELETE VERTEX LearningObject where @rid = '#{id}'" + rescue + return nil + end + + def get_likes(id) + likes = connection.query "select outE('Likes') from #{id}" + return likes[0]["outE"] + end + + def get_downloads(id) + downloads = connection.query "select outE('Downloads') from #{id}" + return downloads[0]["outE"] + end + + def get_views(id) + views = connection.query "select outE('Views') from #{id}" + return views[0]["outE"] + end + + end +end diff --git a/app/repositories/orient_db/main_page_repository.rb b/app/repositories/orient_db/main_page_repository.rb new file mode 100644 index 0000000000000000000000000000000000000000..27b7e8e57eaaca569dd1bb55527780fd8ef8b9d5 --- /dev/null +++ b/app/repositories/orient_db/main_page_repository.rb @@ -0,0 +1,29 @@ +module OrientDb + class MainPageRepository < Base + + def find_all + connection.query "SELECT FROM MainPage" + end + + def find_by_id(id) + connection.query "SELECT FROM MainPage where @rid = '#{id}'" + end + + def insert_data (name,url) + connection.command "INSERT INTO MainPage (name,URL) VALUES ('#{name}','#{url}')" + end + + + def destroy_data(id) + return @connection.command "DELETE VERTEX MainPage where @rid = '#{id}'" + rescue + return nil + end + + def update(id,operation,atributte,new) + puts "update #{id} #{operation} #{atributte} = #{new}" + return @connection.command "update #{id} #{operation} #{atributte} = #{new}" + end + + end +end diff --git a/app/repositories/orient_db/object_repository.rb b/app/repositories/orient_db/object_repository.rb new file mode 100644 index 0000000000000000000000000000000000000000..8c1fc1490c7c41c25e34196268412b55903ff1b8 --- /dev/null +++ b/app/repositories/orient_db/object_repository.rb @@ -0,0 +1,24 @@ +module OrientDb + class ObjectRepository < Base + + def find_all + connection.query "SELECT FROM Object" + end + + def find_by_id(id) + connection.query "SELECT FROM Object where @rid = '#{id}'" + end + + def insert_data (name,url) + connection.command "INSERT INTO Object (name,URL) VALUES ('#{name}','#{url}')" + end + + + def destroy_data(id) + return @connection.command "DELETE VERTEX Object where @rid = '#{id}'" + rescue + return nil + end + + end +end diff --git a/app/repositories/orient_db/user_repository.rb b/app/repositories/orient_db/user_repository.rb index 981554bba1c9e28295ad0f0dffa41c8da102d648..2c912f36825b4ba4b22bdeb3f950c9c22529ec32 100644 --- a/app/repositories/orient_db/user_repository.rb +++ b/app/repositories/orient_db/user_repository.rb @@ -1,16 +1,42 @@ module OrientDb class UserRepository < Base + def find(*ids) + end + + def all + end + + def save(user) + connection.command sprintf("INSERT INTO User (title, u_id) VALUES ('%s', %d)", user.email, user.id) + end + + def update(params={}) + end + + def destroy(user) + end + + def find_by_email(email) + connection.query sprintf("SELECT FROM User WHERE @email = '%s'", email) + end + + def ensure_is_graph_node(user) + if find_by_email(user.email).nil? + return save(user) + end + end + def find_by_id(rid) - return connection.query "SELECT FROM User WHERE @rid=#{rid}" + connection.query "SELECT FROM User WHERE @rid=#{rid}" end def author_of(rid) - return connection.query "SELECT expand(in) FROM (SELECT expand(out_author_of) FROM User WHERE @rid=#{rid})" + connection.query "SELECT expand(in) FROM (SELECT expand(out_author_of) FROM User WHERE @rid=#{rid})" end def has(rid) - return connection.query "SELECT expand(in) FROM (SELECT expand(out_has) FROM User WHERE @rid=#{rid})" + connection.query "SELECT expand(in) FROM (SELECT expand(out_has) FROM User WHERE @rid=#{rid})" end end diff --git a/app/repositories/orient_db/weblink_repository.rb b/app/repositories/orient_db/weblink_repository.rb new file mode 100644 index 0000000000000000000000000000000000000000..4141dc96de6761ccfe87e0d0e7da4d40c3691ff7 --- /dev/null +++ b/app/repositories/orient_db/weblink_repository.rb @@ -0,0 +1,24 @@ +module OrientDb + class WeblinkRepository < Base + + def find_all + connection.query "SELECT FROM WebLink" + end + + def find_by_id(id) + connection.query "SELECT FROM WebLink where @rid = '#{id}'" + end + + def insert_data (name,url) + connection.command "INSERT INTO WebLink (name,URL) VALUES ('#{name}','#{url}')" + end + + + def destroy_data(id) + return @connection.command "DELETE VERTEX WebLink where @rid = '#{id}'" + rescue + return nil + end + + end +end diff --git a/app/services/dspace_service.rb b/app/services/dspace_service.rb new file mode 100644 index 0000000000000000000000000000000000000000..be6f81b16dd88884b5219b939ab252cf00f4ca60 --- /dev/null +++ b/app/services/dspace_service.rb @@ -0,0 +1,204 @@ +class DspaceService + attr_reader :dspace_client + @@clients = {} + + def initialize(dspace_client) + @dspace_client = dspace_client + end + + def self.create_dspace_client(url = 'https://demo.dspace.org/rest', auth_token=nil) + @@clients[url] ||= DspaceClient.new(url, auth_token) + end + + # def get_all_communities + # community_repository = @dspace_client.repository.community_repository + # all_communities = community_repository.get_all_communities("subCommunities") + # + # setores = [] + # all_communities.each do |community| + # unless community.sub_communities.empty? + # setores << build_setor(community) + # end + # end + # setores + # end + # + # def get_community_by_id(id) + # community_repository = @dspace_client.repository.community_repository + # + # community = community_repository.get_community_by_id(id, "subCommunities") + # build_setor(community, community.sub_communities) + # end + # + # def get_subcommunity_by_id(id) + # community_repository = @dspace_client.repository.community_repository + # collection_repository = @dspace_client.repository.collection_repository + # + # community = community_repository.get_community_by_id(id,"parentCommunity") + # disciplinas = build_disciplinas(collection_repository.get_collections_of(community)) + # build_departamento(community, disciplinas) + # end + # + # def get_collection_by_id(id) + # collection_repository = @dspace_client.repository.collection_repository + # + # collection = collection_repository.get_collection_by_id(id, "parentCommunityList") + # items = collection_repository.get_collection_items(collection) + # build_disciplina(collection, items) + # end + + def get_object_by_id(id) + item_repository = @dspace_client.repository.item_repository + + item = item_repository.get_item_by_id(id, "all") + metadata = metadata2hash(item) + build_item(item, metadata) + end + + def get_bitstream_by_id(id) + bitstream_repository = @dspace_client.repository.bitstream_repository + + bitstream = bitstream_repository.get_bitstream_by_id(id, "parent") + build_bitstream(bitstream) + end + + def retrieve_bitstream(bitstream) + bitstream_repository = @dspace_client.repository.bitstream_repository + + bitstream_repository.retrieve_data(bitstream) + end + + def create_bitstream(item, bitstream, file, auth_token = nil) + if auth_token.nil? + raise 'You must be authenticated to create a bitstream.' + end + + item_repository = @dspace_client.repository.item_repository + bitstream_repository = @dspace_client.repository.bitstream_repository + upload_strategy = DSpaceRest::Strategies::Uploads::CurlStrategy.new(@dspace_client.url, auth_token) + + # upload file + response = item_repository.create_bitstream_for(item, file, upload_strategy) + + # update bitstream information + response.name = bitstream["name"] + response.description = bitstream["description"] + bitstream_repository.update(response) + end + + def create_object(disciplina_id, form_item) + collection_repository = @dspace_client.repository.collection_repository + disciplina = collection_repository.get_collection_by_id(disciplina_id) + + # trata o form da item + item = DSpaceRest::Item.new(form_item) + dspace_keys = get_dspace_metadata_names("invert") + form_item.each do |k,v| + unless dspace_keys[k].nil? + item.add_metadata(dspace_keys[k], v, "pt-BR") + end + end + + #manda pro dspace + collection_repository.create_item_for(disciplina, item) + end + + def get_dspace_metadata_names(invert=nil) + h = { + "dc.title" => "name", + "dc.contributor.author" => "author_id", + "dc.description" => "description", + "dc.date.issued" => "date", + "dc.rights" => "license_name", + "dc.rights.uri" => "license_uri" + } + if (invert != nil) + return h.invert + end + h + end + + private + + # def build_community(community, subcommunities=[]) + # Setor.new({ + # id: community.id, + # name: community.name, + # introductory_text: community.introductory_text, + # departamentos: subcommunities + # }) + # end + # + # def build_subcommunities(community, collections=[]) + # Departamento.new({ + # id: community.id, + # name: community.name, + # introductory_text: community.introductory_text, + # setor: community.parent_community, + # disciplinas: collections + # }) + # end + # + # def build_collection(collection, items=[]) + # Disciplina.new({ + # id: collection.id, + # name: collection.name, + # introductory_text: collection.introductory_text, + # details_url: collection.short_description, + # departamento: collection.parent_community_list[0], + # setor: collection.parent_community_list[1], + # # TODO: real professor + # professor: Professor.new({id: 1, name: "Prof Joao"}), + # items: items + # }) + # end + # + # def build_collections(collections) + # disciplinas = [] + # + # collections.each do |c| + # disciplinas << build_disciplina(c) + # end + # disciplinas + # end + + def build_object(item, metadata={}) + item.new({ + id: item.id, + name: item.name, + # TODO: real professor + author_id: metadata["author_id"], + description: metadata["description"] || "", + date: metadata["date"] || "", + license_name: metadata["license_name"] || "", + license_uri: metadata["license_uri"] || "", + disciplina: item.parent_collection, + departamento: item.parent_community_list[0], + setor: item.parent_community_list[1], + files: item.bit_streams + }) + end + + def build_bitstream(bitstream) + Bitstream.new({ + id: bitstream.id, + name: bitstream.name, + description: bitstream.description, + retrieve_link: Rails.application.secrets.dspace_url + bitstream.retrieve_link, + size_bytes: bitstream.size_bytes + }) + end + + def metadata2hash(item) + h = {} + hkeys = get_dspace_metadata_names + + item.metadata.each do |m| + unless hkeys[m.key].nil? + h[hkeys[m.key]] = m.value + end + end + + h + end +end diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index 3ea40f0148a37063c43e7c00ffcbb8fc1e66b91f..51ee35d468d244240877322f4c038e7af2f87448 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -1,39 +1,44 @@ <h2>Edit <%= resource_name.to_s.humanize %></h2> -<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> - <%= devise_error_messages! %> - - <div class="field"> - <%= f.label :email %><br /> - <%= f.email_field :email, autofocus: true %> - </div> - - <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> - <div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div> - <% end %> - - <div class="field"> - <%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br /> - <%= f.password_field :password, autocomplete: "off" %> - </div> - - <div class="field"> - <%= f.label :password_confirmation %><br /> - <%= f.password_field :password_confirmation, autocomplete: "off" %> - </div> - - <div class="field"> - <%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br /> - <%= f.password_field :current_password, autocomplete: "off" %> - </div> - - <div class="actions"> - <%= f.submit "Update" %> - </div> +<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: {method: :put}) do |f| %> + <%= devise_error_messages! %> + + <div class="field"> + <%= f.label :name %><br/> + <%= f.text_field :name, autofocus: true, required: true %> + </div> + + <div class="field"> + <%= f.label :email %><br/> + <%= f.email_field :email, autofocus: true %> + </div> + + <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> + <div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div> + <% end %> + + <div class="field"> + <%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br/> + <%= f.password_field :password, autocomplete: "off" %> + </div> + + <div class="field"> + <%= f.label :password_confirmation %><br/> + <%= f.password_field :password_confirmation, autocomplete: "off" %> + </div> + + <div class="field"> + <%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br/> + <%= f.password_field :current_password, autocomplete: "off" %> + </div> + + <div class="actions"> + <%= f.submit "Update" %> + </div> <% end %> <h3>Cancel my account</h3> -<p>Unhappy? <%= button_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete %></p> +<p>Unhappy? <%= button_to "Cancel my account", registration_path(resource_name), data: {confirm: "Are you sure?"}, method: :delete %></p> <%= link_to "Back", :back %> diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index 5a238ce6eba330c494ecc77443fd4625e97df81e..f67db65b8b4ba004f64cfe6faaff987c4cf0060d 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -1,29 +1,34 @@ <h2>Sign up</h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> - <%= devise_error_messages! %> + <%= devise_error_messages! %> - <div class="field"> - <%= f.label :email %><br /> - <%= f.email_field :email, autofocus: true %> - </div> + <div class="field"> + <%= f.label :name %><br/> + <%= f.text_field :name, autofocus: true, required: true %> + </div> - <div class="field"> - <%= f.label :password %> - <% if @minimum_password_length %> - <em>(<%= @minimum_password_length %> characters minimum)</em> - <% end %><br /> - <%= f.password_field :password, autocomplete: "off" %> - </div> + <div class="field"> + <%= f.label :email %><br/> + <%= f.email_field :email, required: true %> + </div> - <div class="field"> - <%= f.label :password_confirmation %><br /> - <%= f.password_field :password_confirmation, autocomplete: "off" %> - </div> + <div class="field"> + <%= f.label :password %> + <% if @minimum_password_length %> + <em>(<%= @minimum_password_length %> characters minimum)</em> + <% end %><br/> + <%= f.password_field :password, autocomplete: "off" %> + </div> - <div class="actions"> - <%= f.submit "Sign up" %> - </div> + <div class="field"> + <%= f.label :password_confirmation %><br/> + <%= f.password_field :password_confirmation, autocomplete: "off" %> + </div> + + <div class="actions"> + <%= f.submit "Sign up" %> + </div> <% end %> <%= render "devise/shared/links" %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 1a9f0046e78914762d253564f41bba5e464652a8..91214e8314b348751ea78190b9f95cb2e248eb5c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,31 +1,35 @@ <!DOCTYPE html> <html> <head> - <title>ChartKickExample</title> - + <title>PortalMEC</title> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> <%= javascript_include_tag "http://www.google.com/jsapi", "chartkick" %> <%= stylesheet_link_tag 'http://yandex.st/bootstrap/3.1.1/css/bootstrap.min.css' %> <%= javascript_include_tag 'http://yandex.st/bootstrap/3.1.1/js/bootstrap.min.js' %> - <%= csrf_meta_tags %> - <title>Portalmec</title> + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> + <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> <meta property="creator.productor" content="http://estruturaorganizacional.dados.gov.br/id/unidade-organizacional/1"> </head> <body style="font-size: 15px"> - <div id="wrapper"> - <%= render 'shared/application/header' %> - <div id="content"> - <%= yield %> - </div> - <div id="footer"> - <%= render 'shared/application/footer' %> - </div> +<div id="wrapper"> + <%= render 'shared/application/header' %> + + <% if notice %> + <%= notice %> + <% end %> + + <div id="content"> + <%= yield %> + </div> + <div id="footer"> + <%= render 'shared/application/footer' %> </div> - <script defer="defer" src="//barra.brasil.gov.br/barra.js" type="text/javascript"></script> +</div> +<script defer="defer" src="//barra.brasil.gov.br/barra.js" type="text/javascript"></script> </body> </html> diff --git a/app/views/layouts/management.html.erb b/app/views/layouts/management.html.erb index a4495b0bdb193c6356a5dd1806787cc70f51e2ce..5a31b893032b6d869c23a4737ff5e0e68f53a4b0 100644 --- a/app/views/layouts/management.html.erb +++ b/app/views/layouts/management.html.erb @@ -14,45 +14,17 @@ <link rel="icon" sizes="192x192" href="<%= image_url 'ico-boilerplate.png' %>"> <link rel="apple-touch-icon" href="<%= image_url 'ico-boilerplate.png' %>"> - - </head> <body> <div class="ls-topbar"> <!-- Notification bar --> - <div class="ls-notification-topbar"> - <!-- Link of support/help --> - <div class="ls-alerts-list"> - <a href="#" class="ls-ico-bell-o" data-counter="5" data-ls-module="topbarCurtain" data-target="#ls-notification-curtain"><span>Notificações</span></a> - <a href="#" class="ls-ico-bullhorn" data-ls-module="topbarCurtain" data-target="#ls-help-curtain"><span>Ajuda</span></a> - <a href="#" class="ls-ico-question" data-ls-module="topbarCurtain" data-target="#ls-feedback-curtain"><span>Sugestões</span></a> - </div> - - <!-- User details --> - <div data-ls-module="dropdown" class="ls-dropdown ls-user-account"> - <a href="#" class="ls-ico-user"> - Carlos Marques - <small>(lstyle)</small> - </a> - <nav class="ls-dropdown-nav ls-user-menu"> - <ul> - <li><a href="#">Conta</a></li> - <li><a href="#">Logout</a></li> - </ul> - </nav> - </div> - </div> + <%= render 'shared/management/notification_bar' %> <span class="ls-show-sidebar ls-ico-menu"></span> - <!-- Nome do produto/marca --> - <h1 class="ls-brand-name"> - <a class="ls-ico-earth" href="/"> - <small>Management System</small> - Portal MEC - </a> - </h1> + <!-- product name --> + <%= render 'shared/management/product_name' %> </div> <main class="ls-main "> @@ -64,88 +36,14 @@ </main> <aside class="ls-sidebar"> - <!-- Defails of user account --> - <div data-ls-module="dropdown" class="ls-dropdown ls-user-account"> - <a href="#" class="ls-ico-user"> - Calum Hoyle - <small>(lstyle)</small> - </a> - <nav class="ls-dropdown-nav ls-user-menu"> - <ul> - <li><a href="#">submenu</a></li> - </ul> - </nav> - </div> + <%= render 'shared/management/user_account' %> <!--Menu à esquerda--> - <nav class="ls-menu"> - <ul> - <li><a class="ls-ico-home" - <%= link_to "InÃcio", management_root_path %> - </a></li> - - <li><a class="ls-ico-star" - <%= link_to "Objetos em destaque", management_highlights_index_path %> - </a><li> - - <li class="ls-submenu"> - <a href="#" class="ls-ico-stats">EstatÃsticas</a> - <ul role="menu"> - <a class="ls-submenu-item" - <%= link_to "Geral", management_estatisticas_index_path %> - </a> - <a class="ls-submenu-item" - <%= link_to "Usuarios", management_estatisticas_usuarios_path %> - </a>> - <li><a class="ls-submenu-item" - <%= link_to "Coleções", management_estatisticas_colecoes_path %> - </a></li> - <li><a class="ls-submenu-item" - <%= link_to "Downloads", management_estatisticas_downloads_path %> - </a></li> - <li><a class="ls-submenu-item" - <%= link_to "Acessos", management_estatisticas_acessos_path %> - </a></li> - </ul> - </li> - <li><a class = "ls-ico-users" - <%= link_to "Usuários", management_users_index_path %> - </a></li> - - <li> <a class="ls-ico-bullhorn" - <%= link_to "Denúncias", management_denuncias_path%> - </a><li> - - </ul> - </nav> + <%= render 'shared/management/nav_menu' %> </aside> <aside class="ls-notification"> - <nav class="ls-notification-list" id="ls-notification-curtain" style="left: 1716px;"> - <h3 class="ls-title-2">Notificações</h3> - <ul> - <li class="ls-dismissable"> - <a href="#">Blanditiis est est dolorem iure voluptatem eos deleniti repellat et laborum consequatur</a> - <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> - </li> - <li class="ls-dismissable"> - <a href="#">Similique eos rerum perferendis voluptatibus</a> - <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> - </li> - <li class="ls-dismissable"> - <a href="#">Qui numquam iusto suscipit nisi qui unde</a> - <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> - </li> - <li class="ls-dismissable"> - <a href="#">Nisi aut assumenda dignissimos qui ea in deserunt quo deleniti dolorum quo et consequatur</a> - <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> - </li> - <li class="ls-dismissable"> - <a href="#">Sunt consequuntur aut aut a molestiae veritatis assumenda voluptas nam placeat eius ad</a> - <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> - </li> - </ul> - </nav> + <%= render 'shared/management/notification_list' %> <nav class="ls-notification-list" id="ls-help-curtain" style="left: 1756px;"> <h3 class="ls-title-2">Feedback</h3> @@ -166,6 +64,5 @@ </ul> </nav> </aside> - </body> -</html> +</html> \ No newline at end of file diff --git a/app/views/management/denuncias.html.erb b/app/views/management/complaints.html.erb similarity index 100% rename from app/views/management/denuncias.html.erb rename to app/views/management/complaints.html.erb diff --git a/app/views/management/destaques.html.erb b/app/views/management/destaques.html.erb deleted file mode 100644 index 54775a3ccd62889ef188bec1e988eb512a1ad83a..0000000000000000000000000000000000000000 --- a/app/views/management/destaques.html.erb +++ /dev/null @@ -1,52 +0,0 @@ -<ol class="ls-breadcrumb"> - <li><%= link_to "InÃcio", management_root_path %></li> - <li>Destaques</li> -</ol> -<h1><b>Gerenciamento dos objetos em destaque</b></h1> -<br><br><br> - -<h3><i>Adicionar objeto aos destaques</i></h3> -<br><br> -<p>Preencha com o tÃtulo e a URL do objeto a destacar</p> -<fieldset> -<form action="" class="ls-form ls-form-inline"> - - <label class="ls-label col-md-4 col-xs-12"> - <b class="ls-label-text">TÃtulo</b> - <input type="text" name="nome" placeholder="TÃtulo" class="ls-field" required> - </label> - - <label class="ls-label col-md-4 col-xs-12"> - <b class="ls-label-text">URL da notÃcia</b> - <input type="text" name="notÃcia" placeholder="URL" class="ls-field" required> - </label> - - <div class="ls-actions-btn"> - <button class="ls-btn">Salvar</button> - <button class="ls-btn-danger">Cancelar</button> - </div> -</form> -</fieldset> -<br><br><br> - -<h3><i> Remover objeto dos destaques </i></h3> -<br><br> -<fieldset> -<form action="" class="ls-form ls-form-inline"> - -<div class="ls-label col-md-12"> - <p>Selecione quais objetos deseja retirar de destaque:</p> - <label class="ls-label-text col-md-4"> - <input type="checkbox" name="teste" class="ls-field-checkbox"> - Dynacom - </label> -</div> - -<div class="ls-actions-btn"> - <button class="ls-btn">Salvar</button> - <button class="ls-btn-danger">Cancelar</button> -</div> - -</fieldset> -</form> -</body> diff --git a/app/views/management/highlights/_form_delete.html.erb b/app/views/management/highlights/_form_delete.html.erb index 74f2c97ff82fa191c4bc12304d39d62bb3697a80..58312ed0bc411e780c6fc336fcdda0084da9717f 100644 --- a/app/views/management/highlights/_form_delete.html.erb +++ b/app/views/management/highlights/_form_delete.html.erb @@ -14,7 +14,7 @@ <p>Escolha os destaques a remover:</p> <% @highlights.each do |highlight| %> <label class="ls-label-text"> - <input type="checkbox" name="name[]" value= <%= highlight['name'] %>> + <input type="checkbox" name="id[]" value= <%= highlight['@rid'] %>> <%= highlight['name'] %> </label> <%end%> diff --git a/app/views/management/estatisticas/acessos.html.erb b/app/views/management/statistics/accesses.html.erb similarity index 84% rename from app/views/management/estatisticas/acessos.html.erb rename to app/views/management/statistics/accesses.html.erb index e8ff5a607bca3214e4a2787306eef79633a86fa9..27cd251261e1e326db5993dd9651c7a4ff954653 100644 --- a/app/views/management/estatisticas/acessos.html.erb +++ b/app/views/management/statistics/accesses.html.erb @@ -2,7 +2,7 @@ <ol class="ls-breadcrumb"> <li><%= link_to "InÃcio", management_root_path %></li> - <li><%= link_to "EstatÃsticas", management_estatisticas_index_path %></li> + <li><%= link_to "EstatÃsticas", management_statistics_index_path %></li> <li> Acessos </li> </ol> <br><br> @@ -24,5 +24,5 @@ </div> <div align="center"> - <canvas id="acessos" width="400" height="350"></canvas> + <canvas id="accesses" width="400" height="350"></canvas> </div> diff --git a/app/views/management/estatisticas/colecoes.html.erb b/app/views/management/statistics/collections.html.erb similarity index 85% rename from app/views/management/estatisticas/colecoes.html.erb rename to app/views/management/statistics/collections.html.erb index 258ddb4dc4b7d7ef0c15fbe8b19e65cbcbfd7127..75c45c00c17b2b1a50eef4b1579a107e2cddcb0b 100644 --- a/app/views/management/estatisticas/colecoes.html.erb +++ b/app/views/management/statistics/collections.html.erb @@ -3,7 +3,7 @@ <ol class="ls-breadcrumb"> <li><%= link_to "InÃcio", management_root_path %></li> - <li><%= link_to "EstatÃsticas", management_estatisticas_index_path %></li> + <li><%= link_to "EstatÃsticas", management_statistics_index_path %></li> <li> Coleções </li> </ol> @@ -30,5 +30,5 @@ <br> <div align="center"> - <canvas id="colecoes" width="400" height="350"></canvas> + <canvas id="colections" width="400" height="350"></canvas> </div> diff --git a/app/views/management/estatisticas/downloads.html.erb b/app/views/management/statistics/downloads.html.erb similarity index 91% rename from app/views/management/estatisticas/downloads.html.erb rename to app/views/management/statistics/downloads.html.erb index 8ed1b73dd530044100e0ac7e4d4d9228faedf561..f87a442941927097183d02735b82a02dd865d394 100644 --- a/app/views/management/estatisticas/downloads.html.erb +++ b/app/views/management/statistics/downloads.html.erb @@ -1,7 +1,7 @@ <script src="/home/alexandre/.rvm/gems/ruby-2.1.5/gems/chart-js-rails-0.0.9/vendor/assets/javascripts/Chart.js"></script> <ol class="ls-breadcrumb"> <li><%= link_to "InÃcio", management_root_path %></li> - <li><%= link_to "EstatÃsticas", management_estatisticas_index_path %></li> + <li><%= link_to "EstatÃsticas", management_statistics_index_path %></li> <li> Downloads </li> </ol> <br><br> diff --git a/app/views/management/estatisticas/index.html.erb b/app/views/management/statistics/index.html.erb similarity index 74% rename from app/views/management/estatisticas/index.html.erb rename to app/views/management/statistics/index.html.erb index fa5e834122e8e022603a60ae5a6dd6ed07fc7515..a12ec089d66ee78503727f1c74c4bb1f31c5bd24 100644 --- a/app/views/management/estatisticas/index.html.erb +++ b/app/views/management/statistics/index.html.erb @@ -19,21 +19,21 @@ <h6 class="ls-title-4">Total de usuários</h6> <strong class="ls-color-theme">60</strong> <!--<small>envios por mês</small>--> - <%= link_to "Mais detalhes" , management_estatisticas_usuarios_path, class: "ls-btn ls-btn-sm" %> + <%= link_to "Mais detalhes" , management_statistics_users_path, class: "ls-btn ls-btn-sm" %> </div> </div> <div class="col-sm-6 col-md-3"> <div class="ls-box"> <h6 class="ls-title-4">Total de coleções</h6> <strong class="ls-color-theme">348</strong> - <%= link_to "Mais detalhes" , management_estatisticas_colecoes_path, class: "ls-btn ls-btn-sm" %> + <%= link_to "Mais detalhes" , management_statistics_colections_path, class: "ls-btn ls-btn-sm" %> </div> </div> <div class="col-sm-6 col-md-3"> <div class="ls-box"> <h6 class="ls-title-4">Total de downloads</h6> <strong class="ls-color-theme">340</strong> - <%= link_to "Mais detalhes" , management_estatisticas_downloads_path, class: "ls-btn ls-btn-sm" %> + <%= link_to "Mais detalhes" , management_statistics_downloads_path, class: "ls-btn ls-btn-sm" %> </div> </div> <div class="col-sm-6 col-md-3"> @@ -41,7 +41,7 @@ <h6 class="ls-title-4 ">Total de acessos</h6> <strong class="ls-color-theme">2091</strong> - <%= link_to "Mais detalhes" , management_estatisticas_acessos_path, class: "ls-btn ls-btn-sm" %> + <%= link_to "Mais detalhes" , management_statistics_accesses_path, class: "ls-btn ls-btn-sm" %> </div> </div> </div> @@ -54,7 +54,7 @@ </div> <div style="float: left; margin-left:30px"> - <%= image_tag("geral_colecoes.png", height:"220", :alt => "Image missing") %> + <%= image_tag("geral_colections.png", height:"220", :alt => "Image missing") %> </div> @@ -63,6 +63,6 @@ </div> <div style="float: left;margin-left:40px"> - <%= image_tag("geral_acessos.png", height:"220", :alt => "Image missing") %> + <%= image_tag("geral_accesses.png", height:"220", :alt => "Image missing") %> </div> </div> diff --git a/app/views/management/estatisticas/test.png b/app/views/management/statistics/test.png similarity index 100% rename from app/views/management/estatisticas/test.png rename to app/views/management/statistics/test.png diff --git a/app/views/management/estatisticas/usuarios.html.erb b/app/views/management/statistics/users.html.erb similarity index 65% rename from app/views/management/estatisticas/usuarios.html.erb rename to app/views/management/statistics/users.html.erb index 1f74b7f9b6d3a429d9213d351a24d712486268d4..4046d9dd26a395a075b181644482eab68b1357f7 100644 --- a/app/views/management/estatisticas/usuarios.html.erb +++ b/app/views/management/statistics/users.html.erb @@ -3,7 +3,7 @@ <ol class="ls-breadcrumb"> <li><%= link_to "InÃcio", management_root_path %></li> - <li><%= link_to "EstatÃsticas", management_estatisticas_index_path %></li> + <li><%= link_to "EstatÃsticas", management_statistics_index_path %></li> <li> Usuários </li> </ol> @@ -19,25 +19,34 @@ <h6 class="ls-title-6">Total</h6> <strong class="ls-color-theme">70</strong> <!--<small>envios por mês</small>--> - <%#= link_to "Mais detalhes" , management_estatisticas_usuarios_path, class: "ls-btn ls-btn-sm" %> + <%#= link_to "Mais detalhes" , management_statistics_users_path, class: "ls-btn ls-btn-sm" %> </div> </div> - <div class="col-sm-6 col-md-4"> + <div class="col-sm-6 col-md-3"> <div class="ls-box"> <h6 class="ls-title-4">Estudantes</h6> <strong class="ls-color-theme">20</strong> - <%#= link_to "Mais detalhes" , management_estatisticas_colecoes_path, class: "ls-btn ls-btn-sm" %> + <%#= link_to "Mais detalhes" , management_statistics_colections_path, class: "ls-btn ls-btn-sm" %> </div> </div> <div class="col-sm-6 col-md-2"> <div class="ls-box"> <h6 class="ls-title-4">Professores</h6> <strong class="ls-color-theme">42</strong> - <%#= link_to "Mais detalhes" , management_estatisticas_downloads_path, class: "ls-btn ls-btn-sm" %> + <%#= link_to "Mais detalhes" , management_statistics_downloads_path, class: "ls-btn ls-btn-sm" %> </div> </div> + <div class="col-sm-6 col-md-2"> + <div class="ls-box"> + <h6 class="ls-title-4 ">Curadores</h6> + <strong class="ls-color-theme">4</strong> + + <%#= link_to "Mais detalhes" , management_statistics_acessos_path, class: "ls-btn ls-btn-sm" %> + </div> + </div> + @@ -45,13 +54,13 @@ <div class="col-sm-6 col-md-2"> <div class="ls-box"> <h6 class="ls-title-4 ">Moderadores</h6> - <strong class="ls-color-theme">7</strong> + <strong class="ls-color-theme">3</strong> - <%#= link_to "Mais detalhes" , management_estatisticas_acessos_path, class: "ls-btn ls-btn-sm" %> + <%#= link_to "Mais detalhes" , management_statistics_acessos_path, class: "ls-btn ls-btn-sm" %> </div> </div> - <div class="col-sm-6 col-md-4"> + <div class="col-sm-6 col-md-3"> <div class="ls-box"> <h6 class="ls-title-4 ">Administradores</h6> <strong class="ls-color-theme">1</strong> @@ -77,6 +86,6 @@ <div align="center"> - <canvas id="usuarios" width="400" height="350"> </canvas> + <canvas id="users" width="400" height="350"> </canvas> </div> </body> diff --git a/app/views/management/users/_form.html.erb b/app/views/management/users/_form.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..3efc7e93dbac97d66288f5b0a533fb07ee91939c --- /dev/null +++ b/app/views/management/users/_form.html.erb @@ -0,0 +1,60 @@ +<%= form_for([:management, @user], html: {class: 'ls-form row'}) do |f| %> + + <% if @user.errors.any? %> + <div class="ls-alert-danger"> + <h2><%= pluralize(@user.errors.count, "erro") %> <%= "happened".pluralize(@user.errors.count) %>:</h2> + <ul> + <% @user.errors.full_messages.each do |message| %> + <li><%= message %></li> + <% end %> + </ul> + </div> + <% end %> + + <fieldset> + <label class="ls-label col-md-3"> + <b class="ls-label-text">Nome</b> + + <p>Digite o nome completo</p> + <%= f.text_field :name, {required: true} %> + </label> + <label class="ls-label col-md-5"> + <b class="ls-label-text">E-mail</b> + + <p>Um e-email válido, pois será utilizado para validar a conta</p> + <%= f.email_field :email, {required: true} %> + </label> + </fieldset> + + <hr> + + <fieldset> + + <label class="ls-label col-md-4"> + <b class="ls-label-text">Senha</b> + + <div class="ls-prefix-group"> + <%= f.password_field :password, {required: true, minlenght: 6, id: 'pass'} %> + <a class="ls-label-text-prefix ls-toggle-pass ls-ico-eye" data-toggle-class="ls-ico-eye, ls-ico-eye-blocked" data-target="#pass" href="#"></a> + </div> + </label> + + </fieldset> + + <hr> + + <fieldset> + + <div class="ls-label col-md-5"> + <p>Selecione as responsabilidades do usuário:</p> + + <%= f.collection_check_boxes :role_ids, @roles, :id, :name %> + </div> + </fieldset> + + <div class="ls-actions-btn"> + <button class="ls-btn">Salvar</button> + <button class="ls-btn-danger">Cancelar</button> + </div> + +<% end %> \ No newline at end of file diff --git a/app/views/management/users/index.html.erb b/app/views/management/users/index.html.erb index c9bf8dfb50dc7faf3fc1e1fbe474c3cfa8636078..34cb6da973a3d9333f25d8673ad018d71b2388d8 100644 --- a/app/views/management/users/index.html.erb +++ b/app/views/management/users/index.html.erb @@ -1,14 +1,185 @@ -<h1><%= t("users") %></h1> -<br> -<div id="inventory-search"> - <%= form_tag management_users_index_path, method: 'get' do %> - <div class="flakes-search"> - <%= text_field_tag :search, params[:search], class: 'search-box search', placeholder: '', autofocus: '' %> + <h1 class="ls-title-intro ls-ico-users">Usuários</h1> + + <a href="#" class="ls-btn-primary" aria-expanded="false" role="combobox">Cadastrar + novo</a> + + <div class="ls-box-filter"> + <form action="" class="ls-form ls-form-inline ls-float-left"> + <label class="ls-label col-md-6 col-sm-8"> + <b class="ls-label-text">Status</b> + + <div class="ls-custom-select ls-field-sm"> + <select name="" class="ls-select"> + <option>Todos</option> + <option>Ativos</option> + <option>Desativados</option> + </select> + </div> + </label> + </form> + + <form action="" class="ls-form ls-form-inline ls-float-right"> + <label class="ls-label" role="search"> + <b class="ls-label-text ls-hidden-accessible">Nome do usuário</b> + <input type="text" id="q" name="q" aria-label="Faça sua busca por usuário" placeholder="Nome do usuário" required="" class="ls-field-sm"> + </label> + + <div class="ls-actions-btn"> + <input type="submit" value="Buscar" class="ls-btn ls-btn-sm" title="Buscar" aria-expanded="false" role="combobox"> </div> - <% end %> - <div class="flakes-actions-bar"> - <%= link_to t("new_user"), {}, class: 'action button-gray smaller right' %> + </form> </div> + <table class="ls-table"> + <thead> + <tr> + <th>Nome do usuário</th> + <th class="ls-txt-center hidden-xs">Status</th> + <th class="ls-txt-center">Envios disponÃveis</th> + <th></th> + </tr> + </thead> + <tbody> + <tr> + <td> + <a href="#">João da Silva</a> + <span class="ls-tag hidden-xs">Curador</span> + </td> + <td class="ls-txt-center hidden-xs">Ativo</td> + <td class="ls-txt-center"> + 100.000 + <small class="ls-display-block">até 01/01/2014</small> + </td> + <td class="ls-txt-right ls-regroup"> + <a href="#" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox">Administrar</a> + + <div data-ls-module="dropdown" class="ls-dropdown ls-pos-right"> + <a href="#" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox"></a> + <ul class="ls-dropdown-nav" aria-hidden="true"> + <li><a href="#" role="option">Desativar</a></li> + <li><a href="#" class="ls-color-danger" role="option">Excluir</a></li> + </ul> + </div> + + </td> + </tr> + <tr> + <td> + <a href="#">João da Silva</a> + </td> + <td class="ls-txt-center hidden-xs">Ativo</td> + <td class="ls-txt-center"> + 100.000 + <small class="ls-display-block">até 01/01/2014</small> + </td> + <td class="ls-txt-right ls-regroup"> + <a href="#" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox">Administrar</a> + + <div data-ls-module="dropdown" class="ls-dropdown ls-pos-right"> + <a href="#" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox"></a> + <ul class="ls-dropdown-nav" aria-hidden="true"> + <li><a href="#" role="option">Desativar</a></li> + <li><a href="#" class="ls-color-danger" role="option">Excluir</a></li> + </ul> + </div> + + </td> + </tr> + <tr> + <td> + <a href="/locawebstyle/documentacao/exemplos/painel1/client">João da Silva</a> + <span class="ls-tag hidden-xs">Curador</span> + </td> + <td class="ls-txt-center hidden-xs">Ativo</td> + <td class="ls-txt-center"> + 100.000 + <small class="ls-display-block">até 01/01/2014</small> + </td> + <td class="ls-txt-right ls-regroup"> + <a href="/locawebstyle/documentacao/exemplos/painel1/client" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox">Administrar</a> -</div> + <div data-ls-module="dropdown" class="ls-dropdown ls-pos-right"> + <a href="#" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox"></a> + <ul class="ls-dropdown-nav" aria-hidden="true"> + <li><a href="#" role="option">Desativar</a></li> + <li><a href="#" class="ls-color-danger" role="option">Excluir</a></li> + </ul> + </div> + + </td> + </tr> + <tr> + <td> + <a href="/locawebstyle/documentacao/exemplos/painel1/client">João da Silva</a> + </td> + <td class="ls-txt-center hidden-xs">Ativo</td> + <td class="ls-txt-center"> + 100.000 + <small class="ls-display-block">até 01/01/2014</small> + </td> + <td class="ls-txt-right ls-regroup"> + <a href="/locawebstyle/documentacao/exemplos/painel1/client" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox">Administrar</a> + + <div data-ls-module="dropdown" class="ls-dropdown ls-pos-right"> + <a href="#" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox"></a> + <ul class="ls-dropdown-nav" aria-hidden="true"> + <li><a href="#" role="option">Desativar</a></li> + <li><a href="#" class="ls-color-danger" role="option">Excluir</a></li> + </ul> + </div> + + </td> + </tr> + <tr> + <td> + <a href="/locawebstyle/documentacao/exemplos/painel1/client">João da Silva</a> + <span class="ls-tag hidden-xs">Curador</span> + </td> + <td class="ls-txt-center hidden-xs">Ativo</td> + <td class="ls-txt-center"> + 100.000 + <small class="ls-display-block">até 01/01/2014</small> + </td> + <td class="ls-txt-right ls-regroup"> + <a href="/locawebstyle/documentacao/exemplos/painel1/client" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox">Administrar</a> + + <div data-ls-module="dropdown" class="ls-dropdown ls-pos-right"> + <a href="#" class="ls-btn ls-btn-sm" aria-expanded="false" role="combobox"></a> + <ul class="ls-dropdown-nav" aria-hidden="true"> + <li><a href="#" role="option">Desativar</a></li> + <li><a href="#" class="ls-color-danger" role="option">Excluir</a></li> + </ul> + </div> + + </td> + </tr> + + </tbody> + </table> + + <div class="ls-pagination-filter"> + <ul class="ls-pagination"> + <li><a href="#">« Anterior</a></li> + <li class="ls-active"><a href="#">1</a></li> + <li><a href="#">2</a></li> + <li><a href="#">3</a></li> + <li><a href="#" class="hidden-xs">4</a></li> + <li><a href="#" class="hidden-xs">5</a></li> + <li><a href="#">Próximo »</a></li> + </ul> + + <div class="ls-filter-view"> + <label for=""> + Exibir + <div class="ls-custom-select ls-field-sm"> + <select name="" id=""> + <option value="10">10</option> + <option value="30">30</option> + <option value="50">50</option> + <option value="100">100</option> + </select> + </div> + Ãtens por página + </label> + </div> + </div> diff --git a/app/views/management/users/new.html.erb b/app/views/management/users/new.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..5cac49569c1a8729509a601370ed1d1bc9bfc4f7 --- /dev/null +++ b/app/views/management/users/new.html.erb @@ -0,0 +1,8 @@ +<h1 class="ls-title-intro ls-ico-users">Usuários</h1> + +<ol class="ls-breadcrumb"> + <li><a href="#">Usuários</a></li> + <li>Novo usuário</li> +</ol> + +<%= render 'form' %> \ No newline at end of file diff --git a/app/views/management/usuarios.html.erb b/app/views/management/usuarios.html.erb deleted file mode 100644 index 00d8495a333df65c3e0cc3bda311737859d28410..0000000000000000000000000000000000000000 --- a/app/views/management/usuarios.html.erb +++ /dev/null @@ -1,55 +0,0 @@ -<ol class="ls-breadcrumb"> - <!--<li><a href="/manage">Inicio</a></li>--> - <li><%= link_to "InÃcio", management_root_path %></li> - <li>Usuários</li> -</ol> -<h1><b> Gerenciamento de usuários </b></h1> - - - -<%= form_for([:management, @user], html: {class: 'grid-form'}) do |f| %> - - <fieldset> - - <% if @user.errors.any? %> - <div class="flakes-message error"> - <h2><%= pluralize(@user.errors.count, "erro") %> <%= t("happened").pluralize(@user.errors.count) %>:</h2> - <ul> - <% @user.errors.full_messages.each do |message| %> - <li><%= message %></li> - <% end %> - </ul> - </div> - <% end %> - - <div data-row-span="2"> - <div data-field-span="1"> - <%= f.label :name, t("name") %> - <%= f.text_field :name, {required: true} %> - </div> - - <div data-field-span="1"> - <%= f.label :email, t("email") %> - <%= f.text_field :email, {required: true} %> - </div> - </div> - - <div data-row-span="2"> - <div data-field-span="1"> - <%= f.label :password, t("password") %> - <%= f.password_field :password %> - </div> - <div data-field-span="1"> - <%= f.label :password_confirmation, t("password_confirmation") %> - <%= f.password_field :password_confirmation %> - </div> - </div> - - <div data-row-span="1"> - <div data-field-spn="1"> - <%= submit_button f %> - </div> - </div> - - </fieldset> -<% end %> diff --git a/app/views/search/solr/search.html.erb b/app/views/search/solr/search.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..a0a177f7762417ba1c50a96949b1c5de665dc98d --- /dev/null +++ b/app/views/search/solr/search.html.erb @@ -0,0 +1,353 @@ + +<script type="text/javascript"> +$(document).ready(function() { + var parentDivs = $('#nestedAccordion div'), + childDivs = $('#nestedAccordion h3').siblings('div'); + + $('#nestedAccordion h2').click(function(){ + // parentDivs.slideUp(); + if($(this).next().is(':hidden')){ + $(this).next().slideDown(); + }else{ + $(this).next().slideUp(); + } + }); + $('#nestedAccordion h3').click(function(){ + // childDivs.slideUp(); + if($(this).next().is(':hidden')){ + $(this).next().slideDown(); + }else{ + $(this).next().slideUp(); + } + }); +}); +</script> + +<div class="container-fluid"> +<div class="col-sm-4"> + <div class="well sidebar-nav"> + <h2> Busca Avançada</h2> + + <div id="nestedAccordion"> + <h2>Seleção Atual</h2> + <div> + <input type="checkbox"> + </div> + <h2>Matérias</h2> + <div class='aberto'> + <h3>Matemática</h3> + <div> + <select class="js-example-basic-multiple" multiple="multiple"> + <option value="">Todos</option> + <optgroup label="Básico"> + <option value="">Conjuntos</option> + <option value="">Soma</option> + </optgroup> + <optgroup label="Avançada"> + <option value="AL">Ãlgebra</option> + <option value="">...</option> + </optgroup> + </select> + </div> + <h3>Biologia</h3> + <div> + <select class="js-example-basic-multiple" multiple="multiple"> + <option value="">Todos</option> + <optgroup label="Básico"> + <option value="">Plantas</option> + <option value="">...</option> + </optgroup> + <optgroup label="Avançada"> + <option value="">...</option> + </optgroup> + </select> + </div> + <h3>História</h3> + <div> + <select class="js-example-basic-multiple" multiple="multiple"> + <option value="">Todos</option> + <optgroup label="Básico"> + <option value="">História do Brasil</option> + <option value="">...</option> + </optgroup> + <optgroup label="Avançada"> + <option value="">...</option> + </optgroup> + </select> + </div> + <h3>LÃngua Portuguesa</h3> + <div> + <select class="js-example-basic-multiple" multiple="multiple"> + <option value="">Todos</option> + <optgroup label="Básico"> + <option value="">...</option> + <option value="">...</option> + </optgroup> + <optgroup label="Avançada"> + <option value="">...</option> + </optgroup> + </select> + </div> + <h3>Geografia</h3> + <div> + <select class="js-example-basic-multiple" multiple="multiple"> + <option value="">Todos</option> + <optgroup label="Básico"> + <option value="">...</option> + <option value="">...</option> + </optgroup> + <optgroup label="Avançada"> + <option value="">...</option> + </optgroup> + </select> + </div> + <h3>Ciências</h3> + <div> + <select class="js-example-basic-multiple" multiple="multiple"> + <option value="">Todos</option> + <optgroup label="Básico"> + <option value="">...</option> + <option value="">...</option> + </optgroup> + <optgroup label="Avançada"> + <option value="">...</option> + </optgroup> + </select> + </div> + <h3>Educação FÃsica</h3> + <div> + <select class="js-example-basic-multiple" multiple="multiple"> + <option value="">Todos</option> + <optgroup label="Básico"> + <option value="">...</option> + <option value="">...</option> + </optgroup> + <optgroup label="Avançada"> + <option value="">...</option> + </optgroup> + </select> + </div> + <h3>Inglês</h3> + <div> + <select class="js-example-basic-multiple" multiple="multiple"> + <option value="">Todos</option> + <optgroup label="Básico"> + <option value="">...</option> + <option value="">...</option> + </optgroup> + <optgroup label="Avançada"> + <option value="">...</option> + </optgroup> + </select> + </div> + </div><!--fim materias --> + <h2>Conteúdo</h2><!--Tipo 1--> + <div class='aberto'> + <table class="tipo1" style="width:100%"> + <tr> + <td><p>MÃdia</p> </td> + <td></td> + </tr> + <tr> + <td><input type="checkbox"> Fotos</td> + <td><input type="checkbox"> Imagens</td> + </tr> + <tr> + <td><input type="checkbox"> Ãudio</td> + <td><input type="checkbox"> VÃdeos</td> + </tr> + <tr> + <td><input type="checkbox"> Apresentações MultimÃdia</td> + <td><input type="checkbox"> Apps</td> + </tr> + <tr> + <td></td> + <td></td> + </tr> + <tr> + <td><p>Textos</p></td> + <td></td> + </tr> + <tr> + <td><input type="checkbox"> Anais</td> + <td><input type="checkbox"> Artigos Web</td> + </tr> + <tr> + <td><input type="checkbox"> CapÃtulos de Livros</td> + <td><input type="checkbox"> Dissertações</td> + </tr> + <tr> + <td><input type="checkbox"> Livros</td> + <td><input type="checkbox"> Monografias</td> + </tr> + <tr> + <td><input type="checkbox"> Periódicos</td> + <td><input type="checkbox"> Revistas</td> + </tr> + <tr> + <td><input type="checkbox"> Teses</td> + </tr> + <tr> + <td></td> + <td></td> + </tr> + <tr> + <td><p>Outros</p></td> + <td></td> + </tr> + <tr> + <td><input type="checkbox"> Planos de Aula</td> + </tr> + </table> + </div> + <!-- <h2>Conteúdo - Tipo 2</h2> + <div> + <h3>MÃdia</h3> + <div> + <table> + <tr> + <td><input type="checkbox">Fotos</td> + <td><input type="checkbox">Imagens</td> + </tr> + <tr> + <td><input type="checkbox">VÃdeos</td> + <td><input type="checkbox">Ãudio</td> + </tr> + <tr> + <td><input type="checkbox">Apresentações MultimÃdia</td> + <td><input type="checkbox">Apps</td> + </tr> + </table> + </div> + <h3>Textos</h3> + <div> + <table> + <tr> + <td><input type="checkbox">Anais</td> + <td><input type="checkbox">Artigos Web</td> + </tr> + <tr> + <td><input type="checkbox">CapÃtulos de Livros</td> + <td><input type="checkbox">Dissertações</td> + </tr> + <tr> + <td><input type="checkbox">Livros</td> + <td><input type="checkbox">Monografias</td> + </tr> + <tr> + <td><input type="checkbox">Periódicos</td> + <td><input type="checkbox">Revistas</td> + </tr> + <tr> + <td><input type="checkbox">Teses</td> + <td></td> + </tr> + </table> + </div> + <h3>Outros</h3> + <div> + <input type="checkbox">Planos de Aula + </div> + </div> --> + <h2>Ano escolar</h2> + <div> + <table style="width:100%"> + <tr> + <td><input type="checkbox">1º</td> + <td><input type="checkbox">5º</td> + </tr> + <tr> + <td><input type="checkbox">2º</td> + <td><input type="checkbox">6º</td> + </tr> + <tr> + <td><input type="checkbox">3º</td> + <td><input type="checkbox">7º</td> + </tr> + <tr> + <td><input type="checkbox">4º</td> + <td><input type="checkbox">8º</td> + </tr> + </table> + </div> + <h2>Ano de Publicação</h2> + <div> + <input type="radio" name="ano" value="single" checked>Ano:<br/> + <input type="text" name="ano1" size="8"> + <br/> + <input type="radio" name="ano" value="range">Intervalo:<br/> + <input type="text" name="ano2" size="8"> - <input type="text" name="ano2" size="8"> + </div> + </div><!-- fim div id="nestedAccordion"--> + + <div id="nestedAccordion"> + <h2>Pesquisa Avançada</h2> + <div> + <table style="width:100%"> + <tr> + <td>Todas estas palavras:</td> + <td><input type="text" name=""></td> + </tr> + <tr> + <td>A frase exata:</td> + <td><input type="text" name=""></td> + </tr> + <tr> + <td>Qualquer uma destas palavras:</td> + <td><input type="text" name=""></td> + </tr> + <tr> + <td>Nenhuma destas palavras:</td> + <td><input type="text" name=""></td> + </tr> + <tr> + <td></td> + <td align="right"><br><button type="submit" class="btn btn-default">Pesquisar</button></td> + </tr> + </table> + </div> + </div> + + </div><!--/.well --> + </div><!--/span col sm-4--> + <div class="col-sm-8"> + + <% unless @objectsFound.empty? %> + <h3>Objetos encontrados: <%= @numFound %></h3> + <nav class="navbar navbar-default"> + <div class="container-fluid" > + + Mostrando resultados 1-<%= @numFound %> de <%= @numFound %> + <form method="get"> + <select name="paginacao" onchange='this.form.submit()'> + <option value="10">Resultados por Página</option> + <option value="10">10</option> + <option value="25">25</option> + <option value="50">50</option> + </select> + + <select> + <option value="#" selected>Ordenar por</option> + <option value="#">Autores</option> + <option value="#">Data de publicação</option> + <option value="#">Mais novos</option> + <option value="#">Mais velhos</option> + <option value="#">Relevância</option> + <option value="#">Tipo</option> + <option value="#">TÃtulo</option> + </select> + </form> + </div> + </nav> + <br /> + <div class="container-fluid"> + <%= will_paginate @objectsFound %> + <% @objectsFound.each do |o| %> + <%= render partial: "shared/application/object_tag1", locals: {obj: o} %> + <% end %> + <%= will_paginate @objectsFound %> + </div> + <% end %> + + </div><!-- col-sm-8 --> +</div><!-- /container --> diff --git a/app/views/shared/application/_footer.html.erb b/app/views/shared/application/_footer.html.erb index 286b618d93ec107cfdc0f3aeff33430186f21b0c..31f70f59ce6b3993df40807c6a72021153ba3625 100644 --- a/app/views/shared/application/_footer.html.erb +++ b/app/views/shared/application/_footer.html.erb @@ -1,22 +1,61 @@ -<div class="main"> - <div class="container"> - <div class="col-md-3"> - <%= image_tag 'logo.png', height: '120' %> - </div> - <div class="col-md-3"> - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tempor turpis ac metus lobortis volutpat. Cras ex nisl, malesuada ac elementum eu, vehicula id justo. Mauris dignissim, magna in elementum gravida, ipsum augue consequat odio, quis auctor augue massa ut metus. Etiam at euismod quam. Phasellus orci elit, porta ac pretium quis. - </div> - <div class="col-md-3"> - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tempor turpis ac metus lobortis volutpat. Cras ex nisl, malesuada ac elementum eu, vehicula id justo. Mauris dignissim, magna in elementum gravida, ipsum augue consequat odio, quis auctor augue massa ut metus. Etiam at euismod quam. Phasellus orci elit, porta ac pretium quis. - </div> - <div class="col-md-3"> - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tempor turpis ac metus lobortis volutpat. Cras ex nisl, malesuada ac elementum eu, vehicula id justo. Mauris dignissim, magna in elementum gravida, ipsum augue consequat odio, quis auctor augue massa ut metus. Etiam at euismod quam. Phasellus orci elit, porta ac pretium quis. - </div> - </div> -</div> - <div class="footerbar"> +<footer id="footer"> + <div class="main"> <div class="container"> - <%= image_tag 'cc.png' %> - Creative Commons Attribution 4.0 International Licence + <div class="col-md-3"> + <%= image_tag 'logo.png', height: '120' %> + </div> + <div class="col-md-3"> + opa + </div> + <div class="col-md-3"> + opa + </div> + <div class="col-md-3"> + opa + </div> + </div> </div> </div> +<div class="footerbar"> + <div class="container"> + <%= image_tag 'cc.png' %> + Creative Commons Attribution 4.0 International Licence + </div> +</footer> + +<script> + var substringMatcher = function (strs) { + return function findMatches(q, cb) { + var matches, substringRegex; + matches = []; + substrRegex = new RegExp(q, 'i'); + $.each(strs, function (i, str) { + if (substrRegex.test(str)) { + matches.push(str); + } + }); + cb(matches); + }; + }; + + var states = ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', + 'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia', 'Hawaii', + 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana', + 'Maine', 'Maryland', 'Massachusetts', 'Michigan', 'Minnesota', + 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire', + 'New Jersey', 'New Mexico', 'New York', 'North Carolina', 'North Dakota', + 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island', + 'South Carolina', 'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont', + 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming' + ]; + + $('#typeahead #input').typeahead({ + hint: true, + highlight: true, + minLength: 1 + }, { + name: 'states', + source: substringMatcher(states), + templates: {} + }); +</script> diff --git a/app/views/shared/application/_header.html.erb b/app/views/shared/application/_header.html.erb index b34493bf60deafd1ae0d76836dbb9809c9ebaafb..13ac3c3a5899158240060105f5a3011de7b65e2d 100644 --- a/app/views/shared/application/_header.html.erb +++ b/app/views/shared/application/_header.html.erb @@ -1,86 +1,95 @@ <header> <div id="barra-brasil" style="background:#7F7F7F; height: 20px; padding:0 0 0 10px;display:block;"> - <ul id="menu-barra-temp" style="list-style:none;"> - <li style="display:inline; float:left;padding-right:10px; margin-right:10px; border-right:1px solid #EDEDED"><a href="http://brasil.gov.br" style="font-family:sans,sans-serif; text-decoration:none; color:white;">Portal do Governo Brasileiro</a></li> - <li><a style="font-family:sans,sans-serif; text-decoration:none; color:white;" href="http://epwg.governoeletronico.gov.br/barra/atualize.html">Atualize sua Barra de Governo</a></li> - </ul> -</div> + <ul id="menu-barra-temp" style="list-style:none;"> + <li style="display:inline; float:left;padding-right:10px; margin-right:10px; border-right:1px solid #EDEDED"> + <a href="http://brasil.gov.br" style="font-family:sans,sans-serif; text-decoration:none; color:white;">Portal do + Governo Brasileiro</a></li> + <li> + <a style="font-family:sans,sans-serif; text-decoration:none; color:white;" href="http://epwg.governoeletronico.gov.br/barra/atualize.html">Atualize + sua Barra de Governo</a></li> + </ul> + </div> <div class="searchbar"> <div class="container"> <div class="row"> <h1 class="col-xs-3"> - <%= link_to root_path do%> - Conteúdo<br>Educacional + <%= link_to root_path do %> + Conteúdo<br>Educacional <% end %> </h1> + <h2 class="col-xs-4 col-xs-offset-5"> <%= image_tag 'fonte_mais.png', onclick: 'resizeText(1)', height: '30px' %> <%= image_tag 'fonte_inicial.png', onclick: 'resizeText(0)', height: '30px' %> <%= image_tag 'fonte_menos.png', onclick: 'resizeText(-1)', height: '30px' %> - <%= image_tag 'contraste.png', onclick: 'changeContrast()', height: '30px'%> - <%= link_to 'Login' %> | <%= link_to 'Cadastro' %> + <%= image_tag 'contraste.png', onclick: 'changeContrast()', height: '30px' %> + + <% if user_signed_in? %> + <%= link_to current_user.name, edit_user_registration_path %> + | + <%= link_to 'Sair', destroy_user_session_path, :method=>'delete' %> + <% else %> + <%= link_to 'Entrar', new_user_session_path %> + | + <%= link_to 'Cadastro', new_user_registration_path %> + <% end %> </h2> </div> <div class="row"> <div class="col-md-8 col-md-offset-2"> - - <form> + <form action="/search" method="get"> <div class="input-group"> - <input type="text" class="form-control"> + <input type="text" class="form-control" name="qry"> <div class="input-group-btn"> - <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button> + <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button> </div> - </div> - </form> + </div> + </form> <%= link_to 'Busca avançada', '#', class: 'pull-right' %> </div> </div> - </div> -</div> + </div> + </div> - <div class="container"><div class="row"> +<div class="container"> + <div class="row"> <ul class="nav navbar-nav"> <li><%= link_to 'Principal' %></li> <li><%= link_to 'Assunto' %></li> - <li class="dropdown mega-menu-fullwidth"> - <a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0);">NÃveis</a> + <li class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0);">NÃveis<span class="caret"></span></a> <ul class="dropdown-menu"> <li> - <div class="mega-menu-content disable-icons"> - <div class="container"> - <div class="row equal-height"> - <div class="col-md-3 equal-height-in"> - <ul class="list-unstyled equal-height-list"> - <li><h3>Ensino Básico</h3></li> - <li><a href="">1º Ano</a></li> - <li><a href="">2º Ano</a></li> - <li><a href="">3º Ano</a></li> - <li><a href="">4º Ano</a></li> - <li><a href="">5º Ano</a></li> - <li><a href="">6º Ano</a></li> - <li><a href="">7º Ano</a></li> - <li><a href="">8º Ano</a></li> - <li><a href="">9º Ano</a></li> - </ul> - </div> - <div class="col-md-3 equal-height-in"> - <ul class="list-unstyled equal-height-list"> - <li><h3>Ensino Médio</h3></li> - <li><a href="">1º Ano</a></li> - <li><a href="">2º Ano</a></li> - <li><a href="">3º Ano</a></li> - </ul> - </div> - </div> + <div class="row" style="width: 400px;"> + <ul class="list-unstyled col-md-5 col-md-offset-1"> + <li><b>Ensino Básico</b></li> + <li role="separator" class="divider"></li> + <li><a href="">1º Ano</a></li> + <li><a href="">2º Ano</a></li> + <li><a href="">3º Ano</a></li> + <li><a href="">4º Ano</a></li> + <li><a href="">5º Ano</a></li> + <li><a href="">6º Ano</a></li> + <li><a href="">7º Ano</a></li> + <li><a href="">8º Ano</a></li> + <li><a href="">9º Ano</a></li> + </ul> + <ul class="list-unstyled col-md-5"> + <li><b>Ensino Médio</b></li> + <li role="separator" class="divider"></li> + <li><a href="">1º Ano</a></li> + <li><a href="">2º Ano</a></li> + <li><a href="">3º Ano</a></li> + </ul> </div> </li> </ul> </li> <li><%= link_to 'Formato' %></li> - <li><%= link_to 'Contatos' %></li> <li><%= link_to 'FAQ', faq_path %></li> + <li><%= link_to 'Contato', contact_path %></li> </ul> - </div></div> - + </div> +</div> </header> diff --git a/app/views/shared/application/_object_tag.html.erb b/app/views/shared/application/_object_tag.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..eea2cb3c02f3c8bbeb1747200f0ea9b7777b5c42 --- /dev/null +++ b/app/views/shared/application/_object_tag.html.erb @@ -0,0 +1,23 @@ +<div class="col-md-12"> + <div class="itemhorz"> + <div class="col-md-5"> + <%= link_to image_tag("logo.png", :class => "img-responsive"), :class => "thumbnail" %> + </div> + <div class="col-md-7"> + <h1><%= link_to obj["title"][0] %></h1> + <%= image_tag object_thumbnail(obj["handle"]), :class => "img-circle", :width => "32" %> por <%= link_to obj["author"][0] %> +<% +=begin +%> + <p class="pull-right"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>4,5 + <span class="glyphicon glyphicon-star" aria-hidden="true"></span>200 + </p> +<% +=end +%> + <% unless obj["dc.description"].nil? %> + <p><%= obj["dc.description"][0] %></p> + <% end %> + </div> + </div> +</div> diff --git a/app/views/shared/application/_object_tag1.html.erb b/app/views/shared/application/_object_tag1.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..d7f21f8e1b9ebe9870269a3c86c17128c6027e11 --- /dev/null +++ b/app/views/shared/application/_object_tag1.html.erb @@ -0,0 +1,49 @@ +<!--<%=debug obj%>--> + +<div class="row"> + <div class="col-sm-3"> + <a href="app/assets/images/logo.png" class="thumbnail"> + <p><% unless obj["dc.description"].nil? %> + <p><%= obj["dc.description"][0] %></p> + <% end %> + </p> + <!-- <%= link_to image_tag("logo.png", :class => "img-responsive"), :class => "thumbnail" %><img src="app/assets/images/logo.png" alt="" width="284" height="213">--> + <%= image_tag("logo.png") %> + </a> + </div> + <div class="col-sm-9"> + <div class="col-sm-12"> + <% unless obj["dc.description"].nil? %> + <%= obj["dc.description"][0] %> + <% end %> + </div> + <div class="col-sm-12"> + <div align="right"><a href="objeto.php" class="btn btn-primary">Ver mais...</a></div> + <br/> + <table class="table "> + <tr> + <td class="stars">Avaliações:</td><td>Postado por:</td><td class="visualis">Visualizações:</td> + </tr> + <tr> + <td> + <span class="starRating"> + <input id="rating5" type="radio" name="rating" value="5" disabled> + <label for="rating5">5</label> + <input id="rating4" type="radio" name="rating" value="4" checked disabled> + <label for="rating4">4</label> + <input id="rating3" type="radio" name="rating" value="3" disabled> + <label for="rating3">3</label> + <input id="rating2" type="radio" name="rating" value="2" disabled> + <label for="rating2">2</label> + <input id="rating1" type="radio" name="rating" value="1" disabled> + <label for="rating1">1</label> + </span> + () + </td> + <td><%= link_to obj["author"][0] %> Há 3 anos</td> + <td>333</td> + </tr> + </table> + </div> + </div> + </div> diff --git a/app/views/shared/management/_nav_menu.html.erb b/app/views/shared/management/_nav_menu.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..3b8b8e725bf19176df73c3708fbb023960be7485 --- /dev/null +++ b/app/views/shared/management/_nav_menu.html.erb @@ -0,0 +1,28 @@ +<nav class="ls-menu"> + <ul> + <li><%= link_to "InÃcio", management_root_path, class: 'ls-ico-home' %></li> + <li><%= link_to "Objetos em destaque", management_highlights_path, class: 'ls-ico-star' %> + <li> + + <li class="ls-submenu"> + <a href="#" class="ls-ico-stats">EstatÃsticas</a> + <ul role="menu"> + <li><%= link_to "Geral", management_index_statistics_path, class: 'ls-submenu-item' %></li> + <li><%= link_to "Usuários", management_users_statistics_path, class: 'ls-submenu-item' %></li> + <li><%= link_to "Coleções", management_collections_statistics_path, class: 'ls-submenu-item' %></li> + <li><%= link_to "Downloads", management_downloads_statistics_path, class: 'ls-submenu-item' %></li> + <li><%= link_to "Acessos", management_accesses_statistics_path, class: 'ls-submenu-item' %></li> + </ul> + </li> + <li class="ls-submenu"> + <a href="#" class="ls-ico-stats">Usuários e permissões</a> + <ul role="menu"> + <li><%= link_to "Usuários", management_users_path, class: 'ls-submenu-item' %></li> + <li><%= link_to "Curadores", '#', class: 'ls-submenu-item' %></li> + <li><%= link_to "Administradores", '#', class: 'ls-submenu-item' %></li> + </ul> + </li> + <li><%= link_to "Denúncias", '#', class: 'ls-ico-bullhorn' %> + <li> + </ul> +</nav> \ No newline at end of file diff --git a/app/views/shared/management/_notification_bar.html.erb b/app/views/shared/management/_notification_bar.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..5cd1149ff4d6dcf02b303c0ed6a3f67584122c55 --- /dev/null +++ b/app/views/shared/management/_notification_bar.html.erb @@ -0,0 +1,11 @@ +<div class="ls-notification-topbar"> + <!-- Link of support/help --> + <div class="ls-alerts-list"> + <a href="#" class="ls-ico-bell-o" data-counter="5" data-ls-module="topbarCurtain" data-target="#ls-notification-curtain"><span>Notificações</span></a> + <a href="#" class="ls-ico-bullhorn" data-ls-module="topbarCurtain" data-target="#ls-help-curtain"><span>Ajuda</span></a> + <a href="#" class="ls-ico-question" data-ls-module="topbarCurtain" data-target="#ls-feedback-curtain"><span>Sugestões</span></a> + </div> + + <!-- User details --> + <%= render 'shared/management/user_account' %> +</div> \ No newline at end of file diff --git a/app/views/shared/management/_notification_list.html.erb b/app/views/shared/management/_notification_list.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..5cbe2f36591dcb7424f12d41a18f236e0b293681 --- /dev/null +++ b/app/views/shared/management/_notification_list.html.erb @@ -0,0 +1,25 @@ +<nav class="ls-notification-list" id="ls-notification-curtain" style="left: 1716px;"> + <h3 class="ls-title-2">Notificações</h3> + <ul> + <li class="ls-dismissable"> + <a href="#">Blanditiis est est dolorem iure voluptatem eos deleniti repellat et laborum consequatur</a> + <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> + </li> + <li class="ls-dismissable"> + <a href="#">Similique eos rerum perferendis voluptatibus</a> + <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> + </li> + <li class="ls-dismissable"> + <a href="#">Qui numquam iusto suscipit nisi qui unde</a> + <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> + </li> + <li class="ls-dismissable"> + <a href="#">Nisi aut assumenda dignissimos qui ea in deserunt quo deleniti dolorum quo et consequatur</a> + <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> + </li> + <li class="ls-dismissable"> + <a href="#">Sunt consequuntur aut aut a molestiae veritatis assumenda voluptas nam placeat eius ad</a> + <a href="#" data-ls-module="dismiss" class="ls-ico-close ls-close-notification"></a> + </li> + </ul> +</nav> \ No newline at end of file diff --git a/app/views/shared/management/_product_name.html.erb b/app/views/shared/management/_product_name.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..b8c69aa3f5b41236b7615592f9523f021cc4f434 --- /dev/null +++ b/app/views/shared/management/_product_name.html.erb @@ -0,0 +1,6 @@ +<h1 class="ls-brand-name"> + <a class="ls-ico-earth" href="/"> + <small>Management System</small> + Portal MEC + </a> +</h1> \ No newline at end of file diff --git a/app/views/shared/management/_user_account.html.erb b/app/views/shared/management/_user_account.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..6fc0661f8492d67f5b0d11b9e67ec1664982416e --- /dev/null +++ b/app/views/shared/management/_user_account.html.erb @@ -0,0 +1,12 @@ +<div data-ls-module="dropdown" class="ls-dropdown ls-user-account"> + <a href="#" class="ls-ico-user"> + Carlos Marques + <small>(lstyle)</small> + </a> + <nav class="ls-dropdown-nav ls-user-menu"> + <ul> + <li><a href="#">Conta</a></li> + <li><a href="#">Logout</a></li> + </ul> + </nav> +</div> \ No newline at end of file diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb deleted file mode 100644 index 6fbc23e3af6e1bd16a147babd63b60a18b9bcefb..0000000000000000000000000000000000000000 --- a/app/views/users/index.html.erb +++ /dev/null @@ -1,3 +0,0 @@ -<h1>Users#index</h1> -<p>Find me in app/views/users/index.html.erb</p> -<%= @user%> diff --git a/app/views/welcome/contact.html.erb b/app/views/welcome/contact.html.erb index f86576e1a217446e4fedc6a31b49ca733d555d69..f2774f8a33b602f3050f95fefc2e7da31d5f0cdb 100644 --- a/app/views/welcome/contact.html.erb +++ b/app/views/welcome/contact.html.erb @@ -1,5 +1,42 @@ -<div align='center'> - <h3>Contate-nos em:</h3> - <br> - <h5>xxx@c3sl.ufpr.br</h5> +<link href='https://fonts.googleapis.com/css?family=Roboto:300&subset=latin,latin-ext' rel='stylesheet' type='text/css'> +<br> +<div class="container"> + <div class="row"> + <div class="col-md-offset-2 col-md-5"> + <p class="font_roboto_light"> + Email: email@email.com + </p> + <p class="font_roboto_light"> + Redes Sociais + </p> + <div class="row"> + <div id='rede_social1' class='col-md-1 col-sm-offset-1 rede_social'></div> + <div id='rede_social2' class='col-md-1 rede_social'></div> + <div id='rede_social3' class='col-md-1 rede_social'></div> + <div id='rede_social4' class='col-md-1 rede_social'></div> + </div> + <br> + <p class="font_roboto_light"> + Outros sites do ministério da educação + </p> + <div class="row"> + <div id='mec_portais' class='col-md-1 col-sm-offset-1'></div> + <div id='mec_portais2' class='col-md-1'></div> + <div id='mec_portais2' class='col-md-1'></div> + <div id='mec_portais2' class='col-md-1'></div> + </div> + <br> + <p class="font_roboto_light"> + Portal desenvolvido por + </p> + <div class="row"> + <div id='mec_portais' class='col-md-1 col-sm-offset-1'></div> + </div> + </div> + <div class="col-md-3"> + <p class="font_roboto_light"> + Telefone: (01)2345-6789 + </p> + </div> + </div> </div> diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index d6af2e7a35c15c283e8433cb208808808dab1c38..287dfa9f657ce4ff0541cc4add6ce32fd3fa0bc2 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -1,15 +1,14 @@ <div class="main container-fluid"> <div class="row"> - <div class="col-md-8"> + <div class="col-sm-offset-1 col-md-7"> <div class="row"> - <div class="col-md-12"> - <% if @highlights.present? %> + <% if @Carousel.present? %> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <% i = 0 %> - <% @highlights.each do |highlight| %> - <% if highlight == @highlights.first %> + <% @Carousel.each do |highlight| %> + <% if highlight == @Carousel.first %> <li data-target="#myCarousel" data-slide-to="<%= i %>" class="active"></li> <% else %> <li data-target="#myCarousel" data-slide-to="<%= i %>"></li> @@ -18,36 +17,93 @@ <% end %> </ol> <div class="carousel-inner" role="listbox"> - <% @highlights.each do |highlight|%> - <% if highlight == @highlights.first %> - <div class="item active"> + <% @Carousel.each do |highlight|%> + <% if highlight == @Carousel.first %> + <% highlight_class="item active" %> <% else %> - <div class="item"> + <% highlight_class="item" %> <% end %> - <%= image_tag 'mecshow_logo.jpg' %> - <div class="container"> - <div class="carousel-caption"> - <h1><%= highlight['name'] %></h1> - <p id="carrousel-new-description">Descrição </p> - <p><a class="btn btn-lg btn-primary" href=<%= highlight['URL'] %> role="button">Mais informações</a></p> - </div> + <div class="<%= highlight_class %>"> + <%= image_tag 'mecshow_logo.jpg'%> + <div class="container"> + <div class="carousel-caption"> + <h1><%= highlight['title'] %></h1> + <p id="carrousel-new-description"><%= highlight['description'] %> </p> + <p><a class="btn btn-lg btn-primary" href=<%= highlight['URL'] %> role="button">Mais informações</a></p> </div> </div> + </div> <% end %> - <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> - <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> - <span class="sr-only">Previous</span> - </a> - <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> - <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> - <span class="sr-only">Next</span> - </a> + <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> + <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> + <span class="sr-only">Previous</span> + </a> + <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> + <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> + <span class="sr-only">Next</span> + </a> + </div> </div> - </div> + <% end %> </div> - <% end %> + <div class="row"> + <% if @General.present? %> + <ul class="list-unstyled"> + <h2>Destaques</h2> + <% @General.each do |highlight| %> + <li class="col-sm-12 general_highlights"> + <div class="media"> + <div class="media-left media-middle"> + <a href="#"> + <img src="http://dummyimage.com/250x150/363336/fff" alt='dummy image'> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading"><%= highlight['name'] %></h4> + <span>Por <a>Usuário </a></span> + <span class="glyphicon glyphicon-eye-open"><%= highlight['views'] %>  </span> + <span class="glyphicon glyphicon-star"><%= highlight['likes'] %> </span><br> + <b>Descrição:</b> Descrição do objeto em destaque.Descrição do objeto em destaque.Descrição do objeto em destaque.Descrição do objeto em destaque.Descrição do objeto em destaque.<br> + Em<b> Biologia</b>, <b>Biologia Marinha</b> + </div> + </div> + </li> + <% end %> + <% end %> + </ul> + </div> + </div> + <div class="col-md-3 hidden-xs hidden-sm"> + <img src="http://dummyimage.com/350x500/363336/fff" alt='dummy image'> + </div> + </div> + + <div class="row"> + <div class="col-md-11 col-sm-offset-1 padding-left-0"> + <h2>Em Destaque</h2> + <ul class="list-unstyled"> + <% 8.times do %> + <li class="col-sm-3 padding-left-0"> + <div class="media"> + <h4>Matemática</h4> + <div> + <a href="#"> + <img src="http://dummyimage.com/250x150/363336/fff" alt='dummy image' class="img-responsive"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Nome</h4> + <span>Por <a>Usuário </a></span> + <span class="glyphicon glyphicon-eye-open">200  </span> + <span class="glyphicon glyphicon-star">4,5 </span> + <p align='center'> + <a>Ver Mais</a> + </p> + </div> + </div> + </li> + <% end %> + </ul> </div> </div> -</div> -</div> </div> diff --git a/config/application.rb b/config/application.rb index beb28290460cbc0856b53b78f090812dd22909ea..c03be69de4ba7a0091422279062c67f1cfdab369 100644 --- a/config/application.rb +++ b/config/application.rb @@ -32,5 +32,18 @@ module Portalmec Repository::Environments.fetch Rails.env end + # CORS for login via rest + # config.middleware.use Rack::Cors do + config.middleware.insert_before 0, "Rack::Cors", :debug => true, :logger => (-> { Rails.logger }) do + allow do + origins '*' + # TODO: change when mobile app is done + resource '/auth/*', + headers: :any, + expose: ['access-token', 'expiry', 'token-type', 'uid', 'client'], + methods: [:get, :post, :options, :delete, :put] + end + end + end end diff --git a/config/database.yml b/config/database.yml index fd49fafb912ad8dda530f0855280d222b08329a0..78abbc41ca78b3ed49e52655a9d1cac1f4f7fd4d 100644 --- a/config/database.yml +++ b/config/database.yml @@ -15,6 +15,6 @@ test: production: <<: *default - database: portalmec_production - username: portalmec - password: <%= ENV['PORTALMEC_DATABASE_PASSWORD'] %> \ No newline at end of file + database: <%= ENV['PORTALMEC_DB_NAME'] %> + username: <%= ENV['PORTALMEC_DB_USERNAME'] %> + password: <%= ENV['PORTALMEC_DB_PASSWORD'] %> \ No newline at end of file diff --git a/config/deploy.rb b/config/deploy.rb index bb8a24112c0d802fbedeeb3149bfd6858e23e380..7322170f505353b05ae2f2616238ea7dcc43c06a 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -12,7 +12,6 @@ set :branch, 'master' set :user, 'portalmec' task :environment do - #invoke :'rbenv:load' end task deploy: :environment do @@ -31,4 +30,4 @@ task deploy: :environment do queue %[echo "----------> Pre compiling assets"] execute 'bundle exec rake assets:precompile' end -end +end \ No newline at end of file diff --git a/config/environments/production.rb b/config/environments/production.rb index 5c1b32e4863ffe9aed61e6b63f70ef0b7b70dd93..10a93ddf6ace345a26f0b82f0e0b4d1debb4c8d3 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -29,7 +29,7 @@ Rails.application.configure do # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed. - config.assets.compile = false + config.assets.compile = true # Asset digests allow you to set far-future HTTP expiration dates on all assets, # yet still be able to expire them through the digest params. diff --git a/config/initializers/array_paginate.rb b/config/initializers/array_paginate.rb new file mode 100644 index 0000000000000000000000000000000000000000..dfed3fe9e12cf96c4f7700a413d2ec73c200435e --- /dev/null +++ b/config/initializers/array_paginate.rb @@ -0,0 +1 @@ +require 'will_paginate/array' diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 7772e61d1c6dd92394520c279f8232152ea8d576..8e5134a7b0881a2ff900308eacc504ec2e6c5344 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -11,3 +11,4 @@ Rails.application.config.assets.version = '1.0' # Rails.application.config.assets.precompile += %w( search.js ) Rails.application.config.assets.precompile += %w( management.css management.js ) +Rails.application.config.assets.precompile += ["*.ttf", "*.woff", "*.svg", "*.eot"] diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index a802a6b4a0c311d2a60755f2b6f7c356cfaa6dd4..f29fa86c004f7f24b8365a0c2ed71f97b3f5f364 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -6,13 +6,13 @@ Devise.setup do |config| # confirmation, reset password and unlock tokens in the database. # Devise will use the `secret_key_base` on Rails 4+ applications as its `secret_key` # by default. You can change it below and use your own secret key. - # config.secret_key = 'f7c95d45a707ef0281bb68ca1632abee8fc4238287245e50eb3ac8132837a9a0561ef3cfa16b9d879595717c3ff804b0e3585cad7190edbfe6b051b7fa32d4b7' + config.secret_key = '8a5e454bf7120cdd81e6aa917bf63fab66cc10794f4732aab492bd89cda65b0320327e02718d4f13fc9ea3956d12fbe022b830e2ffc9adb0c6ff9119edabf713' # ==> Mailer Configuration # Configure the e-mail address which will be shown in Devise::Mailer, # note that it will be overwritten if you use your own mailer class # with default "from" parameter. - config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com' + config.mailer_sender = 'suporte@c3sl.ufpr.br' # Configure the class responsible to send e-mails. # config.mailer = 'Devise::Mailer' @@ -99,7 +99,7 @@ Devise.setup do |config| config.stretches = Rails.env.test? ? 1 : 10 # Setup a pepper to generate the encrypted password. - # config.pepper = '381b4fd6d17ae053e8cdb90006658cfdbe52323f5e3c8bdfc1878754d14df7a0226df6d1c6f13c64dcd20e2877e8a837b4c7a1a7912e6466784f27d5155d19ad' + # config.pepper = '62f7713e8428f204e0ecc9d9687fbe060840404fd26fb6b8762cb1a51af7210fbe3ff884fd4de7934becbf4de4daa1539d7645a9ab0b3733237b91aa733d8783' # ==> Configuration for :confirmable # A period that the user is allowed to access the website even without @@ -154,9 +154,6 @@ Devise.setup do |config| # time the user will be asked for credentials again. Default is 30 minutes. # config.timeout_in = 30.minutes - # If true, expires auth token on session timeout. - # config.expire_auth_token_on_timeout = false - # ==> Configuration for :lockable # Defines which strategy will be used to lock an account. # :failed_attempts = Locks an account after a number of failed attempts to sign in. diff --git a/config/initializers/orientdb.rb b/config/initializers/orientdb.rb index 8068c3593b63baeb8dad3f5d3d776bac957842e9..7af491bfb61bcd78d9e5e7ea267fd3857545a148 100644 --- a/config/initializers/orientdb.rb +++ b/config/initializers/orientdb.rb @@ -1,9 +1,17 @@ require 'yaml' -orientdb_configs = YAML.load_file(Rails.root.join('config').to_s.concat('/orient_db.yml')) +orientdb_configs = YAML.load_file Rails.root.join('config').to_s.concat('/orientdb.yml') env_config = orientdb_configs.fetch(Rails.env) -OrientDb::Config.host = env_config['host'] -OrientDb::Config.database = env_config['database'] -OrientDb::Config.user = env_config['username'] -OrientDb::Config.password = env_config['password'] \ No newline at end of file +if Rails.env.production? + OrientDb::Config.host = ENV['PORTALMEC_ORIENTDB_HOST'] + OrientDb::Config.database = ENV['PORTALMEC_ORIENTDB_DATABASE'] + OrientDb::Config.user = ENV['PORTALMEC_ORIENTDB_USERNAME'] + OrientDb::Config.password = ENV['PORTALMEC_ORIENTDB_PASSWD'] + OrientDb::Config.port = ENV['PORTALMEC_ORIENTDB_PORT'] +else + OrientDb::Config.host = env_config['host'] + OrientDb::Config.database = env_config['database'] + OrientDb::Config.user = env_config['username'] + OrientDb::Config.password = env_config['password'] +end \ No newline at end of file diff --git a/config/initializers/repositories.rb b/config/initializers/repositories.rb index 47bcd07cf5791529dfd46ab2184186ad0b4b67c5..bdd28550cb47dfd4ae62fc2ce26c655455cb5f89 100644 --- a/config/initializers/repositories.rb +++ b/config/initializers/repositories.rb @@ -1,20 +1,32 @@ Repository::Environments.create :development do |repository| - repository.register :user, OrientDb::UserRepository.new(OrientDb::Client.instance) repository.register :university, OrientDb::UniversityRepository.new(OrientDb::Client.instance) - repository.register :highlight, OrientDb::HighlightRepository.new(OrientDb::Client.instance) + repository.register :mainPage, OrientDb::MainPageRepository.new(OrientDb::Client.instance) + repository.register :webLink, OrientDb::WeblinkRepository.new(OrientDb::Client.instance) repository.register :country, OrientDb::CountryRepository.new(OrientDb::Client.instance) + repository.register :carousel, OrientDb::CarouselRepository.new(OrientDb::Client.instance) + repository.register :object, OrientDb::ObjectRepository.new(OrientDb::Client.instance) + repository.register :user, OrientDb::UserRepository.new(OrientDb::Client.instance) + repository.register :learningObjet, OrientDb::LearningObjectRepository.new(OrientDb::Client.instance) end Repository::Environments.create :test do |repository| - repository.register :user, OrientDb::UserRepository.new(OrientDb::Client.instance) repository.register :university, OrientDb::UniversityRepository.new(OrientDb::Client.instance) - repository.register :highlight, OrientDb::HighlightRepository.new(OrientDb::Client.instance) + repository.register :mainPage, OrientDb::MainPageRepository.new(OrientDb::Client.instance) + repository.register :webLink, OrientDb::WeblinkRepository.new(OrientDb::Client.instance) repository.register :country, OrientDb::CountryRepository.new(OrientDb::Client.instance) + repository.register :carousel, OrientDb::CarouselRepository.new(OrientDb::Client.instance) + repository.register :object, OrientDb::ObjectRepository.new(OrientDb::Client.instance) + repository.register :user, OrientDb::UserRepository.new(OrientDb::Client.instance) + repository.register :learningObjet, OrientDb::LearningObjectRepository.new(OrientDb::Client.instance) end Repository::Environments.create :production do |repository| - repository.register :user, OrientDb::UserRepository.new(OrientDb::Client.instance) repository.register :university, OrientDb::UniversityRepository.new(OrientDb::Client.instance) - repository.register :highlight, OrientDb::HighlightRepository.new(OrientDb::Client.instance) + repository.register :mainPage, OrientDb::MainPageRepository.new(OrientDb::Client.instance) + repository.register :webLink, OrientDb::WeblinkRepository.new(OrientDb::Client.instance) repository.register :country, OrientDb::CountryRepository.new(OrientDb::Client.instance) + repository.register :carousel, OrientDb::CarouselRepository.new(OrientDb::Client.instance) + repository.register :object, OrientDb::ObjectRepository.new(OrientDb::Client.instance) + repository.register :user, OrientDb::UserRepository.new(OrientDb::Client.instance) + repository.register :learningObjet, OrientDb::LearningObjectRepository.new(OrientDb::Client.instance) end diff --git a/config/initializers/task_scheduler.rb b/config/initializers/task_scheduler.rb new file mode 100644 index 0000000000000000000000000000000000000000..58dab127e0d016d74fb860b6d1c1709a27df9766 --- /dev/null +++ b/config/initializers/task_scheduler.rb @@ -0,0 +1,4 @@ +scheduler = Rufus::Scheduler.new +scheduler.every '10m' do + system('rake mainPage:highlights') + end diff --git a/config/orient_db.yml b/config/orient_db.yml deleted file mode 100644 index 502d9c5ccd0fa1bdd2ec5113821e7afea0ecf16e..0000000000000000000000000000000000000000 --- a/config/orient_db.yml +++ /dev/null @@ -1,17 +0,0 @@ -development: &development - host: mecdb2.c3sl.ufpr.br - database: PortalMEC - username: admin - password: admin - -test: - host: mecdb2.c3sl.ufpr.br - database: PortalMEC - username: admin - password: admin - -production: - host: mecdb2.c3sl.ufpr.br - database: PortalMEC - username: admin - password: admin \ No newline at end of file diff --git a/config/orientdb.yml b/config/orientdb.yml new file mode 100644 index 0000000000000000000000000000000000000000..88e5d0367003e3f9b48b614ec04f7c910eb54769 --- /dev/null +++ b/config/orientdb.yml @@ -0,0 +1,13 @@ +development: &development + host: localhost + database: portalmec + username: admin + password: admin + port: 2480 + +test: + host: mecdb2.c3sl.ufpr.br + database: dev-mauricio + username: admin + password: admin + port: 2480 diff --git a/config/routes.rb b/config/routes.rb index bf222848a97dac519ba60251aa3ebc3348cc2373..1f504edc84a015572a5cc477bc3d4bf2c859f270 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,89 +1,32 @@ Rails.application.routes.draw do + devise_for :users - resources :universities - resources :countries + namespace :auth do + mount_devise_token_auth_for 'User', skip: [:omniauth_callbacks] + end - resources :users - resources :highlights, :only => [:new, :create] - match '/highlights' => 'highlights#create', :via => :post namespace :management do root 'welcome#index' - post 'highlights/create' - post 'highlights/destroy' - end - root 'welcome#index' + # statistics + get 'statistics/', to: 'statistics#index', as: 'index_statistics' + get 'statistics/users/' => 'statistics#users', as: 'users_statistics' + get 'statistics/collections' => 'statistics#collections', as: 'collections_statistics' + get 'statistics/accesses' => 'statistics#accesses', as: 'accesses_statistics' + get 'statistics/downloads' => 'statistics#downloads', as: 'downloads_statistics' - #get 'management/estatisticas/' => 'management#estatisticas' + resources :users + resources :highlights + end + root 'welcome#index' + resources :universities + resources :countries - get 'management/estatisticas/', to: 'management/estatisticas#index', as: 'management_estatisticas_index' - get 'management/estatisticas/usuarios/' => 'management/estatisticas#usuarios' - get 'management/estatisticas/colecoes' => 'management/estatisticas#colecoes' - get 'management/estatisticas/acessos' => 'management/estatisticas#acessos' - get 'management/estatisticas/downloads' => 'management/estatisticas#downloads' - get 'management/denuncias' => 'management#denuncias' - get 'management/users', to:'management/users#index', as: 'management_users_index' - get 'management/destaques', to: 'management/highlights#index', as: 'management_highlights_index' - get 'management/destaques/new', to: 'management/highlights#new', as: 'management_highlights_new' - get 'management/destaques/delete', to: 'management/highlights#delete', as: 'management_highlights_delete' + get '/contato' => 'welcome#contact' get '/faq' => 'welcome#faq' - get '/contato' => 'welcome#contact', as: 'contact' - get '/denuncia' => 'welcome#complaint', as: 'complaint' - - # The priority is based upon order of creation: first created -> highest priority. - # See how all your routes lay out with "rake routes". - - # You can have the root of your site routed with "root" - # root 'welcome#index' - - # Example of regular route: - # get 'products/:id' => 'catalog#view' - - # Example of named route that can be invoked with purchase_url(id: product.id) - # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase - - # Example resource route (maps HTTP verbs to controller actions automatically): - # resources :products - - # Example resource route with options: - # resources :products do - # member do - # get 'short' - # post 'toggle' - # end - # - # collection do - # get 'sold' - # end - # end - - # Example resource route with sub-resources: - # resources :products do - # resources :comments, :sales - # resource :seller - # end - - # Example resource route with more complex sub-resources: - # resources :products do - # resources :comments - # resources :sales do - # get 'recent', on: :collection - # end - # end - - # Example resource route with concerns: - # concern :toggleable do - # post 'toggle' - # end - # resources :posts, concerns: :toggleable - # resources :photos, concerns: :toggleable - - # Example resource route within a namespace: - # namespace :admin do - # # Directs /admin/products/* to Admin::ProductsController - # # (app/controllers/admin/products_controller.rb) - # resources :products - # end + get '/contact' => 'welcome#contact', as: 'contact' + get '/complaint' => 'welcome#complaint', as: 'complaint' + get '/search' => 'search/solr#search', as: 'search' end diff --git a/config/secrets.yml b/config/secrets.yml index 2584df421444a9d69f246a4e6c986945fd575f27..cf60d11b457db02ec7ab94af728f830163736bfa 100644 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -12,11 +12,15 @@ development: secret_key_base: 4f68c5b85e661ede15f8fd7c8a1a8b36e6d6f41033a23d2d25414feaa848f1e89d0337eb4e36501c5f2de84c98fbe255207c020beee17075f577192ebbcdaf5a + dspace_host: https://demo.dspace.org/rest test: secret_key_base: 6701dc9f54516df93c52b41a17eedc863ca0a18a75a11da5478c66127c40973888b38d2632ebe96d1a831ae336be57425c6d1f074501a081b55a0ea56898a582 + dspace_host: https://portalmecdev.c3sl.ufpr.br:8443/rest # Do not keep production secrets in the repository, # instead read values from the environment. production: + secret_token: <%= ENV["SECRET_TOKEN"] %> secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> + dspace_host: https://portalmecdev.c3sl.ufpr.br:8443/rest \ No newline at end of file diff --git a/db/migrate/20150828140933_devise_token_auth_create_users.rb b/db/migrate/20150828140933_devise_token_auth_create_users.rb new file mode 100644 index 0000000000000000000000000000000000000000..275c233d413174b04b6f708b4231a7b10bb9c230 --- /dev/null +++ b/db/migrate/20150828140933_devise_token_auth_create_users.rb @@ -0,0 +1,27 @@ +class DeviseTokenAuthCreateUsers < ActiveRecord::Migration + def change + change_table(:users) do |t| + ## Required + t.string :provider, null: false, default: "email" + t.string :uid, null: false, default: '' + + ## Confirmable + t.string :confirmation_token + t.datetime :confirmed_at + t.datetime :confirmation_sent_at + t.string :unconfirmed_email # Only if using reconfirmable + + ## Lockable + # t.integer :failed_attempts, :default => 0, :null => false # Only if lock strategy is :failed_attempts + # t.string :unlock_token # Only if unlock strategy is :email or :both + # t.datetime :locked_at + + ## Tokens + t.text :tokens + end + + add_index :users, [:uid, :provider] #, :unique => true + # add_index :users, :confirmation_token, :unique => true + # add_index :users, :unlock_token, :unique => true + end +end diff --git a/db/migrate/20150904134929_create_roles.rb b/db/migrate/20150904134929_create_roles.rb new file mode 100644 index 0000000000000000000000000000000000000000..927ceff15307846b5fc62d75e01b36e28d474dee --- /dev/null +++ b/db/migrate/20150904134929_create_roles.rb @@ -0,0 +1,11 @@ +class CreateRoles < ActiveRecord::Migration + def change + create_table :roles do |t| + t.string :name + t.text :description + + t.timestamps null: false + end + add_index :roles, :name, unique: true + end +end diff --git a/db/migrate/20150904141558_create_join_table_users_roles.rb b/db/migrate/20150904141558_create_join_table_users_roles.rb new file mode 100644 index 0000000000000000000000000000000000000000..ea9807f83d809800cede481f31053bd92112af1a --- /dev/null +++ b/db/migrate/20150904141558_create_join_table_users_roles.rb @@ -0,0 +1,8 @@ +class CreateJoinTableUsersRoles < ActiveRecord::Migration + def change + create_join_table :users, :roles do |t| + t.index :user_id + t.index :role_id + end + end +end diff --git a/db/migrate/20150909135745_add_name_column_to_users.rb b/db/migrate/20150909135745_add_name_column_to_users.rb new file mode 100644 index 0000000000000000000000000000000000000000..82bb9cff6950de7213db0eb41bd4a8985caf5870 --- /dev/null +++ b/db/migrate/20150909135745_add_name_column_to_users.rb @@ -0,0 +1,5 @@ +class AddNameColumnToUsers < ActiveRecord::Migration + def change + add_column :users, :name, :string + end +end diff --git a/db/seeds.rb b/db/seeds.rb index 4edb1e857ee6c203463c7fa0387aae32496ec93d..1c2b4f8c534d8140d806c1f4baa7da19cd6a5152 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -5,3 +5,6 @@ # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # Mayor.create(name: 'Emanuel', city: cities.first) +Role.create(name: 'teacher', description: 'This role represents a Teacher in Portal MEC.') +Role.create(name: 'admin', description: 'This role represents an MEC Admin, that can perform any action.') +Role.create(name: 'curator', description: 'This role represents a content Curator in Portal MEC.') \ No newline at end of file diff --git a/lib/orient_db/client.rb b/lib/orient_db/client.rb index fdce7f7249e64b1192ad1fca8f9d450e5ae9b17a..a7089e51c3f6ca8618dc3347fd55b3aaa7eb3882 100644 --- a/lib/orient_db/client.rb +++ b/lib/orient_db/client.rb @@ -14,4 +14,4 @@ class OrientDb::Client end end -end \ No newline at end of file +end diff --git a/lib/orient_db/migration.rb b/lib/orient_db/migration.rb new file mode 100644 index 0000000000000000000000000000000000000000..37c5cecd0107abdb5038aefc4fce6425963b4459 --- /dev/null +++ b/lib/orient_db/migration.rb @@ -0,0 +1,18 @@ +module OrientDb + class Migration + + def initialize(client) + @client = client + end + + def create_class(klass) + unless @client.class_exists? klass + @client.create_class(klass) do |c| + if block_given? + yield c + end + end + end + end + end +end \ No newline at end of file diff --git a/lib/orient_db/migrations.rb b/lib/orient_db/migrations.rb new file mode 100644 index 0000000000000000000000000000000000000000..b721b8d6974e26c5c009a20a106efcda7004f50e --- /dev/null +++ b/lib/orient_db/migrations.rb @@ -0,0 +1,13 @@ +class OrientDb::Migrations + def initialize(client) + @migrations = [] + @migrations << CreateCountry.new(client) + @migrations << CreateHighlight.new(client) + @migrations << CreateUniversity.new(client) + @migrations << CreateUser.new(client) + end + + def run + @migrations.each { |m| m.up } + end +end \ No newline at end of file diff --git a/lib/orient_db/migrations/create_country.rb b/lib/orient_db/migrations/create_country.rb new file mode 100644 index 0000000000000000000000000000000000000000..430b2e491d18da7fbc5f92aaf2a5be34aedbf5bf --- /dev/null +++ b/lib/orient_db/migrations/create_country.rb @@ -0,0 +1,7 @@ +class OrientDb::Migrations::CreateCountry < OrientDb::Migration + + def up + create_class 'Country' + end + +end \ No newline at end of file diff --git a/lib/orient_db/migrations/create_highlight.rb b/lib/orient_db/migrations/create_highlight.rb new file mode 100644 index 0000000000000000000000000000000000000000..8fcc0b450132c0470a82fd799ef403b958aa8312 --- /dev/null +++ b/lib/orient_db/migrations/create_highlight.rb @@ -0,0 +1,7 @@ +class OrientDb::Migrations::CreateHighlight < OrientDb::Migration + + def up + create_class 'Highlight' + end + +end \ No newline at end of file diff --git a/lib/orient_db/migrations/create_university.rb b/lib/orient_db/migrations/create_university.rb new file mode 100644 index 0000000000000000000000000000000000000000..ec6df66553002417519d52ad26c95bae3cf1f370 --- /dev/null +++ b/lib/orient_db/migrations/create_university.rb @@ -0,0 +1,7 @@ +class OrientDb::Migrations::CreateUniversity < OrientDb::Migration + + def up + create_class 'University' + end + +end \ No newline at end of file diff --git a/lib/orient_db/migrations/create_user.rb b/lib/orient_db/migrations/create_user.rb new file mode 100644 index 0000000000000000000000000000000000000000..50136f70d0cec824fc17b64697ba2598c27eb9cc --- /dev/null +++ b/lib/orient_db/migrations/create_user.rb @@ -0,0 +1,7 @@ +class OrientDb::Migrations::CreateUser < OrientDb::Migration + + def up + create_class 'User' + end + +end \ No newline at end of file diff --git a/lib/ranking/README.md b/lib/ranking/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7c698ed6867d324326f6dda0251102d44f03bf78 --- /dev/null +++ b/lib/ranking/README.md @@ -0,0 +1,19 @@ +# Ranking docs + +# Refactored + +```ruby +items = [] +items << Ranking::Item.new("ax",1,1,1,["otherStuffA","lala",'a']) +items << Ranking::Item.new("bx",2,2,2,[1,2,3,"teste","lblb",'b']) +items << Ranking::Item.new("cx",1,1,99,[3,2,1,"teste","lclc",'c']) + + +rater = Ranking::Rater.new(Ranking::Strategies::BasicRater.new(1000, 1, 100)) +rater.sortByRate(items).each do |i| + p i.name +end +``` + +## Output + - ordered array of Items, starting from the most ranked to the least diff --git a/lib/ranking/item.rb b/lib/ranking/item.rb new file mode 100644 index 0000000000000000000000000000000000000000..33fc5009b43282fb1ab453f477ff8fcbadd47ae3 --- /dev/null +++ b/lib/ranking/item.rb @@ -0,0 +1,18 @@ +# This class represents an item of ranking +class Ranking::Item + # name = name of object + # views = view count + # downloads = download count + # likes = like count + # info = just for convinience of sorting it together, won't be touched + attr_accessor :name, :views, :downloads, :likes, :info + + def initialize(name, views = 0, downloads = 0, likes = 0, info = nil) + @name = name + @views = views + @downloads = downloads + @likes = likes + @info = info + end + +end \ No newline at end of file diff --git a/lib/ranking/rated_item.rb b/lib/ranking/rated_item.rb new file mode 100644 index 0000000000000000000000000000000000000000..baa5aa8ec8a304efd2bdbad02187b7093b0e7ea7 --- /dev/null +++ b/lib/ranking/rated_item.rb @@ -0,0 +1,10 @@ +# This class represents an item rated in ranking +# Have an association with a rank item +class Ranking::RatedItem + attr_accessor :item, :rate + + def initialize(item, rate) + @item = item + @rate = rate + end +end \ No newline at end of file diff --git a/lib/ranking/rater.rb b/lib/ranking/rater.rb new file mode 100644 index 0000000000000000000000000000000000000000..75b3d40181a6f580dfef543a4e56e872e59edb74 --- /dev/null +++ b/lib/ranking/rater.rb @@ -0,0 +1,11 @@ +class Ranking::Rater + + def initialize(rater_strategy) + @rater = rater_strategy + end + + def sortByRate(items) + @rater.sortByRate items + end + +end \ No newline at end of file diff --git a/lib/ranking/strategies/basic_rater.rb b/lib/ranking/strategies/basic_rater.rb new file mode 100644 index 0000000000000000000000000000000000000000..d88d4951319be14be40f90ce16d2c461c249ca27 --- /dev/null +++ b/lib/ranking/strategies/basic_rater.rb @@ -0,0 +1,22 @@ +class Ranking::Strategies::BasicRater < Ranking::Strategy + + def sortByRate(items) + items.zip( items.size.downto(1) ) + .collect { |item,reverseIndex| rateItem( item, reverseIndex ) } + .sort { |itemA,itemB| itemA.rate <=> itemB.rate } + .collect { |ri| ri.item } + .reverse # Best ranked comes first + end + + private + + def rateItem(item, inversePosition) + positionRating = inversePosition * @positionWeight + useRating = (item.downloads < item.views ? item.downloads : item.views) * @useWeight + likeRating = item.likes * @likeWeight + + rate = positionRating + useRating + likeRating + build_rated_item item, rate + end + +end diff --git a/lib/ranking/strategy.rb b/lib/ranking/strategy.rb new file mode 100644 index 0000000000000000000000000000000000000000..ffce28174a077d6fc9cf75ec6a12a4176d19f928 --- /dev/null +++ b/lib/ranking/strategy.rb @@ -0,0 +1,15 @@ +class Ranking::Strategy + + def initialize(positionWeight = nil, useWeight = nil, likeWeight = nil) + @positionWeight = (positionWeight == nil ? 1000 : positionWeight) + @useWeight = (useWeight == nil ? 3 : useWeight) + @likeWeight = (likeWeight == nil ? 100 : likeWeight) + end + + protected + + def build_rated_item(item, rate) + Ranking::RatedItem.new(item, rate) + end + +end \ No newline at end of file diff --git a/lib/tasks/mainPage.rake b/lib/tasks/mainPage.rake new file mode 100644 index 0000000000000000000000000000000000000000..c4b7bab948e06fc012bb577d140f5fdf8f59bb50 --- /dev/null +++ b/lib/tasks/mainPage.rake @@ -0,0 +1,27 @@ +namespace :mainPage do + desc "Generate the MainPage" + task :highlights => :environment do + repository = Portalmec::Application.repository + + puts 'Generating the main page highlights' + objects = repository.for(:learningObjet).find_all + objects = objects.collect do |object| + likes = repository.for(:learningObjet).get_likes(object['@rid']).size() + views = repository.for(:learningObjet).get_views(object['@rid']).size() + downloads = repository.for(:learningObjet).get_downloads(object['@rid']).size() + Ranking::Item.new(object['@rid'],views,downloads,likes) + end + rater = Ranking::Rater.new(Ranking::Strategies::BasicRater.new(1000,1,100)) + objects = rater.sortByRate(objects).take(5) + + mainPage = repository.for(:mainPage).find_all[0] + rid = mainPage['@rid'] + repository.for(:mainPage).update(rid,'set','highlights','[]') + objects.each do |object| + repository.for(:mainPage).update(rid,'add','highlights',object.name) + end + + puts 'Generate the main page subject highlights' + # TODO: generate + end +end diff --git a/lib/tasks/orientdb.rake b/lib/tasks/orientdb.rake new file mode 100644 index 0000000000000000000000000000000000000000..504aa1f120363f4c7d471ca017e70808a053ad6f --- /dev/null +++ b/lib/tasks/orientdb.rake @@ -0,0 +1,11 @@ +namespace :orientdb do + desc "Orient DB integration tasks" + + task migrate: :environment do + desc "Migrate orient db schema" + + migrations = OrientDb::Migrations.new(OrientDb::Client.instance) + migrations.run + end + +end \ No newline at end of file diff --git a/test/controllers/management/welcome_controller_test.rb b/test/controllers/management/welcome_controller_test.rb index f19d31e055d784b216b5c8254da11180c1e986f5..b080784bf71258fc8be6f9f555cdf06631224781 100644 --- a/test/controllers/management/welcome_controller_test.rb +++ b/test/controllers/management/welcome_controller_test.rb @@ -1,6 +1,8 @@ require 'test_helper' class Management::WelcomeControllerTest < ActionController::TestCase + tests Management::WelcomeController + test "should get index" do get :index assert_response :success diff --git a/test/controllers/users_controller_test.rb b/test/controllers/users_controller_test.rb deleted file mode 100644 index 88e514c7ae92d1211bced4b7bc72c1e5ae771843..0000000000000000000000000000000000000000 --- a/test/controllers/users_controller_test.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'test_helper' - -class UsersControllerTest < ActionController::TestCase - test "should get index" do - get :index - assert_response :success - end - -end diff --git a/test/controllers/welcome_controller_test.rb b/test/controllers/welcome_controller_test.rb index dff8e9d2c5c98c8c6ca9f05bf82fc93782a7ef36..954ffa058949277ff746d817c868d5b1dccd6a06 100644 --- a/test/controllers/welcome_controller_test.rb +++ b/test/controllers/welcome_controller_test.rb @@ -1,9 +1,11 @@ require 'test_helper' class WelcomeControllerTest < ActionController::TestCase + tests WelcomeController + test "should get index" do get :index assert_response :success end -end +end \ No newline at end of file diff --git a/test/fixtures/roles.yml b/test/fixtures/roles.yml new file mode 100644 index 0000000000000000000000000000000000000000..f35b3bf1f2e3b5edbb7a0521ca75bbdcfaddeb93 --- /dev/null +++ b/test/fixtures/roles.yml @@ -0,0 +1,13 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +admin: + name: admin + description: MyText + +teacher: + name: teacher + description: MyText + +curator: + name: curator + description: MyText \ No newline at end of file diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml index 989ce90a0575f7a8a289a40a7301ff6f6e65ff95..e7c2ceefe67d37c925d3243bfb4110b900ec03a8 100644 --- a/test/fixtures/users.yml +++ b/test/fixtures/users.yml @@ -1,5 +1,7 @@ one: email: 'mgg12@inf.ufpr.br' + provider: 'email' two: - email: 'test@c3sl.ufpr.br' \ No newline at end of file + email: 'test@c3sl.ufpr.br' + provider: 'email' \ No newline at end of file diff --git a/test/models/role_test.rb b/test/models/role_test.rb new file mode 100644 index 0000000000000000000000000000000000000000..400bdfd312509486ade76489b3d4cb3b550234b0 --- /dev/null +++ b/test/models/role_test.rb @@ -0,0 +1,5 @@ +require 'test_helper' + +class RoleTest < ActiveSupport::TestCase + should have_and_belong_to_many(:users) +end diff --git a/test/models/user_test.rb b/test/models/user_test.rb index 636d460edad619b8548abaec67554f4a442598ba..3badf9c73309065222b240f94fcf03f2d6d8f660 100644 --- a/test/models/user_test.rb +++ b/test/models/user_test.rb @@ -1,7 +1,5 @@ require 'test_helper' class UserTest < ActiveSupport::TestCase - test 'true' do - assert true - end + should have_and_belong_to_many(:roles) end