diff --git a/dietetique_finale_donnees.sql b/dietetique_finale_donnees.sql new file mode 100644 index 0000000..19372dc --- /dev/null +++ b/dietetique_finale_donnees.sql @@ -0,0 +1,1017 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Dec 12, 2018 at 09:39 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`, `actif`) VALUES +(1, 'Fruits et Légumes', 1), +(2, 'Viandes', 1), +(3, 'Divers', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_telephone varchar(255); + declare v_poste varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.telephone, c.poste, c.courriel into v_nom, v_prenom, v_telephone, v_poste, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_telephone, + v_poste, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + + if new.status = 'P' + then + open c_panier; + + panier_loop: loop + fetch c_panier + into v_produit, v_quantite; + + IF done + THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_commandes` AFTER UPDATE ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + + if old.status = 'N' then + + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_prix decimal(20,2); + declare v_fraisfixe decimal(20,2); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p2.prix, + p.frais_fixe, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_prix, v_fraisfixe, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + inner join produitsfournisseurs p2 on p.id_produit = p2.id_produit + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_prix, + v_fraisfixe, + v_categorie, + new.quantite); + +end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `poste`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', '', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `configuration` +-- + +INSERT INTO `configuration` (`cle`, `valeur`) VALUES +('fonctionnement', 'Le fonctionnement d\'un regroupements d\'achats est très simple. Nous faisons affaires avec plusieurs fournisseurs pour pouvoir offrir des prix compétitifs en commandant en vrac.'), +('mission', 'Bienvenue sur notre site de regroupements d\'achats ! Le but de notre projet est simple : offrir des produits moins chers que les épiceries en achetant en vrac.'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `id_periode` int(11) NOT NULL, + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`id_periode`, `date_debut`, `date_fin`, `nom`) VALUES +(18, '2018-12-06 00:00:00', '2018-12-07 00:00:00', 'commandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(18, 'commandes', '#0071c5', '2018-12-06 00:00:00', '2018-12-07 00:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tad_events` AFTER DELETE ON `events` FOR EACH ROW begin + +delete from datescommandes where id_periode = old.id; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.id, new.start, new.end, new.title); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb + from datescommandes + where id_periode = old.id; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where id_periode = old.id; + else + insert into datescommandes values (old.id, new.start, new.end, new.title); + end if; + + end if; + +end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`, `actif`) VALUES +(1, 'kg', 1), +(2, 'lb', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `role` varchar(255) COLLATE utf8_bin NOT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `role`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`, `actif`) VALUES +(2, 'Metro', 'Fournier', '', '', '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', '', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(20,3) NOT NULL DEFAULT '0.000', + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`, `type`, `actif`) VALUES +(1, '1.000', 'pourcentage', 1), +(2, '0.000', 'fixe', 1); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_telephone` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_prix` decimal(20,2) NOT NULL, + `p_fraisfixe` decimal(20,2) NOT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(20,3) NOT NULL, + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`, `type`, `actif`) VALUES +(1, '2018-12-06 20:13:47', '1.000', 'pourcentage', 1), +(2, '2018-12-06 20:13:53', '0.000', 'fixe', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `password_resets` +-- + +CREATE TABLE `password_resets` ( + `id_reset` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `selector` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `expires` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` int(11) NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `frais_fixe` decimal(20,2) NOT NULL DEFAULT '0.00', + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `frais_fixe`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 1, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, 0, 0, 3, '2.00', NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse', 'La fernandière', 70, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, 1, 0, 2, '0.00', NULL, 'A'), +(8, 'Bleuet', 'De bons bleuets de la Gaspésie', 'Driscoll\'s', 36, 'Vous économisez 15% par rapport à IGA', 'uploads_5c09a6c0b41714.28565702.jpeg', 'uploads_5c09a6c0b44af7.43238973.png', 1, 1, 8, 1, '0.50', NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + if (new.limite_achat != 0) then + call updatelimiteproduit(new.id_produit, new.limite_achat); + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '5.78', NULL), +(7, 2, '10.00', NULL), +(8, 2, '8.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL, + `authorization` varchar(255) COLLATE utf8_bin NOT NULL, + `invoice` varchar(255) COLLATE utf8_bin NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`id_periode`) USING BTREE; + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD PRIMARY KEY (`id_reset`), + ADD KEY `comptes_fk0` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `password_resets` +-- +ALTER TABLE `password_resets` + MODIFY `id_reset` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD CONSTRAINT `comptes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/dietetique_finale_vide.sql b/dietetique_finale_vide.sql new file mode 100644 index 0000000..fa3bb45 --- /dev/null +++ b/dietetique_finale_vide.sql @@ -0,0 +1,961 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Dec 12, 2018 at 09:42 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_telephone varchar(255); + declare v_poste varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.telephone, c.poste, c.courriel into v_nom, v_prenom, v_telephone, v_poste, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_telephone, + v_poste, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + + if new.status = 'P' + then + open c_panier; + + panier_loop: loop + fetch c_panier + into v_produit, v_quantite; + + IF done + THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_commandes` AFTER UPDATE ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + + if old.status = 'N' then + + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_prix decimal(20,2); + declare v_fraisfixe decimal(20,2); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p2.prix, + p.frais_fixe, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_prix, v_fraisfixe, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + inner join produitsfournisseurs p2 on p.id_produit = p2.id_produit + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_prix, + v_fraisfixe, + v_categorie, + new.quantite); + +end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `poste`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', '', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `configuration` +-- + +INSERT INTO `configuration` (`cle`, `valeur`) VALUES +('fonctionnement', 'Le fonctionnement d\'un regroupements d\'achats est très simple. Nous faisons affaires avec plusieurs fournisseurs pour pouvoir offrir des prix compétitifs en commandant en vrac.'), +('mission', 'Bienvenue sur notre site de regroupements d\'achats ! Le but de notre projet est simple : offrir des produits moins chers que les épiceries en achetant en vrac.'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `id_periode` int(11) NOT NULL, + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tad_events` AFTER DELETE ON `events` FOR EACH ROW begin + +delete from datescommandes where id_periode = old.id; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.id, new.start, new.end, new.title); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb + from datescommandes + where id_periode = old.id; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where id_periode = old.id; + else + insert into datescommandes values (old.id, new.start, new.end, new.title); + end if; + + end if; + +end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `role` varchar(255) COLLATE utf8_bin NOT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(20,3) NOT NULL DEFAULT '0.000', + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`, `type`, `actif`) VALUES +(1, '1.000', 'pourcentage', 1), +(2, '0.000', 'fixe', 1); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_telephone` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_prix` decimal(20,2) NOT NULL, + `p_fraisfixe` decimal(20,2) NOT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(20,3) NOT NULL, + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`, `type`, `actif`) VALUES +(1, '2018-12-06 20:13:47', '1.000', 'pourcentage', 1), +(2, '2018-12-06 20:13:53', '0.000', 'fixe', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `password_resets` +-- + +CREATE TABLE `password_resets` ( + `id_reset` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `selector` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `expires` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` int(11) NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `frais_fixe` decimal(20,2) NOT NULL DEFAULT '0.00', + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + if (new.limite_achat != 0) then + call updatelimiteproduit(new.id_produit, new.limite_achat); + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL, + `authorization` varchar(255) COLLATE utf8_bin NOT NULL, + `invoice` varchar(255) COLLATE utf8_bin NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`id_periode`) USING BTREE; + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD PRIMARY KEY (`id_reset`), + ADD KEY `comptes_fk0` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `password_resets` +-- +ALTER TABLE `password_resets` + MODIFY `id_reset` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD CONSTRAINT `comptes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v10.sql b/sql/dietetique_v10.sql new file mode 100644 index 0000000..58a6db9 --- /dev/null +++ b/sql/dietetique_v10.sql @@ -0,0 +1,663 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 22, 2018 at 10:31 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (0, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-22 00:00:00', '2018-11-23 00:00:00'), +(16, 'test2', '#0071c5', '2018-11-29 00:00:00', '2018-11-29 01:00:00'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `adresse` varchar(1024) COLLATE utf8_bin NOT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `adresse`, `telephone`) VALUES +(2, 'Metro', '123 lol', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) DEFAULT NULL, + `id_produit` int(11) DEFAULT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 100, '', 'uploads_5bf7168aa89ef2.87995613.jpg', NULL, 1, '1', 69, 1, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '5.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`), + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`, `id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `Panier_fk1` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `historiquecommandeproduit__fk` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `Panier_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `panier_ibfk_1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v11.sql b/sql/dietetique_v11.sql new file mode 100644 index 0000000..275fd7f --- /dev/null +++ b/sql/dietetique_v11.sql @@ -0,0 +1,724 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 23, 2018 at 03:11 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (0, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-22 00:00:00', '2018-11-23 00:00:00'), +(16, 'test2', '#0071c5', '2018-11-29 00:00:00', '2018-11-29 01:00:00'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`) VALUES +(2, 'Metro', '', '', '123 lol', '', '', NULL, ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(4,2) NOT NULL DEFAULT '0.00' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) DEFAULT NULL, + `id_produit` int(11) DEFAULT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(4,2) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 100, '', 'uploads_5bf7168aa89ef2.87995613.jpg', NULL, 1, '1', 69, 1, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '5.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `historiquecommandeproduit__fk` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `Panier_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `panier_ibfk_1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v12.sql b/sql/dietetique_v12.sql new file mode 100644 index 0000000..248a596 --- /dev/null +++ b/sql/dietetique_v12.sql @@ -0,0 +1,725 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 23, 2018 at 03:33 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (0, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-22 00:00:00', '2018-11-23 00:00:00'), +(16, 'test2', '#0071c5', '2018-11-29 00:00:00', '2018-11-29 01:00:00'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`) VALUES +(2, 'Metro', '', '', '123 lol', '', '', NULL, ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(4,2) NOT NULL DEFAULT '0.00' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) DEFAULT NULL, + `id_produit` int(11) DEFAULT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(4,2) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 100, '', 'uploads_5bf7168aa89ef2.87995613.jpg', NULL, 1, '1', 69, 1, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '5.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `historiquecommandeproduit__fk` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v13.sql b/sql/dietetique_v13.sql new file mode 100644 index 0000000..b81e9fb --- /dev/null +++ b/sql/dietetique_v13.sql @@ -0,0 +1,824 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 23, 2018 at 05:45 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (0, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`date_debut`, `date_fin`, `nom`) VALUES +('2018-11-24 00:00:00', '2018-11-26 00:00:00', 'test'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-24 00:00:00', '2018-11-26 00:00:00'), +(16, 'test2', '#0071c5', '2018-11-29 00:00:00', '2018-11-29 01:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`) VALUES +(2, 'Metro', '', '', '123 lol', '', '', NULL, ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(4,3) NOT NULL DEFAULT '0.000' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) DEFAULT NULL, + `id_produit` int(11) DEFAULT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(4,3) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `panier` +-- + +INSERT INTO `panier` (`id_compte`, `id_produit`, `quantite`) VALUES +(16, 6, 5); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 100, '', 'uploads_5bf7168aa89ef2.87995613.jpg', NULL, 1, '1', 5, 1, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '5.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `historiquecommandeproduit__fk` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v14.sql b/sql/dietetique_v14.sql new file mode 100644 index 0000000..18d0938 --- /dev/null +++ b/sql/dietetique_v14.sql @@ -0,0 +1,787 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 26, 2018 at 10:16 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`date_debut`, `date_fin`, `nom`) VALUES +('2018-11-24 00:00:00', '2018-11-26 00:00:00', 'test'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-24 00:00:00', '2018-11-26 00:00:00'), +(16, 'test2', '#0071c5', '2018-11-29 00:00:00', '2018-11-29 01:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end, new.title); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`) VALUES +(2, 'Metro', '', '', '123 lol', '', '', NULL, ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(4,3) NOT NULL DEFAULT '0.000' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) DEFAULT NULL, + `id_produit` int(11) DEFAULT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(4,3) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `historiquecommandeproduit__fk` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v15.sql b/sql/dietetique_v15.sql new file mode 100644 index 0000000..1a8d837 --- /dev/null +++ b/sql/dietetique_v15.sql @@ -0,0 +1,752 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 27, 2018 at 02:20 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admindddddddddddddddddddddddd', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`) VALUES +(2, 'Metro', '', '', '123 lol', '', '', NULL, ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(4,3) NOT NULL DEFAULT '0.000' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) DEFAULT NULL, + `id_produit` int(11) DEFAULT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(4,3) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `historiquecommandeproduit__fk` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v16.sql b/sql/dietetique_v16.sql new file mode 100644 index 0000000..196384b --- /dev/null +++ b/sql/dietetique_v16.sql @@ -0,0 +1,886 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 28, 2018 at 02:21 AM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'), +(3, 'Divers'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (0, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + declare num varchar(1024); + + set new.date = now(); + select CONCAT('DIET-', FLOOR(5 + RAND() * 60), '1', REPLACE(CURDATE(), '-', '')) into num from dual; + set new.numero_commande = num; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`date_debut`, `date_fin`, `nom`) VALUES +('2018-11-24 00:00:00', '2018-11-26 00:00:00', 'test'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-24 00:00:00', '2018-11-26 00:00:00'), +(16, 'test2', '#0071c5', '2018-11-29 00:00:00', '2018-11-29 01:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`) VALUES +(2, 'Metro', '', '', '123 lol', '', '', NULL, ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(4,3) NOT NULL DEFAULT '0.000' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`) VALUES +(1, '1.150'); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(4,3) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`) VALUES +(1, '2018-11-27 08:34:41', '1.150'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 4, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '5.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v17.sql b/sql/dietetique_v17.sql new file mode 100644 index 0000000..77b53a8 --- /dev/null +++ b/sql/dietetique_v17.sql @@ -0,0 +1,884 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 28, 2018 at 10:47 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'), +(3, 'Divers'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (0, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + + #commandesproduit + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`date_debut`, `date_fin`, `nom`) VALUES +('2018-11-24 00:00:00', '2018-11-26 00:00:00', 'test'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-24 00:00:00', '2018-11-26 00:00:00'), +(16, 'test2', '#0071c5', '2018-11-29 00:00:00', '2018-11-29 01:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`) VALUES +(2, 'Metro', '', '', '123 lol', '', '', NULL, ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(4,3) NOT NULL DEFAULT '0.000' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`) VALUES +(1, '1.000'); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(4,3) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`) VALUES +(1, '2018-11-28 16:46:21', '1.000'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 4, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '5.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v18.sql b/sql/dietetique_v18.sql new file mode 100644 index 0000000..e87871e --- /dev/null +++ b/sql/dietetique_v18.sql @@ -0,0 +1,891 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 29, 2018 at 10:50 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'), +(3, 'Divers'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`date_debut`, `date_fin`, `nom`) VALUES +('2018-11-24 00:00:00', '2018-11-26 00:00:00', 'test'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-24 00:00:00', '2018-11-26 00:00:00'), +(16, 'test2', '#0071c5', '2018-11-29 00:00:00', '2018-11-29 01:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`) VALUES +(2, 'Metro', 'Fournier', NULL, '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(4,3) NOT NULL DEFAULT '0.000' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`) VALUES +(1, '1.000'); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(4,3) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`) VALUES +(1, '2018-11-28 16:46:21', '1.000'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 5, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '0.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v19.sql b/sql/dietetique_v19.sql new file mode 100644 index 0000000..dd4fbd1 --- /dev/null +++ b/sql/dietetique_v19.sql @@ -0,0 +1,894 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 30, 2018 at 12:18 AM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`, `actif`) VALUES +(1, 'Fruits et Légumes', 0), +(2, 'Viandes', 1), +(3, 'Divers', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`date_debut`, `date_fin`, `nom`) VALUES +('2018-11-24 00:00:00', '2018-11-26 00:00:00', 'test'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-24 00:00:00', '2018-11-26 00:00:00'), +(16, 'test2', '#0071c5', '2018-11-29 00:00:00', '2018-11-29 01:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`, `actif`) VALUES +(2, 'Metro', 'Fournier', NULL, '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', '', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(4,3) NOT NULL DEFAULT '0.000' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`) VALUES +(1, '1.000'); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(4,3) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`) VALUES +(1, '2018-11-28 16:46:21', '1.000'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 5, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '0.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v20.sql b/sql/dietetique_v20.sql new file mode 100644 index 0000000..0e1cc1d --- /dev/null +++ b/sql/dietetique_v20.sql @@ -0,0 +1,891 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Hôte : 127.0.0.1:3306 +-- Généré le : lun. 03 déc. 2018 à 06:27 +-- Version du serveur : 5.7.23 +-- Version de PHP : 7.0.32 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Base de données : `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procédures +-- +DROP PROCEDURE IF EXISTS `updatelimiteproduit`$$ +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `access_token` +-- + +DROP TABLE IF EXISTS `access_token`; +CREATE TABLE IF NOT EXISTS `access_token` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `categorie` +-- + +DROP TABLE IF EXISTS `categorie`; +CREATE TABLE IF NOT EXISTS `categorie` ( + `id_categorie` int(11) NOT NULL AUTO_INCREMENT, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL, + PRIMARY KEY (`id_categorie`) +) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Déchargement des données de la table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`, `actif`) VALUES +(1, 'Fruits et Légumes', 0), +(2, 'Viandes', 1), +(3, 'Divers', 1); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `commandes` +-- + +DROP TABLE IF EXISTS `commandes`; +CREATE TABLE IF NOT EXISTS `commandes` ( + `id_commande` int(11) NOT NULL AUTO_INCREMENT, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL, + PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + KEY `Commandes_fk0` (`id_compte`), + KEY `Commandes_fk1` (`trace_paiement`), + KEY `id_commande` (`id_commande`) +) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Déchargement des données de la table `commandes` +-- + +INSERT INTO `commandes` (`id_commande`, `id_compte`, `numero_commande`, `date`, `status`, `prix_total`, `trace_paiement`) VALUES +(1, 16, 'DIET-5C00CA57366FE16', '2018-11-30 00:27:51', 'P', '22.00', NULL), +(2, 16, 'DIET-5C01425ACB7D916', '2018-11-30 08:59:54', 'P', '1427.90', NULL), +(3, 16, 'DIET-5C0143005B99816', '2018-11-30 09:02:40', 'P', '1122.70', NULL), +(4, 16, 'DIET-5C01462249A4316', '2018-11-30 09:16:02', 'P', '1100.90', NULL), +(5, 16, 'DIET-5C01479668E0A16', '2018-11-30 09:22:14', 'P', '1177.20', NULL), +(6, 16, 'DIET-5C014883AC23116', '2018-11-30 09:26:11', 'P', '1188.10', NULL), +(7, 16, 'DIET-5C0148FD8C9F016', '2018-11-30 09:28:13', 'P', '1133.60', NULL), +(8, 16, 'DIET-5C01494F6AB0716', '2018-11-30 09:29:35', 'P', '1188.10', NULL), +(9, 17, 'DIET-5C014A355E62017', '2018-11-30 09:33:25', 'P', '1188.10', NULL), +(10, 17, 'DIET-5C018CE8EF62917', '2018-11-30 14:18:01', 'P', '1.00', NULL), +(11, 17, 'DIET-5C018DB059E0D17', '2018-11-30 14:21:20', 'P', '1111.80', NULL), +(12, 17, 'DIET-5C01912A7E64817', '2018-11-30 14:36:10', 'P', '1220.80', NULL), +(13, 16, 'DIET-5C04A95BA66BB16', '2018-12-02 22:56:11', 'P', '76.30', NULL), +(14, 16, 'DIET-5C04BDF39C17F16', '2018-12-03 00:24:03', 'P', '13.20', NULL), +(15, 16, 'DIET-5C04BE0E76AB116', '2018-12-03 00:24:30', 'P', '13.20', NULL), +(16, 16, 'DIET-5C04BE1E986B316', '2018-12-03 00:24:46', 'P', '13.20', NULL), +(17, 16, 'DIET-5C04BE85B985916', '2018-12-03 00:26:29', 'P', '16.20', NULL), +(18, 16, 'DIET-5C04C29C051A316', '2018-12-03 00:43:56', 'P', '14.00', NULL), +(19, 16, 'DIET-5C04C3107D75816', '2018-12-03 00:45:52', 'P', '14.00', NULL), +(20, 16, 'DIET-5C04C683903EC16', '2018-12-03 01:00:35', 'P', '113.00', NULL), +(21, 16, 'DIET-5C04C6BDC621916', '2018-12-03 01:01:33', 'P', '103.00', NULL), +(22, 16, 'DIET-5C04CB5F7C1A116', '2018-12-03 01:21:19', 'P', '1103.00', NULL), +(23, 16, 'DIET-5C04CC115926016', '2018-12-03 01:24:17', 'P', '66.00', NULL); + +-- +-- Déclencheurs `commandes` +-- +DROP TRIGGER IF EXISTS `tai_commandes`; +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end +$$ +DELIMITER ; +DROP TRIGGER IF EXISTS `tbd_commandes`; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DROP TRIGGER IF EXISTS `tbi_commandes`; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `commandesproduits` +-- + +DROP TABLE IF EXISTS `commandesproduits`; +CREATE TABLE IF NOT EXISTS `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL, + PRIMARY KEY (`id_commande`,`id_produit`), + KEY `CommandesProduits_fk1` (`id_produit`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `commandesproduits` +-- + +INSERT INTO `commandesproduits` (`id_commande`, `id_produit`, `quantite`) VALUES +(1, 6, 1), +(1, 7, 1), +(2, 7, 131), +(3, 7, 103), +(4, 7, 101), +(5, 7, 108), +(6, 7, 109), +(7, 7, 104), +(8, 7, 109), +(9, 7, 109), +(10, 7, 103), +(11, 7, 102), +(12, 7, 112), +(13, 6, 5), +(13, 7, 1), +(14, 6, 1), +(15, 6, 1), +(16, 6, 1), +(17, 6, 1), +(18, 7, 1), +(19, 7, 1), +(20, 7, 10), +(21, 7, 10), +(22, 7, 100), +(23, 6, 5); + +-- +-- Déclencheurs `commandesproduits` +-- +DROP TRIGGER IF EXISTS `tai_commandesproduit`; +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `commentaires` +-- + +DROP TABLE IF EXISTS `commentaires`; +CREATE TABLE IF NOT EXISTS `commentaires` ( + `id_commentaire` int(11) NOT NULL AUTO_INCREMENT, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL, + PRIMARY KEY (`id_commentaire`,`id_compte`), + KEY `Commentaires_fk0` (`id_compte`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `comptes` +-- + +DROP TABLE IF EXISTS `comptes`; +CREATE TABLE IF NOT EXISTS `comptes` ( + `id_compte` int(11) NOT NULL AUTO_INCREMENT, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U', + PRIMARY KEY (`id_compte`), + KEY `id_compte` (`id_compte`) +) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'), +(17, 'michael.panadis@gmail.com', '$2y$10$luzF/37bwDBuO6gZP4lJHebEYd2EMqncKSVtujj7gSSQi4orUnOzq', 'panadis', 'michael', '4505687009', 'U'); + +-- +-- Déclencheurs `comptes` +-- +DROP TRIGGER IF EXISTS `tbd_comptes`; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `configuration` +-- + +DROP TABLE IF EXISTS `configuration`; +CREATE TABLE IF NOT EXISTS `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL, + PRIMARY KEY (`cle`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `configuration` +-- + +INSERT INTO `configuration` (`cle`, `valeur`) VALUES +('fonctionnement', 'Voici notre fonctionnement'), +('mission', 'Salut, ceci est notre mission'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `datescommandes` +-- + +DROP TABLE IF EXISTS `datescommandes`; +CREATE TABLE IF NOT EXISTS `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + PRIMARY KEY (`date_debut`,`date_fin`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `datescommandes` +-- + +INSERT INTO `datescommandes` (`date_debut`, `date_fin`, `nom`) VALUES +('2018-11-24 00:00:00', '2019-03-10 00:00:00', 'test'), +('2018-12-01 00:00:00', '2018-12-01 00:00:00', 'test2'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `datespaiements` +-- + +DROP TABLE IF EXISTS `datespaiements`; +CREATE TABLE IF NOT EXISTS `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + PRIMARY KEY (`date_debut`,`date_fin`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `events` +-- + +DROP TABLE IF EXISTS `events`; +CREATE TABLE IF NOT EXISTS `events` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8; + +-- +-- Déchargement des données de la table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-24 00:00:00', '2019-03-10 00:00:00'), +(16, 'test2', '#0071c5', '2018-12-01 00:00:00', '2018-12-01 00:00:00'); + +-- +-- Déclencheurs `events` +-- +DROP TRIGGER IF EXISTS `tai_events`; +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end); + end if; + +end +$$ +DELIMITER ; +DROP TRIGGER IF EXISTS `tau_events`; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `format` +-- + +DROP TABLE IF EXISTS `format`; +CREATE TABLE IF NOT EXISTS `format` ( + `id_format` int(11) NOT NULL AUTO_INCREMENT, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + PRIMARY KEY (`id_format`), + KEY `id_format` (`id_format`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `fournisseurs` +-- + +DROP TABLE IF EXISTS `fournisseurs`; +CREATE TABLE IF NOT EXISTS `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL, + PRIMARY KEY (`id_fournisseur`) +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`, `actif`) VALUES +(2, 'Metro', 'Fournier', NULL, '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', '', 1); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `fraisgestion` +-- + +DROP TABLE IF EXISTS `fraisgestion`; +CREATE TABLE IF NOT EXISTS `fraisgestion` ( + `id_frais` int(11) NOT NULL AUTO_INCREMENT, + `frais` decimal(20,3) NOT NULL DEFAULT '0.000', + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL, + PRIMARY KEY (`id_frais`) +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`, `type`, `actif`) VALUES +(1, '1.100', 'pourcentage', 1), +(2, '3.000', 'fixe', 0); + +-- +-- Déclencheurs `fraisgestion` +-- +DROP TRIGGER IF EXISTS `tbi_fraisgestion`; +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type) +$$ +DELIMITER ; +DROP TRIGGER IF EXISTS `tbu_fraisgestion`; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `historiquecommande` +-- + +DROP TABLE IF EXISTS `historiquecommande`; +CREATE TABLE IF NOT EXISTS `historiquecommande` ( + `id_historique` int(11) NOT NULL AUTO_INCREMENT, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL, + PRIMARY KEY (`id_historique`) +) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `historiquecommande` +-- + +INSERT INTO `historiquecommande` (`id_historique`, `id_commande`, `id_compte`, `numero_commande`, `c_nom`, `c_prenom`, `c_courriel`, `date`, `status`, `prix_total`, `trace_paiement`) VALUES +(1, 1, 16, 'DIET-5C00CA57366FE16', 'Admin', 'Admin', 'admin@admin.com', '2018-11-30 00:27:51', 'P', '22.00', NULL), +(2, 2, 16, 'DIET-5C01425ACB7D916', 'Admin', 'Admin', 'admin@admin.com', '2018-11-30 08:59:54', 'P', '1427.90', NULL), +(3, 3, 16, 'DIET-5C0143005B99816', 'Admin', 'Admin', 'admin@admin.com', '2018-11-30 09:02:40', 'P', '1122.70', NULL), +(4, 4, 16, 'DIET-5C01462249A4316', 'Admin', 'Admin', 'admin@admin.com', '2018-11-30 09:16:02', 'P', '1100.90', NULL), +(5, 5, 16, 'DIET-5C01479668E0A16', 'Admin', 'Admin', 'admin@admin.com', '2018-11-30 09:22:14', 'P', '1177.20', NULL), +(6, 6, 16, 'DIET-5C014883AC23116', 'Admin', 'Admin', 'admin@admin.com', '2018-11-30 09:26:11', 'P', '1188.10', NULL), +(7, 7, 16, 'DIET-5C0148FD8C9F016', 'Admin', 'Admin', 'admin@admin.com', '2018-11-30 09:28:13', 'P', '1133.60', NULL), +(8, 8, 16, 'DIET-5C01494F6AB0716', 'Admin', 'Admin', 'admin@admin.com', '2018-11-30 09:29:35', 'P', '1188.10', NULL), +(9, 9, 17, 'DIET-5C014A355E62017', 'panadis', 'michael', 'michael.panadis@gmail.com', '2018-11-30 09:33:25', 'P', '1188.10', NULL), +(10, 10, 17, 'DIET-5C018CE8EF62917', 'panadis', 'michael', 'michael.panadis@gmail.com', '2018-11-30 14:18:01', 'P', '1.00', NULL), +(11, 11, 17, 'DIET-5C018DB059E0D17', 'panadis', 'michael', 'michael.panadis@gmail.com', '2018-11-30 14:21:20', 'P', '1111.80', NULL), +(12, 12, 17, 'DIET-5C01912A7E64817', 'panadis', 'michael', 'michael.panadis@gmail.com', '2018-11-30 14:36:10', 'P', '1220.80', NULL), +(13, 13, 16, 'DIET-5C04A95BA66BB16', 'Admin', 'Admin', 'admin@admin.com', '2018-12-02 22:56:11', 'P', '76.30', NULL), +(14, 14, 16, 'DIET-5C04BDF39C17F16', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 00:24:03', 'P', '13.20', NULL), +(15, 15, 16, 'DIET-5C04BE0E76AB116', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 00:24:30', 'P', '13.20', NULL), +(16, 16, 16, 'DIET-5C04BE1E986B316', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 00:24:46', 'P', '13.20', NULL), +(17, 17, 16, 'DIET-5C04BE85B985916', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 00:26:29', 'P', '16.20', NULL), +(18, 18, 16, 'DIET-5C04C29C051A316', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 00:43:56', 'P', '14.00', NULL), +(19, 19, 16, 'DIET-5C04C3107D75816', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 00:45:52', 'P', '14.00', NULL), +(20, 20, 16, 'DIET-5C04C683903EC16', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 01:00:35', 'P', '113.00', NULL), +(21, 21, 16, 'DIET-5C04C6BDC621916', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 01:01:33', 'P', '103.00', NULL), +(22, 22, 16, 'DIET-5C04CB5F7C1A116', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 01:21:19', 'P', '1103.00', NULL), +(23, 23, 16, 'DIET-5C04CC115926016', 'Admin', 'Admin', 'admin@admin.com', '2018-12-03 01:24:17', 'P', '66.00', NULL); + +-- +-- Déclencheurs `historiquecommande` +-- +DROP TRIGGER IF EXISTS `tbd_historiquecommande`; +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `historiquecommandeproduit` +-- + +DROP TABLE IF EXISTS `historiquecommandeproduit`; +CREATE TABLE IF NOT EXISTS `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL, + PRIMARY KEY (`id_historique`,`id_produit`), + KEY `historiquecommandeproduit_id_historique_index` (`id_historique`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `historiquecommandeproduit` +-- + +INSERT INTO `historiquecommandeproduit` (`id_historique`, `id_produit`, `p_nom`, `p_description`, `p_marque`, `p_commandemin`, `p_limiteachat`, `p_economie`, `p_unite`, `p_format`, `p_categorie`, `quantite`) VALUES +(1, 6, 'Farine', 'Une bonne farine', 'Francine', 5, 5, '', '1', 'kg', 'Divers', 1), +(1, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 1), +(2, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 131), +(3, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 103), +(4, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 101), +(5, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 108), +(6, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 109), +(7, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 104), +(8, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 109), +(9, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 109), +(10, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 103), +(11, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 102), +(12, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 112), +(13, 6, 'Farine', 'Une bonne farine', 'Francine', 5, 5, '', '1', 'kg', 'Divers', 5), +(13, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 1), +(14, 6, 'Farine', 'Une bonne farine', 'Francine', 5, 5, '', '1', 'kg', 'Divers', 1), +(15, 6, 'Farine', 'Une bonne farine', 'Francine', 5, 5, '', '1', 'kg', 'Divers', 1), +(16, 6, 'Farine', 'Une bonne farine', 'Francine', 5, 5, '', '1', 'kg', 'Divers', 1), +(17, 6, 'Farine', 'Une bonne farine', 'Francine', 5, 5, '', '1', 'kg', 'Divers', 1), +(18, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 1), +(19, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 1), +(20, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 10), +(21, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 10), +(22, 7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, 0, '', '1', 'kg', 'Viandes', 100), +(23, 6, 'Farine', 'Une bonne farine', 'Francine', 5, 5, '', '1', 'kg', 'Divers', 5); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `historiquefraisgestion` +-- + +DROP TABLE IF EXISTS `historiquefraisgestion`; +CREATE TABLE IF NOT EXISTS `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(20,3) NOT NULL, + `type` varchar(15) COLLATE utf8_bin NOT NULL, + PRIMARY KEY (`id_frais`,`date`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`, `type`) VALUES +(1, '2018-12-03 00:12:53', '1.090', 'pourcentage'), +(1, '2018-12-03 00:22:48', '1.100', 'pourcentage'), +(1, '2018-12-03 00:23:35', '1.100', 'pourcentage'), +(1, '2018-12-03 00:23:38', '1.100', 'pourcentage'), +(1, '2018-12-03 00:23:54', '1.100', 'pourcentage'), +(1, '2018-12-03 01:01:03', '1.100', 'pourcentage'), +(1, '2018-12-03 01:18:51', '1.100', 'pourcentage'), +(2, '2018-12-03 00:12:57', '3.000', 'fixe'), +(2, '2018-12-03 00:14:31', '3.000', 'fixe'), +(2, '2018-12-03 00:23:02', '3.000', 'fixe'), +(2, '2018-12-03 01:23:04', '3.000', 'fixe'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `panier` +-- + +DROP TABLE IF EXISTS `panier`; +CREATE TABLE IF NOT EXISTS `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL, + PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + KEY `Panier_fk0` (`id_produit`), + KEY `id_compte` (`id_compte`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `produits` +-- + +DROP TABLE IF EXISTS `produits`; +CREATE TABLE IF NOT EXISTS `produits` ( + `id_produit` int(11) NOT NULL AUTO_INCREMENT, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + PRIMARY KEY (`id_produit`), + KEY `Produits_fk0` (`categorie`), + KEY `Produits_fk1` (`id_compte`), + KEY `format` (`format`) +) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 5, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- +-- Déclencheurs `produits` +-- +DROP TRIGGER IF EXISTS `tau_produits`; +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; +DROP TRIGGER IF EXISTS `tbd_produits`; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `produitsfournisseurs` +-- + +DROP TABLE IF EXISTS `produitsfournisseurs`; +CREATE TABLE IF NOT EXISTS `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL, + PRIMARY KEY (`id_produit`,`id_fournisseur`), + KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déchargement des données de la table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '12.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `tracepaiements` +-- + +DROP TABLE IF EXISTS `tracepaiements`; +CREATE TABLE IF NOT EXISTS `tracepaiements` ( + `id_paiement` int(11) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`id_paiement`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contraintes pour les tables déchargées +-- + +-- +-- Contraintes pour la table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Contraintes pour la table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Contraintes pour la table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Contraintes pour la table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Contraintes pour la table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Contraintes pour la table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Contraintes pour la table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v22.sql b/sql/dietetique_v22.sql new file mode 100644 index 0000000..858c0e8 --- /dev/null +++ b/sql/dietetique_v22.sql @@ -0,0 +1,989 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Dec 05, 2018 at 09:55 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`, `actif`) VALUES +(1, 'Fruits et Légumes', 1), +(2, 'Viandes', 1), +(3, 'Divers', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + + if new.status = 'P' + then + open c_panier; + + panier_loop: loop + fetch c_panier + into v_produit, v_quantite; + + IF done + THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_commandes` AFTER UPDATE ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + + if old.status = 'N' then + + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `configuration` +-- + +INSERT INTO `configuration` (`cle`, `valeur`) VALUES +('fonctionnement', 'Voici notre fonctionnement'), +('mission', 'Salut, ceci est notre mission'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`date_debut`, `date_fin`, `nom`) VALUES +('2018-11-24 00:00:00', '2019-03-10 00:00:00', 'test'), +('2018-12-01 00:00:00', '2018-12-01 00:00:00', 'test2'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-24 00:00:00', '2019-03-10 00:00:00'), +(16, 'test2', '#0071c5', '2018-12-01 00:00:00', '2018-12-01 00:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`, `actif`) VALUES +(2, 'Metro', 'Fournier', NULL, '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', '', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(20,3) NOT NULL DEFAULT '0.000', + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`, `type`, `actif`) VALUES +(1, '1.100', 'pourcentage', 1), +(2, '3.000', 'fixe', 0); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(20,3) NOT NULL, + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`, `type`, `actif`) VALUES +(1, '2018-12-03 00:12:53', '1.090', 'pourcentage', 1), +(1, '2018-12-03 00:22:48', '1.100', 'pourcentage', 1), +(1, '2018-12-03 00:23:35', '1.100', 'pourcentage', 1), +(1, '2018-12-03 00:23:38', '1.100', 'pourcentage', 1), +(1, '2018-12-03 00:23:54', '1.100', 'pourcentage', 1), +(1, '2018-12-03 01:01:03', '1.100', 'pourcentage', 1), +(1, '2018-12-03 01:18:51', '1.100', 'pourcentage', 1), +(2, '2018-12-03 00:12:57', '3.000', 'fixe', 1), +(2, '2018-12-03 00:14:31', '3.000', 'fixe', 1), +(2, '2018-12-03 00:23:02', '3.000', 'fixe', 1), +(2, '2018-12-03 01:23:04', '3.000', 'fixe', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `password_resets` +-- + +CREATE TABLE `password_resets` ( + `id_reset` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `selector` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `token` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `expires` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `frais_fixe` decimal(20,2) NOT NULL DEFAULT '0.00', + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `frais_fixe`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 5, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, '0.00', NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, '0.00', NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '12.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL, + `authorization` varchar(255) COLLATE utf8_bin NOT NULL, + `invoice` varchar(255) COLLATE utf8_bin NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD PRIMARY KEY (`id_reset`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `password_resets` +-- +ALTER TABLE `password_resets` + MODIFY `id_reset` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v23.sql b/sql/dietetique_v23.sql new file mode 100644 index 0000000..f88fe82 --- /dev/null +++ b/sql/dietetique_v23.sql @@ -0,0 +1,1114 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Dec 06, 2018 at 10:47 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`, `actif`) VALUES +(1, 'Fruits et Légumes', 1), +(2, 'Viandes', 1), +(3, 'Divers', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + + if new.status = 'P' + then + open c_panier; + + panier_loop: loop + fetch c_panier + into v_produit, v_quantite; + + IF done + THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_commandes` AFTER UPDATE ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + + if old.status = 'N' then + + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `poste`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', '', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `configuration` +-- + +INSERT INTO `configuration` (`cle`, `valeur`) VALUES +('fonctionnement', 'Voici notre fonctionnement'), +('mission', 'Salut, ceci est notre mission'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `id_periode` int(11) NOT NULL, + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`id_periode`, `date_debut`, `date_fin`, `nom`) VALUES +(1, '2018-11-24 00:00:00', '2019-03-10 00:00:00', 'test'), +(2, '2018-12-01 00:00:00', '2018-12-01 00:00:00', 'test2'), +(3, '2018-12-06 00:00:00', '2018-12-07 00:00:00', 'commande'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(16, 'test2', '#0071c5', '2018-12-01 00:00:00', '2018-12-01 00:00:00'), +(18, 'commande', '#0071c5', '2018-12-06 00:00:00', '2018-12-07 00:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tad` AFTER DELETE ON `events` FOR EACH ROW begin + +delete from datescommandes where id_periode = old.id; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.id, new.start, new.end, new.title); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (null, new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`, `actif`) VALUES +(1, 'kg', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `role` varchar(255) COLLATE utf8_bin NOT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `role`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`, `actif`) VALUES +(2, 'Metro', 'Fournier', '', '', '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', '', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(20,3) NOT NULL DEFAULT '0.000', + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`, `type`, `actif`) VALUES +(1, '1.080', 'pourcentage', 1), +(2, '5.000', 'fixe', 0); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(20,3) NOT NULL, + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`, `type`, `actif`) VALUES +(1, '2018-12-03 00:12:53', '1.090', 'pourcentage', 1), +(1, '2018-12-03 00:22:48', '1.100', 'pourcentage', 1), +(1, '2018-12-03 00:23:35', '1.100', 'pourcentage', 1), +(1, '2018-12-03 00:23:38', '1.100', 'pourcentage', 1), +(1, '2018-12-03 00:23:54', '1.100', 'pourcentage', 1), +(1, '2018-12-03 01:01:03', '1.100', 'pourcentage', 1), +(1, '2018-12-03 01:18:51', '1.100', 'pourcentage', 1), +(1, '2018-12-05 16:03:52', '1.100', 'pourcentage', 0), +(1, '2018-12-05 16:03:54', '1.100', 'pourcentage', 1), +(1, '2018-12-05 16:04:00', '1.050', 'pourcentage', 1), +(1, '2018-12-05 16:04:01', '1.050', 'pourcentage', 0), +(1, '2018-12-05 16:04:06', '1.070', 'pourcentage', 0), +(1, '2018-12-05 16:04:07', '1.070', 'pourcentage', 1), +(1, '2018-12-05 16:04:20', '1.070', 'pourcentage', 1), +(1, '2018-12-05 16:04:23', '1.070', 'pourcentage', 1), +(1, '2018-12-05 17:48:12', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:06:35', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:06:36', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:06:37', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:06:38', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:09:03', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:09:04', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:09:05', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:09:17', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:09:18', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:09:19', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:09:20', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:09:21', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:09:22', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:09:23', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:09:24', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:10:36', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:10:37', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:10:49', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:10:50', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:28:16', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:28:20', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:28:25', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:30:04', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:30:05', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:30:06', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:30:07', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:30:08', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:33:02', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:33:03', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:33:04', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:33:05', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:33:06', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:33:07', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:33:08', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:33:09', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:33:10', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:33:53', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:33:55', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:33:58', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:33:59', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:34:00', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:34:01', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:09', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:40:10', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:11', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:12', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:13', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:20', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:40:21', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:22', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:23', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:40:24', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:25', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:26', '1.080', 'pourcentage', 1), +(1, '2018-12-06 16:40:27', '1.080', 'pourcentage', 0), +(1, '2018-12-06 16:40:28', '1.080', 'pourcentage', 1), +(2, '2018-12-03 00:12:57', '3.000', 'fixe', 1), +(2, '2018-12-03 00:14:31', '3.000', 'fixe', 1), +(2, '2018-12-03 00:23:02', '3.000', 'fixe', 1), +(2, '2018-12-03 01:23:04', '3.000', 'fixe', 0), +(2, '2018-12-05 16:38:36', '5.000', 'fixe', 0), +(2, '2018-12-06 16:30:45', '5.000', 'fixe', 1), +(2, '2018-12-06 16:30:47', '5.000', 'fixe', 1), +(2, '2018-12-06 16:30:49', '5.000', 'fixe', 1), +(2, '2018-12-06 16:31:33', '5.000', 'fixe', 0), +(2, '2018-12-06 16:31:34', '5.000', 'fixe', 1), +(2, '2018-12-06 16:32:30', '5.000', 'fixe', 1), +(2, '2018-12-06 16:32:31', '5.000', 'fixe', 1), +(2, '2018-12-06 16:32:32', '5.000', 'fixe', 1), +(2, '2018-12-06 16:32:36', '5.000', 'fixe', 0), +(2, '2018-12-06 16:32:39', '5.000', 'fixe', 1), +(2, '2018-12-06 16:33:11', '5.000', 'fixe', 0), +(2, '2018-12-06 16:33:12', '5.000', 'fixe', 1), +(2, '2018-12-06 16:33:13', '5.000', 'fixe', 1), +(2, '2018-12-06 16:33:15', '5.000', 'fixe', 1), +(2, '2018-12-06 16:33:16', '5.000', 'fixe', 1), +(2, '2018-12-06 16:33:46', '5.000', 'fixe', 1), +(2, '2018-12-06 16:34:02', '5.000', 'fixe', 1), +(2, '2018-12-06 16:34:03', '5.000', 'fixe', 1), +(2, '2018-12-06 16:35:54', '5.000', 'fixe', 1), +(2, '2018-12-06 16:35:55', '5.000', 'fixe', 1), +(2, '2018-12-06 16:40:06', '5.000', 'fixe', 0), +(2, '2018-12-06 16:40:07', '5.000', 'fixe', 1), +(2, '2018-12-06 16:40:08', '5.000', 'fixe', 1), +(2, '2018-12-06 16:40:19', '5.000', 'fixe', 1), +(2, '2018-12-06 16:41:05', '5.000', 'fixe', 0), +(2, '2018-12-06 16:41:06', '5.000', 'fixe', 1), +(2, '2018-12-06 16:41:07', '5.000', 'fixe', 1), +(2, '2018-12-06 16:41:08', '5.000', 'fixe', 1), +(2, '2018-12-06 16:41:12', '5.000', 'fixe', 0), +(2, '2018-12-06 16:41:13', '5.000', 'fixe', 1), +(2, '2018-12-06 16:41:14', '5.000', 'fixe', 0), +(2, '2018-12-06 16:41:15', '5.000', 'fixe', 1), +(2, '2018-12-06 16:41:29', '5.000', 'fixe', 0), +(2, '2018-12-06 16:41:35', '5.000', 'fixe', 1), +(2, '2018-12-06 16:41:36', '5.000', 'fixe', 0), +(2, '2018-12-06 16:41:39', '5.000', 'fixe', 1), +(2, '2018-12-06 16:41:40', '5.000', 'fixe', 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `password_resets` +-- + +CREATE TABLE `password_resets` ( + `id_reset` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `selector` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `expires` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `frais_fixe` decimal(20,2) NOT NULL DEFAULT '0.00', + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `frais_fixe`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 5, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, '0.00', NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, '0.00', NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + if (new.limite_achat != 0) then + call updatelimiteproduit(new.id_produit, new.limite_achat); + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '12.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL, + `authorization` varchar(255) COLLATE utf8_bin NOT NULL, + `invoice` varchar(255) COLLATE utf8_bin NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`id_periode`) USING BTREE; + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD PRIMARY KEY (`id_reset`), + ADD KEY `comptes_fk0` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `password_resets` +-- +ALTER TABLE `password_resets` + MODIFY `id_reset` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD CONSTRAINT `comptes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v23JL.sql b/sql/dietetique_v23JL.sql new file mode 100644 index 0000000..4227aad --- /dev/null +++ b/sql/dietetique_v23JL.sql @@ -0,0 +1,974 @@ +-- phpMyAdmin SQL Dump +-- version 4.6.4 +-- https://www.phpmyadmin.net/ +-- +-- Client : 127.0.0.1 +-- Généré le : Jeu 06 Décembre 2018 à 18:54 +-- Version du serveur : 5.7.14 +-- Version de PHP : 7.0.10 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Base de données : `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procédures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Contenu de la table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`, `actif`) VALUES +(1, 'Fruits et Légumes', 1), +(2, 'Viandes', 1), +(3, 'Divers', 1); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Déclencheurs `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + + if new.status = 'P' + then + open c_panier; + + panier_loop: loop + fetch c_panier + into v_produit, v_quantite; + + IF done + THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_commandes` AFTER UPDATE ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + + if old.status = 'N' then + + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déclencheurs `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `poste` int(11) DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contenu de la table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `poste`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', NULL, 'A'); + +-- +-- Déclencheurs `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contenu de la table `configuration` +-- + +INSERT INTO `configuration` (`cle`, `valeur`) VALUES +('fonctionnement', 'Voici notre fonctionnement'), +('mission', 'Salut, ceci est notre mission'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contenu de la table `datescommandes` +-- + +INSERT INTO `datescommandes` (`date_debut`, `date_fin`, `nom`) VALUES +('2018-11-24 00:00:00', '2019-03-10 00:00:00', 'test'), +('2018-12-01 00:00:00', '2018-12-01 00:00:00', 'test2'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Contenu de la table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(15, 'test', '#0071c5', '2018-11-24 00:00:00', '2019-03-10 00:00:00'), +(16, 'test2', '#0071c5', '2018-12-01 00:00:00', '2018-12-01 00:00:00'); + +-- +-- Déclencheurs `events` +-- +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.start, new.end); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contenu de la table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `role` varchar(40) COLLATE utf8_bin DEFAULT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contenu de la table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `role`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`, `actif`) VALUES +(2, 'Metro', 'Fournier', NULL, '', '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', '', 1); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(20,3) NOT NULL DEFAULT '0.000', + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contenu de la table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`, `type`, `actif`) VALUES +(1, '1.100', 'pourcentage', 1), +(2, '3.000', 'fixe', 0); + +-- +-- Déclencheurs `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Déclencheurs `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(20,3) NOT NULL, + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contenu de la table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`, `type`, `actif`) VALUES +(1, '2018-12-03 00:12:53', '1.090', 'pourcentage', 1), +(1, '2018-12-03 00:22:48', '1.100', 'pourcentage', 1), +(1, '2018-12-03 00:23:35', '1.100', 'pourcentage', 1), +(1, '2018-12-03 00:23:38', '1.100', 'pourcentage', 1), +(1, '2018-12-03 00:23:54', '1.100', 'pourcentage', 1), +(1, '2018-12-03 01:01:03', '1.100', 'pourcentage', 1), +(1, '2018-12-03 01:18:51', '1.100', 'pourcentage', 1), +(2, '2018-12-03 00:12:57', '3.000', 'fixe', 1), +(2, '2018-12-03 00:14:31', '3.000', 'fixe', 1), +(2, '2018-12-03 00:23:02', '3.000', 'fixe', 1), +(2, '2018-12-03 01:23:04', '3.000', 'fixe', 1); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `password_resets` +-- + +CREATE TABLE `password_resets` ( + `id_reset` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `selector` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `token` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `expires` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `frais_fixe` decimal(20,2) NOT NULL DEFAULT '0.00', + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contenu de la table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `frais_fixe`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 5, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, '0.00', NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, '0.00', NULL, 'A'); + +-- +-- Déclencheurs `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Contenu de la table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '12.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL, + `authorization` varchar(255) COLLATE utf8_bin NOT NULL, + `invoice` varchar(255) COLLATE utf8_bin NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Index pour les tables exportées +-- + +-- +-- Index pour la table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Index pour la table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Index pour la table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Index pour la table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Index pour la table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Index pour la table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Index pour la table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Index pour la table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Index pour la table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Index pour la table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Index pour la table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Index pour la table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Index pour la table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Index pour la table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Index pour la table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Index pour la table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Index pour la table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Index pour la table `password_resets` +-- +ALTER TABLE `password_resets` + ADD PRIMARY KEY (`id_reset`); + +-- +-- Index pour la table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Index pour la table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Index pour la table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT pour les tables exportées +-- + +-- +-- AUTO_INCREMENT pour la table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT pour la table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; +-- +-- AUTO_INCREMENT pour la table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT pour la table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT pour la table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; +-- +-- AUTO_INCREMENT pour la table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; +-- +-- AUTO_INCREMENT pour la table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT pour la table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT pour la table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT pour la table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT pour la table `password_resets` +-- +ALTER TABLE `password_resets` + MODIFY `id_reset` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT pour la table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; +-- +-- AUTO_INCREMENT pour la table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; +-- +-- Contraintes pour les tables exportées +-- + +-- +-- Contraintes pour la table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Contraintes pour la table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Contraintes pour la table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Contraintes pour la table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Contraintes pour la table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Contraintes pour la table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Contraintes pour la table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v24.sql b/sql/dietetique_v24.sql new file mode 100644 index 0000000..c664e40 --- /dev/null +++ b/sql/dietetique_v24.sql @@ -0,0 +1,1014 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Dec 07, 2018 at 02:15 AM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`, `actif`) VALUES +(1, 'Fruits et Légumes', 1), +(2, 'Viandes', 1), +(3, 'Divers', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + + if new.status = 'P' + then + open c_panier; + + panier_loop: loop + fetch c_panier + into v_produit, v_quantite; + + IF done + THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_commandes` AFTER UPDATE ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + + if old.status = 'N' then + + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_prix decimal(20,2); + declare v_fraisfixe decimal(20,2); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p2.prix, + p.frais_fixe, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_prix, v_fraisfixe, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + inner join produitsfournisseurs p2 on p.id_produit = p2.id_produit + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_prix, + v_fraisfixe, + v_categorie, + new.quantite); + +end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `poste`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', '', 'A'), +(18, 'anthonyrobert1997@hotmail.fr', '$2y$10$QYRDoIvq39s.m/6O4BMxIecMingyCTMGsd1V49ct2lL0QdMIUDLHm', 'Robert', 'Anthony', '8199447206', '', 'E'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `configuration` +-- + +INSERT INTO `configuration` (`cle`, `valeur`) VALUES +('fonctionnement', 'Voici notre fonctionnement'), +('mission', 'Salut, ceci est notre mission'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `id_periode` int(11) NOT NULL, + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`id_periode`, `date_debut`, `date_fin`, `nom`) VALUES +(1, '2018-11-24 00:00:00', '2019-03-10 00:00:00', 'test'), +(2, '2018-12-01 00:00:00', '2018-12-01 00:00:00', 'test2'), +(3, '2018-12-06 00:00:00', '2018-12-07 00:00:00', 'commande'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(16, 'test2', '#0071c5', '2018-12-01 00:00:00', '2018-12-01 00:00:00'), +(18, 'commande', '#0071c5', '2018-12-06 00:00:00', '2018-12-07 00:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tad` AFTER DELETE ON `events` FOR EACH ROW begin + +delete from datescommandes where id_periode = old.id; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.id, new.start, new.end, new.title); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (null, new.start, new.end, new.title); + end if; + + end if; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`, `actif`) VALUES +(1, 'kg', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `role` varchar(255) COLLATE utf8_bin NOT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `role`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`, `actif`) VALUES +(2, 'Metro', 'Fournier', '', '', '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', '', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(20,3) NOT NULL DEFAULT '0.000', + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`, `type`, `actif`) VALUES +(1, '1.000', 'pourcentage', 1), +(2, '0.000', 'fixe', 1); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_prix` decimal(20,2) NOT NULL, + `p_fraisfixe` decimal(20,2) NOT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(20,3) NOT NULL, + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`, `type`, `actif`) VALUES +(1, '2018-12-06 20:13:47', '1.000', 'pourcentage', 1), +(2, '2018-12-06 20:13:53', '0.000', 'fixe', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `password_resets` +-- + +CREATE TABLE `password_resets` ( + `id_reset` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `selector` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `expires` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `frais_fixe` decimal(20,2) NOT NULL DEFAULT '0.00', + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `frais_fixe`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 5, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, '0.00', NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, '0.00', NULL, 'A'), +(8, 'Bleuet', 'De bons bleuets de la Gaspésie', 'Driscoll\'s', 36, 'Vous économisez 15% par rapport à IGA', 'uploads_5c09a6c0b41714.28565702.jpeg', 'uploads_5c09a6c0b44af7.43238973.png', 1, '1', 8, 1, '0.50', NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + if (new.limite_achat != 0) then + call updatelimiteproduit(new.id_produit, new.limite_achat); + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '12.00', NULL), +(7, 2, '10.00', NULL), +(8, 2, '8.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL, + `authorization` varchar(255) COLLATE utf8_bin NOT NULL, + `invoice` varchar(255) COLLATE utf8_bin NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`id_periode`) USING BTREE; + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD PRIMARY KEY (`id_reset`), + ADD KEY `comptes_fk0` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; + +-- +-- AUTO_INCREMENT for table `password_resets` +-- +ALTER TABLE `password_resets` + MODIFY `id_reset` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD CONSTRAINT `comptes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v25.sql b/sql/dietetique_v25.sql new file mode 100644 index 0000000..454ef0d --- /dev/null +++ b/sql/dietetique_v25.sql @@ -0,0 +1,1012 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Dec 07, 2018 at 03:30 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`, `actif`) VALUES +(1, 'Fruits et Légumes', 1), +(2, 'Viandes', 1), +(3, 'Divers', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + + if new.status = 'P' + then + open c_panier; + + panier_loop: loop + fetch c_panier + into v_produit, v_quantite; + + IF done + THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_commandes` AFTER UPDATE ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + + if old.status = 'N' then + + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_prix decimal(20,2); + declare v_fraisfixe decimal(20,2); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p2.prix, + p.frais_fixe, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_prix, v_fraisfixe, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + inner join produitsfournisseurs p2 on p.id_produit = p2.id_produit + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_prix, + v_fraisfixe, + v_categorie, + new.quantite); + +end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `poste`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', '', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `configuration` +-- + +INSERT INTO `configuration` (`cle`, `valeur`) VALUES +('fonctionnement', 'Voici notre fonctionnement'), +('mission', 'Salut, ceci est notre mission'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `id_periode` int(11) NOT NULL, + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`id_periode`, `date_debut`, `date_fin`, `nom`) VALUES +(18, '2018-12-06 00:00:00', '2018-12-07 00:00:00', 'commandes'), +(20, '2018-12-07 14:14:02', '2018-12-07 14:14:13', 'lol'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(18, 'commandes', '#0071c5', '2018-12-06 00:00:00', '2018-12-07 00:00:00'), +(20, 'lol', '#0071c5', '2018-12-07 14:14:02', '2018-12-07 14:14:13'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tad_events` AFTER DELETE ON `events` FOR EACH ROW begin + +delete from datescommandes where id_periode = old.id; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.id, new.start, new.end, new.title); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb + from datescommandes + where id_periode = old.id; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where id_periode = old.id; + else + insert into datescommandes values (old.id, new.start, new.end, new.title); + end if; + + end if; + +end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`, `actif`) VALUES +(1, 'kg', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `role` varchar(255) COLLATE utf8_bin NOT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `role`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`, `actif`) VALUES +(2, 'Metro', 'Fournier', '', '', '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', '', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(20,3) NOT NULL DEFAULT '0.000', + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`, `type`, `actif`) VALUES +(1, '1.000', 'pourcentage', 1), +(2, '0.000', 'fixe', 1); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_prix` decimal(20,2) NOT NULL, + `p_fraisfixe` decimal(20,2) NOT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(20,3) NOT NULL, + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`, `type`, `actif`) VALUES +(1, '2018-12-06 20:13:47', '1.000', 'pourcentage', 1), +(2, '2018-12-06 20:13:53', '0.000', 'fixe', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `password_resets` +-- + +CREATE TABLE `password_resets` ( + `id_reset` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `selector` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `expires` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `frais_fixe` decimal(20,2) NOT NULL DEFAULT '0.00', + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `frais_fixe`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 5, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, '1', 5, 3, '0.00', NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse\'', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, '0.00', NULL, 'A'), +(8, 'Bleuet', 'De bons bleuets de la Gaspésie', 'Driscoll\'s', 36, 'Vous économisez 15% par rapport à IGA', 'uploads_5c09a6c0b41714.28565702.jpeg', 'uploads_5c09a6c0b44af7.43238973.png', 1, '1', 8, 1, '0.50', NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + if (new.limite_achat != 0) then + call updatelimiteproduit(new.id_produit, new.limite_achat); + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '12.00', NULL), +(7, 2, '10.00', NULL), +(8, 2, '8.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL, + `authorization` varchar(255) COLLATE utf8_bin NOT NULL, + `invoice` varchar(255) COLLATE utf8_bin NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`id_periode`) USING BTREE; + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD PRIMARY KEY (`id_reset`), + ADD KEY `comptes_fk0` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `password_resets` +-- +ALTER TABLE `password_resets` + MODIFY `id_reset` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD CONSTRAINT `comptes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v26.sql b/sql/dietetique_v26.sql new file mode 100644 index 0000000..c75f125 --- /dev/null +++ b/sql/dietetique_v26.sql @@ -0,0 +1,1016 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Dec 09, 2018 at 04:43 AM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +DELIMITER $$ +-- +-- Procedures +-- +CREATE DEFINER=`root`@`localhost` PROCEDURE `updatelimiteproduit` (IN `p_id` INT, IN `p_limite` INT) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end$$ + +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`, `actif`) VALUES +(1, 'Fruits et Légumes', 1), +(2, 'Viandes', 1), +(3, 'Divers', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(20,2) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_telephone varchar(255); + declare v_poste varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.telephone, c.poste, c.courriel into v_nom, v_prenom, v_telephone, v_poste, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (null, + new.id_commande, + new.id_compte, + new.numero_commande, + v_nom, + v_prenom, + v_telephone, + v_poste, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + + if new.status = 'P' + then + open c_panier; + + panier_loop: loop + fetch c_panier + into v_produit, v_quantite; + + IF done + THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_commandes` AFTER UPDATE ON `commandes` FOR EACH ROW begin + + DECLARE done INT DEFAULT FALSE; + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + + if old.status = 'N' then + + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_commandes` BEFORE DELETE ON `commandes` FOR EACH ROW begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbi_commandes` BEFORE INSERT ON `commandes` FOR EACH ROW begin + + set new.date = now(); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_prix decimal(20,2); + declare v_fraisfixe decimal(20,2); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p2.prix, + p.frais_fixe, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_prix, v_fraisfixe, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + inner join produitsfournisseurs p2 on p.id_produit = p2.id_produit + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_prix, + v_fraisfixe, + v_categorie, + new.quantite); + +end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `poste`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', '', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `configuration` +-- + +INSERT INTO `configuration` (`cle`, `valeur`) VALUES +('fonctionnement', 'Le fonctionnement d\'un regroupements d\'achats est très simple. Nous faisons affaires avec plusieurs fournisseurs pour pouvoir offrir des prix compétitifs en commandant en vrac.'), +('mission', 'Bienvenue sur notre site de regroupements d\'achats ! Le but de notre projet est simple : offrir des produits moins chers que les épiceries en achetant en vrac.'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `id_periode` int(11) NOT NULL, + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `datescommandes` +-- + +INSERT INTO `datescommandes` (`id_periode`, `date_debut`, `date_fin`, `nom`) VALUES +(18, '2018-12-06 00:00:00', '2018-12-07 00:00:00', 'commandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `events` +-- + +CREATE TABLE `events` ( + `id` int(11) NOT NULL, + `title` varchar(255) NOT NULL, + `color` varchar(7) DEFAULT NULL, + `start` datetime NOT NULL, + `end` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `events` +-- + +INSERT INTO `events` (`id`, `title`, `color`, `start`, `end`) VALUES +(18, 'commandes', '#0071c5', '2018-12-06 00:00:00', '2018-12-07 00:00:00'); + +-- +-- Triggers `events` +-- +DELIMITER $$ +CREATE TRIGGER `tad_events` AFTER DELETE ON `events` FOR EACH ROW begin + +delete from datescommandes where id_periode = old.id; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tai_events` AFTER INSERT ON `events` FOR EACH ROW begin + + if new.color = '#0071c5' then + insert into datescommandes values(new.id, new.start, new.end, new.title); + end if; + +end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tau_events` AFTER UPDATE ON `events` FOR EACH ROW begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb + from datescommandes + where id_periode = old.id; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where id_periode = old.id; + else + insert into datescommandes values (old.id, new.start, new.end, new.title); + end if; + + end if; + +end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`, `actif`) VALUES +(1, 'kg', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `succursale` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `nom_contact` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `role` varchar(255) COLLATE utf8_bin NOT NULL, + `adresse` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `ville` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `code_postal` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `tel_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `succursale`, `nom_contact`, `role`, `adresse`, `ville`, `code_postal`, `telephone`, `tel_poste`, `actif`) VALUES +(2, 'Metro', 'Fournier', '', '', '850 Boulevard Thibeau', 'Trois-Rivières', 'G8T7A6', '8193763028', '', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fraisgestion` +-- + +CREATE TABLE `fraisgestion` ( + `id_frais` int(11) NOT NULL, + `frais` decimal(20,3) NOT NULL DEFAULT '0.000', + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fraisgestion` +-- + +INSERT INTO `fraisgestion` (`id_frais`, `frais`, `type`, `actif`) VALUES +(1, '1.000', 'pourcentage', 1), +(2, '0.000', 'fixe', 1); + +-- +-- Triggers `fraisgestion` +-- +DELIMITER $$ +CREATE TRIGGER `tbi_fraisgestion` BEFORE INSERT ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbu_fraisgestion` BEFORE UPDATE ON `fraisgestion` FOR EACH ROW insert into historiquefraisgestion VALUES (new.id_frais, now(), new.frais, new.type, new.actif) +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `numero_commande` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_telephone` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_poste` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `historiquecommande` +-- +DELIMITER $$ +CREATE TRIGGER `tbd_historiquecommande` BEFORE DELETE ON `historiquecommande` FOR EACH ROW begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_prix` decimal(20,2) NOT NULL, + `p_fraisfixe` decimal(20,2) NOT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquefraisgestion` +-- + +CREATE TABLE `historiquefraisgestion` ( + `id_frais` int(11) NOT NULL, + `date` datetime NOT NULL, + `frais` decimal(20,3) NOT NULL, + `type` varchar(15) COLLATE utf8_bin NOT NULL, + `actif` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `historiquefraisgestion` +-- + +INSERT INTO `historiquefraisgestion` (`id_frais`, `date`, `frais`, `type`, `actif`) VALUES +(1, '2018-12-06 20:13:47', '1.000', 'pourcentage', 1), +(2, '2018-12-06 20:13:53', '0.000', 'fixe', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `password_resets` +-- + +CREATE TABLE `password_resets` ( + `id_reset` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `selector` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `expires` datetime DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` int(11) NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `frais_fixe` decimal(20,2) NOT NULL DEFAULT '0.00', + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `frais_fixe`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 1, '', 'uploads_5bfd4b8be02ad7.90388594.jpg', NULL, 1, 0, 0, 3, '0.00', NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, 1, 0, 2, '0.00', NULL, 'A'), +(8, 'Bleuet', 'De bons bleuets de la Gaspésie', 'Driscoll\'s', 36, 'Vous économisez 15% par rapport à IGA', 'uploads_5c09a6c0b41714.28565702.jpeg', 'uploads_5c09a6c0b44af7.43238973.png', 1, 1, 8, 1, '0.50', NULL, 'A'); + +-- +-- Triggers `produits` +-- +DELIMITER $$ +CREATE TRIGGER `tau_produits` AFTER UPDATE ON `produits` FOR EACH ROW begin + + if (new.limite_achat != 0) then + call updatelimiteproduit(new.id_produit, new.limite_achat); + end if; + + end +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_produits` BEFORE DELETE ON `produits` FOR EACH ROW begin + + delete from produitsfournisseurs where produitsfournisseurs.id_produit = old.id_produit; + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '0.00', NULL), +(7, 2, '10.00', NULL), +(8, 2, '8.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL, + `authorization` varchar(255) COLLATE utf8_bin NOT NULL, + `invoice` varchar(255) COLLATE utf8_bin NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`) USING BTREE, + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`), + ADD KEY `id_commande` (`id_commande`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`id_periode`) USING BTREE; + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `events` +-- +ALTER TABLE `events` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + ADD PRIMARY KEY (`id_frais`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD PRIMARY KEY (`id_historique`,`id_produit`), + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `historiquefraisgestion` +-- +ALTER TABLE `historiquefraisgestion` + ADD PRIMARY KEY (`id_frais`,`date`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`,`id_produit`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD PRIMARY KEY (`id_reset`), + ADD KEY `comptes_fk0` (`id_compte`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; + +-- +-- AUTO_INCREMENT for table `events` +-- +ALTER TABLE `events` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `fraisgestion` +-- +ALTER TABLE `fraisgestion` + MODIFY `id_frais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `password_resets` +-- +ALTER TABLE `password_resets` + MODIFY `id_reset` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `histcomprod_fk0` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `panier_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `panier_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `password_resets` +-- +ALTER TABLE `password_resets` + ADD CONSTRAINT `comptes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v3.sql b/sql/dietetique_v3.sql new file mode 100644 index 0000000..c3fa4ee --- /dev/null +++ b/sql/dietetique_v3.sql @@ -0,0 +1,422 @@ +-- phpMyAdmin SQL Dump +-- version 4.5.4.1 +-- http://www.phpmyadmin.net +-- +-- Client : localhost +-- Généré le : Sam 10 Novembre 2018 à 03:48 +-- Version du serveur : 5.7.11 +-- Version de PHP : 7.0.3 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Base de données : `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Structure de la table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8mb4_unicode_ci NOT NULL, + `token` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Contenu de la table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) CHARACTER SET latin1 NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantité` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) CHARACTER SET latin1 NOT NULL, + `password` varchar(255) CHARACTER SET latin1 NOT NULL, + `nom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `type` char(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Déclencheurs `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) CHARACTER SET latin1 NOT NULL, + `valeur` varchar(4096) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `adresse` varchar(1024) CHARACTER SET latin1 NOT NULL, + `telephone` varchar(30) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `description` varchar(1024) CHARACTER SET latin1 NOT NULL, + `marque` varchar(255) CHARACTER SET latin1 NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `valeur_nutritive` varchar(1024) CHARACTER SET latin1 DEFAULT NULL, + `format` varchar(255) CHARACTER SET latin1 NOT NULL, + `unite` varchar(15) CHARACTER SET latin1 NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Contenu de la table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(1, 'test produit', 'Ceci est un beau test', 'Costco', 6, NULL, NULL, NULL, 'kg', '2', 50, 1, NULL, 'A'); + +-- -------------------------------------------------------- + +-- +-- Structure de la table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(5,3) NOT NULL, + `economie` decimal(4,2) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Structure de la table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Index pour les tables exportées +-- + +-- +-- Index pour la table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Index pour la table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Index pour la table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`), + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Index pour la table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Index pour la table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Index pour la table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Index pour la table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Index pour la table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Index pour la table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Index pour la table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Index pour la table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`); + +-- +-- Index pour la table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`); + +-- +-- Index pour la table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Index pour la table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT pour les tables exportées +-- + +-- +-- AUTO_INCREMENT pour la table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT pour la table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT pour la table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT pour la table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT pour la table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; +-- +-- AUTO_INCREMENT pour la table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT pour la table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT pour la table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; +-- +-- Contraintes pour les tables exportées +-- + +-- +-- Contraintes pour la table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Contraintes pour la table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Contraintes pour la table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Contraintes pour la table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `Panier_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `panier_ibfk_1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Contraintes pour la table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Contraintes pour la table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v4.sql b/sql/dietetique_v4.sql new file mode 100644 index 0000000..7bae0e0 --- /dev/null +++ b/sql/dietetique_v4.sql @@ -0,0 +1,461 @@ +-- phpMyAdmin SQL Dump +-- version 4.6.5.2 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 14, 2018 at 01:49 PM +-- Server version: 10.1.21-MariaDB +-- PHP Version: 7.1.1 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8mb4_unicode_ci NOT NULL, + `token` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) CHARACTER SET latin1 NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantité` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) CHARACTER SET latin1 NOT NULL, + `password` varchar(255) CHARACTER SET latin1 NOT NULL, + `nom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `type` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(13, 'anthonyrobert1997@hotmail.fr', '$2y$10$MScllzuG8gxIGoib2YlUBuoJnrq3.i6BFqNn0QTKGQHMyqCXhT43.', 'Robert', 'Anthony', '8199447206', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) CHARACTER SET latin1 NOT NULL, + `valeur` varchar(4096) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `adresse` varchar(1024) CHARACTER SET latin1 NOT NULL, + `telephone` varchar(30) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `panier` +-- + +INSERT INTO `panier` (`id_compte`, `id_produit`, `quantite`) VALUES +(13, NULL, NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `description` varchar(1024) CHARACTER SET latin1 NOT NULL, + `marque` varchar(255) CHARACTER SET latin1 NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `valeur_nutritive` varchar(1024) CHARACTER SET latin1 DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) CHARACTER SET latin1 NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(5,3) NOT NULL, + `economie` decimal(4,2) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`), + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `Panier_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `panier_ibfk_1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v5.sql b/sql/dietetique_v5.sql new file mode 100644 index 0000000..13dc601 --- /dev/null +++ b/sql/dietetique_v5.sql @@ -0,0 +1,465 @@ +-- phpMyAdmin SQL Dump +-- version 4.6.5.2 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 15, 2018 at 07:41 PM +-- Server version: 10.1.21-MariaDB +-- PHP Version: 7.1.1 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8mb4_unicode_ci NOT NULL, + `token` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) CHARACTER SET latin1 NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantité` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) CHARACTER SET latin1 NOT NULL, + `password` varchar(255) CHARACTER SET latin1 NOT NULL, + `nom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `type` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) CHARACTER SET latin1 NOT NULL, + `valeur` varchar(4096) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `adresse` varchar(1024) CHARACTER SET latin1 NOT NULL, + `telephone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `adresse`, `telephone`) VALUES +(2, 'Metro', '123 lol', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `panier` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `description` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `marque` varchar(255) CHARACTER SET latin1 NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `valeur_nutritive` varchar(1024) CHARACTER SET latin1 DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) CHARACTER SET latin1 NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `produits` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(5,3) NOT NULL, + `economie` decimal(4,2) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`), + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `Panier_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `panier_ibfk_1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v7.sql b/sql/dietetique_v7.sql new file mode 100644 index 0000000..c56cb1f --- /dev/null +++ b/sql/dietetique_v7.sql @@ -0,0 +1,455 @@ +-- phpMyAdmin SQL Dump +-- version 4.6.5.2 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 21, 2018 at 09:43 PM +-- Server version: 10.1.21-MariaDB +-- PHP Version: 7.1.1 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8mb4_unicode_ci NOT NULL, + `token` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) CHARACTER SET latin1 NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) CHARACTER SET latin1 NOT NULL, + `password` varchar(255) CHARACTER SET latin1 NOT NULL, + `nom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `type` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) CHARACTER SET latin1 NOT NULL, + `valeur` varchar(4096) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `adresse` varchar(1024) CHARACTER SET latin1 NOT NULL, + `telephone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `adresse`, `telephone`) VALUES +(2, 'Metro', '123 lol', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `description` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `marque` varchar(255) CHARACTER SET latin1 NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `valeur_nutritive` varchar(1024) CHARACTER SET latin1 DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) CHARACTER SET latin1 NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(5,3) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`), + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `Panier_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `panier_ibfk_1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v8.sql b/sql/dietetique_v8.sql new file mode 100644 index 0000000..7bd530c --- /dev/null +++ b/sql/dietetique_v8.sql @@ -0,0 +1,635 @@ +-- phpMyAdmin SQL Dump +-- version 4.6.5.2 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 22, 2018 at 09:39 PM +-- Server version: 10.1.21-MariaDB +-- PHP Version: 7.1.1 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8mb4_unicode_ci NOT NULL, + `token` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et L?gumes'), +(2, 'Viandes'), +(3, 'é'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8mb4_bin NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (0, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) CHARACTER SET latin1 NOT NULL, + `password` varchar(255) CHARACTER SET latin1 NOT NULL, + `nom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `type` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(14, 'anthonyrobert1997@hotmail.fr', '$2y$10$aarrTJd0XPxxsNwowXxA5evKxEk7IcyTnlMvhhgO5UmyFCTptcHvy', 'Robert', 'Anthony', '8199447206', 'U'), +(15, 'anthonyrobert1997@hotmail.fre', '$2y$10$wpL.s6uzQ1vFm6bqL.Sp.OCk/nG6zTPQdy0nqW1xQXdhcXYYNkEBe', 'Georges', 'Anthony', '8199447206', 'B'), +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'), +(17, 'test@test.com', '$2y$10$Lujrvd4qbHLSROCL9KlVEOA7a26n/dmoYPB343rqxMzKctcoD55eq', 'Lacerte', 'jeremy', '8199999999', 'U'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) CHARACTER SET latin1 NOT NULL, + `valeur` varchar(4096) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `adresse` varchar(1024) CHARACTER SET latin1 NOT NULL, + `telephone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `adresse`, `telephone`) VALUES +(2, 'Metro', '123 lol', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) DEFAULT NULL, + `c_prenom` varchar(255) DEFAULT NULL, + `c_courriel` varchar(255) DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) DEFAULT NULL, + `id_produit` int(11) DEFAULT NULL, + `p_nom` varchar(255) DEFAULT NULL, + `p_description` varchar(1024) DEFAULT NULL, + `p_marque` varchar(255) DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) DEFAULT NULL, + `p_unite` varchar(255) DEFAULT NULL, + `p_format` varchar(255) DEFAULT NULL, + `p_categorie` varchar(255) DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) CHARACTER SET latin1 NOT NULL, + `description` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `marque` varchar(255) CHARACTER SET latin1 NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `valeur_nutritive` varchar(1024) CHARACTER SET latin1 DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) CHARACTER SET latin1 NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) CHARACTER SET latin1 NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Stand-in structure for view `v_commande` +-- (See below for the actual view) +-- +CREATE TABLE `v_commande` ( +`id_historique` int(11) +,`id_commande` int(11) +,`id_compte` int(11) +,`c_nom` varchar(255) +,`c_prenom` varchar(255) +,`c_courriel` varchar(255) +,`date` datetime +,`status` char(1) +,`prix_total` decimal(10,2) +,`trace_paiement` int(11) +); + +-- -------------------------------------------------------- + +-- +-- Structure for view `v_commande` +-- +DROP TABLE IF EXISTS `v_commande`; + +CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_commande` AS select `historiquecommande`.`id_historique` AS `id_historique`,`historiquecommande`.`id_commande` AS `id_commande`,`historiquecommande`.`id_compte` AS `id_compte`,`historiquecommande`.`c_nom` AS `c_nom`,`historiquecommande`.`c_prenom` AS `c_prenom`,`historiquecommande`.`c_courriel` AS `c_courriel`,`historiquecommande`.`date` AS `date`,`historiquecommande`.`status` AS `status`,`historiquecommande`.`prix_total` AS `prix_total`,`historiquecommande`.`trace_paiement` AS `trace_paiement` from `historiquecommande` ; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`), + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `historiquecommandeproduit__fk` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `Panier_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `panier_ibfk_1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/dietetique_v9.sql b/sql/dietetique_v9.sql new file mode 100644 index 0000000..9d70f1c --- /dev/null +++ b/sql/dietetique_v9.sql @@ -0,0 +1,632 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.3 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 22, 2018 at 09:53 PM +-- Server version: 10.1.37-MariaDB +-- PHP Version: 7.1.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `dietetique_2` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `access_token` +-- + +CREATE TABLE `access_token` ( + `id` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `selector` char(16) COLLATE utf8_bin NOT NULL, + `token` char(64) COLLATE utf8_bin NOT NULL, + `expires` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categorie` +-- + +CREATE TABLE `categorie` ( + `id_categorie` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Dumping data for table `categorie` +-- + +INSERT INTO `categorie` (`id_categorie`, `nom`) VALUES +(1, 'Fruits et Légumes'), +(2, 'Viandes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandes` +-- + +CREATE TABLE `commandes` ( + `id_commande` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL, + `prix_total` decimal(5,3) NOT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; + +-- +-- Triggers `commandes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandes` AFTER INSERT ON `commandes` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (0, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commandesproduits` +-- + +CREATE TABLE `commandesproduits` ( + `id_commande` int(11) NOT NULL, + `id_produit` int(11) NOT NULL, + `quantite` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Triggers `commandesproduits` +-- +DELIMITER $$ +CREATE TRIGGER `tai_commandesproduit` AFTER INSERT ON `commandesproduits` FOR EACH ROW begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `commentaires` +-- + +CREATE TABLE `commentaires` ( + `id_commentaire` int(11) NOT NULL, + `id_compte` int(11) NOT NULL, + `date` datetime NOT NULL, + `commentaire` varchar(2048) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `comptes` +-- + +CREATE TABLE `comptes` ( + `id_compte` int(11) NOT NULL, + `courriel` varchar(255) COLLATE utf8_bin NOT NULL, + `password` varchar(255) COLLATE utf8_bin NOT NULL, + `nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL, + `type` char(1) COLLATE utf8_bin NOT NULL DEFAULT 'U' +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `comptes` +-- + +INSERT INTO `comptes` (`id_compte`, `courriel`, `password`, `nom`, `prenom`, `telephone`, `type`) VALUES +(16, 'admin@admin.com', '$2y$10$.mB/c0ntseE6/FtaFkZ3n.rze9Bt7vEGi7A0sHtZZnCV3BG1yye6K', 'Admin', 'Admin', '8193761721', 'A'); + +-- +-- Triggers `comptes` +-- +DELIMITER $$ +CREATE TRIGGER `tai_comptes` AFTER INSERT ON `comptes` FOR EACH ROW insert into panier values(NEW.id_compte, null, null) +$$ +DELIMITER ; +DELIMITER $$ +CREATE TRIGGER `tbd_comptes` BEFORE DELETE ON `comptes` FOR EACH ROW delete from panier where panier.id_compte = OLD.id_compte +$$ +DELIMITER ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `configuration` +-- + +CREATE TABLE `configuration` ( + `cle` varchar(255) COLLATE utf8_bin NOT NULL, + `valeur` varchar(4096) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datescommandes` +-- + +CREATE TABLE `datescommandes` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `datespaiements` +-- + +CREATE TABLE `datespaiements` ( + `date_debut` datetime NOT NULL, + `date_fin` datetime NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `format` +-- + +CREATE TABLE `format` ( + `id_format` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `format` +-- + +INSERT INTO `format` (`id_format`, `nom`) VALUES +(1, 'kg'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `fournisseurs` +-- + +CREATE TABLE `fournisseurs` ( + `id_fournisseur` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `adresse` varchar(1024) COLLATE utf8_bin NOT NULL, + `telephone` varchar(30) COLLATE utf8_bin DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `fournisseurs` +-- + +INSERT INTO `fournisseurs` (`id_fournisseur`, `nom`, `adresse`, `telephone`) VALUES +(2, 'Metro', '123 lol', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommande` +-- + +CREATE TABLE `historiquecommande` ( + `id_historique` int(11) NOT NULL, + `id_commande` int(11) DEFAULT NULL, + `id_compte` int(11) DEFAULT NULL, + `c_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_prenom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `c_courriel` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `date` datetime DEFAULT NULL, + `status` char(1) COLLATE utf8_bin DEFAULT NULL, + `prix_total` decimal(10,2) DEFAULT NULL, + `trace_paiement` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `historiquecommandeproduit` +-- + +CREATE TABLE `historiquecommandeproduit` ( + `id_historique` int(11) DEFAULT NULL, + `id_produit` int(11) DEFAULT NULL, + `p_nom` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `p_marque` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_commandemin` int(11) DEFAULT NULL, + `p_limiteachat` int(11) DEFAULT NULL, + `p_economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_unite` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_format` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `p_categorie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `panier` +-- + +CREATE TABLE `panier` ( + `id_compte` int(11) NOT NULL, + `id_produit` int(11) DEFAULT NULL, + `quantite` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produits` +-- + +CREATE TABLE `produits` ( + `id_produit` int(11) NOT NULL, + `nom` varchar(255) COLLATE utf8_bin NOT NULL, + `description` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `marque` varchar(255) COLLATE utf8_bin NOT NULL, + `achat_minimum` int(10) NOT NULL, + `economie` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `image_produit` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `valeur_nutritive` varchar(1024) COLLATE utf8_bin DEFAULT NULL, + `format` int(11) NOT NULL, + `unite` varchar(15) COLLATE utf8_bin NOT NULL, + `limite_achat` int(11) DEFAULT NULL, + `categorie` int(11) NOT NULL, + `id_compte` int(11) DEFAULT NULL, + `status` char(1) COLLATE utf8_bin NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produits` +-- + +INSERT INTO `produits` (`id_produit`, `nom`, `description`, `marque`, `achat_minimum`, `economie`, `image_produit`, `valeur_nutritive`, `format`, `unite`, `limite_achat`, `categorie`, `id_compte`, `status`) VALUES +(6, 'Farine', 'Une bonne farine', 'Francine', 100, '', 'uploads_5bf7168aa89ef2.87995613.jpg', NULL, 1, '1', 69, 1, NULL, 'A'), +(7, 'Saucisse', 'Une bonne saucisse', 'La fernandière', 420, '', 'uploads_5bf716ec8045c1.37408180.jpg', NULL, 1, '1', 0, 2, NULL, 'A'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `produitsfournisseurs` +-- + +CREATE TABLE `produitsfournisseurs` ( + `id_produit` int(11) NOT NULL, + `id_fournisseur` int(11) NOT NULL, + `prix` decimal(10,2) NOT NULL, + `economie` decimal(4,2) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Dumping data for table `produitsfournisseurs` +-- + +INSERT INTO `produitsfournisseurs` (`id_produit`, `id_fournisseur`, `prix`, `economie`) VALUES +(6, 2, '5.00', NULL), +(7, 2, '10.00', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `tracepaiements` +-- + +CREATE TABLE `tracepaiements` ( + `id_paiement` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `access_token` +-- +ALTER TABLE `access_token` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `categorie` +-- +ALTER TABLE `categorie` + ADD PRIMARY KEY (`id_categorie`); + +-- +-- Indexes for table `commandes` +-- +ALTER TABLE `commandes` + ADD PRIMARY KEY (`id_commande`,`id_compte`), + ADD KEY `Commandes_fk0` (`id_compte`), + ADD KEY `Commandes_fk1` (`trace_paiement`); + +-- +-- Indexes for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD PRIMARY KEY (`id_commande`,`id_produit`), + ADD KEY `CommandesProduits_fk1` (`id_produit`); + +-- +-- Indexes for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD PRIMARY KEY (`id_commentaire`,`id_compte`), + ADD KEY `Commentaires_fk0` (`id_compte`); + +-- +-- Indexes for table `comptes` +-- +ALTER TABLE `comptes` + ADD PRIMARY KEY (`id_compte`), + ADD KEY `id_compte` (`id_compte`); + +-- +-- Indexes for table `configuration` +-- +ALTER TABLE `configuration` + ADD PRIMARY KEY (`cle`); + +-- +-- Indexes for table `datescommandes` +-- +ALTER TABLE `datescommandes` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `datespaiements` +-- +ALTER TABLE `datespaiements` + ADD PRIMARY KEY (`date_debut`,`date_fin`); + +-- +-- Indexes for table `format` +-- +ALTER TABLE `format` + ADD PRIMARY KEY (`id_format`), + ADD KEY `id_format` (`id_format`); + +-- +-- Indexes for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + ADD PRIMARY KEY (`id_fournisseur`); + +-- +-- Indexes for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + ADD PRIMARY KEY (`id_historique`); + +-- +-- Indexes for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD KEY `historiquecommandeproduit_id_historique_index` (`id_historique`); + +-- +-- Indexes for table `panier` +-- +ALTER TABLE `panier` + ADD PRIMARY KEY (`id_compte`) USING BTREE, + ADD KEY `Panier_fk0` (`id_produit`); + +-- +-- Indexes for table `produits` +-- +ALTER TABLE `produits` + ADD PRIMARY KEY (`id_produit`), + ADD KEY `Produits_fk0` (`categorie`), + ADD KEY `Produits_fk1` (`id_compte`), + ADD KEY `format` (`format`); + +-- +-- Indexes for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD PRIMARY KEY (`id_produit`,`id_fournisseur`), + ADD KEY `ProduitsFournisseurs_fk1` (`id_fournisseur`); + +-- +-- Indexes for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + ADD PRIMARY KEY (`id_paiement`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `access_token` +-- +ALTER TABLE `access_token` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `categorie` +-- +ALTER TABLE `categorie` + MODIFY `id_categorie` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; + +-- +-- AUTO_INCREMENT for table `commandes` +-- +ALTER TABLE `commandes` + MODIFY `id_commande` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `commentaires` +-- +ALTER TABLE `commentaires` + MODIFY `id_commentaire` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `comptes` +-- +ALTER TABLE `comptes` + MODIFY `id_compte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; + +-- +-- AUTO_INCREMENT for table `format` +-- +ALTER TABLE `format` + MODIFY `id_format` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `fournisseurs` +-- +ALTER TABLE `fournisseurs` + MODIFY `id_fournisseur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `historiquecommande` +-- +ALTER TABLE `historiquecommande` + MODIFY `id_historique` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `produits` +-- +ALTER TABLE `produits` + MODIFY `id_produit` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; + +-- +-- AUTO_INCREMENT for table `tracepaiements` +-- +ALTER TABLE `tracepaiements` + MODIFY `id_paiement` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- Constraints for dumped tables +-- + +-- +-- Constraints for table `commandes` +-- +ALTER TABLE `commandes` + ADD CONSTRAINT `Commandes_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`), + ADD CONSTRAINT `Commandes_fk1` FOREIGN KEY (`trace_paiement`) REFERENCES `tracepaiements` (`id_paiement`); + +-- +-- Constraints for table `commandesproduits` +-- +ALTER TABLE `commandesproduits` + ADD CONSTRAINT `CommandesProduits_fk0` FOREIGN KEY (`id_commande`) REFERENCES `commandes` (`id_commande`), + ADD CONSTRAINT `CommandesProduits_fk1` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`); + +-- +-- Constraints for table `commentaires` +-- +ALTER TABLE `commentaires` + ADD CONSTRAINT `Commentaires_fk0` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `historiquecommandeproduit` +-- +ALTER TABLE `historiquecommandeproduit` + ADD CONSTRAINT `historiquecommandeproduit__fk` FOREIGN KEY (`id_historique`) REFERENCES `historiquecommande` (`id_historique`); + +-- +-- Constraints for table `panier` +-- +ALTER TABLE `panier` + ADD CONSTRAINT `Panier_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `panier_ibfk_1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produits` +-- +ALTER TABLE `produits` + ADD CONSTRAINT `Format_fk2` FOREIGN KEY (`format`) REFERENCES `format` (`id_format`), + ADD CONSTRAINT `Produits_fk0` FOREIGN KEY (`categorie`) REFERENCES `categorie` (`id_categorie`), + ADD CONSTRAINT `Produits_fk1` FOREIGN KEY (`id_compte`) REFERENCES `comptes` (`id_compte`); + +-- +-- Constraints for table `produitsfournisseurs` +-- +ALTER TABLE `produitsfournisseurs` + ADD CONSTRAINT `ProduitsFournisseurs_fk0` FOREIGN KEY (`id_produit`) REFERENCES `produits` (`id_produit`), + ADD CONSTRAINT `ProduitsFournisseurs_fk1` FOREIGN KEY (`id_fournisseur`) REFERENCES `fournisseurs` (`id_fournisseur`); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/sql/triggers&procedure.sql b/sql/triggers&procedure.sql new file mode 100644 index 0000000..a8b651f --- /dev/null +++ b/sql/triggers&procedure.sql @@ -0,0 +1,241 @@ +create trigger tai_commandesproduit + after insert + on commandesproduits + for each row + begin + + declare v_nom varchar(255); + declare v_description varchar(1024); + declare v_marque varchar(255); + declare v_achatmin varchar(255); + declare v_economie varchar(255); + declare v_unite varchar(255); + declare v_format varchar(255); + declare v_limite varchar(255); + declare v_categorie varchar(255); + + + select p.nom, + p.description, + p.marque, + p.achat_minimum, + p.economie, + p.unite, + f2.nom, + p.limite_achat, + c2.nom into v_nom, v_description, v_marque, v_achatmin, v_economie, v_unite, v_format, v_limite, v_categorie + from produits p + inner join format f2 on p.format = f2.id_format + inner join categorie c2 on p.categorie = c2.id_categorie + where p.id_produit = new.id_produit; + + insert into historiquecommandeproduit + values ((select id_historique from historiquecommande hc where hc.id_commande = new.id_commande), + new.id_produit, + v_nom, + v_description, + v_marque, + v_achatmin, + v_limite, + v_economie, + v_unite, + v_format, + v_categorie, + new.quantite); + + end; + + +create trigger tai_commandes + after insert + on commandes + for each row + begin + + DECLARE done INT DEFAULT FALSE; + declare v_nom varchar(255); + declare v_prenom varchar(255); + declare v_courriel varchar(255); + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + select c.nom, c.prenom, c.courriel into v_nom, v_prenom, v_courriel + from comptes c + where c.id_compte = new.id_compte; + + insert into historiquecommande + values (0, + new.id_commande, + new.id_compte, + v_nom, + v_prenom, + v_courriel, + new.date, + new.status, + new.prix_total, + new.trace_paiement); + + #commandesproduit + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + end; + +create trigger tbd_commandes + before delete + on commandes + for each row + begin + + delete from commandesproduits where commandesproduits.id_commande = old.id_commande; + + end; + +create trigger tbi_commandes + before insert + on commandes + for each row + begin + + declare num varchar(1024); + + set new.date = now(); + select CONCAT('DIET-', FLOOR(5 + RAND() * 60), '1', REPLACE(CURDATE(), '-', '')) into num from dual; + set new.numero_commande = num; + + end; + +create trigger tai_events + after insert + on events + for each row + begin + + if new.color = '#0071c5' + then + insert into datescommandes values (new.start, new.end); + end if; + + end; + +create trigger tau_events + after UPDATE + on events + for each row + begin + declare nb int; + + if new.color = '#0071c5' + then + + select count(*) into nb from datescommandes where date_debut = old.start + and date_fin = old.end; + + if nb > 0 + then + update datescommandes + set date_debut = new.start, + date_fin = new.end, + nom = new.title + where date_debut = old.start + and date_fin = old.end; + else + insert into datescommandes values (new.start, new.end, new.title); + end if; + + end if; + + end; + +create trigger tau_produits + after update + on produits + for each row + begin + + call updatelimiteproduit(new.id_produit, new.limite_achat); + + end; + +create procedure updatelimiteproduit(in p_id int, in p_limite int) begin + DECLARE done INT DEFAULT FALSE; + declare v_compte int; + declare v_quantite int; + declare c_panier cursor for select id_compte, quantite from panier where id_produit = p_id; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_compte, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + if v_quantite > p_limite then + update panier set quantite = p_limite where id_compte = v_compte and id_produit = p_id; + end if; + end loop; + + close c_panier; + +end; + + +create trigger tai_commandes2 + after insert + on commandes + for each row + begin + + DECLARE done INT DEFAULT FALSE; + declare v_produit int; + declare v_quantite decimal; + declare c_panier cursor for select id_produit, quantite from panier where panier.id_compte = new.id_compte; + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + open c_panier; + + panier_loop: loop + fetch c_panier into v_produit, v_quantite; + + IF done THEN + LEAVE panier_loop; + END IF; + + + insert into commandesproduits values (new.id_commande, v_produit, v_quantite); + end loop; + + close c_panier; + + delete from panier where panier.id_compte = new.id_compte; + + end; + + +create trigger tbd_historiquecommande + before delete + on historiquecommande + for each row + begin + + delete from historiquecommandeproduit where historiquecommandeproduit.id_historique = old.id_historique; + + end; \ No newline at end of file diff --git a/src/admin/ajoutcompte.php.bck b/src/admin/ajoutcompte.php.bck new file mode 100644 index 0000000..05537a0 --- /dev/null +++ b/src/admin/ajoutcompte.php.bck @@ -0,0 +1,405 @@ +getMessage() . " Retour"); + } + + $produits->nom = $_POST["nom"]; + $produits->description = $_POST["description"]; + $produits->marque = $_POST["marque"]; + $produits->achat_minimum = $_POST["minachat"]; + $produits->limite_achat = $_POST["limite"]; + $produits->unite = $_POST["unite"]; + $produits->format = $_POST["format"]; + $produits->categorie = $_POST["categorie"]; + $produits->status = $_POST["status"]; + $produits->economie = $_POST["economie"]; + $produits->image_produit = $imagedir; + $produits->insert(); + + + + $fournprod = new \Dietetique\Models\ProduitsFournisseurs(); + $fournprod->id_fournisseur = $_POST["fournisseur"]; // à changer + $fournprod->id_produit = $produits->id_produit; + $fournprod->prix = $_POST["prix"]; + + try { + $fournprod->insert(); + } catch (PDOException $e) { + $produits->delete(); + } + + header("Location: produits.php"); + } + + + } +} + +?> + + + + + + + + + + Ajout d'un compte - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
+
Ajout d'un compte
+
+
+
+
+ + " + id="nom" + type="text" name="nom" + value="" + placeholder="Nom du produit"> +
+
+ +
+
+ +
+ + + Ajouter une catégorie + + + +
+
+
+
+ +
+
+
+ + +
+
+
+ +
+
+ + " + id="marque" name="marque" + value=""> +
+ + +
+ + +
+ + + Ajouter un fournisseur + + + +
+ + +
+
+ + +
+ " + name="prix" value="" + id="prix" type="text" placeholder="123"> +
+ +
+
+ +
+
+ +
+
+ + " + class="form-control" + id="min-achat" placeholder="0"> +
+ +
+ + " + class="form-control" + id="limite" placeholder="0 = Aucune limite"> +
+ +
+ + +
+ " + name="unite" + value="" id="unite" + type="text" placeholder="0"> +
+ +
+
+ +
+ +
+ + + + +
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + + + + + + + + diff --git a/src/admin/ajoutfournisseur.php b/src/admin/ajoutfournisseur.php new file mode 100644 index 0000000..f7bf33d --- /dev/null +++ b/src/admin/ajoutfournisseur.php @@ -0,0 +1,362 @@ +nom = $_POST["nom"]; + $fournisseurs->succursale = $_POST["Succursale"]; + $fournisseurs->nom_contact = $_POST["nomContact"]; + $fournisseurs->telephone = $_POST["telephone"]; + $fournisseurs->role = $_POST["role"]; + $fournisseurs->tel_poste = $_POST["poste"]; + $fournisseurs->adresse = $_POST["adresse"]; + $fournisseurs->ville = $_POST["ville"]; + $fournisseurs->code_postal = $_POST["codePostal"]; + + if (!$fournisseurs->existe()) { + try { + $fournisseurs->insert(); + } catch (PDOException $e) { + $fournisseurs->db->handle->rollBack(); + } + + header("Location: fournisseurs.php"); + } elseif (!$fournisseurs->isActif()) { + $fournisseurs->setActif(); + } else { + $erreurExiste = 'Ce fournisseur existe déjà.'; + } + + } + } + + } +} + +?> + + + + + + + + + + Ajout d'un fournisseur - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ +
+
Ajout d'un fournisseur
+
+
+
+
+ + " + id="nom" + type="text" name="nom" + value="" + placeholder="Nom du fournisseur ex: Maxi"> +
+
+ +
+
+ + " + id="Succursale" + type="text" name="Succursale" + value="" + placeholder="Succursale du fournisseur ex: Jean XXIII"> +
+
+
+ + +
+
+
+ + " + id="nomContact" + type="text" name="nomContact" + value="nom_contact ?>" + placeholder="Nom du contact"> +
+
+ +
+
+ + " + id="role" + type="text" name="role" + value="role ?>" + placeholder="Role du contact"> +
+
+
+ + + +
+
+ + " + id="telephone" + type="text" name="telephone" + value="" + placeholder="1234567890"> +
+ +
+ + " + id="poste" + type="text" name="poste" + value="" + placeholder="123"> +
+ +
+ + +
+
+ + " + id="adresse" + type="text" name="adresse" + value="" + placeholder="Adresse du fournisseur"> +
+ + +
+ + " + id="ville" + type="text" name="ville" + value="" + placeholder="Ville du fournisseur"> + + +
+
+ + " + id="codePostal" + type="text" name="codePostal" + value="" + placeholder="A9A 9A9"> + +
+
+ + +
+ + + +
+
+ +
+
+
+
+ + + + + + + + + + + + diff --git a/src/admin/ajoutproduit.php b/src/admin/ajoutproduit.php new file mode 100644 index 0000000..cbfe823 --- /dev/null +++ b/src/admin/ajoutproduit.php @@ -0,0 +1,443 @@ +select(); + +$fournisseurs = new \Dietetique\Models\Fournisseurs(); +$fournisseurs = $fournisseurs->select(); + +$formats = new \Dietetique\Models\Format(); +$formats = $formats->select(); + +$produits = new \Dietetique\Models\Produits(); + + +if (isset($_POST["ajout"])) { + $_POST = \Dietetique\Helpers\Security::clean($_POST); + + if ( + isset($_POST["nom"]) && + isset($_POST["description"]) && + isset($_POST["marque"]) && + isset($_POST["prix"]) && + isset($_POST["minachat"]) && + isset($_POST["limite"]) && + isset($_POST["unite"]) && + isset($_POST["status"]) && + isset($_POST["fraisfixe"]) && + isset($_POST["economie"]) && + isset($_FILES["imageproduit"]) && + isset($_FILES["valeurnutritive"]) + ) { + + \Dietetique\Helpers\Html\Forms::CheckEmptyForm($_POST, $errors); + + $errors["nom"] = !preg_match("/^([\-\'\,\w]{1,})$/u", $_POST["nom"]); + $errors["marque"] = !preg_match("/^([\-\'\,\w]{1,})$/u", $_POST["marque"]); + $errors["fournisseur"] = !isset($_POST["fournisseur"]); + $errors["categorie"] = !isset($_POST["categorie"]); + $errors["format"] = !isset($_POST["format"]); + $errors["existe"] = $produitexiste = ($produits->existe($_POST["nom"], $_POST["marque"], $_POST["unite"], $_POST["format"], $_POST["fournisseur"]) == 1 ? true : false ); + + if ($errors["nom"] != 1 && !$errors["existe"] && $errors["categorie"] != 1 && $errors["marque"] != 1 && $errors["fournisseur"] != 1 && $errors["prix"] != 1 && $errors["fraisfixe"] != 1 && $errors["minachat"] != 1 && $errors["limite"] != 1 && $errors["unite"] != 1 && $errors["format"] != 1 && $errors["status"] != 1) { + + $imagedir = ""; + $valeurnutritive = ""; + + try { + $imagedir = \Dietetique\Helpers\FileUpload::UploadFile($_FILES["imageproduit"]); + $valeurnutritive = \Dietetique\Helpers\FileUpload::UploadFile($_FILES["valeurnutritive"]); + } catch (Exception $e) { + die($e->getMessage() . " Retour"); + } + + $produits->nom = htmlentities($_POST["nom"], ENT_QUOTES); + $produits->description = htmlentities($_POST["description"], ENT_QUOTES); + $produits->marque = htmlentities($_POST["marque"], ENT_QUOTES); + $produits->achat_minimum = $_POST["minachat"] < 0 ? 1 : $_POST["minachat"]; + $produits->limite_achat = $_POST["limite"] < 0 ? 0 : $_POST["limite"]; + $produits->unite = $_POST["unite"] < 0 ? 0 : $_POST["unite"]; + $produits->format = $_POST["format"]; + $produits->categorie = $_POST["categorie"]; + $produits->status = $_POST["status"]; + $produits->economie = htmlentities($_POST["economie"], ENT_QUOTES); + $produits->frais_fixe = $_POST["fraisfixe"] < 0 ? 0 : str_replace(',', '.', str_replace(' ', '', $_POST["fraisfixe"])); + $produits->image_produit = $imagedir; + $produits->valeur_nutritive = $valeurnutritive; + + try { + $produits->insert(); + } catch (PDOException $e) { + $produits->db->handle->rollBack(); + } + + + $fournprod = new \Dietetique\Models\ProduitsFournisseurs(); + $fournprod->id_fournisseur = $_POST["fournisseur"]; // à changer + $fournprod->id_produit = $produits->id_produit; + $fournprod->prix = $_POST["prix"] < 0 ? 0 : str_replace(',', '.', str_replace(' ', '', $_POST["fraisfixe"])); + + try { + $fournprod->insert(); + } catch (PDOException $e) { + $fournprod->db->handle->rollBack(); + } + + header("Location: produits.php"); + } + } +} + +?> + + + + + + + + + + Ajout d'un produit - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
+
Ajout d'un produit
+
+ + +
+ Le produit existe déja +
+ + +
+
+
+ + " + id="nom" + type="text" name="nom" maxlength="254" + value="" + placeholder="Nom du produit"> + +
+
+ +
+
+ +
+ + + Ajouter une catégorie + + + +
+
+
+
+ +
+
+
+ + +
+
+
+ +
+
+ + +
+ + + Ajouter un fournisseur + + + +
+ + +
+ +
+ + +
+ " + name="unite" + value="" id="unite" + type="text" placeholder="0"> +
+ +
+
+ +
+
+ + +
+ " + name="prix" value="" + id="prix" type="text" maxlength="20" placeholder="123"> +
+ +
+
+ +
+ +
+ + +
+ " + name="fraisfixe" value="" + id="fraisfixe" type="text" maxlength="20" placeholder="123"> +
+ +
+
+ +
+
+ +
+
+ + " + id="marque" name="marque" maxlength="254" + value=""> +
+ +
+ + " + class="form-control" + id="min-achat" placeholder="0"> +
+ +
+ + " + class="form-control" + id="limite" placeholder="0 = Aucune limite"> +
+ +
+ + + + +
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + + + + + + + + diff --git a/src/admin/calendrier.php b/src/admin/calendrier.php new file mode 100644 index 0000000..a6d6d74 --- /dev/null +++ b/src/admin/calendrier.php @@ -0,0 +1,681 @@ +handle; + +$req = $bd->prepare("SELECT id, title, start, end, color FROM events "); +$req->execute(); + +$events = $req->fetchAll(); + +?> + + + + + + + + + + Gestion du calendrier - Administration + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
Utilisations du calendrier +
+ + + +
+
+
+
+
    +
  • Pour ajouter un événement, cliquez sur une case et une boite de dialogue s'ouvrira.
  • +
  • Pour modifiez un événement, double cliquez sur une case.
  • +
  • Pour modifiez la date d'un événement, double cliquez ou glisser déposer vers la date voulu.
  • +
  • Pour modifiez la longueur d'un événement, vous pouvez l'étirez à la date voulu.
  • +
  • Vous ne pouvez ajoutez un événement à une date antérieure à celle d'aujourd'hui.
  • +
+ +
+
+
+ +
+
+ +
+
+
+
+
+
+
+ + +
+ +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + diff --git a/src/admin/categories.php b/src/admin/categories.php new file mode 100644 index 0000000..2c70475 --- /dev/null +++ b/src/admin/categories.php @@ -0,0 +1,402 @@ +nom = trim($_POST["nom"]); + + if (trim($_POST["nom"]) != '') { + if (preg_match("/^[\p{L}\p{N} '-]+$/u", trim($_POST["nom"]))) { + if (!$existe = $categories->existe()) { + + try { + $categories->insert(); + } catch (PDOException $e) { + $categories->db->handle->rollBack(); + } + } elseif (!$categories->isActif()) { + $categories->setActif(); + } else + $erreur = "La catégorie existe déjà et est déjà active."; + } else + $erreur = "Le nom de la catégorie ne peut pas contenir ces caractères spéciaux."; + } + else + $erreur = "Le champ ne peut pas être vide."; + + } +} + +if (isset($_POST["modif"])) { + if (isset($_POST["id"]) && isset($_POST["modifNom"]) && trim($_POST["modifNom"]) != "") { + + $categories->nom = trim($_POST["modifNom"]); + if (trim($_POST["modifNom"]) != '') { + if (preg_match("/^[\p{L}\p{N} '-]+$/u", $_POST["modifNom"]) && $_POST["modifNom"] != ' ') { + if (trim(strtoupper($_POST["modifNom"])) == strtoupper($_POST["nomcategorie"])) { + $categories->id_categorie = $_POST["id"]; + + try { + $categories->update(); + } catch (PDOException $e) { + $categories->db->handle->rollBack(); + } + } elseif (!$existeModif = $categories->existe()) { + $categories->id_categorie = $_POST["id"]; + + try { + $categories->update(); + } catch (PDOException $e) { + $categories->db->handle->rollBack(); + } + } else + $erreurModif = "La catégorie existe déjà."; + } else + $erreurModif = "Le nom de la catégorie ne peut pas contenir ces caractères spéciaux."; + } + else + $erreurModif = "Le champ ne peut pas être vide."; + } +} + +if (isset($_POST["supprimer"])) { + + $categories->id_categorie = $_POST["id"]; + if ($existeProduit = !$categories->verifProduits()) { + $categories->setInactif(); + } else { + $erreurSupp = "Il y a encore des produits reliés à cette catégorie. Veuillez réaffecter ces produits à une autre catégorie."; + } + +} + +$categories = $categories->select(null, "1"); +?> + + + + + + + + + + Gestion des catégories - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
Liste des catégories + +
+
+ + + + + + + + + + + + + + + + +
Nom de la catégorie
+ nom ?> + + +
+
+
+ + + + + + +
+ +
+
+
+ + + + + + + + + + + + + diff --git a/src/admin/commandes.php b/src/admin/commandes.php new file mode 100644 index 0000000..23d1965 --- /dev/null +++ b/src/admin/commandes.php @@ -0,0 +1,182 @@ +select(); + +?> + + + + + + + + + + Gestion des produits - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
Liste des commandes
+ +
+
+
+ + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +
Numéro de commandeAcheteurDate de commandeTotal
numero_commande ?>c_prenom . " " . $commande->c_nom ?>date ?>prix_total) ?>$
+
+
+ +
+
+
+
+ + + + + + + + + + + diff --git a/src/admin/commentaires.php b/src/admin/commentaires.php new file mode 100644 index 0000000..e621c9e --- /dev/null +++ b/src/admin/commentaires.php @@ -0,0 +1,167 @@ +select(); + +$compte = new \Dietetique\Models\Comptes(); + +?> + + + + + + + + + + Liste des commentaires - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
Liste des commentaires + +
+
+ + + + + + + + + + + + + + + + +
Date du commentaireUtilisateur
date?>select($commentaire->id_compte)[0]->prenom ?>
+
+
+ +
+
+
+
+ + + + + + + + + + diff --git a/src/admin/css/admin.css b/src/admin/css/admin.css new file mode 100644 index 0000000..228b2bc --- /dev/null +++ b/src/admin/css/admin.css @@ -0,0 +1,112 @@ +@font-face { + font-family: Oxygen; + src: url("fonts/Oxygen-Bold.ttf") format("truetype"); + src: url('fonts/Oxygen-Light.ttf') format("truetype"); + src: url('fonts/Oxygen-Regular.ttf') format("truetype"); +} + +html, body { + font-family: Oxygen, sans-serif; +} + +.app-header, .app-footer { + background-color: #487eb0; + border-bottom: none; +} + +.navbar-nav .nav-link { + color: white; +} + +.img-produit { + max-height: 150px; + +} + +span.mobile-only { + display: inherit; +} + +.btn-text { + display: none; +} + +@media all and (min-width: 576px) { + span.mobile-only { + display: none; + } +} + +@media all and (min-width: 768px) { + .btn-text { + display: inline; + } +} + +@media all and (min-width: 992px) { + +} + +.switch { + position: relative; + display: inline-block; + width: 60px; + height: 34px; +} + +.switch input { + opacity: 0; + width: 0; + height: 0; +} + +.slider { + position: absolute; + cursor: pointer; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: #ccc; + -webkit-transition: .4s; + transition: .4s; +} + +.slider:before { + position: absolute; + content: ""; + height: 26px; + width: 26px; + left: 4px; + bottom: 4px; + background-color: white; + -webkit-transition: .4s; + transition: .4s; +} + +input:checked + .slider { + background-color: #2196F3; +} + +input:focus + .slider { + box-shadow: 0 0 1px #2196F3; +} + +input:checked + .slider:before { + -webkit-transform: translateX(26px); + -ms-transform: translateX(26px); + transform: translateX(26px); +} + +/* Rounded sliders */ +.slider.round { + border-radius: 34px; +} + +.slider.round:before { + border-radius: 50%; +} + +.pointeur{ + cursor: pointer; +} \ No newline at end of file diff --git a/src/admin/css/fonts/Oxygen-Bold.ttf b/src/admin/css/fonts/Oxygen-Bold.ttf new file mode 100644 index 0000000..7a897d0 Binary files /dev/null and b/src/admin/css/fonts/Oxygen-Bold.ttf differ diff --git a/src/admin/css/fonts/Oxygen-Light.ttf b/src/admin/css/fonts/Oxygen-Light.ttf new file mode 100644 index 0000000..fff3a68 Binary files /dev/null and b/src/admin/css/fonts/Oxygen-Light.ttf differ diff --git a/src/admin/css/fonts/Oxygen-Regular.ttf b/src/admin/css/fonts/Oxygen-Regular.ttf new file mode 100644 index 0000000..c32446f Binary files /dev/null and b/src/admin/css/fonts/Oxygen-Regular.ttf differ diff --git a/src/admin/css/style.css b/src/admin/css/style.css new file mode 100644 index 0000000..f9795fd --- /dev/null +++ b/src/admin/css/style.css @@ -0,0 +1,14129 @@ +@charset "UTF-8"; +/*! + * CoreUI - Open Source Dashboard UI Kit + * @version v2.0.26 + * @link https://coreui.io + * Copyright (c) 2018 creativeLabs �ukasz Holeczek + * Licensed under MIT (https://coreui.io/license) + */ +/*! + * Bootstrap v4.1.3 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors + * Copyright 2011-2018 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +:root { + --blue: #20a8d8; + --indigo: #6610f2; + --purple: #6f42c1; + --pink: #e83e8c; + --red: #f86c6b; + --orange: #f8cb00; + --yellow: #ffc107; + --green: #4dbd74; + --teal: #20c997; + --cyan: #17a2b8; + --white: #fff; + --gray: #73818f; + --gray-dark: #2f353a; + --light-blue: #63c2de; + --primary: #20a8d8; + --secondary: #c8ced3; + --success: #4dbd74; + --info: #63c2de; + --warning: #ffc107; + --danger: #f86c6b; + --light: #f0f3f5; + --dark: #2f353a; + --breakpoint-xs: 0; + --breakpoint-sm: 576px; + --breakpoint-md: 768px; + --breakpoint-lg: 992px; + --breakpoint-xl: 1200px; + --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; +} + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html { + font-family: sans-serif; + line-height: 1.15; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + -ms-overflow-style: scrollbar; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +@-ms-viewport { + width: device-width; +} + +article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { + display: block; +} + +body { + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-size: 0.875rem; + font-weight: 400; + line-height: 1.5; + color: #23282c; + text-align: left; + background-color: #e4e5e6; +} + +[tabindex="-1"]:focus { + outline: 0 !important; +} + +hr { + box-sizing: content-box; + height: 0; + overflow: visible; +} + +h1, h2, h3, h4, h5, h6 { + margin-top: 0; + margin-bottom: 0.5rem; +} + +p { + margin-top: 0; + margin-bottom: 1rem; +} + +abbr[title], +abbr[data-original-title] { + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + cursor: help; + border-bottom: 0; +} + +address { + margin-bottom: 1rem; + font-style: normal; + line-height: inherit; +} + +ol, +ul, +dl { + margin-top: 0; + margin-bottom: 1rem; +} + +ol ol, +ul ul, +ol ul, +ul ol { + margin-bottom: 0; +} + +dt { + font-weight: 700; +} + +dd { + margin-bottom: .5rem; + margin-left: 0; +} + +blockquote { + margin: 0 0 1rem; +} + +dfn { + font-style: italic; +} + +b, +strong { + font-weight: bolder; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sub { + bottom: -.25em; +} + +sup { + top: -.5em; +} + +a { + color: #20a8d8; + text-decoration: none; + background-color: transparent; + -webkit-text-decoration-skip: objects; +} + +a:hover { + color: #167495; + text-decoration: underline; +} + +a:not([href]):not([tabindex]) { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):focus { + outline: 0; +} + +pre, +code, +kbd, +samp { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-size: 1em; +} + +pre { + margin-top: 0; + margin-bottom: 1rem; + overflow: auto; + -ms-overflow-style: scrollbar; +} + +figure { + margin: 0 0 1rem; +} + +img { + vertical-align: middle; + border-style: none; +} + +svg { + overflow: hidden; + vertical-align: middle; +} + +table { + border-collapse: collapse; +} + +caption { + padding-top: 0.75rem; + padding-bottom: 0.75rem; + color: #73818f; + text-align: left; + caption-side: bottom; +} + +th { + text-align: inherit; +} + +label { + display: inline-block; + margin-bottom: 0.5rem; +} + +button { + border-radius: 0; +} + +button:focus { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} + +input, +button, +select, +optgroup, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +button, +input { + overflow: visible; +} + +button, +select { + text-transform: none; +} + +button, +html [type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + padding: 0; + border-style: none; +} + +input[type="radio"], +input[type="checkbox"] { + box-sizing: border-box; + padding: 0; +} + +input[type="date"], +input[type="time"], +input[type="datetime-local"], +input[type="month"] { + -webkit-appearance: listbox; +} + +textarea { + overflow: auto; + resize: vertical; +} + +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + max-width: 100%; + padding: 0; + margin-bottom: .5rem; + font-size: 1.5rem; + line-height: inherit; + color: inherit; + white-space: normal; +} + +progress { + vertical-align: baseline; +} + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +[type="search"] { + outline-offset: -2px; + -webkit-appearance: none; +} + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-file-upload-button { + font: inherit; + -webkit-appearance: button; +} + +output { + display: inline-block; +} + +summary { + display: list-item; + cursor: pointer; +} + +template { + display: none; +} + +[hidden] { + display: none !important; +} + +h1, h2, h3, h4, h5, h6, +.h1, .h2, .h3, .h4, .h5, .h6 { + margin-bottom: 0.5rem; + font-family: inherit; + font-weight: 500; + line-height: 1.2; + color: inherit; +} + +h1, .h1 { + font-size: 2.1875rem; +} + +h2, .h2 { + font-size: 1.75rem; +} + +h3, .h3 { + font-size: 1.53125rem; +} + +h4, .h4 { + font-size: 1.3125rem; +} + +h5, .h5 { + font-size: 1.09375rem; +} + +h6, .h6 { + font-size: 0.875rem; +} + +.lead { + font-size: 1.09375rem; + font-weight: 300; +} + +.display-1 { + font-size: 6rem; + font-weight: 300; + line-height: 1.2; +} + +.display-2 { + font-size: 5.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-3 { + font-size: 4.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-4 { + font-size: 3.5rem; + font-weight: 300; + line-height: 1.2; +} + +hr { + margin-top: 1rem; + margin-bottom: 1rem; + border: 0; + border-top: 1px solid rgba(0, 0, 0, 0.1); +} + +small, +.small { + font-size: 80%; + font-weight: 400; +} + +mark, +.mark { + padding: 0.2em; + background-color: #fcf8e3; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline-item { + display: inline-block; +} + +.list-inline-item:not(:last-child) { + margin-right: 0.5rem; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +.blockquote { + margin-bottom: 1rem; + font-size: 1.09375rem; +} + +.blockquote-footer { + display: block; + font-size: 80%; + color: #73818f; +} + +.blockquote-footer::before { + content: "\2014 \00A0"; +} + +.img-fluid { + max-width: 100%; + height: auto; +} + +.img-thumbnail { + padding: 0.25rem; + background-color: #e4e5e6; + border: 1px solid #c8ced3; + border-radius: 0.25rem; + max-width: 100%; + height: auto; +} + +.figure { + display: inline-block; +} + +.figure-img { + margin-bottom: 0.5rem; + line-height: 1; +} + +.figure-caption { + font-size: 90%; + color: #73818f; +} + +code { + font-size: 87.5%; + color: #e83e8c; + word-break: break-word; +} + +a > code { + color: inherit; +} + +kbd { + padding: 0.2rem 0.4rem; + font-size: 87.5%; + color: #fff; + background-color: #23282c; + border-radius: 0.2rem; +} + +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: 700; +} + +pre { + display: block; + font-size: 87.5%; + color: #23282c; +} + +pre code { + font-size: inherit; + color: inherit; + word-break: normal; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1140px; + } +} + +.container-fluid { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.row { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; +} + +.no-gutters { + margin-right: 0; + margin-left: 0; +} + +.no-gutters > .col, +.no-gutters > [class*="col-"] { + padding-right: 0; + padding-left: 0; +} + +.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, +.col-auto, .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, .col-sm, +.col-sm-auto, .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, .col-md, +.col-md-auto, .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, .col-lg, +.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, +.col-xl-auto { + position: relative; + width: 100%; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +.col-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; +} + +.col-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; +} + +.col-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; +} + +.col-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; +} + +.col-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; +} + +.col-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; +} + +.col-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; +} + +.col-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; +} + +.col-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; +} + +.col-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; +} + +.col-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; +} + +.col-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; +} + +.col-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; +} + +.order-first { + -ms-flex-order: -1; + order: -1; +} + +.order-last { + -ms-flex-order: 13; + order: 13; +} + +.order-0 { + -ms-flex-order: 0; + order: 0; +} + +.order-1 { + -ms-flex-order: 1; + order: 1; +} + +.order-2 { + -ms-flex-order: 2; + order: 2; +} + +.order-3 { + -ms-flex-order: 3; + order: 3; +} + +.order-4 { + -ms-flex-order: 4; + order: 4; +} + +.order-5 { + -ms-flex-order: 5; + order: 5; +} + +.order-6 { + -ms-flex-order: 6; + order: 6; +} + +.order-7 { + -ms-flex-order: 7; + order: 7; +} + +.order-8 { + -ms-flex-order: 8; + order: 8; +} + +.order-9 { + -ms-flex-order: 9; + order: 9; +} + +.order-10 { + -ms-flex-order: 10; + order: 10; +} + +.order-11 { + -ms-flex-order: 11; + order: 11; +} + +.order-12 { + -ms-flex-order: 12; + order: 12; +} + +.offset-1 { + margin-left: 8.333333%; +} + +.offset-2 { + margin-left: 16.666667%; +} + +.offset-3 { + margin-left: 25%; +} + +.offset-4 { + margin-left: 33.333333%; +} + +.offset-5 { + margin-left: 41.666667%; +} + +.offset-6 { + margin-left: 50%; +} + +.offset-7 { + margin-left: 58.333333%; +} + +.offset-8 { + margin-left: 66.666667%; +} + +.offset-9 { + margin-left: 75%; +} + +.offset-10 { + margin-left: 83.333333%; +} + +.offset-11 { + margin-left: 91.666667%; +} + +@media (min-width: 576px) { + .col-sm { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-sm-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-sm-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-sm-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-sm-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-sm-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-sm-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-sm-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-sm-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-sm-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-sm-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-sm-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-sm-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-sm-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-sm-first { + -ms-flex-order: -1; + order: -1; + } + .order-sm-last { + -ms-flex-order: 13; + order: 13; + } + .order-sm-0 { + -ms-flex-order: 0; + order: 0; + } + .order-sm-1 { + -ms-flex-order: 1; + order: 1; + } + .order-sm-2 { + -ms-flex-order: 2; + order: 2; + } + .order-sm-3 { + -ms-flex-order: 3; + order: 3; + } + .order-sm-4 { + -ms-flex-order: 4; + order: 4; + } + .order-sm-5 { + -ms-flex-order: 5; + order: 5; + } + .order-sm-6 { + -ms-flex-order: 6; + order: 6; + } + .order-sm-7 { + -ms-flex-order: 7; + order: 7; + } + .order-sm-8 { + -ms-flex-order: 8; + order: 8; + } + .order-sm-9 { + -ms-flex-order: 9; + order: 9; + } + .order-sm-10 { + -ms-flex-order: 10; + order: 10; + } + .order-sm-11 { + -ms-flex-order: 11; + order: 11; + } + .order-sm-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-sm-0 { + margin-left: 0; + } + .offset-sm-1 { + margin-left: 8.333333%; + } + .offset-sm-2 { + margin-left: 16.666667%; + } + .offset-sm-3 { + margin-left: 25%; + } + .offset-sm-4 { + margin-left: 33.333333%; + } + .offset-sm-5 { + margin-left: 41.666667%; + } + .offset-sm-6 { + margin-left: 50%; + } + .offset-sm-7 { + margin-left: 58.333333%; + } + .offset-sm-8 { + margin-left: 66.666667%; + } + .offset-sm-9 { + margin-left: 75%; + } + .offset-sm-10 { + margin-left: 83.333333%; + } + .offset-sm-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 768px) { + .col-md { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-md-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-md-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-md-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-md-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-md-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-md-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-md-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-md-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-md-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-md-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-md-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-md-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-md-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-md-first { + -ms-flex-order: -1; + order: -1; + } + .order-md-last { + -ms-flex-order: 13; + order: 13; + } + .order-md-0 { + -ms-flex-order: 0; + order: 0; + } + .order-md-1 { + -ms-flex-order: 1; + order: 1; + } + .order-md-2 { + -ms-flex-order: 2; + order: 2; + } + .order-md-3 { + -ms-flex-order: 3; + order: 3; + } + .order-md-4 { + -ms-flex-order: 4; + order: 4; + } + .order-md-5 { + -ms-flex-order: 5; + order: 5; + } + .order-md-6 { + -ms-flex-order: 6; + order: 6; + } + .order-md-7 { + -ms-flex-order: 7; + order: 7; + } + .order-md-8 { + -ms-flex-order: 8; + order: 8; + } + .order-md-9 { + -ms-flex-order: 9; + order: 9; + } + .order-md-10 { + -ms-flex-order: 10; + order: 10; + } + .order-md-11 { + -ms-flex-order: 11; + order: 11; + } + .order-md-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-md-0 { + margin-left: 0; + } + .offset-md-1 { + margin-left: 8.333333%; + } + .offset-md-2 { + margin-left: 16.666667%; + } + .offset-md-3 { + margin-left: 25%; + } + .offset-md-4 { + margin-left: 33.333333%; + } + .offset-md-5 { + margin-left: 41.666667%; + } + .offset-md-6 { + margin-left: 50%; + } + .offset-md-7 { + margin-left: 58.333333%; + } + .offset-md-8 { + margin-left: 66.666667%; + } + .offset-md-9 { + margin-left: 75%; + } + .offset-md-10 { + margin-left: 83.333333%; + } + .offset-md-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 992px) { + .col-lg { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-lg-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-lg-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-lg-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-lg-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-lg-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-lg-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-lg-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-lg-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-lg-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-lg-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-lg-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-lg-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-lg-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-lg-first { + -ms-flex-order: -1; + order: -1; + } + .order-lg-last { + -ms-flex-order: 13; + order: 13; + } + .order-lg-0 { + -ms-flex-order: 0; + order: 0; + } + .order-lg-1 { + -ms-flex-order: 1; + order: 1; + } + .order-lg-2 { + -ms-flex-order: 2; + order: 2; + } + .order-lg-3 { + -ms-flex-order: 3; + order: 3; + } + .order-lg-4 { + -ms-flex-order: 4; + order: 4; + } + .order-lg-5 { + -ms-flex-order: 5; + order: 5; + } + .order-lg-6 { + -ms-flex-order: 6; + order: 6; + } + .order-lg-7 { + -ms-flex-order: 7; + order: 7; + } + .order-lg-8 { + -ms-flex-order: 8; + order: 8; + } + .order-lg-9 { + -ms-flex-order: 9; + order: 9; + } + .order-lg-10 { + -ms-flex-order: 10; + order: 10; + } + .order-lg-11 { + -ms-flex-order: 11; + order: 11; + } + .order-lg-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-lg-0 { + margin-left: 0; + } + .offset-lg-1 { + margin-left: 8.333333%; + } + .offset-lg-2 { + margin-left: 16.666667%; + } + .offset-lg-3 { + margin-left: 25%; + } + .offset-lg-4 { + margin-left: 33.333333%; + } + .offset-lg-5 { + margin-left: 41.666667%; + } + .offset-lg-6 { + margin-left: 50%; + } + .offset-lg-7 { + margin-left: 58.333333%; + } + .offset-lg-8 { + margin-left: 66.666667%; + } + .offset-lg-9 { + margin-left: 75%; + } + .offset-lg-10 { + margin-left: 83.333333%; + } + .offset-lg-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 1200px) { + .col-xl { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-xl-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-xl-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-xl-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-xl-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-xl-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-xl-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-xl-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-xl-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-xl-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-xl-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-xl-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-xl-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-xl-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-xl-first { + -ms-flex-order: -1; + order: -1; + } + .order-xl-last { + -ms-flex-order: 13; + order: 13; + } + .order-xl-0 { + -ms-flex-order: 0; + order: 0; + } + .order-xl-1 { + -ms-flex-order: 1; + order: 1; + } + .order-xl-2 { + -ms-flex-order: 2; + order: 2; + } + .order-xl-3 { + -ms-flex-order: 3; + order: 3; + } + .order-xl-4 { + -ms-flex-order: 4; + order: 4; + } + .order-xl-5 { + -ms-flex-order: 5; + order: 5; + } + .order-xl-6 { + -ms-flex-order: 6; + order: 6; + } + .order-xl-7 { + -ms-flex-order: 7; + order: 7; + } + .order-xl-8 { + -ms-flex-order: 8; + order: 8; + } + .order-xl-9 { + -ms-flex-order: 9; + order: 9; + } + .order-xl-10 { + -ms-flex-order: 10; + order: 10; + } + .order-xl-11 { + -ms-flex-order: 11; + order: 11; + } + .order-xl-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-xl-0 { + margin-left: 0; + } + .offset-xl-1 { + margin-left: 8.333333%; + } + .offset-xl-2 { + margin-left: 16.666667%; + } + .offset-xl-3 { + margin-left: 25%; + } + .offset-xl-4 { + margin-left: 33.333333%; + } + .offset-xl-5 { + margin-left: 41.666667%; + } + .offset-xl-6 { + margin-left: 50%; + } + .offset-xl-7 { + margin-left: 58.333333%; + } + .offset-xl-8 { + margin-left: 66.666667%; + } + .offset-xl-9 { + margin-left: 75%; + } + .offset-xl-10 { + margin-left: 83.333333%; + } + .offset-xl-11 { + margin-left: 91.666667%; + } +} + +.table { + width: 100%; + margin-bottom: 1rem; + background-color: transparent; +} + +.table th, +.table td { + padding: 0.75rem; + vertical-align: top; + border-top: 1px solid #c8ced3; +} + +.table thead th { + vertical-align: bottom; + border-bottom: 2px solid #c8ced3; +} + +.table tbody + tbody { + border-top: 2px solid #c8ced3; +} + +.table .table { + background-color: #e4e5e6; +} + +.table-sm th, +.table-sm td { + padding: 0.3rem; +} + +.table-bordered { + border: 1px solid #c8ced3; +} + +.table-bordered th, +.table-bordered td { + border: 1px solid #c8ced3; +} + +.table-bordered thead th, +.table-bordered thead td { + border-bottom-width: 2px; +} + +.table-borderless th, +.table-borderless td, +.table-borderless thead th, +.table-borderless tbody + tbody { + border: 0; +} + +.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(0, 0, 0, 0.05); +} + +.table-hover tbody tr:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-primary, +.table-primary > th, +.table-primary > td { + background-color: #c1e7f4; +} + +.table-hover .table-primary:hover { + background-color: #abdff0; +} + +.table-hover .table-primary:hover > td, +.table-hover .table-primary:hover > th { + background-color: #abdff0; +} + +.table-secondary, +.table-secondary > th, +.table-secondary > td { + background-color: #f0f1f3; +} + +.table-hover .table-secondary:hover { + background-color: #e2e4e8; +} + +.table-hover .table-secondary:hover > td, +.table-hover .table-secondary:hover > th { + background-color: #e2e4e8; +} + +.table-success, +.table-success > th, +.table-success > td { + background-color: #cdedd8; +} + +.table-hover .table-success:hover { + background-color: #bae6c9; +} + +.table-hover .table-success:hover > td, +.table-hover .table-success:hover > th { + background-color: #bae6c9; +} + +.table-info, +.table-info > th, +.table-info > td { + background-color: #d3eef6; +} + +.table-hover .table-info:hover { + background-color: #bee6f2; +} + +.table-hover .table-info:hover > td, +.table-hover .table-info:hover > th { + background-color: #bee6f2; +} + +.table-warning, +.table-warning > th, +.table-warning > td { + background-color: #ffeeba; +} + +.table-hover .table-warning:hover { + background-color: #ffe8a1; +} + +.table-hover .table-warning:hover > td, +.table-hover .table-warning:hover > th { + background-color: #ffe8a1; +} + +.table-danger, +.table-danger > th, +.table-danger > td { + background-color: #fdd6d6; +} + +.table-hover .table-danger:hover { + background-color: #fcbebe; +} + +.table-hover .table-danger:hover > td, +.table-hover .table-danger:hover > th { + background-color: #fcbebe; +} + +.table-light, +.table-light > th, +.table-light > td { + background-color: #fbfcfc; +} + +.table-hover .table-light:hover { + background-color: #ecf1f1; +} + +.table-hover .table-light:hover > td, +.table-hover .table-light:hover > th { + background-color: #ecf1f1; +} + +.table-dark, +.table-dark > th, +.table-dark > td { + background-color: #c5c6c8; +} + +.table-hover .table-dark:hover { + background-color: #b8b9bc; +} + +.table-hover .table-dark:hover > td, +.table-hover .table-dark:hover > th { + background-color: #b8b9bc; +} + +.table-active, +.table-active > th, +.table-active > td { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover > td, +.table-hover .table-active:hover > th { + background-color: rgba(0, 0, 0, 0.075); +} + +.table .thead-dark th { + color: #e4e5e6; + background-color: #23282c; + border-color: #343b41; +} + +.table .thead-light th { + color: #5c6873; + background-color: #e4e7ea; + border-color: #c8ced3; +} + +.table-dark { + color: #e4e5e6; + background-color: #23282c; +} + +.table-dark th, +.table-dark td, +.table-dark thead th { + border-color: #343b41; +} + +.table-dark.table-bordered { + border: 0; +} + +.table-dark.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(255, 255, 255, 0.05); +} + +.table-dark.table-hover tbody tr:hover { + background-color: rgba(255, 255, 255, 0.075); +} + +@media (max-width: 575.98px) { + .table-responsive-sm { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-sm > .table-bordered { + border: 0; + } +} + +@media (max-width: 767.98px) { + .table-responsive-md { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-md > .table-bordered { + border: 0; + } +} + +@media (max-width: 991.98px) { + .table-responsive-lg { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-lg > .table-bordered { + border: 0; + } +} + +@media (max-width: 1199.98px) { + .table-responsive-xl { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-xl > .table-bordered { + border: 0; + } +} + +.table-responsive { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; +} + +.table-responsive > .table-bordered { + border: 0; +} + +.form-control { + display: block; + width: 100%; + height: calc(2.0625rem + 2px); + padding: 0.375rem 0.75rem; + font-size: 0.875rem; + line-height: 1.5; + color: #5c6873; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #e4e7ea; + border-radius: 0.25rem; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +@media screen and (prefers-reduced-motion: reduce) { + .form-control { + transition: none; + } +} + +.form-control::-ms-expand { + background-color: transparent; + border: 0; +} + +.form-control:focus { + color: #5c6873; + background-color: #fff; + border-color: #8ad4ee; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.25); +} + +.form-control::-webkit-input-placeholder { + color: #73818f; + opacity: 1; +} + +.form-control::-moz-placeholder { + color: #73818f; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #73818f; + opacity: 1; +} + +.form-control::-ms-input-placeholder { + color: #73818f; + opacity: 1; +} + +.form-control::placeholder { + color: #73818f; + opacity: 1; +} + +.form-control:disabled, .form-control[readonly] { + background-color: #e4e7ea; + opacity: 1; +} + +select.form-control:focus::-ms-value { + color: #5c6873; + background-color: #fff; +} + +.form-control-file, +.form-control-range { + display: block; + width: 100%; +} + +.col-form-label { + padding-top: calc(0.375rem + 1px); + padding-bottom: calc(0.375rem + 1px); + margin-bottom: 0; + font-size: inherit; + line-height: 1.5; +} + +.col-form-label-lg { + padding-top: calc(0.5rem + 1px); + padding-bottom: calc(0.5rem + 1px); + font-size: 1.09375rem; + line-height: 1.5; +} + +.col-form-label-sm { + padding-top: calc(0.25rem + 1px); + padding-bottom: calc(0.25rem + 1px); + font-size: 0.765625rem; + line-height: 1.5; +} + +.form-control-plaintext { + display: block; + width: 100%; + padding-top: 0.375rem; + padding-bottom: 0.375rem; + margin-bottom: 0; + line-height: 1.5; + color: #23282c; + background-color: transparent; + border: solid transparent; + border-width: 1px 0; +} + +.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg { + padding-right: 0; + padding-left: 0; +} + +.form-control-sm { + height: calc(1.648438rem + 2px); + padding: 0.25rem 0.5rem; + font-size: 0.765625rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.form-control-lg { + height: calc(2.640625rem + 2px); + padding: 0.5rem 1rem; + font-size: 1.09375rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +select.form-control[size], select.form-control[multiple] { + height: auto; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 1rem; +} + +.form-text { + display: block; + margin-top: 0.25rem; +} + +.form-row { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -5px; + margin-left: -5px; +} + +.form-row > .col, +.form-row > [class*="col-"] { + padding-right: 5px; + padding-left: 5px; +} + +.form-check { + position: relative; + display: block; + padding-left: 1.25rem; +} + +.form-check-input { + position: absolute; + margin-top: 0.3rem; + margin-left: -1.25rem; +} + +.form-check-input:disabled ~ .form-check-label { + color: #73818f; +} + +.form-check-label { + margin-bottom: 0; +} + +.form-check-inline { + display: -ms-inline-flexbox; + display: inline-flex; + -ms-flex-align: center; + align-items: center; + padding-left: 0; + margin-right: 0.75rem; +} + +.form-check-inline .form-check-input { + position: static; + margin-top: 0; + margin-right: 0.3125rem; + margin-left: 0; +} + +.valid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #4dbd74; +} + +.valid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: .1rem; + font-size: 0.765625rem; + line-height: 1.5; + color: #fff; + background-color: rgba(77, 189, 116, 0.9); + border-radius: 0.25rem; +} + +.was-validated .form-control:valid, .form-control.is-valid, .was-validated +.custom-select:valid, +.custom-select.is-valid { + border-color: #4dbd74; +} + +.was-validated .form-control:valid:focus, .form-control.is-valid:focus, .was-validated +.custom-select:valid:focus, +.custom-select.is-valid:focus { + border-color: #4dbd74; + box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.25); +} + +.was-validated .form-control:valid ~ .valid-feedback, +.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback, +.form-control.is-valid ~ .valid-tooltip, .was-validated +.custom-select:valid ~ .valid-feedback, +.was-validated +.custom-select:valid ~ .valid-tooltip, +.custom-select.is-valid ~ .valid-feedback, +.custom-select.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-control-file:valid ~ .valid-feedback, +.was-validated .form-control-file:valid ~ .valid-tooltip, .form-control-file.is-valid ~ .valid-feedback, +.form-control-file.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label { + color: #4dbd74; +} + +.was-validated .form-check-input:valid ~ .valid-feedback, +.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback, +.form-check-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label { + color: #4dbd74; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before { + background-color: #aadfbd; +} + +.was-validated .custom-control-input:valid ~ .valid-feedback, +.was-validated .custom-control-input:valid ~ .valid-tooltip, .custom-control-input.is-valid ~ .valid-feedback, +.custom-control-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before { + background-color: #72cb91; +} + +.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(77, 189, 116, 0.25); +} + +.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label { + border-color: #4dbd74; +} + +.was-validated .custom-file-input:valid ~ .custom-file-label::after, .custom-file-input.is-valid ~ .custom-file-label::after { + border-color: inherit; +} + +.was-validated .custom-file-input:valid ~ .valid-feedback, +.was-validated .custom-file-input:valid ~ .valid-tooltip, .custom-file-input.is-valid ~ .valid-feedback, +.custom-file-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label { + box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.25); +} + +.invalid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #f86c6b; +} + +.invalid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: .1rem; + font-size: 0.765625rem; + line-height: 1.5; + color: #fff; + background-color: rgba(248, 108, 107, 0.9); + border-radius: 0.25rem; +} + +.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated +.custom-select:invalid, +.custom-select.is-invalid { + border-color: #f86c6b; +} + +.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus, .was-validated +.custom-select:invalid:focus, +.custom-select.is-invalid:focus { + border-color: #f86c6b; + box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.25); +} + +.was-validated .form-control:invalid ~ .invalid-feedback, +.was-validated .form-control:invalid ~ .invalid-tooltip, .form-control.is-invalid ~ .invalid-feedback, +.form-control.is-invalid ~ .invalid-tooltip, .was-validated +.custom-select:invalid ~ .invalid-feedback, +.was-validated +.custom-select:invalid ~ .invalid-tooltip, +.custom-select.is-invalid ~ .invalid-feedback, +.custom-select.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-control-file:invalid ~ .invalid-feedback, +.was-validated .form-control-file:invalid ~ .invalid-tooltip, .form-control-file.is-invalid ~ .invalid-feedback, +.form-control-file.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label { + color: #f86c6b; +} + +.was-validated .form-check-input:invalid ~ .invalid-feedback, +.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback, +.form-check-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label { + color: #f86c6b; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before { + background-color: #fee5e5; +} + +.was-validated .custom-control-input:invalid ~ .invalid-feedback, +.was-validated .custom-control-input:invalid ~ .invalid-tooltip, .custom-control-input.is-invalid ~ .invalid-feedback, +.custom-control-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before { + background-color: #fa9c9c; +} + +.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(248, 108, 107, 0.25); +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label { + border-color: #f86c6b; +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label::after, .custom-file-input.is-invalid ~ .custom-file-label::after { + border-color: inherit; +} + +.was-validated .custom-file-input:invalid ~ .invalid-feedback, +.was-validated .custom-file-input:invalid ~ .invalid-tooltip, .custom-file-input.is-invalid ~ .invalid-feedback, +.custom-file-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label { + box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.25); +} + +.form-inline { + display: -ms-flexbox; + display: flex; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -ms-flex-align: center; + align-items: center; +} + +.form-inline .form-check { + width: 100%; +} + +@media (min-width: 576px) { + .form-inline label { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + margin-bottom: 0; + } + .form-inline .form-group { + display: -ms-flexbox; + display: flex; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -ms-flex-align: center; + align-items: center; + margin-bottom: 0; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-plaintext { + display: inline-block; + } + .form-inline .input-group, + .form-inline .custom-select { + width: auto; + } + .form-inline .form-check { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + width: auto; + padding-left: 0; + } + .form-inline .form-check-input { + position: relative; + margin-top: 0; + margin-right: 0.25rem; + margin-left: 0; + } + .form-inline .custom-control { + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + } + .form-inline .custom-control-label { + margin-bottom: 0; + } +} + +.btn { + display: inline-block; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + border: 1px solid transparent; + padding: 0.375rem 0.75rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.25rem; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +@media screen and (prefers-reduced-motion: reduce) { + .btn { + transition: none; + } +} + +.btn:hover, .btn:focus { + text-decoration: none; +} + +.btn:focus, .btn.focus { + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.25); +} + +.btn.disabled, .btn:disabled { + opacity: 0.65; +} + +.btn:not(:disabled):not(.disabled) { + cursor: pointer; +} + +a.btn.disabled, +fieldset:disabled a.btn { + pointer-events: none; +} + +.btn-primary { + color: #fff; + background-color: #20a8d8; + border-color: #20a8d8; +} + +.btn-primary:hover { + color: #fff; + background-color: #1b8eb7; + border-color: #1985ac; +} + +.btn-primary:focus, .btn-primary.focus { + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5); +} + +.btn-primary.disabled, .btn-primary:disabled { + color: #fff; + background-color: #20a8d8; + border-color: #20a8d8; +} + +.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, +.show > .btn-primary.dropdown-toggle { + color: #fff; + background-color: #1985ac; + border-color: #187da0; +} + +.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5); +} + +.btn-secondary { + color: #23282c; + background-color: #c8ced3; + border-color: #c8ced3; +} + +.btn-secondary:hover { + color: #23282c; + background-color: #b3bbc2; + border-color: #acb5bc; +} + +.btn-secondary:focus, .btn-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5); +} + +.btn-secondary.disabled, .btn-secondary:disabled { + color: #23282c; + background-color: #c8ced3; + border-color: #c8ced3; +} + +.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, +.show > .btn-secondary.dropdown-toggle { + color: #23282c; + background-color: #acb5bc; + border-color: #a5aeb7; +} + +.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5); +} + +.btn-success { + color: #fff; + background-color: #4dbd74; + border-color: #4dbd74; +} + +.btn-success:hover { + color: #fff; + background-color: #3ea662; + border-color: #3a9d5d; +} + +.btn-success:focus, .btn-success.focus { + box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5); +} + +.btn-success.disabled, .btn-success:disabled { + color: #fff; + background-color: #4dbd74; + border-color: #4dbd74; +} + +.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, +.show > .btn-success.dropdown-toggle { + color: #fff; + background-color: #3a9d5d; + border-color: #379457; +} + +.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5); +} + +.btn-info { + color: #23282c; + background-color: #63c2de; + border-color: #63c2de; +} + +.btn-info:hover { + color: #23282c; + background-color: #43b6d7; + border-color: #39b2d5; +} + +.btn-info:focus, .btn-info.focus { + box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5); +} + +.btn-info.disabled, .btn-info:disabled { + color: #23282c; + background-color: #63c2de; + border-color: #63c2de; +} + +.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, +.show > .btn-info.dropdown-toggle { + color: #fff; + background-color: #39b2d5; + border-color: #2eadd3; +} + +.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5); +} + +.btn-warning { + color: #23282c; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:hover { + color: #23282c; + background-color: #e0a800; + border-color: #d39e00; +} + +.btn-warning:focus, .btn-warning.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-warning.disabled, .btn-warning:disabled { + color: #23282c; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, +.show > .btn-warning.dropdown-toggle { + color: #23282c; + background-color: #d39e00; + border-color: #c69500; +} + +.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-danger { + color: #fff; + background-color: #f86c6b; + border-color: #f86c6b; +} + +.btn-danger:hover { + color: #fff; + background-color: #f64846; + border-color: #f63c3a; +} + +.btn-danger:focus, .btn-danger.focus { + box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5); +} + +.btn-danger.disabled, .btn-danger:disabled { + color: #fff; + background-color: #f86c6b; + border-color: #f86c6b; +} + +.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, +.show > .btn-danger.dropdown-toggle { + color: #fff; + background-color: #f63c3a; + border-color: #f5302e; +} + +.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5); +} + +.btn-light { + color: #23282c; + background-color: #f0f3f5; + border-color: #f0f3f5; +} + +.btn-light:hover { + color: #23282c; + background-color: #d9e1e6; + border-color: #d1dbe1; +} + +.btn-light:focus, .btn-light.focus { + box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5); +} + +.btn-light.disabled, .btn-light:disabled { + color: #23282c; + background-color: #f0f3f5; + border-color: #f0f3f5; +} + +.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, +.show > .btn-light.dropdown-toggle { + color: #23282c; + background-color: #d1dbe1; + border-color: #cad4dc; +} + +.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5); +} + +.btn-dark { + color: #fff; + background-color: #2f353a; + border-color: #2f353a; +} + +.btn-dark:hover { + color: #fff; + background-color: #1e2225; + border-color: #181b1e; +} + +.btn-dark:focus, .btn-dark.focus { + box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5); +} + +.btn-dark.disabled, .btn-dark:disabled { + color: #fff; + background-color: #2f353a; + border-color: #2f353a; +} + +.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, +.show > .btn-dark.dropdown-toggle { + color: #fff; + background-color: #181b1e; + border-color: #121517; +} + +.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5); +} + +.btn-outline-primary { + color: #20a8d8; + background-color: transparent; + background-image: none; + border-color: #20a8d8; +} + +.btn-outline-primary:hover { + color: #fff; + background-color: #20a8d8; + border-color: #20a8d8; +} + +.btn-outline-primary:focus, .btn-outline-primary.focus { + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5); +} + +.btn-outline-primary.disabled, .btn-outline-primary:disabled { + color: #20a8d8; + background-color: transparent; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, +.show > .btn-outline-primary.dropdown-toggle { + color: #fff; + background-color: #20a8d8; + border-color: #20a8d8; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5); +} + +.btn-outline-secondary { + color: #c8ced3; + background-color: transparent; + background-image: none; + border-color: #c8ced3; +} + +.btn-outline-secondary:hover { + color: #23282c; + background-color: #c8ced3; + border-color: #c8ced3; +} + +.btn-outline-secondary:focus, .btn-outline-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5); +} + +.btn-outline-secondary.disabled, .btn-outline-secondary:disabled { + color: #c8ced3; + background-color: transparent; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, +.show > .btn-outline-secondary.dropdown-toggle { + color: #23282c; + background-color: #c8ced3; + border-color: #c8ced3; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5); +} + +.btn-outline-success { + color: #4dbd74; + background-color: transparent; + background-image: none; + border-color: #4dbd74; +} + +.btn-outline-success:hover { + color: #fff; + background-color: #4dbd74; + border-color: #4dbd74; +} + +.btn-outline-success:focus, .btn-outline-success.focus { + box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5); +} + +.btn-outline-success.disabled, .btn-outline-success:disabled { + color: #4dbd74; + background-color: transparent; +} + +.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, +.show > .btn-outline-success.dropdown-toggle { + color: #fff; + background-color: #4dbd74; + border-color: #4dbd74; +} + +.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5); +} + +.btn-outline-info { + color: #63c2de; + background-color: transparent; + background-image: none; + border-color: #63c2de; +} + +.btn-outline-info:hover { + color: #23282c; + background-color: #63c2de; + border-color: #63c2de; +} + +.btn-outline-info:focus, .btn-outline-info.focus { + box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5); +} + +.btn-outline-info.disabled, .btn-outline-info:disabled { + color: #63c2de; + background-color: transparent; +} + +.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, +.show > .btn-outline-info.dropdown-toggle { + color: #23282c; + background-color: #63c2de; + border-color: #63c2de; +} + +.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5); +} + +.btn-outline-warning { + color: #ffc107; + background-color: transparent; + background-image: none; + border-color: #ffc107; +} + +.btn-outline-warning:hover { + color: #23282c; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:focus, .btn-outline-warning.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-warning.disabled, .btn-outline-warning:disabled { + color: #ffc107; + background-color: transparent; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, +.show > .btn-outline-warning.dropdown-toggle { + color: #23282c; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-danger { + color: #f86c6b; + background-color: transparent; + background-image: none; + border-color: #f86c6b; +} + +.btn-outline-danger:hover { + color: #fff; + background-color: #f86c6b; + border-color: #f86c6b; +} + +.btn-outline-danger:focus, .btn-outline-danger.focus { + box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5); +} + +.btn-outline-danger.disabled, .btn-outline-danger:disabled { + color: #f86c6b; + background-color: transparent; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, +.show > .btn-outline-danger.dropdown-toggle { + color: #fff; + background-color: #f86c6b; + border-color: #f86c6b; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5); +} + +.btn-outline-light { + color: #f0f3f5; + background-color: transparent; + background-image: none; + border-color: #f0f3f5; +} + +.btn-outline-light:hover { + color: #23282c; + background-color: #f0f3f5; + border-color: #f0f3f5; +} + +.btn-outline-light:focus, .btn-outline-light.focus { + box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5); +} + +.btn-outline-light.disabled, .btn-outline-light:disabled { + color: #f0f3f5; + background-color: transparent; +} + +.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, +.show > .btn-outline-light.dropdown-toggle { + color: #23282c; + background-color: #f0f3f5; + border-color: #f0f3f5; +} + +.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5); +} + +.btn-outline-dark { + color: #2f353a; + background-color: transparent; + background-image: none; + border-color: #2f353a; +} + +.btn-outline-dark:hover { + color: #fff; + background-color: #2f353a; + border-color: #2f353a; +} + +.btn-outline-dark:focus, .btn-outline-dark.focus { + box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5); +} + +.btn-outline-dark.disabled, .btn-outline-dark:disabled { + color: #2f353a; + background-color: transparent; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, +.show > .btn-outline-dark.dropdown-toggle { + color: #fff; + background-color: #2f353a; + border-color: #2f353a; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5); +} + +.btn-link { + font-weight: 400; + color: #20a8d8; + background-color: transparent; +} + +.btn-link:hover { + color: #167495; + text-decoration: underline; + background-color: transparent; + border-color: transparent; +} + +.btn-link:focus, .btn-link.focus { + text-decoration: underline; + border-color: transparent; + box-shadow: none; +} + +.btn-link:disabled, .btn-link.disabled { + color: #73818f; + pointer-events: none; +} + +.btn-lg, .btn-group-lg > .btn { + padding: 0.5rem 1rem; + font-size: 1.09375rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.btn-sm, .btn-group-sm > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.765625rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.btn-block { + display: block; + width: 100%; +} + +.btn-block + .btn-block { + margin-top: 0.5rem; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + transition: opacity 0.15s linear; +} + +@media screen and (prefers-reduced-motion: reduce) { + .fade { + transition: none; + } +} + +.fade:not(.show) { + opacity: 0; +} + +.collapse:not(.show) { + display: none; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + transition: height 0.35s ease; +} + +@media screen and (prefers-reduced-motion: reduce) { + .collapsing { + transition: none; + } +} + +.dropup, +.dropright, +.dropdown, +.dropleft { + position: relative; +} + +.dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid; + border-right: 0.3em solid transparent; + border-bottom: 0; + border-left: 0.3em solid transparent; +} + +.dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 10rem; + padding: 0 0; + margin: 0.125rem 0 0; + font-size: 0.875rem; + color: #23282c; + text-align: left; + list-style: none; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #c8ced3; + border-radius: 0.25rem; +} + +.dropdown-menu-right { + right: 0; + left: auto; +} + +.dropup .dropdown-menu { + top: auto; + bottom: 100%; + margin-top: 0; + margin-bottom: 0.125rem; +} + +.dropup .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0; + border-right: 0.3em solid transparent; + border-bottom: 0.3em solid; + border-left: 0.3em solid transparent; +} + +.dropup .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-menu { + top: 0; + right: auto; + left: 100%; + margin-top: 0; + margin-left: 0.125rem; +} + +.dropright .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0; + border-bottom: 0.3em solid transparent; + border-left: 0.3em solid; +} + +.dropright .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-toggle::after { + vertical-align: 0; +} + +.dropleft .dropdown-menu { + top: 0; + right: 100%; + left: auto; + margin-top: 0; + margin-right: 0.125rem; +} + +.dropleft .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; +} + +.dropleft .dropdown-toggle::after { + display: none; +} + +.dropleft .dropdown-toggle::before { + display: inline-block; + width: 0; + height: 0; + margin-right: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0.3em solid; + border-bottom: 0.3em solid transparent; +} + +.dropleft .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle::before { + vertical-align: 0; +} + +.dropdown-menu[x-placement^="top"], .dropdown-menu[x-placement^="right"], .dropdown-menu[x-placement^="bottom"], .dropdown-menu[x-placement^="left"] { + right: auto; + bottom: auto; +} + +.dropdown-divider { + height: 0; + margin: 0.5rem 0; + overflow: hidden; + border-top: 1px solid #e4e7ea; +} + +.dropdown-item { + display: block; + width: 100%; + padding: 0.25rem 1.5rem; + clear: both; + font-weight: 400; + color: #23282c; + text-align: inherit; + white-space: nowrap; + background-color: transparent; + border: 0; +} + +.dropdown-item:hover, .dropdown-item:focus { + color: #181b1e; + text-decoration: none; + background-color: #f0f3f5; +} + +.dropdown-item.active, .dropdown-item:active { + color: #fff; + text-decoration: none; + background-color: #20a8d8; +} + +.dropdown-item.disabled, .dropdown-item:disabled { + color: #73818f; + background-color: transparent; +} + +.dropdown-menu.show { + display: block; +} + +.dropdown-header { + display: block; + padding: 0 1.5rem; + margin-bottom: 0; + font-size: 0.765625rem; + color: #73818f; + white-space: nowrap; +} + +.dropdown-item-text { + display: block; + padding: 0.25rem 1.5rem; + color: #23282c; +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + -ms-flex: 0 1 auto; + flex: 0 1 auto; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover { + z-index: 1; +} + +.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn.active { + z-index: 1; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group, +.btn-group-vertical .btn + .btn, +.btn-group-vertical .btn + .btn-group, +.btn-group-vertical .btn-group + .btn, +.btn-group-vertical .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.btn-toolbar .input-group { + width: auto; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.dropdown-toggle-split { + padding-right: 0.5625rem; + padding-left: 0.5625rem; +} + +.dropdown-toggle-split::after, +.dropup .dropdown-toggle-split::after, +.dropright .dropdown-toggle-split::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle-split::before { + margin-right: 0; +} + +.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split { + padding-right: 0.375rem; + padding-left: 0.375rem; +} + +.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split { + padding-right: 0.75rem; + padding-left: 0.75rem; +} + +.btn-group-vertical { + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-align: start; + align-items: flex-start; + -ms-flex-pack: center; + justify-content: center; +} + +.btn-group-vertical .btn, +.btn-group-vertical .btn-group { + width: 100%; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group-vertical > .btn-group:not(:last-child) > .btn { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.btn-group-toggle > .btn, +.btn-group-toggle > .btn-group > .btn { + margin-bottom: 0; +} + +.btn-group-toggle > .btn input[type="radio"], +.btn-group-toggle > .btn input[type="checkbox"], +.btn-group-toggle > .btn-group > .btn input[type="radio"], +.btn-group-toggle > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} + +.input-group { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; +} + +.input-group > .form-control, +.input-group > .custom-select, +.input-group > .custom-file { + position: relative; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + width: 1%; + margin-bottom: 0; +} + +.input-group > .form-control + .form-control, +.input-group > .form-control + .custom-select, +.input-group > .form-control + .custom-file, +.input-group > .custom-select + .form-control, +.input-group > .custom-select + .custom-select, +.input-group > .custom-select + .custom-file, +.input-group > .custom-file + .form-control, +.input-group > .custom-file + .custom-select, +.input-group > .custom-file + .custom-file { + margin-left: -1px; +} + +.input-group > .form-control:focus, +.input-group > .custom-select:focus, +.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label { + z-index: 3; +} + +.input-group > .custom-file .custom-file-input:focus { + z-index: 4; +} + +.input-group > .form-control:not(:last-child), +.input-group > .custom-select:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .form-control:not(:first-child), +.input-group > .custom-select:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group > .custom-file { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; +} + +.input-group > .custom-file:not(:last-child) .custom-file-label, +.input-group > .custom-file:not(:last-child) .custom-file-label::after { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .custom-file:not(:first-child) .custom-file-label { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group-prepend, +.input-group-append { + display: -ms-flexbox; + display: flex; +} + +.input-group-prepend .btn, +.input-group-append .btn { + position: relative; + z-index: 2; +} + +.input-group-prepend .btn + .btn, +.input-group-prepend .btn + .input-group-text, +.input-group-prepend .input-group-text + .input-group-text, +.input-group-prepend .input-group-text + .btn, +.input-group-append .btn + .btn, +.input-group-append .btn + .input-group-text, +.input-group-append .input-group-text + .input-group-text, +.input-group-append .input-group-text + .btn { + margin-left: -1px; +} + +.input-group-prepend { + margin-right: -1px; +} + +.input-group-append { + margin-left: -1px; +} + +.input-group-text { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + padding: 0.375rem 0.75rem; + margin-bottom: 0; + font-size: 0.875rem; + font-weight: 400; + line-height: 1.5; + color: #5c6873; + text-align: center; + white-space: nowrap; + background-color: #f0f3f5; + border: 1px solid #e4e7ea; + border-radius: 0.25rem; +} + +.input-group-text input[type="radio"], +.input-group-text input[type="checkbox"] { + margin-top: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-prepend > .input-group-text, +.input-group-lg > .input-group-append > .input-group-text, +.input-group-lg > .input-group-prepend > .btn, +.input-group-lg > .input-group-append > .btn { + height: calc(2.640625rem + 2px); + padding: 0.5rem 1rem; + font-size: 1.09375rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-prepend > .input-group-text, +.input-group-sm > .input-group-append > .input-group-text, +.input-group-sm > .input-group-prepend > .btn, +.input-group-sm > .input-group-append > .btn { + height: calc(1.648438rem + 2px); + padding: 0.25rem 0.5rem; + font-size: 0.765625rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.input-group > .input-group-prepend > .btn, +.input-group > .input-group-prepend > .input-group-text, +.input-group > .input-group-append:not(:last-child) > .btn, +.input-group > .input-group-append:not(:last-child) > .input-group-text, +.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .input-group-append > .btn, +.input-group > .input-group-append > .input-group-text, +.input-group > .input-group-prepend:not(:first-child) > .btn, +.input-group > .input-group-prepend:not(:first-child) > .input-group-text, +.input-group > .input-group-prepend:first-child > .btn:not(:first-child), +.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.custom-control { + position: relative; + display: block; + min-height: 1.3125rem; + padding-left: 1.5rem; +} + +.custom-control-inline { + display: -ms-inline-flexbox; + display: inline-flex; + margin-right: 1rem; +} + +.custom-control-input { + position: absolute; + z-index: -1; + opacity: 0; +} + +.custom-control-input:checked ~ .custom-control-label::before { + color: #fff; + background-color: #20a8d8; +} + +.custom-control-input:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); +} + +.custom-control-input:active ~ .custom-control-label::before { + color: #fff; + background-color: #b6e4f4; +} + +.custom-control-input:disabled ~ .custom-control-label { + color: #73818f; +} + +.custom-control-input:disabled ~ .custom-control-label::before { + background-color: #e4e7ea; +} + +.custom-control-label { + position: relative; + margin-bottom: 0; +} + +.custom-control-label::before { + position: absolute; + top: 0.15625rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + pointer-events: none; + content: ""; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: #c8ced3; +} + +.custom-control-label::after { + position: absolute; + top: 0.15625rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + content: ""; + background-repeat: no-repeat; + background-position: center center; + background-size: 50% 50%; +} + +.custom-checkbox .custom-control-label::before { + border-radius: 0.25rem; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { + background-color: #20a8d8; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before { + background-color: #20a8d8; +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E"); +} + +.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(32, 168, 216, 0.5); +} + +.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before { + background-color: rgba(32, 168, 216, 0.5); +} + +.custom-radio .custom-control-label::before { + border-radius: 50%; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::before { + background-color: #20a8d8; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E"); +} + +.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(32, 168, 216, 0.5); +} + +.custom-select { + display: inline-block; + width: 100%; + height: calc(2.0625rem + 2px); + padding: 0.375rem 1.75rem 0.375rem 0.75rem; + line-height: 1.5; + color: #5c6873; + vertical-align: middle; + background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%232f353a' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center; + background-size: 8px 10px; + border: 1px solid #e4e7ea; + border-radius: 0.25rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-select:focus { + border-color: #8ad4ee; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(138, 212, 238, 0.5); +} + +.custom-select:focus::-ms-value { + color: #5c6873; + background-color: #fff; +} + +.custom-select[multiple], .custom-select[size]:not([size="1"]) { + height: auto; + padding-right: 0.75rem; + background-image: none; +} + +.custom-select:disabled { + color: #73818f; + background-color: #e4e7ea; +} + +.custom-select::-ms-expand { + opacity: 0; +} + +.custom-select-sm { + height: calc(1.648438rem + 2px); + padding-top: 0.375rem; + padding-bottom: 0.375rem; + font-size: 75%; +} + +.custom-select-lg { + height: calc(2.640625rem + 2px); + padding-top: 0.375rem; + padding-bottom: 0.375rem; + font-size: 125%; +} + +.custom-file { + position: relative; + display: inline-block; + width: 100%; + height: calc(2.0625rem + 2px); + margin-bottom: 0; +} + +.custom-file-input { + position: relative; + z-index: 2; + width: 100%; + height: calc(2.0625rem + 2px); + margin: 0; + opacity: 0; +} + +.custom-file-input:focus ~ .custom-file-label { + border-color: #8ad4ee; + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.25); +} + +.custom-file-input:focus ~ .custom-file-label::after { + border-color: #8ad4ee; +} + +.custom-file-input:disabled ~ .custom-file-label { + background-color: #e4e7ea; +} + +.custom-file-input:lang(en) ~ .custom-file-label::after { + content: "Browse"; +} + +.custom-file-label { + position: absolute; + top: 0; + right: 0; + left: 0; + z-index: 1; + height: calc(2.0625rem + 2px); + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #5c6873; + background-color: #fff; + border: 1px solid #e4e7ea; + border-radius: 0.25rem; +} + +.custom-file-label::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + z-index: 3; + display: block; + height: 2.0625rem; + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #5c6873; + content: "Browse"; + background-color: #f0f3f5; + border-left: 1px solid #e4e7ea; + border-radius: 0 0.25rem 0.25rem 0; +} + +.custom-range { + width: 100%; + padding-left: 0; + background-color: transparent; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-range:focus { + outline: none; +} + +.custom-range:focus::-webkit-slider-thumb { + box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); +} + +.custom-range:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); +} + +.custom-range:focus::-ms-thumb { + box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); +} + +.custom-range::-moz-focus-outer { + border: 0; +} + +.custom-range::-webkit-slider-thumb { + width: 1rem; + height: 1rem; + margin-top: -0.25rem; + background-color: #20a8d8; + border: 0; + border-radius: 1rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + -webkit-appearance: none; + appearance: none; +} + +@media screen and (prefers-reduced-motion: reduce) { + .custom-range::-webkit-slider-thumb { + transition: none; + } +} + +.custom-range::-webkit-slider-thumb:active { + background-color: #b6e4f4; +} + +.custom-range::-webkit-slider-runnable-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #c8ced3; + border-color: transparent; + border-radius: 1rem; +} + +.custom-range::-moz-range-thumb { + width: 1rem; + height: 1rem; + background-color: #20a8d8; + border: 0; + border-radius: 1rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + -moz-appearance: none; + appearance: none; +} + +@media screen and (prefers-reduced-motion: reduce) { + .custom-range::-moz-range-thumb { + transition: none; + } +} + +.custom-range::-moz-range-thumb:active { + background-color: #b6e4f4; +} + +.custom-range::-moz-range-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #c8ced3; + border-color: transparent; + border-radius: 1rem; +} + +.custom-range::-ms-thumb { + width: 1rem; + height: 1rem; + margin-top: 0; + margin-right: 0.2rem; + margin-left: 0.2rem; + background-color: #20a8d8; + border: 0; + border-radius: 1rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + appearance: none; +} + +@media screen and (prefers-reduced-motion: reduce) { + .custom-range::-ms-thumb { + transition: none; + } +} + +.custom-range::-ms-thumb:active { + background-color: #b6e4f4; +} + +.custom-range::-ms-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: transparent; + border-color: transparent; + border-width: 0.5rem; +} + +.custom-range::-ms-fill-lower { + background-color: #c8ced3; + border-radius: 1rem; +} + +.custom-range::-ms-fill-upper { + margin-right: 15px; + background-color: #c8ced3; + border-radius: 1rem; +} + +.custom-control-label::before, +.custom-file-label, +.custom-select { + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +@media screen and (prefers-reduced-motion: reduce) { + .custom-control-label::before, + .custom-file-label, + .custom-select { + transition: none; + } +} + +.nav { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav-link { + display: block; + padding: 0.5rem 1rem; +} + +.nav-link:hover, .nav-link:focus { + text-decoration: none; +} + +.nav-link.disabled { + color: #73818f; +} + +.nav-tabs { + border-bottom: 1px solid #c8ced3; +} + +.nav-tabs .nav-item { + margin-bottom: -1px; +} + +.nav-tabs .nav-link { + border: 1px solid transparent; + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { + border-color: #e4e7ea #e4e7ea #c8ced3; +} + +.nav-tabs .nav-link.disabled { + color: #73818f; + background-color: transparent; + border-color: transparent; +} + +.nav-tabs .nav-link.active, +.nav-tabs .nav-item.show .nav-link { + color: #5c6873; + background-color: #e4e5e6; + border-color: #c8ced3 #c8ced3 #e4e5e6; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.nav-pills .nav-link { + border-radius: 0.25rem; +} + +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link { + color: #fff; + background-color: #20a8d8; +} + +.nav-fill .nav-item { + -ms-flex: 1 1 auto; + flex: 1 1 auto; + text-align: center; +} + +.nav-justified .nav-item { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.navbar { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 0.5rem 1rem; +} + +.navbar > .container, +.navbar > .container-fluid { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.navbar-brand { + display: inline-block; + padding-top: 0.335938rem; + padding-bottom: 0.335938rem; + margin-right: 1rem; + font-size: 1.09375rem; + line-height: inherit; + white-space: nowrap; +} + +.navbar-brand:hover, .navbar-brand:focus { + text-decoration: none; +} + +.navbar-nav { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.navbar-nav .nav-link { + padding-right: 0; + padding-left: 0; +} + +.navbar-nav .dropdown-menu { + position: static; + float: none; +} + +.navbar-text { + display: inline-block; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.navbar-collapse { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -ms-flex-positive: 1; + flex-grow: 1; + -ms-flex-align: center; + align-items: center; +} + +.navbar-toggler { + padding: 0.25rem 0.75rem; + font-size: 1.09375rem; + line-height: 1; + background-color: transparent; + border: 1px solid transparent; + border-radius: 0.25rem; +} + +.navbar-toggler:hover, .navbar-toggler:focus { + text-decoration: none; +} + +.navbar-toggler:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.navbar-toggler-icon { + display: inline-block; + width: 1.5em; + height: 1.5em; + vertical-align: middle; + content: ""; + background: no-repeat center center; + background-size: 100% 100%; +} + +@media (max-width: 575.98px) { + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 576px) { + .navbar-expand-sm { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-sm .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-sm .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-sm .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-sm .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-sm .navbar-toggler { + display: none; + } +} + +@media (max-width: 767.98px) { + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 768px) { + .navbar-expand-md { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-md .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-md .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-md .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-md .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-md .navbar-toggler { + display: none; + } +} + +@media (max-width: 991.98px) { + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 992px) { + .navbar-expand-lg { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-lg .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-lg .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-lg .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler { + display: none; + } +} + +@media (max-width: 1199.98px) { + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 1200px) { + .navbar-expand-xl { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-xl .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-xl .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-xl .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-xl .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-xl .navbar-toggler { + display: none; + } +} + +.navbar-expand { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + padding-right: 0; + padding-left: 0; +} + +.navbar-expand .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; +} + +.navbar-expand .navbar-nav .dropdown-menu { + position: absolute; +} + +.navbar-expand .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.navbar-expand .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} + +.navbar-expand .navbar-toggler { + display: none; +} + +.navbar-light .navbar-brand { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-nav .nav-link { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus { + color: rgba(0, 0, 0, 0.7); +} + +.navbar-light .navbar-nav .nav-link.disabled { + color: rgba(0, 0, 0, 0.3); +} + +.navbar-light .navbar-nav .show > .nav-link, +.navbar-light .navbar-nav .active > .nav-link, +.navbar-light .navbar-nav .nav-link.show, +.navbar-light .navbar-nav .nav-link.active { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-toggler { + color: rgba(0, 0, 0, 0.5); + border-color: rgba(0, 0, 0, 0.1); +} + +.navbar-light .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-light .navbar-text { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-text a { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-dark .navbar-brand { + color: #fff; +} + +.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus { + color: #fff; +} + +.navbar-dark .navbar-nav .nav-link { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus { + color: rgba(255, 255, 255, 0.75); +} + +.navbar-dark .navbar-nav .nav-link.disabled { + color: rgba(255, 255, 255, 0.25); +} + +.navbar-dark .navbar-nav .show > .nav-link, +.navbar-dark .navbar-nav .active > .nav-link, +.navbar-dark .navbar-nav .nav-link.show, +.navbar-dark .navbar-nav .nav-link.active { + color: #fff; +} + +.navbar-dark .navbar-toggler { + color: rgba(255, 255, 255, 0.5); + border-color: rgba(255, 255, 255, 0.1); +} + +.navbar-dark .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-dark .navbar-text { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-text a { + color: #fff; +} + +.navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus { + color: #fff; +} + +.card { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + background-clip: border-box; + border: 1px solid #c8ced3; + border-radius: 0.25rem; +} + +.card > hr { + margin-right: 0; + margin-left: 0; +} + +.card > .list-group:first-child .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.card > .list-group:last-child .list-group-item:last-child { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.card-body { + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1.25rem; +} + +.card-title { + margin-bottom: 0.75rem; +} + +.card-subtitle { + margin-top: -0.375rem; + margin-bottom: 0; +} + +.card-text:last-child { + margin-bottom: 0; +} + +.card-link:hover { + text-decoration: none; +} + +.card-link + .card-link { + margin-left: 1.25rem; +} + +.card-header { + padding: 0.75rem 1.25rem; + margin-bottom: 0; + background-color: #f0f3f5; + border-bottom: 1px solid #c8ced3; +} + +.card-header:first-child { + border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; +} + +.card-header + .list-group .list-group-item:first-child { + border-top: 0; +} + +.card-footer { + padding: 0.75rem 1.25rem; + background-color: #f0f3f5; + border-top: 1px solid #c8ced3; +} + +.card-footer:last-child { + border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); +} + +.card-header-tabs { + margin-right: -0.625rem; + margin-bottom: -0.75rem; + margin-left: -0.625rem; + border-bottom: 0; +} + +.card-header-pills { + margin-right: -0.625rem; + margin-left: -0.625rem; +} + +.card-img-overlay { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + padding: 1.25rem; +} + +.card-img { + width: 100%; + border-radius: calc(0.25rem - 1px); +} + +.card-img-top { + width: 100%; + border-top-left-radius: calc(0.25rem - 1px); + border-top-right-radius: calc(0.25rem - 1px); +} + +.card-img-bottom { + width: 100%; + border-bottom-right-radius: calc(0.25rem - 1px); + border-bottom-left-radius: calc(0.25rem - 1px); +} + +.card-deck { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-deck .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-deck { + -ms-flex-flow: row wrap; + flex-flow: row wrap; + margin-right: -15px; + margin-left: -15px; + } + .card-deck .card { + display: -ms-flexbox; + display: flex; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + -ms-flex-direction: column; + flex-direction: column; + margin-right: 15px; + margin-bottom: 0; + margin-left: 15px; + } +} + +.card-group { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-group > .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-group { + -ms-flex-flow: row wrap; + flex-flow: row wrap; + } + .card-group > .card { + -ms-flex: 1 0 0%; + flex: 1 0 0%; + margin-bottom: 0; + } + .card-group > .card + .card { + margin-left: 0; + border-left: 0; + } + .card-group > .card:first-child { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + .card-group > .card:first-child .card-img-top, + .card-group > .card:first-child .card-header { + border-top-right-radius: 0; + } + .card-group > .card:first-child .card-img-bottom, + .card-group > .card:first-child .card-footer { + border-bottom-right-radius: 0; + } + .card-group > .card:last-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .card-group > .card:last-child .card-img-top, + .card-group > .card:last-child .card-header { + border-top-left-radius: 0; + } + .card-group > .card:last-child .card-img-bottom, + .card-group > .card:last-child .card-footer { + border-bottom-left-radius: 0; + } + .card-group > .card:only-child { + border-radius: 0.25rem; + } + .card-group > .card:only-child .card-img-top, + .card-group > .card:only-child .card-header { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; + } + .card-group > .card:only-child .card-img-bottom, + .card-group > .card:only-child .card-footer { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + } + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) { + border-radius: 0; + } + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top, + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom, + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header, + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer { + border-radius: 0; + } +} + +.card-columns .card { + margin-bottom: 0.75rem; +} + +@media (min-width: 576px) { + .card-columns { + -webkit-column-count: 3; + -moz-column-count: 3; + column-count: 3; + -webkit-column-gap: 1.25rem; + -moz-column-gap: 1.25rem; + column-gap: 1.25rem; + orphans: 1; + widows: 1; + } + .card-columns .card { + display: inline-block; + width: 100%; + } +} + +.accordion .card:not(:first-of-type):not(:last-of-type) { + border-bottom: 0; + border-radius: 0; +} + +.accordion .card:not(:first-of-type) .card-header:first-child { + border-radius: 0; +} + +.accordion .card:first-of-type { + border-bottom: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.accordion .card:last-of-type { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.breadcrumb { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0.75rem 1rem; + margin-bottom: 1.5rem; + list-style: none; + background-color: #fff; + border-radius: 0; +} + +.breadcrumb-item + .breadcrumb-item { + padding-left: 0.5rem; +} + +.breadcrumb-item + .breadcrumb-item::before { + display: inline-block; + padding-right: 0.5rem; + color: #73818f; + content: "/"; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: underline; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: none; +} + +.breadcrumb-item.active { + color: #73818f; +} + +.pagination { + display: -ms-flexbox; + display: flex; + padding-left: 0; + list-style: none; + border-radius: 0.25rem; +} + +.page-link { + position: relative; + display: block; + padding: 0.5rem 0.75rem; + margin-left: -1px; + line-height: 1.25; + color: #20a8d8; + background-color: #fff; + border: 1px solid #c8ced3; +} + +.page-link:hover { + z-index: 2; + color: #167495; + text-decoration: none; + background-color: #e4e7ea; + border-color: #c8ced3; +} + +.page-link:focus { + z-index: 2; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.25); +} + +.page-link:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.page-item:first-child .page-link { + margin-left: 0; + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.page-item:last-child .page-link { + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; +} + +.page-item.active .page-link { + z-index: 1; + color: #fff; + background-color: #20a8d8; + border-color: #20a8d8; +} + +.page-item.disabled .page-link { + color: #73818f; + pointer-events: none; + cursor: auto; + background-color: #fff; + border-color: #c8ced3; +} + +.pagination-lg .page-link { + padding: 0.75rem 1.5rem; + font-size: 1.09375rem; + line-height: 1.5; +} + +.pagination-lg .page-item:first-child .page-link { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.pagination-lg .page-item:last-child .page-link { + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; +} + +.pagination-sm .page-link { + padding: 0.25rem 0.5rem; + font-size: 0.765625rem; + line-height: 1.5; +} + +.pagination-sm .page-item:first-child .page-link { + border-top-left-radius: 0.2rem; + border-bottom-left-radius: 0.2rem; +} + +.pagination-sm .page-item:last-child .page-link { + border-top-right-radius: 0.2rem; + border-bottom-right-radius: 0.2rem; +} + +.badge { + display: inline-block; + padding: 0.25em 0.4em; + font-size: 75%; + font-weight: 700; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25rem; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +.badge-pill { + padding-right: 0.6em; + padding-left: 0.6em; + border-radius: 10rem; +} + +.badge-primary { + color: #fff; + background-color: #20a8d8; +} + +.badge-primary[href]:hover, .badge-primary[href]:focus { + color: #fff; + text-decoration: none; + background-color: #1985ac; +} + +.badge-secondary { + color: #23282c; + background-color: #c8ced3; +} + +.badge-secondary[href]:hover, .badge-secondary[href]:focus { + color: #23282c; + text-decoration: none; + background-color: #acb5bc; +} + +.badge-success { + color: #fff; + background-color: #4dbd74; +} + +.badge-success[href]:hover, .badge-success[href]:focus { + color: #fff; + text-decoration: none; + background-color: #3a9d5d; +} + +.badge-info { + color: #23282c; + background-color: #63c2de; +} + +.badge-info[href]:hover, .badge-info[href]:focus { + color: #23282c; + text-decoration: none; + background-color: #39b2d5; +} + +.badge-warning { + color: #23282c; + background-color: #ffc107; +} + +.badge-warning[href]:hover, .badge-warning[href]:focus { + color: #23282c; + text-decoration: none; + background-color: #d39e00; +} + +.badge-danger { + color: #fff; + background-color: #f86c6b; +} + +.badge-danger[href]:hover, .badge-danger[href]:focus { + color: #fff; + text-decoration: none; + background-color: #f63c3a; +} + +.badge-light { + color: #23282c; + background-color: #f0f3f5; +} + +.badge-light[href]:hover, .badge-light[href]:focus { + color: #23282c; + text-decoration: none; + background-color: #d1dbe1; +} + +.badge-dark { + color: #fff; + background-color: #2f353a; +} + +.badge-dark[href]:hover, .badge-dark[href]:focus { + color: #fff; + text-decoration: none; + background-color: #181b1e; +} + +.jumbotron { + padding: 2rem 1rem; + margin-bottom: 2rem; + background-color: #e4e7ea; + border-radius: 0.3rem; +} + +@media (min-width: 576px) { + .jumbotron { + padding: 4rem 2rem; + } +} + +.jumbotron-fluid { + padding-right: 0; + padding-left: 0; + border-radius: 0; +} + +.alert { + position: relative; + padding: 0.75rem 1.25rem; + margin-bottom: 1rem; + border: 1px solid transparent; + border-radius: 0.25rem; +} + +.alert-heading { + color: inherit; +} + +.alert-link { + font-weight: 700; +} + +.alert-dismissible { + padding-right: 3.8125rem; +} + +.alert-dismissible .close { + position: absolute; + top: 0; + right: 0; + padding: 0.75rem 1.25rem; + color: inherit; +} + +.alert-primary { + color: #115770; + background-color: #d2eef7; + border-color: #c1e7f4; +} + +.alert-primary hr { + border-top-color: #abdff0; +} + +.alert-primary .alert-link { + color: #0a3544; +} + +.alert-secondary { + color: #686b6e; + background-color: #f4f5f6; + border-color: #f0f1f3; +} + +.alert-secondary hr { + border-top-color: #e2e4e8; +} + +.alert-secondary .alert-link { + color: #4f5254; +} + +.alert-success { + color: #28623c; + background-color: #dbf2e3; + border-color: #cdedd8; +} + +.alert-success hr { + border-top-color: #bae6c9; +} + +.alert-success .alert-link { + color: #193e26; +} + +.alert-info { + color: #336573; + background-color: #e0f3f8; + border-color: #d3eef6; +} + +.alert-info hr { + border-top-color: #bee6f2; +} + +.alert-info .alert-link { + color: #234650; +} + +.alert-warning { + color: #856404; + background-color: #fff3cd; + border-color: #ffeeba; +} + +.alert-warning hr { + border-top-color: #ffe8a1; +} + +.alert-warning .alert-link { + color: #533f03; +} + +.alert-danger { + color: #813838; + background-color: #fee2e1; + border-color: #fdd6d6; +} + +.alert-danger hr { + border-top-color: #fcbebe; +} + +.alert-danger .alert-link { + color: #5d2929; +} + +.alert-light { + color: #7d7e7f; + background-color: #fcfdfd; + border-color: #fbfcfc; +} + +.alert-light hr { + border-top-color: #ecf1f1; +} + +.alert-light .alert-link { + color: #646565; +} + +.alert-dark { + color: #181c1e; + background-color: #d5d7d8; + border-color: #c5c6c8; +} + +.alert-dark hr { + border-top-color: #b8b9bc; +} + +.alert-dark .alert-link { + color: #010202; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +.progress { + display: -ms-flexbox; + display: flex; + height: 1rem; + overflow: hidden; + font-size: 0.65625rem; + background-color: #f0f3f5; + border-radius: 0.25rem; +} + +.progress-bar { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-pack: center; + justify-content: center; + color: #fff; + text-align: center; + white-space: nowrap; + background-color: #20a8d8; + transition: width 0.6s ease; +} + +@media screen and (prefers-reduced-motion: reduce) { + .progress-bar { + transition: none; + } +} + +.progress-bar-striped { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 1rem 1rem; +} + +.progress-bar-animated { + -webkit-animation: progress-bar-stripes 1s linear infinite; + animation: progress-bar-stripes 1s linear infinite; +} + +.media { + display: -ms-flexbox; + display: flex; + -ms-flex-align: start; + align-items: flex-start; +} + +.media-body { + -ms-flex: 1; + flex: 1; +} + +.list-group { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; +} + +.list-group-item-action { + width: 100%; + color: #5c6873; + text-align: inherit; +} + +.list-group-item-action:hover, .list-group-item-action:focus { + color: #5c6873; + text-decoration: none; + background-color: #f0f3f5; +} + +.list-group-item-action:active { + color: #23282c; + background-color: #e4e7ea; +} + +.list-group-item { + position: relative; + display: block; + padding: 0.75rem 1.25rem; + margin-bottom: -1px; + background-color: #fff; + border: 1px solid rgba(0, 0, 0, 0.125); +} + +.list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.list-group-item:hover, .list-group-item:focus { + z-index: 1; + text-decoration: none; +} + +.list-group-item.disabled, .list-group-item:disabled { + color: #73818f; + background-color: #fff; +} + +.list-group-item.active { + z-index: 2; + color: #fff; + background-color: #20a8d8; + border-color: #20a8d8; +} + +.list-group-flush .list-group-item { + border-right: 0; + border-left: 0; + border-radius: 0; +} + +.list-group-flush:first-child .list-group-item:first-child { + border-top: 0; +} + +.list-group-flush:last-child .list-group-item:last-child { + border-bottom: 0; +} + +.list-group-item-primary { + color: #115770; + background-color: #c1e7f4; +} + +.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus { + color: #115770; + background-color: #abdff0; +} + +.list-group-item-primary.list-group-item-action.active { + color: #fff; + background-color: #115770; + border-color: #115770; +} + +.list-group-item-secondary { + color: #686b6e; + background-color: #f0f1f3; +} + +.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus { + color: #686b6e; + background-color: #e2e4e8; +} + +.list-group-item-secondary.list-group-item-action.active { + color: #fff; + background-color: #686b6e; + border-color: #686b6e; +} + +.list-group-item-success { + color: #28623c; + background-color: #cdedd8; +} + +.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus { + color: #28623c; + background-color: #bae6c9; +} + +.list-group-item-success.list-group-item-action.active { + color: #fff; + background-color: #28623c; + border-color: #28623c; +} + +.list-group-item-info { + color: #336573; + background-color: #d3eef6; +} + +.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus { + color: #336573; + background-color: #bee6f2; +} + +.list-group-item-info.list-group-item-action.active { + color: #fff; + background-color: #336573; + border-color: #336573; +} + +.list-group-item-warning { + color: #856404; + background-color: #ffeeba; +} + +.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus { + color: #856404; + background-color: #ffe8a1; +} + +.list-group-item-warning.list-group-item-action.active { + color: #fff; + background-color: #856404; + border-color: #856404; +} + +.list-group-item-danger { + color: #813838; + background-color: #fdd6d6; +} + +.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus { + color: #813838; + background-color: #fcbebe; +} + +.list-group-item-danger.list-group-item-action.active { + color: #fff; + background-color: #813838; + border-color: #813838; +} + +.list-group-item-light { + color: #7d7e7f; + background-color: #fbfcfc; +} + +.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus { + color: #7d7e7f; + background-color: #ecf1f1; +} + +.list-group-item-light.list-group-item-action.active { + color: #fff; + background-color: #7d7e7f; + border-color: #7d7e7f; +} + +.list-group-item-dark { + color: #181c1e; + background-color: #c5c6c8; +} + +.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus { + color: #181c1e; + background-color: #b8b9bc; +} + +.list-group-item-dark.list-group-item-action.active { + color: #fff; + background-color: #181c1e; + border-color: #181c1e; +} + +.close { + float: right; + font-size: 1.3125rem; + font-weight: 700; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + opacity: .5; +} + +.close:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus { + color: #000; + text-decoration: none; + opacity: .75; +} + +button.close { + padding: 0; + background-color: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1050; + display: none; + overflow: hidden; + outline: 0; +} + +.modal-dialog { + position: relative; + width: auto; + margin: 0.5rem; + pointer-events: none; +} + +.modal.fade .modal-dialog { + transition: -webkit-transform 0.3s ease-out; + transition: transform 0.3s ease-out; + transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; + -webkit-transform: translate(0, -25%); + transform: translate(0, -25%); +} + +@media screen and (prefers-reduced-motion: reduce) { + .modal.fade .modal-dialog { + transition: none; + } +} + +.modal.show .modal-dialog { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog-centered { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + min-height: calc(100% - (0.5rem * 2)); +} + +.modal-dialog-centered::before { + display: block; + height: calc(100vh - (0.5rem * 2)); + content: ""; +} + +.modal-content { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + pointer-events: auto; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; + outline: 0; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000; +} + +.modal-backdrop.fade { + opacity: 0; +} + +.modal-backdrop.show { + opacity: 0.5; +} + +.modal-header { + display: -ms-flexbox; + display: flex; + -ms-flex-align: start; + align-items: flex-start; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 1rem; + border-bottom: 1px solid #e4e7ea; + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} + +.modal-header .close { + padding: 1rem; + margin: -1rem -1rem -1rem auto; +} + +.modal-title { + margin-bottom: 0; + line-height: 1.5; +} + +.modal-body { + position: relative; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1rem; +} + +.modal-footer { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: end; + justify-content: flex-end; + padding: 1rem; + border-top: 1px solid #e4e7ea; +} + +.modal-footer > :not(:first-child) { + margin-left: .25rem; +} + +.modal-footer > :not(:last-child) { + margin-right: .25rem; +} + +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} + +@media (min-width: 576px) { + .modal-dialog { + max-width: 500px; + margin: 1.75rem auto; + } + .modal-dialog-centered { + min-height: calc(100% - (1.75rem * 2)); + } + .modal-dialog-centered::before { + height: calc(100vh - (1.75rem * 2)); + } + .modal-sm { + max-width: 300px; + } +} + +@media (min-width: 992px) { + .modal-lg { + max-width: 800px; + } +} + +.tooltip { + position: absolute; + z-index: 1070; + display: block; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.765625rem; + word-wrap: break-word; + opacity: 0; +} + +.tooltip.show { + opacity: 0.9; +} + +.tooltip .arrow { + position: absolute; + display: block; + width: 0.8rem; + height: 0.4rem; +} + +.tooltip .arrow::before { + position: absolute; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-tooltip-top, .bs-tooltip-auto[x-placement^="top"] { + padding: 0.4rem 0; +} + +.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^="top"] .arrow { + bottom: 0; +} + +.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { + top: 0; + border-width: 0.4rem 0.4rem 0; + border-top-color: #000; +} + +.bs-tooltip-right, .bs-tooltip-auto[x-placement^="right"] { + padding: 0 0.4rem; +} + +.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^="right"] .arrow { + left: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { + right: 0; + border-width: 0.4rem 0.4rem 0.4rem 0; + border-right-color: #000; +} + +.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^="bottom"] { + padding: 0.4rem 0; +} + +.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^="bottom"] .arrow { + top: 0; +} + +.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { + bottom: 0; + border-width: 0 0.4rem 0.4rem; + border-bottom-color: #000; +} + +.bs-tooltip-left, .bs-tooltip-auto[x-placement^="left"] { + padding: 0 0.4rem; +} + +.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^="left"] .arrow { + right: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { + left: 0; + border-width: 0.4rem 0 0.4rem 0.4rem; + border-left-color: #000; +} + +.tooltip-inner { + max-width: 200px; + padding: 0.25rem 0.5rem; + color: #fff; + text-align: center; + background-color: #000; + border-radius: 0.25rem; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: block; + max-width: 276px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.765625rem; + word-wrap: break-word; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; +} + +.popover .arrow { + position: absolute; + display: block; + width: 1rem; + height: 0.5rem; + margin: 0 0.3rem; +} + +.popover .arrow::before, .popover .arrow::after { + position: absolute; + display: block; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-popover-top, .bs-popover-auto[x-placement^="top"] { + margin-bottom: 0.5rem; +} + +.bs-popover-top .arrow, .bs-popover-auto[x-placement^="top"] .arrow { + bottom: calc((0.5rem + 1px) * -1); +} + +.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before, +.bs-popover-top .arrow::after, +.bs-popover-auto[x-placement^="top"] .arrow::after { + border-width: 0.5rem 0.5rem 0; +} + +.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before { + bottom: 0; + border-top-color: rgba(0, 0, 0, 0.25); +} + + +.bs-popover-top .arrow::after, +.bs-popover-auto[x-placement^="top"] .arrow::after { + bottom: 1px; + border-top-color: #fff; +} + +.bs-popover-right, .bs-popover-auto[x-placement^="right"] { + margin-left: 0.5rem; +} + +.bs-popover-right .arrow, .bs-popover-auto[x-placement^="right"] .arrow { + left: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before, +.bs-popover-right .arrow::after, +.bs-popover-auto[x-placement^="right"] .arrow::after { + border-width: 0.5rem 0.5rem 0.5rem 0; +} + +.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before { + left: 0; + border-right-color: rgba(0, 0, 0, 0.25); +} + + +.bs-popover-right .arrow::after, +.bs-popover-auto[x-placement^="right"] .arrow::after { + left: 1px; + border-right-color: #fff; +} + +.bs-popover-bottom, .bs-popover-auto[x-placement^="bottom"] { + margin-top: 0.5rem; +} + +.bs-popover-bottom .arrow, .bs-popover-auto[x-placement^="bottom"] .arrow { + top: calc((0.5rem + 1px) * -1); +} + +.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before, +.bs-popover-bottom .arrow::after, +.bs-popover-auto[x-placement^="bottom"] .arrow::after { + border-width: 0 0.5rem 0.5rem 0.5rem; +} + +.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before { + top: 0; + border-bottom-color: rgba(0, 0, 0, 0.25); +} + + +.bs-popover-bottom .arrow::after, +.bs-popover-auto[x-placement^="bottom"] .arrow::after { + top: 1px; + border-bottom-color: #fff; +} + +.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before { + position: absolute; + top: 0; + left: 50%; + display: block; + width: 1rem; + margin-left: -0.5rem; + content: ""; + border-bottom: 1px solid #f7f7f7; +} + +.bs-popover-left, .bs-popover-auto[x-placement^="left"] { + margin-right: 0.5rem; +} + +.bs-popover-left .arrow, .bs-popover-auto[x-placement^="left"] .arrow { + right: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before, +.bs-popover-left .arrow::after, +.bs-popover-auto[x-placement^="left"] .arrow::after { + border-width: 0.5rem 0 0.5rem 0.5rem; +} + +.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before { + right: 0; + border-left-color: rgba(0, 0, 0, 0.25); +} + + +.bs-popover-left .arrow::after, +.bs-popover-auto[x-placement^="left"] .arrow::after { + right: 1px; + border-left-color: #fff; +} + +.popover-header { + padding: 0.5rem 0.75rem; + margin-bottom: 0; + font-size: 0.875rem; + color: inherit; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-top-left-radius: calc(0.3rem - 1px); + border-top-right-radius: calc(0.3rem - 1px); +} + +.popover-header:empty { + display: none; +} + +.popover-body { + padding: 0.5rem 0.75rem; + color: #23282c; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-item { + position: relative; + display: none; + -ms-flex-align: center; + align-items: center; + width: 100%; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000px; + perspective: 1000px; +} + +.carousel-item.active, +.carousel-item-next, +.carousel-item-prev { + display: block; + transition: -webkit-transform 0.6s ease; + transition: transform 0.6s ease; + transition: transform 0.6s ease, -webkit-transform 0.6s ease; +} + +@media screen and (prefers-reduced-motion: reduce) { + .carousel-item.active, + .carousel-item-next, + .carousel-item-prev { + transition: none; + } +} + +.carousel-item-next, +.carousel-item-prev { + position: absolute; + top: 0; +} + +.carousel-item-next.carousel-item-left, +.carousel-item-prev.carousel-item-right { + -webkit-transform: translateX(0); + transform: translateX(0); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-item-next.carousel-item-left, + .carousel-item-prev.carousel-item-right { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.carousel-item-next, +.active.carousel-item-right { + -webkit-transform: translateX(100%); + transform: translateX(100%); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-item-next, + .active.carousel-item-right { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.carousel-item-prev, +.active.carousel-item-left { + -webkit-transform: translateX(-100%); + transform: translateX(-100%); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-item-prev, + .active.carousel-item-left { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.carousel-fade .carousel-item { + opacity: 0; + transition-duration: .6s; + transition-property: opacity; +} + +.carousel-fade .carousel-item.active, +.carousel-fade .carousel-item-next.carousel-item-left, +.carousel-fade .carousel-item-prev.carousel-item-right { + opacity: 1; +} + +.carousel-fade .active.carousel-item-left, +.carousel-fade .active.carousel-item-right { + opacity: 0; +} + +.carousel-fade .carousel-item-next, +.carousel-fade .carousel-item-prev, +.carousel-fade .carousel-item.active, +.carousel-fade .active.carousel-item-left, +.carousel-fade .active.carousel-item-prev { + -webkit-transform: translateX(0); + transform: translateX(0); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-fade .carousel-item-next, + .carousel-fade .carousel-item-prev, + .carousel-fade .carousel-item.active, + .carousel-fade .active.carousel-item-left, + .carousel-fade .active.carousel-item-prev { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.carousel-control-prev, +.carousel-control-next { + position: absolute; + top: 0; + bottom: 0; + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + width: 15%; + color: #fff; + text-align: center; + opacity: 0.5; +} + +.carousel-control-prev:hover, .carousel-control-prev:focus, +.carousel-control-next:hover, +.carousel-control-next:focus { + color: #fff; + text-decoration: none; + outline: 0; + opacity: .9; +} + +.carousel-control-prev { + left: 0; +} + +.carousel-control-next { + right: 0; +} + +.carousel-control-prev-icon, +.carousel-control-next-icon { + display: inline-block; + width: 20px; + height: 20px; + background: transparent no-repeat center center; + background-size: 100% 100%; +} + +.carousel-control-prev-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"); +} + +.carousel-control-next-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"); +} + +.carousel-indicators { + position: absolute; + right: 0; + bottom: 10px; + left: 0; + z-index: 15; + display: -ms-flexbox; + display: flex; + -ms-flex-pack: center; + justify-content: center; + padding-left: 0; + margin-right: 15%; + margin-left: 15%; + list-style: none; +} + +.carousel-indicators li { + position: relative; + -ms-flex: 0 1 auto; + flex: 0 1 auto; + width: 30px; + height: 3px; + margin-right: 3px; + margin-left: 3px; + text-indent: -999px; + cursor: pointer; + background-color: rgba(255, 255, 255, 0.5); +} + +.carousel-indicators li::before { + position: absolute; + top: -10px; + left: 0; + display: inline-block; + width: 100%; + height: 10px; + content: ""; +} + +.carousel-indicators li::after { + position: absolute; + bottom: -10px; + left: 0; + display: inline-block; + width: 100%; + height: 10px; + content: ""; +} + +.carousel-indicators .active { + background-color: #fff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #fff; + text-align: center; +} + +.align-baseline { + vertical-align: baseline !important; +} + +.align-top { + vertical-align: top !important; +} + +.align-middle { + vertical-align: middle !important; +} + +.align-bottom { + vertical-align: bottom !important; +} + +.align-text-bottom { + vertical-align: text-bottom !important; +} + +.align-text-top { + vertical-align: text-top !important; +} + +.bg-primary { + background-color: #20a8d8 !important; +} + +a.bg-primary:hover, a.bg-primary:focus, +button.bg-primary:hover, +button.bg-primary:focus { + background-color: #1985ac !important; +} + +.bg-secondary { + background-color: #c8ced3 !important; +} + +a.bg-secondary:hover, a.bg-secondary:focus, +button.bg-secondary:hover, +button.bg-secondary:focus { + background-color: #acb5bc !important; +} + +.bg-success { + background-color: #4dbd74 !important; +} + +a.bg-success:hover, a.bg-success:focus, +button.bg-success:hover, +button.bg-success:focus { + background-color: #3a9d5d !important; +} + +.bg-info { + background-color: #63c2de !important; +} + +a.bg-info:hover, a.bg-info:focus, +button.bg-info:hover, +button.bg-info:focus { + background-color: #39b2d5 !important; +} + +.bg-warning { + background-color: #ffc107 !important; +} + +a.bg-warning:hover, a.bg-warning:focus, +button.bg-warning:hover, +button.bg-warning:focus { + background-color: #d39e00 !important; +} + +.bg-danger { + background-color: #f86c6b !important; +} + +a.bg-danger:hover, a.bg-danger:focus, +button.bg-danger:hover, +button.bg-danger:focus { + background-color: #f63c3a !important; +} + +.bg-light { + background-color: #f0f3f5 !important; +} + +a.bg-light:hover, a.bg-light:focus, +button.bg-light:hover, +button.bg-light:focus { + background-color: #d1dbe1 !important; +} + +.bg-dark { + background-color: #2f353a !important; +} + +a.bg-dark:hover, a.bg-dark:focus, +button.bg-dark:hover, +button.bg-dark:focus { + background-color: #181b1e !important; +} + +.bg-white { + background-color: #fff !important; +} + +.bg-transparent { + background-color: transparent !important; +} + +.border { + border: 1px solid #c8ced3 !important; +} + +.border-top { + border-top: 1px solid #c8ced3 !important; +} + +.border-right { + border-right: 1px solid #c8ced3 !important; +} + +.border-bottom { + border-bottom: 1px solid #c8ced3 !important; +} + +.border-left { + border-left: 1px solid #c8ced3 !important; +} + +.border-0 { + border: 0 !important; +} + +.border-top-0 { + border-top: 0 !important; +} + +.border-right-0 { + border-right: 0 !important; +} + +.border-bottom-0 { + border-bottom: 0 !important; +} + +.border-left-0 { + border-left: 0 !important; +} + +.border-primary { + border-color: #20a8d8 !important; +} + +.border-secondary { + border-color: #c8ced3 !important; +} + +.border-success { + border-color: #4dbd74 !important; +} + +.border-info { + border-color: #63c2de !important; +} + +.border-warning { + border-color: #ffc107 !important; +} + +.border-danger { + border-color: #f86c6b !important; +} + +.border-light { + border-color: #f0f3f5 !important; +} + +.border-dark { + border-color: #2f353a !important; +} + +.border-white { + border-color: #fff !important; +} + +.rounded { + border-radius: 0.25rem !important; +} + +.rounded-top { + border-top-left-radius: 0.25rem !important; + border-top-right-radius: 0.25rem !important; +} + +.rounded-right { + border-top-right-radius: 0.25rem !important; + border-bottom-right-radius: 0.25rem !important; +} + +.rounded-bottom { + border-bottom-right-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} + +.rounded-left { + border-top-left-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} + +.rounded-circle { + border-radius: 50% !important; +} + +.rounded-0 { + border-radius: 0 !important; +} + +.clearfix::after { + display: block; + clear: both; + content: ""; +} + +.d-none { + display: none !important; +} + +.d-inline { + display: inline !important; +} + +.d-inline-block { + display: inline-block !important; +} + +.d-block { + display: block !important; +} + +.d-table { + display: table !important; +} + +.d-table-row { + display: table-row !important; +} + +.d-table-cell { + display: table-cell !important; +} + +.d-flex { + display: -ms-flexbox !important; + display: flex !important; +} + +.d-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; +} + +@media (min-width: 576px) { + .d-sm-none { + display: none !important; + } + .d-sm-inline { + display: inline !important; + } + .d-sm-inline-block { + display: inline-block !important; + } + .d-sm-block { + display: block !important; + } + .d-sm-table { + display: table !important; + } + .d-sm-table-row { + display: table-row !important; + } + .d-sm-table-cell { + display: table-cell !important; + } + .d-sm-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-sm-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 768px) { + .d-md-none { + display: none !important; + } + .d-md-inline { + display: inline !important; + } + .d-md-inline-block { + display: inline-block !important; + } + .d-md-block { + display: block !important; + } + .d-md-table { + display: table !important; + } + .d-md-table-row { + display: table-row !important; + } + .d-md-table-cell { + display: table-cell !important; + } + .d-md-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-md-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 992px) { + .d-lg-none { + display: none !important; + } + .d-lg-inline { + display: inline !important; + } + .d-lg-inline-block { + display: inline-block !important; + } + .d-lg-block { + display: block !important; + } + .d-lg-table { + display: table !important; + } + .d-lg-table-row { + display: table-row !important; + } + .d-lg-table-cell { + display: table-cell !important; + } + .d-lg-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-lg-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 1200px) { + .d-xl-none { + display: none !important; + } + .d-xl-inline { + display: inline !important; + } + .d-xl-inline-block { + display: inline-block !important; + } + .d-xl-block { + display: block !important; + } + .d-xl-table { + display: table !important; + } + .d-xl-table-row { + display: table-row !important; + } + .d-xl-table-cell { + display: table-cell !important; + } + .d-xl-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-xl-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media print { + .d-print-none { + display: none !important; + } + .d-print-inline { + display: inline !important; + } + .d-print-inline-block { + display: inline-block !important; + } + .d-print-block { + display: block !important; + } + .d-print-table { + display: table !important; + } + .d-print-table-row { + display: table-row !important; + } + .d-print-table-cell { + display: table-cell !important; + } + .d-print-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-print-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +.embed-responsive { + position: relative; + display: block; + width: 100%; + padding: 0; + overflow: hidden; +} + +.embed-responsive::before { + display: block; + content: ""; +} + +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; +} + +.embed-responsive-21by9::before { + padding-top: 42.857143%; +} + +.embed-responsive-16by9::before { + padding-top: 56.25%; +} + +.embed-responsive-4by3::before { + padding-top: 75%; +} + +.embed-responsive-1by1::before { + padding-top: 100%; +} + +.flex-row { + -ms-flex-direction: row !important; + flex-direction: row !important; +} + +.flex-column { + -ms-flex-direction: column !important; + flex-direction: column !important; +} + +.flex-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; +} + +.flex-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; +} + +.flex-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; +} + +.flex-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; +} + +.flex-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; +} + +.flex-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; +} + +.flex-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; +} + +.flex-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; +} + +.flex-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; +} + +.flex-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; +} + +.justify-content-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; +} + +.justify-content-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; +} + +.justify-content-center { + -ms-flex-pack: center !important; + justify-content: center !important; +} + +.justify-content-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; +} + +.justify-content-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; +} + +.align-items-start { + -ms-flex-align: start !important; + align-items: flex-start !important; +} + +.align-items-end { + -ms-flex-align: end !important; + align-items: flex-end !important; +} + +.align-items-center { + -ms-flex-align: center !important; + align-items: center !important; +} + +.align-items-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; +} + +.align-items-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; +} + +.align-content-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; +} + +.align-content-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; +} + +.align-content-center { + -ms-flex-line-pack: center !important; + align-content: center !important; +} + +.align-content-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; +} + +.align-content-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; +} + +.align-content-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; +} + +.align-self-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; +} + +.align-self-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; +} + +.align-self-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; +} + +.align-self-center { + -ms-flex-item-align: center !important; + align-self: center !important; +} + +.align-self-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; +} + +.align-self-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; +} + +@media (min-width: 576px) { + .flex-sm-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-sm-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-sm-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-sm-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-sm-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-sm-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-sm-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-sm-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-sm-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-sm-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-sm-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-sm-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-sm-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-sm-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-sm-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-sm-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-sm-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-sm-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-sm-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-sm-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-sm-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-sm-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-sm-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-sm-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-sm-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-sm-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-sm-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-sm-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-sm-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-sm-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-sm-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-sm-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-sm-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-sm-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 768px) { + .flex-md-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-md-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-md-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-md-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-md-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-md-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-md-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-md-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-md-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-md-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-md-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-md-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-md-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-md-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-md-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-md-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-md-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-md-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-md-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-md-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-md-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-md-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-md-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-md-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-md-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-md-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-md-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-md-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-md-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-md-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-md-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-md-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-md-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-md-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 992px) { + .flex-lg-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-lg-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-lg-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-lg-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-lg-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-lg-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-lg-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-lg-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-lg-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-lg-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-lg-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-lg-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-lg-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-lg-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-lg-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-lg-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-lg-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-lg-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-lg-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-lg-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-lg-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-lg-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-lg-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-lg-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-lg-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-lg-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-lg-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-lg-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-lg-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-lg-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-lg-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-lg-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-lg-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-lg-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 1200px) { + .flex-xl-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-xl-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-xl-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-xl-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-xl-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-xl-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-xl-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-xl-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-xl-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-xl-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-xl-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-xl-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-xl-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-xl-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-xl-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-xl-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-xl-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-xl-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-xl-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-xl-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-xl-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-xl-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-xl-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-xl-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-xl-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-xl-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-xl-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-xl-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-xl-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-xl-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-xl-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-xl-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-xl-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-xl-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +.float-left { + float: left !important; +} + +.float-right { + float: right !important; +} + +.float-none { + float: none !important; +} + +@media (min-width: 576px) { + .float-sm-left { + float: left !important; + } + .float-sm-right { + float: right !important; + } + .float-sm-none { + float: none !important; + } +} + +@media (min-width: 768px) { + .float-md-left { + float: left !important; + } + .float-md-right { + float: right !important; + } + .float-md-none { + float: none !important; + } +} + +@media (min-width: 992px) { + .float-lg-left { + float: left !important; + } + .float-lg-right { + float: right !important; + } + .float-lg-none { + float: none !important; + } +} + +@media (min-width: 1200px) { + .float-xl-left { + float: left !important; + } + .float-xl-right { + float: right !important; + } + .float-xl-none { + float: none !important; + } +} + +.position-static { + position: static !important; +} + +.position-relative { + position: relative !important; +} + +.position-absolute { + position: absolute !important; +} + +.position-fixed { + position: fixed !important; +} + +.position-sticky { + position: -webkit-sticky !important; + position: sticky !important; +} + +.fixed-top { + position: fixed; + top: 0; + right: 0; + left: 0; + z-index: 1030; +} + +.fixed-bottom { + position: fixed; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; +} + +@supports ((position: -webkit-sticky) or (position: sticky)) { + .sticky-top { + position: -webkit-sticky; + position: sticky; + top: 0; + z-index: 1020; + } +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} + +.sr-only-focusable:active, .sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + overflow: visible; + clip: auto; + white-space: normal; +} + +.shadow-sm { + box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; +} + +.shadow { + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; +} + +.shadow-lg { + box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; +} + +.shadow-none { + box-shadow: none !important; +} + +.w-25 { + width: 25% !important; +} + +.w-50 { + width: 50% !important; +} + +.w-75 { + width: 75% !important; +} + +.w-100 { + width: 100% !important; +} + +.w-auto { + width: auto !important; +} + +.h-25 { + height: 25% !important; +} + +.h-50 { + height: 50% !important; +} + +.h-75 { + height: 75% !important; +} + +.h-100 { + height: 100% !important; +} + +.h-auto { + height: auto !important; +} + +.mw-100 { + max-width: 100% !important; +} + +.mh-100 { + max-height: 100% !important; +} + +.m-0 { + margin: 0 !important; +} + +.mt-0, +.my-0 { + margin-top: 0 !important; +} + +.mr-0, +.mx-0 { + margin-right: 0 !important; +} + +.mb-0, +.my-0 { + margin-bottom: 0 !important; +} + +.ml-0, +.mx-0 { + margin-left: 0 !important; +} + +.m-1 { + margin: 0.25rem !important; +} + +.mt-1, +.my-1 { + margin-top: 0.25rem !important; +} + +.mr-1, +.mx-1 { + margin-right: 0.25rem !important; +} + +.mb-1, +.my-1 { + margin-bottom: 0.25rem !important; +} + +.ml-1, +.mx-1 { + margin-left: 0.25rem !important; +} + +.m-2 { + margin: 0.5rem !important; +} + +.mt-2, +.my-2 { + margin-top: 0.5rem !important; +} + +.mr-2, +.mx-2 { + margin-right: 0.5rem !important; +} + +.mb-2, +.my-2 { + margin-bottom: 0.5rem !important; +} + +.ml-2, +.mx-2 { + margin-left: 0.5rem !important; +} + +.m-3 { + margin: 1rem !important; +} + +.mt-3, +.my-3 { + margin-top: 1rem !important; +} + +.mr-3, +.mx-3 { + margin-right: 1rem !important; +} + +.mb-3, +.my-3 { + margin-bottom: 1rem !important; +} + +.ml-3, +.mx-3 { + margin-left: 1rem !important; +} + +.m-4 { + margin: 1.5rem !important; +} + +.mt-4, +.my-4 { + margin-top: 1.5rem !important; +} + +.mr-4, +.mx-4 { + margin-right: 1.5rem !important; +} + +.mb-4, +.my-4 { + margin-bottom: 1.5rem !important; +} + +.ml-4, +.mx-4 { + margin-left: 1.5rem !important; +} + +.m-5 { + margin: 3rem !important; +} + +.mt-5, +.my-5 { + margin-top: 3rem !important; +} + +.mr-5, +.mx-5 { + margin-right: 3rem !important; +} + +.mb-5, +.my-5 { + margin-bottom: 3rem !important; +} + +.ml-5, +.mx-5 { + margin-left: 3rem !important; +} + +.p-0 { + padding: 0 !important; +} + +.pt-0, +.py-0 { + padding-top: 0 !important; +} + +.pr-0, +.px-0 { + padding-right: 0 !important; +} + +.pb-0, +.py-0 { + padding-bottom: 0 !important; +} + +.pl-0, +.px-0 { + padding-left: 0 !important; +} + +.p-1 { + padding: 0.25rem !important; +} + +.pt-1, +.py-1 { + padding-top: 0.25rem !important; +} + +.pr-1, +.px-1 { + padding-right: 0.25rem !important; +} + +.pb-1, +.py-1 { + padding-bottom: 0.25rem !important; +} + +.pl-1, +.px-1 { + padding-left: 0.25rem !important; +} + +.p-2 { + padding: 0.5rem !important; +} + +.pt-2, +.py-2 { + padding-top: 0.5rem !important; +} + +.pr-2, +.px-2 { + padding-right: 0.5rem !important; +} + +.pb-2, +.py-2 { + padding-bottom: 0.5rem !important; +} + +.pl-2, +.px-2 { + padding-left: 0.5rem !important; +} + +.p-3 { + padding: 1rem !important; +} + +.pt-3, +.py-3 { + padding-top: 1rem !important; +} + +.pr-3, +.px-3 { + padding-right: 1rem !important; +} + +.pb-3, +.py-3 { + padding-bottom: 1rem !important; +} + +.pl-3, +.px-3 { + padding-left: 1rem !important; +} + +.p-4 { + padding: 1.5rem !important; +} + +.pt-4, +.py-4 { + padding-top: 1.5rem !important; +} + +.pr-4, +.px-4 { + padding-right: 1.5rem !important; +} + +.pb-4, +.py-4 { + padding-bottom: 1.5rem !important; +} + +.pl-4, +.px-4 { + padding-left: 1.5rem !important; +} + +.p-5 { + padding: 3rem !important; +} + +.pt-5, +.py-5 { + padding-top: 3rem !important; +} + +.pr-5, +.px-5 { + padding-right: 3rem !important; +} + +.pb-5, +.py-5 { + padding-bottom: 3rem !important; +} + +.pl-5, +.px-5 { + padding-left: 3rem !important; +} + +.m-auto { + margin: auto !important; +} + +.mt-auto, +.my-auto { + margin-top: auto !important; +} + +.mr-auto, +.mx-auto { + margin-right: auto !important; +} + +.mb-auto, +.my-auto { + margin-bottom: auto !important; +} + +.ml-auto, +.mx-auto { + margin-left: auto !important; +} + +@media (min-width: 576px) { + .m-sm-0 { + margin: 0 !important; + } + .mt-sm-0, + .my-sm-0 { + margin-top: 0 !important; + } + .mr-sm-0, + .mx-sm-0 { + margin-right: 0 !important; + } + .mb-sm-0, + .my-sm-0 { + margin-bottom: 0 !important; + } + .ml-sm-0, + .mx-sm-0 { + margin-left: 0 !important; + } + .m-sm-1 { + margin: 0.25rem !important; + } + .mt-sm-1, + .my-sm-1 { + margin-top: 0.25rem !important; + } + .mr-sm-1, + .mx-sm-1 { + margin-right: 0.25rem !important; + } + .mb-sm-1, + .my-sm-1 { + margin-bottom: 0.25rem !important; + } + .ml-sm-1, + .mx-sm-1 { + margin-left: 0.25rem !important; + } + .m-sm-2 { + margin: 0.5rem !important; + } + .mt-sm-2, + .my-sm-2 { + margin-top: 0.5rem !important; + } + .mr-sm-2, + .mx-sm-2 { + margin-right: 0.5rem !important; + } + .mb-sm-2, + .my-sm-2 { + margin-bottom: 0.5rem !important; + } + .ml-sm-2, + .mx-sm-2 { + margin-left: 0.5rem !important; + } + .m-sm-3 { + margin: 1rem !important; + } + .mt-sm-3, + .my-sm-3 { + margin-top: 1rem !important; + } + .mr-sm-3, + .mx-sm-3 { + margin-right: 1rem !important; + } + .mb-sm-3, + .my-sm-3 { + margin-bottom: 1rem !important; + } + .ml-sm-3, + .mx-sm-3 { + margin-left: 1rem !important; + } + .m-sm-4 { + margin: 1.5rem !important; + } + .mt-sm-4, + .my-sm-4 { + margin-top: 1.5rem !important; + } + .mr-sm-4, + .mx-sm-4 { + margin-right: 1.5rem !important; + } + .mb-sm-4, + .my-sm-4 { + margin-bottom: 1.5rem !important; + } + .ml-sm-4, + .mx-sm-4 { + margin-left: 1.5rem !important; + } + .m-sm-5 { + margin: 3rem !important; + } + .mt-sm-5, + .my-sm-5 { + margin-top: 3rem !important; + } + .mr-sm-5, + .mx-sm-5 { + margin-right: 3rem !important; + } + .mb-sm-5, + .my-sm-5 { + margin-bottom: 3rem !important; + } + .ml-sm-5, + .mx-sm-5 { + margin-left: 3rem !important; + } + .p-sm-0 { + padding: 0 !important; + } + .pt-sm-0, + .py-sm-0 { + padding-top: 0 !important; + } + .pr-sm-0, + .px-sm-0 { + padding-right: 0 !important; + } + .pb-sm-0, + .py-sm-0 { + padding-bottom: 0 !important; + } + .pl-sm-0, + .px-sm-0 { + padding-left: 0 !important; + } + .p-sm-1 { + padding: 0.25rem !important; + } + .pt-sm-1, + .py-sm-1 { + padding-top: 0.25rem !important; + } + .pr-sm-1, + .px-sm-1 { + padding-right: 0.25rem !important; + } + .pb-sm-1, + .py-sm-1 { + padding-bottom: 0.25rem !important; + } + .pl-sm-1, + .px-sm-1 { + padding-left: 0.25rem !important; + } + .p-sm-2 { + padding: 0.5rem !important; + } + .pt-sm-2, + .py-sm-2 { + padding-top: 0.5rem !important; + } + .pr-sm-2, + .px-sm-2 { + padding-right: 0.5rem !important; + } + .pb-sm-2, + .py-sm-2 { + padding-bottom: 0.5rem !important; + } + .pl-sm-2, + .px-sm-2 { + padding-left: 0.5rem !important; + } + .p-sm-3 { + padding: 1rem !important; + } + .pt-sm-3, + .py-sm-3 { + padding-top: 1rem !important; + } + .pr-sm-3, + .px-sm-3 { + padding-right: 1rem !important; + } + .pb-sm-3, + .py-sm-3 { + padding-bottom: 1rem !important; + } + .pl-sm-3, + .px-sm-3 { + padding-left: 1rem !important; + } + .p-sm-4 { + padding: 1.5rem !important; + } + .pt-sm-4, + .py-sm-4 { + padding-top: 1.5rem !important; + } + .pr-sm-4, + .px-sm-4 { + padding-right: 1.5rem !important; + } + .pb-sm-4, + .py-sm-4 { + padding-bottom: 1.5rem !important; + } + .pl-sm-4, + .px-sm-4 { + padding-left: 1.5rem !important; + } + .p-sm-5 { + padding: 3rem !important; + } + .pt-sm-5, + .py-sm-5 { + padding-top: 3rem !important; + } + .pr-sm-5, + .px-sm-5 { + padding-right: 3rem !important; + } + .pb-sm-5, + .py-sm-5 { + padding-bottom: 3rem !important; + } + .pl-sm-5, + .px-sm-5 { + padding-left: 3rem !important; + } + .m-sm-auto { + margin: auto !important; + } + .mt-sm-auto, + .my-sm-auto { + margin-top: auto !important; + } + .mr-sm-auto, + .mx-sm-auto { + margin-right: auto !important; + } + .mb-sm-auto, + .my-sm-auto { + margin-bottom: auto !important; + } + .ml-sm-auto, + .mx-sm-auto { + margin-left: auto !important; + } +} + +@media (min-width: 768px) { + .m-md-0 { + margin: 0 !important; + } + .mt-md-0, + .my-md-0 { + margin-top: 0 !important; + } + .mr-md-0, + .mx-md-0 { + margin-right: 0 !important; + } + .mb-md-0, + .my-md-0 { + margin-bottom: 0 !important; + } + .ml-md-0, + .mx-md-0 { + margin-left: 0 !important; + } + .m-md-1 { + margin: 0.25rem !important; + } + .mt-md-1, + .my-md-1 { + margin-top: 0.25rem !important; + } + .mr-md-1, + .mx-md-1 { + margin-right: 0.25rem !important; + } + .mb-md-1, + .my-md-1 { + margin-bottom: 0.25rem !important; + } + .ml-md-1, + .mx-md-1 { + margin-left: 0.25rem !important; + } + .m-md-2 { + margin: 0.5rem !important; + } + .mt-md-2, + .my-md-2 { + margin-top: 0.5rem !important; + } + .mr-md-2, + .mx-md-2 { + margin-right: 0.5rem !important; + } + .mb-md-2, + .my-md-2 { + margin-bottom: 0.5rem !important; + } + .ml-md-2, + .mx-md-2 { + margin-left: 0.5rem !important; + } + .m-md-3 { + margin: 1rem !important; + } + .mt-md-3, + .my-md-3 { + margin-top: 1rem !important; + } + .mr-md-3, + .mx-md-3 { + margin-right: 1rem !important; + } + .mb-md-3, + .my-md-3 { + margin-bottom: 1rem !important; + } + .ml-md-3, + .mx-md-3 { + margin-left: 1rem !important; + } + .m-md-4 { + margin: 1.5rem !important; + } + .mt-md-4, + .my-md-4 { + margin-top: 1.5rem !important; + } + .mr-md-4, + .mx-md-4 { + margin-right: 1.5rem !important; + } + .mb-md-4, + .my-md-4 { + margin-bottom: 1.5rem !important; + } + .ml-md-4, + .mx-md-4 { + margin-left: 1.5rem !important; + } + .m-md-5 { + margin: 3rem !important; + } + .mt-md-5, + .my-md-5 { + margin-top: 3rem !important; + } + .mr-md-5, + .mx-md-5 { + margin-right: 3rem !important; + } + .mb-md-5, + .my-md-5 { + margin-bottom: 3rem !important; + } + .ml-md-5, + .mx-md-5 { + margin-left: 3rem !important; + } + .p-md-0 { + padding: 0 !important; + } + .pt-md-0, + .py-md-0 { + padding-top: 0 !important; + } + .pr-md-0, + .px-md-0 { + padding-right: 0 !important; + } + .pb-md-0, + .py-md-0 { + padding-bottom: 0 !important; + } + .pl-md-0, + .px-md-0 { + padding-left: 0 !important; + } + .p-md-1 { + padding: 0.25rem !important; + } + .pt-md-1, + .py-md-1 { + padding-top: 0.25rem !important; + } + .pr-md-1, + .px-md-1 { + padding-right: 0.25rem !important; + } + .pb-md-1, + .py-md-1 { + padding-bottom: 0.25rem !important; + } + .pl-md-1, + .px-md-1 { + padding-left: 0.25rem !important; + } + .p-md-2 { + padding: 0.5rem !important; + } + .pt-md-2, + .py-md-2 { + padding-top: 0.5rem !important; + } + .pr-md-2, + .px-md-2 { + padding-right: 0.5rem !important; + } + .pb-md-2, + .py-md-2 { + padding-bottom: 0.5rem !important; + } + .pl-md-2, + .px-md-2 { + padding-left: 0.5rem !important; + } + .p-md-3 { + padding: 1rem !important; + } + .pt-md-3, + .py-md-3 { + padding-top: 1rem !important; + } + .pr-md-3, + .px-md-3 { + padding-right: 1rem !important; + } + .pb-md-3, + .py-md-3 { + padding-bottom: 1rem !important; + } + .pl-md-3, + .px-md-3 { + padding-left: 1rem !important; + } + .p-md-4 { + padding: 1.5rem !important; + } + .pt-md-4, + .py-md-4 { + padding-top: 1.5rem !important; + } + .pr-md-4, + .px-md-4 { + padding-right: 1.5rem !important; + } + .pb-md-4, + .py-md-4 { + padding-bottom: 1.5rem !important; + } + .pl-md-4, + .px-md-4 { + padding-left: 1.5rem !important; + } + .p-md-5 { + padding: 3rem !important; + } + .pt-md-5, + .py-md-5 { + padding-top: 3rem !important; + } + .pr-md-5, + .px-md-5 { + padding-right: 3rem !important; + } + .pb-md-5, + .py-md-5 { + padding-bottom: 3rem !important; + } + .pl-md-5, + .px-md-5 { + padding-left: 3rem !important; + } + .m-md-auto { + margin: auto !important; + } + .mt-md-auto, + .my-md-auto { + margin-top: auto !important; + } + .mr-md-auto, + .mx-md-auto { + margin-right: auto !important; + } + .mb-md-auto, + .my-md-auto { + margin-bottom: auto !important; + } + .ml-md-auto, + .mx-md-auto { + margin-left: auto !important; + } +} + +@media (min-width: 992px) { + .m-lg-0 { + margin: 0 !important; + } + .mt-lg-0, + .my-lg-0 { + margin-top: 0 !important; + } + .mr-lg-0, + .mx-lg-0 { + margin-right: 0 !important; + } + .mb-lg-0, + .my-lg-0 { + margin-bottom: 0 !important; + } + .ml-lg-0, + .mx-lg-0 { + margin-left: 0 !important; + } + .m-lg-1 { + margin: 0.25rem !important; + } + .mt-lg-1, + .my-lg-1 { + margin-top: 0.25rem !important; + } + .mr-lg-1, + .mx-lg-1 { + margin-right: 0.25rem !important; + } + .mb-lg-1, + .my-lg-1 { + margin-bottom: 0.25rem !important; + } + .ml-lg-1, + .mx-lg-1 { + margin-left: 0.25rem !important; + } + .m-lg-2 { + margin: 0.5rem !important; + } + .mt-lg-2, + .my-lg-2 { + margin-top: 0.5rem !important; + } + .mr-lg-2, + .mx-lg-2 { + margin-right: 0.5rem !important; + } + .mb-lg-2, + .my-lg-2 { + margin-bottom: 0.5rem !important; + } + .ml-lg-2, + .mx-lg-2 { + margin-left: 0.5rem !important; + } + .m-lg-3 { + margin: 1rem !important; + } + .mt-lg-3, + .my-lg-3 { + margin-top: 1rem !important; + } + .mr-lg-3, + .mx-lg-3 { + margin-right: 1rem !important; + } + .mb-lg-3, + .my-lg-3 { + margin-bottom: 1rem !important; + } + .ml-lg-3, + .mx-lg-3 { + margin-left: 1rem !important; + } + .m-lg-4 { + margin: 1.5rem !important; + } + .mt-lg-4, + .my-lg-4 { + margin-top: 1.5rem !important; + } + .mr-lg-4, + .mx-lg-4 { + margin-right: 1.5rem !important; + } + .mb-lg-4, + .my-lg-4 { + margin-bottom: 1.5rem !important; + } + .ml-lg-4, + .mx-lg-4 { + margin-left: 1.5rem !important; + } + .m-lg-5 { + margin: 3rem !important; + } + .mt-lg-5, + .my-lg-5 { + margin-top: 3rem !important; + } + .mr-lg-5, + .mx-lg-5 { + margin-right: 3rem !important; + } + .mb-lg-5, + .my-lg-5 { + margin-bottom: 3rem !important; + } + .ml-lg-5, + .mx-lg-5 { + margin-left: 3rem !important; + } + .p-lg-0 { + padding: 0 !important; + } + .pt-lg-0, + .py-lg-0 { + padding-top: 0 !important; + } + .pr-lg-0, + .px-lg-0 { + padding-right: 0 !important; + } + .pb-lg-0, + .py-lg-0 { + padding-bottom: 0 !important; + } + .pl-lg-0, + .px-lg-0 { + padding-left: 0 !important; + } + .p-lg-1 { + padding: 0.25rem !important; + } + .pt-lg-1, + .py-lg-1 { + padding-top: 0.25rem !important; + } + .pr-lg-1, + .px-lg-1 { + padding-right: 0.25rem !important; + } + .pb-lg-1, + .py-lg-1 { + padding-bottom: 0.25rem !important; + } + .pl-lg-1, + .px-lg-1 { + padding-left: 0.25rem !important; + } + .p-lg-2 { + padding: 0.5rem !important; + } + .pt-lg-2, + .py-lg-2 { + padding-top: 0.5rem !important; + } + .pr-lg-2, + .px-lg-2 { + padding-right: 0.5rem !important; + } + .pb-lg-2, + .py-lg-2 { + padding-bottom: 0.5rem !important; + } + .pl-lg-2, + .px-lg-2 { + padding-left: 0.5rem !important; + } + .p-lg-3 { + padding: 1rem !important; + } + .pt-lg-3, + .py-lg-3 { + padding-top: 1rem !important; + } + .pr-lg-3, + .px-lg-3 { + padding-right: 1rem !important; + } + .pb-lg-3, + .py-lg-3 { + padding-bottom: 1rem !important; + } + .pl-lg-3, + .px-lg-3 { + padding-left: 1rem !important; + } + .p-lg-4 { + padding: 1.5rem !important; + } + .pt-lg-4, + .py-lg-4 { + padding-top: 1.5rem !important; + } + .pr-lg-4, + .px-lg-4 { + padding-right: 1.5rem !important; + } + .pb-lg-4, + .py-lg-4 { + padding-bottom: 1.5rem !important; + } + .pl-lg-4, + .px-lg-4 { + padding-left: 1.5rem !important; + } + .p-lg-5 { + padding: 3rem !important; + } + .pt-lg-5, + .py-lg-5 { + padding-top: 3rem !important; + } + .pr-lg-5, + .px-lg-5 { + padding-right: 3rem !important; + } + .pb-lg-5, + .py-lg-5 { + padding-bottom: 3rem !important; + } + .pl-lg-5, + .px-lg-5 { + padding-left: 3rem !important; + } + .m-lg-auto { + margin: auto !important; + } + .mt-lg-auto, + .my-lg-auto { + margin-top: auto !important; + } + .mr-lg-auto, + .mx-lg-auto { + margin-right: auto !important; + } + .mb-lg-auto, + .my-lg-auto { + margin-bottom: auto !important; + } + .ml-lg-auto, + .mx-lg-auto { + margin-left: auto !important; + } +} + +@media (min-width: 1200px) { + .m-xl-0 { + margin: 0 !important; + } + .mt-xl-0, + .my-xl-0 { + margin-top: 0 !important; + } + .mr-xl-0, + .mx-xl-0 { + margin-right: 0 !important; + } + .mb-xl-0, + .my-xl-0 { + margin-bottom: 0 !important; + } + .ml-xl-0, + .mx-xl-0 { + margin-left: 0 !important; + } + .m-xl-1 { + margin: 0.25rem !important; + } + .mt-xl-1, + .my-xl-1 { + margin-top: 0.25rem !important; + } + .mr-xl-1, + .mx-xl-1 { + margin-right: 0.25rem !important; + } + .mb-xl-1, + .my-xl-1 { + margin-bottom: 0.25rem !important; + } + .ml-xl-1, + .mx-xl-1 { + margin-left: 0.25rem !important; + } + .m-xl-2 { + margin: 0.5rem !important; + } + .mt-xl-2, + .my-xl-2 { + margin-top: 0.5rem !important; + } + .mr-xl-2, + .mx-xl-2 { + margin-right: 0.5rem !important; + } + .mb-xl-2, + .my-xl-2 { + margin-bottom: 0.5rem !important; + } + .ml-xl-2, + .mx-xl-2 { + margin-left: 0.5rem !important; + } + .m-xl-3 { + margin: 1rem !important; + } + .mt-xl-3, + .my-xl-3 { + margin-top: 1rem !important; + } + .mr-xl-3, + .mx-xl-3 { + margin-right: 1rem !important; + } + .mb-xl-3, + .my-xl-3 { + margin-bottom: 1rem !important; + } + .ml-xl-3, + .mx-xl-3 { + margin-left: 1rem !important; + } + .m-xl-4 { + margin: 1.5rem !important; + } + .mt-xl-4, + .my-xl-4 { + margin-top: 1.5rem !important; + } + .mr-xl-4, + .mx-xl-4 { + margin-right: 1.5rem !important; + } + .mb-xl-4, + .my-xl-4 { + margin-bottom: 1.5rem !important; + } + .ml-xl-4, + .mx-xl-4 { + margin-left: 1.5rem !important; + } + .m-xl-5 { + margin: 3rem !important; + } + .mt-xl-5, + .my-xl-5 { + margin-top: 3rem !important; + } + .mr-xl-5, + .mx-xl-5 { + margin-right: 3rem !important; + } + .mb-xl-5, + .my-xl-5 { + margin-bottom: 3rem !important; + } + .ml-xl-5, + .mx-xl-5 { + margin-left: 3rem !important; + } + .p-xl-0 { + padding: 0 !important; + } + .pt-xl-0, + .py-xl-0 { + padding-top: 0 !important; + } + .pr-xl-0, + .px-xl-0 { + padding-right: 0 !important; + } + .pb-xl-0, + .py-xl-0 { + padding-bottom: 0 !important; + } + .pl-xl-0, + .px-xl-0 { + padding-left: 0 !important; + } + .p-xl-1 { + padding: 0.25rem !important; + } + .pt-xl-1, + .py-xl-1 { + padding-top: 0.25rem !important; + } + .pr-xl-1, + .px-xl-1 { + padding-right: 0.25rem !important; + } + .pb-xl-1, + .py-xl-1 { + padding-bottom: 0.25rem !important; + } + .pl-xl-1, + .px-xl-1 { + padding-left: 0.25rem !important; + } + .p-xl-2 { + padding: 0.5rem !important; + } + .pt-xl-2, + .py-xl-2 { + padding-top: 0.5rem !important; + } + .pr-xl-2, + .px-xl-2 { + padding-right: 0.5rem !important; + } + .pb-xl-2, + .py-xl-2 { + padding-bottom: 0.5rem !important; + } + .pl-xl-2, + .px-xl-2 { + padding-left: 0.5rem !important; + } + .p-xl-3 { + padding: 1rem !important; + } + .pt-xl-3, + .py-xl-3 { + padding-top: 1rem !important; + } + .pr-xl-3, + .px-xl-3 { + padding-right: 1rem !important; + } + .pb-xl-3, + .py-xl-3 { + padding-bottom: 1rem !important; + } + .pl-xl-3, + .px-xl-3 { + padding-left: 1rem !important; + } + .p-xl-4 { + padding: 1.5rem !important; + } + .pt-xl-4, + .py-xl-4 { + padding-top: 1.5rem !important; + } + .pr-xl-4, + .px-xl-4 { + padding-right: 1.5rem !important; + } + .pb-xl-4, + .py-xl-4 { + padding-bottom: 1.5rem !important; + } + .pl-xl-4, + .px-xl-4 { + padding-left: 1.5rem !important; + } + .p-xl-5 { + padding: 3rem !important; + } + .pt-xl-5, + .py-xl-5 { + padding-top: 3rem !important; + } + .pr-xl-5, + .px-xl-5 { + padding-right: 3rem !important; + } + .pb-xl-5, + .py-xl-5 { + padding-bottom: 3rem !important; + } + .pl-xl-5, + .px-xl-5 { + padding-left: 3rem !important; + } + .m-xl-auto { + margin: auto !important; + } + .mt-xl-auto, + .my-xl-auto { + margin-top: auto !important; + } + .mr-xl-auto, + .mx-xl-auto { + margin-right: auto !important; + } + .mb-xl-auto, + .my-xl-auto { + margin-bottom: auto !important; + } + .ml-xl-auto, + .mx-xl-auto { + margin-left: auto !important; + } +} + +.text-monospace { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; +} + +.text-justify { + text-align: justify !important; +} + +.text-nowrap { + white-space: nowrap !important; +} + +.text-truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.text-left { + text-align: left !important; +} + +.text-right { + text-align: right !important; +} + +.text-center { + text-align: center !important; +} + +@media (min-width: 576px) { + .text-sm-left { + text-align: left !important; + } + .text-sm-right { + text-align: right !important; + } + .text-sm-center { + text-align: center !important; + } +} + +@media (min-width: 768px) { + .text-md-left { + text-align: left !important; + } + .text-md-right { + text-align: right !important; + } + .text-md-center { + text-align: center !important; + } +} + +@media (min-width: 992px) { + .text-lg-left { + text-align: left !important; + } + .text-lg-right { + text-align: right !important; + } + .text-lg-center { + text-align: center !important; + } +} + +@media (min-width: 1200px) { + .text-xl-left { + text-align: left !important; + } + .text-xl-right { + text-align: right !important; + } + .text-xl-center { + text-align: center !important; + } +} + +.text-lowercase { + text-transform: lowercase !important; +} + +.text-uppercase { + text-transform: uppercase !important; +} + +.text-capitalize { + text-transform: capitalize !important; +} + +.font-weight-light { + font-weight: 300 !important; +} + +.font-weight-normal { + font-weight: 400 !important; +} + +.font-weight-bold { + font-weight: 700 !important; +} + +.font-italic { + font-style: italic !important; +} + +.text-white { + color: #fff !important; +} + +.text-primary { + color: #20a8d8 !important; +} + +a.text-primary:hover, a.text-primary:focus { + color: #1985ac !important; +} + +.text-secondary { + color: #c8ced3 !important; +} + +a.text-secondary:hover, a.text-secondary:focus { + color: #acb5bc !important; +} + +.text-success { + color: #4dbd74 !important; +} + +a.text-success:hover, a.text-success:focus { + color: #3a9d5d !important; +} + +.text-info { + color: #63c2de !important; +} + +a.text-info:hover, a.text-info:focus { + color: #39b2d5 !important; +} + +.text-warning { + color: #ffc107 !important; +} + +a.text-warning:hover, a.text-warning:focus { + color: #d39e00 !important; +} + +.text-danger { + color: #f86c6b !important; +} + +a.text-danger:hover, a.text-danger:focus { + color: #f63c3a !important; +} + +.text-light { + color: #f0f3f5 !important; +} + +a.text-light:hover, a.text-light:focus { + color: #d1dbe1 !important; +} + +.text-dark { + color: #2f353a !important; +} + +a.text-dark:hover, a.text-dark:focus { + color: #181b1e !important; +} + +.text-body { + color: #23282c !important; +} + +.text-muted { + color: #73818f !important; +} + +.text-black-50 { + color: rgba(0, 0, 0, 0.5) !important; +} + +.text-white-50 { + color: rgba(255, 255, 255, 0.5) !important; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.visible { + visibility: visible !important; +} + +.invisible { + visibility: hidden !important; +} + +@media print { + *, + *::before, + *::after { + text-shadow: none !important; + box-shadow: none !important; + } + a:not(.btn) { + text-decoration: underline; + } + abbr[title]::after { + content: " (" attr(title) ")"; + } + pre { + white-space: pre-wrap !important; + } + pre, + blockquote { + border: 1px solid #8f9ba6; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + @page { + size: a3; + } + body { + min-width: 992px !important; + } + .container { + min-width: 992px !important; + } + .navbar { + display: none; + } + .badge { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #c8ced3 !important; + } + .table-dark { + color: inherit; + } + .table-dark th, + .table-dark td, + .table-dark thead th, + .table-dark tbody + tbody { + border-color: #c8ced3; + } + .table .thead-dark th { + color: inherit; + border-color: #c8ced3; + } +} + +.animated { + -webkit-animation-duration: 1s; + animation-duration: 1s; +} + +.animated.infinite { + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; +} + +.animated.hinge { + -webkit-animation-duration: 2s; + animation-duration: 2s; +} + +@-webkit-keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +@keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +.fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; +} + +.ps { + overflow: hidden !important; + -ms-touch-action: auto; + touch-action: auto; + -ms-overflow-style: none; + overflow-anchor: none; +} + +.ps__rail-x { + position: absolute; + bottom: 0; + display: none; + height: 15px; + opacity: 0; + transition: background-color .2s linear, opacity .2s linear; +} + +.ps__rail-y { + position: absolute; + right: 0; + display: none; + width: 15px; + opacity: 0; + transition: background-color .2s linear, opacity .2s linear; +} + +.ps--active-x > .ps__rail-x, +.ps--active-y > .ps__rail-y { + display: block; + background-color: transparent; +} + +.ps:hover > .ps__rail-x, +.ps:hover > .ps__rail-y, +.ps--focus > .ps__rail-x, +.ps--focus > .ps__rail-y, +.ps--scrolling-x > .ps__rail-x, +.ps--scrolling-y > .ps__rail-y { + opacity: .6; +} + +.ps__rail-x:hover, +.ps__rail-y:hover, +.ps__rail-x:focus, +.ps__rail-y:focus { + background-color: #eee; + opacity: .9; +} + +/* + * Scrollbar thumb styles + */ +.ps__thumb-x { + position: absolute; + bottom: 2px; + height: 6px; + background-color: #aaa; + border-radius: 6px; + transition: background-color .2s linear, height .2s ease-in-out; +} + +.ps__thumb-y { + position: absolute; + right: 2px; + width: 6px; + background-color: #aaa; + border-radius: 6px; + transition: background-color .2s linear, width .2s ease-in-out; +} + +.ps__rail-x:hover > .ps__thumb-x, +.ps__rail-x:focus > .ps__thumb-x { + height: 11px; + background-color: #999; +} + +.ps__rail-y:hover > .ps__thumb-y, +.ps__rail-y:focus > .ps__thumb-y { + width: 11px; + background-color: #999; +} + +@supports (-ms-overflow-style: none) { + .ps { + overflow: auto !important; + } +} + +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .ps { + overflow: auto !important; + } +} + +.aside-menu { + z-index: 1019; + width: 250px; + color: #2f353a; + background: #fff; + border-left: 1px solid #c8ced3; +} + +.aside-menu .nav-tabs { + border-color: #c8ced3; +} + +.aside-menu .nav-tabs .nav-link { + padding: 0.75rem 1rem; + color: #23282c; + border-top: 0; + border-radius: 0; +} + +.aside-menu .nav-tabs .nav-link.active { + color: #20a8d8; + border-right-color: #c8ced3; + border-left-color: #c8ced3; +} + +.aside-menu .nav-tabs .nav-item:first-child .nav-link { + border-left: 0; +} + +.aside-menu .tab-content { + position: relative; + overflow-x: hidden; + overflow-y: auto; + border: 0; + border-top: 1px solid #c8ced3; + -ms-overflow-style: -ms-autohiding-scrollbar; +} + +.aside-menu .tab-content::-webkit-scrollbar { + width: 10px; + margin-left: -10px; + -webkit-appearance: none; + appearance: none; +} + +.aside-menu .tab-content::-webkit-scrollbar-track { + background-color: white; + border-right: 1px solid #f2f2f2; + border-left: 1px solid #f2f2f2; +} + +.aside-menu .tab-content::-webkit-scrollbar-thumb { + height: 50px; + background-color: #e6e6e6; + background-clip: content-box; + border-color: transparent; + border-style: solid; + border-width: 1px 2px; +} + +.aside-menu .tab-content .tab-pane { + padding: 0; +} + +.avatar { + position: relative; + display: inline-block; + width: 36px; + height: 36px; +} + +.avatar .avatar-status { + position: absolute; + right: 0; + bottom: 0; + display: block; + width: 10px; + height: 10px; + border: 1px solid #fff; + border-radius: 50em; +} + +.avatar > img { + vertical-align: initial; +} + +.avatar-lg { + position: relative; + display: inline-block; + width: 72px; + height: 72px; +} + +.avatar-lg .avatar-status { + position: absolute; + right: 0; + bottom: 0; + display: block; + width: 12px; + height: 12px; + border: 1px solid #fff; + border-radius: 50em; +} + +.avatar-sm { + position: relative; + display: inline-block; + width: 24px; + height: 24px; +} + +.avatar-sm .avatar-status { + position: absolute; + right: 0; + bottom: 0; + display: block; + width: 8px; + height: 8px; + border: 1px solid #fff; + border-radius: 50em; +} + +.avatar-xs { + position: relative; + display: inline-block; + width: 20px; + height: 20px; +} + +.avatar-xs .avatar-status { + position: absolute; + right: 0; + bottom: 0; + display: block; + width: 8px; + height: 8px; + border: 1px solid #fff; + border-radius: 50em; +} + +.avatars-stack .avatar { + margin-right: -18px; + transition: margin-right 0.25s; +} + +.avatars-stack .avatar:hover { + margin-right: 0; +} + +.avatars-stack .avatar-lg { + margin-right: -36px; +} + +.avatars-stack .avatar-sm { + margin-right: -12px; +} + +.avatars-stack .avatar-xs { + margin-right: -10px; +} + +.badge-pill { + border-radius: 10rem; +} + +.breadcrumb-menu { + margin-left: auto; +} + +.breadcrumb-menu::before { + display: none; +} + +.breadcrumb-menu .btn-group { + vertical-align: top; +} + +.breadcrumb-menu .btn { + padding: 0 0.75rem; + color: #73818f; + vertical-align: top; + border: 0; +} + +.breadcrumb-menu .btn:hover, .breadcrumb-menu .btn.active { + color: #23282c; + background: transparent; +} + +.breadcrumb-menu .open .btn { + color: #23282c; + background: transparent; +} + +.breadcrumb-menu .dropdown-menu { + min-width: 180px; + line-height: 1.5; +} + +*[dir="rtl"] .breadcrumb-menu { + margin-right: auto; + margin-left: initial; +} + +.breadcrumb { + position: relative; + border-radius: 0; + border-bottom: 1px solid #c8ced3; +} + +*[dir="rtl"] .breadcrumb-item::before { + padding-right: 0; + padding-left: 0.5rem; +} + +*[dir="rtl"] .breadcrumb-item { + padding-right: 0.5rem; + padding-left: 0; +} + +.brand-card { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + margin-bottom: 1.5rem; + word-wrap: break-word; + background-color: #fff; + background-clip: border-box; + border: 1px solid #c8ced3; + border-radius: 0.25rem; +} + +.brand-card-header { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + height: 6rem; + border-radius: 0.25rem 0.25rem 0 0; +} + +.brand-card-header i { + font-size: 2rem; + color: #fff; +} + +.brand-card-header .chart-wrapper { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.brand-card-body { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: row; + flex-direction: row; + padding: 0.75rem 0; + text-align: center; +} + +.brand-card-body > * { + -ms-flex: 1; + flex: 1; + padding: 0.1875rem 0; +} + +.brand-card-body > *:not(:last-child) { + border-right: 1px solid #c8ced3; +} + +*[dir="rtl"] .brand-card-body > *:not(:last-child) { + border-right: 0; + border-left: 1px solid #c8ced3; +} + +.btn-brand { + border: 0; +} + +.btn-brand i { + display: inline-block; + width: 2.0625rem; + margin: -0.375rem -0.75rem; + line-height: 2.0625rem; + text-align: center; + background-color: rgba(0, 0, 0, 0.2); + border-radius: 0.25rem; +} + +.btn-brand i + span { + margin-left: 1.5rem; +} + +.btn-brand.btn-lg i, .btn-group-lg > .btn-brand.btn i { + width: 2.640625rem; + margin: -0.5rem -1rem; + line-height: 2.640625rem; + border-radius: 0.3rem; +} + +.btn-brand.btn-lg i + span, .btn-group-lg > .btn-brand.btn i + span { + margin-left: 2rem; +} + +.btn-brand.btn-sm i, .btn-group-sm > .btn-brand.btn i { + width: 1.648438rem; + margin: -0.25rem -0.5rem; + line-height: 1.648438rem; + border-radius: 0.2rem; +} + +.btn-brand.btn-sm i + span, .btn-group-sm > .btn-brand.btn i + span { + margin-left: 1rem; +} + +.btn-brand.btn-square i { + border-radius: 0; +} + +.btn-facebook { + color: #fff; + background-color: #3b5998; + border-color: #3b5998; +} + +.btn-facebook:hover { + color: #fff; + background-color: #30497c; + border-color: #2d4373; +} + +.btn-facebook:focus, .btn-facebook.focus { + box-shadow: 0 0 0 0.2rem rgba(59, 89, 152, 0.5); +} + +.btn-facebook.disabled, .btn-facebook:disabled { + color: #fff; + background-color: #3b5998; + border-color: #3b5998; +} + +.btn-facebook:not(:disabled):not(.disabled):active, .btn-facebook:not(:disabled):not(.disabled).active, +.show > .btn-facebook.dropdown-toggle { + color: #fff; + background-color: #2d4373; + border-color: #293e6a; +} + +.btn-facebook:not(:disabled):not(.disabled):active:focus, .btn-facebook:not(:disabled):not(.disabled).active:focus, +.show > .btn-facebook.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(59, 89, 152, 0.5); +} + +.btn-twitter { + color: #fff; + background-color: #00aced; + border-color: #00aced; +} + +.btn-twitter:hover { + color: #fff; + background-color: #0090c7; + border-color: #0087ba; +} + +.btn-twitter:focus, .btn-twitter.focus { + box-shadow: 0 0 0 0.2rem rgba(0, 172, 237, 0.5); +} + +.btn-twitter.disabled, .btn-twitter:disabled { + color: #fff; + background-color: #00aced; + border-color: #00aced; +} + +.btn-twitter:not(:disabled):not(.disabled):active, .btn-twitter:not(:disabled):not(.disabled).active, +.show > .btn-twitter.dropdown-toggle { + color: #fff; + background-color: #0087ba; + border-color: #007ead; +} + +.btn-twitter:not(:disabled):not(.disabled):active:focus, .btn-twitter:not(:disabled):not(.disabled).active:focus, +.show > .btn-twitter.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 172, 237, 0.5); +} + +.btn-linkedin { + color: #fff; + background-color: #4875b4; + border-color: #4875b4; +} + +.btn-linkedin:hover { + color: #fff; + background-color: #3d6399; + border-color: #395d90; +} + +.btn-linkedin:focus, .btn-linkedin.focus { + box-shadow: 0 0 0 0.2rem rgba(72, 117, 180, 0.5); +} + +.btn-linkedin.disabled, .btn-linkedin:disabled { + color: #fff; + background-color: #4875b4; + border-color: #4875b4; +} + +.btn-linkedin:not(:disabled):not(.disabled):active, .btn-linkedin:not(:disabled):not(.disabled).active, +.show > .btn-linkedin.dropdown-toggle { + color: #fff; + background-color: #395d90; + border-color: #365786; +} + +.btn-linkedin:not(:disabled):not(.disabled):active:focus, .btn-linkedin:not(:disabled):not(.disabled).active:focus, +.show > .btn-linkedin.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(72, 117, 180, 0.5); +} + +.btn-google-plus { + color: #fff; + background-color: #d34836; + border-color: #d34836; +} + +.btn-google-plus:hover { + color: #fff; + background-color: #ba3929; + border-color: #b03626; +} + +.btn-google-plus:focus, .btn-google-plus.focus { + box-shadow: 0 0 0 0.2rem rgba(211, 72, 54, 0.5); +} + +.btn-google-plus.disabled, .btn-google-plus:disabled { + color: #fff; + background-color: #d34836; + border-color: #d34836; +} + +.btn-google-plus:not(:disabled):not(.disabled):active, .btn-google-plus:not(:disabled):not(.disabled).active, +.show > .btn-google-plus.dropdown-toggle { + color: #fff; + background-color: #b03626; + border-color: #a53324; +} + +.btn-google-plus:not(:disabled):not(.disabled):active:focus, .btn-google-plus:not(:disabled):not(.disabled).active:focus, +.show > .btn-google-plus.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(211, 72, 54, 0.5); +} + +.btn-flickr { + color: #fff; + background-color: #ff0084; + border-color: #ff0084; +} + +.btn-flickr:hover { + color: #fff; + background-color: #d90070; + border-color: #cc006a; +} + +.btn-flickr:focus, .btn-flickr.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 0, 132, 0.5); +} + +.btn-flickr.disabled, .btn-flickr:disabled { + color: #fff; + background-color: #ff0084; + border-color: #ff0084; +} + +.btn-flickr:not(:disabled):not(.disabled):active, .btn-flickr:not(:disabled):not(.disabled).active, +.show > .btn-flickr.dropdown-toggle { + color: #fff; + background-color: #cc006a; + border-color: #bf0063; +} + +.btn-flickr:not(:disabled):not(.disabled):active:focus, .btn-flickr:not(:disabled):not(.disabled).active:focus, +.show > .btn-flickr.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 0, 132, 0.5); +} + +.btn-tumblr { + color: #fff; + background-color: #32506d; + border-color: #32506d; +} + +.btn-tumblr:hover { + color: #fff; + background-color: #263d53; + border-color: #22364a; +} + +.btn-tumblr:focus, .btn-tumblr.focus { + box-shadow: 0 0 0 0.2rem rgba(50, 80, 109, 0.5); +} + +.btn-tumblr.disabled, .btn-tumblr:disabled { + color: #fff; + background-color: #32506d; + border-color: #32506d; +} + +.btn-tumblr:not(:disabled):not(.disabled):active, .btn-tumblr:not(:disabled):not(.disabled).active, +.show > .btn-tumblr.dropdown-toggle { + color: #fff; + background-color: #22364a; + border-color: #1e3041; +} + +.btn-tumblr:not(:disabled):not(.disabled):active:focus, .btn-tumblr:not(:disabled):not(.disabled).active:focus, +.show > .btn-tumblr.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(50, 80, 109, 0.5); +} + +.btn-xing { + color: #fff; + background-color: #026466; + border-color: #026466; +} + +.btn-xing:hover { + color: #fff; + background-color: #013f40; + border-color: #013334; +} + +.btn-xing:focus, .btn-xing.focus { + box-shadow: 0 0 0 0.2rem rgba(2, 100, 102, 0.5); +} + +.btn-xing.disabled, .btn-xing:disabled { + color: #fff; + background-color: #026466; + border-color: #026466; +} + +.btn-xing:not(:disabled):not(.disabled):active, .btn-xing:not(:disabled):not(.disabled).active, +.show > .btn-xing.dropdown-toggle { + color: #fff; + background-color: #013334; + border-color: #012727; +} + +.btn-xing:not(:disabled):not(.disabled):active:focus, .btn-xing:not(:disabled):not(.disabled).active:focus, +.show > .btn-xing.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(2, 100, 102, 0.5); +} + +.btn-github { + color: #fff; + background-color: #4183c4; + border-color: #4183c4; +} + +.btn-github:hover { + color: #fff; + background-color: #3570aa; + border-color: #3269a0; +} + +.btn-github:focus, .btn-github.focus { + box-shadow: 0 0 0 0.2rem rgba(65, 131, 196, 0.5); +} + +.btn-github.disabled, .btn-github:disabled { + color: #fff; + background-color: #4183c4; + border-color: #4183c4; +} + +.btn-github:not(:disabled):not(.disabled):active, .btn-github:not(:disabled):not(.disabled).active, +.show > .btn-github.dropdown-toggle { + color: #fff; + background-color: #3269a0; + border-color: #2f6397; +} + +.btn-github:not(:disabled):not(.disabled):active:focus, .btn-github:not(:disabled):not(.disabled).active:focus, +.show > .btn-github.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(65, 131, 196, 0.5); +} + +.btn-html5 { + color: #fff; + background-color: #e34f26; + border-color: #e34f26; +} + +.btn-html5:hover { + color: #fff; + background-color: #c9401a; + border-color: #be3c18; +} + +.btn-html5:focus, .btn-html5.focus { + box-shadow: 0 0 0 0.2rem rgba(227, 79, 38, 0.5); +} + +.btn-html5.disabled, .btn-html5:disabled { + color: #fff; + background-color: #e34f26; + border-color: #e34f26; +} + +.btn-html5:not(:disabled):not(.disabled):active, .btn-html5:not(:disabled):not(.disabled).active, +.show > .btn-html5.dropdown-toggle { + color: #fff; + background-color: #be3c18; + border-color: #b23917; +} + +.btn-html5:not(:disabled):not(.disabled):active:focus, .btn-html5:not(:disabled):not(.disabled).active:focus, +.show > .btn-html5.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(227, 79, 38, 0.5); +} + +.btn-openid { + color: #23282c; + background-color: #f78c40; + border-color: #f78c40; +} + +.btn-openid:hover { + color: #fff; + background-color: #f5761b; + border-color: #f56f0f; +} + +.btn-openid:focus, .btn-openid.focus { + box-shadow: 0 0 0 0.2rem rgba(247, 140, 64, 0.5); +} + +.btn-openid.disabled, .btn-openid:disabled { + color: #23282c; + background-color: #f78c40; + border-color: #f78c40; +} + +.btn-openid:not(:disabled):not(.disabled):active, .btn-openid:not(:disabled):not(.disabled).active, +.show > .btn-openid.dropdown-toggle { + color: #fff; + background-color: #f56f0f; + border-color: #ed680a; +} + +.btn-openid:not(:disabled):not(.disabled):active:focus, .btn-openid:not(:disabled):not(.disabled).active:focus, +.show > .btn-openid.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(247, 140, 64, 0.5); +} + +.btn-stack-overflow { + color: #fff; + background-color: #fe7a15; + border-color: #fe7a15; +} + +.btn-stack-overflow:hover { + color: #fff; + background-color: #ec6701; + border-color: #df6101; +} + +.btn-stack-overflow:focus, .btn-stack-overflow.focus { + box-shadow: 0 0 0 0.2rem rgba(254, 122, 21, 0.5); +} + +.btn-stack-overflow.disabled, .btn-stack-overflow:disabled { + color: #fff; + background-color: #fe7a15; + border-color: #fe7a15; +} + +.btn-stack-overflow:not(:disabled):not(.disabled):active, .btn-stack-overflow:not(:disabled):not(.disabled).active, +.show > .btn-stack-overflow.dropdown-toggle { + color: #fff; + background-color: #df6101; + border-color: #d25c01; +} + +.btn-stack-overflow:not(:disabled):not(.disabled):active:focus, .btn-stack-overflow:not(:disabled):not(.disabled).active:focus, +.show > .btn-stack-overflow.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(254, 122, 21, 0.5); +} + +.btn-youtube { + color: #fff; + background-color: #b00; + border-color: #b00; +} + +.btn-youtube:hover { + color: #fff; + background-color: #950000; + border-color: #880000; +} + +.btn-youtube:focus, .btn-youtube.focus { + box-shadow: 0 0 0 0.2rem rgba(187, 0, 0, 0.5); +} + +.btn-youtube.disabled, .btn-youtube:disabled { + color: #fff; + background-color: #b00; + border-color: #b00; +} + +.btn-youtube:not(:disabled):not(.disabled):active, .btn-youtube:not(:disabled):not(.disabled).active, +.show > .btn-youtube.dropdown-toggle { + color: #fff; + background-color: #880000; + border-color: #7b0000; +} + +.btn-youtube:not(:disabled):not(.disabled):active:focus, .btn-youtube:not(:disabled):not(.disabled).active:focus, +.show > .btn-youtube.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(187, 0, 0, 0.5); +} + +.btn-css3 { + color: #fff; + background-color: #0170ba; + border-color: #0170ba; +} + +.btn-css3:hover { + color: #fff; + background-color: #015994; + border-color: #015187; +} + +.btn-css3:focus, .btn-css3.focus { + box-shadow: 0 0 0 0.2rem rgba(1, 112, 186, 0.5); +} + +.btn-css3.disabled, .btn-css3:disabled { + color: #fff; + background-color: #0170ba; + border-color: #0170ba; +} + +.btn-css3:not(:disabled):not(.disabled):active, .btn-css3:not(:disabled):not(.disabled).active, +.show > .btn-css3.dropdown-toggle { + color: #fff; + background-color: #015187; + border-color: #014a7b; +} + +.btn-css3:not(:disabled):not(.disabled):active:focus, .btn-css3:not(:disabled):not(.disabled).active:focus, +.show > .btn-css3.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(1, 112, 186, 0.5); +} + +.btn-dribbble { + color: #fff; + background-color: #ea4c89; + border-color: #ea4c89; +} + +.btn-dribbble:hover { + color: #fff; + background-color: #e62a72; + border-color: #e51e6b; +} + +.btn-dribbble:focus, .btn-dribbble.focus { + box-shadow: 0 0 0 0.2rem rgba(234, 76, 137, 0.5); +} + +.btn-dribbble.disabled, .btn-dribbble:disabled { + color: #fff; + background-color: #ea4c89; + border-color: #ea4c89; +} + +.btn-dribbble:not(:disabled):not(.disabled):active, .btn-dribbble:not(:disabled):not(.disabled).active, +.show > .btn-dribbble.dropdown-toggle { + color: #fff; + background-color: #e51e6b; + border-color: #dc1a65; +} + +.btn-dribbble:not(:disabled):not(.disabled):active:focus, .btn-dribbble:not(:disabled):not(.disabled).active:focus, +.show > .btn-dribbble.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(234, 76, 137, 0.5); +} + +.btn-instagram { + color: #fff; + background-color: #517fa4; + border-color: #517fa4; +} + +.btn-instagram:hover { + color: #fff; + background-color: #446b8a; + border-color: #406582; +} + +.btn-instagram:focus, .btn-instagram.focus { + box-shadow: 0 0 0 0.2rem rgba(81, 127, 164, 0.5); +} + +.btn-instagram.disabled, .btn-instagram:disabled { + color: #fff; + background-color: #517fa4; + border-color: #517fa4; +} + +.btn-instagram:not(:disabled):not(.disabled):active, .btn-instagram:not(:disabled):not(.disabled).active, +.show > .btn-instagram.dropdown-toggle { + color: #fff; + background-color: #406582; + border-color: #3c5e79; +} + +.btn-instagram:not(:disabled):not(.disabled):active:focus, .btn-instagram:not(:disabled):not(.disabled).active:focus, +.show > .btn-instagram.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(81, 127, 164, 0.5); +} + +.btn-pinterest { + color: #fff; + background-color: #cb2027; + border-color: #cb2027; +} + +.btn-pinterest:hover { + color: #fff; + background-color: #aa1b21; + border-color: #9f191f; +} + +.btn-pinterest:focus, .btn-pinterest.focus { + box-shadow: 0 0 0 0.2rem rgba(203, 32, 39, 0.5); +} + +.btn-pinterest.disabled, .btn-pinterest:disabled { + color: #fff; + background-color: #cb2027; + border-color: #cb2027; +} + +.btn-pinterest:not(:disabled):not(.disabled):active, .btn-pinterest:not(:disabled):not(.disabled).active, +.show > .btn-pinterest.dropdown-toggle { + color: #fff; + background-color: #9f191f; + border-color: #94171c; +} + +.btn-pinterest:not(:disabled):not(.disabled):active:focus, .btn-pinterest:not(:disabled):not(.disabled).active:focus, +.show > .btn-pinterest.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(203, 32, 39, 0.5); +} + +.btn-vk { + color: #fff; + background-color: #45668e; + border-color: #45668e; +} + +.btn-vk:hover { + color: #fff; + background-color: #385474; + border-color: #344d6c; +} + +.btn-vk:focus, .btn-vk.focus { + box-shadow: 0 0 0 0.2rem rgba(69, 102, 142, 0.5); +} + +.btn-vk.disabled, .btn-vk:disabled { + color: #fff; + background-color: #45668e; + border-color: #45668e; +} + +.btn-vk:not(:disabled):not(.disabled):active, .btn-vk:not(:disabled):not(.disabled).active, +.show > .btn-vk.dropdown-toggle { + color: #fff; + background-color: #344d6c; + border-color: #304763; +} + +.btn-vk:not(:disabled):not(.disabled):active:focus, .btn-vk:not(:disabled):not(.disabled).active:focus, +.show > .btn-vk.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(69, 102, 142, 0.5); +} + +.btn-yahoo { + color: #fff; + background-color: #400191; + border-color: #400191; +} + +.btn-yahoo:hover { + color: #fff; + background-color: #2f016b; + border-color: #2a015e; +} + +.btn-yahoo:focus, .btn-yahoo.focus { + box-shadow: 0 0 0 0.2rem rgba(64, 1, 145, 0.5); +} + +.btn-yahoo.disabled, .btn-yahoo:disabled { + color: #fff; + background-color: #400191; + border-color: #400191; +} + +.btn-yahoo:not(:disabled):not(.disabled):active, .btn-yahoo:not(:disabled):not(.disabled).active, +.show > .btn-yahoo.dropdown-toggle { + color: #fff; + background-color: #2a015e; + border-color: #240152; +} + +.btn-yahoo:not(:disabled):not(.disabled):active:focus, .btn-yahoo:not(:disabled):not(.disabled).active:focus, +.show > .btn-yahoo.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(64, 1, 145, 0.5); +} + +.btn-behance { + color: #fff; + background-color: #1769ff; + border-color: #1769ff; +} + +.btn-behance:hover { + color: #fff; + background-color: #0055f0; + border-color: #0050e3; +} + +.btn-behance:focus, .btn-behance.focus { + box-shadow: 0 0 0 0.2rem rgba(23, 105, 255, 0.5); +} + +.btn-behance.disabled, .btn-behance:disabled { + color: #fff; + background-color: #1769ff; + border-color: #1769ff; +} + +.btn-behance:not(:disabled):not(.disabled):active, .btn-behance:not(:disabled):not(.disabled).active, +.show > .btn-behance.dropdown-toggle { + color: #fff; + background-color: #0050e3; + border-color: #004cd6; +} + +.btn-behance:not(:disabled):not(.disabled):active:focus, .btn-behance:not(:disabled):not(.disabled).active:focus, +.show > .btn-behance.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(23, 105, 255, 0.5); +} + +.btn-dropbox { + color: #fff; + background-color: #007ee5; + border-color: #007ee5; +} + +.btn-dropbox:hover { + color: #fff; + background-color: #0069bf; + border-color: #0062b2; +} + +.btn-dropbox:focus, .btn-dropbox.focus { + box-shadow: 0 0 0 0.2rem rgba(0, 126, 229, 0.5); +} + +.btn-dropbox.disabled, .btn-dropbox:disabled { + color: #fff; + background-color: #007ee5; + border-color: #007ee5; +} + +.btn-dropbox:not(:disabled):not(.disabled):active, .btn-dropbox:not(:disabled):not(.disabled).active, +.show > .btn-dropbox.dropdown-toggle { + color: #fff; + background-color: #0062b2; + border-color: #005ba5; +} + +.btn-dropbox:not(:disabled):not(.disabled):active:focus, .btn-dropbox:not(:disabled):not(.disabled).active:focus, +.show > .btn-dropbox.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 126, 229, 0.5); +} + +.btn-reddit { + color: #fff; + background-color: #ff4500; + border-color: #ff4500; +} + +.btn-reddit:hover { + color: #fff; + background-color: #d93b00; + border-color: #cc3700; +} + +.btn-reddit:focus, .btn-reddit.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 69, 0, 0.5); +} + +.btn-reddit.disabled, .btn-reddit:disabled { + color: #fff; + background-color: #ff4500; + border-color: #ff4500; +} + +.btn-reddit:not(:disabled):not(.disabled):active, .btn-reddit:not(:disabled):not(.disabled).active, +.show > .btn-reddit.dropdown-toggle { + color: #fff; + background-color: #cc3700; + border-color: #bf3400; +} + +.btn-reddit:not(:disabled):not(.disabled):active:focus, .btn-reddit:not(:disabled):not(.disabled).active:focus, +.show > .btn-reddit.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 69, 0, 0.5); +} + +.btn-spotify { + color: #fff; + background-color: #7ab800; + border-color: #7ab800; +} + +.btn-spotify:hover { + color: #fff; + background-color: #619200; + border-color: #588500; +} + +.btn-spotify:focus, .btn-spotify.focus { + box-shadow: 0 0 0 0.2rem rgba(122, 184, 0, 0.5); +} + +.btn-spotify.disabled, .btn-spotify:disabled { + color: #fff; + background-color: #7ab800; + border-color: #7ab800; +} + +.btn-spotify:not(:disabled):not(.disabled):active, .btn-spotify:not(:disabled):not(.disabled).active, +.show > .btn-spotify.dropdown-toggle { + color: #fff; + background-color: #588500; + border-color: #507800; +} + +.btn-spotify:not(:disabled):not(.disabled):active:focus, .btn-spotify:not(:disabled):not(.disabled).active:focus, +.show > .btn-spotify.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(122, 184, 0, 0.5); +} + +.btn-vine { + color: #fff; + background-color: #00bf8f; + border-color: #00bf8f; +} + +.btn-vine:hover { + color: #fff; + background-color: #009972; + border-color: #008c69; +} + +.btn-vine:focus, .btn-vine.focus { + box-shadow: 0 0 0 0.2rem rgba(0, 191, 143, 0.5); +} + +.btn-vine.disabled, .btn-vine:disabled { + color: #fff; + background-color: #00bf8f; + border-color: #00bf8f; +} + +.btn-vine:not(:disabled):not(.disabled):active, .btn-vine:not(:disabled):not(.disabled).active, +.show > .btn-vine.dropdown-toggle { + color: #fff; + background-color: #008c69; + border-color: #007f5f; +} + +.btn-vine:not(:disabled):not(.disabled):active:focus, .btn-vine:not(:disabled):not(.disabled).active:focus, +.show > .btn-vine.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 191, 143, 0.5); +} + +.btn-foursquare { + color: #fff; + background-color: #1073af; + border-color: #1073af; +} + +.btn-foursquare:hover { + color: #fff; + background-color: #0d5c8c; + border-color: #0c5480; +} + +.btn-foursquare:focus, .btn-foursquare.focus { + box-shadow: 0 0 0 0.2rem rgba(16, 115, 175, 0.5); +} + +.btn-foursquare.disabled, .btn-foursquare:disabled { + color: #fff; + background-color: #1073af; + border-color: #1073af; +} + +.btn-foursquare:not(:disabled):not(.disabled):active, .btn-foursquare:not(:disabled):not(.disabled).active, +.show > .btn-foursquare.dropdown-toggle { + color: #fff; + background-color: #0c5480; + border-color: #0b4d75; +} + +.btn-foursquare:not(:disabled):not(.disabled):active:focus, .btn-foursquare:not(:disabled):not(.disabled).active:focus, +.show > .btn-foursquare.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(16, 115, 175, 0.5); +} + +.btn-vimeo { + color: #23282c; + background-color: #aad450; + border-color: #aad450; +} + +.btn-vimeo:hover { + color: #23282c; + background-color: #9bcc32; + border-color: #93c130; +} + +.btn-vimeo:focus, .btn-vimeo.focus { + box-shadow: 0 0 0 0.2rem rgba(170, 212, 80, 0.5); +} + +.btn-vimeo.disabled, .btn-vimeo:disabled { + color: #23282c; + background-color: #aad450; + border-color: #aad450; +} + +.btn-vimeo:not(:disabled):not(.disabled):active, .btn-vimeo:not(:disabled):not(.disabled).active, +.show > .btn-vimeo.dropdown-toggle { + color: #23282c; + background-color: #93c130; + border-color: #8bb72d; +} + +.btn-vimeo:not(:disabled):not(.disabled):active:focus, .btn-vimeo:not(:disabled):not(.disabled).active:focus, +.show > .btn-vimeo.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(170, 212, 80, 0.5); +} + +.btn-transparent { + color: #fff; + background-color: transparent; + border-color: transparent; +} + +.btn [class^="icon-"], +.btn [class*=" icon-"] { + display: inline-block; + margin-top: -2px; + vertical-align: middle; +} + +.btn-pill { + border-radius: 50em; +} + +.btn-square { + border-radius: 0; +} + +.btn-ghost-primary { + color: #20a8d8; + background-color: transparent; + background-image: none; + border-color: transparent; +} + +.btn-ghost-primary:hover { + color: #fff; + background-color: #20a8d8; + border-color: #20a8d8; +} + +.btn-ghost-primary:focus, .btn-ghost-primary.focus { + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5); +} + +.btn-ghost-primary.disabled, .btn-ghost-primary:disabled { + color: #20a8d8; + background-color: transparent; + border-color: transparent; +} + +.btn-ghost-primary:not(:disabled):not(.disabled):active, .btn-ghost-primary:not(:disabled):not(.disabled).active, +.show > .btn-ghost-primary.dropdown-toggle { + color: #fff; + background-color: #20a8d8; + border-color: #20a8d8; +} + +.btn-ghost-primary:not(:disabled):not(.disabled):active:focus, .btn-ghost-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-ghost-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5); +} + +.btn-ghost-secondary { + color: #c8ced3; + background-color: transparent; + background-image: none; + border-color: transparent; +} + +.btn-ghost-secondary:hover { + color: #23282c; + background-color: #c8ced3; + border-color: #c8ced3; +} + +.btn-ghost-secondary:focus, .btn-ghost-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5); +} + +.btn-ghost-secondary.disabled, .btn-ghost-secondary:disabled { + color: #c8ced3; + background-color: transparent; + border-color: transparent; +} + +.btn-ghost-secondary:not(:disabled):not(.disabled):active, .btn-ghost-secondary:not(:disabled):not(.disabled).active, +.show > .btn-ghost-secondary.dropdown-toggle { + color: #23282c; + background-color: #c8ced3; + border-color: #c8ced3; +} + +.btn-ghost-secondary:not(:disabled):not(.disabled):active:focus, .btn-ghost-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-ghost-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5); +} + +.btn-ghost-success { + color: #4dbd74; + background-color: transparent; + background-image: none; + border-color: transparent; +} + +.btn-ghost-success:hover { + color: #fff; + background-color: #4dbd74; + border-color: #4dbd74; +} + +.btn-ghost-success:focus, .btn-ghost-success.focus { + box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5); +} + +.btn-ghost-success.disabled, .btn-ghost-success:disabled { + color: #4dbd74; + background-color: transparent; + border-color: transparent; +} + +.btn-ghost-success:not(:disabled):not(.disabled):active, .btn-ghost-success:not(:disabled):not(.disabled).active, +.show > .btn-ghost-success.dropdown-toggle { + color: #fff; + background-color: #4dbd74; + border-color: #4dbd74; +} + +.btn-ghost-success:not(:disabled):not(.disabled):active:focus, .btn-ghost-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-ghost-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5); +} + +.btn-ghost-info { + color: #63c2de; + background-color: transparent; + background-image: none; + border-color: transparent; +} + +.btn-ghost-info:hover { + color: #23282c; + background-color: #63c2de; + border-color: #63c2de; +} + +.btn-ghost-info:focus, .btn-ghost-info.focus { + box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5); +} + +.btn-ghost-info.disabled, .btn-ghost-info:disabled { + color: #63c2de; + background-color: transparent; + border-color: transparent; +} + +.btn-ghost-info:not(:disabled):not(.disabled):active, .btn-ghost-info:not(:disabled):not(.disabled).active, +.show > .btn-ghost-info.dropdown-toggle { + color: #23282c; + background-color: #63c2de; + border-color: #63c2de; +} + +.btn-ghost-info:not(:disabled):not(.disabled):active:focus, .btn-ghost-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-ghost-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5); +} + +.btn-ghost-warning { + color: #ffc107; + background-color: transparent; + background-image: none; + border-color: transparent; +} + +.btn-ghost-warning:hover { + color: #23282c; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-ghost-warning:focus, .btn-ghost-warning.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-ghost-warning.disabled, .btn-ghost-warning:disabled { + color: #ffc107; + background-color: transparent; + border-color: transparent; +} + +.btn-ghost-warning:not(:disabled):not(.disabled):active, .btn-ghost-warning:not(:disabled):not(.disabled).active, +.show > .btn-ghost-warning.dropdown-toggle { + color: #23282c; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-ghost-warning:not(:disabled):not(.disabled):active:focus, .btn-ghost-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-ghost-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-ghost-danger { + color: #f86c6b; + background-color: transparent; + background-image: none; + border-color: transparent; +} + +.btn-ghost-danger:hover { + color: #fff; + background-color: #f86c6b; + border-color: #f86c6b; +} + +.btn-ghost-danger:focus, .btn-ghost-danger.focus { + box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5); +} + +.btn-ghost-danger.disabled, .btn-ghost-danger:disabled { + color: #f86c6b; + background-color: transparent; + border-color: transparent; +} + +.btn-ghost-danger:not(:disabled):not(.disabled):active, .btn-ghost-danger:not(:disabled):not(.disabled).active, +.show > .btn-ghost-danger.dropdown-toggle { + color: #fff; + background-color: #f86c6b; + border-color: #f86c6b; +} + +.btn-ghost-danger:not(:disabled):not(.disabled):active:focus, .btn-ghost-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-ghost-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5); +} + +.btn-ghost-light { + color: #f0f3f5; + background-color: transparent; + background-image: none; + border-color: transparent; +} + +.btn-ghost-light:hover { + color: #23282c; + background-color: #f0f3f5; + border-color: #f0f3f5; +} + +.btn-ghost-light:focus, .btn-ghost-light.focus { + box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5); +} + +.btn-ghost-light.disabled, .btn-ghost-light:disabled { + color: #f0f3f5; + background-color: transparent; + border-color: transparent; +} + +.btn-ghost-light:not(:disabled):not(.disabled):active, .btn-ghost-light:not(:disabled):not(.disabled).active, +.show > .btn-ghost-light.dropdown-toggle { + color: #23282c; + background-color: #f0f3f5; + border-color: #f0f3f5; +} + +.btn-ghost-light:not(:disabled):not(.disabled):active:focus, .btn-ghost-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-ghost-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5); +} + +.btn-ghost-dark { + color: #2f353a; + background-color: transparent; + background-image: none; + border-color: transparent; +} + +.btn-ghost-dark:hover { + color: #fff; + background-color: #2f353a; + border-color: #2f353a; +} + +.btn-ghost-dark:focus, .btn-ghost-dark.focus { + box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5); +} + +.btn-ghost-dark.disabled, .btn-ghost-dark:disabled { + color: #2f353a; + background-color: transparent; + border-color: transparent; +} + +.btn-ghost-dark:not(:disabled):not(.disabled):active, .btn-ghost-dark:not(:disabled):not(.disabled).active, +.show > .btn-ghost-dark.dropdown-toggle { + color: #fff; + background-color: #2f353a; + border-color: #2f353a; +} + +.btn-ghost-dark:not(:disabled):not(.disabled):active:focus, .btn-ghost-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-ghost-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5); +} + +.callout { + position: relative; + padding: 0 1rem; + margin: 1rem 0; + border-left: 4px solid #c8ced3; + border-radius: 0.25rem; +} + +.callout .chart-wrapper { + position: absolute; + top: 10px; + left: 50%; + float: right; + width: 50%; +} + +.callout-bordered { + border: 1px solid #c8ced3; + border-left-width: 4px; +} + +.callout code { + border-radius: 0.25rem; +} + +.callout h4 { + margin-top: 0; + margin-bottom: .25rem; +} + +.callout p:last-child { + margin-bottom: 0; +} + +.callout + .callout { + margin-top: -0.25rem; +} + +.callout-primary { + border-left-color: #20a8d8; +} + +.callout-primary h4 { + color: #20a8d8; +} + +.callout-secondary { + border-left-color: #c8ced3; +} + +.callout-secondary h4 { + color: #c8ced3; +} + +.callout-success { + border-left-color: #4dbd74; +} + +.callout-success h4 { + color: #4dbd74; +} + +.callout-info { + border-left-color: #63c2de; +} + +.callout-info h4 { + color: #63c2de; +} + +.callout-warning { + border-left-color: #ffc107; +} + +.callout-warning h4 { + color: #ffc107; +} + +.callout-danger { + border-left-color: #f86c6b; +} + +.callout-danger h4 { + color: #f86c6b; +} + +.callout-light { + border-left-color: #f0f3f5; +} + +.callout-light h4 { + color: #f0f3f5; +} + +.callout-dark { + border-left-color: #2f353a; +} + +.callout-dark h4 { + color: #2f353a; +} + +*[dir="rtl"] .callout { + border-right: 4px solid #c8ced3; + border-left: 0; +} + +*[dir="rtl"] .callout.callout-primary { + border-right-color: #20a8d8; +} + +*[dir="rtl"] .callout.callout-secondary { + border-right-color: #c8ced3; +} + +*[dir="rtl"] .callout.callout-success { + border-right-color: #4dbd74; +} + +*[dir="rtl"] .callout.callout-info { + border-right-color: #63c2de; +} + +*[dir="rtl"] .callout.callout-warning { + border-right-color: #ffc107; +} + +*[dir="rtl"] .callout.callout-danger { + border-right-color: #f86c6b; +} + +*[dir="rtl"] .callout.callout-light { + border-right-color: #f0f3f5; +} + +*[dir="rtl"] .callout.callout-dark { + border-right-color: #2f353a; +} + +*[dir="rtl"] .callout .chart-wrapper { + left: 0; + float: left; +} + +.card { + margin-bottom: 1.5rem; +} + +.card.bg-primary { + border-color: #187da0; +} + +.card.bg-primary .card-header { + background-color: #1e9ecb; + border-color: #187da0; +} + +.card.bg-secondary { + border-color: #a5aeb7; +} + +.card.bg-secondary .card-header { + background-color: #c0c6cc; + border-color: #a5aeb7; +} + +.card.bg-success { + border-color: #379457; +} + +.card.bg-success .card-header { + background-color: #44b76c; + border-color: #379457; +} + +.card.bg-info { + border-color: #2eadd3; +} + +.card.bg-info .card-header { + background-color: #56bddb; + border-color: #2eadd3; +} + +.card.bg-warning { + border-color: #c69500; +} + +.card.bg-warning .card-header { + background-color: #f7b900; + border-color: #c69500; +} + +.card.bg-danger { + border-color: #f5302e; +} + +.card.bg-danger .card-header { + background-color: #f75d5c; + border-color: #f5302e; +} + +.card.bg-light { + border-color: #cad4dc; +} + +.card.bg-light .card-header { + background-color: #e7ecef; + border-color: #cad4dc; +} + +.card.bg-dark { + border-color: #121517; +} + +.card.bg-dark .card-header { + background-color: #282d32; + border-color: #121517; +} + +.card.drag, +.card .drag { + cursor: move; +} + +.card-placeholder { + background: rgba(0, 0, 0, 0.025); + border: 1px dashed #c8ced3; +} + +.card-header > i { + margin-right: 0.5rem; +} + +.card-header .nav-tabs { + margin-top: -0.75rem; + margin-bottom: -0.75rem; + border-bottom: 0; +} + +.card-header .nav-tabs .nav-item { + border-top: 0; +} + +.card-header .nav-tabs .nav-link { + padding: 0.75rem 0.625rem; + color: #73818f; + border-top: 0; +} + +.card-header .nav-tabs .nav-link.active { + color: #23282c; + background: #fff; +} + +*[dir="rtl"] .card-header > i { + margin-right: 0; + margin-left: 0.5rem; +} + +.card-header-icon-bg { + display: inline-block; + width: 2.8125rem; + padding: 0.75rem 0; + margin: -0.75rem 1.25rem -0.75rem -1.25rem; + line-height: inherit; + color: #23282c; + text-align: center; + background: transparent; + border-right: 1px solid #c8ced3; +} + +.card-header-actions { + display: inline-block; + float: right; + margin-right: -0.25rem; +} + +*[dir="rtl"] .card-header-actions { + float: left; + margin-right: auto; + margin-left: -0.25rem; +} + +.card-header-action { + padding: 0 0.25rem; + color: #73818f; +} + +.card-header-action:hover { + color: #23282c; + text-decoration: none; +} + +.card-accent-primary { + border-top-color: #20a8d8; + border-top-width: 2px; +} + +.card-accent-secondary { + border-top-color: #c8ced3; + border-top-width: 2px; +} + +.card-accent-success { + border-top-color: #4dbd74; + border-top-width: 2px; +} + +.card-accent-info { + border-top-color: #63c2de; + border-top-width: 2px; +} + +.card-accent-warning { + border-top-color: #ffc107; + border-top-width: 2px; +} + +.card-accent-danger { + border-top-color: #f86c6b; + border-top-width: 2px; +} + +.card-accent-light { + border-top-color: #f0f3f5; + border-top-width: 2px; +} + +.card-accent-dark { + border-top-color: #2f353a; + border-top-width: 2px; +} + +.card-full { + margin-top: -1rem; + margin-right: -15px; + margin-left: -15px; + border: 0; + border-bottom: 1px solid #c8ced3; +} + +@media (min-width: 576px) { + .card-columns.cols-2 { + -webkit-column-count: 2; + -moz-column-count: 2; + column-count: 2; + } +} + +.chart-wrapper canvas { + width: 100%; +} + +base-chart.chart { + display: block; +} + +canvas { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.chartjs-tooltip { + position: absolute; + z-index: 1021; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.25rem 0.5rem; + color: #fff; + pointer-events: none; + background: rgba(0, 0, 0, 0.7); + opacity: 0; + transition: all 0.25s ease; + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); + border-radius: 0.25rem; +} + +.chartjs-tooltip .tooltip-header { + margin-bottom: 0.5rem; +} + +.chartjs-tooltip .tooltip-header-item { + font-size: 0.765625rem; + font-weight: 700; +} + +.chartjs-tooltip .tooltip-body-item { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + font-size: 0.765625rem; + white-space: nowrap; +} + +.chartjs-tooltip .tooltip-body-item-color { + display: inline-block; + width: 0.875rem; + height: 0.875rem; + margin-right: 0.875rem; +} + +.chartjs-tooltip .tooltip-body-item-value { + padding-left: 1rem; + margin-left: auto; + font-weight: 700; +} + +.dropdown-item { + position: relative; + padding: 10px 20px; + border-bottom: 1px solid #c8ced3; +} + +.dropdown-item:last-child { + border-bottom: 0; +} + +.dropdown-item i { + display: inline-block; + width: 20px; + margin-right: 10px; + margin-left: -10px; + color: #c8ced3; + text-align: center; +} + +.dropdown-item .badge { + position: absolute; + right: 10px; + margin-top: 2px; +} + +.dropdown-header { + padding: 8px 20px; + background: #e4e7ea; + border-bottom: 1px solid #c8ced3; +} + +.dropdown-header .btn { + margin-top: -7px; + color: #73818f; +} + +.dropdown-header .btn:hover { + color: #23282c; +} + +.dropdown-header .btn.pull-right { + margin-right: -20px; +} + +.dropdown-menu-lg { + width: 250px; +} + +.app-header .navbar-nav .dropdown-menu { + position: absolute; +} + +.app-header .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; +} + +.app-header .navbar-nav .dropdown-menu-left { + right: auto; + left: 0; +} + +.app-footer { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: center; + align-items: center; + padding: 0 1rem; + color: #23282c; + background: #f0f3f5; + border-top: 1px solid #c8ced3; +} + +.row.row-equal { + padding-right: 7.5px; + padding-left: 7.5px; + margin-right: -15px; + margin-left: -15px; +} + +.row.row-equal [class*="col-"] { + padding-right: 7.5px; + padding-left: 7.5px; +} + +.main .container-fluid { + padding: 0 30px; +} + +.app-header { + position: relative; + -ms-flex-direction: row; + flex-direction: row; + height: 55px; + padding: 0; + margin: 0; + background-color: #fff; + border-bottom: 1px solid #c8ced3; +} + +.app-header .navbar-brand { + display: -ms-inline-flexbox; + display: inline-flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + width: 155px; + height: 55px; + padding: 0; + margin-right: 0; + background-color: transparent; +} + +.app-header .navbar-brand .navbar-brand-minimized { + display: none; +} + +.app-header .navbar-toggler { + min-width: 50px; + padding: 0.25rem 0; +} + +.app-header .navbar-toggler:hover .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%232f353a' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.app-header .navbar-toggler-icon { + height: 23px; + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%2373818f' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.app-header .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + -ms-flex-align: center; + align-items: center; +} + +.app-header .nav-item { + position: relative; + min-width: 50px; + margin: 0; + text-align: center; +} + +.app-header .nav-item button { + margin: 0 auto; +} + +.app-header .nav-item .nav-link { + padding-top: 0; + padding-bottom: 0; + background: 0; + border: 0; +} + +.app-header .nav-item .nav-link .badge { + position: absolute; + top: 50%; + left: 50%; + margin-top: -16px; + margin-left: 0; +} + +.app-header .nav-item .nav-link > .img-avatar, .app-header .nav-item .avatar.nav-link > img { + height: 35px; + margin: 0 10px; +} + +.app-header .dropdown-menu { + padding-bottom: 0; + line-height: 1.5; +} + +.app-header .dropdown-item { + min-width: 180px; +} + +.navbar-nav .nav-link { + color: #73818f; +} + +.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus { + color: #2f353a; +} + +.navbar-nav .open > .nav-link, .navbar-nav .open > .nav-link:hover, .navbar-nav .open > .nav-link:focus, +.navbar-nav .active > .nav-link, +.navbar-nav .active > .nav-link:hover, +.navbar-nav .active > .nav-link:focus, +.navbar-nav .nav-link.open, +.navbar-nav .nav-link.open:hover, +.navbar-nav .nav-link.open:focus, +.navbar-nav .nav-link.active, +.navbar-nav .nav-link.active:hover, +.navbar-nav .nav-link.active:focus { + color: #2f353a; +} + +.navbar-divider { + background-color: rgba(0, 0, 0, 0.075); +} + +@media (min-width: 992px) { + .brand-minimized .app-header .navbar-brand { + width: 50px; + background-color: transparent; + } + .brand-minimized .app-header .navbar-brand .navbar-brand-full { + display: none; + } + .brand-minimized .app-header .navbar-brand .navbar-brand-minimized { + display: block; + } +} + +.input-group-prepend, +.input-group-append { + white-space: nowrap; + vertical-align: middle; +} + +.img-avatar, .avatar > img, +.img-circle { + max-width: 100%; + height: auto; + border-radius: 50em; +} + +.list-group-accent .list-group-item { + margin-bottom: 1px; + border-top: 0; + border-right: 0; + border-bottom: 0; + border-radius: 0; +} + +.list-group-accent .list-group-item.list-group-item-divider { + position: relative; +} + +.list-group-accent .list-group-item.list-group-item-divider::before { + position: absolute; + bottom: -1px; + left: 5%; + width: 90%; + height: 1px; + content: ""; + background-color: #e4e7ea; +} + +.list-group-item-accent-primary { + border-left: 4px solid #20a8d8; +} + +.list-group-item-accent-secondary { + border-left: 4px solid #c8ced3; +} + +.list-group-item-accent-success { + border-left: 4px solid #4dbd74; +} + +.list-group-item-accent-info { + border-left: 4px solid #63c2de; +} + +.list-group-item-accent-warning { + border-left: 4px solid #ffc107; +} + +.list-group-item-accent-danger { + border-left: 4px solid #f86c6b; +} + +.list-group-item-accent-light { + border-left: 4px solid #f0f3f5; +} + +.list-group-item-accent-dark { + border-left: 4px solid #2f353a; +} + +.modal-primary .modal-content { + border-color: #20a8d8; +} + +.modal-primary .modal-header { + color: #fff; + background-color: #20a8d8; +} + +.modal-secondary .modal-content { + border-color: #c8ced3; +} + +.modal-secondary .modal-header { + color: #fff; + background-color: #c8ced3; +} + +.modal-success .modal-content { + border-color: #4dbd74; +} + +.modal-success .modal-header { + color: #fff; + background-color: #4dbd74; +} + +.modal-info .modal-content { + border-color: #63c2de; +} + +.modal-info .modal-header { + color: #fff; + background-color: #63c2de; +} + +.modal-warning .modal-content { + border-color: #ffc107; +} + +.modal-warning .modal-header { + color: #fff; + background-color: #ffc107; +} + +.modal-danger .modal-content { + border-color: #f86c6b; +} + +.modal-danger .modal-header { + color: #fff; + background-color: #f86c6b; +} + +.modal-light .modal-content { + border-color: #f0f3f5; +} + +.modal-light .modal-header { + color: #fff; + background-color: #f0f3f5; +} + +.modal-dark .modal-content { + border-color: #2f353a; +} + +.modal-dark .modal-header { + color: #fff; + background-color: #2f353a; +} + +.nav-tabs .nav-link { + color: #73818f; +} + +.nav-tabs .nav-link:hover { + cursor: pointer; +} + +.nav-tabs .nav-link.active { + color: #2f353a; + background: #fff; + border-color: #c8ced3; + border-bottom-color: #fff; +} + +.nav-tabs .nav-link.active:focus { + background: #fff; + border-color: #c8ced3; + border-bottom-color: #fff; +} + +.tab-content { + margin-top: -1px; + background: #fff; + border: 1px solid #c8ced3; +} + +.tab-content .tab-pane { + padding: 1rem; +} + +.card-block .tab-content { + margin-top: 0; + border: 0; +} + +.nav-fill .nav-link { + background-color: #fff; + border-color: #c8ced3; +} + +.nav-fill .nav-link + .nav-link { + margin-left: -1px; +} + +.nav-fill .nav-link.active { + margin-top: -1px; + border-top: 2px solid #20a8d8; +} + +*[dir="rtl"] .nav { + padding-right: 0; +} + +.progress-xs { + height: 4px; +} + +.progress-sm { + height: 8px; +} + +.progress-white { + background-color: rgba(255, 255, 255, 0.2); +} + +.progress-white .progress-bar { + background-color: #fff; +} + +.progress-group { + display: -ms-flexbox; + display: flex; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + margin-bottom: 1rem; +} + +.progress-group-prepend { + -ms-flex: 0 0 100px; + flex: 0 0 100px; + -ms-flex-item-align: center; + align-self: center; +} + +.progress-group-icon { + margin: 0 1rem 0 0.25rem; + font-size: 1.09375rem; +} + +.progress-group-text { + font-size: 0.765625rem; + color: #73818f; +} + +.progress-group-header { + display: -ms-flexbox; + display: flex; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -ms-flex-align: end; + align-items: flex-end; + margin-bottom: 0.25rem; +} + +.progress-group-bars { + -ms-flex-positive: 1; + flex-grow: 1; + -ms-flex-item-align: center; + align-self: center; +} + +.progress-group-bars .progress:not(:last-child) { + margin-bottom: 2px; +} + +.progress-group-header + .progress-group-bars { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; +} + +.sidebar { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + padding: 0; + color: #fff; + background: #2f353a; +} + +.sidebar .sidebar-close { + position: absolute; + right: 0; + display: none; + padding: 0 1rem; + font-size: 24px; + font-weight: 800; + line-height: 55px; + color: #fff; + background: 0; + border: 0; + opacity: .8; +} + +.sidebar .sidebar-close:hover { + opacity: 1; +} + +.sidebar .sidebar-header { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + padding: 0.75rem 1rem; + text-align: center; + background: rgba(0, 0, 0, 0.2); +} + +.sidebar .sidebar-form .form-control { + color: #fff; + background: #181b1e; + border: 0; +} + +.sidebar .sidebar-form .form-control::-webkit-input-placeholder { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .sidebar-form .form-control::-moz-placeholder { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .sidebar-form .form-control:-ms-input-placeholder { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .sidebar-form .form-control::-ms-input-placeholder { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .sidebar-form .form-control::placeholder { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .sidebar-nav { + position: relative; + -ms-flex: 1; + flex: 1; + overflow-x: hidden; + overflow-y: auto; + width: 200px; +} + +.sidebar .nav { + width: 200px; + -ms-flex-direction: column; + flex-direction: column; + min-height: 100%; + padding: 0; +} + +.sidebar .nav-title { + padding: 0.75rem 1rem; + font-size: 80%; + font-weight: 700; + color: #e4e7ea; + text-transform: uppercase; +} + +.sidebar .nav-divider { + height: 10px; +} + +.sidebar .nav-item { + position: relative; + margin: 0; + transition: background .3s ease-in-out; +} + +.sidebar .nav-dropdown-items { + max-height: 0; + padding: 0; + margin: 0; + overflow-y: hidden; + transition: max-height .3s ease-in-out; +} + +.sidebar .nav-dropdown-items .nav-item { + padding: 0; + list-style: none; +} + +.sidebar .nav-link { + display: block; + padding: 0.75rem 1rem; + color: #fff; + text-decoration: none; + background: transparent; +} + +.sidebar .nav-link .nav-icon { + display: inline-block; + width: 1.09375rem; + margin: 0 0.5rem 0 0; + font-size: 0.875rem; + color: #73818f; + text-align: center; +} + +.sidebar .nav-link .badge { + float: right; + margin-top: 2px; +} + +.sidebar .nav-link.active { + color: #fff; + background: #3a4248; +} + +.sidebar .nav-link.active .nav-icon { + color: #20a8d8; +} + +.sidebar .nav-link:hover { + color: #fff; + background: #20a8d8; +} + +.sidebar .nav-link:hover .nav-icon { + color: #fff; +} + +.sidebar .nav-link:hover.nav-dropdown-toggle::before { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%23fff' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"); +} + +.sidebar .nav-link.nav-link-primary { + background: #20a8d8; +} + +.sidebar .nav-link.nav-link-primary .nav-icon { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .nav-link.nav-link-primary:hover { + background: #1d97c2; +} + +.sidebar .nav-link.nav-link-primary:hover i { + color: #fff; +} + +.sidebar .nav-link.nav-link-secondary { + background: #c8ced3; +} + +.sidebar .nav-link.nav-link-secondary .nav-icon { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .nav-link.nav-link-secondary:hover { + background: #bac1c8; +} + +.sidebar .nav-link.nav-link-secondary:hover i { + color: #fff; +} + +.sidebar .nav-link.nav-link-success { + background: #4dbd74; +} + +.sidebar .nav-link.nav-link-success .nav-icon { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .nav-link.nav-link-success:hover { + background: #41af67; +} + +.sidebar .nav-link.nav-link-success:hover i { + color: #fff; +} + +.sidebar .nav-link.nav-link-info { + background: #63c2de; +} + +.sidebar .nav-link.nav-link-info .nav-icon { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .nav-link.nav-link-info:hover { + background: #4ebada; +} + +.sidebar .nav-link.nav-link-info:hover i { + color: #fff; +} + +.sidebar .nav-link.nav-link-warning { + background: #ffc107; +} + +.sidebar .nav-link.nav-link-warning .nav-icon { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .nav-link.nav-link-warning:hover { + background: #edb100; +} + +.sidebar .nav-link.nav-link-warning:hover i { + color: #fff; +} + +.sidebar .nav-link.nav-link-danger { + background: #f86c6b; +} + +.sidebar .nav-link.nav-link-danger .nav-icon { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .nav-link.nav-link-danger:hover { + background: #f75453; +} + +.sidebar .nav-link.nav-link-danger:hover i { + color: #fff; +} + +.sidebar .nav-link.nav-link-light { + background: #f0f3f5; +} + +.sidebar .nav-link.nav-link-light .nav-icon { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .nav-link.nav-link-light:hover { + background: #e1e7eb; +} + +.sidebar .nav-link.nav-link-light:hover i { + color: #fff; +} + +.sidebar .nav-link.nav-link-dark { + background: #2f353a; +} + +.sidebar .nav-link.nav-link-dark .nav-icon { + color: rgba(255, 255, 255, 0.7); +} + +.sidebar .nav-link.nav-link-dark:hover { + background: #24282c; +} + +.sidebar .nav-link.nav-link-dark:hover i { + color: #fff; +} + +.sidebar .nav-dropdown-toggle { + position: relative; +} + +.sidebar .nav-dropdown-toggle::before { + position: absolute; + top: 50%; + right: 1rem; + display: block; + width: 8px; + height: 8px; + padding: 0; + margin-top: -4px; + content: ""; + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%2373818f' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + background-position: center; + transition: -webkit-transform .3s; + transition: transform .3s; + transition: transform .3s, -webkit-transform .3s; +} + +.sidebar .nav-dropdown-toggle .badge { + margin-right: 16px; +} + +.sidebar .nav-dropdown.open { + background: rgba(0, 0, 0, 0.2); +} + +.sidebar .nav-dropdown.open > .nav-dropdown-items { + max-height: 1500px; +} + +.sidebar .nav-dropdown.open .nav-link { + color: #fff; + border-left: 0; +} + +.sidebar .nav-dropdown.open > .nav-dropdown-toggle::before { + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); +} + +.sidebar .nav-dropdown.open .nav-dropdown.open { + border-left: 0; +} + +.sidebar .nav-label { + display: block; + padding: 0.09375rem 1rem; + color: #e4e7ea; +} + +.sidebar .nav-label:hover { + color: #fff; + text-decoration: none; +} + +.sidebar .nav-label .nav-icon { + width: 20px; + margin: -3px 0.5rem 0 0; + font-size: 10px; + color: #73818f; + text-align: center; + vertical-align: middle; +} + +.sidebar .progress { + background-color: #515c64 !important; +} + +.sidebar .sidebar-footer { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + padding: 0.75rem 1rem; + background: rgba(0, 0, 0, 0.2); +} + +.sidebar .sidebar-minimizer { + position: relative; + -ms-flex: 0 0 50px; + flex: 0 0 50px; + cursor: pointer; + background-color: rgba(0, 0, 0, 0.2); + border: 0; +} + +.sidebar .sidebar-minimizer::before { + position: absolute; + top: 0; + right: 0; + width: 50px; + height: 50px; + content: ""; + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%2373818f' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + background-position: center; + background-size: 12.5px; + transition: .3s; +} + +.sidebar .sidebar-minimizer:focus, .sidebar .sidebar-minimizer.focus { + outline: 0; +} + +.sidebar .sidebar-minimizer:hover { + background-color: rgba(0, 0, 0, 0.3); +} + +.sidebar .sidebar-minimizer:hover::before { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%23fff' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"); +} + +@media (min-width: 992px) { + .sidebar-compact .sidebar .sidebar-nav { + width: 150px; + } + .sidebar-compact .sidebar .nav { + width: 150px; + } + .sidebar-compact .sidebar .d-compact-none { + display: none; + } + .sidebar-compact .sidebar .nav-title { + text-align: center; + } + .sidebar-compact .sidebar .nav-item { + width: 150px; + border-left: 0; + } + .sidebar-compact .sidebar .nav-link { + text-align: center; + } + .sidebar-compact .sidebar .nav-link .nav-icon { + display: block; + width: 100%; + margin: 0.25rem 0; + font-size: 24px; + } + .sidebar-compact .sidebar .nav-link .badge { + position: absolute; + top: 18px; + right: 10px; + } + .sidebar-compact .sidebar .nav-link.nav-dropdown-toggle::before { + top: 30px; + } + .sidebar-minimized .sidebar { + z-index: 1019; + } + .sidebar-minimized .sidebar .sidebar-nav { + overflow: visible; + width: 50px; + } + .sidebar-minimized .sidebar .nav { + width: 50px; + } + .sidebar-minimized .sidebar .d-minimized-none, + .sidebar-minimized .sidebar .nav-divider, + .sidebar-minimized .sidebar .nav-label, + .sidebar-minimized .sidebar .nav-title, + .sidebar-minimized .sidebar .sidebar-footer, + .sidebar-minimized .sidebar .sidebar-form, + .sidebar-minimized .sidebar .sidebar-header { + display: none; + } + .sidebar-minimized .sidebar .sidebar-minimizer { + position: fixed; + bottom: 0; + width: 50px; + height: 50px; + background-color: #24282c; + } + .sidebar-minimized .sidebar .sidebar-nav { + padding-bottom: 50px; + } + .sidebar-minimized .sidebar .sidebar-minimizer::before { + width: 100%; + -webkit-transform: rotate(-180deg); + transform: rotate(-180deg); + } + .sidebar-minimized .sidebar .nav-item { + width: 50px; + overflow: hidden; + } + .sidebar-minimized .sidebar .nav-item:hover { + width: 250px; + overflow: visible; + } + .sidebar-minimized .sidebar .nav-item:hover > .nav-link { + background: #20a8d8; + } + .sidebar-minimized .sidebar .nav-item:hover > .nav-link .nav-icon { + color: #fff; + } + .sidebar-minimized .sidebar .nav-link { + position: relative; + padding-left: 0; + margin: 0; + white-space: nowrap; + border-left: 0; + } + .sidebar-minimized .sidebar .nav-link .nav-icon { + display: block; + float: left; + width: 50px; + font-size: 18px; + } + .sidebar-minimized .sidebar .nav-link .badge { + position: absolute; + right: 15px; + display: none; + } + .sidebar-minimized .sidebar .nav-link:hover { + width: 250px; + background: #20a8d8; + } + .sidebar-minimized .sidebar .nav-link:hover .badge { + display: inline; + } + .sidebar-minimized .sidebar .nav-link.nav-dropdown-toggle::before { + display: none; + } + .sidebar-minimized .sidebar .nav-dropdown-items .nav-item { + width: 200px; + } + .sidebar-minimized .sidebar .nav-dropdown-items .nav-item .nav-link { + width: 200px; + } + .sidebar-minimized .sidebar .nav > .nav-dropdown > .nav-dropdown-items { + display: none; + max-height: 1000px; + background: #2f353a; + } + .sidebar-minimized .sidebar .nav > .nav-dropdown:hover { + background: #20a8d8; + } + .sidebar-minimized .sidebar .nav > .nav-dropdown:hover > .nav-dropdown-items { + position: absolute; + left: 50px; + display: inline; + } + *[dir="rtl"] .sidebar-minimized .sidebar .nav { + list-style-image: url("data:,"); + } + *[dir="rtl"] .sidebar-minimized .sidebar .nav .divider { + height: 0; + } + *[dir="rtl"] .sidebar-minimized .sidebar .sidebar-minimizer::before { + width: 100%; + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + *[dir="rtl"] .sidebar-minimized .sidebar .nav-link { + padding-right: 0; + } + *[dir="rtl"] .sidebar-minimized .sidebar .nav-link .nav-icon { + float: right; + } + *[dir="rtl"] .sidebar-minimized .sidebar .nav-link .badge { + right: auto; + left: 15px; + } + *[dir="rtl"] .sidebar-minimized .sidebar .nav-link:hover .badge { + display: inline; + } + *[dir="rtl"] .sidebar-minimized .sidebar .nav > .nav-dropdown > .nav-dropdown-items { + display: none; + max-height: 1000px; + background: #2f353a; + } + *[dir="rtl"] .sidebar-minimized .sidebar .nav > .nav-dropdown:hover { + background: #20a8d8; + } + *[dir="rtl"] .sidebar-minimized .sidebar .nav > .nav-dropdown:hover > .nav-dropdown-items { + position: absolute; + left: 0; + display: inline; + } +} + +*[dir="rtl"] .sidebar .nav-dropdown-toggle::before { + position: absolute; + right: auto; + left: 1rem; + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +*[dir="rtl"] .sidebar .nav-dropdown.open > .nav-dropdown-toggle::before { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +*[dir="rtl"] .sidebar .nav-link .nav-icon { + margin: 0 0 0 0.5rem; +} + +*[dir="rtl"] .sidebar .nav-link .badge { + float: left; + margin-top: 2px; +} + +*[dir="rtl"] .sidebar .nav-link.nav-dropdown-toggle .badge { + margin-right: auto; + margin-left: 16px; +} + +*[dir="rtl"] .sidebar .sidebar-minimizer::before { + right: auto; + left: 0; + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +*[dir="rtl"] .sidebar-toggler { + margin-right: 0 !important; +} + +.switch { + display: inline-block; + width: 40px; + height: 26px; +} + +.switch-input { + display: none; +} + +.switch-slider { + position: relative; + display: block; + height: inherit; + cursor: pointer; + background-color: #fff; + border: 1px solid #c8ced3; + transition: .15s ease-out; + border-radius: 0.25rem; +} + +.switch-slider::before { + position: absolute; + top: 2px; + left: 2px; + box-sizing: border-box; + width: 20px; + height: 20px; + content: ""; + background-color: #fff; + border: 1px solid #c8ced3; + transition: .15s ease-out; + border-radius: 0.125rem; +} + +.switch-input:checked ~ .switch-slider::before { + -webkit-transform: translateX(14px); + transform: translateX(14px); +} + +.switch-input:disabled ~ .switch-slider { + cursor: not-allowed; + opacity: .5; +} + +.switch-lg { + width: 48px; + height: 30px; +} + +.switch-lg .switch-slider { + font-size: 12px; +} + +.switch-lg .switch-slider::before { + width: 24px; + height: 24px; +} + +.switch-lg .switch-slider::after { + font-size: 12px; +} + +.switch-lg .switch-input:checked ~ .switch-slider::before { + -webkit-transform: translateX(18px); + transform: translateX(18px); +} + +.switch-sm { + width: 32px; + height: 22px; +} + +.switch-sm .switch-slider { + font-size: 8px; +} + +.switch-sm .switch-slider::before { + width: 16px; + height: 16px; +} + +.switch-sm .switch-slider::after { + font-size: 8px; +} + +.switch-sm .switch-input:checked ~ .switch-slider::before { + -webkit-transform: translateX(10px); + transform: translateX(10px); +} + +.switch-label { + width: 48px; +} + +.switch-label .switch-slider::before { + z-index: 2; +} + +.switch-label .switch-slider::after { + position: absolute; + top: 50%; + right: 1px; + z-index: 1; + width: 50%; + margin-top: -.5em; + font-size: 10px; + font-weight: 600; + line-height: 1; + color: #c8ced3; + text-align: center; + text-transform: uppercase; + content: attr(data-unchecked); + transition: inherit; +} + +.switch-label .switch-input:checked ~ .switch-slider::before { + -webkit-transform: translateX(22px); + transform: translateX(22px); +} + +.switch-label .switch-input:checked ~ .switch-slider::after { + left: 1px; + color: #fff; + content: attr(data-checked); +} + +.switch-label.switch-lg { + width: 56px; + height: 30px; +} + +.switch-label.switch-lg .switch-slider { + font-size: 12px; +} + +.switch-label.switch-lg .switch-slider::before { + width: 24px; + height: 24px; +} + +.switch-label.switch-lg .switch-slider::after { + font-size: 12px; +} + +.switch-label.switch-lg .switch-input:checked ~ .switch-slider::before { + -webkit-transform: translateX(26px); + transform: translateX(26px); +} + +.switch-label.switch-sm { + width: 40px; + height: 22px; +} + +.switch-label.switch-sm .switch-slider { + font-size: 8px; +} + +.switch-label.switch-sm .switch-slider::before { + width: 16px; + height: 16px; +} + +.switch-label.switch-sm .switch-slider::after { + font-size: 8px; +} + +.switch-label.switch-sm .switch-input:checked ~ .switch-slider::before { + -webkit-transform: translateX(18px); + transform: translateX(18px); +} + +.switch-3d .switch-slider { + background-color: #f0f3f5; + border-radius: 50em; +} + +.switch-3d .switch-slider::before { + top: -1px; + left: -1px; + width: 26px; + height: 26px; + border: 0; + border-radius: 50em; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); +} + +.switch-3d.switch-lg { + width: 48px; + height: 30px; +} + +.switch-3d.switch-lg .switch-slider::before { + width: 30px; + height: 30px; +} + +.switch-3d.switch-lg .switch-input:checked ~ .switch-slider::before { + -webkit-transform: translateX(18px); + transform: translateX(18px); +} + +.switch-3d.switch-sm { + width: 32px; + height: 22px; +} + +.switch-3d.switch-sm .switch-slider::before { + width: 22px; + height: 22px; +} + +.switch-3d.switch-sm .switch-input:checked ~ .switch-slider::before { + -webkit-transform: translateX(10px); + transform: translateX(10px); +} + +.switch-primary .switch-input:checked + .switch-slider { + background-color: #20a8d8; + border-color: #1985ac; +} + +.switch-primary .switch-input:checked + .switch-slider::before { + border-color: #1985ac; +} + +.switch-outline-primary .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #20a8d8; +} + +.switch-outline-primary .switch-input:checked + .switch-slider::before { + border-color: #20a8d8; +} + +.switch-outline-primary .switch-input:checked + .switch-slider::after { + color: #20a8d8; +} + +.switch-outline-primary-alt .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #20a8d8; +} + +.switch-outline-primary-alt .switch-input:checked + .switch-slider::before { + background-color: #20a8d8; + border-color: #20a8d8; +} + +.switch-outline-primary-alt .switch-input:checked + .switch-slider::after { + color: #20a8d8; +} + +.switch-secondary .switch-input:checked + .switch-slider { + background-color: #c8ced3; + border-color: #acb5bc; +} + +.switch-secondary .switch-input:checked + .switch-slider::before { + border-color: #acb5bc; +} + +.switch-outline-secondary .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #c8ced3; +} + +.switch-outline-secondary .switch-input:checked + .switch-slider::before { + border-color: #c8ced3; +} + +.switch-outline-secondary .switch-input:checked + .switch-slider::after { + color: #c8ced3; +} + +.switch-outline-secondary-alt .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #c8ced3; +} + +.switch-outline-secondary-alt .switch-input:checked + .switch-slider::before { + background-color: #c8ced3; + border-color: #c8ced3; +} + +.switch-outline-secondary-alt .switch-input:checked + .switch-slider::after { + color: #c8ced3; +} + +.switch-success .switch-input:checked + .switch-slider { + background-color: #4dbd74; + border-color: #3a9d5d; +} + +.switch-success .switch-input:checked + .switch-slider::before { + border-color: #3a9d5d; +} + +.switch-outline-success .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #4dbd74; +} + +.switch-outline-success .switch-input:checked + .switch-slider::before { + border-color: #4dbd74; +} + +.switch-outline-success .switch-input:checked + .switch-slider::after { + color: #4dbd74; +} + +.switch-outline-success-alt .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #4dbd74; +} + +.switch-outline-success-alt .switch-input:checked + .switch-slider::before { + background-color: #4dbd74; + border-color: #4dbd74; +} + +.switch-outline-success-alt .switch-input:checked + .switch-slider::after { + color: #4dbd74; +} + +.switch-info .switch-input:checked + .switch-slider { + background-color: #63c2de; + border-color: #39b2d5; +} + +.switch-info .switch-input:checked + .switch-slider::before { + border-color: #39b2d5; +} + +.switch-outline-info .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #63c2de; +} + +.switch-outline-info .switch-input:checked + .switch-slider::before { + border-color: #63c2de; +} + +.switch-outline-info .switch-input:checked + .switch-slider::after { + color: #63c2de; +} + +.switch-outline-info-alt .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #63c2de; +} + +.switch-outline-info-alt .switch-input:checked + .switch-slider::before { + background-color: #63c2de; + border-color: #63c2de; +} + +.switch-outline-info-alt .switch-input:checked + .switch-slider::after { + color: #63c2de; +} + +.switch-warning .switch-input:checked + .switch-slider { + background-color: #ffc107; + border-color: #d39e00; +} + +.switch-warning .switch-input:checked + .switch-slider::before { + border-color: #d39e00; +} + +.switch-outline-warning .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #ffc107; +} + +.switch-outline-warning .switch-input:checked + .switch-slider::before { + border-color: #ffc107; +} + +.switch-outline-warning .switch-input:checked + .switch-slider::after { + color: #ffc107; +} + +.switch-outline-warning-alt .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #ffc107; +} + +.switch-outline-warning-alt .switch-input:checked + .switch-slider::before { + background-color: #ffc107; + border-color: #ffc107; +} + +.switch-outline-warning-alt .switch-input:checked + .switch-slider::after { + color: #ffc107; +} + +.switch-danger .switch-input:checked + .switch-slider { + background-color: #f86c6b; + border-color: #f63c3a; +} + +.switch-danger .switch-input:checked + .switch-slider::before { + border-color: #f63c3a; +} + +.switch-outline-danger .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #f86c6b; +} + +.switch-outline-danger .switch-input:checked + .switch-slider::before { + border-color: #f86c6b; +} + +.switch-outline-danger .switch-input:checked + .switch-slider::after { + color: #f86c6b; +} + +.switch-outline-danger-alt .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #f86c6b; +} + +.switch-outline-danger-alt .switch-input:checked + .switch-slider::before { + background-color: #f86c6b; + border-color: #f86c6b; +} + +.switch-outline-danger-alt .switch-input:checked + .switch-slider::after { + color: #f86c6b; +} + +.switch-light .switch-input:checked + .switch-slider { + background-color: #f0f3f5; + border-color: #d1dbe1; +} + +.switch-light .switch-input:checked + .switch-slider::before { + border-color: #d1dbe1; +} + +.switch-outline-light .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #f0f3f5; +} + +.switch-outline-light .switch-input:checked + .switch-slider::before { + border-color: #f0f3f5; +} + +.switch-outline-light .switch-input:checked + .switch-slider::after { + color: #f0f3f5; +} + +.switch-outline-light-alt .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #f0f3f5; +} + +.switch-outline-light-alt .switch-input:checked + .switch-slider::before { + background-color: #f0f3f5; + border-color: #f0f3f5; +} + +.switch-outline-light-alt .switch-input:checked + .switch-slider::after { + color: #f0f3f5; +} + +.switch-dark .switch-input:checked + .switch-slider { + background-color: #2f353a; + border-color: #181b1e; +} + +.switch-dark .switch-input:checked + .switch-slider::before { + border-color: #181b1e; +} + +.switch-outline-dark .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #2f353a; +} + +.switch-outline-dark .switch-input:checked + .switch-slider::before { + border-color: #2f353a; +} + +.switch-outline-dark .switch-input:checked + .switch-slider::after { + color: #2f353a; +} + +.switch-outline-dark-alt .switch-input:checked + .switch-slider { + background-color: #fff; + border-color: #2f353a; +} + +.switch-outline-dark-alt .switch-input:checked + .switch-slider::before { + background-color: #2f353a; + border-color: #2f353a; +} + +.switch-outline-dark-alt .switch-input:checked + .switch-slider::after { + color: #2f353a; +} + +.switch-pill .switch-slider { + border-radius: 50em; +} + +.switch-pill .switch-slider::before { + border-radius: 50em; +} + +.table-outline { + border: 1px solid #c8ced3; +} + +.table-outline td { + vertical-align: middle; +} + +.table-align-middle td { + vertical-align: middle; +} + +.table-clear td { + border: 0; +} + +@media all and (-ms-high-contrast: none) { + html { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.app, +app-dashboard, +app-root { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + min-height: 100vh; +} + +.app-header { + -ms-flex: 0 0 55px; + flex: 0 0 55px; +} + +.app-footer { + -ms-flex: 0 0 50px; + flex: 0 0 50px; +} + +.app-body { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: row; + flex-direction: row; + -ms-flex-positive: 1; + flex-grow: 1; + overflow-x: hidden; +} + +.app-body .main { + -ms-flex: 1; + flex: 1; + min-width: 0; +} + +.app-body .sidebar { + -ms-flex: 0 0 200px; + flex: 0 0 200px; + -ms-flex-order: -1; + order: -1; +} + +.app-body .aside-menu { + -ms-flex: 0 0 250px; + flex: 0 0 250px; +} + +html:not([dir="rtl"]) .sidebar { + margin-left: -200px; +} + +html:not([dir="rtl"]) .aside-menu { + right: 0; + margin-right: -250px; +} + +html[dir="rtl"] .sidebar { + margin-right: -200px; +} + +html[dir="rtl"] .aside-menu { + left: 0; + margin-left: -250px; +} + +@media (min-width: 992px) { + .header-fixed .app-header { + position: fixed; + z-index: 1020; + width: 100%; + } + .header-fixed .app-body { + margin-top: 55px; + } + .sidebar-fixed .sidebar { + position: fixed; + z-index: 1019; + width: 200px; + height: 100vh; + } + .sidebar-fixed .app-header + .app-body .sidebar { + height: calc(100vh - 55px); + } + .sidebar-compact .sidebar { + -ms-flex: 0 0 150px; + flex: 0 0 150px; + } + .sidebar-compact.sidebar-fixed .sidebar { + width: 150px; + } + .sidebar-compact .sidebar-minimizer { + display: none; + } + .sidebar-minimized .sidebar { + -ms-flex: 0 0 50px; + flex: 0 0 50px; + } + .sidebar-minimized.sidebar-fixed .sidebar { + width: 50px; + } + .sidebar-off-canvas .sidebar { + position: fixed; + z-index: 1019; + height: 100%; + } + .sidebar-off-canvas .app-header + .app-body .sidebar { + height: calc(100vh - 55px); + } + html:not([dir="rtl"]) .sidebar-compact .sidebar { + margin-left: -150px; + } + html:not([dir="rtl"]) .sidebar-minimized .sidebar { + margin-left: -50px; + } + html[dir="rtl"] .sidebar-compact .sidebar { + margin-right: -150px; + } + html[dir="rtl"] .sidebar-minimized .sidebar { + margin-right: -50px; + } + .aside-menu-fixed .aside-menu { + position: fixed; + height: 100%; + } + .aside-menu-fixed .aside-menu .tab-content { + height: calc(100vh - 2.375rem - 55px); + } + .aside-menu-fixed .app-header + .app-body .aside-menu { + height: calc(100vh - 55px); + } + .aside-menu-off-canvas .aside-menu { + position: fixed; + z-index: 1019; + height: 100%; + } + .aside-menu-off-canvas .app-header + .app-body .aside-menu { + height: calc(100vh - 55px); + } + html:not([dir="rtl"]) .aside-menu-fixed .aside-menu, + html:not([dir="rtl"]) .aside-menu-off-canvas .aside-menu { + right: 0; + } + html[dir="rtl"] .aside-menu-fixed .aside-menu, + html[dir="rtl"] .aside-menu-off-canvas .aside-menu { + left: 0; + } +} + +.breadcrumb-fixed .main { + padding-top: 3.875rem; +} + +.breadcrumb-fixed .breadcrumb { + position: fixed; + top: 55px; + right: 0; + left: 0; + z-index: 1017; +} + +html:not([dir="rtl"]) .sidebar-show .sidebar, +html:not([dir="rtl"]) .sidebar-show .sidebar { + margin-left: 0; +} + +html:not([dir="rtl"]) .aside-menu-show .aside-menu, +html:not([dir="rtl"]) .aside-menu-show .aside-menu { + margin-right: 0; +} + +html[dir="rtl"] .sidebar-show .sidebar, +html[dir="rtl"] .sidebar-show .sidebar { + margin-right: 0; +} + +html[dir="rtl"] .aside-menu-show .aside-menu, +html[dir="rtl"] .aside-menu-show .aside-menu { + margin-left: 0; +} + +@-webkit-keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +@keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +@media (max-width: 575.98px) { + .sidebar-show .main, + .aside-menu-show .main { + position: relative; + } + .sidebar-show .main::before, + .aside-menu-show .main::before { + position: absolute; + top: 0; + left: 0; + z-index: 1018; + width: 100%; + height: 100%; + content: ""; + background: rgba(0, 0, 0, 0.7); + -webkit-animation: opacity 0.25s; + animation: opacity 0.25s; + } +} + +@media (min-width: 576px) { + html:not([dir="rtl"]) .sidebar-sm-show .sidebar, + html:not([dir="rtl"]) .sidebar-show .sidebar { + margin-left: 0; + } + html:not([dir="rtl"]) .sidebar-sm-show.sidebar-fixed .main, + html:not([dir="rtl"]) .sidebar-sm-show.sidebar-fixed .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed .app-footer { + margin-left: 200px; + } + html:not([dir="rtl"]) .sidebar-sm-show.sidebar-fixed.sidebar-compact .main, + html:not([dir="rtl"]) .sidebar-sm-show.sidebar-fixed.sidebar-compact .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-compact .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-compact .app-footer { + margin-left: 150px; + } + html:not([dir="rtl"]) .sidebar-sm-show.sidebar-fixed.sidebar-minimized .main, + html:not([dir="rtl"]) .sidebar-sm-show.sidebar-fixed.sidebar-minimized .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-minimized .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer { + margin-left: 200px; + } + html:not([dir="rtl"]) .sidebar-sm-show.breadcrumb-fixed .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed .breadcrumb { + left: 200px; + } + html:not([dir="rtl"]) .sidebar-sm-show.breadcrumb-fixed.sidebar-compact .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb { + left: 150px; + } + html:not([dir="rtl"]) .sidebar-sm-show.breadcrumb-fixed.sidebar-minimized .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb { + left: 50px; + } + html:not([dir="rtl"]) .aside-menu-show .aside-menu, + html:not([dir="rtl"]) .aside-menu-sm-show .aside-menu { + margin-right: 0; + } + html:not([dir="rtl"]) .aside-menu-show.aside-menu-fixed .main, + html:not([dir="rtl"]) .aside-menu-show.aside-menu-fixed .app-footer, + html:not([dir="rtl"]) .aside-menu-sm-show.aside-menu-fixed .main, + html:not([dir="rtl"]) .aside-menu-sm-show.aside-menu-fixed .app-footer { + margin-right: 250px; + } + html:not([dir="rtl"]) .aside-menu-show.breadcrumb-fixed .breadcrumb, + html:not([dir="rtl"]) .aside-menu-sm-show.breadcrumb-fixed .breadcrumb { + right: 250px; + } + html[dir="rtl"] .sidebar-sm-show .sidebar, + html[dir="rtl"] .sidebar-show .sidebar { + margin-right: 0; + } + html[dir="rtl"] .sidebar-sm-show.sidebar-fixed .main, + html[dir="rtl"] .sidebar-sm-show.sidebar-fixed .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed .app-footer { + margin-right: 200px; + } + html[dir="rtl"] .sidebar-sm-show.sidebar-fixed.sidebar-compact .main, + html[dir="rtl"] .sidebar-sm-show.sidebar-fixed.sidebar-compact .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-compact .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-compact .app-footer { + margin-right: 150px; + } + html[dir="rtl"] .sidebar-sm-show.sidebar-fixed.sidebar-minimized .main, + html[dir="rtl"] .sidebar-sm-show.sidebar-fixed.sidebar-minimized .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-minimized .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer { + margin-right: 200px; + } + html[dir="rtl"] .sidebar-sm-show.breadcrumb-fixed .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed .breadcrumb { + right: 200px; + } + html[dir="rtl"] .sidebar-sm-show.breadcrumb-fixed.sidebar-compact .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb { + right: 150px; + } + html[dir="rtl"] .sidebar-sm-show.breadcrumb-fixed.sidebar-minimized .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb { + right: 50px; + } + html[dir="rtl"] .aside-menu-show .aside-menu, + html[dir="rtl"] .aside-menu-sm-show .aside-menu { + margin-left: 0; + } + html[dir="rtl"] .aside-menu-show.aside-menu-fixed .main, + html[dir="rtl"] .aside-menu-show.aside-menu-fixed .app-footer, + html[dir="rtl"] .aside-menu-sm-show.aside-menu-fixed .main, + html[dir="rtl"] .aside-menu-sm-show.aside-menu-fixed .app-footer { + margin-left: 250px; + } + html[dir="rtl"] .aside-menu-show.breadcrumb-fixed .breadcrumb, + html[dir="rtl"] .aside-menu-sm-show.breadcrumb-fixed .breadcrumb { + left: 250px; + } + @-webkit-keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } + @keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } +} + +@media (min-width: 768px) { + html:not([dir="rtl"]) .sidebar-md-show .sidebar, + html:not([dir="rtl"]) .sidebar-show .sidebar { + margin-left: 0; + } + html:not([dir="rtl"]) .sidebar-md-show.sidebar-fixed .main, + html:not([dir="rtl"]) .sidebar-md-show.sidebar-fixed .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed .app-footer { + margin-left: 200px; + } + html:not([dir="rtl"]) .sidebar-md-show.sidebar-fixed.sidebar-compact .main, + html:not([dir="rtl"]) .sidebar-md-show.sidebar-fixed.sidebar-compact .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-compact .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-compact .app-footer { + margin-left: 150px; + } + html:not([dir="rtl"]) .sidebar-md-show.sidebar-fixed.sidebar-minimized .main, + html:not([dir="rtl"]) .sidebar-md-show.sidebar-fixed.sidebar-minimized .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-minimized .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer { + margin-left: 200px; + } + html:not([dir="rtl"]) .sidebar-md-show.breadcrumb-fixed .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed .breadcrumb { + left: 200px; + } + html:not([dir="rtl"]) .sidebar-md-show.breadcrumb-fixed.sidebar-compact .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb { + left: 150px; + } + html:not([dir="rtl"]) .sidebar-md-show.breadcrumb-fixed.sidebar-minimized .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb { + left: 50px; + } + html:not([dir="rtl"]) .aside-menu-show .aside-menu, + html:not([dir="rtl"]) .aside-menu-md-show .aside-menu { + margin-right: 0; + } + html:not([dir="rtl"]) .aside-menu-show.aside-menu-fixed .main, + html:not([dir="rtl"]) .aside-menu-show.aside-menu-fixed .app-footer, + html:not([dir="rtl"]) .aside-menu-md-show.aside-menu-fixed .main, + html:not([dir="rtl"]) .aside-menu-md-show.aside-menu-fixed .app-footer { + margin-right: 250px; + } + html:not([dir="rtl"]) .aside-menu-show.breadcrumb-fixed .breadcrumb, + html:not([dir="rtl"]) .aside-menu-md-show.breadcrumb-fixed .breadcrumb { + right: 250px; + } + html[dir="rtl"] .sidebar-md-show .sidebar, + html[dir="rtl"] .sidebar-show .sidebar { + margin-right: 0; + } + html[dir="rtl"] .sidebar-md-show.sidebar-fixed .main, + html[dir="rtl"] .sidebar-md-show.sidebar-fixed .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed .app-footer { + margin-right: 200px; + } + html[dir="rtl"] .sidebar-md-show.sidebar-fixed.sidebar-compact .main, + html[dir="rtl"] .sidebar-md-show.sidebar-fixed.sidebar-compact .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-compact .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-compact .app-footer { + margin-right: 150px; + } + html[dir="rtl"] .sidebar-md-show.sidebar-fixed.sidebar-minimized .main, + html[dir="rtl"] .sidebar-md-show.sidebar-fixed.sidebar-minimized .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-minimized .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer { + margin-right: 200px; + } + html[dir="rtl"] .sidebar-md-show.breadcrumb-fixed .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed .breadcrumb { + right: 200px; + } + html[dir="rtl"] .sidebar-md-show.breadcrumb-fixed.sidebar-compact .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb { + right: 150px; + } + html[dir="rtl"] .sidebar-md-show.breadcrumb-fixed.sidebar-minimized .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb { + right: 50px; + } + html[dir="rtl"] .aside-menu-show .aside-menu, + html[dir="rtl"] .aside-menu-md-show .aside-menu { + margin-left: 0; + } + html[dir="rtl"] .aside-menu-show.aside-menu-fixed .main, + html[dir="rtl"] .aside-menu-show.aside-menu-fixed .app-footer, + html[dir="rtl"] .aside-menu-md-show.aside-menu-fixed .main, + html[dir="rtl"] .aside-menu-md-show.aside-menu-fixed .app-footer { + margin-left: 250px; + } + html[dir="rtl"] .aside-menu-show.breadcrumb-fixed .breadcrumb, + html[dir="rtl"] .aside-menu-md-show.breadcrumb-fixed .breadcrumb { + left: 250px; + } + @-webkit-keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } + @keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } +} + +@media (min-width: 992px) { + html:not([dir="rtl"]) .sidebar-lg-show .sidebar, + html:not([dir="rtl"]) .sidebar-show .sidebar { + margin-left: 0; + } + html:not([dir="rtl"]) .sidebar-lg-show.sidebar-fixed .main, + html:not([dir="rtl"]) .sidebar-lg-show.sidebar-fixed .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed .app-footer { + margin-left: 200px; + } + html:not([dir="rtl"]) .sidebar-lg-show.sidebar-fixed.sidebar-compact .main, + html:not([dir="rtl"]) .sidebar-lg-show.sidebar-fixed.sidebar-compact .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-compact .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-compact .app-footer { + margin-left: 150px; + } + html:not([dir="rtl"]) .sidebar-lg-show.sidebar-fixed.sidebar-minimized .main, + html:not([dir="rtl"]) .sidebar-lg-show.sidebar-fixed.sidebar-minimized .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-minimized .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer { + margin-left: 50px; + } + html:not([dir="rtl"]) .sidebar-lg-show.breadcrumb-fixed .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed .breadcrumb { + left: 200px; + } + html:not([dir="rtl"]) .sidebar-lg-show.breadcrumb-fixed.sidebar-compact .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb { + left: 150px; + } + html:not([dir="rtl"]) .sidebar-lg-show.breadcrumb-fixed.sidebar-minimized .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb { + left: 50px; + } + html:not([dir="rtl"]) .aside-menu-show .aside-menu, + html:not([dir="rtl"]) .aside-menu-lg-show .aside-menu { + margin-right: 0; + } + html:not([dir="rtl"]) .aside-menu-show.aside-menu-fixed .main, + html:not([dir="rtl"]) .aside-menu-show.aside-menu-fixed .app-footer, + html:not([dir="rtl"]) .aside-menu-lg-show.aside-menu-fixed .main, + html:not([dir="rtl"]) .aside-menu-lg-show.aside-menu-fixed .app-footer { + margin-right: 250px; + } + html:not([dir="rtl"]) .aside-menu-show.breadcrumb-fixed .breadcrumb, + html:not([dir="rtl"]) .aside-menu-lg-show.breadcrumb-fixed .breadcrumb { + right: 250px; + } + html[dir="rtl"] .sidebar-lg-show .sidebar, + html[dir="rtl"] .sidebar-show .sidebar { + margin-right: 0; + } + html[dir="rtl"] .sidebar-lg-show.sidebar-fixed .main, + html[dir="rtl"] .sidebar-lg-show.sidebar-fixed .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed .app-footer { + margin-right: 200px; + } + html[dir="rtl"] .sidebar-lg-show.sidebar-fixed.sidebar-compact .main, + html[dir="rtl"] .sidebar-lg-show.sidebar-fixed.sidebar-compact .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-compact .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-compact .app-footer { + margin-right: 150px; + } + html[dir="rtl"] .sidebar-lg-show.sidebar-fixed.sidebar-minimized .main, + html[dir="rtl"] .sidebar-lg-show.sidebar-fixed.sidebar-minimized .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-minimized .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer { + margin-right: 50px; + } + html[dir="rtl"] .sidebar-lg-show.breadcrumb-fixed .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed .breadcrumb { + right: 200px; + } + html[dir="rtl"] .sidebar-lg-show.breadcrumb-fixed.sidebar-compact .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb { + right: 150px; + } + html[dir="rtl"] .sidebar-lg-show.breadcrumb-fixed.sidebar-minimized .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb { + right: 50px; + } + html[dir="rtl"] .aside-menu-show .aside-menu, + html[dir="rtl"] .aside-menu-lg-show .aside-menu { + margin-left: 0; + } + html[dir="rtl"] .aside-menu-show.aside-menu-fixed .main, + html[dir="rtl"] .aside-menu-show.aside-menu-fixed .app-footer, + html[dir="rtl"] .aside-menu-lg-show.aside-menu-fixed .main, + html[dir="rtl"] .aside-menu-lg-show.aside-menu-fixed .app-footer { + margin-left: 250px; + } + html[dir="rtl"] .aside-menu-show.breadcrumb-fixed .breadcrumb, + html[dir="rtl"] .aside-menu-lg-show.breadcrumb-fixed .breadcrumb { + left: 250px; + } + @-webkit-keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } + @keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } +} + +@media (min-width: 1200px) { + html:not([dir="rtl"]) .sidebar-xl-show .sidebar, + html:not([dir="rtl"]) .sidebar-show .sidebar { + margin-left: 0; + } + html:not([dir="rtl"]) .sidebar-xl-show.sidebar-fixed .main, + html:not([dir="rtl"]) .sidebar-xl-show.sidebar-fixed .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed .app-footer { + margin-left: 200px; + } + html:not([dir="rtl"]) .sidebar-xl-show.sidebar-fixed.sidebar-compact .main, + html:not([dir="rtl"]) .sidebar-xl-show.sidebar-fixed.sidebar-compact .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-compact .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-compact .app-footer { + margin-left: 150px; + } + html:not([dir="rtl"]) .sidebar-xl-show.sidebar-fixed.sidebar-minimized .main, + html:not([dir="rtl"]) .sidebar-xl-show.sidebar-fixed.sidebar-minimized .app-footer, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-minimized .main, + html:not([dir="rtl"]) .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer { + margin-left: 50px; + } + html:not([dir="rtl"]) .sidebar-xl-show.breadcrumb-fixed .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed .breadcrumb { + left: 200px; + } + html:not([dir="rtl"]) .sidebar-xl-show.breadcrumb-fixed.sidebar-compact .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb { + left: 150px; + } + html:not([dir="rtl"]) .sidebar-xl-show.breadcrumb-fixed.sidebar-minimized .breadcrumb, + html:not([dir="rtl"]) .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb { + left: 50px; + } + html:not([dir="rtl"]) .aside-menu-show .aside-menu, + html:not([dir="rtl"]) .aside-menu-xl-show .aside-menu { + margin-right: 0; + } + html:not([dir="rtl"]) .aside-menu-show.aside-menu-fixed .main, + html:not([dir="rtl"]) .aside-menu-show.aside-menu-fixed .app-footer, + html:not([dir="rtl"]) .aside-menu-xl-show.aside-menu-fixed .main, + html:not([dir="rtl"]) .aside-menu-xl-show.aside-menu-fixed .app-footer { + margin-right: 250px; + } + html:not([dir="rtl"]) .aside-menu-show.breadcrumb-fixed .breadcrumb, + html:not([dir="rtl"]) .aside-menu-xl-show.breadcrumb-fixed .breadcrumb { + right: 250px; + } + html[dir="rtl"] .sidebar-xl-show .sidebar, + html[dir="rtl"] .sidebar-show .sidebar { + margin-right: 0; + } + html[dir="rtl"] .sidebar-xl-show.sidebar-fixed .main, + html[dir="rtl"] .sidebar-xl-show.sidebar-fixed .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed .app-footer { + margin-right: 200px; + } + html[dir="rtl"] .sidebar-xl-show.sidebar-fixed.sidebar-compact .main, + html[dir="rtl"] .sidebar-xl-show.sidebar-fixed.sidebar-compact .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-compact .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-compact .app-footer { + margin-right: 150px; + } + html[dir="rtl"] .sidebar-xl-show.sidebar-fixed.sidebar-minimized .main, + html[dir="rtl"] .sidebar-xl-show.sidebar-fixed.sidebar-minimized .app-footer, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-minimized .main, + html[dir="rtl"] .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer { + margin-right: 50px; + } + html[dir="rtl"] .sidebar-xl-show.breadcrumb-fixed .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed .breadcrumb { + right: 200px; + } + html[dir="rtl"] .sidebar-xl-show.breadcrumb-fixed.sidebar-compact .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb { + right: 150px; + } + html[dir="rtl"] .sidebar-xl-show.breadcrumb-fixed.sidebar-minimized .breadcrumb, + html[dir="rtl"] .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb { + right: 50px; + } + html[dir="rtl"] .aside-menu-show .aside-menu, + html[dir="rtl"] .aside-menu-xl-show .aside-menu { + margin-left: 0; + } + html[dir="rtl"] .aside-menu-show.aside-menu-fixed .main, + html[dir="rtl"] .aside-menu-show.aside-menu-fixed .app-footer, + html[dir="rtl"] .aside-menu-xl-show.aside-menu-fixed .main, + html[dir="rtl"] .aside-menu-xl-show.aside-menu-fixed .app-footer { + margin-left: 250px; + } + html[dir="rtl"] .aside-menu-show.breadcrumb-fixed .breadcrumb, + html[dir="rtl"] .aside-menu-xl-show.breadcrumb-fixed .breadcrumb { + left: 250px; + } + @-webkit-keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } + @keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } +} + +.footer-fixed .app-footer { + position: fixed; + right: 0; + bottom: 0; + left: 0; + z-index: 1020; + height: 50px; +} + +.footer-fixed .app-body { + margin-bottom: 50px; +} + +.app-header, +.app-footer, +.sidebar, +.main, +.aside-menu { + transition: margin-left 0.25s, margin-right 0.25s, width 0.25s, flex 0.25s; + transition: margin-left 0.25s, margin-right 0.25s, width 0.25s, flex 0.25s, -ms-flex 0.25s; +} + +.sidebar-nav { + transition: width 0.25s; +} + +.breadcrumb { + transition: left 0.25s, right 0.25s, width 0.25s; +} + +@media (max-width: 991.98px) { + .app-header { + position: fixed; + z-index: 1020; + width: 100%; + text-align: center; + background-color: #fff; + } + .app-header .navbar-toggler { + color: #fff; + } + .app-header .navbar-brand { + position: absolute; + top: 0; + left: 50%; + margin-left: -77.5px; + } + .app-body { + margin-top: 55px; + } + .sidebar { + position: fixed; + z-index: 1019; + width: 200px; + height: calc(100vh - 55px); + } + .sidebar-minimizer { + display: none; + } + .aside-menu { + position: fixed; + height: 100%; + } +} + +hr.transparent { + border-top: 1px solid transparent; +} + +.bg-primary, +.bg-success, +.bg-info, +.bg-warning, +.bg-danger, +.bg-dark { + color: #fff; +} + +.bg-facebook { + background-color: #3b5998 !important; +} + +a.bg-facebook:hover, a.bg-facebook:focus, +button.bg-facebook:hover, +button.bg-facebook:focus { + background-color: #2d4373 !important; +} + +.bg-twitter { + background-color: #00aced !important; +} + +a.bg-twitter:hover, a.bg-twitter:focus, +button.bg-twitter:hover, +button.bg-twitter:focus { + background-color: #0087ba !important; +} + +.bg-linkedin { + background-color: #4875b4 !important; +} + +a.bg-linkedin:hover, a.bg-linkedin:focus, +button.bg-linkedin:hover, +button.bg-linkedin:focus { + background-color: #395d90 !important; +} + +.bg-google-plus { + background-color: #d34836 !important; +} + +a.bg-google-plus:hover, a.bg-google-plus:focus, +button.bg-google-plus:hover, +button.bg-google-plus:focus { + background-color: #b03626 !important; +} + +.bg-flickr { + background-color: #ff0084 !important; +} + +a.bg-flickr:hover, a.bg-flickr:focus, +button.bg-flickr:hover, +button.bg-flickr:focus { + background-color: #cc006a !important; +} + +.bg-tumblr { + background-color: #32506d !important; +} + +a.bg-tumblr:hover, a.bg-tumblr:focus, +button.bg-tumblr:hover, +button.bg-tumblr:focus { + background-color: #22364a !important; +} + +.bg-xing { + background-color: #026466 !important; +} + +a.bg-xing:hover, a.bg-xing:focus, +button.bg-xing:hover, +button.bg-xing:focus { + background-color: #013334 !important; +} + +.bg-github { + background-color: #4183c4 !important; +} + +a.bg-github:hover, a.bg-github:focus, +button.bg-github:hover, +button.bg-github:focus { + background-color: #3269a0 !important; +} + +.bg-html5 { + background-color: #e34f26 !important; +} + +a.bg-html5:hover, a.bg-html5:focus, +button.bg-html5:hover, +button.bg-html5:focus { + background-color: #be3c18 !important; +} + +.bg-openid { + background-color: #f78c40 !important; +} + +a.bg-openid:hover, a.bg-openid:focus, +button.bg-openid:hover, +button.bg-openid:focus { + background-color: #f56f0f !important; +} + +.bg-stack-overflow { + background-color: #fe7a15 !important; +} + +a.bg-stack-overflow:hover, a.bg-stack-overflow:focus, +button.bg-stack-overflow:hover, +button.bg-stack-overflow:focus { + background-color: #df6101 !important; +} + +.bg-youtube { + background-color: #b00 !important; +} + +a.bg-youtube:hover, a.bg-youtube:focus, +button.bg-youtube:hover, +button.bg-youtube:focus { + background-color: #880000 !important; +} + +.bg-css3 { + background-color: #0170ba !important; +} + +a.bg-css3:hover, a.bg-css3:focus, +button.bg-css3:hover, +button.bg-css3:focus { + background-color: #015187 !important; +} + +.bg-dribbble { + background-color: #ea4c89 !important; +} + +a.bg-dribbble:hover, a.bg-dribbble:focus, +button.bg-dribbble:hover, +button.bg-dribbble:focus { + background-color: #e51e6b !important; +} + +.bg-instagram { + background-color: #517fa4 !important; +} + +a.bg-instagram:hover, a.bg-instagram:focus, +button.bg-instagram:hover, +button.bg-instagram:focus { + background-color: #406582 !important; +} + +.bg-pinterest { + background-color: #cb2027 !important; +} + +a.bg-pinterest:hover, a.bg-pinterest:focus, +button.bg-pinterest:hover, +button.bg-pinterest:focus { + background-color: #9f191f !important; +} + +.bg-vk { + background-color: #45668e !important; +} + +a.bg-vk:hover, a.bg-vk:focus, +button.bg-vk:hover, +button.bg-vk:focus { + background-color: #344d6c !important; +} + +.bg-yahoo { + background-color: #400191 !important; +} + +a.bg-yahoo:hover, a.bg-yahoo:focus, +button.bg-yahoo:hover, +button.bg-yahoo:focus { + background-color: #2a015e !important; +} + +.bg-behance { + background-color: #1769ff !important; +} + +a.bg-behance:hover, a.bg-behance:focus, +button.bg-behance:hover, +button.bg-behance:focus { + background-color: #0050e3 !important; +} + +.bg-dropbox { + background-color: #007ee5 !important; +} + +a.bg-dropbox:hover, a.bg-dropbox:focus, +button.bg-dropbox:hover, +button.bg-dropbox:focus { + background-color: #0062b2 !important; +} + +.bg-reddit { + background-color: #ff4500 !important; +} + +a.bg-reddit:hover, a.bg-reddit:focus, +button.bg-reddit:hover, +button.bg-reddit:focus { + background-color: #cc3700 !important; +} + +.bg-spotify { + background-color: #7ab800 !important; +} + +a.bg-spotify:hover, a.bg-spotify:focus, +button.bg-spotify:hover, +button.bg-spotify:focus { + background-color: #588500 !important; +} + +.bg-vine { + background-color: #00bf8f !important; +} + +a.bg-vine:hover, a.bg-vine:focus, +button.bg-vine:hover, +button.bg-vine:focus { + background-color: #008c69 !important; +} + +.bg-foursquare { + background-color: #1073af !important; +} + +a.bg-foursquare:hover, a.bg-foursquare:focus, +button.bg-foursquare:hover, +button.bg-foursquare:focus { + background-color: #0c5480 !important; +} + +.bg-vimeo { + background-color: #aad450 !important; +} + +a.bg-vimeo:hover, a.bg-vimeo:focus, +button.bg-vimeo:hover, +button.bg-vimeo:focus { + background-color: #93c130 !important; +} + +.bg-blue { + background-color: #20a8d8 !important; +} + +a.bg-blue:hover, a.bg-blue:focus, +button.bg-blue:hover, +button.bg-blue:focus { + background-color: #1985ac !important; +} + +.bg-indigo { + background-color: #6610f2 !important; +} + +a.bg-indigo:hover, a.bg-indigo:focus, +button.bg-indigo:hover, +button.bg-indigo:focus { + background-color: #510bc4 !important; +} + +.bg-purple { + background-color: #6f42c1 !important; +} + +a.bg-purple:hover, a.bg-purple:focus, +button.bg-purple:hover, +button.bg-purple:focus { + background-color: #59339d !important; +} + +.bg-pink { + background-color: #e83e8c !important; +} + +a.bg-pink:hover, a.bg-pink:focus, +button.bg-pink:hover, +button.bg-pink:focus { + background-color: #d91a72 !important; +} + +.bg-red { + background-color: #f86c6b !important; +} + +a.bg-red:hover, a.bg-red:focus, +button.bg-red:hover, +button.bg-red:focus { + background-color: #f63c3a !important; +} + +.bg-orange { + background-color: #f8cb00 !important; +} + +a.bg-orange:hover, a.bg-orange:focus, +button.bg-orange:hover, +button.bg-orange:focus { + background-color: #c5a100 !important; +} + +.bg-yellow { + background-color: #ffc107 !important; +} + +a.bg-yellow:hover, a.bg-yellow:focus, +button.bg-yellow:hover, +button.bg-yellow:focus { + background-color: #d39e00 !important; +} + +.bg-green { + background-color: #4dbd74 !important; +} + +a.bg-green:hover, a.bg-green:focus, +button.bg-green:hover, +button.bg-green:focus { + background-color: #3a9d5d !important; +} + +.bg-teal { + background-color: #20c997 !important; +} + +a.bg-teal:hover, a.bg-teal:focus, +button.bg-teal:hover, +button.bg-teal:focus { + background-color: #199d76 !important; +} + +.bg-cyan { + background-color: #17a2b8 !important; +} + +a.bg-cyan:hover, a.bg-cyan:focus, +button.bg-cyan:hover, +button.bg-cyan:focus { + background-color: #117a8b !important; +} + +.bg-white { + background-color: #fff !important; +} + +a.bg-white:hover, a.bg-white:focus, +button.bg-white:hover, +button.bg-white:focus { + background-color: #e6e6e6 !important; +} + +.bg-gray { + background-color: #73818f !important; +} + +a.bg-gray:hover, a.bg-gray:focus, +button.bg-gray:hover, +button.bg-gray:focus { + background-color: #5c6873 !important; +} + +.bg-gray-dark { + background-color: #2f353a !important; +} + +a.bg-gray-dark:hover, a.bg-gray-dark:focus, +button.bg-gray-dark:hover, +button.bg-gray-dark:focus { + background-color: #181b1e !important; +} + +.bg-light-blue { + background-color: #63c2de !important; +} + +a.bg-light-blue:hover, a.bg-light-blue:focus, +button.bg-light-blue:hover, +button.bg-light-blue:focus { + background-color: #39b2d5 !important; +} + +.bg-gray-100 { + background-color: #f0f3f5 !important; +} + +a.bg-gray-100:hover, a.bg-gray-100:focus, +button.bg-gray-100:hover, +button.bg-gray-100:focus { + background-color: #d1dbe1 !important; +} + +.bg-gray-200 { + background-color: #e4e7ea !important; +} + +a.bg-gray-200:hover, a.bg-gray-200:focus, +button.bg-gray-200:hover, +button.bg-gray-200:focus { + background-color: #c7ced4 !important; +} + +.bg-gray-300 { + background-color: #c8ced3 !important; +} + +a.bg-gray-300:hover, a.bg-gray-300:focus, +button.bg-gray-300:hover, +button.bg-gray-300:focus { + background-color: #acb5bc !important; +} + +.bg-gray-400 { + background-color: #acb4bc !important; +} + +a.bg-gray-400:hover, a.bg-gray-400:focus, +button.bg-gray-400:hover, +button.bg-gray-400:focus { + background-color: #909ba5 !important; +} + +.bg-gray-500 { + background-color: #8f9ba6 !important; +} + +a.bg-gray-500:hover, a.bg-gray-500:focus, +button.bg-gray-500:hover, +button.bg-gray-500:focus { + background-color: #73828f !important; +} + +.bg-gray-600 { + background-color: #73818f !important; +} + +a.bg-gray-600:hover, a.bg-gray-600:focus, +button.bg-gray-600:hover, +button.bg-gray-600:focus { + background-color: #5c6873 !important; +} + +.bg-gray-700 { + background-color: #5c6873 !important; +} + +a.bg-gray-700:hover, a.bg-gray-700:focus, +button.bg-gray-700:hover, +button.bg-gray-700:focus { + background-color: #454e57 !important; +} + +.bg-gray-800 { + background-color: #2f353a !important; +} + +a.bg-gray-800:hover, a.bg-gray-800:focus, +button.bg-gray-800:hover, +button.bg-gray-800:focus { + background-color: #181b1e !important; +} + +.bg-gray-900 { + background-color: #23282c !important; +} + +a.bg-gray-900:hover, a.bg-gray-900:focus, +button.bg-gray-900:hover, +button.bg-gray-900:focus { + background-color: #0c0e10 !important; +} + +.bg-box { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + width: 2.5rem; + height: 2.5rem; +} + +.b-a-0 { + border: 0 !important; +} + +.b-t-0 { + border-top: 0 !important; +} + +.b-r-0 { + border-right: 0 !important; +} + +.b-b-0 { + border-bottom: 0 !important; +} + +.b-l-0 { + border-left: 0 !important; +} + +.b-a-1 { + border: 1px solid #c8ced3; +} + +.b-t-1 { + border-top: 1px solid #c8ced3; +} + +.b-r-1 { + border-right: 1px solid #c8ced3; +} + +.b-b-1 { + border-bottom: 1px solid #c8ced3; +} + +.b-l-1 { + border-left: 1px solid #c8ced3; +} + +.b-a-2 { + border: 2px solid #c8ced3; +} + +.b-t-2 { + border-top: 2px solid #c8ced3; +} + +.b-r-2 { + border-right: 2px solid #c8ced3; +} + +.b-b-2 { + border-bottom: 2px solid #c8ced3; +} + +.b-l-2 { + border-left: 2px solid #c8ced3; +} + +@media (max-width: 575.98px) { + .d-down-none { + display: none !important; + } +} + +@media (max-width: 767.98px) { + .d-sm-down-none { + display: none !important; + } +} + +@media (max-width: 991.98px) { + .d-md-down-none { + display: none !important; + } +} + +@media (max-width: 1199.98px) { + .d-lg-down-none { + display: none !important; + } +} + +.d-xl-down-none { + display: none !important; +} + +body { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; +} + +.font-xs { + font-size: .75rem !important; +} + +.font-sm { + font-size: .85rem !important; +} + +.font-lg { + font-size: 1rem !important; +} + +.font-xl { + font-size: 1.25rem !important; +} + +.font-2xl { + font-size: 1.5rem !important; +} + +.font-3xl { + font-size: 1.75rem !important; +} + +.font-4xl { + font-size: 2rem !important; +} + +.font-5xl { + font-size: 2.5rem !important; +} + +.text-value { + font-size: 1.3125rem; + font-weight: 600; +} + +.text-value-sm { + font-size: 1.09375rem; + font-weight: 600; +} + +.text-value-lg { + font-size: 1.53125rem; + font-weight: 600; +} + +.text-white .text-muted { + color: rgba(255, 255, 255, 0.6) !important; +} + +*[dir="rtl"] { + direction: rtl; + unicode-bidi: embed; +} + +*[dir="rtl"] body { + text-align: right; +} + +*[dir="rtl"] .dropdown-item { + text-align: right; +} + +*[dir="rtl"] .dropdown-item i { + margin-right: -10px; + margin-left: 10px; +} + +*[dir="rtl"] .dropdown-item .badge { + right: auto; + left: 10px; +} + +.ie-custom-properties { + blue: #20a8d8; + indigo: #6610f2; + purple: #6f42c1; + pink: #e83e8c; + red: #f86c6b; + orange: #f8cb00; + yellow: #ffc107; + green: #4dbd74; + teal: #20c997; + cyan: #17a2b8; + white: #fff; + gray: #73818f; + gray-dark: #2f353a; + light-blue: #63c2de; + primary: #20a8d8; + secondary: #c8ced3; + success: #4dbd74; + info: #63c2de; + warning: #ffc107; + danger: #f86c6b; + light: #f0f3f5; + dark: #2f353a; + breakpoint-xs: 0; + breakpoint-sm: 576px; + breakpoint-md: 768px; + breakpoint-lg: 992px; + breakpoint-xl: 1200px; +} +/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/src/admin/css/style.css.map b/src/admin/css/style.css.map new file mode 100644 index 0000000..7cab310 --- /dev/null +++ b/src/admin/css/style.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["style.css","../../node_modules/@coreui/coreui/scss/coreui.scss","../../node_modules/bootstrap/scss/bootstrap.scss","../../node_modules/bootstrap/scss/_root.scss","../../node_modules/bootstrap/scss/_reboot.scss","../../node_modules/@coreui/coreui/scss/variables/_colors.scss","../../node_modules/bootstrap/scss/_variables.scss","../../node_modules/@coreui/coreui/scss/variables/bootstrap/_variables.scss","../../node_modules/bootstrap/scss/mixins/_hover.scss","../../node_modules/bootstrap/scss/_type.scss","../../node_modules/bootstrap/scss/mixins/_lists.scss","../../node_modules/bootstrap/scss/_images.scss","../../node_modules/bootstrap/scss/mixins/_image.scss","../../node_modules/bootstrap/scss/mixins/_border-radius.scss","../../node_modules/bootstrap/scss/_code.scss","../../node_modules/bootstrap/scss/_grid.scss","../../node_modules/bootstrap/scss/mixins/_grid.scss","../../node_modules/bootstrap/scss/mixins/_breakpoints.scss","../../node_modules/bootstrap/scss/mixins/_grid-framework.scss","../../node_modules/bootstrap/scss/_tables.scss","../../node_modules/bootstrap/scss/mixins/_table-row.scss","../../node_modules/bootstrap/scss/_functions.scss","../../node_modules/bootstrap/scss/_forms.scss","../../node_modules/bootstrap/scss/mixins/_transition.scss","../../node_modules/bootstrap/scss/mixins/_forms.scss","../../node_modules/bootstrap/scss/mixins/_gradients.scss","../../node_modules/bootstrap/scss/_buttons.scss","../../node_modules/bootstrap/scss/mixins/_buttons.scss","../../node_modules/bootstrap/scss/_transitions.scss","../../node_modules/bootstrap/scss/_dropdown.scss","../../node_modules/bootstrap/scss/mixins/_caret.scss","../../node_modules/bootstrap/scss/mixins/_nav-divider.scss","../../node_modules/bootstrap/scss/_button-group.scss","../../node_modules/bootstrap/scss/_input-group.scss","../../node_modules/bootstrap/scss/_custom-forms.scss","../../node_modules/bootstrap/scss/_nav.scss","../../node_modules/bootstrap/scss/_navbar.scss","../../node_modules/bootstrap/scss/_card.scss","../../node_modules/bootstrap/scss/_breadcrumb.scss","../../node_modules/bootstrap/scss/_pagination.scss","../../node_modules/bootstrap/scss/mixins/_pagination.scss","../../node_modules/bootstrap/scss/_badge.scss","../../node_modules/bootstrap/scss/mixins/_badge.scss","../../node_modules/bootstrap/scss/_jumbotron.scss","../../node_modules/bootstrap/scss/_alert.scss","../../node_modules/bootstrap/scss/mixins/_alert.scss","../../node_modules/bootstrap/scss/_progress.scss","../../node_modules/bootstrap/scss/_media.scss","../../node_modules/bootstrap/scss/_list-group.scss","../../node_modules/bootstrap/scss/mixins/_list-group.scss","../../node_modules/bootstrap/scss/_close.scss","../../node_modules/bootstrap/scss/_modal.scss","../../node_modules/bootstrap/scss/_tooltip.scss","../../node_modules/bootstrap/scss/mixins/_reset-text.scss","../../node_modules/bootstrap/scss/_popover.scss","../../node_modules/bootstrap/scss/_carousel.scss","../../node_modules/bootstrap/scss/utilities/_align.scss","../../node_modules/bootstrap/scss/mixins/_background-variant.scss","../../node_modules/bootstrap/scss/utilities/_background.scss","../../node_modules/bootstrap/scss/utilities/_borders.scss","../../node_modules/bootstrap/scss/mixins/_clearfix.scss","../../node_modules/bootstrap/scss/utilities/_display.scss","../../node_modules/bootstrap/scss/utilities/_embed.scss","../../node_modules/bootstrap/scss/utilities/_flex.scss","../../node_modules/bootstrap/scss/utilities/_float.scss","../../node_modules/bootstrap/scss/mixins/_float.scss","../../node_modules/bootstrap/scss/utilities/_position.scss","../../node_modules/bootstrap/scss/utilities/_screenreaders.scss","../../node_modules/bootstrap/scss/mixins/_screen-reader.scss","../../node_modules/bootstrap/scss/utilities/_shadows.scss","../../node_modules/bootstrap/scss/utilities/_sizing.scss","../../node_modules/bootstrap/scss/utilities/_spacing.scss","../../node_modules/bootstrap/scss/utilities/_text.scss","../../node_modules/bootstrap/scss/mixins/_text-truncate.scss","../../node_modules/bootstrap/scss/mixins/_text-emphasis.scss","../../node_modules/bootstrap/scss/mixins/_text-hide.scss","../../node_modules/bootstrap/scss/utilities/_visibility.scss","../../node_modules/bootstrap/scss/mixins/_visibility.scss","../../node_modules/bootstrap/scss/_print.scss","../../node_modules/@coreui/coreui/scss/_animate.scss","../../node_modules/@coreui/coreui/scss/vendors/_perfect-scrollbar.scss","../../node_modules/@coreui/coreui/scss/_aside.scss","../../node_modules/@coreui/coreui/scss/_variables.scss","../../node_modules/@coreui/coreui/scss/mixins/_borders.scss","../../node_modules/@coreui/coreui/scss/_avatars.scss","../../node_modules/@coreui/coreui/scss/mixins/_avatars.scss","../../node_modules/@coreui/coreui/scss/_badge.scss","../../node_modules/@coreui/coreui/scss/_breadcrumb-menu.scss","../../node_modules/@coreui/coreui/scss/_breadcrumb.scss","../../node_modules/@coreui/coreui/scss/_brand-card.scss","../../node_modules/@coreui/coreui/scss/_brand-buttons.scss","../../node_modules/@coreui/coreui/scss/_buttons.scss","../../node_modules/@coreui/coreui/scss/mixins/_buttons.scss","../../node_modules/@coreui/coreui/scss/_callout.scss","../../node_modules/@coreui/coreui/scss/_card.scss","../../node_modules/@coreui/coreui/scss/mixins/_card-accent.scss","../../node_modules/@coreui/coreui/scss/_charts.scss","../../node_modules/@coreui/coreui/scss/_dropdown.scss","../../node_modules/@coreui/coreui/scss/_footer.scss","../../node_modules/@coreui/coreui/scss/_grid.scss","../../node_modules/@coreui/coreui/scss/_header.scss","../../node_modules/@coreui/coreui/scss/_input-group.scss","../../node_modules/@coreui/coreui/scss/_images.scss","../../node_modules/@coreui/coreui/scss/_list-group.scss","../../node_modules/@coreui/coreui/scss/mixins/_list-group.scss","../../node_modules/@coreui/coreui/scss/_modal.scss","../../node_modules/@coreui/coreui/scss/_nav.scss","../../node_modules/@coreui/coreui/scss/_progress.scss","../../node_modules/@coreui/coreui/scss/_progress-group.scss","../../node_modules/@coreui/coreui/scss/_sidebar.scss","../../node_modules/@coreui/coreui/scss/mixins/_sidebar-width.scss","../../node_modules/@coreui/coreui/scss/_switches.scss","../../node_modules/@coreui/coreui/scss/mixins/_switches.scss","../../node_modules/@coreui/coreui/scss/_tables.scss","../../node_modules/@coreui/coreui/scss/_layout.scss","../../node_modules/@coreui/coreui/scss/_others.scss","../../node_modules/@coreui/coreui/scss/utilities/_background.scss","../../node_modules/@coreui/coreui/scss/utilities/_borders.scss","../../node_modules/@coreui/coreui/scss/utilities/_display.scss","../../node_modules/@coreui/coreui/scss/utilities/_typography.scss","../../node_modules/@coreui/coreui/scss/_rtl.scss","../../node_modules/@coreui/coreui/scss/_ie-custom-properties.scss"],"names":[],"mappings":"AAAA,iBAAiB;ACAjB;;;;;;GAMG;ACNH;;;;;GAKG;ACLH;EAGI,gBAAc;EAAd,kBAAc;EAAd,kBAAc;EAAd,gBAAc;EAAd,eAAc;EAAd,kBAAc;EAAd,kBAAc;EAAd,iBAAc;EAAd,gBAAc;EAAd,gBAAc;EAAd,cAAc;EAAd,gBAAc;EAAd,qBAAc;EAAd,sBAAc;EAId,mBAAc;EAAd,qBAAc;EAAd,mBAAc;EAAd,gBAAc;EAAd,mBAAc;EAAd,kBAAc;EAAd,iBAAc;EAAd,gBAAc;EAId,mBAAiC;EAAjC,uBAAiC;EAAjC,uBAAiC;EAAjC,uBAAiC;EAAjC,wBAAiC;EAKnC,mMAAyB;EACzB,8GAAwB;CACzB;;ACED;;;EAGE,uBAAsB;CACvB;;AAED;EACE,wBAAuB;EACvB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EAAX,mBAAW;EAAX,iBAAW;EAAX,cAAW;EAAX,iBAAW;EAAX,gBAAW;EAAX,eAAW;EAAX,cAAW;EAIX,iBAA8B;EAA9B,qBAA8B;EAA9B,qBAA8B;EAA9B,qBAA8B;EAA9B,sBAA8B;CAEjC","file":"style.css","sourcesContent":["@charset \"UTF-8\";\n/*!\r\n * CoreUI - Open Source Dashboard UI Kit\r\n * @version v2.0.26\r\n * @link https://coreui.io\r\n * Copyright (c) 2018 creativeLabs �ukasz Holeczek\r\n * Licensed under MIT (https://coreui.io/license)\r\n */\n/*!\n * Bootstrap v4.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2018 The Bootstrap Authors\n * Copyright 2011-2018 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n:root {\n --blue: #20a8d8;\n --indigo: #6610f2;\n --purple: #6f42c1;\n --pink: #e83e8c;\n --red: #f86c6b;\n --orange: #f8cb00;\n --yellow: #ffc107;\n --green: #4dbd74;\n --teal: #20c997;\n --cyan: #17a2b8;\n --white: #fff;\n --gray: #73818f;\n --gray-dark: #2f353a;\n --light-blue: #63c2de;\n --primary: #20a8d8;\n --secondary: #c8ced3;\n --success: #4dbd74;\n --info: #63c2de;\n --warning: #ffc107;\n --danger: #f86c6b;\n --light: #f0f3f5;\n --dark: #2f353a;\n --breakpoint-xs: 0;\n --breakpoint-sm: 576px;\n --breakpoint-md: 768px;\n --breakpoint-lg: 992px;\n --breakpoint-xl: 1200px;\n --font-family-sans-serif: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n@-ms-viewport {\n width: device-width;\n}\n\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 1.5;\n color: #23282c;\n text-align: left;\n background-color: #e4e5e6;\n}\n\n[tabindex=\"-1\"]:focus {\n outline: 0 !important;\n}\n\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\n\nh1, h2, h3, h4, h5, h6 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n}\n\np {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nabbr[title],\nabbr[data-original-title] {\n text-decoration: underline;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\ndfn {\n font-style: italic;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -.25em;\n}\n\nsup {\n top: -.5em;\n}\n\na {\n color: #20a8d8;\n text-decoration: none;\n background-color: transparent;\n -webkit-text-decoration-skip: objects;\n}\n\na:hover {\n color: #167495;\n text-decoration: underline;\n}\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):not([tabindex]):focus {\n outline: 0;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n font-size: 1em;\n}\n\npre {\n margin-top: 0;\n margin-bottom: 1rem;\n overflow: auto;\n -ms-overflow-style: scrollbar;\n}\n\nfigure {\n margin: 0 0 1rem;\n}\n\nimg {\n vertical-align: middle;\n border-style: none;\n}\n\nsvg {\n overflow: hidden;\n vertical-align: middle;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n color: #73818f;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n text-align: inherit;\n}\n\nlabel {\n display: inline-block;\n margin-bottom: 0.5rem;\n}\n\nbutton {\n border-radius: 0;\n}\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n box-sizing: border-box;\n padding: 0;\n}\n\ninput[type=\"date\"],\ninput[type=\"time\"],\ninput[type=\"datetime-local\"],\ninput[type=\"month\"] {\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto;\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n margin-bottom: .5rem;\n font-size: 1.5rem;\n line-height: inherit;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type=\"search\"] {\n outline-offset: -2px;\n -webkit-appearance: none;\n}\n\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\ntemplate {\n display: none;\n}\n\n[hidden] {\n display: none !important;\n}\n\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n margin-bottom: 0.5rem;\n font-family: inherit;\n font-weight: 500;\n line-height: 1.2;\n color: inherit;\n}\n\nh1, .h1 {\n font-size: 2.1875rem;\n}\n\nh2, .h2 {\n font-size: 1.75rem;\n}\n\nh3, .h3 {\n font-size: 1.53125rem;\n}\n\nh4, .h4 {\n font-size: 1.3125rem;\n}\n\nh5, .h5 {\n font-size: 1.09375rem;\n}\n\nh6, .h6 {\n font-size: 0.875rem;\n}\n\n.lead {\n font-size: 1.09375rem;\n font-weight: 300;\n}\n\n.display-1 {\n font-size: 6rem;\n font-weight: 300;\n line-height: 1.2;\n}\n\n.display-2 {\n font-size: 5.5rem;\n font-weight: 300;\n line-height: 1.2;\n}\n\n.display-3 {\n font-size: 4.5rem;\n font-weight: 300;\n line-height: 1.2;\n}\n\n.display-4 {\n font-size: 3.5rem;\n font-weight: 300;\n line-height: 1.2;\n}\n\nhr {\n margin-top: 1rem;\n margin-bottom: 1rem;\n border: 0;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n}\n\nsmall,\n.small {\n font-size: 80%;\n font-weight: 400;\n}\n\nmark,\n.mark {\n padding: 0.2em;\n background-color: #fcf8e3;\n}\n\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n\n.list-inline {\n padding-left: 0;\n list-style: none;\n}\n\n.list-inline-item {\n display: inline-block;\n}\n\n.list-inline-item:not(:last-child) {\n margin-right: 0.5rem;\n}\n\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\n\n.blockquote {\n margin-bottom: 1rem;\n font-size: 1.09375rem;\n}\n\n.blockquote-footer {\n display: block;\n font-size: 80%;\n color: #73818f;\n}\n\n.blockquote-footer::before {\n content: \"\\2014 \\00A0\";\n}\n\n.img-fluid {\n max-width: 100%;\n height: auto;\n}\n\n.img-thumbnail {\n padding: 0.25rem;\n background-color: #e4e5e6;\n border: 1px solid #c8ced3;\n border-radius: 0.25rem;\n max-width: 100%;\n height: auto;\n}\n\n.figure {\n display: inline-block;\n}\n\n.figure-img {\n margin-bottom: 0.5rem;\n line-height: 1;\n}\n\n.figure-caption {\n font-size: 90%;\n color: #73818f;\n}\n\ncode {\n font-size: 87.5%;\n color: #e83e8c;\n word-break: break-word;\n}\n\na > code {\n color: inherit;\n}\n\nkbd {\n padding: 0.2rem 0.4rem;\n font-size: 87.5%;\n color: #fff;\n background-color: #23282c;\n border-radius: 0.2rem;\n}\n\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: 700;\n}\n\npre {\n display: block;\n font-size: 87.5%;\n color: #23282c;\n}\n\npre code {\n font-size: inherit;\n color: inherit;\n word-break: normal;\n}\n\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n\n.container {\n width: 100%;\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n\n@media (min-width: 576px) {\n .container {\n max-width: 540px;\n }\n}\n\n@media (min-width: 768px) {\n .container {\n max-width: 720px;\n }\n}\n\n@media (min-width: 992px) {\n .container {\n max-width: 960px;\n }\n}\n\n@media (min-width: 1200px) {\n .container {\n max-width: 1140px;\n }\n}\n\n.container-fluid {\n width: 100%;\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n\n.row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -15px;\n margin-left: -15px;\n}\n\n.no-gutters {\n margin-right: 0;\n margin-left: 0;\n}\n\n.no-gutters > .col,\n.no-gutters > [class*=\"col-\"] {\n padding-right: 0;\n padding-left: 0;\n}\n\n.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,\n.col-auto, .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, .col-sm,\n.col-sm-auto, .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, .col-md,\n.col-md-auto, .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, .col-lg,\n.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,\n.col-xl-auto {\n position: relative;\n width: 100%;\n min-height: 1px;\n padding-right: 15px;\n padding-left: 15px;\n}\n\n.col {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n}\n\n.col-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n}\n\n.col-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n}\n\n.col-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n}\n\n.col-3 {\n flex: 0 0 25%;\n max-width: 25%;\n}\n\n.col-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n}\n\n.col-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n}\n\n.col-6 {\n flex: 0 0 50%;\n max-width: 50%;\n}\n\n.col-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n}\n\n.col-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n}\n\n.col-9 {\n flex: 0 0 75%;\n max-width: 75%;\n}\n\n.col-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n}\n\n.col-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n}\n\n.col-12 {\n flex: 0 0 100%;\n max-width: 100%;\n}\n\n.order-first {\n order: -1;\n}\n\n.order-last {\n order: 13;\n}\n\n.order-0 {\n order: 0;\n}\n\n.order-1 {\n order: 1;\n}\n\n.order-2 {\n order: 2;\n}\n\n.order-3 {\n order: 3;\n}\n\n.order-4 {\n order: 4;\n}\n\n.order-5 {\n order: 5;\n}\n\n.order-6 {\n order: 6;\n}\n\n.order-7 {\n order: 7;\n}\n\n.order-8 {\n order: 8;\n}\n\n.order-9 {\n order: 9;\n}\n\n.order-10 {\n order: 10;\n}\n\n.order-11 {\n order: 11;\n}\n\n.order-12 {\n order: 12;\n}\n\n.offset-1 {\n margin-left: 8.333333%;\n}\n\n.offset-2 {\n margin-left: 16.666667%;\n}\n\n.offset-3 {\n margin-left: 25%;\n}\n\n.offset-4 {\n margin-left: 33.333333%;\n}\n\n.offset-5 {\n margin-left: 41.666667%;\n}\n\n.offset-6 {\n margin-left: 50%;\n}\n\n.offset-7 {\n margin-left: 58.333333%;\n}\n\n.offset-8 {\n margin-left: 66.666667%;\n}\n\n.offset-9 {\n margin-left: 75%;\n}\n\n.offset-10 {\n margin-left: 83.333333%;\n}\n\n.offset-11 {\n margin-left: 91.666667%;\n}\n\n@media (min-width: 576px) {\n .col-sm {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col-sm-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n .col-sm-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n }\n .col-sm-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n }\n .col-sm-3 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .col-sm-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n }\n .col-sm-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n }\n .col-sm-6 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .col-sm-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n }\n .col-sm-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n }\n .col-sm-9 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .col-sm-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n }\n .col-sm-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n }\n .col-sm-12 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .order-sm-first {\n order: -1;\n }\n .order-sm-last {\n order: 13;\n }\n .order-sm-0 {\n order: 0;\n }\n .order-sm-1 {\n order: 1;\n }\n .order-sm-2 {\n order: 2;\n }\n .order-sm-3 {\n order: 3;\n }\n .order-sm-4 {\n order: 4;\n }\n .order-sm-5 {\n order: 5;\n }\n .order-sm-6 {\n order: 6;\n }\n .order-sm-7 {\n order: 7;\n }\n .order-sm-8 {\n order: 8;\n }\n .order-sm-9 {\n order: 9;\n }\n .order-sm-10 {\n order: 10;\n }\n .order-sm-11 {\n order: 11;\n }\n .order-sm-12 {\n order: 12;\n }\n .offset-sm-0 {\n margin-left: 0;\n }\n .offset-sm-1 {\n margin-left: 8.333333%;\n }\n .offset-sm-2 {\n margin-left: 16.666667%;\n }\n .offset-sm-3 {\n margin-left: 25%;\n }\n .offset-sm-4 {\n margin-left: 33.333333%;\n }\n .offset-sm-5 {\n margin-left: 41.666667%;\n }\n .offset-sm-6 {\n margin-left: 50%;\n }\n .offset-sm-7 {\n margin-left: 58.333333%;\n }\n .offset-sm-8 {\n margin-left: 66.666667%;\n }\n .offset-sm-9 {\n margin-left: 75%;\n }\n .offset-sm-10 {\n margin-left: 83.333333%;\n }\n .offset-sm-11 {\n margin-left: 91.666667%;\n }\n}\n\n@media (min-width: 768px) {\n .col-md {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col-md-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n .col-md-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n }\n .col-md-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n }\n .col-md-3 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .col-md-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n }\n .col-md-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n }\n .col-md-6 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .col-md-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n }\n .col-md-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n }\n .col-md-9 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .col-md-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n }\n .col-md-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n }\n .col-md-12 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .order-md-first {\n order: -1;\n }\n .order-md-last {\n order: 13;\n }\n .order-md-0 {\n order: 0;\n }\n .order-md-1 {\n order: 1;\n }\n .order-md-2 {\n order: 2;\n }\n .order-md-3 {\n order: 3;\n }\n .order-md-4 {\n order: 4;\n }\n .order-md-5 {\n order: 5;\n }\n .order-md-6 {\n order: 6;\n }\n .order-md-7 {\n order: 7;\n }\n .order-md-8 {\n order: 8;\n }\n .order-md-9 {\n order: 9;\n }\n .order-md-10 {\n order: 10;\n }\n .order-md-11 {\n order: 11;\n }\n .order-md-12 {\n order: 12;\n }\n .offset-md-0 {\n margin-left: 0;\n }\n .offset-md-1 {\n margin-left: 8.333333%;\n }\n .offset-md-2 {\n margin-left: 16.666667%;\n }\n .offset-md-3 {\n margin-left: 25%;\n }\n .offset-md-4 {\n margin-left: 33.333333%;\n }\n .offset-md-5 {\n margin-left: 41.666667%;\n }\n .offset-md-6 {\n margin-left: 50%;\n }\n .offset-md-7 {\n margin-left: 58.333333%;\n }\n .offset-md-8 {\n margin-left: 66.666667%;\n }\n .offset-md-9 {\n margin-left: 75%;\n }\n .offset-md-10 {\n margin-left: 83.333333%;\n }\n .offset-md-11 {\n margin-left: 91.666667%;\n }\n}\n\n@media (min-width: 992px) {\n .col-lg {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col-lg-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n .col-lg-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n }\n .col-lg-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n }\n .col-lg-3 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .col-lg-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n }\n .col-lg-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n }\n .col-lg-6 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .col-lg-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n }\n .col-lg-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n }\n .col-lg-9 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .col-lg-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n }\n .col-lg-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n }\n .col-lg-12 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .order-lg-first {\n order: -1;\n }\n .order-lg-last {\n order: 13;\n }\n .order-lg-0 {\n order: 0;\n }\n .order-lg-1 {\n order: 1;\n }\n .order-lg-2 {\n order: 2;\n }\n .order-lg-3 {\n order: 3;\n }\n .order-lg-4 {\n order: 4;\n }\n .order-lg-5 {\n order: 5;\n }\n .order-lg-6 {\n order: 6;\n }\n .order-lg-7 {\n order: 7;\n }\n .order-lg-8 {\n order: 8;\n }\n .order-lg-9 {\n order: 9;\n }\n .order-lg-10 {\n order: 10;\n }\n .order-lg-11 {\n order: 11;\n }\n .order-lg-12 {\n order: 12;\n }\n .offset-lg-0 {\n margin-left: 0;\n }\n .offset-lg-1 {\n margin-left: 8.333333%;\n }\n .offset-lg-2 {\n margin-left: 16.666667%;\n }\n .offset-lg-3 {\n margin-left: 25%;\n }\n .offset-lg-4 {\n margin-left: 33.333333%;\n }\n .offset-lg-5 {\n margin-left: 41.666667%;\n }\n .offset-lg-6 {\n margin-left: 50%;\n }\n .offset-lg-7 {\n margin-left: 58.333333%;\n }\n .offset-lg-8 {\n margin-left: 66.666667%;\n }\n .offset-lg-9 {\n margin-left: 75%;\n }\n .offset-lg-10 {\n margin-left: 83.333333%;\n }\n .offset-lg-11 {\n margin-left: 91.666667%;\n }\n}\n\n@media (min-width: 1200px) {\n .col-xl {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col-xl-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n .col-xl-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n }\n .col-xl-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n }\n .col-xl-3 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .col-xl-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n }\n .col-xl-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n }\n .col-xl-6 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .col-xl-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n }\n .col-xl-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n }\n .col-xl-9 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .col-xl-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n }\n .col-xl-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n }\n .col-xl-12 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .order-xl-first {\n order: -1;\n }\n .order-xl-last {\n order: 13;\n }\n .order-xl-0 {\n order: 0;\n }\n .order-xl-1 {\n order: 1;\n }\n .order-xl-2 {\n order: 2;\n }\n .order-xl-3 {\n order: 3;\n }\n .order-xl-4 {\n order: 4;\n }\n .order-xl-5 {\n order: 5;\n }\n .order-xl-6 {\n order: 6;\n }\n .order-xl-7 {\n order: 7;\n }\n .order-xl-8 {\n order: 8;\n }\n .order-xl-9 {\n order: 9;\n }\n .order-xl-10 {\n order: 10;\n }\n .order-xl-11 {\n order: 11;\n }\n .order-xl-12 {\n order: 12;\n }\n .offset-xl-0 {\n margin-left: 0;\n }\n .offset-xl-1 {\n margin-left: 8.333333%;\n }\n .offset-xl-2 {\n margin-left: 16.666667%;\n }\n .offset-xl-3 {\n margin-left: 25%;\n }\n .offset-xl-4 {\n margin-left: 33.333333%;\n }\n .offset-xl-5 {\n margin-left: 41.666667%;\n }\n .offset-xl-6 {\n margin-left: 50%;\n }\n .offset-xl-7 {\n margin-left: 58.333333%;\n }\n .offset-xl-8 {\n margin-left: 66.666667%;\n }\n .offset-xl-9 {\n margin-left: 75%;\n }\n .offset-xl-10 {\n margin-left: 83.333333%;\n }\n .offset-xl-11 {\n margin-left: 91.666667%;\n }\n}\n\n.table {\n width: 100%;\n margin-bottom: 1rem;\n background-color: transparent;\n}\n\n.table th,\n.table td {\n padding: 0.75rem;\n vertical-align: top;\n border-top: 1px solid #c8ced3;\n}\n\n.table thead th {\n vertical-align: bottom;\n border-bottom: 2px solid #c8ced3;\n}\n\n.table tbody + tbody {\n border-top: 2px solid #c8ced3;\n}\n\n.table .table {\n background-color: #e4e5e6;\n}\n\n.table-sm th,\n.table-sm td {\n padding: 0.3rem;\n}\n\n.table-bordered {\n border: 1px solid #c8ced3;\n}\n\n.table-bordered th,\n.table-bordered td {\n border: 1px solid #c8ced3;\n}\n\n.table-bordered thead th,\n.table-bordered thead td {\n border-bottom-width: 2px;\n}\n\n.table-borderless th,\n.table-borderless td,\n.table-borderless thead th,\n.table-borderless tbody + tbody {\n border: 0;\n}\n\n.table-striped tbody tr:nth-of-type(odd) {\n background-color: rgba(0, 0, 0, 0.05);\n}\n\n.table-hover tbody tr:hover {\n background-color: rgba(0, 0, 0, 0.075);\n}\n\n.table-primary,\n.table-primary > th,\n.table-primary > td {\n background-color: #c1e7f4;\n}\n\n.table-hover .table-primary:hover {\n background-color: #abdff0;\n}\n\n.table-hover .table-primary:hover > td,\n.table-hover .table-primary:hover > th {\n background-color: #abdff0;\n}\n\n.table-secondary,\n.table-secondary > th,\n.table-secondary > td {\n background-color: #f0f1f3;\n}\n\n.table-hover .table-secondary:hover {\n background-color: #e2e4e8;\n}\n\n.table-hover .table-secondary:hover > td,\n.table-hover .table-secondary:hover > th {\n background-color: #e2e4e8;\n}\n\n.table-success,\n.table-success > th,\n.table-success > td {\n background-color: #cdedd8;\n}\n\n.table-hover .table-success:hover {\n background-color: #bae6c9;\n}\n\n.table-hover .table-success:hover > td,\n.table-hover .table-success:hover > th {\n background-color: #bae6c9;\n}\n\n.table-info,\n.table-info > th,\n.table-info > td {\n background-color: #d3eef6;\n}\n\n.table-hover .table-info:hover {\n background-color: #bee6f2;\n}\n\n.table-hover .table-info:hover > td,\n.table-hover .table-info:hover > th {\n background-color: #bee6f2;\n}\n\n.table-warning,\n.table-warning > th,\n.table-warning > td {\n background-color: #ffeeba;\n}\n\n.table-hover .table-warning:hover {\n background-color: #ffe8a1;\n}\n\n.table-hover .table-warning:hover > td,\n.table-hover .table-warning:hover > th {\n background-color: #ffe8a1;\n}\n\n.table-danger,\n.table-danger > th,\n.table-danger > td {\n background-color: #fdd6d6;\n}\n\n.table-hover .table-danger:hover {\n background-color: #fcbebe;\n}\n\n.table-hover .table-danger:hover > td,\n.table-hover .table-danger:hover > th {\n background-color: #fcbebe;\n}\n\n.table-light,\n.table-light > th,\n.table-light > td {\n background-color: #fbfcfc;\n}\n\n.table-hover .table-light:hover {\n background-color: #ecf1f1;\n}\n\n.table-hover .table-light:hover > td,\n.table-hover .table-light:hover > th {\n background-color: #ecf1f1;\n}\n\n.table-dark,\n.table-dark > th,\n.table-dark > td {\n background-color: #c5c6c8;\n}\n\n.table-hover .table-dark:hover {\n background-color: #b8b9bc;\n}\n\n.table-hover .table-dark:hover > td,\n.table-hover .table-dark:hover > th {\n background-color: #b8b9bc;\n}\n\n.table-active,\n.table-active > th,\n.table-active > td {\n background-color: rgba(0, 0, 0, 0.075);\n}\n\n.table-hover .table-active:hover {\n background-color: rgba(0, 0, 0, 0.075);\n}\n\n.table-hover .table-active:hover > td,\n.table-hover .table-active:hover > th {\n background-color: rgba(0, 0, 0, 0.075);\n}\n\n.table .thead-dark th {\n color: #e4e5e6;\n background-color: #23282c;\n border-color: #343b41;\n}\n\n.table .thead-light th {\n color: #5c6873;\n background-color: #e4e7ea;\n border-color: #c8ced3;\n}\n\n.table-dark {\n color: #e4e5e6;\n background-color: #23282c;\n}\n\n.table-dark th,\n.table-dark td,\n.table-dark thead th {\n border-color: #343b41;\n}\n\n.table-dark.table-bordered {\n border: 0;\n}\n\n.table-dark.table-striped tbody tr:nth-of-type(odd) {\n background-color: rgba(255, 255, 255, 0.05);\n}\n\n.table-dark.table-hover tbody tr:hover {\n background-color: rgba(255, 255, 255, 0.075);\n}\n\n@media (max-width: 575.98px) {\n .table-responsive-sm {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n .table-responsive-sm > .table-bordered {\n border: 0;\n }\n}\n\n@media (max-width: 767.98px) {\n .table-responsive-md {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n .table-responsive-md > .table-bordered {\n border: 0;\n }\n}\n\n@media (max-width: 991.98px) {\n .table-responsive-lg {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n .table-responsive-lg > .table-bordered {\n border: 0;\n }\n}\n\n@media (max-width: 1199.98px) {\n .table-responsive-xl {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n .table-responsive-xl > .table-bordered {\n border: 0;\n }\n}\n\n.table-responsive {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n\n.table-responsive > .table-bordered {\n border: 0;\n}\n\n.form-control {\n display: block;\n width: 100%;\n height: calc(2.0625rem + 2px);\n padding: 0.375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1.5;\n color: #5c6873;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #e4e7ea;\n border-radius: 0.25rem;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .form-control {\n transition: none;\n }\n}\n\n.form-control::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n\n.form-control:focus {\n color: #5c6873;\n background-color: #fff;\n border-color: #8ad4ee;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.25);\n}\n\n.form-control::placeholder {\n color: #73818f;\n opacity: 1;\n}\n\n.form-control:disabled, .form-control[readonly] {\n background-color: #e4e7ea;\n opacity: 1;\n}\n\nselect.form-control:focus::-ms-value {\n color: #5c6873;\n background-color: #fff;\n}\n\n.form-control-file,\n.form-control-range {\n display: block;\n width: 100%;\n}\n\n.col-form-label {\n padding-top: calc(0.375rem + 1px);\n padding-bottom: calc(0.375rem + 1px);\n margin-bottom: 0;\n font-size: inherit;\n line-height: 1.5;\n}\n\n.col-form-label-lg {\n padding-top: calc(0.5rem + 1px);\n padding-bottom: calc(0.5rem + 1px);\n font-size: 1.09375rem;\n line-height: 1.5;\n}\n\n.col-form-label-sm {\n padding-top: calc(0.25rem + 1px);\n padding-bottom: calc(0.25rem + 1px);\n font-size: 0.765625rem;\n line-height: 1.5;\n}\n\n.form-control-plaintext {\n display: block;\n width: 100%;\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n margin-bottom: 0;\n line-height: 1.5;\n color: #23282c;\n background-color: transparent;\n border: solid transparent;\n border-width: 1px 0;\n}\n\n.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {\n padding-right: 0;\n padding-left: 0;\n}\n\n.form-control-sm {\n height: calc(1.648438rem + 2px);\n padding: 0.25rem 0.5rem;\n font-size: 0.765625rem;\n line-height: 1.5;\n border-radius: 0.2rem;\n}\n\n.form-control-lg {\n height: calc(2.640625rem + 2px);\n padding: 0.5rem 1rem;\n font-size: 1.09375rem;\n line-height: 1.5;\n border-radius: 0.3rem;\n}\n\nselect.form-control[size], select.form-control[multiple] {\n height: auto;\n}\n\ntextarea.form-control {\n height: auto;\n}\n\n.form-group {\n margin-bottom: 1rem;\n}\n\n.form-text {\n display: block;\n margin-top: 0.25rem;\n}\n\n.form-row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -5px;\n margin-left: -5px;\n}\n\n.form-row > .col,\n.form-row > [class*=\"col-\"] {\n padding-right: 5px;\n padding-left: 5px;\n}\n\n.form-check {\n position: relative;\n display: block;\n padding-left: 1.25rem;\n}\n\n.form-check-input {\n position: absolute;\n margin-top: 0.3rem;\n margin-left: -1.25rem;\n}\n\n.form-check-input:disabled ~ .form-check-label {\n color: #73818f;\n}\n\n.form-check-label {\n margin-bottom: 0;\n}\n\n.form-check-inline {\n display: inline-flex;\n align-items: center;\n padding-left: 0;\n margin-right: 0.75rem;\n}\n\n.form-check-inline .form-check-input {\n position: static;\n margin-top: 0;\n margin-right: 0.3125rem;\n margin-left: 0;\n}\n\n.valid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.25rem;\n font-size: 80%;\n color: #4dbd74;\n}\n\n.valid-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%;\n padding: 0.25rem 0.5rem;\n margin-top: .1rem;\n font-size: 0.765625rem;\n line-height: 1.5;\n color: #fff;\n background-color: rgba(77, 189, 116, 0.9);\n border-radius: 0.25rem;\n}\n\n.was-validated .form-control:valid, .form-control.is-valid, .was-validated\n.custom-select:valid,\n.custom-select.is-valid {\n border-color: #4dbd74;\n}\n\n.was-validated .form-control:valid:focus, .form-control.is-valid:focus, .was-validated\n.custom-select:valid:focus,\n.custom-select.is-valid:focus {\n border-color: #4dbd74;\n box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.25);\n}\n\n.was-validated .form-control:valid ~ .valid-feedback,\n.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback,\n.form-control.is-valid ~ .valid-tooltip, .was-validated\n.custom-select:valid ~ .valid-feedback,\n.was-validated\n.custom-select:valid ~ .valid-tooltip,\n.custom-select.is-valid ~ .valid-feedback,\n.custom-select.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .form-control-file:valid ~ .valid-feedback,\n.was-validated .form-control-file:valid ~ .valid-tooltip, .form-control-file.is-valid ~ .valid-feedback,\n.form-control-file.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {\n color: #4dbd74;\n}\n\n.was-validated .form-check-input:valid ~ .valid-feedback,\n.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback,\n.form-check-input.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label {\n color: #4dbd74;\n}\n\n.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {\n background-color: #aadfbd;\n}\n\n.was-validated .custom-control-input:valid ~ .valid-feedback,\n.was-validated .custom-control-input:valid ~ .valid-tooltip, .custom-control-input.is-valid ~ .valid-feedback,\n.custom-control-input.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before {\n background-color: #72cb91;\n}\n\n.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before {\n box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(77, 189, 116, 0.25);\n}\n\n.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label {\n border-color: #4dbd74;\n}\n\n.was-validated .custom-file-input:valid ~ .custom-file-label::after, .custom-file-input.is-valid ~ .custom-file-label::after {\n border-color: inherit;\n}\n\n.was-validated .custom-file-input:valid ~ .valid-feedback,\n.was-validated .custom-file-input:valid ~ .valid-tooltip, .custom-file-input.is-valid ~ .valid-feedback,\n.custom-file-input.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label {\n box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.25);\n}\n\n.invalid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.25rem;\n font-size: 80%;\n color: #f86c6b;\n}\n\n.invalid-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%;\n padding: 0.25rem 0.5rem;\n margin-top: .1rem;\n font-size: 0.765625rem;\n line-height: 1.5;\n color: #fff;\n background-color: rgba(248, 108, 107, 0.9);\n border-radius: 0.25rem;\n}\n\n.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated\n.custom-select:invalid,\n.custom-select.is-invalid {\n border-color: #f86c6b;\n}\n\n.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus, .was-validated\n.custom-select:invalid:focus,\n.custom-select.is-invalid:focus {\n border-color: #f86c6b;\n box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.25);\n}\n\n.was-validated .form-control:invalid ~ .invalid-feedback,\n.was-validated .form-control:invalid ~ .invalid-tooltip, .form-control.is-invalid ~ .invalid-feedback,\n.form-control.is-invalid ~ .invalid-tooltip, .was-validated\n.custom-select:invalid ~ .invalid-feedback,\n.was-validated\n.custom-select:invalid ~ .invalid-tooltip,\n.custom-select.is-invalid ~ .invalid-feedback,\n.custom-select.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .form-control-file:invalid ~ .invalid-feedback,\n.was-validated .form-control-file:invalid ~ .invalid-tooltip, .form-control-file.is-invalid ~ .invalid-feedback,\n.form-control-file.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {\n color: #f86c6b;\n}\n\n.was-validated .form-check-input:invalid ~ .invalid-feedback,\n.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback,\n.form-check-input.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label {\n color: #f86c6b;\n}\n\n.was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before {\n background-color: #fee5e5;\n}\n\n.was-validated .custom-control-input:invalid ~ .invalid-feedback,\n.was-validated .custom-control-input:invalid ~ .invalid-tooltip, .custom-control-input.is-invalid ~ .invalid-feedback,\n.custom-control-input.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before {\n background-color: #fa9c9c;\n}\n\n.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before {\n box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(248, 108, 107, 0.25);\n}\n\n.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label {\n border-color: #f86c6b;\n}\n\n.was-validated .custom-file-input:invalid ~ .custom-file-label::after, .custom-file-input.is-invalid ~ .custom-file-label::after {\n border-color: inherit;\n}\n\n.was-validated .custom-file-input:invalid ~ .invalid-feedback,\n.was-validated .custom-file-input:invalid ~ .invalid-tooltip, .custom-file-input.is-invalid ~ .invalid-feedback,\n.custom-file-input.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label {\n box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.25);\n}\n\n.form-inline {\n display: flex;\n flex-flow: row wrap;\n align-items: center;\n}\n\n.form-inline .form-check {\n width: 100%;\n}\n\n@media (min-width: 576px) {\n .form-inline label {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 0;\n }\n .form-inline .form-group {\n display: flex;\n flex: 0 0 auto;\n flex-flow: row wrap;\n align-items: center;\n margin-bottom: 0;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-plaintext {\n display: inline-block;\n }\n .form-inline .input-group,\n .form-inline .custom-select {\n width: auto;\n }\n .form-inline .form-check {\n display: flex;\n align-items: center;\n justify-content: center;\n width: auto;\n padding-left: 0;\n }\n .form-inline .form-check-input {\n position: relative;\n margin-top: 0;\n margin-right: 0.25rem;\n margin-left: 0;\n }\n .form-inline .custom-control {\n align-items: center;\n justify-content: center;\n }\n .form-inline .custom-control-label {\n margin-bottom: 0;\n }\n}\n\n.btn {\n display: inline-block;\n font-weight: 400;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n user-select: none;\n border: 1px solid transparent;\n padding: 0.375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1.5;\n border-radius: 0.25rem;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .btn {\n transition: none;\n }\n}\n\n.btn:hover, .btn:focus {\n text-decoration: none;\n}\n\n.btn:focus, .btn.focus {\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.25);\n}\n\n.btn.disabled, .btn:disabled {\n opacity: 0.65;\n}\n\n.btn:not(:disabled):not(.disabled) {\n cursor: pointer;\n}\n\na.btn.disabled,\nfieldset:disabled a.btn {\n pointer-events: none;\n}\n\n.btn-primary {\n color: #fff;\n background-color: #20a8d8;\n border-color: #20a8d8;\n}\n\n.btn-primary:hover {\n color: #fff;\n background-color: #1b8eb7;\n border-color: #1985ac;\n}\n\n.btn-primary:focus, .btn-primary.focus {\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5);\n}\n\n.btn-primary.disabled, .btn-primary:disabled {\n color: #fff;\n background-color: #20a8d8;\n border-color: #20a8d8;\n}\n\n.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,\n.show > .btn-primary.dropdown-toggle {\n color: #fff;\n background-color: #1985ac;\n border-color: #187da0;\n}\n\n.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-primary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5);\n}\n\n.btn-secondary {\n color: #23282c;\n background-color: #c8ced3;\n border-color: #c8ced3;\n}\n\n.btn-secondary:hover {\n color: #23282c;\n background-color: #b3bbc2;\n border-color: #acb5bc;\n}\n\n.btn-secondary:focus, .btn-secondary.focus {\n box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5);\n}\n\n.btn-secondary.disabled, .btn-secondary:disabled {\n color: #23282c;\n background-color: #c8ced3;\n border-color: #c8ced3;\n}\n\n.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,\n.show > .btn-secondary.dropdown-toggle {\n color: #23282c;\n background-color: #acb5bc;\n border-color: #a5aeb7;\n}\n\n.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-secondary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5);\n}\n\n.btn-success {\n color: #fff;\n background-color: #4dbd74;\n border-color: #4dbd74;\n}\n\n.btn-success:hover {\n color: #fff;\n background-color: #3ea662;\n border-color: #3a9d5d;\n}\n\n.btn-success:focus, .btn-success.focus {\n box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5);\n}\n\n.btn-success.disabled, .btn-success:disabled {\n color: #fff;\n background-color: #4dbd74;\n border-color: #4dbd74;\n}\n\n.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,\n.show > .btn-success.dropdown-toggle {\n color: #fff;\n background-color: #3a9d5d;\n border-color: #379457;\n}\n\n.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,\n.show > .btn-success.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5);\n}\n\n.btn-info {\n color: #23282c;\n background-color: #63c2de;\n border-color: #63c2de;\n}\n\n.btn-info:hover {\n color: #23282c;\n background-color: #43b6d7;\n border-color: #39b2d5;\n}\n\n.btn-info:focus, .btn-info.focus {\n box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5);\n}\n\n.btn-info.disabled, .btn-info:disabled {\n color: #23282c;\n background-color: #63c2de;\n border-color: #63c2de;\n}\n\n.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,\n.show > .btn-info.dropdown-toggle {\n color: #fff;\n background-color: #39b2d5;\n border-color: #2eadd3;\n}\n\n.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,\n.show > .btn-info.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5);\n}\n\n.btn-warning {\n color: #23282c;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-warning:hover {\n color: #23282c;\n background-color: #e0a800;\n border-color: #d39e00;\n}\n\n.btn-warning:focus, .btn-warning.focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-warning.disabled, .btn-warning:disabled {\n color: #23282c;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,\n.show > .btn-warning.dropdown-toggle {\n color: #23282c;\n background-color: #d39e00;\n border-color: #c69500;\n}\n\n.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,\n.show > .btn-warning.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-danger {\n color: #fff;\n background-color: #f86c6b;\n border-color: #f86c6b;\n}\n\n.btn-danger:hover {\n color: #fff;\n background-color: #f64846;\n border-color: #f63c3a;\n}\n\n.btn-danger:focus, .btn-danger.focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5);\n}\n\n.btn-danger.disabled, .btn-danger:disabled {\n color: #fff;\n background-color: #f86c6b;\n border-color: #f86c6b;\n}\n\n.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,\n.show > .btn-danger.dropdown-toggle {\n color: #fff;\n background-color: #f63c3a;\n border-color: #f5302e;\n}\n\n.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,\n.show > .btn-danger.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5);\n}\n\n.btn-light {\n color: #23282c;\n background-color: #f0f3f5;\n border-color: #f0f3f5;\n}\n\n.btn-light:hover {\n color: #23282c;\n background-color: #d9e1e6;\n border-color: #d1dbe1;\n}\n\n.btn-light:focus, .btn-light.focus {\n box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5);\n}\n\n.btn-light.disabled, .btn-light:disabled {\n color: #23282c;\n background-color: #f0f3f5;\n border-color: #f0f3f5;\n}\n\n.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,\n.show > .btn-light.dropdown-toggle {\n color: #23282c;\n background-color: #d1dbe1;\n border-color: #cad4dc;\n}\n\n.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,\n.show > .btn-light.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5);\n}\n\n.btn-dark {\n color: #fff;\n background-color: #2f353a;\n border-color: #2f353a;\n}\n\n.btn-dark:hover {\n color: #fff;\n background-color: #1e2225;\n border-color: #181b1e;\n}\n\n.btn-dark:focus, .btn-dark.focus {\n box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5);\n}\n\n.btn-dark.disabled, .btn-dark:disabled {\n color: #fff;\n background-color: #2f353a;\n border-color: #2f353a;\n}\n\n.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,\n.show > .btn-dark.dropdown-toggle {\n color: #fff;\n background-color: #181b1e;\n border-color: #121517;\n}\n\n.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,\n.show > .btn-dark.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5);\n}\n\n.btn-outline-primary {\n color: #20a8d8;\n background-color: transparent;\n background-image: none;\n border-color: #20a8d8;\n}\n\n.btn-outline-primary:hover {\n color: #fff;\n background-color: #20a8d8;\n border-color: #20a8d8;\n}\n\n.btn-outline-primary:focus, .btn-outline-primary.focus {\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5);\n}\n\n.btn-outline-primary.disabled, .btn-outline-primary:disabled {\n color: #20a8d8;\n background-color: transparent;\n}\n\n.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,\n.show > .btn-outline-primary.dropdown-toggle {\n color: #fff;\n background-color: #20a8d8;\n border-color: #20a8d8;\n}\n\n.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-primary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5);\n}\n\n.btn-outline-secondary {\n color: #c8ced3;\n background-color: transparent;\n background-image: none;\n border-color: #c8ced3;\n}\n\n.btn-outline-secondary:hover {\n color: #23282c;\n background-color: #c8ced3;\n border-color: #c8ced3;\n}\n\n.btn-outline-secondary:focus, .btn-outline-secondary.focus {\n box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5);\n}\n\n.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {\n color: #c8ced3;\n background-color: transparent;\n}\n\n.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,\n.show > .btn-outline-secondary.dropdown-toggle {\n color: #23282c;\n background-color: #c8ced3;\n border-color: #c8ced3;\n}\n\n.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-secondary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5);\n}\n\n.btn-outline-success {\n color: #4dbd74;\n background-color: transparent;\n background-image: none;\n border-color: #4dbd74;\n}\n\n.btn-outline-success:hover {\n color: #fff;\n background-color: #4dbd74;\n border-color: #4dbd74;\n}\n\n.btn-outline-success:focus, .btn-outline-success.focus {\n box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5);\n}\n\n.btn-outline-success.disabled, .btn-outline-success:disabled {\n color: #4dbd74;\n background-color: transparent;\n}\n\n.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active,\n.show > .btn-outline-success.dropdown-toggle {\n color: #fff;\n background-color: #4dbd74;\n border-color: #4dbd74;\n}\n\n.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-success.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5);\n}\n\n.btn-outline-info {\n color: #63c2de;\n background-color: transparent;\n background-image: none;\n border-color: #63c2de;\n}\n\n.btn-outline-info:hover {\n color: #23282c;\n background-color: #63c2de;\n border-color: #63c2de;\n}\n\n.btn-outline-info:focus, .btn-outline-info.focus {\n box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5);\n}\n\n.btn-outline-info.disabled, .btn-outline-info:disabled {\n color: #63c2de;\n background-color: transparent;\n}\n\n.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active,\n.show > .btn-outline-info.dropdown-toggle {\n color: #23282c;\n background-color: #63c2de;\n border-color: #63c2de;\n}\n\n.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-info.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5);\n}\n\n.btn-outline-warning {\n color: #ffc107;\n background-color: transparent;\n background-image: none;\n border-color: #ffc107;\n}\n\n.btn-outline-warning:hover {\n color: #23282c;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-outline-warning:focus, .btn-outline-warning.focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-outline-warning.disabled, .btn-outline-warning:disabled {\n color: #ffc107;\n background-color: transparent;\n}\n\n.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active,\n.show > .btn-outline-warning.dropdown-toggle {\n color: #23282c;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-warning.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-outline-danger {\n color: #f86c6b;\n background-color: transparent;\n background-image: none;\n border-color: #f86c6b;\n}\n\n.btn-outline-danger:hover {\n color: #fff;\n background-color: #f86c6b;\n border-color: #f86c6b;\n}\n\n.btn-outline-danger:focus, .btn-outline-danger.focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5);\n}\n\n.btn-outline-danger.disabled, .btn-outline-danger:disabled {\n color: #f86c6b;\n background-color: transparent;\n}\n\n.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active,\n.show > .btn-outline-danger.dropdown-toggle {\n color: #fff;\n background-color: #f86c6b;\n border-color: #f86c6b;\n}\n\n.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-danger.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5);\n}\n\n.btn-outline-light {\n color: #f0f3f5;\n background-color: transparent;\n background-image: none;\n border-color: #f0f3f5;\n}\n\n.btn-outline-light:hover {\n color: #23282c;\n background-color: #f0f3f5;\n border-color: #f0f3f5;\n}\n\n.btn-outline-light:focus, .btn-outline-light.focus {\n box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5);\n}\n\n.btn-outline-light.disabled, .btn-outline-light:disabled {\n color: #f0f3f5;\n background-color: transparent;\n}\n\n.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active,\n.show > .btn-outline-light.dropdown-toggle {\n color: #23282c;\n background-color: #f0f3f5;\n border-color: #f0f3f5;\n}\n\n.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-light.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5);\n}\n\n.btn-outline-dark {\n color: #2f353a;\n background-color: transparent;\n background-image: none;\n border-color: #2f353a;\n}\n\n.btn-outline-dark:hover {\n color: #fff;\n background-color: #2f353a;\n border-color: #2f353a;\n}\n\n.btn-outline-dark:focus, .btn-outline-dark.focus {\n box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5);\n}\n\n.btn-outline-dark.disabled, .btn-outline-dark:disabled {\n color: #2f353a;\n background-color: transparent;\n}\n\n.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active,\n.show > .btn-outline-dark.dropdown-toggle {\n color: #fff;\n background-color: #2f353a;\n border-color: #2f353a;\n}\n\n.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-dark.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5);\n}\n\n.btn-link {\n font-weight: 400;\n color: #20a8d8;\n background-color: transparent;\n}\n\n.btn-link:hover {\n color: #167495;\n text-decoration: underline;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-link:focus, .btn-link.focus {\n text-decoration: underline;\n border-color: transparent;\n box-shadow: none;\n}\n\n.btn-link:disabled, .btn-link.disabled {\n color: #73818f;\n pointer-events: none;\n}\n\n.btn-lg, .btn-group-lg > .btn {\n padding: 0.5rem 1rem;\n font-size: 1.09375rem;\n line-height: 1.5;\n border-radius: 0.3rem;\n}\n\n.btn-sm, .btn-group-sm > .btn {\n padding: 0.25rem 0.5rem;\n font-size: 0.765625rem;\n line-height: 1.5;\n border-radius: 0.2rem;\n}\n\n.btn-block {\n display: block;\n width: 100%;\n}\n\n.btn-block + .btn-block {\n margin-top: 0.5rem;\n}\n\ninput[type=\"submit\"].btn-block,\ninput[type=\"reset\"].btn-block,\ninput[type=\"button\"].btn-block {\n width: 100%;\n}\n\n.fade {\n transition: opacity 0.15s linear;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .fade {\n transition: none;\n }\n}\n\n.fade:not(.show) {\n opacity: 0;\n}\n\n.collapse:not(.show) {\n display: none;\n}\n\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n transition: height 0.35s ease;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .collapsing {\n transition: none;\n }\n}\n\n.dropup,\n.dropright,\n.dropdown,\n.dropleft {\n position: relative;\n}\n\n.dropdown-toggle::after {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid;\n border-right: 0.3em solid transparent;\n border-bottom: 0;\n border-left: 0.3em solid transparent;\n}\n\n.dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 10rem;\n padding: 0 0;\n margin: 0.125rem 0 0;\n font-size: 0.875rem;\n color: #23282c;\n text-align: left;\n list-style: none;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #c8ced3;\n border-radius: 0.25rem;\n}\n\n.dropdown-menu-right {\n right: 0;\n left: auto;\n}\n\n.dropup .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-top: 0;\n margin-bottom: 0.125rem;\n}\n\n.dropup .dropdown-toggle::after {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0;\n border-right: 0.3em solid transparent;\n border-bottom: 0.3em solid;\n border-left: 0.3em solid transparent;\n}\n\n.dropup .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropright .dropdown-menu {\n top: 0;\n right: auto;\n left: 100%;\n margin-top: 0;\n margin-left: 0.125rem;\n}\n\n.dropright .dropdown-toggle::after {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid transparent;\n border-right: 0;\n border-bottom: 0.3em solid transparent;\n border-left: 0.3em solid;\n}\n\n.dropright .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropright .dropdown-toggle::after {\n vertical-align: 0;\n}\n\n.dropleft .dropdown-menu {\n top: 0;\n right: 100%;\n left: auto;\n margin-top: 0;\n margin-right: 0.125rem;\n}\n\n.dropleft .dropdown-toggle::after {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n}\n\n.dropleft .dropdown-toggle::after {\n display: none;\n}\n\n.dropleft .dropdown-toggle::before {\n display: inline-block;\n width: 0;\n height: 0;\n margin-right: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid transparent;\n border-right: 0.3em solid;\n border-bottom: 0.3em solid transparent;\n}\n\n.dropleft .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropleft .dropdown-toggle::before {\n vertical-align: 0;\n}\n\n.dropdown-menu[x-placement^=\"top\"], .dropdown-menu[x-placement^=\"right\"], .dropdown-menu[x-placement^=\"bottom\"], .dropdown-menu[x-placement^=\"left\"] {\n right: auto;\n bottom: auto;\n}\n\n.dropdown-divider {\n height: 0;\n margin: 0.5rem 0;\n overflow: hidden;\n border-top: 1px solid #e4e7ea;\n}\n\n.dropdown-item {\n display: block;\n width: 100%;\n padding: 0.25rem 1.5rem;\n clear: both;\n font-weight: 400;\n color: #23282c;\n text-align: inherit;\n white-space: nowrap;\n background-color: transparent;\n border: 0;\n}\n\n.dropdown-item:hover, .dropdown-item:focus {\n color: #181b1e;\n text-decoration: none;\n background-color: #f0f3f5;\n}\n\n.dropdown-item.active, .dropdown-item:active {\n color: #fff;\n text-decoration: none;\n background-color: #20a8d8;\n}\n\n.dropdown-item.disabled, .dropdown-item:disabled {\n color: #73818f;\n background-color: transparent;\n}\n\n.dropdown-menu.show {\n display: block;\n}\n\n.dropdown-header {\n display: block;\n padding: 0 1.5rem;\n margin-bottom: 0;\n font-size: 0.765625rem;\n color: #73818f;\n white-space: nowrap;\n}\n\n.dropdown-item-text {\n display: block;\n padding: 0.25rem 1.5rem;\n color: #23282c;\n}\n\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n}\n\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n flex: 0 1 auto;\n}\n\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover {\n z-index: 1;\n}\n\n.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active,\n.btn-group-vertical > .btn:focus,\n.btn-group-vertical > .btn:active,\n.btn-group-vertical > .btn.active {\n z-index: 1;\n}\n\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group,\n.btn-group-vertical .btn + .btn,\n.btn-group-vertical .btn + .btn-group,\n.btn-group-vertical .btn-group + .btn,\n.btn-group-vertical .btn-group + .btn-group {\n margin-left: -1px;\n}\n\n.btn-toolbar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n}\n\n.btn-toolbar .input-group {\n width: auto;\n}\n\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n\n.btn-group > .btn:not(:last-child):not(.dropdown-toggle),\n.btn-group > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.btn-group > .btn:not(:first-child),\n.btn-group > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.dropdown-toggle-split {\n padding-right: 0.5625rem;\n padding-left: 0.5625rem;\n}\n\n.dropdown-toggle-split::after,\n.dropup .dropdown-toggle-split::after,\n.dropright .dropdown-toggle-split::after {\n margin-left: 0;\n}\n\n.dropleft .dropdown-toggle-split::before {\n margin-right: 0;\n}\n\n.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split {\n padding-right: 0.375rem;\n padding-left: 0.375rem;\n}\n\n.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split {\n padding-right: 0.75rem;\n padding-left: 0.75rem;\n}\n\n.btn-group-vertical {\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n\n.btn-group-vertical .btn,\n.btn-group-vertical .btn-group {\n width: 100%;\n}\n\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n\n.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),\n.btn-group-vertical > .btn-group:not(:last-child) > .btn {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.btn-group-vertical > .btn:not(:first-child),\n.btn-group-vertical > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.btn-group-toggle > .btn,\n.btn-group-toggle > .btn-group > .btn {\n margin-bottom: 0;\n}\n\n.btn-group-toggle > .btn input[type=\"radio\"],\n.btn-group-toggle > .btn input[type=\"checkbox\"],\n.btn-group-toggle > .btn-group > .btn input[type=\"radio\"],\n.btn-group-toggle > .btn-group > .btn input[type=\"checkbox\"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n\n.input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n}\n\n.input-group > .form-control,\n.input-group > .custom-select,\n.input-group > .custom-file {\n position: relative;\n flex: 1 1 auto;\n width: 1%;\n margin-bottom: 0;\n}\n\n.input-group > .form-control + .form-control,\n.input-group > .form-control + .custom-select,\n.input-group > .form-control + .custom-file,\n.input-group > .custom-select + .form-control,\n.input-group > .custom-select + .custom-select,\n.input-group > .custom-select + .custom-file,\n.input-group > .custom-file + .form-control,\n.input-group > .custom-file + .custom-select,\n.input-group > .custom-file + .custom-file {\n margin-left: -1px;\n}\n\n.input-group > .form-control:focus,\n.input-group > .custom-select:focus,\n.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label {\n z-index: 3;\n}\n\n.input-group > .custom-file .custom-file-input:focus {\n z-index: 4;\n}\n\n.input-group > .form-control:not(:last-child),\n.input-group > .custom-select:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group > .form-control:not(:first-child),\n.input-group > .custom-select:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.input-group > .custom-file {\n display: flex;\n align-items: center;\n}\n\n.input-group > .custom-file:not(:last-child) .custom-file-label,\n.input-group > .custom-file:not(:last-child) .custom-file-label::after {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group > .custom-file:not(:first-child) .custom-file-label {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.input-group-prepend,\n.input-group-append {\n display: flex;\n}\n\n.input-group-prepend .btn,\n.input-group-append .btn {\n position: relative;\n z-index: 2;\n}\n\n.input-group-prepend .btn + .btn,\n.input-group-prepend .btn + .input-group-text,\n.input-group-prepend .input-group-text + .input-group-text,\n.input-group-prepend .input-group-text + .btn,\n.input-group-append .btn + .btn,\n.input-group-append .btn + .input-group-text,\n.input-group-append .input-group-text + .input-group-text,\n.input-group-append .input-group-text + .btn {\n margin-left: -1px;\n}\n\n.input-group-prepend {\n margin-right: -1px;\n}\n\n.input-group-append {\n margin-left: -1px;\n}\n\n.input-group-text {\n display: flex;\n align-items: center;\n padding: 0.375rem 0.75rem;\n margin-bottom: 0;\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 1.5;\n color: #5c6873;\n text-align: center;\n white-space: nowrap;\n background-color: #f0f3f5;\n border: 1px solid #e4e7ea;\n border-radius: 0.25rem;\n}\n\n.input-group-text input[type=\"radio\"],\n.input-group-text input[type=\"checkbox\"] {\n margin-top: 0;\n}\n\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-prepend > .input-group-text,\n.input-group-lg > .input-group-append > .input-group-text,\n.input-group-lg > .input-group-prepend > .btn,\n.input-group-lg > .input-group-append > .btn {\n height: calc(2.640625rem + 2px);\n padding: 0.5rem 1rem;\n font-size: 1.09375rem;\n line-height: 1.5;\n border-radius: 0.3rem;\n}\n\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-prepend > .input-group-text,\n.input-group-sm > .input-group-append > .input-group-text,\n.input-group-sm > .input-group-prepend > .btn,\n.input-group-sm > .input-group-append > .btn {\n height: calc(1.648438rem + 2px);\n padding: 0.25rem 0.5rem;\n font-size: 0.765625rem;\n line-height: 1.5;\n border-radius: 0.2rem;\n}\n\n.input-group > .input-group-prepend > .btn,\n.input-group > .input-group-prepend > .input-group-text,\n.input-group > .input-group-append:not(:last-child) > .btn,\n.input-group > .input-group-append:not(:last-child) > .input-group-text,\n.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group > .input-group-append > .btn,\n.input-group > .input-group-append > .input-group-text,\n.input-group > .input-group-prepend:not(:first-child) > .btn,\n.input-group > .input-group-prepend:not(:first-child) > .input-group-text,\n.input-group > .input-group-prepend:first-child > .btn:not(:first-child),\n.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.custom-control {\n position: relative;\n display: block;\n min-height: 1.3125rem;\n padding-left: 1.5rem;\n}\n\n.custom-control-inline {\n display: inline-flex;\n margin-right: 1rem;\n}\n\n.custom-control-input {\n position: absolute;\n z-index: -1;\n opacity: 0;\n}\n\n.custom-control-input:checked ~ .custom-control-label::before {\n color: #fff;\n background-color: #20a8d8;\n}\n\n.custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25);\n}\n\n.custom-control-input:active ~ .custom-control-label::before {\n color: #fff;\n background-color: #b6e4f4;\n}\n\n.custom-control-input:disabled ~ .custom-control-label {\n color: #73818f;\n}\n\n.custom-control-input:disabled ~ .custom-control-label::before {\n background-color: #e4e7ea;\n}\n\n.custom-control-label {\n position: relative;\n margin-bottom: 0;\n}\n\n.custom-control-label::before {\n position: absolute;\n top: 0.15625rem;\n left: -1.5rem;\n display: block;\n width: 1rem;\n height: 1rem;\n pointer-events: none;\n content: \"\";\n user-select: none;\n background-color: #c8ced3;\n}\n\n.custom-control-label::after {\n position: absolute;\n top: 0.15625rem;\n left: -1.5rem;\n display: block;\n width: 1rem;\n height: 1rem;\n content: \"\";\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 50% 50%;\n}\n\n.custom-checkbox .custom-control-label::before {\n border-radius: 0.25rem;\n}\n\n.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #20a8d8;\n}\n\n.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E\");\n}\n\n.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {\n background-color: #20a8d8;\n}\n\n.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E\");\n}\n\n.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(32, 168, 216, 0.5);\n}\n\n.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {\n background-color: rgba(32, 168, 216, 0.5);\n}\n\n.custom-radio .custom-control-label::before {\n border-radius: 50%;\n}\n\n.custom-radio .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #20a8d8;\n}\n\n.custom-radio .custom-control-input:checked ~ .custom-control-label::after {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E\");\n}\n\n.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(32, 168, 216, 0.5);\n}\n\n.custom-select {\n display: inline-block;\n width: 100%;\n height: calc(2.0625rem + 2px);\n padding: 0.375rem 1.75rem 0.375rem 0.75rem;\n line-height: 1.5;\n color: #5c6873;\n vertical-align: middle;\n background: #fff url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%232f353a' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E\") no-repeat right 0.75rem center;\n background-size: 8px 10px;\n border: 1px solid #e4e7ea;\n border-radius: 0.25rem;\n appearance: none;\n}\n\n.custom-select:focus {\n border-color: #8ad4ee;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(138, 212, 238, 0.5);\n}\n\n.custom-select:focus::-ms-value {\n color: #5c6873;\n background-color: #fff;\n}\n\n.custom-select[multiple], .custom-select[size]:not([size=\"1\"]) {\n height: auto;\n padding-right: 0.75rem;\n background-image: none;\n}\n\n.custom-select:disabled {\n color: #73818f;\n background-color: #e4e7ea;\n}\n\n.custom-select::-ms-expand {\n opacity: 0;\n}\n\n.custom-select-sm {\n height: calc(1.648438rem + 2px);\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n font-size: 75%;\n}\n\n.custom-select-lg {\n height: calc(2.640625rem + 2px);\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n font-size: 125%;\n}\n\n.custom-file {\n position: relative;\n display: inline-block;\n width: 100%;\n height: calc(2.0625rem + 2px);\n margin-bottom: 0;\n}\n\n.custom-file-input {\n position: relative;\n z-index: 2;\n width: 100%;\n height: calc(2.0625rem + 2px);\n margin: 0;\n opacity: 0;\n}\n\n.custom-file-input:focus ~ .custom-file-label {\n border-color: #8ad4ee;\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.25);\n}\n\n.custom-file-input:focus ~ .custom-file-label::after {\n border-color: #8ad4ee;\n}\n\n.custom-file-input:disabled ~ .custom-file-label {\n background-color: #e4e7ea;\n}\n\n.custom-file-input:lang(en) ~ .custom-file-label::after {\n content: \"Browse\";\n}\n\n.custom-file-label {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n z-index: 1;\n height: calc(2.0625rem + 2px);\n padding: 0.375rem 0.75rem;\n line-height: 1.5;\n color: #5c6873;\n background-color: #fff;\n border: 1px solid #e4e7ea;\n border-radius: 0.25rem;\n}\n\n.custom-file-label::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 3;\n display: block;\n height: 2.0625rem;\n padding: 0.375rem 0.75rem;\n line-height: 1.5;\n color: #5c6873;\n content: \"Browse\";\n background-color: #f0f3f5;\n border-left: 1px solid #e4e7ea;\n border-radius: 0 0.25rem 0.25rem 0;\n}\n\n.custom-range {\n width: 100%;\n padding-left: 0;\n background-color: transparent;\n appearance: none;\n}\n\n.custom-range:focus {\n outline: none;\n}\n\n.custom-range:focus::-webkit-slider-thumb {\n box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25);\n}\n\n.custom-range:focus::-moz-range-thumb {\n box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25);\n}\n\n.custom-range:focus::-ms-thumb {\n box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25);\n}\n\n.custom-range::-moz-focus-outer {\n border: 0;\n}\n\n.custom-range::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n background-color: #20a8d8;\n border: 0;\n border-radius: 1rem;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n appearance: none;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .custom-range::-webkit-slider-thumb {\n transition: none;\n }\n}\n\n.custom-range::-webkit-slider-thumb:active {\n background-color: #b6e4f4;\n}\n\n.custom-range::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: #c8ced3;\n border-color: transparent;\n border-radius: 1rem;\n}\n\n.custom-range::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n background-color: #20a8d8;\n border: 0;\n border-radius: 1rem;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n appearance: none;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .custom-range::-moz-range-thumb {\n transition: none;\n }\n}\n\n.custom-range::-moz-range-thumb:active {\n background-color: #b6e4f4;\n}\n\n.custom-range::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: #c8ced3;\n border-color: transparent;\n border-radius: 1rem;\n}\n\n.custom-range::-ms-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: 0;\n margin-right: 0.2rem;\n margin-left: 0.2rem;\n background-color: #20a8d8;\n border: 0;\n border-radius: 1rem;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n appearance: none;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .custom-range::-ms-thumb {\n transition: none;\n }\n}\n\n.custom-range::-ms-thumb:active {\n background-color: #b6e4f4;\n}\n\n.custom-range::-ms-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: transparent;\n border-color: transparent;\n border-width: 0.5rem;\n}\n\n.custom-range::-ms-fill-lower {\n background-color: #c8ced3;\n border-radius: 1rem;\n}\n\n.custom-range::-ms-fill-upper {\n margin-right: 15px;\n background-color: #c8ced3;\n border-radius: 1rem;\n}\n\n.custom-control-label::before,\n.custom-file-label,\n.custom-select {\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .custom-control-label::before,\n .custom-file-label,\n .custom-select {\n transition: none;\n }\n}\n\n.nav {\n display: flex;\n flex-wrap: wrap;\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n\n.nav-link {\n display: block;\n padding: 0.5rem 1rem;\n}\n\n.nav-link:hover, .nav-link:focus {\n text-decoration: none;\n}\n\n.nav-link.disabled {\n color: #73818f;\n}\n\n.nav-tabs {\n border-bottom: 1px solid #c8ced3;\n}\n\n.nav-tabs .nav-item {\n margin-bottom: -1px;\n}\n\n.nav-tabs .nav-link {\n border: 1px solid transparent;\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n}\n\n.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {\n border-color: #e4e7ea #e4e7ea #c8ced3;\n}\n\n.nav-tabs .nav-link.disabled {\n color: #73818f;\n background-color: transparent;\n border-color: transparent;\n}\n\n.nav-tabs .nav-link.active,\n.nav-tabs .nav-item.show .nav-link {\n color: #5c6873;\n background-color: #e4e5e6;\n border-color: #c8ced3 #c8ced3 #e4e5e6;\n}\n\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.nav-pills .nav-link {\n border-radius: 0.25rem;\n}\n\n.nav-pills .nav-link.active,\n.nav-pills .show > .nav-link {\n color: #fff;\n background-color: #20a8d8;\n}\n\n.nav-fill .nav-item {\n flex: 1 1 auto;\n text-align: center;\n}\n\n.nav-justified .nav-item {\n flex-basis: 0;\n flex-grow: 1;\n text-align: center;\n}\n\n.tab-content > .tab-pane {\n display: none;\n}\n\n.tab-content > .active {\n display: block;\n}\n\n.navbar {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n padding: 0.5rem 1rem;\n}\n\n.navbar > .container,\n.navbar > .container-fluid {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n}\n\n.navbar-brand {\n display: inline-block;\n padding-top: 0.335938rem;\n padding-bottom: 0.335938rem;\n margin-right: 1rem;\n font-size: 1.09375rem;\n line-height: inherit;\n white-space: nowrap;\n}\n\n.navbar-brand:hover, .navbar-brand:focus {\n text-decoration: none;\n}\n\n.navbar-nav {\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n\n.navbar-nav .nav-link {\n padding-right: 0;\n padding-left: 0;\n}\n\n.navbar-nav .dropdown-menu {\n position: static;\n float: none;\n}\n\n.navbar-text {\n display: inline-block;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.navbar-collapse {\n flex-basis: 100%;\n flex-grow: 1;\n align-items: center;\n}\n\n.navbar-toggler {\n padding: 0.25rem 0.75rem;\n font-size: 1.09375rem;\n line-height: 1;\n background-color: transparent;\n border: 1px solid transparent;\n border-radius: 0.25rem;\n}\n\n.navbar-toggler:hover, .navbar-toggler:focus {\n text-decoration: none;\n}\n\n.navbar-toggler:not(:disabled):not(.disabled) {\n cursor: pointer;\n}\n\n.navbar-toggler-icon {\n display: inline-block;\n width: 1.5em;\n height: 1.5em;\n vertical-align: middle;\n content: \"\";\n background: no-repeat center center;\n background-size: 100% 100%;\n}\n\n@media (max-width: 575.98px) {\n .navbar-expand-sm > .container,\n .navbar-expand-sm > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n@media (min-width: 576px) {\n .navbar-expand-sm {\n flex-flow: row nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-sm .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-sm .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-sm .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n }\n .navbar-expand-sm > .container,\n .navbar-expand-sm > .container-fluid {\n flex-wrap: nowrap;\n }\n .navbar-expand-sm .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-sm .navbar-toggler {\n display: none;\n }\n}\n\n@media (max-width: 767.98px) {\n .navbar-expand-md > .container,\n .navbar-expand-md > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n@media (min-width: 768px) {\n .navbar-expand-md {\n flex-flow: row nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-md .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-md .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-md .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n }\n .navbar-expand-md > .container,\n .navbar-expand-md > .container-fluid {\n flex-wrap: nowrap;\n }\n .navbar-expand-md .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-md .navbar-toggler {\n display: none;\n }\n}\n\n@media (max-width: 991.98px) {\n .navbar-expand-lg > .container,\n .navbar-expand-lg > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n@media (min-width: 992px) {\n .navbar-expand-lg {\n flex-flow: row nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-lg .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-lg .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-lg .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n }\n .navbar-expand-lg > .container,\n .navbar-expand-lg > .container-fluid {\n flex-wrap: nowrap;\n }\n .navbar-expand-lg .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-lg .navbar-toggler {\n display: none;\n }\n}\n\n@media (max-width: 1199.98px) {\n .navbar-expand-xl > .container,\n .navbar-expand-xl > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n@media (min-width: 1200px) {\n .navbar-expand-xl {\n flex-flow: row nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-xl .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-xl .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-xl .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n }\n .navbar-expand-xl > .container,\n .navbar-expand-xl > .container-fluid {\n flex-wrap: nowrap;\n }\n .navbar-expand-xl .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-xl .navbar-toggler {\n display: none;\n }\n}\n\n.navbar-expand {\n flex-flow: row nowrap;\n justify-content: flex-start;\n}\n\n.navbar-expand > .container,\n.navbar-expand > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n}\n\n.navbar-expand .navbar-nav {\n flex-direction: row;\n}\n\n.navbar-expand .navbar-nav .dropdown-menu {\n position: absolute;\n}\n\n.navbar-expand .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n}\n\n.navbar-expand > .container,\n.navbar-expand > .container-fluid {\n flex-wrap: nowrap;\n}\n\n.navbar-expand .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n}\n\n.navbar-expand .navbar-toggler {\n display: none;\n}\n\n.navbar-light .navbar-brand {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-light .navbar-nav .nav-link {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {\n color: rgba(0, 0, 0, 0.7);\n}\n\n.navbar-light .navbar-nav .nav-link.disabled {\n color: rgba(0, 0, 0, 0.3);\n}\n\n.navbar-light .navbar-nav .show > .nav-link,\n.navbar-light .navbar-nav .active > .nav-link,\n.navbar-light .navbar-nav .nav-link.show,\n.navbar-light .navbar-nav .nav-link.active {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-light .navbar-toggler {\n color: rgba(0, 0, 0, 0.5);\n border-color: rgba(0, 0, 0, 0.1);\n}\n\n.navbar-light .navbar-toggler-icon {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\");\n}\n\n.navbar-light .navbar-text {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.navbar-light .navbar-text a {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-dark .navbar-brand {\n color: #fff;\n}\n\n.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus {\n color: #fff;\n}\n\n.navbar-dark .navbar-nav .nav-link {\n color: rgba(255, 255, 255, 0.5);\n}\n\n.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {\n color: rgba(255, 255, 255, 0.75);\n}\n\n.navbar-dark .navbar-nav .nav-link.disabled {\n color: rgba(255, 255, 255, 0.25);\n}\n\n.navbar-dark .navbar-nav .show > .nav-link,\n.navbar-dark .navbar-nav .active > .nav-link,\n.navbar-dark .navbar-nav .nav-link.show,\n.navbar-dark .navbar-nav .nav-link.active {\n color: #fff;\n}\n\n.navbar-dark .navbar-toggler {\n color: rgba(255, 255, 255, 0.5);\n border-color: rgba(255, 255, 255, 0.1);\n}\n\n.navbar-dark .navbar-toggler-icon {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\");\n}\n\n.navbar-dark .navbar-text {\n color: rgba(255, 255, 255, 0.5);\n}\n\n.navbar-dark .navbar-text a {\n color: #fff;\n}\n\n.navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus {\n color: #fff;\n}\n\n.card {\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n word-wrap: break-word;\n background-color: #fff;\n background-clip: border-box;\n border: 1px solid #c8ced3;\n border-radius: 0.25rem;\n}\n\n.card > hr {\n margin-right: 0;\n margin-left: 0;\n}\n\n.card > .list-group:first-child .list-group-item:first-child {\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n}\n\n.card > .list-group:last-child .list-group-item:last-child {\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n}\n\n.card-body {\n flex: 1 1 auto;\n padding: 1.25rem;\n}\n\n.card-title {\n margin-bottom: 0.75rem;\n}\n\n.card-subtitle {\n margin-top: -0.375rem;\n margin-bottom: 0;\n}\n\n.card-text:last-child {\n margin-bottom: 0;\n}\n\n.card-link:hover {\n text-decoration: none;\n}\n\n.card-link + .card-link {\n margin-left: 1.25rem;\n}\n\n.card-header {\n padding: 0.75rem 1.25rem;\n margin-bottom: 0;\n background-color: #f0f3f5;\n border-bottom: 1px solid #c8ced3;\n}\n\n.card-header:first-child {\n border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;\n}\n\n.card-header + .list-group .list-group-item:first-child {\n border-top: 0;\n}\n\n.card-footer {\n padding: 0.75rem 1.25rem;\n background-color: #f0f3f5;\n border-top: 1px solid #c8ced3;\n}\n\n.card-footer:last-child {\n border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);\n}\n\n.card-header-tabs {\n margin-right: -0.625rem;\n margin-bottom: -0.75rem;\n margin-left: -0.625rem;\n border-bottom: 0;\n}\n\n.card-header-pills {\n margin-right: -0.625rem;\n margin-left: -0.625rem;\n}\n\n.card-img-overlay {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n padding: 1.25rem;\n}\n\n.card-img {\n width: 100%;\n border-radius: calc(0.25rem - 1px);\n}\n\n.card-img-top {\n width: 100%;\n border-top-left-radius: calc(0.25rem - 1px);\n border-top-right-radius: calc(0.25rem - 1px);\n}\n\n.card-img-bottom {\n width: 100%;\n border-bottom-right-radius: calc(0.25rem - 1px);\n border-bottom-left-radius: calc(0.25rem - 1px);\n}\n\n.card-deck {\n display: flex;\n flex-direction: column;\n}\n\n.card-deck .card {\n margin-bottom: 15px;\n}\n\n@media (min-width: 576px) {\n .card-deck {\n flex-flow: row wrap;\n margin-right: -15px;\n margin-left: -15px;\n }\n .card-deck .card {\n display: flex;\n flex: 1 0 0%;\n flex-direction: column;\n margin-right: 15px;\n margin-bottom: 0;\n margin-left: 15px;\n }\n}\n\n.card-group {\n display: flex;\n flex-direction: column;\n}\n\n.card-group > .card {\n margin-bottom: 15px;\n}\n\n@media (min-width: 576px) {\n .card-group {\n flex-flow: row wrap;\n }\n .card-group > .card {\n flex: 1 0 0%;\n margin-bottom: 0;\n }\n .card-group > .card + .card {\n margin-left: 0;\n border-left: 0;\n }\n .card-group > .card:first-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .card-group > .card:first-child .card-img-top,\n .card-group > .card:first-child .card-header {\n border-top-right-radius: 0;\n }\n .card-group > .card:first-child .card-img-bottom,\n .card-group > .card:first-child .card-footer {\n border-bottom-right-radius: 0;\n }\n .card-group > .card:last-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .card-group > .card:last-child .card-img-top,\n .card-group > .card:last-child .card-header {\n border-top-left-radius: 0;\n }\n .card-group > .card:last-child .card-img-bottom,\n .card-group > .card:last-child .card-footer {\n border-bottom-left-radius: 0;\n }\n .card-group > .card:only-child {\n border-radius: 0.25rem;\n }\n .card-group > .card:only-child .card-img-top,\n .card-group > .card:only-child .card-header {\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n }\n .card-group > .card:only-child .card-img-bottom,\n .card-group > .card:only-child .card-footer {\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n }\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {\n border-radius: 0;\n }\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {\n border-radius: 0;\n }\n}\n\n.card-columns .card {\n margin-bottom: 0.75rem;\n}\n\n@media (min-width: 576px) {\n .card-columns {\n column-count: 3;\n column-gap: 1.25rem;\n orphans: 1;\n widows: 1;\n }\n .card-columns .card {\n display: inline-block;\n width: 100%;\n }\n}\n\n.accordion .card:not(:first-of-type):not(:last-of-type) {\n border-bottom: 0;\n border-radius: 0;\n}\n\n.accordion .card:not(:first-of-type) .card-header:first-child {\n border-radius: 0;\n}\n\n.accordion .card:first-of-type {\n border-bottom: 0;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.accordion .card:last-of-type {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.breadcrumb {\n display: flex;\n flex-wrap: wrap;\n padding: 0.75rem 1rem;\n margin-bottom: 1.5rem;\n list-style: none;\n background-color: #fff;\n border-radius: 0;\n}\n\n.breadcrumb-item + .breadcrumb-item {\n padding-left: 0.5rem;\n}\n\n.breadcrumb-item + .breadcrumb-item::before {\n display: inline-block;\n padding-right: 0.5rem;\n color: #73818f;\n content: \"/\";\n}\n\n.breadcrumb-item + .breadcrumb-item:hover::before {\n text-decoration: underline;\n}\n\n.breadcrumb-item + .breadcrumb-item:hover::before {\n text-decoration: none;\n}\n\n.breadcrumb-item.active {\n color: #73818f;\n}\n\n.pagination {\n display: flex;\n padding-left: 0;\n list-style: none;\n border-radius: 0.25rem;\n}\n\n.page-link {\n position: relative;\n display: block;\n padding: 0.5rem 0.75rem;\n margin-left: -1px;\n line-height: 1.25;\n color: #20a8d8;\n background-color: #fff;\n border: 1px solid #c8ced3;\n}\n\n.page-link:hover {\n z-index: 2;\n color: #167495;\n text-decoration: none;\n background-color: #e4e7ea;\n border-color: #c8ced3;\n}\n\n.page-link:focus {\n z-index: 2;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.25);\n}\n\n.page-link:not(:disabled):not(.disabled) {\n cursor: pointer;\n}\n\n.page-item:first-child .page-link {\n margin-left: 0;\n border-top-left-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n}\n\n.page-item:last-child .page-link {\n border-top-right-radius: 0.25rem;\n border-bottom-right-radius: 0.25rem;\n}\n\n.page-item.active .page-link {\n z-index: 1;\n color: #fff;\n background-color: #20a8d8;\n border-color: #20a8d8;\n}\n\n.page-item.disabled .page-link {\n color: #73818f;\n pointer-events: none;\n cursor: auto;\n background-color: #fff;\n border-color: #c8ced3;\n}\n\n.pagination-lg .page-link {\n padding: 0.75rem 1.5rem;\n font-size: 1.09375rem;\n line-height: 1.5;\n}\n\n.pagination-lg .page-item:first-child .page-link {\n border-top-left-radius: 0.3rem;\n border-bottom-left-radius: 0.3rem;\n}\n\n.pagination-lg .page-item:last-child .page-link {\n border-top-right-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n\n.pagination-sm .page-link {\n padding: 0.25rem 0.5rem;\n font-size: 0.765625rem;\n line-height: 1.5;\n}\n\n.pagination-sm .page-item:first-child .page-link {\n border-top-left-radius: 0.2rem;\n border-bottom-left-radius: 0.2rem;\n}\n\n.pagination-sm .page-item:last-child .page-link {\n border-top-right-radius: 0.2rem;\n border-bottom-right-radius: 0.2rem;\n}\n\n.badge {\n display: inline-block;\n padding: 0.25em 0.4em;\n font-size: 75%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: 0.25rem;\n}\n\n.badge:empty {\n display: none;\n}\n\n.btn .badge {\n position: relative;\n top: -1px;\n}\n\n.badge-pill {\n padding-right: 0.6em;\n padding-left: 0.6em;\n border-radius: 10rem;\n}\n\n.badge-primary {\n color: #fff;\n background-color: #20a8d8;\n}\n\n.badge-primary[href]:hover, .badge-primary[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #1985ac;\n}\n\n.badge-secondary {\n color: #23282c;\n background-color: #c8ced3;\n}\n\n.badge-secondary[href]:hover, .badge-secondary[href]:focus {\n color: #23282c;\n text-decoration: none;\n background-color: #acb5bc;\n}\n\n.badge-success {\n color: #fff;\n background-color: #4dbd74;\n}\n\n.badge-success[href]:hover, .badge-success[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #3a9d5d;\n}\n\n.badge-info {\n color: #23282c;\n background-color: #63c2de;\n}\n\n.badge-info[href]:hover, .badge-info[href]:focus {\n color: #23282c;\n text-decoration: none;\n background-color: #39b2d5;\n}\n\n.badge-warning {\n color: #23282c;\n background-color: #ffc107;\n}\n\n.badge-warning[href]:hover, .badge-warning[href]:focus {\n color: #23282c;\n text-decoration: none;\n background-color: #d39e00;\n}\n\n.badge-danger {\n color: #fff;\n background-color: #f86c6b;\n}\n\n.badge-danger[href]:hover, .badge-danger[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #f63c3a;\n}\n\n.badge-light {\n color: #23282c;\n background-color: #f0f3f5;\n}\n\n.badge-light[href]:hover, .badge-light[href]:focus {\n color: #23282c;\n text-decoration: none;\n background-color: #d1dbe1;\n}\n\n.badge-dark {\n color: #fff;\n background-color: #2f353a;\n}\n\n.badge-dark[href]:hover, .badge-dark[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #181b1e;\n}\n\n.jumbotron {\n padding: 2rem 1rem;\n margin-bottom: 2rem;\n background-color: #e4e7ea;\n border-radius: 0.3rem;\n}\n\n@media (min-width: 576px) {\n .jumbotron {\n padding: 4rem 2rem;\n }\n}\n\n.jumbotron-fluid {\n padding-right: 0;\n padding-left: 0;\n border-radius: 0;\n}\n\n.alert {\n position: relative;\n padding: 0.75rem 1.25rem;\n margin-bottom: 1rem;\n border: 1px solid transparent;\n border-radius: 0.25rem;\n}\n\n.alert-heading {\n color: inherit;\n}\n\n.alert-link {\n font-weight: 700;\n}\n\n.alert-dismissible {\n padding-right: 3.8125rem;\n}\n\n.alert-dismissible .close {\n position: absolute;\n top: 0;\n right: 0;\n padding: 0.75rem 1.25rem;\n color: inherit;\n}\n\n.alert-primary {\n color: #115770;\n background-color: #d2eef7;\n border-color: #c1e7f4;\n}\n\n.alert-primary hr {\n border-top-color: #abdff0;\n}\n\n.alert-primary .alert-link {\n color: #0a3544;\n}\n\n.alert-secondary {\n color: #686b6e;\n background-color: #f4f5f6;\n border-color: #f0f1f3;\n}\n\n.alert-secondary hr {\n border-top-color: #e2e4e8;\n}\n\n.alert-secondary .alert-link {\n color: #4f5254;\n}\n\n.alert-success {\n color: #28623c;\n background-color: #dbf2e3;\n border-color: #cdedd8;\n}\n\n.alert-success hr {\n border-top-color: #bae6c9;\n}\n\n.alert-success .alert-link {\n color: #193e26;\n}\n\n.alert-info {\n color: #336573;\n background-color: #e0f3f8;\n border-color: #d3eef6;\n}\n\n.alert-info hr {\n border-top-color: #bee6f2;\n}\n\n.alert-info .alert-link {\n color: #234650;\n}\n\n.alert-warning {\n color: #856404;\n background-color: #fff3cd;\n border-color: #ffeeba;\n}\n\n.alert-warning hr {\n border-top-color: #ffe8a1;\n}\n\n.alert-warning .alert-link {\n color: #533f03;\n}\n\n.alert-danger {\n color: #813838;\n background-color: #fee2e1;\n border-color: #fdd6d6;\n}\n\n.alert-danger hr {\n border-top-color: #fcbebe;\n}\n\n.alert-danger .alert-link {\n color: #5d2929;\n}\n\n.alert-light {\n color: #7d7e7f;\n background-color: #fcfdfd;\n border-color: #fbfcfc;\n}\n\n.alert-light hr {\n border-top-color: #ecf1f1;\n}\n\n.alert-light .alert-link {\n color: #646565;\n}\n\n.alert-dark {\n color: #181c1e;\n background-color: #d5d7d8;\n border-color: #c5c6c8;\n}\n\n.alert-dark hr {\n border-top-color: #b8b9bc;\n}\n\n.alert-dark .alert-link {\n color: #010202;\n}\n\n@keyframes progress-bar-stripes {\n from {\n background-position: 1rem 0;\n }\n to {\n background-position: 0 0;\n }\n}\n\n.progress {\n display: flex;\n height: 1rem;\n overflow: hidden;\n font-size: 0.65625rem;\n background-color: #f0f3f5;\n border-radius: 0.25rem;\n}\n\n.progress-bar {\n display: flex;\n flex-direction: column;\n justify-content: center;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n background-color: #20a8d8;\n transition: width 0.6s ease;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .progress-bar {\n transition: none;\n }\n}\n\n.progress-bar-striped {\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-size: 1rem 1rem;\n}\n\n.progress-bar-animated {\n animation: progress-bar-stripes 1s linear infinite;\n}\n\n.media {\n display: flex;\n align-items: flex-start;\n}\n\n.media-body {\n flex: 1;\n}\n\n.list-group {\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n}\n\n.list-group-item-action {\n width: 100%;\n color: #5c6873;\n text-align: inherit;\n}\n\n.list-group-item-action:hover, .list-group-item-action:focus {\n color: #5c6873;\n text-decoration: none;\n background-color: #f0f3f5;\n}\n\n.list-group-item-action:active {\n color: #23282c;\n background-color: #e4e7ea;\n}\n\n.list-group-item {\n position: relative;\n display: block;\n padding: 0.75rem 1.25rem;\n margin-bottom: -1px;\n background-color: #fff;\n border: 1px solid rgba(0, 0, 0, 0.125);\n}\n\n.list-group-item:first-child {\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n}\n\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n}\n\n.list-group-item:hover, .list-group-item:focus {\n z-index: 1;\n text-decoration: none;\n}\n\n.list-group-item.disabled, .list-group-item:disabled {\n color: #73818f;\n background-color: #fff;\n}\n\n.list-group-item.active {\n z-index: 2;\n color: #fff;\n background-color: #20a8d8;\n border-color: #20a8d8;\n}\n\n.list-group-flush .list-group-item {\n border-right: 0;\n border-left: 0;\n border-radius: 0;\n}\n\n.list-group-flush:first-child .list-group-item:first-child {\n border-top: 0;\n}\n\n.list-group-flush:last-child .list-group-item:last-child {\n border-bottom: 0;\n}\n\n.list-group-item-primary {\n color: #115770;\n background-color: #c1e7f4;\n}\n\n.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {\n color: #115770;\n background-color: #abdff0;\n}\n\n.list-group-item-primary.list-group-item-action.active {\n color: #fff;\n background-color: #115770;\n border-color: #115770;\n}\n\n.list-group-item-secondary {\n color: #686b6e;\n background-color: #f0f1f3;\n}\n\n.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus {\n color: #686b6e;\n background-color: #e2e4e8;\n}\n\n.list-group-item-secondary.list-group-item-action.active {\n color: #fff;\n background-color: #686b6e;\n border-color: #686b6e;\n}\n\n.list-group-item-success {\n color: #28623c;\n background-color: #cdedd8;\n}\n\n.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus {\n color: #28623c;\n background-color: #bae6c9;\n}\n\n.list-group-item-success.list-group-item-action.active {\n color: #fff;\n background-color: #28623c;\n border-color: #28623c;\n}\n\n.list-group-item-info {\n color: #336573;\n background-color: #d3eef6;\n}\n\n.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus {\n color: #336573;\n background-color: #bee6f2;\n}\n\n.list-group-item-info.list-group-item-action.active {\n color: #fff;\n background-color: #336573;\n border-color: #336573;\n}\n\n.list-group-item-warning {\n color: #856404;\n background-color: #ffeeba;\n}\n\n.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus {\n color: #856404;\n background-color: #ffe8a1;\n}\n\n.list-group-item-warning.list-group-item-action.active {\n color: #fff;\n background-color: #856404;\n border-color: #856404;\n}\n\n.list-group-item-danger {\n color: #813838;\n background-color: #fdd6d6;\n}\n\n.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus {\n color: #813838;\n background-color: #fcbebe;\n}\n\n.list-group-item-danger.list-group-item-action.active {\n color: #fff;\n background-color: #813838;\n border-color: #813838;\n}\n\n.list-group-item-light {\n color: #7d7e7f;\n background-color: #fbfcfc;\n}\n\n.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus {\n color: #7d7e7f;\n background-color: #ecf1f1;\n}\n\n.list-group-item-light.list-group-item-action.active {\n color: #fff;\n background-color: #7d7e7f;\n border-color: #7d7e7f;\n}\n\n.list-group-item-dark {\n color: #181c1e;\n background-color: #c5c6c8;\n}\n\n.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus {\n color: #181c1e;\n background-color: #b8b9bc;\n}\n\n.list-group-item-dark.list-group-item-action.active {\n color: #fff;\n background-color: #181c1e;\n border-color: #181c1e;\n}\n\n.close {\n float: right;\n font-size: 1.3125rem;\n font-weight: 700;\n line-height: 1;\n color: #000;\n text-shadow: 0 1px 0 #fff;\n opacity: .5;\n}\n\n.close:not(:disabled):not(.disabled) {\n cursor: pointer;\n}\n\n.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {\n color: #000;\n text-decoration: none;\n opacity: .75;\n}\n\nbutton.close {\n padding: 0;\n background-color: transparent;\n border: 0;\n -webkit-appearance: none;\n}\n\n.modal-open {\n overflow: hidden;\n}\n\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n display: none;\n overflow: hidden;\n outline: 0;\n}\n\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 0.5rem;\n pointer-events: none;\n}\n\n.modal.fade .modal-dialog {\n transition: transform 0.3s ease-out;\n transform: translate(0, -25%);\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .modal.fade .modal-dialog {\n transition: none;\n }\n}\n\n.modal.show .modal-dialog {\n transform: translate(0, 0);\n}\n\n.modal-dialog-centered {\n display: flex;\n align-items: center;\n min-height: calc(100% - (0.5rem * 2));\n}\n\n.modal-dialog-centered::before {\n display: block;\n height: calc(100vh - (0.5rem * 2));\n content: \"\";\n}\n\n.modal-content {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n pointer-events: auto;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-radius: 0.3rem;\n outline: 0;\n}\n\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n\n.modal-backdrop.fade {\n opacity: 0;\n}\n\n.modal-backdrop.show {\n opacity: 0.5;\n}\n\n.modal-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 1rem;\n border-bottom: 1px solid #e4e7ea;\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n}\n\n.modal-header .close {\n padding: 1rem;\n margin: -1rem -1rem -1rem auto;\n}\n\n.modal-title {\n margin-bottom: 0;\n line-height: 1.5;\n}\n\n.modal-body {\n position: relative;\n flex: 1 1 auto;\n padding: 1rem;\n}\n\n.modal-footer {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: 1rem;\n border-top: 1px solid #e4e7ea;\n}\n\n.modal-footer > :not(:first-child) {\n margin-left: .25rem;\n}\n\n.modal-footer > :not(:last-child) {\n margin-right: .25rem;\n}\n\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n\n@media (min-width: 576px) {\n .modal-dialog {\n max-width: 500px;\n margin: 1.75rem auto;\n }\n .modal-dialog-centered {\n min-height: calc(100% - (1.75rem * 2));\n }\n .modal-dialog-centered::before {\n height: calc(100vh - (1.75rem * 2));\n }\n .modal-sm {\n max-width: 300px;\n }\n}\n\n@media (min-width: 992px) {\n .modal-lg {\n max-width: 800px;\n }\n}\n\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-style: normal;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n white-space: normal;\n line-break: auto;\n font-size: 0.765625rem;\n word-wrap: break-word;\n opacity: 0;\n}\n\n.tooltip.show {\n opacity: 0.9;\n}\n\n.tooltip .arrow {\n position: absolute;\n display: block;\n width: 0.8rem;\n height: 0.4rem;\n}\n\n.tooltip .arrow::before {\n position: absolute;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n}\n\n.bs-tooltip-top, .bs-tooltip-auto[x-placement^=\"top\"] {\n padding: 0.4rem 0;\n}\n\n.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^=\"top\"] .arrow {\n bottom: 0;\n}\n\n.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^=\"top\"] .arrow::before {\n top: 0;\n border-width: 0.4rem 0.4rem 0;\n border-top-color: #000;\n}\n\n.bs-tooltip-right, .bs-tooltip-auto[x-placement^=\"right\"] {\n padding: 0 0.4rem;\n}\n\n.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^=\"right\"] .arrow {\n left: 0;\n width: 0.4rem;\n height: 0.8rem;\n}\n\n.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^=\"right\"] .arrow::before {\n right: 0;\n border-width: 0.4rem 0.4rem 0.4rem 0;\n border-right-color: #000;\n}\n\n.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^=\"bottom\"] {\n padding: 0.4rem 0;\n}\n\n.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^=\"bottom\"] .arrow {\n top: 0;\n}\n\n.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^=\"bottom\"] .arrow::before {\n bottom: 0;\n border-width: 0 0.4rem 0.4rem;\n border-bottom-color: #000;\n}\n\n.bs-tooltip-left, .bs-tooltip-auto[x-placement^=\"left\"] {\n padding: 0 0.4rem;\n}\n\n.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^=\"left\"] .arrow {\n right: 0;\n width: 0.4rem;\n height: 0.8rem;\n}\n\n.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^=\"left\"] .arrow::before {\n left: 0;\n border-width: 0.4rem 0 0.4rem 0.4rem;\n border-left-color: #000;\n}\n\n.tooltip-inner {\n max-width: 200px;\n padding: 0.25rem 0.5rem;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 0.25rem;\n}\n\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: block;\n max-width: 276px;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-style: normal;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n white-space: normal;\n line-break: auto;\n font-size: 0.765625rem;\n word-wrap: break-word;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-radius: 0.3rem;\n}\n\n.popover .arrow {\n position: absolute;\n display: block;\n width: 1rem;\n height: 0.5rem;\n margin: 0 0.3rem;\n}\n\n.popover .arrow::before, .popover .arrow::after {\n position: absolute;\n display: block;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n}\n\n.bs-popover-top, .bs-popover-auto[x-placement^=\"top\"] {\n margin-bottom: 0.5rem;\n}\n\n.bs-popover-top .arrow, .bs-popover-auto[x-placement^=\"top\"] .arrow {\n bottom: calc((0.5rem + 1px) * -1);\n}\n\n.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^=\"top\"] .arrow::before,\n.bs-popover-top .arrow::after,\n.bs-popover-auto[x-placement^=\"top\"] .arrow::after {\n border-width: 0.5rem 0.5rem 0;\n}\n\n.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^=\"top\"] .arrow::before {\n bottom: 0;\n border-top-color: rgba(0, 0, 0, 0.25);\n}\n\n\n.bs-popover-top .arrow::after,\n.bs-popover-auto[x-placement^=\"top\"] .arrow::after {\n bottom: 1px;\n border-top-color: #fff;\n}\n\n.bs-popover-right, .bs-popover-auto[x-placement^=\"right\"] {\n margin-left: 0.5rem;\n}\n\n.bs-popover-right .arrow, .bs-popover-auto[x-placement^=\"right\"] .arrow {\n left: calc((0.5rem + 1px) * -1);\n width: 0.5rem;\n height: 1rem;\n margin: 0.3rem 0;\n}\n\n.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^=\"right\"] .arrow::before,\n.bs-popover-right .arrow::after,\n.bs-popover-auto[x-placement^=\"right\"] .arrow::after {\n border-width: 0.5rem 0.5rem 0.5rem 0;\n}\n\n.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^=\"right\"] .arrow::before {\n left: 0;\n border-right-color: rgba(0, 0, 0, 0.25);\n}\n\n\n.bs-popover-right .arrow::after,\n.bs-popover-auto[x-placement^=\"right\"] .arrow::after {\n left: 1px;\n border-right-color: #fff;\n}\n\n.bs-popover-bottom, .bs-popover-auto[x-placement^=\"bottom\"] {\n margin-top: 0.5rem;\n}\n\n.bs-popover-bottom .arrow, .bs-popover-auto[x-placement^=\"bottom\"] .arrow {\n top: calc((0.5rem + 1px) * -1);\n}\n\n.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^=\"bottom\"] .arrow::before,\n.bs-popover-bottom .arrow::after,\n.bs-popover-auto[x-placement^=\"bottom\"] .arrow::after {\n border-width: 0 0.5rem 0.5rem 0.5rem;\n}\n\n.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^=\"bottom\"] .arrow::before {\n top: 0;\n border-bottom-color: rgba(0, 0, 0, 0.25);\n}\n\n\n.bs-popover-bottom .arrow::after,\n.bs-popover-auto[x-placement^=\"bottom\"] .arrow::after {\n top: 1px;\n border-bottom-color: #fff;\n}\n\n.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^=\"bottom\"] .popover-header::before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 1rem;\n margin-left: -0.5rem;\n content: \"\";\n border-bottom: 1px solid #f7f7f7;\n}\n\n.bs-popover-left, .bs-popover-auto[x-placement^=\"left\"] {\n margin-right: 0.5rem;\n}\n\n.bs-popover-left .arrow, .bs-popover-auto[x-placement^=\"left\"] .arrow {\n right: calc((0.5rem + 1px) * -1);\n width: 0.5rem;\n height: 1rem;\n margin: 0.3rem 0;\n}\n\n.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^=\"left\"] .arrow::before,\n.bs-popover-left .arrow::after,\n.bs-popover-auto[x-placement^=\"left\"] .arrow::after {\n border-width: 0.5rem 0 0.5rem 0.5rem;\n}\n\n.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^=\"left\"] .arrow::before {\n right: 0;\n border-left-color: rgba(0, 0, 0, 0.25);\n}\n\n\n.bs-popover-left .arrow::after,\n.bs-popover-auto[x-placement^=\"left\"] .arrow::after {\n right: 1px;\n border-left-color: #fff;\n}\n\n.popover-header {\n padding: 0.5rem 0.75rem;\n margin-bottom: 0;\n font-size: 0.875rem;\n color: inherit;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-top-left-radius: calc(0.3rem - 1px);\n border-top-right-radius: calc(0.3rem - 1px);\n}\n\n.popover-header:empty {\n display: none;\n}\n\n.popover-body {\n padding: 0.5rem 0.75rem;\n color: #23282c;\n}\n\n.carousel {\n position: relative;\n}\n\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n\n.carousel-item {\n position: relative;\n display: none;\n align-items: center;\n width: 100%;\n backface-visibility: hidden;\n perspective: 1000px;\n}\n\n.carousel-item.active,\n.carousel-item-next,\n.carousel-item-prev {\n display: block;\n transition: transform 0.6s ease;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .carousel-item.active,\n .carousel-item-next,\n .carousel-item-prev {\n transition: none;\n }\n}\n\n.carousel-item-next,\n.carousel-item-prev {\n position: absolute;\n top: 0;\n}\n\n.carousel-item-next.carousel-item-left,\n.carousel-item-prev.carousel-item-right {\n transform: translateX(0);\n}\n\n@supports (transform-style: preserve-3d) {\n .carousel-item-next.carousel-item-left,\n .carousel-item-prev.carousel-item-right {\n transform: translate3d(0, 0, 0);\n }\n}\n\n.carousel-item-next,\n.active.carousel-item-right {\n transform: translateX(100%);\n}\n\n@supports (transform-style: preserve-3d) {\n .carousel-item-next,\n .active.carousel-item-right {\n transform: translate3d(100%, 0, 0);\n }\n}\n\n.carousel-item-prev,\n.active.carousel-item-left {\n transform: translateX(-100%);\n}\n\n@supports (transform-style: preserve-3d) {\n .carousel-item-prev,\n .active.carousel-item-left {\n transform: translate3d(-100%, 0, 0);\n }\n}\n\n.carousel-fade .carousel-item {\n opacity: 0;\n transition-duration: .6s;\n transition-property: opacity;\n}\n\n.carousel-fade .carousel-item.active,\n.carousel-fade .carousel-item-next.carousel-item-left,\n.carousel-fade .carousel-item-prev.carousel-item-right {\n opacity: 1;\n}\n\n.carousel-fade .active.carousel-item-left,\n.carousel-fade .active.carousel-item-right {\n opacity: 0;\n}\n\n.carousel-fade .carousel-item-next,\n.carousel-fade .carousel-item-prev,\n.carousel-fade .carousel-item.active,\n.carousel-fade .active.carousel-item-left,\n.carousel-fade .active.carousel-item-prev {\n transform: translateX(0);\n}\n\n@supports (transform-style: preserve-3d) {\n .carousel-fade .carousel-item-next,\n .carousel-fade .carousel-item-prev,\n .carousel-fade .carousel-item.active,\n .carousel-fade .active.carousel-item-left,\n .carousel-fade .active.carousel-item-prev {\n transform: translate3d(0, 0, 0);\n }\n}\n\n.carousel-control-prev,\n.carousel-control-next {\n position: absolute;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 15%;\n color: #fff;\n text-align: center;\n opacity: 0.5;\n}\n\n.carousel-control-prev:hover, .carousel-control-prev:focus,\n.carousel-control-next:hover,\n.carousel-control-next:focus {\n color: #fff;\n text-decoration: none;\n outline: 0;\n opacity: .9;\n}\n\n.carousel-control-prev {\n left: 0;\n}\n\n.carousel-control-next {\n right: 0;\n}\n\n.carousel-control-prev-icon,\n.carousel-control-next-icon {\n display: inline-block;\n width: 20px;\n height: 20px;\n background: transparent no-repeat center center;\n background-size: 100% 100%;\n}\n\n.carousel-control-prev-icon {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E\");\n}\n\n.carousel-control-next-icon {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E\");\n}\n\n.carousel-indicators {\n position: absolute;\n right: 0;\n bottom: 10px;\n left: 0;\n z-index: 15;\n display: flex;\n justify-content: center;\n padding-left: 0;\n margin-right: 15%;\n margin-left: 15%;\n list-style: none;\n}\n\n.carousel-indicators li {\n position: relative;\n flex: 0 1 auto;\n width: 30px;\n height: 3px;\n margin-right: 3px;\n margin-left: 3px;\n text-indent: -999px;\n cursor: pointer;\n background-color: rgba(255, 255, 255, 0.5);\n}\n\n.carousel-indicators li::before {\n position: absolute;\n top: -10px;\n left: 0;\n display: inline-block;\n width: 100%;\n height: 10px;\n content: \"\";\n}\n\n.carousel-indicators li::after {\n position: absolute;\n bottom: -10px;\n left: 0;\n display: inline-block;\n width: 100%;\n height: 10px;\n content: \"\";\n}\n\n.carousel-indicators .active {\n background-color: #fff;\n}\n\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 20px;\n left: 15%;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #fff;\n text-align: center;\n}\n\n.align-baseline {\n vertical-align: baseline !important;\n}\n\n.align-top {\n vertical-align: top !important;\n}\n\n.align-middle {\n vertical-align: middle !important;\n}\n\n.align-bottom {\n vertical-align: bottom !important;\n}\n\n.align-text-bottom {\n vertical-align: text-bottom !important;\n}\n\n.align-text-top {\n vertical-align: text-top !important;\n}\n\n.bg-primary {\n background-color: #20a8d8 !important;\n}\n\na.bg-primary:hover, a.bg-primary:focus,\nbutton.bg-primary:hover,\nbutton.bg-primary:focus {\n background-color: #1985ac !important;\n}\n\n.bg-secondary {\n background-color: #c8ced3 !important;\n}\n\na.bg-secondary:hover, a.bg-secondary:focus,\nbutton.bg-secondary:hover,\nbutton.bg-secondary:focus {\n background-color: #acb5bc !important;\n}\n\n.bg-success {\n background-color: #4dbd74 !important;\n}\n\na.bg-success:hover, a.bg-success:focus,\nbutton.bg-success:hover,\nbutton.bg-success:focus {\n background-color: #3a9d5d !important;\n}\n\n.bg-info {\n background-color: #63c2de !important;\n}\n\na.bg-info:hover, a.bg-info:focus,\nbutton.bg-info:hover,\nbutton.bg-info:focus {\n background-color: #39b2d5 !important;\n}\n\n.bg-warning {\n background-color: #ffc107 !important;\n}\n\na.bg-warning:hover, a.bg-warning:focus,\nbutton.bg-warning:hover,\nbutton.bg-warning:focus {\n background-color: #d39e00 !important;\n}\n\n.bg-danger {\n background-color: #f86c6b !important;\n}\n\na.bg-danger:hover, a.bg-danger:focus,\nbutton.bg-danger:hover,\nbutton.bg-danger:focus {\n background-color: #f63c3a !important;\n}\n\n.bg-light {\n background-color: #f0f3f5 !important;\n}\n\na.bg-light:hover, a.bg-light:focus,\nbutton.bg-light:hover,\nbutton.bg-light:focus {\n background-color: #d1dbe1 !important;\n}\n\n.bg-dark {\n background-color: #2f353a !important;\n}\n\na.bg-dark:hover, a.bg-dark:focus,\nbutton.bg-dark:hover,\nbutton.bg-dark:focus {\n background-color: #181b1e !important;\n}\n\n.bg-white {\n background-color: #fff !important;\n}\n\n.bg-transparent {\n background-color: transparent !important;\n}\n\n.border {\n border: 1px solid #c8ced3 !important;\n}\n\n.border-top {\n border-top: 1px solid #c8ced3 !important;\n}\n\n.border-right {\n border-right: 1px solid #c8ced3 !important;\n}\n\n.border-bottom {\n border-bottom: 1px solid #c8ced3 !important;\n}\n\n.border-left {\n border-left: 1px solid #c8ced3 !important;\n}\n\n.border-0 {\n border: 0 !important;\n}\n\n.border-top-0 {\n border-top: 0 !important;\n}\n\n.border-right-0 {\n border-right: 0 !important;\n}\n\n.border-bottom-0 {\n border-bottom: 0 !important;\n}\n\n.border-left-0 {\n border-left: 0 !important;\n}\n\n.border-primary {\n border-color: #20a8d8 !important;\n}\n\n.border-secondary {\n border-color: #c8ced3 !important;\n}\n\n.border-success {\n border-color: #4dbd74 !important;\n}\n\n.border-info {\n border-color: #63c2de !important;\n}\n\n.border-warning {\n border-color: #ffc107 !important;\n}\n\n.border-danger {\n border-color: #f86c6b !important;\n}\n\n.border-light {\n border-color: #f0f3f5 !important;\n}\n\n.border-dark {\n border-color: #2f353a !important;\n}\n\n.border-white {\n border-color: #fff !important;\n}\n\n.rounded {\n border-radius: 0.25rem !important;\n}\n\n.rounded-top {\n border-top-left-radius: 0.25rem !important;\n border-top-right-radius: 0.25rem !important;\n}\n\n.rounded-right {\n border-top-right-radius: 0.25rem !important;\n border-bottom-right-radius: 0.25rem !important;\n}\n\n.rounded-bottom {\n border-bottom-right-radius: 0.25rem !important;\n border-bottom-left-radius: 0.25rem !important;\n}\n\n.rounded-left {\n border-top-left-radius: 0.25rem !important;\n border-bottom-left-radius: 0.25rem !important;\n}\n\n.rounded-circle {\n border-radius: 50% !important;\n}\n\n.rounded-0 {\n border-radius: 0 !important;\n}\n\n.clearfix::after {\n display: block;\n clear: both;\n content: \"\";\n}\n\n.d-none {\n display: none !important;\n}\n\n.d-inline {\n display: inline !important;\n}\n\n.d-inline-block {\n display: inline-block !important;\n}\n\n.d-block {\n display: block !important;\n}\n\n.d-table {\n display: table !important;\n}\n\n.d-table-row {\n display: table-row !important;\n}\n\n.d-table-cell {\n display: table-cell !important;\n}\n\n.d-flex {\n display: flex !important;\n}\n\n.d-inline-flex {\n display: inline-flex !important;\n}\n\n@media (min-width: 576px) {\n .d-sm-none {\n display: none !important;\n }\n .d-sm-inline {\n display: inline !important;\n }\n .d-sm-inline-block {\n display: inline-block !important;\n }\n .d-sm-block {\n display: block !important;\n }\n .d-sm-table {\n display: table !important;\n }\n .d-sm-table-row {\n display: table-row !important;\n }\n .d-sm-table-cell {\n display: table-cell !important;\n }\n .d-sm-flex {\n display: flex !important;\n }\n .d-sm-inline-flex {\n display: inline-flex !important;\n }\n}\n\n@media (min-width: 768px) {\n .d-md-none {\n display: none !important;\n }\n .d-md-inline {\n display: inline !important;\n }\n .d-md-inline-block {\n display: inline-block !important;\n }\n .d-md-block {\n display: block !important;\n }\n .d-md-table {\n display: table !important;\n }\n .d-md-table-row {\n display: table-row !important;\n }\n .d-md-table-cell {\n display: table-cell !important;\n }\n .d-md-flex {\n display: flex !important;\n }\n .d-md-inline-flex {\n display: inline-flex !important;\n }\n}\n\n@media (min-width: 992px) {\n .d-lg-none {\n display: none !important;\n }\n .d-lg-inline {\n display: inline !important;\n }\n .d-lg-inline-block {\n display: inline-block !important;\n }\n .d-lg-block {\n display: block !important;\n }\n .d-lg-table {\n display: table !important;\n }\n .d-lg-table-row {\n display: table-row !important;\n }\n .d-lg-table-cell {\n display: table-cell !important;\n }\n .d-lg-flex {\n display: flex !important;\n }\n .d-lg-inline-flex {\n display: inline-flex !important;\n }\n}\n\n@media (min-width: 1200px) {\n .d-xl-none {\n display: none !important;\n }\n .d-xl-inline {\n display: inline !important;\n }\n .d-xl-inline-block {\n display: inline-block !important;\n }\n .d-xl-block {\n display: block !important;\n }\n .d-xl-table {\n display: table !important;\n }\n .d-xl-table-row {\n display: table-row !important;\n }\n .d-xl-table-cell {\n display: table-cell !important;\n }\n .d-xl-flex {\n display: flex !important;\n }\n .d-xl-inline-flex {\n display: inline-flex !important;\n }\n}\n\n@media print {\n .d-print-none {\n display: none !important;\n }\n .d-print-inline {\n display: inline !important;\n }\n .d-print-inline-block {\n display: inline-block !important;\n }\n .d-print-block {\n display: block !important;\n }\n .d-print-table {\n display: table !important;\n }\n .d-print-table-row {\n display: table-row !important;\n }\n .d-print-table-cell {\n display: table-cell !important;\n }\n .d-print-flex {\n display: flex !important;\n }\n .d-print-inline-flex {\n display: inline-flex !important;\n }\n}\n\n.embed-responsive {\n position: relative;\n display: block;\n width: 100%;\n padding: 0;\n overflow: hidden;\n}\n\n.embed-responsive::before {\n display: block;\n content: \"\";\n}\n\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n}\n\n.embed-responsive-21by9::before {\n padding-top: 42.857143%;\n}\n\n.embed-responsive-16by9::before {\n padding-top: 56.25%;\n}\n\n.embed-responsive-4by3::before {\n padding-top: 75%;\n}\n\n.embed-responsive-1by1::before {\n padding-top: 100%;\n}\n\n.flex-row {\n flex-direction: row !important;\n}\n\n.flex-column {\n flex-direction: column !important;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse !important;\n}\n\n.flex-column-reverse {\n flex-direction: column-reverse !important;\n}\n\n.flex-wrap {\n flex-wrap: wrap !important;\n}\n\n.flex-nowrap {\n flex-wrap: nowrap !important;\n}\n\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n}\n\n.flex-fill {\n flex: 1 1 auto !important;\n}\n\n.flex-grow-0 {\n flex-grow: 0 !important;\n}\n\n.flex-grow-1 {\n flex-grow: 1 !important;\n}\n\n.flex-shrink-0 {\n flex-shrink: 0 !important;\n}\n\n.flex-shrink-1 {\n flex-shrink: 1 !important;\n}\n\n.justify-content-start {\n justify-content: flex-start !important;\n}\n\n.justify-content-end {\n justify-content: flex-end !important;\n}\n\n.justify-content-center {\n justify-content: center !important;\n}\n\n.justify-content-between {\n justify-content: space-between !important;\n}\n\n.justify-content-around {\n justify-content: space-around !important;\n}\n\n.align-items-start {\n align-items: flex-start !important;\n}\n\n.align-items-end {\n align-items: flex-end !important;\n}\n\n.align-items-center {\n align-items: center !important;\n}\n\n.align-items-baseline {\n align-items: baseline !important;\n}\n\n.align-items-stretch {\n align-items: stretch !important;\n}\n\n.align-content-start {\n align-content: flex-start !important;\n}\n\n.align-content-end {\n align-content: flex-end !important;\n}\n\n.align-content-center {\n align-content: center !important;\n}\n\n.align-content-between {\n align-content: space-between !important;\n}\n\n.align-content-around {\n align-content: space-around !important;\n}\n\n.align-content-stretch {\n align-content: stretch !important;\n}\n\n.align-self-auto {\n align-self: auto !important;\n}\n\n.align-self-start {\n align-self: flex-start !important;\n}\n\n.align-self-end {\n align-self: flex-end !important;\n}\n\n.align-self-center {\n align-self: center !important;\n}\n\n.align-self-baseline {\n align-self: baseline !important;\n}\n\n.align-self-stretch {\n align-self: stretch !important;\n}\n\n@media (min-width: 576px) {\n .flex-sm-row {\n flex-direction: row !important;\n }\n .flex-sm-column {\n flex-direction: column !important;\n }\n .flex-sm-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-sm-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-sm-wrap {\n flex-wrap: wrap !important;\n }\n .flex-sm-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-sm-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .flex-sm-fill {\n flex: 1 1 auto !important;\n }\n .flex-sm-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-sm-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-sm-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-sm-shrink-1 {\n flex-shrink: 1 !important;\n }\n .justify-content-sm-start {\n justify-content: flex-start !important;\n }\n .justify-content-sm-end {\n justify-content: flex-end !important;\n }\n .justify-content-sm-center {\n justify-content: center !important;\n }\n .justify-content-sm-between {\n justify-content: space-between !important;\n }\n .justify-content-sm-around {\n justify-content: space-around !important;\n }\n .align-items-sm-start {\n align-items: flex-start !important;\n }\n .align-items-sm-end {\n align-items: flex-end !important;\n }\n .align-items-sm-center {\n align-items: center !important;\n }\n .align-items-sm-baseline {\n align-items: baseline !important;\n }\n .align-items-sm-stretch {\n align-items: stretch !important;\n }\n .align-content-sm-start {\n align-content: flex-start !important;\n }\n .align-content-sm-end {\n align-content: flex-end !important;\n }\n .align-content-sm-center {\n align-content: center !important;\n }\n .align-content-sm-between {\n align-content: space-between !important;\n }\n .align-content-sm-around {\n align-content: space-around !important;\n }\n .align-content-sm-stretch {\n align-content: stretch !important;\n }\n .align-self-sm-auto {\n align-self: auto !important;\n }\n .align-self-sm-start {\n align-self: flex-start !important;\n }\n .align-self-sm-end {\n align-self: flex-end !important;\n }\n .align-self-sm-center {\n align-self: center !important;\n }\n .align-self-sm-baseline {\n align-self: baseline !important;\n }\n .align-self-sm-stretch {\n align-self: stretch !important;\n }\n}\n\n@media (min-width: 768px) {\n .flex-md-row {\n flex-direction: row !important;\n }\n .flex-md-column {\n flex-direction: column !important;\n }\n .flex-md-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-md-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-md-wrap {\n flex-wrap: wrap !important;\n }\n .flex-md-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-md-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .flex-md-fill {\n flex: 1 1 auto !important;\n }\n .flex-md-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-md-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-md-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-md-shrink-1 {\n flex-shrink: 1 !important;\n }\n .justify-content-md-start {\n justify-content: flex-start !important;\n }\n .justify-content-md-end {\n justify-content: flex-end !important;\n }\n .justify-content-md-center {\n justify-content: center !important;\n }\n .justify-content-md-between {\n justify-content: space-between !important;\n }\n .justify-content-md-around {\n justify-content: space-around !important;\n }\n .align-items-md-start {\n align-items: flex-start !important;\n }\n .align-items-md-end {\n align-items: flex-end !important;\n }\n .align-items-md-center {\n align-items: center !important;\n }\n .align-items-md-baseline {\n align-items: baseline !important;\n }\n .align-items-md-stretch {\n align-items: stretch !important;\n }\n .align-content-md-start {\n align-content: flex-start !important;\n }\n .align-content-md-end {\n align-content: flex-end !important;\n }\n .align-content-md-center {\n align-content: center !important;\n }\n .align-content-md-between {\n align-content: space-between !important;\n }\n .align-content-md-around {\n align-content: space-around !important;\n }\n .align-content-md-stretch {\n align-content: stretch !important;\n }\n .align-self-md-auto {\n align-self: auto !important;\n }\n .align-self-md-start {\n align-self: flex-start !important;\n }\n .align-self-md-end {\n align-self: flex-end !important;\n }\n .align-self-md-center {\n align-self: center !important;\n }\n .align-self-md-baseline {\n align-self: baseline !important;\n }\n .align-self-md-stretch {\n align-self: stretch !important;\n }\n}\n\n@media (min-width: 992px) {\n .flex-lg-row {\n flex-direction: row !important;\n }\n .flex-lg-column {\n flex-direction: column !important;\n }\n .flex-lg-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-lg-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-lg-wrap {\n flex-wrap: wrap !important;\n }\n .flex-lg-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-lg-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .flex-lg-fill {\n flex: 1 1 auto !important;\n }\n .flex-lg-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-lg-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-lg-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-lg-shrink-1 {\n flex-shrink: 1 !important;\n }\n .justify-content-lg-start {\n justify-content: flex-start !important;\n }\n .justify-content-lg-end {\n justify-content: flex-end !important;\n }\n .justify-content-lg-center {\n justify-content: center !important;\n }\n .justify-content-lg-between {\n justify-content: space-between !important;\n }\n .justify-content-lg-around {\n justify-content: space-around !important;\n }\n .align-items-lg-start {\n align-items: flex-start !important;\n }\n .align-items-lg-end {\n align-items: flex-end !important;\n }\n .align-items-lg-center {\n align-items: center !important;\n }\n .align-items-lg-baseline {\n align-items: baseline !important;\n }\n .align-items-lg-stretch {\n align-items: stretch !important;\n }\n .align-content-lg-start {\n align-content: flex-start !important;\n }\n .align-content-lg-end {\n align-content: flex-end !important;\n }\n .align-content-lg-center {\n align-content: center !important;\n }\n .align-content-lg-between {\n align-content: space-between !important;\n }\n .align-content-lg-around {\n align-content: space-around !important;\n }\n .align-content-lg-stretch {\n align-content: stretch !important;\n }\n .align-self-lg-auto {\n align-self: auto !important;\n }\n .align-self-lg-start {\n align-self: flex-start !important;\n }\n .align-self-lg-end {\n align-self: flex-end !important;\n }\n .align-self-lg-center {\n align-self: center !important;\n }\n .align-self-lg-baseline {\n align-self: baseline !important;\n }\n .align-self-lg-stretch {\n align-self: stretch !important;\n }\n}\n\n@media (min-width: 1200px) {\n .flex-xl-row {\n flex-direction: row !important;\n }\n .flex-xl-column {\n flex-direction: column !important;\n }\n .flex-xl-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-xl-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-xl-wrap {\n flex-wrap: wrap !important;\n }\n .flex-xl-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-xl-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .flex-xl-fill {\n flex: 1 1 auto !important;\n }\n .flex-xl-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-xl-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-xl-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-xl-shrink-1 {\n flex-shrink: 1 !important;\n }\n .justify-content-xl-start {\n justify-content: flex-start !important;\n }\n .justify-content-xl-end {\n justify-content: flex-end !important;\n }\n .justify-content-xl-center {\n justify-content: center !important;\n }\n .justify-content-xl-between {\n justify-content: space-between !important;\n }\n .justify-content-xl-around {\n justify-content: space-around !important;\n }\n .align-items-xl-start {\n align-items: flex-start !important;\n }\n .align-items-xl-end {\n align-items: flex-end !important;\n }\n .align-items-xl-center {\n align-items: center !important;\n }\n .align-items-xl-baseline {\n align-items: baseline !important;\n }\n .align-items-xl-stretch {\n align-items: stretch !important;\n }\n .align-content-xl-start {\n align-content: flex-start !important;\n }\n .align-content-xl-end {\n align-content: flex-end !important;\n }\n .align-content-xl-center {\n align-content: center !important;\n }\n .align-content-xl-between {\n align-content: space-between !important;\n }\n .align-content-xl-around {\n align-content: space-around !important;\n }\n .align-content-xl-stretch {\n align-content: stretch !important;\n }\n .align-self-xl-auto {\n align-self: auto !important;\n }\n .align-self-xl-start {\n align-self: flex-start !important;\n }\n .align-self-xl-end {\n align-self: flex-end !important;\n }\n .align-self-xl-center {\n align-self: center !important;\n }\n .align-self-xl-baseline {\n align-self: baseline !important;\n }\n .align-self-xl-stretch {\n align-self: stretch !important;\n }\n}\n\n.float-left {\n float: left !important;\n}\n\n.float-right {\n float: right !important;\n}\n\n.float-none {\n float: none !important;\n}\n\n@media (min-width: 576px) {\n .float-sm-left {\n float: left !important;\n }\n .float-sm-right {\n float: right !important;\n }\n .float-sm-none {\n float: none !important;\n }\n}\n\n@media (min-width: 768px) {\n .float-md-left {\n float: left !important;\n }\n .float-md-right {\n float: right !important;\n }\n .float-md-none {\n float: none !important;\n }\n}\n\n@media (min-width: 992px) {\n .float-lg-left {\n float: left !important;\n }\n .float-lg-right {\n float: right !important;\n }\n .float-lg-none {\n float: none !important;\n }\n}\n\n@media (min-width: 1200px) {\n .float-xl-left {\n float: left !important;\n }\n .float-xl-right {\n float: right !important;\n }\n .float-xl-none {\n float: none !important;\n }\n}\n\n.position-static {\n position: static !important;\n}\n\n.position-relative {\n position: relative !important;\n}\n\n.position-absolute {\n position: absolute !important;\n}\n\n.position-fixed {\n position: fixed !important;\n}\n\n.position-sticky {\n position: sticky !important;\n}\n\n.fixed-top {\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n\n.fixed-bottom {\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1030;\n}\n\n@supports (position: sticky) {\n .sticky-top {\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n}\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n overflow: visible;\n clip: auto;\n white-space: normal;\n}\n\n.shadow-sm {\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n}\n\n.shadow {\n box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;\n}\n\n.shadow-lg {\n box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;\n}\n\n.shadow-none {\n box-shadow: none !important;\n}\n\n.w-25 {\n width: 25% !important;\n}\n\n.w-50 {\n width: 50% !important;\n}\n\n.w-75 {\n width: 75% !important;\n}\n\n.w-100 {\n width: 100% !important;\n}\n\n.w-auto {\n width: auto !important;\n}\n\n.h-25 {\n height: 25% !important;\n}\n\n.h-50 {\n height: 50% !important;\n}\n\n.h-75 {\n height: 75% !important;\n}\n\n.h-100 {\n height: 100% !important;\n}\n\n.h-auto {\n height: auto !important;\n}\n\n.mw-100 {\n max-width: 100% !important;\n}\n\n.mh-100 {\n max-height: 100% !important;\n}\n\n.m-0 {\n margin: 0 !important;\n}\n\n.mt-0,\n.my-0 {\n margin-top: 0 !important;\n}\n\n.mr-0,\n.mx-0 {\n margin-right: 0 !important;\n}\n\n.mb-0,\n.my-0 {\n margin-bottom: 0 !important;\n}\n\n.ml-0,\n.mx-0 {\n margin-left: 0 !important;\n}\n\n.m-1 {\n margin: 0.25rem !important;\n}\n\n.mt-1,\n.my-1 {\n margin-top: 0.25rem !important;\n}\n\n.mr-1,\n.mx-1 {\n margin-right: 0.25rem !important;\n}\n\n.mb-1,\n.my-1 {\n margin-bottom: 0.25rem !important;\n}\n\n.ml-1,\n.mx-1 {\n margin-left: 0.25rem !important;\n}\n\n.m-2 {\n margin: 0.5rem !important;\n}\n\n.mt-2,\n.my-2 {\n margin-top: 0.5rem !important;\n}\n\n.mr-2,\n.mx-2 {\n margin-right: 0.5rem !important;\n}\n\n.mb-2,\n.my-2 {\n margin-bottom: 0.5rem !important;\n}\n\n.ml-2,\n.mx-2 {\n margin-left: 0.5rem !important;\n}\n\n.m-3 {\n margin: 1rem !important;\n}\n\n.mt-3,\n.my-3 {\n margin-top: 1rem !important;\n}\n\n.mr-3,\n.mx-3 {\n margin-right: 1rem !important;\n}\n\n.mb-3,\n.my-3 {\n margin-bottom: 1rem !important;\n}\n\n.ml-3,\n.mx-3 {\n margin-left: 1rem !important;\n}\n\n.m-4 {\n margin: 1.5rem !important;\n}\n\n.mt-4,\n.my-4 {\n margin-top: 1.5rem !important;\n}\n\n.mr-4,\n.mx-4 {\n margin-right: 1.5rem !important;\n}\n\n.mb-4,\n.my-4 {\n margin-bottom: 1.5rem !important;\n}\n\n.ml-4,\n.mx-4 {\n margin-left: 1.5rem !important;\n}\n\n.m-5 {\n margin: 3rem !important;\n}\n\n.mt-5,\n.my-5 {\n margin-top: 3rem !important;\n}\n\n.mr-5,\n.mx-5 {\n margin-right: 3rem !important;\n}\n\n.mb-5,\n.my-5 {\n margin-bottom: 3rem !important;\n}\n\n.ml-5,\n.mx-5 {\n margin-left: 3rem !important;\n}\n\n.p-0 {\n padding: 0 !important;\n}\n\n.pt-0,\n.py-0 {\n padding-top: 0 !important;\n}\n\n.pr-0,\n.px-0 {\n padding-right: 0 !important;\n}\n\n.pb-0,\n.py-0 {\n padding-bottom: 0 !important;\n}\n\n.pl-0,\n.px-0 {\n padding-left: 0 !important;\n}\n\n.p-1 {\n padding: 0.25rem !important;\n}\n\n.pt-1,\n.py-1 {\n padding-top: 0.25rem !important;\n}\n\n.pr-1,\n.px-1 {\n padding-right: 0.25rem !important;\n}\n\n.pb-1,\n.py-1 {\n padding-bottom: 0.25rem !important;\n}\n\n.pl-1,\n.px-1 {\n padding-left: 0.25rem !important;\n}\n\n.p-2 {\n padding: 0.5rem !important;\n}\n\n.pt-2,\n.py-2 {\n padding-top: 0.5rem !important;\n}\n\n.pr-2,\n.px-2 {\n padding-right: 0.5rem !important;\n}\n\n.pb-2,\n.py-2 {\n padding-bottom: 0.5rem !important;\n}\n\n.pl-2,\n.px-2 {\n padding-left: 0.5rem !important;\n}\n\n.p-3 {\n padding: 1rem !important;\n}\n\n.pt-3,\n.py-3 {\n padding-top: 1rem !important;\n}\n\n.pr-3,\n.px-3 {\n padding-right: 1rem !important;\n}\n\n.pb-3,\n.py-3 {\n padding-bottom: 1rem !important;\n}\n\n.pl-3,\n.px-3 {\n padding-left: 1rem !important;\n}\n\n.p-4 {\n padding: 1.5rem !important;\n}\n\n.pt-4,\n.py-4 {\n padding-top: 1.5rem !important;\n}\n\n.pr-4,\n.px-4 {\n padding-right: 1.5rem !important;\n}\n\n.pb-4,\n.py-4 {\n padding-bottom: 1.5rem !important;\n}\n\n.pl-4,\n.px-4 {\n padding-left: 1.5rem !important;\n}\n\n.p-5 {\n padding: 3rem !important;\n}\n\n.pt-5,\n.py-5 {\n padding-top: 3rem !important;\n}\n\n.pr-5,\n.px-5 {\n padding-right: 3rem !important;\n}\n\n.pb-5,\n.py-5 {\n padding-bottom: 3rem !important;\n}\n\n.pl-5,\n.px-5 {\n padding-left: 3rem !important;\n}\n\n.m-auto {\n margin: auto !important;\n}\n\n.mt-auto,\n.my-auto {\n margin-top: auto !important;\n}\n\n.mr-auto,\n.mx-auto {\n margin-right: auto !important;\n}\n\n.mb-auto,\n.my-auto {\n margin-bottom: auto !important;\n}\n\n.ml-auto,\n.mx-auto {\n margin-left: auto !important;\n}\n\n@media (min-width: 576px) {\n .m-sm-0 {\n margin: 0 !important;\n }\n .mt-sm-0,\n .my-sm-0 {\n margin-top: 0 !important;\n }\n .mr-sm-0,\n .mx-sm-0 {\n margin-right: 0 !important;\n }\n .mb-sm-0,\n .my-sm-0 {\n margin-bottom: 0 !important;\n }\n .ml-sm-0,\n .mx-sm-0 {\n margin-left: 0 !important;\n }\n .m-sm-1 {\n margin: 0.25rem !important;\n }\n .mt-sm-1,\n .my-sm-1 {\n margin-top: 0.25rem !important;\n }\n .mr-sm-1,\n .mx-sm-1 {\n margin-right: 0.25rem !important;\n }\n .mb-sm-1,\n .my-sm-1 {\n margin-bottom: 0.25rem !important;\n }\n .ml-sm-1,\n .mx-sm-1 {\n margin-left: 0.25rem !important;\n }\n .m-sm-2 {\n margin: 0.5rem !important;\n }\n .mt-sm-2,\n .my-sm-2 {\n margin-top: 0.5rem !important;\n }\n .mr-sm-2,\n .mx-sm-2 {\n margin-right: 0.5rem !important;\n }\n .mb-sm-2,\n .my-sm-2 {\n margin-bottom: 0.5rem !important;\n }\n .ml-sm-2,\n .mx-sm-2 {\n margin-left: 0.5rem !important;\n }\n .m-sm-3 {\n margin: 1rem !important;\n }\n .mt-sm-3,\n .my-sm-3 {\n margin-top: 1rem !important;\n }\n .mr-sm-3,\n .mx-sm-3 {\n margin-right: 1rem !important;\n }\n .mb-sm-3,\n .my-sm-3 {\n margin-bottom: 1rem !important;\n }\n .ml-sm-3,\n .mx-sm-3 {\n margin-left: 1rem !important;\n }\n .m-sm-4 {\n margin: 1.5rem !important;\n }\n .mt-sm-4,\n .my-sm-4 {\n margin-top: 1.5rem !important;\n }\n .mr-sm-4,\n .mx-sm-4 {\n margin-right: 1.5rem !important;\n }\n .mb-sm-4,\n .my-sm-4 {\n margin-bottom: 1.5rem !important;\n }\n .ml-sm-4,\n .mx-sm-4 {\n margin-left: 1.5rem !important;\n }\n .m-sm-5 {\n margin: 3rem !important;\n }\n .mt-sm-5,\n .my-sm-5 {\n margin-top: 3rem !important;\n }\n .mr-sm-5,\n .mx-sm-5 {\n margin-right: 3rem !important;\n }\n .mb-sm-5,\n .my-sm-5 {\n margin-bottom: 3rem !important;\n }\n .ml-sm-5,\n .mx-sm-5 {\n margin-left: 3rem !important;\n }\n .p-sm-0 {\n padding: 0 !important;\n }\n .pt-sm-0,\n .py-sm-0 {\n padding-top: 0 !important;\n }\n .pr-sm-0,\n .px-sm-0 {\n padding-right: 0 !important;\n }\n .pb-sm-0,\n .py-sm-0 {\n padding-bottom: 0 !important;\n }\n .pl-sm-0,\n .px-sm-0 {\n padding-left: 0 !important;\n }\n .p-sm-1 {\n padding: 0.25rem !important;\n }\n .pt-sm-1,\n .py-sm-1 {\n padding-top: 0.25rem !important;\n }\n .pr-sm-1,\n .px-sm-1 {\n padding-right: 0.25rem !important;\n }\n .pb-sm-1,\n .py-sm-1 {\n padding-bottom: 0.25rem !important;\n }\n .pl-sm-1,\n .px-sm-1 {\n padding-left: 0.25rem !important;\n }\n .p-sm-2 {\n padding: 0.5rem !important;\n }\n .pt-sm-2,\n .py-sm-2 {\n padding-top: 0.5rem !important;\n }\n .pr-sm-2,\n .px-sm-2 {\n padding-right: 0.5rem !important;\n }\n .pb-sm-2,\n .py-sm-2 {\n padding-bottom: 0.5rem !important;\n }\n .pl-sm-2,\n .px-sm-2 {\n padding-left: 0.5rem !important;\n }\n .p-sm-3 {\n padding: 1rem !important;\n }\n .pt-sm-3,\n .py-sm-3 {\n padding-top: 1rem !important;\n }\n .pr-sm-3,\n .px-sm-3 {\n padding-right: 1rem !important;\n }\n .pb-sm-3,\n .py-sm-3 {\n padding-bottom: 1rem !important;\n }\n .pl-sm-3,\n .px-sm-3 {\n padding-left: 1rem !important;\n }\n .p-sm-4 {\n padding: 1.5rem !important;\n }\n .pt-sm-4,\n .py-sm-4 {\n padding-top: 1.5rem !important;\n }\n .pr-sm-4,\n .px-sm-4 {\n padding-right: 1.5rem !important;\n }\n .pb-sm-4,\n .py-sm-4 {\n padding-bottom: 1.5rem !important;\n }\n .pl-sm-4,\n .px-sm-4 {\n padding-left: 1.5rem !important;\n }\n .p-sm-5 {\n padding: 3rem !important;\n }\n .pt-sm-5,\n .py-sm-5 {\n padding-top: 3rem !important;\n }\n .pr-sm-5,\n .px-sm-5 {\n padding-right: 3rem !important;\n }\n .pb-sm-5,\n .py-sm-5 {\n padding-bottom: 3rem !important;\n }\n .pl-sm-5,\n .px-sm-5 {\n padding-left: 3rem !important;\n }\n .m-sm-auto {\n margin: auto !important;\n }\n .mt-sm-auto,\n .my-sm-auto {\n margin-top: auto !important;\n }\n .mr-sm-auto,\n .mx-sm-auto {\n margin-right: auto !important;\n }\n .mb-sm-auto,\n .my-sm-auto {\n margin-bottom: auto !important;\n }\n .ml-sm-auto,\n .mx-sm-auto {\n margin-left: auto !important;\n }\n}\n\n@media (min-width: 768px) {\n .m-md-0 {\n margin: 0 !important;\n }\n .mt-md-0,\n .my-md-0 {\n margin-top: 0 !important;\n }\n .mr-md-0,\n .mx-md-0 {\n margin-right: 0 !important;\n }\n .mb-md-0,\n .my-md-0 {\n margin-bottom: 0 !important;\n }\n .ml-md-0,\n .mx-md-0 {\n margin-left: 0 !important;\n }\n .m-md-1 {\n margin: 0.25rem !important;\n }\n .mt-md-1,\n .my-md-1 {\n margin-top: 0.25rem !important;\n }\n .mr-md-1,\n .mx-md-1 {\n margin-right: 0.25rem !important;\n }\n .mb-md-1,\n .my-md-1 {\n margin-bottom: 0.25rem !important;\n }\n .ml-md-1,\n .mx-md-1 {\n margin-left: 0.25rem !important;\n }\n .m-md-2 {\n margin: 0.5rem !important;\n }\n .mt-md-2,\n .my-md-2 {\n margin-top: 0.5rem !important;\n }\n .mr-md-2,\n .mx-md-2 {\n margin-right: 0.5rem !important;\n }\n .mb-md-2,\n .my-md-2 {\n margin-bottom: 0.5rem !important;\n }\n .ml-md-2,\n .mx-md-2 {\n margin-left: 0.5rem !important;\n }\n .m-md-3 {\n margin: 1rem !important;\n }\n .mt-md-3,\n .my-md-3 {\n margin-top: 1rem !important;\n }\n .mr-md-3,\n .mx-md-3 {\n margin-right: 1rem !important;\n }\n .mb-md-3,\n .my-md-3 {\n margin-bottom: 1rem !important;\n }\n .ml-md-3,\n .mx-md-3 {\n margin-left: 1rem !important;\n }\n .m-md-4 {\n margin: 1.5rem !important;\n }\n .mt-md-4,\n .my-md-4 {\n margin-top: 1.5rem !important;\n }\n .mr-md-4,\n .mx-md-4 {\n margin-right: 1.5rem !important;\n }\n .mb-md-4,\n .my-md-4 {\n margin-bottom: 1.5rem !important;\n }\n .ml-md-4,\n .mx-md-4 {\n margin-left: 1.5rem !important;\n }\n .m-md-5 {\n margin: 3rem !important;\n }\n .mt-md-5,\n .my-md-5 {\n margin-top: 3rem !important;\n }\n .mr-md-5,\n .mx-md-5 {\n margin-right: 3rem !important;\n }\n .mb-md-5,\n .my-md-5 {\n margin-bottom: 3rem !important;\n }\n .ml-md-5,\n .mx-md-5 {\n margin-left: 3rem !important;\n }\n .p-md-0 {\n padding: 0 !important;\n }\n .pt-md-0,\n .py-md-0 {\n padding-top: 0 !important;\n }\n .pr-md-0,\n .px-md-0 {\n padding-right: 0 !important;\n }\n .pb-md-0,\n .py-md-0 {\n padding-bottom: 0 !important;\n }\n .pl-md-0,\n .px-md-0 {\n padding-left: 0 !important;\n }\n .p-md-1 {\n padding: 0.25rem !important;\n }\n .pt-md-1,\n .py-md-1 {\n padding-top: 0.25rem !important;\n }\n .pr-md-1,\n .px-md-1 {\n padding-right: 0.25rem !important;\n }\n .pb-md-1,\n .py-md-1 {\n padding-bottom: 0.25rem !important;\n }\n .pl-md-1,\n .px-md-1 {\n padding-left: 0.25rem !important;\n }\n .p-md-2 {\n padding: 0.5rem !important;\n }\n .pt-md-2,\n .py-md-2 {\n padding-top: 0.5rem !important;\n }\n .pr-md-2,\n .px-md-2 {\n padding-right: 0.5rem !important;\n }\n .pb-md-2,\n .py-md-2 {\n padding-bottom: 0.5rem !important;\n }\n .pl-md-2,\n .px-md-2 {\n padding-left: 0.5rem !important;\n }\n .p-md-3 {\n padding: 1rem !important;\n }\n .pt-md-3,\n .py-md-3 {\n padding-top: 1rem !important;\n }\n .pr-md-3,\n .px-md-3 {\n padding-right: 1rem !important;\n }\n .pb-md-3,\n .py-md-3 {\n padding-bottom: 1rem !important;\n }\n .pl-md-3,\n .px-md-3 {\n padding-left: 1rem !important;\n }\n .p-md-4 {\n padding: 1.5rem !important;\n }\n .pt-md-4,\n .py-md-4 {\n padding-top: 1.5rem !important;\n }\n .pr-md-4,\n .px-md-4 {\n padding-right: 1.5rem !important;\n }\n .pb-md-4,\n .py-md-4 {\n padding-bottom: 1.5rem !important;\n }\n .pl-md-4,\n .px-md-4 {\n padding-left: 1.5rem !important;\n }\n .p-md-5 {\n padding: 3rem !important;\n }\n .pt-md-5,\n .py-md-5 {\n padding-top: 3rem !important;\n }\n .pr-md-5,\n .px-md-5 {\n padding-right: 3rem !important;\n }\n .pb-md-5,\n .py-md-5 {\n padding-bottom: 3rem !important;\n }\n .pl-md-5,\n .px-md-5 {\n padding-left: 3rem !important;\n }\n .m-md-auto {\n margin: auto !important;\n }\n .mt-md-auto,\n .my-md-auto {\n margin-top: auto !important;\n }\n .mr-md-auto,\n .mx-md-auto {\n margin-right: auto !important;\n }\n .mb-md-auto,\n .my-md-auto {\n margin-bottom: auto !important;\n }\n .ml-md-auto,\n .mx-md-auto {\n margin-left: auto !important;\n }\n}\n\n@media (min-width: 992px) {\n .m-lg-0 {\n margin: 0 !important;\n }\n .mt-lg-0,\n .my-lg-0 {\n margin-top: 0 !important;\n }\n .mr-lg-0,\n .mx-lg-0 {\n margin-right: 0 !important;\n }\n .mb-lg-0,\n .my-lg-0 {\n margin-bottom: 0 !important;\n }\n .ml-lg-0,\n .mx-lg-0 {\n margin-left: 0 !important;\n }\n .m-lg-1 {\n margin: 0.25rem !important;\n }\n .mt-lg-1,\n .my-lg-1 {\n margin-top: 0.25rem !important;\n }\n .mr-lg-1,\n .mx-lg-1 {\n margin-right: 0.25rem !important;\n }\n .mb-lg-1,\n .my-lg-1 {\n margin-bottom: 0.25rem !important;\n }\n .ml-lg-1,\n .mx-lg-1 {\n margin-left: 0.25rem !important;\n }\n .m-lg-2 {\n margin: 0.5rem !important;\n }\n .mt-lg-2,\n .my-lg-2 {\n margin-top: 0.5rem !important;\n }\n .mr-lg-2,\n .mx-lg-2 {\n margin-right: 0.5rem !important;\n }\n .mb-lg-2,\n .my-lg-2 {\n margin-bottom: 0.5rem !important;\n }\n .ml-lg-2,\n .mx-lg-2 {\n margin-left: 0.5rem !important;\n }\n .m-lg-3 {\n margin: 1rem !important;\n }\n .mt-lg-3,\n .my-lg-3 {\n margin-top: 1rem !important;\n }\n .mr-lg-3,\n .mx-lg-3 {\n margin-right: 1rem !important;\n }\n .mb-lg-3,\n .my-lg-3 {\n margin-bottom: 1rem !important;\n }\n .ml-lg-3,\n .mx-lg-3 {\n margin-left: 1rem !important;\n }\n .m-lg-4 {\n margin: 1.5rem !important;\n }\n .mt-lg-4,\n .my-lg-4 {\n margin-top: 1.5rem !important;\n }\n .mr-lg-4,\n .mx-lg-4 {\n margin-right: 1.5rem !important;\n }\n .mb-lg-4,\n .my-lg-4 {\n margin-bottom: 1.5rem !important;\n }\n .ml-lg-4,\n .mx-lg-4 {\n margin-left: 1.5rem !important;\n }\n .m-lg-5 {\n margin: 3rem !important;\n }\n .mt-lg-5,\n .my-lg-5 {\n margin-top: 3rem !important;\n }\n .mr-lg-5,\n .mx-lg-5 {\n margin-right: 3rem !important;\n }\n .mb-lg-5,\n .my-lg-5 {\n margin-bottom: 3rem !important;\n }\n .ml-lg-5,\n .mx-lg-5 {\n margin-left: 3rem !important;\n }\n .p-lg-0 {\n padding: 0 !important;\n }\n .pt-lg-0,\n .py-lg-0 {\n padding-top: 0 !important;\n }\n .pr-lg-0,\n .px-lg-0 {\n padding-right: 0 !important;\n }\n .pb-lg-0,\n .py-lg-0 {\n padding-bottom: 0 !important;\n }\n .pl-lg-0,\n .px-lg-0 {\n padding-left: 0 !important;\n }\n .p-lg-1 {\n padding: 0.25rem !important;\n }\n .pt-lg-1,\n .py-lg-1 {\n padding-top: 0.25rem !important;\n }\n .pr-lg-1,\n .px-lg-1 {\n padding-right: 0.25rem !important;\n }\n .pb-lg-1,\n .py-lg-1 {\n padding-bottom: 0.25rem !important;\n }\n .pl-lg-1,\n .px-lg-1 {\n padding-left: 0.25rem !important;\n }\n .p-lg-2 {\n padding: 0.5rem !important;\n }\n .pt-lg-2,\n .py-lg-2 {\n padding-top: 0.5rem !important;\n }\n .pr-lg-2,\n .px-lg-2 {\n padding-right: 0.5rem !important;\n }\n .pb-lg-2,\n .py-lg-2 {\n padding-bottom: 0.5rem !important;\n }\n .pl-lg-2,\n .px-lg-2 {\n padding-left: 0.5rem !important;\n }\n .p-lg-3 {\n padding: 1rem !important;\n }\n .pt-lg-3,\n .py-lg-3 {\n padding-top: 1rem !important;\n }\n .pr-lg-3,\n .px-lg-3 {\n padding-right: 1rem !important;\n }\n .pb-lg-3,\n .py-lg-3 {\n padding-bottom: 1rem !important;\n }\n .pl-lg-3,\n .px-lg-3 {\n padding-left: 1rem !important;\n }\n .p-lg-4 {\n padding: 1.5rem !important;\n }\n .pt-lg-4,\n .py-lg-4 {\n padding-top: 1.5rem !important;\n }\n .pr-lg-4,\n .px-lg-4 {\n padding-right: 1.5rem !important;\n }\n .pb-lg-4,\n .py-lg-4 {\n padding-bottom: 1.5rem !important;\n }\n .pl-lg-4,\n .px-lg-4 {\n padding-left: 1.5rem !important;\n }\n .p-lg-5 {\n padding: 3rem !important;\n }\n .pt-lg-5,\n .py-lg-5 {\n padding-top: 3rem !important;\n }\n .pr-lg-5,\n .px-lg-5 {\n padding-right: 3rem !important;\n }\n .pb-lg-5,\n .py-lg-5 {\n padding-bottom: 3rem !important;\n }\n .pl-lg-5,\n .px-lg-5 {\n padding-left: 3rem !important;\n }\n .m-lg-auto {\n margin: auto !important;\n }\n .mt-lg-auto,\n .my-lg-auto {\n margin-top: auto !important;\n }\n .mr-lg-auto,\n .mx-lg-auto {\n margin-right: auto !important;\n }\n .mb-lg-auto,\n .my-lg-auto {\n margin-bottom: auto !important;\n }\n .ml-lg-auto,\n .mx-lg-auto {\n margin-left: auto !important;\n }\n}\n\n@media (min-width: 1200px) {\n .m-xl-0 {\n margin: 0 !important;\n }\n .mt-xl-0,\n .my-xl-0 {\n margin-top: 0 !important;\n }\n .mr-xl-0,\n .mx-xl-0 {\n margin-right: 0 !important;\n }\n .mb-xl-0,\n .my-xl-0 {\n margin-bottom: 0 !important;\n }\n .ml-xl-0,\n .mx-xl-0 {\n margin-left: 0 !important;\n }\n .m-xl-1 {\n margin: 0.25rem !important;\n }\n .mt-xl-1,\n .my-xl-1 {\n margin-top: 0.25rem !important;\n }\n .mr-xl-1,\n .mx-xl-1 {\n margin-right: 0.25rem !important;\n }\n .mb-xl-1,\n .my-xl-1 {\n margin-bottom: 0.25rem !important;\n }\n .ml-xl-1,\n .mx-xl-1 {\n margin-left: 0.25rem !important;\n }\n .m-xl-2 {\n margin: 0.5rem !important;\n }\n .mt-xl-2,\n .my-xl-2 {\n margin-top: 0.5rem !important;\n }\n .mr-xl-2,\n .mx-xl-2 {\n margin-right: 0.5rem !important;\n }\n .mb-xl-2,\n .my-xl-2 {\n margin-bottom: 0.5rem !important;\n }\n .ml-xl-2,\n .mx-xl-2 {\n margin-left: 0.5rem !important;\n }\n .m-xl-3 {\n margin: 1rem !important;\n }\n .mt-xl-3,\n .my-xl-3 {\n margin-top: 1rem !important;\n }\n .mr-xl-3,\n .mx-xl-3 {\n margin-right: 1rem !important;\n }\n .mb-xl-3,\n .my-xl-3 {\n margin-bottom: 1rem !important;\n }\n .ml-xl-3,\n .mx-xl-3 {\n margin-left: 1rem !important;\n }\n .m-xl-4 {\n margin: 1.5rem !important;\n }\n .mt-xl-4,\n .my-xl-4 {\n margin-top: 1.5rem !important;\n }\n .mr-xl-4,\n .mx-xl-4 {\n margin-right: 1.5rem !important;\n }\n .mb-xl-4,\n .my-xl-4 {\n margin-bottom: 1.5rem !important;\n }\n .ml-xl-4,\n .mx-xl-4 {\n margin-left: 1.5rem !important;\n }\n .m-xl-5 {\n margin: 3rem !important;\n }\n .mt-xl-5,\n .my-xl-5 {\n margin-top: 3rem !important;\n }\n .mr-xl-5,\n .mx-xl-5 {\n margin-right: 3rem !important;\n }\n .mb-xl-5,\n .my-xl-5 {\n margin-bottom: 3rem !important;\n }\n .ml-xl-5,\n .mx-xl-5 {\n margin-left: 3rem !important;\n }\n .p-xl-0 {\n padding: 0 !important;\n }\n .pt-xl-0,\n .py-xl-0 {\n padding-top: 0 !important;\n }\n .pr-xl-0,\n .px-xl-0 {\n padding-right: 0 !important;\n }\n .pb-xl-0,\n .py-xl-0 {\n padding-bottom: 0 !important;\n }\n .pl-xl-0,\n .px-xl-0 {\n padding-left: 0 !important;\n }\n .p-xl-1 {\n padding: 0.25rem !important;\n }\n .pt-xl-1,\n .py-xl-1 {\n padding-top: 0.25rem !important;\n }\n .pr-xl-1,\n .px-xl-1 {\n padding-right: 0.25rem !important;\n }\n .pb-xl-1,\n .py-xl-1 {\n padding-bottom: 0.25rem !important;\n }\n .pl-xl-1,\n .px-xl-1 {\n padding-left: 0.25rem !important;\n }\n .p-xl-2 {\n padding: 0.5rem !important;\n }\n .pt-xl-2,\n .py-xl-2 {\n padding-top: 0.5rem !important;\n }\n .pr-xl-2,\n .px-xl-2 {\n padding-right: 0.5rem !important;\n }\n .pb-xl-2,\n .py-xl-2 {\n padding-bottom: 0.5rem !important;\n }\n .pl-xl-2,\n .px-xl-2 {\n padding-left: 0.5rem !important;\n }\n .p-xl-3 {\n padding: 1rem !important;\n }\n .pt-xl-3,\n .py-xl-3 {\n padding-top: 1rem !important;\n }\n .pr-xl-3,\n .px-xl-3 {\n padding-right: 1rem !important;\n }\n .pb-xl-3,\n .py-xl-3 {\n padding-bottom: 1rem !important;\n }\n .pl-xl-3,\n .px-xl-3 {\n padding-left: 1rem !important;\n }\n .p-xl-4 {\n padding: 1.5rem !important;\n }\n .pt-xl-4,\n .py-xl-4 {\n padding-top: 1.5rem !important;\n }\n .pr-xl-4,\n .px-xl-4 {\n padding-right: 1.5rem !important;\n }\n .pb-xl-4,\n .py-xl-4 {\n padding-bottom: 1.5rem !important;\n }\n .pl-xl-4,\n .px-xl-4 {\n padding-left: 1.5rem !important;\n }\n .p-xl-5 {\n padding: 3rem !important;\n }\n .pt-xl-5,\n .py-xl-5 {\n padding-top: 3rem !important;\n }\n .pr-xl-5,\n .px-xl-5 {\n padding-right: 3rem !important;\n }\n .pb-xl-5,\n .py-xl-5 {\n padding-bottom: 3rem !important;\n }\n .pl-xl-5,\n .px-xl-5 {\n padding-left: 3rem !important;\n }\n .m-xl-auto {\n margin: auto !important;\n }\n .mt-xl-auto,\n .my-xl-auto {\n margin-top: auto !important;\n }\n .mr-xl-auto,\n .mx-xl-auto {\n margin-right: auto !important;\n }\n .mb-xl-auto,\n .my-xl-auto {\n margin-bottom: auto !important;\n }\n .ml-xl-auto,\n .mx-xl-auto {\n margin-left: auto !important;\n }\n}\n\n.text-monospace {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n.text-justify {\n text-align: justify !important;\n}\n\n.text-nowrap {\n white-space: nowrap !important;\n}\n\n.text-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.text-left {\n text-align: left !important;\n}\n\n.text-right {\n text-align: right !important;\n}\n\n.text-center {\n text-align: center !important;\n}\n\n@media (min-width: 576px) {\n .text-sm-left {\n text-align: left !important;\n }\n .text-sm-right {\n text-align: right !important;\n }\n .text-sm-center {\n text-align: center !important;\n }\n}\n\n@media (min-width: 768px) {\n .text-md-left {\n text-align: left !important;\n }\n .text-md-right {\n text-align: right !important;\n }\n .text-md-center {\n text-align: center !important;\n }\n}\n\n@media (min-width: 992px) {\n .text-lg-left {\n text-align: left !important;\n }\n .text-lg-right {\n text-align: right !important;\n }\n .text-lg-center {\n text-align: center !important;\n }\n}\n\n@media (min-width: 1200px) {\n .text-xl-left {\n text-align: left !important;\n }\n .text-xl-right {\n text-align: right !important;\n }\n .text-xl-center {\n text-align: center !important;\n }\n}\n\n.text-lowercase {\n text-transform: lowercase !important;\n}\n\n.text-uppercase {\n text-transform: uppercase !important;\n}\n\n.text-capitalize {\n text-transform: capitalize !important;\n}\n\n.font-weight-light {\n font-weight: 300 !important;\n}\n\n.font-weight-normal {\n font-weight: 400 !important;\n}\n\n.font-weight-bold {\n font-weight: 700 !important;\n}\n\n.font-italic {\n font-style: italic !important;\n}\n\n.text-white {\n color: #fff !important;\n}\n\n.text-primary {\n color: #20a8d8 !important;\n}\n\na.text-primary:hover, a.text-primary:focus {\n color: #1985ac !important;\n}\n\n.text-secondary {\n color: #c8ced3 !important;\n}\n\na.text-secondary:hover, a.text-secondary:focus {\n color: #acb5bc !important;\n}\n\n.text-success {\n color: #4dbd74 !important;\n}\n\na.text-success:hover, a.text-success:focus {\n color: #3a9d5d !important;\n}\n\n.text-info {\n color: #63c2de !important;\n}\n\na.text-info:hover, a.text-info:focus {\n color: #39b2d5 !important;\n}\n\n.text-warning {\n color: #ffc107 !important;\n}\n\na.text-warning:hover, a.text-warning:focus {\n color: #d39e00 !important;\n}\n\n.text-danger {\n color: #f86c6b !important;\n}\n\na.text-danger:hover, a.text-danger:focus {\n color: #f63c3a !important;\n}\n\n.text-light {\n color: #f0f3f5 !important;\n}\n\na.text-light:hover, a.text-light:focus {\n color: #d1dbe1 !important;\n}\n\n.text-dark {\n color: #2f353a !important;\n}\n\na.text-dark:hover, a.text-dark:focus {\n color: #181b1e !important;\n}\n\n.text-body {\n color: #23282c !important;\n}\n\n.text-muted {\n color: #73818f !important;\n}\n\n.text-black-50 {\n color: rgba(0, 0, 0, 0.5) !important;\n}\n\n.text-white-50 {\n color: rgba(255, 255, 255, 0.5) !important;\n}\n\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n\n.visible {\n visibility: visible !important;\n}\n\n.invisible {\n visibility: hidden !important;\n}\n\n@media print {\n *,\n *::before,\n *::after {\n text-shadow: none !important;\n box-shadow: none !important;\n }\n a:not(.btn) {\n text-decoration: underline;\n }\n abbr[title]::after {\n content: \" (\" attr(title) \")\";\n }\n pre {\n white-space: pre-wrap !important;\n }\n pre,\n blockquote {\n border: 1px solid #8f9ba6;\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n @page {\n size: a3;\n }\n body {\n min-width: 992px !important;\n }\n .container {\n min-width: 992px !important;\n }\n .navbar {\n display: none;\n }\n .badge {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #c8ced3 !important;\n }\n .table-dark {\n color: inherit;\n }\n .table-dark th,\n .table-dark td,\n .table-dark thead th,\n .table-dark tbody + tbody {\n border-color: #c8ced3;\n }\n .table .thead-dark th {\n color: inherit;\n border-color: #c8ced3;\n }\n}\n\n.animated {\n animation-duration: 1s;\n}\n\n.animated.infinite {\n animation-iteration-count: infinite;\n}\n\n.animated.hinge {\n animation-duration: 2s;\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n.fadeIn {\n animation-name: fadeIn;\n}\n\n.ps {\n overflow: hidden !important;\n -ms-touch-action: auto;\n touch-action: auto;\n -ms-overflow-style: none;\n overflow-anchor: none;\n}\n\n.ps__rail-x {\n position: absolute;\n bottom: 0;\n display: none;\n height: 15px;\n opacity: 0;\n transition: background-color .2s linear, opacity .2s linear;\n}\n\n.ps__rail-y {\n position: absolute;\n right: 0;\n display: none;\n width: 15px;\n opacity: 0;\n transition: background-color .2s linear, opacity .2s linear;\n}\n\n.ps--active-x > .ps__rail-x,\n.ps--active-y > .ps__rail-y {\n display: block;\n background-color: transparent;\n}\n\n.ps:hover > .ps__rail-x,\n.ps:hover > .ps__rail-y,\n.ps--focus > .ps__rail-x,\n.ps--focus > .ps__rail-y,\n.ps--scrolling-x > .ps__rail-x,\n.ps--scrolling-y > .ps__rail-y {\n opacity: .6;\n}\n\n.ps__rail-x:hover,\n.ps__rail-y:hover,\n.ps__rail-x:focus,\n.ps__rail-y:focus {\n background-color: #eee;\n opacity: .9;\n}\n\n/*\r\n * Scrollbar thumb styles\r\n */\n.ps__thumb-x {\n position: absolute;\n bottom: 2px;\n height: 6px;\n background-color: #aaa;\n border-radius: 6px;\n transition: background-color .2s linear, height .2s ease-in-out;\n}\n\n.ps__thumb-y {\n position: absolute;\n right: 2px;\n width: 6px;\n background-color: #aaa;\n border-radius: 6px;\n transition: background-color .2s linear, width .2s ease-in-out;\n}\n\n.ps__rail-x:hover > .ps__thumb-x,\n.ps__rail-x:focus > .ps__thumb-x {\n height: 11px;\n background-color: #999;\n}\n\n.ps__rail-y:hover > .ps__thumb-y,\n.ps__rail-y:focus > .ps__thumb-y {\n width: 11px;\n background-color: #999;\n}\n\n@supports (-ms-overflow-style: none) {\n .ps {\n overflow: auto !important;\n }\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .ps {\n overflow: auto !important;\n }\n}\n\n.aside-menu {\n z-index: 1019;\n width: 250px;\n color: #2f353a;\n background: #fff;\n border-left: 1px solid #c8ced3;\n}\n\n.aside-menu .nav-tabs {\n border-color: #c8ced3;\n}\n\n.aside-menu .nav-tabs .nav-link {\n padding: 0.75rem 1rem;\n color: #23282c;\n border-top: 0;\n border-radius: 0;\n}\n\n.aside-menu .nav-tabs .nav-link.active {\n color: #20a8d8;\n border-right-color: #c8ced3;\n border-left-color: #c8ced3;\n}\n\n.aside-menu .nav-tabs .nav-item:first-child .nav-link {\n border-left: 0;\n}\n\n.aside-menu .tab-content {\n position: relative;\n overflow-x: hidden;\n overflow-y: auto;\n border: 0;\n border-top: 1px solid #c8ced3;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n\n.aside-menu .tab-content::-webkit-scrollbar {\n width: 10px;\n margin-left: -10px;\n appearance: none;\n}\n\n.aside-menu .tab-content::-webkit-scrollbar-track {\n background-color: white;\n border-right: 1px solid #f2f2f2;\n border-left: 1px solid #f2f2f2;\n}\n\n.aside-menu .tab-content::-webkit-scrollbar-thumb {\n height: 50px;\n background-color: #e6e6e6;\n background-clip: content-box;\n border-color: transparent;\n border-style: solid;\n border-width: 1px 2px;\n}\n\n.aside-menu .tab-content .tab-pane {\n padding: 0;\n}\n\n.avatar {\n position: relative;\n display: inline-block;\n width: 36px;\n height: 36px;\n}\n\n.avatar .avatar-status {\n position: absolute;\n right: 0;\n bottom: 0;\n display: block;\n width: 10px;\n height: 10px;\n border: 1px solid #fff;\n border-radius: 50em;\n}\n\n.avatar > img {\n vertical-align: initial;\n}\n\n.avatar-lg {\n position: relative;\n display: inline-block;\n width: 72px;\n height: 72px;\n}\n\n.avatar-lg .avatar-status {\n position: absolute;\n right: 0;\n bottom: 0;\n display: block;\n width: 12px;\n height: 12px;\n border: 1px solid #fff;\n border-radius: 50em;\n}\n\n.avatar-sm {\n position: relative;\n display: inline-block;\n width: 24px;\n height: 24px;\n}\n\n.avatar-sm .avatar-status {\n position: absolute;\n right: 0;\n bottom: 0;\n display: block;\n width: 8px;\n height: 8px;\n border: 1px solid #fff;\n border-radius: 50em;\n}\n\n.avatar-xs {\n position: relative;\n display: inline-block;\n width: 20px;\n height: 20px;\n}\n\n.avatar-xs .avatar-status {\n position: absolute;\n right: 0;\n bottom: 0;\n display: block;\n width: 8px;\n height: 8px;\n border: 1px solid #fff;\n border-radius: 50em;\n}\n\n.avatars-stack .avatar {\n margin-right: -18px;\n transition: margin-right 0.25s;\n}\n\n.avatars-stack .avatar:hover {\n margin-right: 0;\n}\n\n.avatars-stack .avatar-lg {\n margin-right: -36px;\n}\n\n.avatars-stack .avatar-sm {\n margin-right: -12px;\n}\n\n.avatars-stack .avatar-xs {\n margin-right: -10px;\n}\n\n.badge-pill {\n border-radius: 10rem;\n}\n\n.breadcrumb-menu {\n margin-left: auto;\n}\n\n.breadcrumb-menu::before {\n display: none;\n}\n\n.breadcrumb-menu .btn-group {\n vertical-align: top;\n}\n\n.breadcrumb-menu .btn {\n padding: 0 0.75rem;\n color: #73818f;\n vertical-align: top;\n border: 0;\n}\n\n.breadcrumb-menu .btn:hover, .breadcrumb-menu .btn.active {\n color: #23282c;\n background: transparent;\n}\n\n.breadcrumb-menu .open .btn {\n color: #23282c;\n background: transparent;\n}\n\n.breadcrumb-menu .dropdown-menu {\n min-width: 180px;\n line-height: 1.5;\n}\n\n*[dir=\"rtl\"] .breadcrumb-menu {\n margin-right: auto;\n margin-left: initial;\n}\n\n.breadcrumb {\n position: relative;\n border-radius: 0;\n border-bottom: 1px solid #c8ced3;\n}\n\n*[dir=\"rtl\"] .breadcrumb-item::before {\n padding-right: 0;\n padding-left: 0.5rem;\n}\n\n*[dir=\"rtl\"] .breadcrumb-item {\n padding-right: 0.5rem;\n padding-left: 0;\n}\n\n.brand-card {\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n margin-bottom: 1.5rem;\n word-wrap: break-word;\n background-color: #fff;\n background-clip: border-box;\n border: 1px solid #c8ced3;\n border-radius: 0.25rem;\n}\n\n.brand-card-header {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 6rem;\n border-radius: 0.25rem 0.25rem 0 0;\n}\n\n.brand-card-header i {\n font-size: 2rem;\n color: #fff;\n}\n\n.brand-card-header .chart-wrapper {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.brand-card-body {\n display: flex;\n flex-direction: row;\n padding: 0.75rem 0;\n text-align: center;\n}\n\n.brand-card-body > * {\n flex: 1;\n padding: 0.1875rem 0;\n}\n\n.brand-card-body > *:not(:last-child) {\n border-right: 1px solid #c8ced3;\n}\n\n*[dir=\"rtl\"] .brand-card-body > *:not(:last-child) {\n border-right: 0;\n border-left: 1px solid #c8ced3;\n}\n\n.btn-brand {\n border: 0;\n}\n\n.btn-brand i {\n display: inline-block;\n width: 2.0625rem;\n margin: -0.375rem -0.75rem;\n line-height: 2.0625rem;\n text-align: center;\n background-color: rgba(0, 0, 0, 0.2);\n border-radius: 0.25rem;\n}\n\n.btn-brand i + span {\n margin-left: 1.5rem;\n}\n\n.btn-brand.btn-lg i, .btn-group-lg > .btn-brand.btn i {\n width: 2.640625rem;\n margin: -0.5rem -1rem;\n line-height: 2.640625rem;\n border-radius: 0.3rem;\n}\n\n.btn-brand.btn-lg i + span, .btn-group-lg > .btn-brand.btn i + span {\n margin-left: 2rem;\n}\n\n.btn-brand.btn-sm i, .btn-group-sm > .btn-brand.btn i {\n width: 1.648438rem;\n margin: -0.25rem -0.5rem;\n line-height: 1.648438rem;\n border-radius: 0.2rem;\n}\n\n.btn-brand.btn-sm i + span, .btn-group-sm > .btn-brand.btn i + span {\n margin-left: 1rem;\n}\n\n.btn-brand.btn-square i {\n border-radius: 0;\n}\n\n.btn-facebook {\n color: #fff;\n background-color: #3b5998;\n border-color: #3b5998;\n}\n\n.btn-facebook:hover {\n color: #fff;\n background-color: #30497c;\n border-color: #2d4373;\n}\n\n.btn-facebook:focus, .btn-facebook.focus {\n box-shadow: 0 0 0 0.2rem rgba(59, 89, 152, 0.5);\n}\n\n.btn-facebook.disabled, .btn-facebook:disabled {\n color: #fff;\n background-color: #3b5998;\n border-color: #3b5998;\n}\n\n.btn-facebook:not(:disabled):not(.disabled):active, .btn-facebook:not(:disabled):not(.disabled).active,\n.show > .btn-facebook.dropdown-toggle {\n color: #fff;\n background-color: #2d4373;\n border-color: #293e6a;\n}\n\n.btn-facebook:not(:disabled):not(.disabled):active:focus, .btn-facebook:not(:disabled):not(.disabled).active:focus,\n.show > .btn-facebook.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(59, 89, 152, 0.5);\n}\n\n.btn-twitter {\n color: #fff;\n background-color: #00aced;\n border-color: #00aced;\n}\n\n.btn-twitter:hover {\n color: #fff;\n background-color: #0090c7;\n border-color: #0087ba;\n}\n\n.btn-twitter:focus, .btn-twitter.focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 172, 237, 0.5);\n}\n\n.btn-twitter.disabled, .btn-twitter:disabled {\n color: #fff;\n background-color: #00aced;\n border-color: #00aced;\n}\n\n.btn-twitter:not(:disabled):not(.disabled):active, .btn-twitter:not(:disabled):not(.disabled).active,\n.show > .btn-twitter.dropdown-toggle {\n color: #fff;\n background-color: #0087ba;\n border-color: #007ead;\n}\n\n.btn-twitter:not(:disabled):not(.disabled):active:focus, .btn-twitter:not(:disabled):not(.disabled).active:focus,\n.show > .btn-twitter.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 172, 237, 0.5);\n}\n\n.btn-linkedin {\n color: #fff;\n background-color: #4875b4;\n border-color: #4875b4;\n}\n\n.btn-linkedin:hover {\n color: #fff;\n background-color: #3d6399;\n border-color: #395d90;\n}\n\n.btn-linkedin:focus, .btn-linkedin.focus {\n box-shadow: 0 0 0 0.2rem rgba(72, 117, 180, 0.5);\n}\n\n.btn-linkedin.disabled, .btn-linkedin:disabled {\n color: #fff;\n background-color: #4875b4;\n border-color: #4875b4;\n}\n\n.btn-linkedin:not(:disabled):not(.disabled):active, .btn-linkedin:not(:disabled):not(.disabled).active,\n.show > .btn-linkedin.dropdown-toggle {\n color: #fff;\n background-color: #395d90;\n border-color: #365786;\n}\n\n.btn-linkedin:not(:disabled):not(.disabled):active:focus, .btn-linkedin:not(:disabled):not(.disabled).active:focus,\n.show > .btn-linkedin.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(72, 117, 180, 0.5);\n}\n\n.btn-google-plus {\n color: #fff;\n background-color: #d34836;\n border-color: #d34836;\n}\n\n.btn-google-plus:hover {\n color: #fff;\n background-color: #ba3929;\n border-color: #b03626;\n}\n\n.btn-google-plus:focus, .btn-google-plus.focus {\n box-shadow: 0 0 0 0.2rem rgba(211, 72, 54, 0.5);\n}\n\n.btn-google-plus.disabled, .btn-google-plus:disabled {\n color: #fff;\n background-color: #d34836;\n border-color: #d34836;\n}\n\n.btn-google-plus:not(:disabled):not(.disabled):active, .btn-google-plus:not(:disabled):not(.disabled).active,\n.show > .btn-google-plus.dropdown-toggle {\n color: #fff;\n background-color: #b03626;\n border-color: #a53324;\n}\n\n.btn-google-plus:not(:disabled):not(.disabled):active:focus, .btn-google-plus:not(:disabled):not(.disabled).active:focus,\n.show > .btn-google-plus.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(211, 72, 54, 0.5);\n}\n\n.btn-flickr {\n color: #fff;\n background-color: #ff0084;\n border-color: #ff0084;\n}\n\n.btn-flickr:hover {\n color: #fff;\n background-color: #d90070;\n border-color: #cc006a;\n}\n\n.btn-flickr:focus, .btn-flickr.focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 0, 132, 0.5);\n}\n\n.btn-flickr.disabled, .btn-flickr:disabled {\n color: #fff;\n background-color: #ff0084;\n border-color: #ff0084;\n}\n\n.btn-flickr:not(:disabled):not(.disabled):active, .btn-flickr:not(:disabled):not(.disabled).active,\n.show > .btn-flickr.dropdown-toggle {\n color: #fff;\n background-color: #cc006a;\n border-color: #bf0063;\n}\n\n.btn-flickr:not(:disabled):not(.disabled):active:focus, .btn-flickr:not(:disabled):not(.disabled).active:focus,\n.show > .btn-flickr.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 0, 132, 0.5);\n}\n\n.btn-tumblr {\n color: #fff;\n background-color: #32506d;\n border-color: #32506d;\n}\n\n.btn-tumblr:hover {\n color: #fff;\n background-color: #263d53;\n border-color: #22364a;\n}\n\n.btn-tumblr:focus, .btn-tumblr.focus {\n box-shadow: 0 0 0 0.2rem rgba(50, 80, 109, 0.5);\n}\n\n.btn-tumblr.disabled, .btn-tumblr:disabled {\n color: #fff;\n background-color: #32506d;\n border-color: #32506d;\n}\n\n.btn-tumblr:not(:disabled):not(.disabled):active, .btn-tumblr:not(:disabled):not(.disabled).active,\n.show > .btn-tumblr.dropdown-toggle {\n color: #fff;\n background-color: #22364a;\n border-color: #1e3041;\n}\n\n.btn-tumblr:not(:disabled):not(.disabled):active:focus, .btn-tumblr:not(:disabled):not(.disabled).active:focus,\n.show > .btn-tumblr.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(50, 80, 109, 0.5);\n}\n\n.btn-xing {\n color: #fff;\n background-color: #026466;\n border-color: #026466;\n}\n\n.btn-xing:hover {\n color: #fff;\n background-color: #013f40;\n border-color: #013334;\n}\n\n.btn-xing:focus, .btn-xing.focus {\n box-shadow: 0 0 0 0.2rem rgba(2, 100, 102, 0.5);\n}\n\n.btn-xing.disabled, .btn-xing:disabled {\n color: #fff;\n background-color: #026466;\n border-color: #026466;\n}\n\n.btn-xing:not(:disabled):not(.disabled):active, .btn-xing:not(:disabled):not(.disabled).active,\n.show > .btn-xing.dropdown-toggle {\n color: #fff;\n background-color: #013334;\n border-color: #012727;\n}\n\n.btn-xing:not(:disabled):not(.disabled):active:focus, .btn-xing:not(:disabled):not(.disabled).active:focus,\n.show > .btn-xing.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(2, 100, 102, 0.5);\n}\n\n.btn-github {\n color: #fff;\n background-color: #4183c4;\n border-color: #4183c4;\n}\n\n.btn-github:hover {\n color: #fff;\n background-color: #3570aa;\n border-color: #3269a0;\n}\n\n.btn-github:focus, .btn-github.focus {\n box-shadow: 0 0 0 0.2rem rgba(65, 131, 196, 0.5);\n}\n\n.btn-github.disabled, .btn-github:disabled {\n color: #fff;\n background-color: #4183c4;\n border-color: #4183c4;\n}\n\n.btn-github:not(:disabled):not(.disabled):active, .btn-github:not(:disabled):not(.disabled).active,\n.show > .btn-github.dropdown-toggle {\n color: #fff;\n background-color: #3269a0;\n border-color: #2f6397;\n}\n\n.btn-github:not(:disabled):not(.disabled):active:focus, .btn-github:not(:disabled):not(.disabled).active:focus,\n.show > .btn-github.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(65, 131, 196, 0.5);\n}\n\n.btn-html5 {\n color: #fff;\n background-color: #e34f26;\n border-color: #e34f26;\n}\n\n.btn-html5:hover {\n color: #fff;\n background-color: #c9401a;\n border-color: #be3c18;\n}\n\n.btn-html5:focus, .btn-html5.focus {\n box-shadow: 0 0 0 0.2rem rgba(227, 79, 38, 0.5);\n}\n\n.btn-html5.disabled, .btn-html5:disabled {\n color: #fff;\n background-color: #e34f26;\n border-color: #e34f26;\n}\n\n.btn-html5:not(:disabled):not(.disabled):active, .btn-html5:not(:disabled):not(.disabled).active,\n.show > .btn-html5.dropdown-toggle {\n color: #fff;\n background-color: #be3c18;\n border-color: #b23917;\n}\n\n.btn-html5:not(:disabled):not(.disabled):active:focus, .btn-html5:not(:disabled):not(.disabled).active:focus,\n.show > .btn-html5.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(227, 79, 38, 0.5);\n}\n\n.btn-openid {\n color: #23282c;\n background-color: #f78c40;\n border-color: #f78c40;\n}\n\n.btn-openid:hover {\n color: #fff;\n background-color: #f5761b;\n border-color: #f56f0f;\n}\n\n.btn-openid:focus, .btn-openid.focus {\n box-shadow: 0 0 0 0.2rem rgba(247, 140, 64, 0.5);\n}\n\n.btn-openid.disabled, .btn-openid:disabled {\n color: #23282c;\n background-color: #f78c40;\n border-color: #f78c40;\n}\n\n.btn-openid:not(:disabled):not(.disabled):active, .btn-openid:not(:disabled):not(.disabled).active,\n.show > .btn-openid.dropdown-toggle {\n color: #fff;\n background-color: #f56f0f;\n border-color: #ed680a;\n}\n\n.btn-openid:not(:disabled):not(.disabled):active:focus, .btn-openid:not(:disabled):not(.disabled).active:focus,\n.show > .btn-openid.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(247, 140, 64, 0.5);\n}\n\n.btn-stack-overflow {\n color: #fff;\n background-color: #fe7a15;\n border-color: #fe7a15;\n}\n\n.btn-stack-overflow:hover {\n color: #fff;\n background-color: #ec6701;\n border-color: #df6101;\n}\n\n.btn-stack-overflow:focus, .btn-stack-overflow.focus {\n box-shadow: 0 0 0 0.2rem rgba(254, 122, 21, 0.5);\n}\n\n.btn-stack-overflow.disabled, .btn-stack-overflow:disabled {\n color: #fff;\n background-color: #fe7a15;\n border-color: #fe7a15;\n}\n\n.btn-stack-overflow:not(:disabled):not(.disabled):active, .btn-stack-overflow:not(:disabled):not(.disabled).active,\n.show > .btn-stack-overflow.dropdown-toggle {\n color: #fff;\n background-color: #df6101;\n border-color: #d25c01;\n}\n\n.btn-stack-overflow:not(:disabled):not(.disabled):active:focus, .btn-stack-overflow:not(:disabled):not(.disabled).active:focus,\n.show > .btn-stack-overflow.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(254, 122, 21, 0.5);\n}\n\n.btn-youtube {\n color: #fff;\n background-color: #b00;\n border-color: #b00;\n}\n\n.btn-youtube:hover {\n color: #fff;\n background-color: #950000;\n border-color: #880000;\n}\n\n.btn-youtube:focus, .btn-youtube.focus {\n box-shadow: 0 0 0 0.2rem rgba(187, 0, 0, 0.5);\n}\n\n.btn-youtube.disabled, .btn-youtube:disabled {\n color: #fff;\n background-color: #b00;\n border-color: #b00;\n}\n\n.btn-youtube:not(:disabled):not(.disabled):active, .btn-youtube:not(:disabled):not(.disabled).active,\n.show > .btn-youtube.dropdown-toggle {\n color: #fff;\n background-color: #880000;\n border-color: #7b0000;\n}\n\n.btn-youtube:not(:disabled):not(.disabled):active:focus, .btn-youtube:not(:disabled):not(.disabled).active:focus,\n.show > .btn-youtube.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(187, 0, 0, 0.5);\n}\n\n.btn-css3 {\n color: #fff;\n background-color: #0170ba;\n border-color: #0170ba;\n}\n\n.btn-css3:hover {\n color: #fff;\n background-color: #015994;\n border-color: #015187;\n}\n\n.btn-css3:focus, .btn-css3.focus {\n box-shadow: 0 0 0 0.2rem rgba(1, 112, 186, 0.5);\n}\n\n.btn-css3.disabled, .btn-css3:disabled {\n color: #fff;\n background-color: #0170ba;\n border-color: #0170ba;\n}\n\n.btn-css3:not(:disabled):not(.disabled):active, .btn-css3:not(:disabled):not(.disabled).active,\n.show > .btn-css3.dropdown-toggle {\n color: #fff;\n background-color: #015187;\n border-color: #014a7b;\n}\n\n.btn-css3:not(:disabled):not(.disabled):active:focus, .btn-css3:not(:disabled):not(.disabled).active:focus,\n.show > .btn-css3.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(1, 112, 186, 0.5);\n}\n\n.btn-dribbble {\n color: #fff;\n background-color: #ea4c89;\n border-color: #ea4c89;\n}\n\n.btn-dribbble:hover {\n color: #fff;\n background-color: #e62a72;\n border-color: #e51e6b;\n}\n\n.btn-dribbble:focus, .btn-dribbble.focus {\n box-shadow: 0 0 0 0.2rem rgba(234, 76, 137, 0.5);\n}\n\n.btn-dribbble.disabled, .btn-dribbble:disabled {\n color: #fff;\n background-color: #ea4c89;\n border-color: #ea4c89;\n}\n\n.btn-dribbble:not(:disabled):not(.disabled):active, .btn-dribbble:not(:disabled):not(.disabled).active,\n.show > .btn-dribbble.dropdown-toggle {\n color: #fff;\n background-color: #e51e6b;\n border-color: #dc1a65;\n}\n\n.btn-dribbble:not(:disabled):not(.disabled):active:focus, .btn-dribbble:not(:disabled):not(.disabled).active:focus,\n.show > .btn-dribbble.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(234, 76, 137, 0.5);\n}\n\n.btn-instagram {\n color: #fff;\n background-color: #517fa4;\n border-color: #517fa4;\n}\n\n.btn-instagram:hover {\n color: #fff;\n background-color: #446b8a;\n border-color: #406582;\n}\n\n.btn-instagram:focus, .btn-instagram.focus {\n box-shadow: 0 0 0 0.2rem rgba(81, 127, 164, 0.5);\n}\n\n.btn-instagram.disabled, .btn-instagram:disabled {\n color: #fff;\n background-color: #517fa4;\n border-color: #517fa4;\n}\n\n.btn-instagram:not(:disabled):not(.disabled):active, .btn-instagram:not(:disabled):not(.disabled).active,\n.show > .btn-instagram.dropdown-toggle {\n color: #fff;\n background-color: #406582;\n border-color: #3c5e79;\n}\n\n.btn-instagram:not(:disabled):not(.disabled):active:focus, .btn-instagram:not(:disabled):not(.disabled).active:focus,\n.show > .btn-instagram.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(81, 127, 164, 0.5);\n}\n\n.btn-pinterest {\n color: #fff;\n background-color: #cb2027;\n border-color: #cb2027;\n}\n\n.btn-pinterest:hover {\n color: #fff;\n background-color: #aa1b21;\n border-color: #9f191f;\n}\n\n.btn-pinterest:focus, .btn-pinterest.focus {\n box-shadow: 0 0 0 0.2rem rgba(203, 32, 39, 0.5);\n}\n\n.btn-pinterest.disabled, .btn-pinterest:disabled {\n color: #fff;\n background-color: #cb2027;\n border-color: #cb2027;\n}\n\n.btn-pinterest:not(:disabled):not(.disabled):active, .btn-pinterest:not(:disabled):not(.disabled).active,\n.show > .btn-pinterest.dropdown-toggle {\n color: #fff;\n background-color: #9f191f;\n border-color: #94171c;\n}\n\n.btn-pinterest:not(:disabled):not(.disabled):active:focus, .btn-pinterest:not(:disabled):not(.disabled).active:focus,\n.show > .btn-pinterest.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(203, 32, 39, 0.5);\n}\n\n.btn-vk {\n color: #fff;\n background-color: #45668e;\n border-color: #45668e;\n}\n\n.btn-vk:hover {\n color: #fff;\n background-color: #385474;\n border-color: #344d6c;\n}\n\n.btn-vk:focus, .btn-vk.focus {\n box-shadow: 0 0 0 0.2rem rgba(69, 102, 142, 0.5);\n}\n\n.btn-vk.disabled, .btn-vk:disabled {\n color: #fff;\n background-color: #45668e;\n border-color: #45668e;\n}\n\n.btn-vk:not(:disabled):not(.disabled):active, .btn-vk:not(:disabled):not(.disabled).active,\n.show > .btn-vk.dropdown-toggle {\n color: #fff;\n background-color: #344d6c;\n border-color: #304763;\n}\n\n.btn-vk:not(:disabled):not(.disabled):active:focus, .btn-vk:not(:disabled):not(.disabled).active:focus,\n.show > .btn-vk.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(69, 102, 142, 0.5);\n}\n\n.btn-yahoo {\n color: #fff;\n background-color: #400191;\n border-color: #400191;\n}\n\n.btn-yahoo:hover {\n color: #fff;\n background-color: #2f016b;\n border-color: #2a015e;\n}\n\n.btn-yahoo:focus, .btn-yahoo.focus {\n box-shadow: 0 0 0 0.2rem rgba(64, 1, 145, 0.5);\n}\n\n.btn-yahoo.disabled, .btn-yahoo:disabled {\n color: #fff;\n background-color: #400191;\n border-color: #400191;\n}\n\n.btn-yahoo:not(:disabled):not(.disabled):active, .btn-yahoo:not(:disabled):not(.disabled).active,\n.show > .btn-yahoo.dropdown-toggle {\n color: #fff;\n background-color: #2a015e;\n border-color: #240152;\n}\n\n.btn-yahoo:not(:disabled):not(.disabled):active:focus, .btn-yahoo:not(:disabled):not(.disabled).active:focus,\n.show > .btn-yahoo.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(64, 1, 145, 0.5);\n}\n\n.btn-behance {\n color: #fff;\n background-color: #1769ff;\n border-color: #1769ff;\n}\n\n.btn-behance:hover {\n color: #fff;\n background-color: #0055f0;\n border-color: #0050e3;\n}\n\n.btn-behance:focus, .btn-behance.focus {\n box-shadow: 0 0 0 0.2rem rgba(23, 105, 255, 0.5);\n}\n\n.btn-behance.disabled, .btn-behance:disabled {\n color: #fff;\n background-color: #1769ff;\n border-color: #1769ff;\n}\n\n.btn-behance:not(:disabled):not(.disabled):active, .btn-behance:not(:disabled):not(.disabled).active,\n.show > .btn-behance.dropdown-toggle {\n color: #fff;\n background-color: #0050e3;\n border-color: #004cd6;\n}\n\n.btn-behance:not(:disabled):not(.disabled):active:focus, .btn-behance:not(:disabled):not(.disabled).active:focus,\n.show > .btn-behance.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(23, 105, 255, 0.5);\n}\n\n.btn-dropbox {\n color: #fff;\n background-color: #007ee5;\n border-color: #007ee5;\n}\n\n.btn-dropbox:hover {\n color: #fff;\n background-color: #0069bf;\n border-color: #0062b2;\n}\n\n.btn-dropbox:focus, .btn-dropbox.focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 126, 229, 0.5);\n}\n\n.btn-dropbox.disabled, .btn-dropbox:disabled {\n color: #fff;\n background-color: #007ee5;\n border-color: #007ee5;\n}\n\n.btn-dropbox:not(:disabled):not(.disabled):active, .btn-dropbox:not(:disabled):not(.disabled).active,\n.show > .btn-dropbox.dropdown-toggle {\n color: #fff;\n background-color: #0062b2;\n border-color: #005ba5;\n}\n\n.btn-dropbox:not(:disabled):not(.disabled):active:focus, .btn-dropbox:not(:disabled):not(.disabled).active:focus,\n.show > .btn-dropbox.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 126, 229, 0.5);\n}\n\n.btn-reddit {\n color: #fff;\n background-color: #ff4500;\n border-color: #ff4500;\n}\n\n.btn-reddit:hover {\n color: #fff;\n background-color: #d93b00;\n border-color: #cc3700;\n}\n\n.btn-reddit:focus, .btn-reddit.focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 69, 0, 0.5);\n}\n\n.btn-reddit.disabled, .btn-reddit:disabled {\n color: #fff;\n background-color: #ff4500;\n border-color: #ff4500;\n}\n\n.btn-reddit:not(:disabled):not(.disabled):active, .btn-reddit:not(:disabled):not(.disabled).active,\n.show > .btn-reddit.dropdown-toggle {\n color: #fff;\n background-color: #cc3700;\n border-color: #bf3400;\n}\n\n.btn-reddit:not(:disabled):not(.disabled):active:focus, .btn-reddit:not(:disabled):not(.disabled).active:focus,\n.show > .btn-reddit.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 69, 0, 0.5);\n}\n\n.btn-spotify {\n color: #fff;\n background-color: #7ab800;\n border-color: #7ab800;\n}\n\n.btn-spotify:hover {\n color: #fff;\n background-color: #619200;\n border-color: #588500;\n}\n\n.btn-spotify:focus, .btn-spotify.focus {\n box-shadow: 0 0 0 0.2rem rgba(122, 184, 0, 0.5);\n}\n\n.btn-spotify.disabled, .btn-spotify:disabled {\n color: #fff;\n background-color: #7ab800;\n border-color: #7ab800;\n}\n\n.btn-spotify:not(:disabled):not(.disabled):active, .btn-spotify:not(:disabled):not(.disabled).active,\n.show > .btn-spotify.dropdown-toggle {\n color: #fff;\n background-color: #588500;\n border-color: #507800;\n}\n\n.btn-spotify:not(:disabled):not(.disabled):active:focus, .btn-spotify:not(:disabled):not(.disabled).active:focus,\n.show > .btn-spotify.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(122, 184, 0, 0.5);\n}\n\n.btn-vine {\n color: #fff;\n background-color: #00bf8f;\n border-color: #00bf8f;\n}\n\n.btn-vine:hover {\n color: #fff;\n background-color: #009972;\n border-color: #008c69;\n}\n\n.btn-vine:focus, .btn-vine.focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 191, 143, 0.5);\n}\n\n.btn-vine.disabled, .btn-vine:disabled {\n color: #fff;\n background-color: #00bf8f;\n border-color: #00bf8f;\n}\n\n.btn-vine:not(:disabled):not(.disabled):active, .btn-vine:not(:disabled):not(.disabled).active,\n.show > .btn-vine.dropdown-toggle {\n color: #fff;\n background-color: #008c69;\n border-color: #007f5f;\n}\n\n.btn-vine:not(:disabled):not(.disabled):active:focus, .btn-vine:not(:disabled):not(.disabled).active:focus,\n.show > .btn-vine.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 191, 143, 0.5);\n}\n\n.btn-foursquare {\n color: #fff;\n background-color: #1073af;\n border-color: #1073af;\n}\n\n.btn-foursquare:hover {\n color: #fff;\n background-color: #0d5c8c;\n border-color: #0c5480;\n}\n\n.btn-foursquare:focus, .btn-foursquare.focus {\n box-shadow: 0 0 0 0.2rem rgba(16, 115, 175, 0.5);\n}\n\n.btn-foursquare.disabled, .btn-foursquare:disabled {\n color: #fff;\n background-color: #1073af;\n border-color: #1073af;\n}\n\n.btn-foursquare:not(:disabled):not(.disabled):active, .btn-foursquare:not(:disabled):not(.disabled).active,\n.show > .btn-foursquare.dropdown-toggle {\n color: #fff;\n background-color: #0c5480;\n border-color: #0b4d75;\n}\n\n.btn-foursquare:not(:disabled):not(.disabled):active:focus, .btn-foursquare:not(:disabled):not(.disabled).active:focus,\n.show > .btn-foursquare.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(16, 115, 175, 0.5);\n}\n\n.btn-vimeo {\n color: #23282c;\n background-color: #aad450;\n border-color: #aad450;\n}\n\n.btn-vimeo:hover {\n color: #23282c;\n background-color: #9bcc32;\n border-color: #93c130;\n}\n\n.btn-vimeo:focus, .btn-vimeo.focus {\n box-shadow: 0 0 0 0.2rem rgba(170, 212, 80, 0.5);\n}\n\n.btn-vimeo.disabled, .btn-vimeo:disabled {\n color: #23282c;\n background-color: #aad450;\n border-color: #aad450;\n}\n\n.btn-vimeo:not(:disabled):not(.disabled):active, .btn-vimeo:not(:disabled):not(.disabled).active,\n.show > .btn-vimeo.dropdown-toggle {\n color: #23282c;\n background-color: #93c130;\n border-color: #8bb72d;\n}\n\n.btn-vimeo:not(:disabled):not(.disabled):active:focus, .btn-vimeo:not(:disabled):not(.disabled).active:focus,\n.show > .btn-vimeo.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(170, 212, 80, 0.5);\n}\n\n.btn-transparent {\n color: #fff;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn [class^=\"icon-\"],\n.btn [class*=\" icon-\"] {\n display: inline-block;\n margin-top: -2px;\n vertical-align: middle;\n}\n\n.btn-pill {\n border-radius: 50em;\n}\n\n.btn-square {\n border-radius: 0;\n}\n\n.btn-ghost-primary {\n color: #20a8d8;\n background-color: transparent;\n background-image: none;\n border-color: transparent;\n}\n\n.btn-ghost-primary:hover {\n color: #fff;\n background-color: #20a8d8;\n border-color: #20a8d8;\n}\n\n.btn-ghost-primary:focus, .btn-ghost-primary.focus {\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5);\n}\n\n.btn-ghost-primary.disabled, .btn-ghost-primary:disabled {\n color: #20a8d8;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-ghost-primary:not(:disabled):not(.disabled):active, .btn-ghost-primary:not(:disabled):not(.disabled).active,\n.show > .btn-ghost-primary.dropdown-toggle {\n color: #fff;\n background-color: #20a8d8;\n border-color: #20a8d8;\n}\n\n.btn-ghost-primary:not(:disabled):not(.disabled):active:focus, .btn-ghost-primary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-ghost-primary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(32, 168, 216, 0.5);\n}\n\n.btn-ghost-secondary {\n color: #c8ced3;\n background-color: transparent;\n background-image: none;\n border-color: transparent;\n}\n\n.btn-ghost-secondary:hover {\n color: #23282c;\n background-color: #c8ced3;\n border-color: #c8ced3;\n}\n\n.btn-ghost-secondary:focus, .btn-ghost-secondary.focus {\n box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5);\n}\n\n.btn-ghost-secondary.disabled, .btn-ghost-secondary:disabled {\n color: #c8ced3;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-ghost-secondary:not(:disabled):not(.disabled):active, .btn-ghost-secondary:not(:disabled):not(.disabled).active,\n.show > .btn-ghost-secondary.dropdown-toggle {\n color: #23282c;\n background-color: #c8ced3;\n border-color: #c8ced3;\n}\n\n.btn-ghost-secondary:not(:disabled):not(.disabled):active:focus, .btn-ghost-secondary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-ghost-secondary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(200, 206, 211, 0.5);\n}\n\n.btn-ghost-success {\n color: #4dbd74;\n background-color: transparent;\n background-image: none;\n border-color: transparent;\n}\n\n.btn-ghost-success:hover {\n color: #fff;\n background-color: #4dbd74;\n border-color: #4dbd74;\n}\n\n.btn-ghost-success:focus, .btn-ghost-success.focus {\n box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5);\n}\n\n.btn-ghost-success.disabled, .btn-ghost-success:disabled {\n color: #4dbd74;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-ghost-success:not(:disabled):not(.disabled):active, .btn-ghost-success:not(:disabled):not(.disabled).active,\n.show > .btn-ghost-success.dropdown-toggle {\n color: #fff;\n background-color: #4dbd74;\n border-color: #4dbd74;\n}\n\n.btn-ghost-success:not(:disabled):not(.disabled):active:focus, .btn-ghost-success:not(:disabled):not(.disabled).active:focus,\n.show > .btn-ghost-success.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(77, 189, 116, 0.5);\n}\n\n.btn-ghost-info {\n color: #63c2de;\n background-color: transparent;\n background-image: none;\n border-color: transparent;\n}\n\n.btn-ghost-info:hover {\n color: #23282c;\n background-color: #63c2de;\n border-color: #63c2de;\n}\n\n.btn-ghost-info:focus, .btn-ghost-info.focus {\n box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5);\n}\n\n.btn-ghost-info.disabled, .btn-ghost-info:disabled {\n color: #63c2de;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-ghost-info:not(:disabled):not(.disabled):active, .btn-ghost-info:not(:disabled):not(.disabled).active,\n.show > .btn-ghost-info.dropdown-toggle {\n color: #23282c;\n background-color: #63c2de;\n border-color: #63c2de;\n}\n\n.btn-ghost-info:not(:disabled):not(.disabled):active:focus, .btn-ghost-info:not(:disabled):not(.disabled).active:focus,\n.show > .btn-ghost-info.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(99, 194, 222, 0.5);\n}\n\n.btn-ghost-warning {\n color: #ffc107;\n background-color: transparent;\n background-image: none;\n border-color: transparent;\n}\n\n.btn-ghost-warning:hover {\n color: #23282c;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-ghost-warning:focus, .btn-ghost-warning.focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-ghost-warning.disabled, .btn-ghost-warning:disabled {\n color: #ffc107;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-ghost-warning:not(:disabled):not(.disabled):active, .btn-ghost-warning:not(:disabled):not(.disabled).active,\n.show > .btn-ghost-warning.dropdown-toggle {\n color: #23282c;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-ghost-warning:not(:disabled):not(.disabled):active:focus, .btn-ghost-warning:not(:disabled):not(.disabled).active:focus,\n.show > .btn-ghost-warning.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-ghost-danger {\n color: #f86c6b;\n background-color: transparent;\n background-image: none;\n border-color: transparent;\n}\n\n.btn-ghost-danger:hover {\n color: #fff;\n background-color: #f86c6b;\n border-color: #f86c6b;\n}\n\n.btn-ghost-danger:focus, .btn-ghost-danger.focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5);\n}\n\n.btn-ghost-danger.disabled, .btn-ghost-danger:disabled {\n color: #f86c6b;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-ghost-danger:not(:disabled):not(.disabled):active, .btn-ghost-danger:not(:disabled):not(.disabled).active,\n.show > .btn-ghost-danger.dropdown-toggle {\n color: #fff;\n background-color: #f86c6b;\n border-color: #f86c6b;\n}\n\n.btn-ghost-danger:not(:disabled):not(.disabled):active:focus, .btn-ghost-danger:not(:disabled):not(.disabled).active:focus,\n.show > .btn-ghost-danger.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 108, 107, 0.5);\n}\n\n.btn-ghost-light {\n color: #f0f3f5;\n background-color: transparent;\n background-image: none;\n border-color: transparent;\n}\n\n.btn-ghost-light:hover {\n color: #23282c;\n background-color: #f0f3f5;\n border-color: #f0f3f5;\n}\n\n.btn-ghost-light:focus, .btn-ghost-light.focus {\n box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5);\n}\n\n.btn-ghost-light.disabled, .btn-ghost-light:disabled {\n color: #f0f3f5;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-ghost-light:not(:disabled):not(.disabled):active, .btn-ghost-light:not(:disabled):not(.disabled).active,\n.show > .btn-ghost-light.dropdown-toggle {\n color: #23282c;\n background-color: #f0f3f5;\n border-color: #f0f3f5;\n}\n\n.btn-ghost-light:not(:disabled):not(.disabled):active:focus, .btn-ghost-light:not(:disabled):not(.disabled).active:focus,\n.show > .btn-ghost-light.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(240, 243, 245, 0.5);\n}\n\n.btn-ghost-dark {\n color: #2f353a;\n background-color: transparent;\n background-image: none;\n border-color: transparent;\n}\n\n.btn-ghost-dark:hover {\n color: #fff;\n background-color: #2f353a;\n border-color: #2f353a;\n}\n\n.btn-ghost-dark:focus, .btn-ghost-dark.focus {\n box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5);\n}\n\n.btn-ghost-dark.disabled, .btn-ghost-dark:disabled {\n color: #2f353a;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-ghost-dark:not(:disabled):not(.disabled):active, .btn-ghost-dark:not(:disabled):not(.disabled).active,\n.show > .btn-ghost-dark.dropdown-toggle {\n color: #fff;\n background-color: #2f353a;\n border-color: #2f353a;\n}\n\n.btn-ghost-dark:not(:disabled):not(.disabled):active:focus, .btn-ghost-dark:not(:disabled):not(.disabled).active:focus,\n.show > .btn-ghost-dark.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(47, 53, 58, 0.5);\n}\n\n.callout {\n position: relative;\n padding: 0 1rem;\n margin: 1rem 0;\n border-left: 4px solid #c8ced3;\n border-radius: 0.25rem;\n}\n\n.callout .chart-wrapper {\n position: absolute;\n top: 10px;\n left: 50%;\n float: right;\n width: 50%;\n}\n\n.callout-bordered {\n border: 1px solid #c8ced3;\n border-left-width: 4px;\n}\n\n.callout code {\n border-radius: 0.25rem;\n}\n\n.callout h4 {\n margin-top: 0;\n margin-bottom: .25rem;\n}\n\n.callout p:last-child {\n margin-bottom: 0;\n}\n\n.callout + .callout {\n margin-top: -0.25rem;\n}\n\n.callout-primary {\n border-left-color: #20a8d8;\n}\n\n.callout-primary h4 {\n color: #20a8d8;\n}\n\n.callout-secondary {\n border-left-color: #c8ced3;\n}\n\n.callout-secondary h4 {\n color: #c8ced3;\n}\n\n.callout-success {\n border-left-color: #4dbd74;\n}\n\n.callout-success h4 {\n color: #4dbd74;\n}\n\n.callout-info {\n border-left-color: #63c2de;\n}\n\n.callout-info h4 {\n color: #63c2de;\n}\n\n.callout-warning {\n border-left-color: #ffc107;\n}\n\n.callout-warning h4 {\n color: #ffc107;\n}\n\n.callout-danger {\n border-left-color: #f86c6b;\n}\n\n.callout-danger h4 {\n color: #f86c6b;\n}\n\n.callout-light {\n border-left-color: #f0f3f5;\n}\n\n.callout-light h4 {\n color: #f0f3f5;\n}\n\n.callout-dark {\n border-left-color: #2f353a;\n}\n\n.callout-dark h4 {\n color: #2f353a;\n}\n\n*[dir=\"rtl\"] .callout {\n border-right: 4px solid #c8ced3;\n border-left: 0;\n}\n\n*[dir=\"rtl\"] .callout.callout-primary {\n border-right-color: #20a8d8;\n}\n\n*[dir=\"rtl\"] .callout.callout-secondary {\n border-right-color: #c8ced3;\n}\n\n*[dir=\"rtl\"] .callout.callout-success {\n border-right-color: #4dbd74;\n}\n\n*[dir=\"rtl\"] .callout.callout-info {\n border-right-color: #63c2de;\n}\n\n*[dir=\"rtl\"] .callout.callout-warning {\n border-right-color: #ffc107;\n}\n\n*[dir=\"rtl\"] .callout.callout-danger {\n border-right-color: #f86c6b;\n}\n\n*[dir=\"rtl\"] .callout.callout-light {\n border-right-color: #f0f3f5;\n}\n\n*[dir=\"rtl\"] .callout.callout-dark {\n border-right-color: #2f353a;\n}\n\n*[dir=\"rtl\"] .callout .chart-wrapper {\n left: 0;\n float: left;\n}\n\n.card {\n margin-bottom: 1.5rem;\n}\n\n.card.bg-primary {\n border-color: #187da0;\n}\n\n.card.bg-primary .card-header {\n background-color: #1e9ecb;\n border-color: #187da0;\n}\n\n.card.bg-secondary {\n border-color: #a5aeb7;\n}\n\n.card.bg-secondary .card-header {\n background-color: #c0c6cc;\n border-color: #a5aeb7;\n}\n\n.card.bg-success {\n border-color: #379457;\n}\n\n.card.bg-success .card-header {\n background-color: #44b76c;\n border-color: #379457;\n}\n\n.card.bg-info {\n border-color: #2eadd3;\n}\n\n.card.bg-info .card-header {\n background-color: #56bddb;\n border-color: #2eadd3;\n}\n\n.card.bg-warning {\n border-color: #c69500;\n}\n\n.card.bg-warning .card-header {\n background-color: #f7b900;\n border-color: #c69500;\n}\n\n.card.bg-danger {\n border-color: #f5302e;\n}\n\n.card.bg-danger .card-header {\n background-color: #f75d5c;\n border-color: #f5302e;\n}\n\n.card.bg-light {\n border-color: #cad4dc;\n}\n\n.card.bg-light .card-header {\n background-color: #e7ecef;\n border-color: #cad4dc;\n}\n\n.card.bg-dark {\n border-color: #121517;\n}\n\n.card.bg-dark .card-header {\n background-color: #282d32;\n border-color: #121517;\n}\n\n.card.drag,\n.card .drag {\n cursor: move;\n}\n\n.card-placeholder {\n background: rgba(0, 0, 0, 0.025);\n border: 1px dashed #c8ced3;\n}\n\n.card-header > i {\n margin-right: 0.5rem;\n}\n\n.card-header .nav-tabs {\n margin-top: -0.75rem;\n margin-bottom: -0.75rem;\n border-bottom: 0;\n}\n\n.card-header .nav-tabs .nav-item {\n border-top: 0;\n}\n\n.card-header .nav-tabs .nav-link {\n padding: 0.75rem 0.625rem;\n color: #73818f;\n border-top: 0;\n}\n\n.card-header .nav-tabs .nav-link.active {\n color: #23282c;\n background: #fff;\n}\n\n*[dir=\"rtl\"] .card-header > i {\n margin-right: 0;\n margin-left: 0.5rem;\n}\n\n.card-header-icon-bg {\n display: inline-block;\n width: 2.8125rem;\n padding: 0.75rem 0;\n margin: -0.75rem 1.25rem -0.75rem -1.25rem;\n line-height: inherit;\n color: #23282c;\n text-align: center;\n background: transparent;\n border-right: 1px solid #c8ced3;\n}\n\n.card-header-actions {\n display: inline-block;\n float: right;\n margin-right: -0.25rem;\n}\n\n*[dir=\"rtl\"] .card-header-actions {\n float: left;\n margin-right: auto;\n margin-left: -0.25rem;\n}\n\n.card-header-action {\n padding: 0 0.25rem;\n color: #73818f;\n}\n\n.card-header-action:hover {\n color: #23282c;\n text-decoration: none;\n}\n\n.card-accent-primary {\n border-top-color: #20a8d8;\n border-top-width: 2px;\n}\n\n.card-accent-secondary {\n border-top-color: #c8ced3;\n border-top-width: 2px;\n}\n\n.card-accent-success {\n border-top-color: #4dbd74;\n border-top-width: 2px;\n}\n\n.card-accent-info {\n border-top-color: #63c2de;\n border-top-width: 2px;\n}\n\n.card-accent-warning {\n border-top-color: #ffc107;\n border-top-width: 2px;\n}\n\n.card-accent-danger {\n border-top-color: #f86c6b;\n border-top-width: 2px;\n}\n\n.card-accent-light {\n border-top-color: #f0f3f5;\n border-top-width: 2px;\n}\n\n.card-accent-dark {\n border-top-color: #2f353a;\n border-top-width: 2px;\n}\n\n.card-full {\n margin-top: -1rem;\n margin-right: -15px;\n margin-left: -15px;\n border: 0;\n border-bottom: 1px solid #c8ced3;\n}\n\n@media (min-width: 576px) {\n .card-columns.cols-2 {\n column-count: 2;\n }\n}\n\n.chart-wrapper canvas {\n width: 100%;\n}\n\nbase-chart.chart {\n display: block;\n}\n\ncanvas {\n user-select: none;\n}\n\n.chartjs-tooltip {\n position: absolute;\n z-index: 1021;\n display: flex;\n flex-direction: column;\n padding: 0.25rem 0.5rem;\n color: #fff;\n pointer-events: none;\n background: rgba(0, 0, 0, 0.7);\n opacity: 0;\n transition: all 0.25s ease;\n transform: translate(-50%, 0);\n border-radius: 0.25rem;\n}\n\n.chartjs-tooltip .tooltip-header {\n margin-bottom: 0.5rem;\n}\n\n.chartjs-tooltip .tooltip-header-item {\n font-size: 0.765625rem;\n font-weight: 700;\n}\n\n.chartjs-tooltip .tooltip-body-item {\n display: flex;\n align-items: center;\n font-size: 0.765625rem;\n white-space: nowrap;\n}\n\n.chartjs-tooltip .tooltip-body-item-color {\n display: inline-block;\n width: 0.875rem;\n height: 0.875rem;\n margin-right: 0.875rem;\n}\n\n.chartjs-tooltip .tooltip-body-item-value {\n padding-left: 1rem;\n margin-left: auto;\n font-weight: 700;\n}\n\n.dropdown-item {\n position: relative;\n padding: 10px 20px;\n border-bottom: 1px solid #c8ced3;\n}\n\n.dropdown-item:last-child {\n border-bottom: 0;\n}\n\n.dropdown-item i {\n display: inline-block;\n width: 20px;\n margin-right: 10px;\n margin-left: -10px;\n color: #c8ced3;\n text-align: center;\n}\n\n.dropdown-item .badge {\n position: absolute;\n right: 10px;\n margin-top: 2px;\n}\n\n.dropdown-header {\n padding: 8px 20px;\n background: #e4e7ea;\n border-bottom: 1px solid #c8ced3;\n}\n\n.dropdown-header .btn {\n margin-top: -7px;\n color: #73818f;\n}\n\n.dropdown-header .btn:hover {\n color: #23282c;\n}\n\n.dropdown-header .btn.pull-right {\n margin-right: -20px;\n}\n\n.dropdown-menu-lg {\n width: 250px;\n}\n\n.app-header .navbar-nav .dropdown-menu {\n position: absolute;\n}\n\n.app-header .navbar-nav .dropdown-menu-right {\n right: 0;\n left: auto;\n}\n\n.app-header .navbar-nav .dropdown-menu-left {\n right: auto;\n left: 0;\n}\n\n.app-footer {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n padding: 0 1rem;\n color: #23282c;\n background: #f0f3f5;\n border-top: 1px solid #c8ced3;\n}\n\n.row.row-equal {\n padding-right: 7.5px;\n padding-left: 7.5px;\n margin-right: -15px;\n margin-left: -15px;\n}\n\n.row.row-equal [class*=\"col-\"] {\n padding-right: 7.5px;\n padding-left: 7.5px;\n}\n\n.main .container-fluid {\n padding: 0 30px;\n}\n\n.app-header {\n position: relative;\n flex-direction: row;\n height: 55px;\n padding: 0;\n margin: 0;\n background-color: #fff;\n border-bottom: 1px solid #c8ced3;\n}\n\n.app-header .navbar-brand {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 155px;\n height: 55px;\n padding: 0;\n margin-right: 0;\n background-color: transparent;\n}\n\n.app-header .navbar-brand .navbar-brand-minimized {\n display: none;\n}\n\n.app-header .navbar-toggler {\n min-width: 50px;\n padding: 0.25rem 0;\n}\n\n.app-header .navbar-toggler:hover .navbar-toggler-icon {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%232f353a' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\");\n}\n\n.app-header .navbar-toggler-icon {\n height: 23px;\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%2373818f' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\");\n}\n\n.app-header .navbar-nav {\n flex-direction: row;\n align-items: center;\n}\n\n.app-header .nav-item {\n position: relative;\n min-width: 50px;\n margin: 0;\n text-align: center;\n}\n\n.app-header .nav-item button {\n margin: 0 auto;\n}\n\n.app-header .nav-item .nav-link {\n padding-top: 0;\n padding-bottom: 0;\n background: 0;\n border: 0;\n}\n\n.app-header .nav-item .nav-link .badge {\n position: absolute;\n top: 50%;\n left: 50%;\n margin-top: -16px;\n margin-left: 0;\n}\n\n.app-header .nav-item .nav-link > .img-avatar, .app-header .nav-item .avatar.nav-link > img {\n height: 35px;\n margin: 0 10px;\n}\n\n.app-header .dropdown-menu {\n padding-bottom: 0;\n line-height: 1.5;\n}\n\n.app-header .dropdown-item {\n min-width: 180px;\n}\n\n.navbar-nav .nav-link {\n color: #73818f;\n}\n\n.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {\n color: #2f353a;\n}\n\n.navbar-nav .open > .nav-link, .navbar-nav .open > .nav-link:hover, .navbar-nav .open > .nav-link:focus,\n.navbar-nav .active > .nav-link,\n.navbar-nav .active > .nav-link:hover,\n.navbar-nav .active > .nav-link:focus,\n.navbar-nav .nav-link.open,\n.navbar-nav .nav-link.open:hover,\n.navbar-nav .nav-link.open:focus,\n.navbar-nav .nav-link.active,\n.navbar-nav .nav-link.active:hover,\n.navbar-nav .nav-link.active:focus {\n color: #2f353a;\n}\n\n.navbar-divider {\n background-color: rgba(0, 0, 0, 0.075);\n}\n\n@media (min-width: 992px) {\n .brand-minimized .app-header .navbar-brand {\n width: 50px;\n background-color: transparent;\n }\n .brand-minimized .app-header .navbar-brand .navbar-brand-full {\n display: none;\n }\n .brand-minimized .app-header .navbar-brand .navbar-brand-minimized {\n display: block;\n }\n}\n\n.input-group-prepend,\n.input-group-append {\n white-space: nowrap;\n vertical-align: middle;\n}\n\n.img-avatar, .avatar > img,\n.img-circle {\n max-width: 100%;\n height: auto;\n border-radius: 50em;\n}\n\n.list-group-accent .list-group-item {\n margin-bottom: 1px;\n border-top: 0;\n border-right: 0;\n border-bottom: 0;\n border-radius: 0;\n}\n\n.list-group-accent .list-group-item.list-group-item-divider {\n position: relative;\n}\n\n.list-group-accent .list-group-item.list-group-item-divider::before {\n position: absolute;\n bottom: -1px;\n left: 5%;\n width: 90%;\n height: 1px;\n content: \"\";\n background-color: #e4e7ea;\n}\n\n.list-group-item-accent-primary {\n border-left: 4px solid #20a8d8;\n}\n\n.list-group-item-accent-secondary {\n border-left: 4px solid #c8ced3;\n}\n\n.list-group-item-accent-success {\n border-left: 4px solid #4dbd74;\n}\n\n.list-group-item-accent-info {\n border-left: 4px solid #63c2de;\n}\n\n.list-group-item-accent-warning {\n border-left: 4px solid #ffc107;\n}\n\n.list-group-item-accent-danger {\n border-left: 4px solid #f86c6b;\n}\n\n.list-group-item-accent-light {\n border-left: 4px solid #f0f3f5;\n}\n\n.list-group-item-accent-dark {\n border-left: 4px solid #2f353a;\n}\n\n.modal-primary .modal-content {\n border-color: #20a8d8;\n}\n\n.modal-primary .modal-header {\n color: #fff;\n background-color: #20a8d8;\n}\n\n.modal-secondary .modal-content {\n border-color: #c8ced3;\n}\n\n.modal-secondary .modal-header {\n color: #fff;\n background-color: #c8ced3;\n}\n\n.modal-success .modal-content {\n border-color: #4dbd74;\n}\n\n.modal-success .modal-header {\n color: #fff;\n background-color: #4dbd74;\n}\n\n.modal-info .modal-content {\n border-color: #63c2de;\n}\n\n.modal-info .modal-header {\n color: #fff;\n background-color: #63c2de;\n}\n\n.modal-warning .modal-content {\n border-color: #ffc107;\n}\n\n.modal-warning .modal-header {\n color: #fff;\n background-color: #ffc107;\n}\n\n.modal-danger .modal-content {\n border-color: #f86c6b;\n}\n\n.modal-danger .modal-header {\n color: #fff;\n background-color: #f86c6b;\n}\n\n.modal-light .modal-content {\n border-color: #f0f3f5;\n}\n\n.modal-light .modal-header {\n color: #fff;\n background-color: #f0f3f5;\n}\n\n.modal-dark .modal-content {\n border-color: #2f353a;\n}\n\n.modal-dark .modal-header {\n color: #fff;\n background-color: #2f353a;\n}\n\n.nav-tabs .nav-link {\n color: #73818f;\n}\n\n.nav-tabs .nav-link:hover {\n cursor: pointer;\n}\n\n.nav-tabs .nav-link.active {\n color: #2f353a;\n background: #fff;\n border-color: #c8ced3;\n border-bottom-color: #fff;\n}\n\n.nav-tabs .nav-link.active:focus {\n background: #fff;\n border-color: #c8ced3;\n border-bottom-color: #fff;\n}\n\n.tab-content {\n margin-top: -1px;\n background: #fff;\n border: 1px solid #c8ced3;\n}\n\n.tab-content .tab-pane {\n padding: 1rem;\n}\n\n.card-block .tab-content {\n margin-top: 0;\n border: 0;\n}\n\n.nav-fill .nav-link {\n background-color: #fff;\n border-color: #c8ced3;\n}\n\n.nav-fill .nav-link + .nav-link {\n margin-left: -1px;\n}\n\n.nav-fill .nav-link.active {\n margin-top: -1px;\n border-top: 2px solid #20a8d8;\n}\n\n*[dir=\"rtl\"] .nav {\n padding-right: 0;\n}\n\n.progress-xs {\n height: 4px;\n}\n\n.progress-sm {\n height: 8px;\n}\n\n.progress-white {\n background-color: rgba(255, 255, 255, 0.2);\n}\n\n.progress-white .progress-bar {\n background-color: #fff;\n}\n\n.progress-group {\n display: flex;\n flex-flow: row wrap;\n margin-bottom: 1rem;\n}\n\n.progress-group-prepend {\n flex: 0 0 100px;\n align-self: center;\n}\n\n.progress-group-icon {\n margin: 0 1rem 0 0.25rem;\n font-size: 1.09375rem;\n}\n\n.progress-group-text {\n font-size: 0.765625rem;\n color: #73818f;\n}\n\n.progress-group-header {\n display: flex;\n flex-basis: 100%;\n align-items: flex-end;\n margin-bottom: 0.25rem;\n}\n\n.progress-group-bars {\n flex-grow: 1;\n align-self: center;\n}\n\n.progress-group-bars .progress:not(:last-child) {\n margin-bottom: 2px;\n}\n\n.progress-group-header + .progress-group-bars {\n flex-basis: 100%;\n}\n\n.sidebar {\n display: flex;\n flex-direction: column;\n padding: 0;\n color: #fff;\n background: #2f353a;\n}\n\n.sidebar .sidebar-close {\n position: absolute;\n right: 0;\n display: none;\n padding: 0 1rem;\n font-size: 24px;\n font-weight: 800;\n line-height: 55px;\n color: #fff;\n background: 0;\n border: 0;\n opacity: .8;\n}\n\n.sidebar .sidebar-close:hover {\n opacity: 1;\n}\n\n.sidebar .sidebar-header {\n flex: 0 0 auto;\n padding: 0.75rem 1rem;\n text-align: center;\n background: rgba(0, 0, 0, 0.2);\n}\n\n.sidebar .sidebar-form .form-control {\n color: #fff;\n background: #181b1e;\n border: 0;\n}\n\n.sidebar .sidebar-form .form-control::placeholder {\n color: rgba(255, 255, 255, 0.7);\n}\n\n.sidebar .sidebar-nav {\n position: relative;\n flex: 1;\n overflow-x: hidden;\n overflow-y: auto;\n width: 200px;\n}\n\n.sidebar .nav {\n width: 200px;\n flex-direction: column;\n min-height: 100%;\n padding: 0;\n}\n\n.sidebar .nav-title {\n padding: 0.75rem 1rem;\n font-size: 80%;\n font-weight: 700;\n color: #e4e7ea;\n text-transform: uppercase;\n}\n\n.sidebar .nav-divider {\n height: 10px;\n}\n\n.sidebar .nav-item {\n position: relative;\n margin: 0;\n transition: background .3s ease-in-out;\n}\n\n.sidebar .nav-dropdown-items {\n max-height: 0;\n padding: 0;\n margin: 0;\n overflow-y: hidden;\n transition: max-height .3s ease-in-out;\n}\n\n.sidebar .nav-dropdown-items .nav-item {\n padding: 0;\n list-style: none;\n}\n\n.sidebar .nav-link {\n display: block;\n padding: 0.75rem 1rem;\n color: #fff;\n text-decoration: none;\n background: transparent;\n}\n\n.sidebar .nav-link .nav-icon {\n display: inline-block;\n width: 1.09375rem;\n margin: 0 0.5rem 0 0;\n font-size: 0.875rem;\n color: #73818f;\n text-align: center;\n}\n\n.sidebar .nav-link .badge {\n float: right;\n margin-top: 2px;\n}\n\n.sidebar .nav-link.active {\n color: #fff;\n background: #3a4248;\n}\n\n.sidebar .nav-link.active .nav-icon {\n color: #20a8d8;\n}\n\n.sidebar .nav-link:hover {\n color: #fff;\n background: #20a8d8;\n}\n\n.sidebar .nav-link:hover .nav-icon {\n color: #fff;\n}\n\n.sidebar .nav-link:hover.nav-dropdown-toggle::before {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%23fff' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E\");\n}\n\n.sidebar .nav-link.nav-link-primary {\n background: #20a8d8;\n}\n\n.sidebar .nav-link.nav-link-primary .nav-icon {\n color: rgba(255, 255, 255, 0.7);\n}\n\n.sidebar .nav-link.nav-link-primary:hover {\n background: #1d97c2;\n}\n\n.sidebar .nav-link.nav-link-primary:hover i {\n color: #fff;\n}\n\n.sidebar .nav-link.nav-link-secondary {\n background: #c8ced3;\n}\n\n.sidebar .nav-link.nav-link-secondary .nav-icon {\n color: rgba(255, 255, 255, 0.7);\n}\n\n.sidebar .nav-link.nav-link-secondary:hover {\n background: #bac1c8;\n}\n\n.sidebar .nav-link.nav-link-secondary:hover i {\n color: #fff;\n}\n\n.sidebar .nav-link.nav-link-success {\n background: #4dbd74;\n}\n\n.sidebar .nav-link.nav-link-success .nav-icon {\n color: rgba(255, 255, 255, 0.7);\n}\n\n.sidebar .nav-link.nav-link-success:hover {\n background: #41af67;\n}\n\n.sidebar .nav-link.nav-link-success:hover i {\n color: #fff;\n}\n\n.sidebar .nav-link.nav-link-info {\n background: #63c2de;\n}\n\n.sidebar .nav-link.nav-link-info .nav-icon {\n color: rgba(255, 255, 255, 0.7);\n}\n\n.sidebar .nav-link.nav-link-info:hover {\n background: #4ebada;\n}\n\n.sidebar .nav-link.nav-link-info:hover i {\n color: #fff;\n}\n\n.sidebar .nav-link.nav-link-warning {\n background: #ffc107;\n}\n\n.sidebar .nav-link.nav-link-warning .nav-icon {\n color: rgba(255, 255, 255, 0.7);\n}\n\n.sidebar .nav-link.nav-link-warning:hover {\n background: #edb100;\n}\n\n.sidebar .nav-link.nav-link-warning:hover i {\n color: #fff;\n}\n\n.sidebar .nav-link.nav-link-danger {\n background: #f86c6b;\n}\n\n.sidebar .nav-link.nav-link-danger .nav-icon {\n color: rgba(255, 255, 255, 0.7);\n}\n\n.sidebar .nav-link.nav-link-danger:hover {\n background: #f75453;\n}\n\n.sidebar .nav-link.nav-link-danger:hover i {\n color: #fff;\n}\n\n.sidebar .nav-link.nav-link-light {\n background: #f0f3f5;\n}\n\n.sidebar .nav-link.nav-link-light .nav-icon {\n color: rgba(255, 255, 255, 0.7);\n}\n\n.sidebar .nav-link.nav-link-light:hover {\n background: #e1e7eb;\n}\n\n.sidebar .nav-link.nav-link-light:hover i {\n color: #fff;\n}\n\n.sidebar .nav-link.nav-link-dark {\n background: #2f353a;\n}\n\n.sidebar .nav-link.nav-link-dark .nav-icon {\n color: rgba(255, 255, 255, 0.7);\n}\n\n.sidebar .nav-link.nav-link-dark:hover {\n background: #24282c;\n}\n\n.sidebar .nav-link.nav-link-dark:hover i {\n color: #fff;\n}\n\n.sidebar .nav-dropdown-toggle {\n position: relative;\n}\n\n.sidebar .nav-dropdown-toggle::before {\n position: absolute;\n top: 50%;\n right: 1rem;\n display: block;\n width: 8px;\n height: 8px;\n padding: 0;\n margin-top: -4px;\n content: \"\";\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%2373818f' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n transition: transform .3s;\n}\n\n.sidebar .nav-dropdown-toggle .badge {\n margin-right: 16px;\n}\n\n.sidebar .nav-dropdown.open {\n background: rgba(0, 0, 0, 0.2);\n}\n\n.sidebar .nav-dropdown.open > .nav-dropdown-items {\n max-height: 1500px;\n}\n\n.sidebar .nav-dropdown.open .nav-link {\n color: #fff;\n border-left: 0;\n}\n\n.sidebar .nav-dropdown.open > .nav-dropdown-toggle::before {\n transform: rotate(-90deg);\n}\n\n.sidebar .nav-dropdown.open .nav-dropdown.open {\n border-left: 0;\n}\n\n.sidebar .nav-label {\n display: block;\n padding: 0.09375rem 1rem;\n color: #e4e7ea;\n}\n\n.sidebar .nav-label:hover {\n color: #fff;\n text-decoration: none;\n}\n\n.sidebar .nav-label .nav-icon {\n width: 20px;\n margin: -3px 0.5rem 0 0;\n font-size: 10px;\n color: #73818f;\n text-align: center;\n vertical-align: middle;\n}\n\n.sidebar .progress {\n background-color: #515c64 !important;\n}\n\n.sidebar .sidebar-footer {\n flex: 0 0 auto;\n padding: 0.75rem 1rem;\n background: rgba(0, 0, 0, 0.2);\n}\n\n.sidebar .sidebar-minimizer {\n position: relative;\n flex: 0 0 50px;\n cursor: pointer;\n background-color: rgba(0, 0, 0, 0.2);\n border: 0;\n}\n\n.sidebar .sidebar-minimizer::before {\n position: absolute;\n top: 0;\n right: 0;\n width: 50px;\n height: 50px;\n content: \"\";\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%2373818f' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 12.5px;\n transition: .3s;\n}\n\n.sidebar .sidebar-minimizer:focus, .sidebar .sidebar-minimizer.focus {\n outline: 0;\n}\n\n.sidebar .sidebar-minimizer:hover {\n background-color: rgba(0, 0, 0, 0.3);\n}\n\n.sidebar .sidebar-minimizer:hover::before {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%23fff' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E\");\n}\n\n@media (min-width: 992px) {\n .sidebar-compact .sidebar .sidebar-nav {\n width: 150px;\n }\n .sidebar-compact .sidebar .nav {\n width: 150px;\n }\n .sidebar-compact .sidebar .d-compact-none {\n display: none;\n }\n .sidebar-compact .sidebar .nav-title {\n text-align: center;\n }\n .sidebar-compact .sidebar .nav-item {\n width: 150px;\n border-left: 0;\n }\n .sidebar-compact .sidebar .nav-link {\n text-align: center;\n }\n .sidebar-compact .sidebar .nav-link .nav-icon {\n display: block;\n width: 100%;\n margin: 0.25rem 0;\n font-size: 24px;\n }\n .sidebar-compact .sidebar .nav-link .badge {\n position: absolute;\n top: 18px;\n right: 10px;\n }\n .sidebar-compact .sidebar .nav-link.nav-dropdown-toggle::before {\n top: 30px;\n }\n .sidebar-minimized .sidebar {\n z-index: 1019;\n }\n .sidebar-minimized .sidebar .sidebar-nav {\n overflow: visible;\n width: 50px;\n }\n .sidebar-minimized .sidebar .nav {\n width: 50px;\n }\n .sidebar-minimized .sidebar .d-minimized-none,\n .sidebar-minimized .sidebar .nav-divider,\n .sidebar-minimized .sidebar .nav-label,\n .sidebar-minimized .sidebar .nav-title,\n .sidebar-minimized .sidebar .sidebar-footer,\n .sidebar-minimized .sidebar .sidebar-form,\n .sidebar-minimized .sidebar .sidebar-header {\n display: none;\n }\n .sidebar-minimized .sidebar .sidebar-minimizer {\n position: fixed;\n bottom: 0;\n width: 50px;\n height: 50px;\n background-color: #24282c;\n }\n .sidebar-minimized .sidebar .sidebar-nav {\n padding-bottom: 50px;\n }\n .sidebar-minimized .sidebar .sidebar-minimizer::before {\n width: 100%;\n transform: rotate(-180deg);\n }\n .sidebar-minimized .sidebar .nav-item {\n width: 50px;\n overflow: hidden;\n }\n .sidebar-minimized .sidebar .nav-item:hover {\n width: 250px;\n overflow: visible;\n }\n .sidebar-minimized .sidebar .nav-item:hover > .nav-link {\n background: #20a8d8;\n }\n .sidebar-minimized .sidebar .nav-item:hover > .nav-link .nav-icon {\n color: #fff;\n }\n .sidebar-minimized .sidebar .nav-link {\n position: relative;\n padding-left: 0;\n margin: 0;\n white-space: nowrap;\n border-left: 0;\n }\n .sidebar-minimized .sidebar .nav-link .nav-icon {\n display: block;\n float: left;\n width: 50px;\n font-size: 18px;\n }\n .sidebar-minimized .sidebar .nav-link .badge {\n position: absolute;\n right: 15px;\n display: none;\n }\n .sidebar-minimized .sidebar .nav-link:hover {\n width: 250px;\n background: #20a8d8;\n }\n .sidebar-minimized .sidebar .nav-link:hover .badge {\n display: inline;\n }\n .sidebar-minimized .sidebar .nav-link.nav-dropdown-toggle::before {\n display: none;\n }\n .sidebar-minimized .sidebar .nav-dropdown-items .nav-item {\n width: 200px;\n }\n .sidebar-minimized .sidebar .nav-dropdown-items .nav-item .nav-link {\n width: 200px;\n }\n .sidebar-minimized .sidebar .nav > .nav-dropdown > .nav-dropdown-items {\n display: none;\n max-height: 1000px;\n background: #2f353a;\n }\n .sidebar-minimized .sidebar .nav > .nav-dropdown:hover {\n background: #20a8d8;\n }\n .sidebar-minimized .sidebar .nav > .nav-dropdown:hover > .nav-dropdown-items {\n position: absolute;\n left: 50px;\n display: inline;\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .nav {\n list-style-image: url(\"data:,\");\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .nav .divider {\n height: 0;\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .sidebar-minimizer::before {\n width: 100%;\n transform: rotate(0deg);\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .nav-link {\n padding-right: 0;\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .nav-link .nav-icon {\n float: right;\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .nav-link .badge {\n right: auto;\n left: 15px;\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .nav-link:hover .badge {\n display: inline;\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .nav > .nav-dropdown > .nav-dropdown-items {\n display: none;\n max-height: 1000px;\n background: #2f353a;\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .nav > .nav-dropdown:hover {\n background: #20a8d8;\n }\n *[dir=\"rtl\"] .sidebar-minimized .sidebar .nav > .nav-dropdown:hover > .nav-dropdown-items {\n position: absolute;\n left: 0;\n display: inline;\n }\n}\n\n*[dir=\"rtl\"] .sidebar .nav-dropdown-toggle::before {\n position: absolute;\n right: auto;\n left: 1rem;\n transform: rotate(180deg);\n}\n\n*[dir=\"rtl\"] .sidebar .nav-dropdown.open > .nav-dropdown-toggle::before {\n transform: rotate(270deg);\n}\n\n*[dir=\"rtl\"] .sidebar .nav-link .nav-icon {\n margin: 0 0 0 0.5rem;\n}\n\n*[dir=\"rtl\"] .sidebar .nav-link .badge {\n float: left;\n margin-top: 2px;\n}\n\n*[dir=\"rtl\"] .sidebar .nav-link.nav-dropdown-toggle .badge {\n margin-right: auto;\n margin-left: 16px;\n}\n\n*[dir=\"rtl\"] .sidebar .sidebar-minimizer::before {\n right: auto;\n left: 0;\n transform: rotate(180deg);\n}\n\n*[dir=\"rtl\"] .sidebar-toggler {\n margin-right: 0 !important;\n}\n\n.switch {\n display: inline-block;\n width: 40px;\n height: 26px;\n}\n\n.switch-input {\n display: none;\n}\n\n.switch-slider {\n position: relative;\n display: block;\n height: inherit;\n cursor: pointer;\n background-color: #fff;\n border: 1px solid #c8ced3;\n transition: .15s ease-out;\n border-radius: 0.25rem;\n}\n\n.switch-slider::before {\n position: absolute;\n top: 2px;\n left: 2px;\n box-sizing: border-box;\n width: 20px;\n height: 20px;\n content: \"\";\n background-color: #fff;\n border: 1px solid #c8ced3;\n transition: .15s ease-out;\n border-radius: 0.125rem;\n}\n\n.switch-input:checked ~ .switch-slider::before {\n transform: translateX(14px);\n}\n\n.switch-input:disabled ~ .switch-slider {\n cursor: not-allowed;\n opacity: .5;\n}\n\n.switch-lg {\n width: 48px;\n height: 30px;\n}\n\n.switch-lg .switch-slider {\n font-size: 12px;\n}\n\n.switch-lg .switch-slider::before {\n width: 24px;\n height: 24px;\n}\n\n.switch-lg .switch-slider::after {\n font-size: 12px;\n}\n\n.switch-lg .switch-input:checked ~ .switch-slider::before {\n transform: translateX(18px);\n}\n\n.switch-sm {\n width: 32px;\n height: 22px;\n}\n\n.switch-sm .switch-slider {\n font-size: 8px;\n}\n\n.switch-sm .switch-slider::before {\n width: 16px;\n height: 16px;\n}\n\n.switch-sm .switch-slider::after {\n font-size: 8px;\n}\n\n.switch-sm .switch-input:checked ~ .switch-slider::before {\n transform: translateX(10px);\n}\n\n.switch-label {\n width: 48px;\n}\n\n.switch-label .switch-slider::before {\n z-index: 2;\n}\n\n.switch-label .switch-slider::after {\n position: absolute;\n top: 50%;\n right: 1px;\n z-index: 1;\n width: 50%;\n margin-top: -.5em;\n font-size: 10px;\n font-weight: 600;\n line-height: 1;\n color: #c8ced3;\n text-align: center;\n text-transform: uppercase;\n content: attr(data-unchecked);\n transition: inherit;\n}\n\n.switch-label .switch-input:checked ~ .switch-slider::before {\n transform: translateX(22px);\n}\n\n.switch-label .switch-input:checked ~ .switch-slider::after {\n left: 1px;\n color: #fff;\n content: attr(data-checked);\n}\n\n.switch-label.switch-lg {\n width: 56px;\n height: 30px;\n}\n\n.switch-label.switch-lg .switch-slider {\n font-size: 12px;\n}\n\n.switch-label.switch-lg .switch-slider::before {\n width: 24px;\n height: 24px;\n}\n\n.switch-label.switch-lg .switch-slider::after {\n font-size: 12px;\n}\n\n.switch-label.switch-lg .switch-input:checked ~ .switch-slider::before {\n transform: translateX(26px);\n}\n\n.switch-label.switch-sm {\n width: 40px;\n height: 22px;\n}\n\n.switch-label.switch-sm .switch-slider {\n font-size: 8px;\n}\n\n.switch-label.switch-sm .switch-slider::before {\n width: 16px;\n height: 16px;\n}\n\n.switch-label.switch-sm .switch-slider::after {\n font-size: 8px;\n}\n\n.switch-label.switch-sm .switch-input:checked ~ .switch-slider::before {\n transform: translateX(18px);\n}\n\n.switch-3d .switch-slider {\n background-color: #f0f3f5;\n border-radius: 50em;\n}\n\n.switch-3d .switch-slider::before {\n top: -1px;\n left: -1px;\n width: 26px;\n height: 26px;\n border: 0;\n border-radius: 50em;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);\n}\n\n.switch-3d.switch-lg {\n width: 48px;\n height: 30px;\n}\n\n.switch-3d.switch-lg .switch-slider::before {\n width: 30px;\n height: 30px;\n}\n\n.switch-3d.switch-lg .switch-input:checked ~ .switch-slider::before {\n transform: translateX(18px);\n}\n\n.switch-3d.switch-sm {\n width: 32px;\n height: 22px;\n}\n\n.switch-3d.switch-sm .switch-slider::before {\n width: 22px;\n height: 22px;\n}\n\n.switch-3d.switch-sm .switch-input:checked ~ .switch-slider::before {\n transform: translateX(10px);\n}\n\n.switch-primary .switch-input:checked + .switch-slider {\n background-color: #20a8d8;\n border-color: #1985ac;\n}\n\n.switch-primary .switch-input:checked + .switch-slider::before {\n border-color: #1985ac;\n}\n\n.switch-outline-primary .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #20a8d8;\n}\n\n.switch-outline-primary .switch-input:checked + .switch-slider::before {\n border-color: #20a8d8;\n}\n\n.switch-outline-primary .switch-input:checked + .switch-slider::after {\n color: #20a8d8;\n}\n\n.switch-outline-primary-alt .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #20a8d8;\n}\n\n.switch-outline-primary-alt .switch-input:checked + .switch-slider::before {\n background-color: #20a8d8;\n border-color: #20a8d8;\n}\n\n.switch-outline-primary-alt .switch-input:checked + .switch-slider::after {\n color: #20a8d8;\n}\n\n.switch-secondary .switch-input:checked + .switch-slider {\n background-color: #c8ced3;\n border-color: #acb5bc;\n}\n\n.switch-secondary .switch-input:checked + .switch-slider::before {\n border-color: #acb5bc;\n}\n\n.switch-outline-secondary .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #c8ced3;\n}\n\n.switch-outline-secondary .switch-input:checked + .switch-slider::before {\n border-color: #c8ced3;\n}\n\n.switch-outline-secondary .switch-input:checked + .switch-slider::after {\n color: #c8ced3;\n}\n\n.switch-outline-secondary-alt .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #c8ced3;\n}\n\n.switch-outline-secondary-alt .switch-input:checked + .switch-slider::before {\n background-color: #c8ced3;\n border-color: #c8ced3;\n}\n\n.switch-outline-secondary-alt .switch-input:checked + .switch-slider::after {\n color: #c8ced3;\n}\n\n.switch-success .switch-input:checked + .switch-slider {\n background-color: #4dbd74;\n border-color: #3a9d5d;\n}\n\n.switch-success .switch-input:checked + .switch-slider::before {\n border-color: #3a9d5d;\n}\n\n.switch-outline-success .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #4dbd74;\n}\n\n.switch-outline-success .switch-input:checked + .switch-slider::before {\n border-color: #4dbd74;\n}\n\n.switch-outline-success .switch-input:checked + .switch-slider::after {\n color: #4dbd74;\n}\n\n.switch-outline-success-alt .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #4dbd74;\n}\n\n.switch-outline-success-alt .switch-input:checked + .switch-slider::before {\n background-color: #4dbd74;\n border-color: #4dbd74;\n}\n\n.switch-outline-success-alt .switch-input:checked + .switch-slider::after {\n color: #4dbd74;\n}\n\n.switch-info .switch-input:checked + .switch-slider {\n background-color: #63c2de;\n border-color: #39b2d5;\n}\n\n.switch-info .switch-input:checked + .switch-slider::before {\n border-color: #39b2d5;\n}\n\n.switch-outline-info .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #63c2de;\n}\n\n.switch-outline-info .switch-input:checked + .switch-slider::before {\n border-color: #63c2de;\n}\n\n.switch-outline-info .switch-input:checked + .switch-slider::after {\n color: #63c2de;\n}\n\n.switch-outline-info-alt .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #63c2de;\n}\n\n.switch-outline-info-alt .switch-input:checked + .switch-slider::before {\n background-color: #63c2de;\n border-color: #63c2de;\n}\n\n.switch-outline-info-alt .switch-input:checked + .switch-slider::after {\n color: #63c2de;\n}\n\n.switch-warning .switch-input:checked + .switch-slider {\n background-color: #ffc107;\n border-color: #d39e00;\n}\n\n.switch-warning .switch-input:checked + .switch-slider::before {\n border-color: #d39e00;\n}\n\n.switch-outline-warning .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #ffc107;\n}\n\n.switch-outline-warning .switch-input:checked + .switch-slider::before {\n border-color: #ffc107;\n}\n\n.switch-outline-warning .switch-input:checked + .switch-slider::after {\n color: #ffc107;\n}\n\n.switch-outline-warning-alt .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #ffc107;\n}\n\n.switch-outline-warning-alt .switch-input:checked + .switch-slider::before {\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.switch-outline-warning-alt .switch-input:checked + .switch-slider::after {\n color: #ffc107;\n}\n\n.switch-danger .switch-input:checked + .switch-slider {\n background-color: #f86c6b;\n border-color: #f63c3a;\n}\n\n.switch-danger .switch-input:checked + .switch-slider::before {\n border-color: #f63c3a;\n}\n\n.switch-outline-danger .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #f86c6b;\n}\n\n.switch-outline-danger .switch-input:checked + .switch-slider::before {\n border-color: #f86c6b;\n}\n\n.switch-outline-danger .switch-input:checked + .switch-slider::after {\n color: #f86c6b;\n}\n\n.switch-outline-danger-alt .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #f86c6b;\n}\n\n.switch-outline-danger-alt .switch-input:checked + .switch-slider::before {\n background-color: #f86c6b;\n border-color: #f86c6b;\n}\n\n.switch-outline-danger-alt .switch-input:checked + .switch-slider::after {\n color: #f86c6b;\n}\n\n.switch-light .switch-input:checked + .switch-slider {\n background-color: #f0f3f5;\n border-color: #d1dbe1;\n}\n\n.switch-light .switch-input:checked + .switch-slider::before {\n border-color: #d1dbe1;\n}\n\n.switch-outline-light .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #f0f3f5;\n}\n\n.switch-outline-light .switch-input:checked + .switch-slider::before {\n border-color: #f0f3f5;\n}\n\n.switch-outline-light .switch-input:checked + .switch-slider::after {\n color: #f0f3f5;\n}\n\n.switch-outline-light-alt .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #f0f3f5;\n}\n\n.switch-outline-light-alt .switch-input:checked + .switch-slider::before {\n background-color: #f0f3f5;\n border-color: #f0f3f5;\n}\n\n.switch-outline-light-alt .switch-input:checked + .switch-slider::after {\n color: #f0f3f5;\n}\n\n.switch-dark .switch-input:checked + .switch-slider {\n background-color: #2f353a;\n border-color: #181b1e;\n}\n\n.switch-dark .switch-input:checked + .switch-slider::before {\n border-color: #181b1e;\n}\n\n.switch-outline-dark .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #2f353a;\n}\n\n.switch-outline-dark .switch-input:checked + .switch-slider::before {\n border-color: #2f353a;\n}\n\n.switch-outline-dark .switch-input:checked + .switch-slider::after {\n color: #2f353a;\n}\n\n.switch-outline-dark-alt .switch-input:checked + .switch-slider {\n background-color: #fff;\n border-color: #2f353a;\n}\n\n.switch-outline-dark-alt .switch-input:checked + .switch-slider::before {\n background-color: #2f353a;\n border-color: #2f353a;\n}\n\n.switch-outline-dark-alt .switch-input:checked + .switch-slider::after {\n color: #2f353a;\n}\n\n.switch-pill .switch-slider {\n border-radius: 50em;\n}\n\n.switch-pill .switch-slider::before {\n border-radius: 50em;\n}\n\n.table-outline {\n border: 1px solid #c8ced3;\n}\n\n.table-outline td {\n vertical-align: middle;\n}\n\n.table-align-middle td {\n vertical-align: middle;\n}\n\n.table-clear td {\n border: 0;\n}\n\n@media all and (-ms-high-contrast: none) {\n html {\n display: flex;\n flex-direction: column;\n }\n}\n\n.app,\napp-dashboard,\napp-root {\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n}\n\n.app-header {\n flex: 0 0 55px;\n}\n\n.app-footer {\n flex: 0 0 50px;\n}\n\n.app-body {\n display: flex;\n flex-direction: row;\n flex-grow: 1;\n overflow-x: hidden;\n}\n\n.app-body .main {\n flex: 1;\n min-width: 0;\n}\n\n.app-body .sidebar {\n flex: 0 0 200px;\n order: -1;\n}\n\n.app-body .aside-menu {\n flex: 0 0 250px;\n}\n\nhtml:not([dir=\"rtl\"]) .sidebar {\n margin-left: -200px;\n}\n\nhtml:not([dir=\"rtl\"]) .aside-menu {\n right: 0;\n margin-right: -250px;\n}\n\nhtml[dir=\"rtl\"] .sidebar {\n margin-right: -200px;\n}\n\nhtml[dir=\"rtl\"] .aside-menu {\n left: 0;\n margin-left: -250px;\n}\n\n@media (min-width: 992px) {\n .header-fixed .app-header {\n position: fixed;\n z-index: 1020;\n width: 100%;\n }\n .header-fixed .app-body {\n margin-top: 55px;\n }\n .sidebar-fixed .sidebar {\n position: fixed;\n z-index: 1019;\n width: 200px;\n height: 100vh;\n }\n .sidebar-fixed .app-header + .app-body .sidebar {\n height: calc(100vh - 55px);\n }\n .sidebar-compact .sidebar {\n flex: 0 0 150px;\n }\n .sidebar-compact.sidebar-fixed .sidebar {\n width: 150px;\n }\n .sidebar-compact .sidebar-minimizer {\n display: none;\n }\n .sidebar-minimized .sidebar {\n flex: 0 0 50px;\n }\n .sidebar-minimized.sidebar-fixed .sidebar {\n width: 50px;\n }\n .sidebar-off-canvas .sidebar {\n position: fixed;\n z-index: 1019;\n height: 100%;\n }\n .sidebar-off-canvas .app-header + .app-body .sidebar {\n height: calc(100vh - 55px);\n }\n html:not([dir=\"rtl\"]) .sidebar-compact .sidebar {\n margin-left: -150px;\n }\n html:not([dir=\"rtl\"]) .sidebar-minimized .sidebar {\n margin-left: -50px;\n }\n html[dir=\"rtl\"] .sidebar-compact .sidebar {\n margin-right: -150px;\n }\n html[dir=\"rtl\"] .sidebar-minimized .sidebar {\n margin-right: -50px;\n }\n .aside-menu-fixed .aside-menu {\n position: fixed;\n height: 100%;\n }\n .aside-menu-fixed .aside-menu .tab-content {\n height: calc(100vh - 2.375rem - 55px);\n }\n .aside-menu-fixed .app-header + .app-body .aside-menu {\n height: calc(100vh - 55px);\n }\n .aside-menu-off-canvas .aside-menu {\n position: fixed;\n z-index: 1019;\n height: 100%;\n }\n .aside-menu-off-canvas .app-header + .app-body .aside-menu {\n height: calc(100vh - 55px);\n }\n html:not([dir=\"rtl\"]) .aside-menu-fixed .aside-menu,\n html:not([dir=\"rtl\"]) .aside-menu-off-canvas .aside-menu {\n right: 0;\n }\n html[dir=\"rtl\"] .aside-menu-fixed .aside-menu,\n html[dir=\"rtl\"] .aside-menu-off-canvas .aside-menu {\n left: 0;\n }\n}\n\n.breadcrumb-fixed .main {\n padding-top: 3.875rem;\n}\n\n.breadcrumb-fixed .breadcrumb {\n position: fixed;\n top: 55px;\n right: 0;\n left: 0;\n z-index: 1017;\n}\n\nhtml:not([dir=\"rtl\"]) .sidebar-show .sidebar,\nhtml:not([dir=\"rtl\"]) .sidebar-show .sidebar {\n margin-left: 0;\n}\n\nhtml:not([dir=\"rtl\"]) .aside-menu-show .aside-menu,\nhtml:not([dir=\"rtl\"]) .aside-menu-show .aside-menu {\n margin-right: 0;\n}\n\nhtml[dir=\"rtl\"] .sidebar-show .sidebar,\nhtml[dir=\"rtl\"] .sidebar-show .sidebar {\n margin-right: 0;\n}\n\nhtml[dir=\"rtl\"] .aside-menu-show .aside-menu,\nhtml[dir=\"rtl\"] .aside-menu-show .aside-menu {\n margin-left: 0;\n}\n\n@keyframes opacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n\n@media (max-width: 575.98px) {\n .sidebar-show .main,\n .aside-menu-show .main {\n position: relative;\n }\n .sidebar-show .main::before,\n .aside-menu-show .main::before {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1018;\n width: 100%;\n height: 100%;\n content: \"\";\n background: rgba(0, 0, 0, 0.7);\n animation: opacity 0.25s;\n }\n}\n\n@media (min-width: 576px) {\n html:not([dir=\"rtl\"]) .sidebar-sm-show .sidebar,\n html:not([dir=\"rtl\"]) .sidebar-show .sidebar {\n margin-left: 0;\n }\n html:not([dir=\"rtl\"]) .sidebar-sm-show.sidebar-fixed .main,\n html:not([dir=\"rtl\"]) .sidebar-sm-show.sidebar-fixed .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed .app-footer {\n margin-left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-sm-show.sidebar-fixed.sidebar-compact .main,\n html:not([dir=\"rtl\"]) .sidebar-sm-show.sidebar-fixed.sidebar-compact .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-compact .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-compact .app-footer {\n margin-left: 150px;\n }\n html:not([dir=\"rtl\"]) .sidebar-sm-show.sidebar-fixed.sidebar-minimized .main,\n html:not([dir=\"rtl\"]) .sidebar-sm-show.sidebar-fixed.sidebar-minimized .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-minimized .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer {\n margin-left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-sm-show.breadcrumb-fixed .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed .breadcrumb {\n left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-sm-show.breadcrumb-fixed.sidebar-compact .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb {\n left: 150px;\n }\n html:not([dir=\"rtl\"]) .sidebar-sm-show.breadcrumb-fixed.sidebar-minimized .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb {\n left: 50px;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show .aside-menu,\n html:not([dir=\"rtl\"]) .aside-menu-sm-show .aside-menu {\n margin-right: 0;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show.aside-menu-fixed .main,\n html:not([dir=\"rtl\"]) .aside-menu-show.aside-menu-fixed .app-footer,\n html:not([dir=\"rtl\"]) .aside-menu-sm-show.aside-menu-fixed .main,\n html:not([dir=\"rtl\"]) .aside-menu-sm-show.aside-menu-fixed .app-footer {\n margin-right: 250px;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show.breadcrumb-fixed .breadcrumb,\n html:not([dir=\"rtl\"]) .aside-menu-sm-show.breadcrumb-fixed .breadcrumb {\n right: 250px;\n }\n html[dir=\"rtl\"] .sidebar-sm-show .sidebar,\n html[dir=\"rtl\"] .sidebar-show .sidebar {\n margin-right: 0;\n }\n html[dir=\"rtl\"] .sidebar-sm-show.sidebar-fixed .main,\n html[dir=\"rtl\"] .sidebar-sm-show.sidebar-fixed .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed .app-footer {\n margin-right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-sm-show.sidebar-fixed.sidebar-compact .main,\n html[dir=\"rtl\"] .sidebar-sm-show.sidebar-fixed.sidebar-compact .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-compact .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-compact .app-footer {\n margin-right: 150px;\n }\n html[dir=\"rtl\"] .sidebar-sm-show.sidebar-fixed.sidebar-minimized .main,\n html[dir=\"rtl\"] .sidebar-sm-show.sidebar-fixed.sidebar-minimized .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-minimized .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer {\n margin-right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-sm-show.breadcrumb-fixed .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed .breadcrumb {\n right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-sm-show.breadcrumb-fixed.sidebar-compact .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb {\n right: 150px;\n }\n html[dir=\"rtl\"] .sidebar-sm-show.breadcrumb-fixed.sidebar-minimized .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb {\n right: 50px;\n }\n html[dir=\"rtl\"] .aside-menu-show .aside-menu,\n html[dir=\"rtl\"] .aside-menu-sm-show .aside-menu {\n margin-left: 0;\n }\n html[dir=\"rtl\"] .aside-menu-show.aside-menu-fixed .main,\n html[dir=\"rtl\"] .aside-menu-show.aside-menu-fixed .app-footer,\n html[dir=\"rtl\"] .aside-menu-sm-show.aside-menu-fixed .main,\n html[dir=\"rtl\"] .aside-menu-sm-show.aside-menu-fixed .app-footer {\n margin-left: 250px;\n }\n html[dir=\"rtl\"] .aside-menu-show.breadcrumb-fixed .breadcrumb,\n html[dir=\"rtl\"] .aside-menu-sm-show.breadcrumb-fixed .breadcrumb {\n left: 250px;\n }\n @keyframes opacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n\n@media (min-width: 768px) {\n html:not([dir=\"rtl\"]) .sidebar-md-show .sidebar,\n html:not([dir=\"rtl\"]) .sidebar-show .sidebar {\n margin-left: 0;\n }\n html:not([dir=\"rtl\"]) .sidebar-md-show.sidebar-fixed .main,\n html:not([dir=\"rtl\"]) .sidebar-md-show.sidebar-fixed .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed .app-footer {\n margin-left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-md-show.sidebar-fixed.sidebar-compact .main,\n html:not([dir=\"rtl\"]) .sidebar-md-show.sidebar-fixed.sidebar-compact .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-compact .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-compact .app-footer {\n margin-left: 150px;\n }\n html:not([dir=\"rtl\"]) .sidebar-md-show.sidebar-fixed.sidebar-minimized .main,\n html:not([dir=\"rtl\"]) .sidebar-md-show.sidebar-fixed.sidebar-minimized .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-minimized .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer {\n margin-left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-md-show.breadcrumb-fixed .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed .breadcrumb {\n left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-md-show.breadcrumb-fixed.sidebar-compact .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb {\n left: 150px;\n }\n html:not([dir=\"rtl\"]) .sidebar-md-show.breadcrumb-fixed.sidebar-minimized .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb {\n left: 50px;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show .aside-menu,\n html:not([dir=\"rtl\"]) .aside-menu-md-show .aside-menu {\n margin-right: 0;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show.aside-menu-fixed .main,\n html:not([dir=\"rtl\"]) .aside-menu-show.aside-menu-fixed .app-footer,\n html:not([dir=\"rtl\"]) .aside-menu-md-show.aside-menu-fixed .main,\n html:not([dir=\"rtl\"]) .aside-menu-md-show.aside-menu-fixed .app-footer {\n margin-right: 250px;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show.breadcrumb-fixed .breadcrumb,\n html:not([dir=\"rtl\"]) .aside-menu-md-show.breadcrumb-fixed .breadcrumb {\n right: 250px;\n }\n html[dir=\"rtl\"] .sidebar-md-show .sidebar,\n html[dir=\"rtl\"] .sidebar-show .sidebar {\n margin-right: 0;\n }\n html[dir=\"rtl\"] .sidebar-md-show.sidebar-fixed .main,\n html[dir=\"rtl\"] .sidebar-md-show.sidebar-fixed .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed .app-footer {\n margin-right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-md-show.sidebar-fixed.sidebar-compact .main,\n html[dir=\"rtl\"] .sidebar-md-show.sidebar-fixed.sidebar-compact .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-compact .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-compact .app-footer {\n margin-right: 150px;\n }\n html[dir=\"rtl\"] .sidebar-md-show.sidebar-fixed.sidebar-minimized .main,\n html[dir=\"rtl\"] .sidebar-md-show.sidebar-fixed.sidebar-minimized .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-minimized .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer {\n margin-right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-md-show.breadcrumb-fixed .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed .breadcrumb {\n right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-md-show.breadcrumb-fixed.sidebar-compact .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb {\n right: 150px;\n }\n html[dir=\"rtl\"] .sidebar-md-show.breadcrumb-fixed.sidebar-minimized .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb {\n right: 50px;\n }\n html[dir=\"rtl\"] .aside-menu-show .aside-menu,\n html[dir=\"rtl\"] .aside-menu-md-show .aside-menu {\n margin-left: 0;\n }\n html[dir=\"rtl\"] .aside-menu-show.aside-menu-fixed .main,\n html[dir=\"rtl\"] .aside-menu-show.aside-menu-fixed .app-footer,\n html[dir=\"rtl\"] .aside-menu-md-show.aside-menu-fixed .main,\n html[dir=\"rtl\"] .aside-menu-md-show.aside-menu-fixed .app-footer {\n margin-left: 250px;\n }\n html[dir=\"rtl\"] .aside-menu-show.breadcrumb-fixed .breadcrumb,\n html[dir=\"rtl\"] .aside-menu-md-show.breadcrumb-fixed .breadcrumb {\n left: 250px;\n }\n @keyframes opacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n\n@media (min-width: 992px) {\n html:not([dir=\"rtl\"]) .sidebar-lg-show .sidebar,\n html:not([dir=\"rtl\"]) .sidebar-show .sidebar {\n margin-left: 0;\n }\n html:not([dir=\"rtl\"]) .sidebar-lg-show.sidebar-fixed .main,\n html:not([dir=\"rtl\"]) .sidebar-lg-show.sidebar-fixed .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed .app-footer {\n margin-left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-lg-show.sidebar-fixed.sidebar-compact .main,\n html:not([dir=\"rtl\"]) .sidebar-lg-show.sidebar-fixed.sidebar-compact .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-compact .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-compact .app-footer {\n margin-left: 150px;\n }\n html:not([dir=\"rtl\"]) .sidebar-lg-show.sidebar-fixed.sidebar-minimized .main,\n html:not([dir=\"rtl\"]) .sidebar-lg-show.sidebar-fixed.sidebar-minimized .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-minimized .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer {\n margin-left: 50px;\n }\n html:not([dir=\"rtl\"]) .sidebar-lg-show.breadcrumb-fixed .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed .breadcrumb {\n left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-lg-show.breadcrumb-fixed.sidebar-compact .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb {\n left: 150px;\n }\n html:not([dir=\"rtl\"]) .sidebar-lg-show.breadcrumb-fixed.sidebar-minimized .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb {\n left: 50px;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show .aside-menu,\n html:not([dir=\"rtl\"]) .aside-menu-lg-show .aside-menu {\n margin-right: 0;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show.aside-menu-fixed .main,\n html:not([dir=\"rtl\"]) .aside-menu-show.aside-menu-fixed .app-footer,\n html:not([dir=\"rtl\"]) .aside-menu-lg-show.aside-menu-fixed .main,\n html:not([dir=\"rtl\"]) .aside-menu-lg-show.aside-menu-fixed .app-footer {\n margin-right: 250px;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show.breadcrumb-fixed .breadcrumb,\n html:not([dir=\"rtl\"]) .aside-menu-lg-show.breadcrumb-fixed .breadcrumb {\n right: 250px;\n }\n html[dir=\"rtl\"] .sidebar-lg-show .sidebar,\n html[dir=\"rtl\"] .sidebar-show .sidebar {\n margin-right: 0;\n }\n html[dir=\"rtl\"] .sidebar-lg-show.sidebar-fixed .main,\n html[dir=\"rtl\"] .sidebar-lg-show.sidebar-fixed .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed .app-footer {\n margin-right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-lg-show.sidebar-fixed.sidebar-compact .main,\n html[dir=\"rtl\"] .sidebar-lg-show.sidebar-fixed.sidebar-compact .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-compact .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-compact .app-footer {\n margin-right: 150px;\n }\n html[dir=\"rtl\"] .sidebar-lg-show.sidebar-fixed.sidebar-minimized .main,\n html[dir=\"rtl\"] .sidebar-lg-show.sidebar-fixed.sidebar-minimized .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-minimized .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer {\n margin-right: 50px;\n }\n html[dir=\"rtl\"] .sidebar-lg-show.breadcrumb-fixed .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed .breadcrumb {\n right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-lg-show.breadcrumb-fixed.sidebar-compact .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb {\n right: 150px;\n }\n html[dir=\"rtl\"] .sidebar-lg-show.breadcrumb-fixed.sidebar-minimized .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb {\n right: 50px;\n }\n html[dir=\"rtl\"] .aside-menu-show .aside-menu,\n html[dir=\"rtl\"] .aside-menu-lg-show .aside-menu {\n margin-left: 0;\n }\n html[dir=\"rtl\"] .aside-menu-show.aside-menu-fixed .main,\n html[dir=\"rtl\"] .aside-menu-show.aside-menu-fixed .app-footer,\n html[dir=\"rtl\"] .aside-menu-lg-show.aside-menu-fixed .main,\n html[dir=\"rtl\"] .aside-menu-lg-show.aside-menu-fixed .app-footer {\n margin-left: 250px;\n }\n html[dir=\"rtl\"] .aside-menu-show.breadcrumb-fixed .breadcrumb,\n html[dir=\"rtl\"] .aside-menu-lg-show.breadcrumb-fixed .breadcrumb {\n left: 250px;\n }\n @keyframes opacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n\n@media (min-width: 1200px) {\n html:not([dir=\"rtl\"]) .sidebar-xl-show .sidebar,\n html:not([dir=\"rtl\"]) .sidebar-show .sidebar {\n margin-left: 0;\n }\n html:not([dir=\"rtl\"]) .sidebar-xl-show.sidebar-fixed .main,\n html:not([dir=\"rtl\"]) .sidebar-xl-show.sidebar-fixed .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed .app-footer {\n margin-left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-xl-show.sidebar-fixed.sidebar-compact .main,\n html:not([dir=\"rtl\"]) .sidebar-xl-show.sidebar-fixed.sidebar-compact .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-compact .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-compact .app-footer {\n margin-left: 150px;\n }\n html:not([dir=\"rtl\"]) .sidebar-xl-show.sidebar-fixed.sidebar-minimized .main,\n html:not([dir=\"rtl\"]) .sidebar-xl-show.sidebar-fixed.sidebar-minimized .app-footer,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-minimized .main,\n html:not([dir=\"rtl\"]) .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer {\n margin-left: 50px;\n }\n html:not([dir=\"rtl\"]) .sidebar-xl-show.breadcrumb-fixed .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed .breadcrumb {\n left: 200px;\n }\n html:not([dir=\"rtl\"]) .sidebar-xl-show.breadcrumb-fixed.sidebar-compact .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb {\n left: 150px;\n }\n html:not([dir=\"rtl\"]) .sidebar-xl-show.breadcrumb-fixed.sidebar-minimized .breadcrumb,\n html:not([dir=\"rtl\"]) .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb {\n left: 50px;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show .aside-menu,\n html:not([dir=\"rtl\"]) .aside-menu-xl-show .aside-menu {\n margin-right: 0;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show.aside-menu-fixed .main,\n html:not([dir=\"rtl\"]) .aside-menu-show.aside-menu-fixed .app-footer,\n html:not([dir=\"rtl\"]) .aside-menu-xl-show.aside-menu-fixed .main,\n html:not([dir=\"rtl\"]) .aside-menu-xl-show.aside-menu-fixed .app-footer {\n margin-right: 250px;\n }\n html:not([dir=\"rtl\"]) .aside-menu-show.breadcrumb-fixed .breadcrumb,\n html:not([dir=\"rtl\"]) .aside-menu-xl-show.breadcrumb-fixed .breadcrumb {\n right: 250px;\n }\n html[dir=\"rtl\"] .sidebar-xl-show .sidebar,\n html[dir=\"rtl\"] .sidebar-show .sidebar {\n margin-right: 0;\n }\n html[dir=\"rtl\"] .sidebar-xl-show.sidebar-fixed .main,\n html[dir=\"rtl\"] .sidebar-xl-show.sidebar-fixed .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed .app-footer {\n margin-right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-xl-show.sidebar-fixed.sidebar-compact .main,\n html[dir=\"rtl\"] .sidebar-xl-show.sidebar-fixed.sidebar-compact .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-compact .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-compact .app-footer {\n margin-right: 150px;\n }\n html[dir=\"rtl\"] .sidebar-xl-show.sidebar-fixed.sidebar-minimized .main,\n html[dir=\"rtl\"] .sidebar-xl-show.sidebar-fixed.sidebar-minimized .app-footer,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-minimized .main,\n html[dir=\"rtl\"] .sidebar-show.sidebar-fixed.sidebar-minimized .app-footer {\n margin-right: 50px;\n }\n html[dir=\"rtl\"] .sidebar-xl-show.breadcrumb-fixed .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed .breadcrumb {\n right: 200px;\n }\n html[dir=\"rtl\"] .sidebar-xl-show.breadcrumb-fixed.sidebar-compact .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed.sidebar-compact .breadcrumb {\n right: 150px;\n }\n html[dir=\"rtl\"] .sidebar-xl-show.breadcrumb-fixed.sidebar-minimized .breadcrumb,\n html[dir=\"rtl\"] .sidebar-show.breadcrumb-fixed.sidebar-minimized .breadcrumb {\n right: 50px;\n }\n html[dir=\"rtl\"] .aside-menu-show .aside-menu,\n html[dir=\"rtl\"] .aside-menu-xl-show .aside-menu {\n margin-left: 0;\n }\n html[dir=\"rtl\"] .aside-menu-show.aside-menu-fixed .main,\n html[dir=\"rtl\"] .aside-menu-show.aside-menu-fixed .app-footer,\n html[dir=\"rtl\"] .aside-menu-xl-show.aside-menu-fixed .main,\n html[dir=\"rtl\"] .aside-menu-xl-show.aside-menu-fixed .app-footer {\n margin-left: 250px;\n }\n html[dir=\"rtl\"] .aside-menu-show.breadcrumb-fixed .breadcrumb,\n html[dir=\"rtl\"] .aside-menu-xl-show.breadcrumb-fixed .breadcrumb {\n left: 250px;\n }\n @keyframes opacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n\n.footer-fixed .app-footer {\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1020;\n height: 50px;\n}\n\n.footer-fixed .app-body {\n margin-bottom: 50px;\n}\n\n.app-header,\n.app-footer,\n.sidebar,\n.main,\n.aside-menu {\n transition: margin-left 0.25s, margin-right 0.25s, width 0.25s, flex 0.25s;\n}\n\n.sidebar-nav {\n transition: width 0.25s;\n}\n\n.breadcrumb {\n transition: left 0.25s, right 0.25s, width 0.25s;\n}\n\n@media (max-width: 991.98px) {\n .app-header {\n position: fixed;\n z-index: 1020;\n width: 100%;\n text-align: center;\n background-color: #fff;\n }\n .app-header .navbar-toggler {\n color: #fff;\n }\n .app-header .navbar-brand {\n position: absolute;\n top: 0;\n left: 50%;\n margin-left: -77.5px;\n }\n .app-body {\n margin-top: 55px;\n }\n .sidebar {\n position: fixed;\n z-index: 1019;\n width: 200px;\n height: calc(100vh - 55px);\n }\n .sidebar-minimizer {\n display: none;\n }\n .aside-menu {\n position: fixed;\n height: 100%;\n }\n}\n\nhr.transparent {\n border-top: 1px solid transparent;\n}\n\n.bg-primary,\n.bg-success,\n.bg-info,\n.bg-warning,\n.bg-danger,\n.bg-dark {\n color: #fff;\n}\n\n.bg-facebook {\n background-color: #3b5998 !important;\n}\n\na.bg-facebook:hover, a.bg-facebook:focus,\nbutton.bg-facebook:hover,\nbutton.bg-facebook:focus {\n background-color: #2d4373 !important;\n}\n\n.bg-twitter {\n background-color: #00aced !important;\n}\n\na.bg-twitter:hover, a.bg-twitter:focus,\nbutton.bg-twitter:hover,\nbutton.bg-twitter:focus {\n background-color: #0087ba !important;\n}\n\n.bg-linkedin {\n background-color: #4875b4 !important;\n}\n\na.bg-linkedin:hover, a.bg-linkedin:focus,\nbutton.bg-linkedin:hover,\nbutton.bg-linkedin:focus {\n background-color: #395d90 !important;\n}\n\n.bg-google-plus {\n background-color: #d34836 !important;\n}\n\na.bg-google-plus:hover, a.bg-google-plus:focus,\nbutton.bg-google-plus:hover,\nbutton.bg-google-plus:focus {\n background-color: #b03626 !important;\n}\n\n.bg-flickr {\n background-color: #ff0084 !important;\n}\n\na.bg-flickr:hover, a.bg-flickr:focus,\nbutton.bg-flickr:hover,\nbutton.bg-flickr:focus {\n background-color: #cc006a !important;\n}\n\n.bg-tumblr {\n background-color: #32506d !important;\n}\n\na.bg-tumblr:hover, a.bg-tumblr:focus,\nbutton.bg-tumblr:hover,\nbutton.bg-tumblr:focus {\n background-color: #22364a !important;\n}\n\n.bg-xing {\n background-color: #026466 !important;\n}\n\na.bg-xing:hover, a.bg-xing:focus,\nbutton.bg-xing:hover,\nbutton.bg-xing:focus {\n background-color: #013334 !important;\n}\n\n.bg-github {\n background-color: #4183c4 !important;\n}\n\na.bg-github:hover, a.bg-github:focus,\nbutton.bg-github:hover,\nbutton.bg-github:focus {\n background-color: #3269a0 !important;\n}\n\n.bg-html5 {\n background-color: #e34f26 !important;\n}\n\na.bg-html5:hover, a.bg-html5:focus,\nbutton.bg-html5:hover,\nbutton.bg-html5:focus {\n background-color: #be3c18 !important;\n}\n\n.bg-openid {\n background-color: #f78c40 !important;\n}\n\na.bg-openid:hover, a.bg-openid:focus,\nbutton.bg-openid:hover,\nbutton.bg-openid:focus {\n background-color: #f56f0f !important;\n}\n\n.bg-stack-overflow {\n background-color: #fe7a15 !important;\n}\n\na.bg-stack-overflow:hover, a.bg-stack-overflow:focus,\nbutton.bg-stack-overflow:hover,\nbutton.bg-stack-overflow:focus {\n background-color: #df6101 !important;\n}\n\n.bg-youtube {\n background-color: #b00 !important;\n}\n\na.bg-youtube:hover, a.bg-youtube:focus,\nbutton.bg-youtube:hover,\nbutton.bg-youtube:focus {\n background-color: #880000 !important;\n}\n\n.bg-css3 {\n background-color: #0170ba !important;\n}\n\na.bg-css3:hover, a.bg-css3:focus,\nbutton.bg-css3:hover,\nbutton.bg-css3:focus {\n background-color: #015187 !important;\n}\n\n.bg-dribbble {\n background-color: #ea4c89 !important;\n}\n\na.bg-dribbble:hover, a.bg-dribbble:focus,\nbutton.bg-dribbble:hover,\nbutton.bg-dribbble:focus {\n background-color: #e51e6b !important;\n}\n\n.bg-instagram {\n background-color: #517fa4 !important;\n}\n\na.bg-instagram:hover, a.bg-instagram:focus,\nbutton.bg-instagram:hover,\nbutton.bg-instagram:focus {\n background-color: #406582 !important;\n}\n\n.bg-pinterest {\n background-color: #cb2027 !important;\n}\n\na.bg-pinterest:hover, a.bg-pinterest:focus,\nbutton.bg-pinterest:hover,\nbutton.bg-pinterest:focus {\n background-color: #9f191f !important;\n}\n\n.bg-vk {\n background-color: #45668e !important;\n}\n\na.bg-vk:hover, a.bg-vk:focus,\nbutton.bg-vk:hover,\nbutton.bg-vk:focus {\n background-color: #344d6c !important;\n}\n\n.bg-yahoo {\n background-color: #400191 !important;\n}\n\na.bg-yahoo:hover, a.bg-yahoo:focus,\nbutton.bg-yahoo:hover,\nbutton.bg-yahoo:focus {\n background-color: #2a015e !important;\n}\n\n.bg-behance {\n background-color: #1769ff !important;\n}\n\na.bg-behance:hover, a.bg-behance:focus,\nbutton.bg-behance:hover,\nbutton.bg-behance:focus {\n background-color: #0050e3 !important;\n}\n\n.bg-dropbox {\n background-color: #007ee5 !important;\n}\n\na.bg-dropbox:hover, a.bg-dropbox:focus,\nbutton.bg-dropbox:hover,\nbutton.bg-dropbox:focus {\n background-color: #0062b2 !important;\n}\n\n.bg-reddit {\n background-color: #ff4500 !important;\n}\n\na.bg-reddit:hover, a.bg-reddit:focus,\nbutton.bg-reddit:hover,\nbutton.bg-reddit:focus {\n background-color: #cc3700 !important;\n}\n\n.bg-spotify {\n background-color: #7ab800 !important;\n}\n\na.bg-spotify:hover, a.bg-spotify:focus,\nbutton.bg-spotify:hover,\nbutton.bg-spotify:focus {\n background-color: #588500 !important;\n}\n\n.bg-vine {\n background-color: #00bf8f !important;\n}\n\na.bg-vine:hover, a.bg-vine:focus,\nbutton.bg-vine:hover,\nbutton.bg-vine:focus {\n background-color: #008c69 !important;\n}\n\n.bg-foursquare {\n background-color: #1073af !important;\n}\n\na.bg-foursquare:hover, a.bg-foursquare:focus,\nbutton.bg-foursquare:hover,\nbutton.bg-foursquare:focus {\n background-color: #0c5480 !important;\n}\n\n.bg-vimeo {\n background-color: #aad450 !important;\n}\n\na.bg-vimeo:hover, a.bg-vimeo:focus,\nbutton.bg-vimeo:hover,\nbutton.bg-vimeo:focus {\n background-color: #93c130 !important;\n}\n\n.bg-blue {\n background-color: #20a8d8 !important;\n}\n\na.bg-blue:hover, a.bg-blue:focus,\nbutton.bg-blue:hover,\nbutton.bg-blue:focus {\n background-color: #1985ac !important;\n}\n\n.bg-indigo {\n background-color: #6610f2 !important;\n}\n\na.bg-indigo:hover, a.bg-indigo:focus,\nbutton.bg-indigo:hover,\nbutton.bg-indigo:focus {\n background-color: #510bc4 !important;\n}\n\n.bg-purple {\n background-color: #6f42c1 !important;\n}\n\na.bg-purple:hover, a.bg-purple:focus,\nbutton.bg-purple:hover,\nbutton.bg-purple:focus {\n background-color: #59339d !important;\n}\n\n.bg-pink {\n background-color: #e83e8c !important;\n}\n\na.bg-pink:hover, a.bg-pink:focus,\nbutton.bg-pink:hover,\nbutton.bg-pink:focus {\n background-color: #d91a72 !important;\n}\n\n.bg-red {\n background-color: #f86c6b !important;\n}\n\na.bg-red:hover, a.bg-red:focus,\nbutton.bg-red:hover,\nbutton.bg-red:focus {\n background-color: #f63c3a !important;\n}\n\n.bg-orange {\n background-color: #f8cb00 !important;\n}\n\na.bg-orange:hover, a.bg-orange:focus,\nbutton.bg-orange:hover,\nbutton.bg-orange:focus {\n background-color: #c5a100 !important;\n}\n\n.bg-yellow {\n background-color: #ffc107 !important;\n}\n\na.bg-yellow:hover, a.bg-yellow:focus,\nbutton.bg-yellow:hover,\nbutton.bg-yellow:focus {\n background-color: #d39e00 !important;\n}\n\n.bg-green {\n background-color: #4dbd74 !important;\n}\n\na.bg-green:hover, a.bg-green:focus,\nbutton.bg-green:hover,\nbutton.bg-green:focus {\n background-color: #3a9d5d !important;\n}\n\n.bg-teal {\n background-color: #20c997 !important;\n}\n\na.bg-teal:hover, a.bg-teal:focus,\nbutton.bg-teal:hover,\nbutton.bg-teal:focus {\n background-color: #199d76 !important;\n}\n\n.bg-cyan {\n background-color: #17a2b8 !important;\n}\n\na.bg-cyan:hover, a.bg-cyan:focus,\nbutton.bg-cyan:hover,\nbutton.bg-cyan:focus {\n background-color: #117a8b !important;\n}\n\n.bg-white {\n background-color: #fff !important;\n}\n\na.bg-white:hover, a.bg-white:focus,\nbutton.bg-white:hover,\nbutton.bg-white:focus {\n background-color: #e6e6e6 !important;\n}\n\n.bg-gray {\n background-color: #73818f !important;\n}\n\na.bg-gray:hover, a.bg-gray:focus,\nbutton.bg-gray:hover,\nbutton.bg-gray:focus {\n background-color: #5c6873 !important;\n}\n\n.bg-gray-dark {\n background-color: #2f353a !important;\n}\n\na.bg-gray-dark:hover, a.bg-gray-dark:focus,\nbutton.bg-gray-dark:hover,\nbutton.bg-gray-dark:focus {\n background-color: #181b1e !important;\n}\n\n.bg-light-blue {\n background-color: #63c2de !important;\n}\n\na.bg-light-blue:hover, a.bg-light-blue:focus,\nbutton.bg-light-blue:hover,\nbutton.bg-light-blue:focus {\n background-color: #39b2d5 !important;\n}\n\n.bg-gray-100 {\n background-color: #f0f3f5 !important;\n}\n\na.bg-gray-100:hover, a.bg-gray-100:focus,\nbutton.bg-gray-100:hover,\nbutton.bg-gray-100:focus {\n background-color: #d1dbe1 !important;\n}\n\n.bg-gray-200 {\n background-color: #e4e7ea !important;\n}\n\na.bg-gray-200:hover, a.bg-gray-200:focus,\nbutton.bg-gray-200:hover,\nbutton.bg-gray-200:focus {\n background-color: #c7ced4 !important;\n}\n\n.bg-gray-300 {\n background-color: #c8ced3 !important;\n}\n\na.bg-gray-300:hover, a.bg-gray-300:focus,\nbutton.bg-gray-300:hover,\nbutton.bg-gray-300:focus {\n background-color: #acb5bc !important;\n}\n\n.bg-gray-400 {\n background-color: #acb4bc !important;\n}\n\na.bg-gray-400:hover, a.bg-gray-400:focus,\nbutton.bg-gray-400:hover,\nbutton.bg-gray-400:focus {\n background-color: #909ba5 !important;\n}\n\n.bg-gray-500 {\n background-color: #8f9ba6 !important;\n}\n\na.bg-gray-500:hover, a.bg-gray-500:focus,\nbutton.bg-gray-500:hover,\nbutton.bg-gray-500:focus {\n background-color: #73828f !important;\n}\n\n.bg-gray-600 {\n background-color: #73818f !important;\n}\n\na.bg-gray-600:hover, a.bg-gray-600:focus,\nbutton.bg-gray-600:hover,\nbutton.bg-gray-600:focus {\n background-color: #5c6873 !important;\n}\n\n.bg-gray-700 {\n background-color: #5c6873 !important;\n}\n\na.bg-gray-700:hover, a.bg-gray-700:focus,\nbutton.bg-gray-700:hover,\nbutton.bg-gray-700:focus {\n background-color: #454e57 !important;\n}\n\n.bg-gray-800 {\n background-color: #2f353a !important;\n}\n\na.bg-gray-800:hover, a.bg-gray-800:focus,\nbutton.bg-gray-800:hover,\nbutton.bg-gray-800:focus {\n background-color: #181b1e !important;\n}\n\n.bg-gray-900 {\n background-color: #23282c !important;\n}\n\na.bg-gray-900:hover, a.bg-gray-900:focus,\nbutton.bg-gray-900:hover,\nbutton.bg-gray-900:focus {\n background-color: #0c0e10 !important;\n}\n\n.bg-box {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2.5rem;\n height: 2.5rem;\n}\n\n.b-a-0 {\n border: 0 !important;\n}\n\n.b-t-0 {\n border-top: 0 !important;\n}\n\n.b-r-0 {\n border-right: 0 !important;\n}\n\n.b-b-0 {\n border-bottom: 0 !important;\n}\n\n.b-l-0 {\n border-left: 0 !important;\n}\n\n.b-a-1 {\n border: 1px solid #c8ced3;\n}\n\n.b-t-1 {\n border-top: 1px solid #c8ced3;\n}\n\n.b-r-1 {\n border-right: 1px solid #c8ced3;\n}\n\n.b-b-1 {\n border-bottom: 1px solid #c8ced3;\n}\n\n.b-l-1 {\n border-left: 1px solid #c8ced3;\n}\n\n.b-a-2 {\n border: 2px solid #c8ced3;\n}\n\n.b-t-2 {\n border-top: 2px solid #c8ced3;\n}\n\n.b-r-2 {\n border-right: 2px solid #c8ced3;\n}\n\n.b-b-2 {\n border-bottom: 2px solid #c8ced3;\n}\n\n.b-l-2 {\n border-left: 2px solid #c8ced3;\n}\n\n@media (max-width: 575.98px) {\n .d-down-none {\n display: none !important;\n }\n}\n\n@media (max-width: 767.98px) {\n .d-sm-down-none {\n display: none !important;\n }\n}\n\n@media (max-width: 991.98px) {\n .d-md-down-none {\n display: none !important;\n }\n}\n\n@media (max-width: 1199.98px) {\n .d-lg-down-none {\n display: none !important;\n }\n}\n\n.d-xl-down-none {\n display: none !important;\n}\n\nbody {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n.font-xs {\n font-size: .75rem !important;\n}\n\n.font-sm {\n font-size: .85rem !important;\n}\n\n.font-lg {\n font-size: 1rem !important;\n}\n\n.font-xl {\n font-size: 1.25rem !important;\n}\n\n.font-2xl {\n font-size: 1.5rem !important;\n}\n\n.font-3xl {\n font-size: 1.75rem !important;\n}\n\n.font-4xl {\n font-size: 2rem !important;\n}\n\n.font-5xl {\n font-size: 2.5rem !important;\n}\n\n.text-value {\n font-size: 1.3125rem;\n font-weight: 600;\n}\n\n.text-value-sm {\n font-size: 1.09375rem;\n font-weight: 600;\n}\n\n.text-value-lg {\n font-size: 1.53125rem;\n font-weight: 600;\n}\n\n.text-white .text-muted {\n color: rgba(255, 255, 255, 0.6) !important;\n}\n\n*[dir=\"rtl\"] {\n direction: rtl;\n unicode-bidi: embed;\n}\n\n*[dir=\"rtl\"] body {\n text-align: right;\n}\n\n*[dir=\"rtl\"] .dropdown-item {\n text-align: right;\n}\n\n*[dir=\"rtl\"] .dropdown-item i {\n margin-right: -10px;\n margin-left: 10px;\n}\n\n*[dir=\"rtl\"] .dropdown-item .badge {\n right: auto;\n left: 10px;\n}\n\n.ie-custom-properties {\n blue: #20a8d8;\n indigo: #6610f2;\n purple: #6f42c1;\n pink: #e83e8c;\n red: #f86c6b;\n orange: #f8cb00;\n yellow: #ffc107;\n green: #4dbd74;\n teal: #20c997;\n cyan: #17a2b8;\n white: #fff;\n gray: #73818f;\n gray-dark: #2f353a;\n light-blue: #63c2de;\n primary: #20a8d8;\n secondary: #c8ced3;\n success: #4dbd74;\n info: #63c2de;\n warning: #ffc107;\n danger: #f86c6b;\n light: #f0f3f5;\n dark: #2f353a;\n breakpoint-xs: 0;\n breakpoint-sm: 576px;\n breakpoint-md: 768px;\n breakpoint-lg: 992px;\n breakpoint-xl: 1200px;\n}\n\n/*# sourceMappingURL=style.css.map */","/*!\r\n * CoreUI - Open Source Dashboard UI Kit\r\n * @version v2.0.26\r\n * @link https://coreui.io\r\n * Copyright (c) 2018 creativeLabs �ukasz Holeczek\r\n * Licensed under MIT (https://coreui.io/license)\r\n */\r\n\r\n// Override Boostrap variables\r\n@import \"variables\";\r\n\r\n// Import Bootstrap source files\r\n@import \"node_modules/bootstrap/scss/bootstrap\"; // from bootstrap node_modules\r\n\r\n// Mixins\r\n@import \"mixins\";\r\n\r\n// Animations\r\n@import \"animate\";\r\n\r\n// Vendors\r\n@import \"vendors\";\r\n\r\n// Components\r\n@import \"aside\";\r\n@import \"avatars\";\r\n@import \"badge\";\r\n@import \"breadcrumb-menu\";\r\n@import \"breadcrumb\";\r\n@import \"brand-card\";\r\n@import \"brand-buttons\";\r\n@import \"buttons\";\r\n@import \"callout\";\r\n@import \"card\";\r\n@import \"charts\";\r\n@import \"dropdown\";\r\n@import \"footer\";\r\n@import \"grid\";\r\n@import \"header\";\r\n@import \"input-group\";\r\n@import \"images\";\r\n@import \"list-group\";\r\n@import \"modal\";\r\n@import \"nav\";\r\n@import \"progress\";\r\n@import \"progress-group\";\r\n@import \"sidebar\";\r\n@import \"switches\";\r\n@import \"tables\";\r\n@import \"widgets\";\r\n\r\n// Layout Options\r\n@import \"layout\";\r\n\r\n@import \"others\";\r\n\r\n// Utility classes\r\n@import \"utilities\";\r\n\r\n// Right-to-left\r\n@import \"rtl\";\r\n\r\n// Custom Properties support for Internet Explorer\r\n@import \"ie-custom-properties\";\r\n","/*!\n * Bootstrap v4.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2018 The Bootstrap Authors\n * Copyright 2011-2018 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n\n@import \"functions\";\n@import \"variables\";\n@import \"mixins\";\n@import \"root\";\n@import \"reboot\";\n@import \"type\";\n@import \"images\";\n@import \"code\";\n@import \"grid\";\n@import \"tables\";\n@import \"forms\";\n@import \"buttons\";\n@import \"transitions\";\n@import \"dropdown\";\n@import \"button-group\";\n@import \"input-group\";\n@import \"custom-forms\";\n@import \"nav\";\n@import \"navbar\";\n@import \"card\";\n@import \"breadcrumb\";\n@import \"pagination\";\n@import \"badge\";\n@import \"jumbotron\";\n@import \"alert\";\n@import \"progress\";\n@import \"media\";\n@import \"list-group\";\n@import \"close\";\n@import \"modal\";\n@import \"tooltip\";\n@import \"popover\";\n@import \"carousel\";\n@import \"utilities\";\n@import \"print\";\n",":root {\n // Custom variable values only support SassScript inside `#{}`.\n @each $color, $value in $colors {\n --#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors {\n --#{$color}: #{$value};\n }\n\n @each $bp, $value in $grid-breakpoints {\n --breakpoint-#{$bp}: #{$value};\n }\n\n // Use `inspect` for lists so that quoted items keep the quotes.\n // See https://github.com/sass/sass/issues/2383#issuecomment-336349172\n --font-family-sans-serif: #{inspect($font-family-sans-serif)};\n --font-family-monospace: #{inspect($font-family-monospace)};\n}\n","// stylelint-disable at-rule-no-vendor-prefix, declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix\n\n// Reboot\n//\n// Normalization of HTML elements, manually forked from Normalize.css to remove\n// styles targeting irrelevant browsers while applying new styles.\n//\n// Normalize is licensed MIT. https://github.com/necolas/normalize.css\n\n\n// Document\n//\n// 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.\n// 2. Change the default font family in all browsers.\n// 3. Correct the line height in all browsers.\n// 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.\n// 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so\n// we force a non-overlapping, non-auto-hiding scrollbar to counteract.\n// 6. Change the default tap highlight to be completely transparent in iOS.\n\n*,\n*::before,\n*::after {\n box-sizing: border-box; // 1\n}\n\nhtml {\n font-family: sans-serif; // 2\n line-height: 1.15; // 3\n -webkit-text-size-adjust: 100%; // 4\n -ms-text-size-adjust: 100%; // 4\n -ms-overflow-style: scrollbar; // 5\n -webkit-tap-highlight-color: rgba($black, 0); // 6\n}\n\n// IE10+ doesn't honor `` in some cases.\n@at-root {\n @-ms-viewport {\n width: device-width;\n }\n}\n\n// stylelint-disable selector-list-comma-newline-after\n// Shim for \"new\" HTML5 structural elements to display correctly (IE10, older browsers)\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n// stylelint-enable selector-list-comma-newline-after\n\n// Body\n//\n// 1. Remove the margin in all browsers.\n// 2. As a best practice, apply a default `background-color`.\n// 3. Set an explicit initial text-align value so that we can later use the\n// the `inherit` value on things like `` elements.\n\nbody {\n margin: 0; // 1\n font-family: $font-family-base;\n font-size: $font-size-base;\n font-weight: $font-weight-base;\n line-height: $line-height-base;\n color: $body-color;\n text-align: left; // 3\n background-color: $body-bg; // 2\n}\n\n// Suppress the focus outline on elements that cannot be accessed via keyboard.\n// This prevents an unwanted focus outline from appearing around elements that\n// might still respond to pointer events.\n//\n// Credit: https://github.com/suitcss/base\n[tabindex=\"-1\"]:focus {\n outline: 0 !important;\n}\n\n\n// Content grouping\n//\n// 1. Add the correct box sizing in Firefox.\n// 2. Show the overflow in Edge and IE.\n\nhr {\n box-sizing: content-box; // 1\n height: 0; // 1\n overflow: visible; // 2\n}\n\n\n//\n// Typography\n//\n\n// Remove top margins from headings\n//\n// By default, `

`-`

` all receive top and bottom margins. We nuke the top\n// margin for easier control within type scales as it avoids margin collapsing.\n// stylelint-disable selector-list-comma-newline-after\nh1, h2, h3, h4, h5, h6 {\n margin-top: 0;\n margin-bottom: $headings-margin-bottom;\n}\n// stylelint-enable selector-list-comma-newline-after\n\n// Reset margins on paragraphs\n//\n// Similarly, the top margin on `

`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n// Abbreviations\n//\n// 1. Remove the bottom border in Firefox 39-.\n// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n// 3. Add explicit cursor to indicate changed behavior.\n// 4. Duplicate behavior to the data-* attribute for our tooltip plugin\n\nabbr[title],\nabbr[data-original-title] { // 4\n text-decoration: underline; // 2\n text-decoration: underline dotted; // 2\n cursor: help; // 3\n border-bottom: 0; // 1\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // Undo browser default\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\ndfn {\n font-style: italic; // Add the correct font style in Android 4.3-\n}\n\n// stylelint-disable font-weight-notation\nb,\nstrong {\n font-weight: bolder; // Add the correct font weight in Chrome, Edge, and Safari\n}\n// stylelint-enable font-weight-notation\n\nsmall {\n font-size: 80%; // Add the correct font size in all browsers\n}\n\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n//\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n//\n// Links\n//\n\na {\n color: $link-color;\n text-decoration: $link-decoration;\n background-color: transparent; // Remove the gray background on active links in IE 10.\n -webkit-text-decoration-skip: objects; // Remove gaps in links underline in iOS 8+ and Safari 8+.\n\n @include hover {\n color: $link-hover-color;\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href)\n// which have not been made explicitly keyboard-focusable (without tabindex).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n\n @include hover-focus {\n color: inherit;\n text-decoration: none;\n }\n\n &:focus {\n outline: 0;\n }\n}\n\n\n//\n// Code\n//\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-monospace;\n font-size: 1em; // Correct the odd `em` font sizing in all browsers.\n}\n\npre {\n // Remove browser default top margin\n margin-top: 0;\n // Reset browser default of `1em` to use `rem`s\n margin-bottom: 1rem;\n // Don't allow content to break outside\n overflow: auto;\n // We have @viewport set which causes scrollbars to overlap content in IE11 and Edge, so\n // we force a non-overlapping, non-auto-hiding scrollbar to counteract.\n -ms-overflow-style: scrollbar;\n}\n\n\n//\n// Figures\n//\n\nfigure {\n // Apply a consistent margin strategy (matches our type styles).\n margin: 0 0 1rem;\n}\n\n\n//\n// Images and content\n//\n\nimg {\n vertical-align: middle;\n border-style: none; // Remove the border on images inside links in IE 10-.\n}\n\nsvg {\n // Workaround for the SVG overflow bug in IE10/11 is still required.\n // See https://github.com/twbs/bootstrap/issues/26878\n overflow: hidden;\n vertical-align: middle;\n}\n\n\n//\n// Tables\n//\n\ntable {\n border-collapse: collapse; // Prevent double borders\n}\n\ncaption {\n padding-top: $table-cell-padding;\n padding-bottom: $table-cell-padding;\n color: $table-caption-color;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n // Matches default `` alignment by inheriting from the ``, or the\n // closest parent with a set `text-align`.\n text-align: inherit;\n}\n\n\n//\n// Forms\n//\n\nlabel {\n // Allow labels to use `margin` for spacing.\n display: inline-block;\n margin-bottom: $label-margin-bottom;\n}\n\n// Remove the default `border-radius` that macOS Chrome adds.\n//\n// Details at https://github.com/twbs/bootstrap/issues/24093\nbutton {\n border-radius: 0;\n}\n\n// Work around a Firefox/IE bug where the transparent `button` background\n// results in a loss of the default `button` focus styles.\n//\n// Credit: https://github.com/suitcss/base/\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0; // Remove the margin in Firefox and Safari\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible; // Show the overflow in Edge\n}\n\nbutton,\nselect {\n text-transform: none; // Remove the inheritance of text transform in Firefox\n}\n\n// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`\n// controls in Android 4.\n// 2. Correct the inability to style clickable types in iOS and Safari.\nbutton,\nhtml [type=\"button\"], // 1\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button; // 2\n}\n\n// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n box-sizing: border-box; // 1. Add the correct box sizing in IE 10-\n padding: 0; // 2. Remove the padding in IE 10-\n}\n\n\ninput[type=\"date\"],\ninput[type=\"time\"],\ninput[type=\"datetime-local\"],\ninput[type=\"month\"] {\n // Remove the default appearance of temporal inputs to avoid a Mobile Safari\n // bug where setting a custom line-height prevents text from being vertically\n // centered within the input.\n // See https://bugs.webkit.org/show_bug.cgi?id=139848\n // and https://github.com/twbs/bootstrap/issues/11266\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto; // Remove the default vertical scrollbar in IE.\n // Textareas should really only resize vertically so they don't break their (horizontal) containers.\n resize: vertical;\n}\n\nfieldset {\n // Browsers set a default `min-width: min-content;` on fieldsets,\n // unlike e.g. `

`s, which have `min-width: 0;` by default.\n // So we reset that to ensure fieldsets behave more like a standard block element.\n // See https://github.com/twbs/bootstrap/issues/12359\n // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements\n min-width: 0;\n // Reset the default outline behavior of fieldsets so they don't affect page layout.\n padding: 0;\n margin: 0;\n border: 0;\n}\n\n// 1. Correct the text wrapping in Edge and IE.\n// 2. Correct the color inheritance from `fieldset` elements in IE.\nlegend {\n display: block;\n width: 100%;\n max-width: 100%; // 1\n padding: 0;\n margin-bottom: .5rem;\n font-size: 1.5rem;\n line-height: inherit;\n color: inherit; // 2\n white-space: normal; // 1\n}\n\nprogress {\n vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera.\n}\n\n// Correct the cursor style of increment and decrement buttons in Chrome.\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type=\"search\"] {\n // This overrides the extra rounded corners on search inputs in iOS so that our\n // `.form-control` class can properly style them. Note that this cannot simply\n // be added to `.form-control` as it's not specific enough. For details, see\n // https://github.com/twbs/bootstrap/issues/11586.\n outline-offset: -2px; // 2. Correct the outline style in Safari.\n -webkit-appearance: none;\n}\n\n//\n// Remove the inner padding and cancel buttons in Chrome and Safari on macOS.\n//\n\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n//\n// 1. Correct the inability to style clickable types in iOS and Safari.\n// 2. Change font properties to `inherit` in Safari.\n//\n\n::-webkit-file-upload-button {\n font: inherit; // 2\n -webkit-appearance: button; // 1\n}\n\n//\n// Correct element displays\n//\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item; // Add the correct display in all browsers\n cursor: pointer;\n}\n\ntemplate {\n display: none; // Add the correct display in IE\n}\n\n// Always hide an element with the `hidden` HTML attribute (from PureCSS).\n// Needed for proper display in IE 10-.\n[hidden] {\n display: none !important;\n}\n","// Color system\r\n// stylelint-disable\r\n\r\n$white: #fff !default;\r\n$gray-base: #181b1e !default;\r\n$gray-100: #f0f3f5 !default; // lighten($gray-base, 85%);\r\n$gray-200: #e4e7ea !default; // lighten($gray-base, 80%);\r\n$gray-300: #c8ced3 !default; // lighten($gray-base, 70%);\r\n$gray-400: #acb4bc !default; // lighten($gray-base, 60%);\r\n$gray-500: #8f9ba6 !default; // lighten($gray-base, 50%);\r\n$gray-600: #73818f !default; // lighten($gray-base, 40%);\r\n$gray-700: #5c6873 !default; // lighten($gray-base, 30%);\r\n$gray-800: #2f353a !default; // lighten($gray-base, 10%);\r\n$gray-900: #23282c !default; // lighten($gray-base, 5%);\r\n$black: #000 !default;\r\n\r\n$grays: () !default;\r\n$grays: map-merge(\r\n (\r\n \"100\": $gray-100,\r\n \"200\": $gray-200,\r\n \"300\": $gray-300,\r\n \"400\": $gray-400,\r\n \"500\": $gray-500,\r\n \"600\": $gray-600,\r\n \"700\": $gray-700,\r\n \"800\": $gray-800,\r\n \"900\": $gray-900\r\n ),\r\n $grays\r\n);\r\n\r\n$blue: #20a8d8 !default;\r\n$indigo: #6610f2 !default;\r\n$purple: #6f42c1 !default;\r\n$pink: #e83e8c !default;\r\n$red: #f86c6b !default;\r\n$orange: #f8cb00 !default;\r\n$yellow: #ffc107 !default;\r\n$green: #4dbd74 !default;\r\n$teal: #20c997 !default;\r\n$cyan: #17a2b8 !default;\r\n$light-blue: #63c2de !default;\r\n\r\n$colors: () !default;\r\n$colors: map-merge(\r\n (\r\n \"blue\": $blue,\r\n \"indigo\": $indigo,\r\n \"purple\": $purple,\r\n \"pink\": $pink,\r\n \"red\": $red,\r\n \"orange\": $orange,\r\n \"yellow\": $yellow,\r\n \"green\": $green,\r\n \"teal\": $teal,\r\n \"cyan\": $cyan,\r\n \"light-blue\": $light-blue,\r\n \"white\": $white,\r\n \"gray\": $gray-600,\r\n \"gray-dark\": $gray-800\r\n ),\r\n $colors\r\n);\r\n\r\n$primary: $blue !default;\r\n$secondary: $gray-300 !default;\r\n$success: $green !default;\r\n$info: $light-blue !default;\r\n$warning: $yellow !default;\r\n$danger: $red !default;\r\n$light: $gray-100 !default;\r\n$dark: $gray-800 !default;\r\n\r\n$theme-colors: () !default;\r\n$theme-colors: map-merge(\r\n (\r\n \"primary\": $primary,\r\n \"secondary\": $secondary,\r\n \"success\": $success,\r\n \"info\": $info,\r\n \"warning\": $warning,\r\n \"danger\": $danger,\r\n \"light\": $light,\r\n \"dark\": $dark\r\n ),\r\n $theme-colors\r\n);\r\n\r\n// Brand Colors\r\n\r\n$facebook: #3b5998 !default;\r\n$twitter: #00aced !default;\r\n$linkedin: #4875b4 !default;\r\n$google-plus: #d34836 !default;\r\n$flickr: #ff0084 !default;\r\n$tumblr: #32506d !default;\r\n$xing: #026466 !default;\r\n$github: #4183c4 !default;\r\n$html5: #e34f26 !default;\r\n$openid: #f78c40 !default;\r\n$stack-overflow: #fe7a15 !default;\r\n$youtube: #b00 !default;\r\n$css3: #0170ba !default;\r\n$dribbble: #ea4c89 !default;\r\n$google-plus: #bb4b39 !default;\r\n$instagram: #517fa4 !default;\r\n$pinterest: #cb2027 !default;\r\n$vk: #45668e !default;\r\n$yahoo: #400191 !default;\r\n$behance: #1769ff !default;\r\n$dropbox: #007ee5 !default;\r\n$reddit: #ff4500 !default;\r\n$spotify: #7ab800 !default;\r\n$vine: #00bf8f !default;\r\n$foursquare: #1073af !default;\r\n$vimeo: #aad450 !default;\r\n\r\n$brands-colors: () !default;\r\n$brands-colors: map-merge((\r\n \"facebook\": $facebook,\r\n \"twitter\": $twitter,\r\n \"linkedin\": $linkedin,\r\n \"google-plus\": $google-plus,\r\n \"flickr\": $flickr,\r\n \"tumblr\": $tumblr,\r\n \"xing\": $xing,\r\n \"github\": $github,\r\n \"html5\": $html5,\r\n \"openid\": $openid,\r\n \"stack-overflow\": $stack-overflow,\r\n \"youtube\": $youtube,\r\n \"css3\": $css3,\r\n \"dribbble\": $dribbble,\r\n \"instagram\": $instagram,\r\n \"pinterest\": $pinterest,\r\n \"vk\": $vk,\r\n \"yahoo\": $yahoo,\r\n \"behance\": $behance,\r\n \"dropbox\": $dropbox,\r\n \"reddit\": $reddit,\r\n \"spotify\": $spotify,\r\n \"vine\": $vine,\r\n \"foursquare\": $foursquare,\r\n \"vimeo\": $vimeo\r\n), $brands-colors);\r\n","// Variables\n//\n// Variables should follow the `$component-state-property-size` formula for\n// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.\n\n\n//\n// Color system\n//\n\n$white: #fff !default;\n$gray-100: #f8f9fa !default;\n$gray-200: #e9ecef !default;\n$gray-300: #dee2e6 !default;\n$gray-400: #ced4da !default;\n$gray-500: #adb5bd !default;\n$gray-600: #6c757d !default;\n$gray-700: #495057 !default;\n$gray-800: #343a40 !default;\n$gray-900: #212529 !default;\n$black: #000 !default;\n\n$grays: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$grays: map-merge(\n (\n \"100\": $gray-100,\n \"200\": $gray-200,\n \"300\": $gray-300,\n \"400\": $gray-400,\n \"500\": $gray-500,\n \"600\": $gray-600,\n \"700\": $gray-700,\n \"800\": $gray-800,\n \"900\": $gray-900\n ),\n $grays\n);\n\n\n$blue: #007bff !default;\n$indigo: #6610f2 !default;\n$purple: #6f42c1 !default;\n$pink: #e83e8c !default;\n$red: #dc3545 !default;\n$orange: #fd7e14 !default;\n$yellow: #ffc107 !default;\n$green: #28a745 !default;\n$teal: #20c997 !default;\n$cyan: #17a2b8 !default;\n\n$colors: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$colors: map-merge(\n (\n \"blue\": $blue,\n \"indigo\": $indigo,\n \"purple\": $purple,\n \"pink\": $pink,\n \"red\": $red,\n \"orange\": $orange,\n \"yellow\": $yellow,\n \"green\": $green,\n \"teal\": $teal,\n \"cyan\": $cyan,\n \"white\": $white,\n \"gray\": $gray-600,\n \"gray-dark\": $gray-800\n ),\n $colors\n);\n\n$primary: $blue !default;\n$secondary: $gray-600 !default;\n$success: $green !default;\n$info: $cyan !default;\n$warning: $yellow !default;\n$danger: $red !default;\n$light: $gray-100 !default;\n$dark: $gray-800 !default;\n\n$theme-colors: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$theme-colors: map-merge(\n (\n \"primary\": $primary,\n \"secondary\": $secondary,\n \"success\": $success,\n \"info\": $info,\n \"warning\": $warning,\n \"danger\": $danger,\n \"light\": $light,\n \"dark\": $dark\n ),\n $theme-colors\n);\n\n// Set a specific jump point for requesting color jumps\n$theme-color-interval: 8% !default;\n\n// The yiq lightness value that determines when the lightness of color changes from \"dark\" to \"light\". Acceptable values are between 0 and 255.\n$yiq-contrasted-threshold: 150 !default;\n\n// Customize the light and dark text colors for use in our YIQ color contrast function.\n$yiq-text-dark: $gray-900 !default;\n$yiq-text-light: $white !default;\n\n// Options\n//\n// Quickly modify global styling by enabling or disabling optional features.\n\n$enable-caret: true !default;\n$enable-rounded: true !default;\n$enable-shadows: false !default;\n$enable-gradients: false !default;\n$enable-transitions: true !default;\n$enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS\n$enable-grid-classes: true !default;\n$enable-print-styles: true !default;\n\n\n// Spacing\n//\n// Control the default styling of most Bootstrap elements by modifying these\n// variables. Mostly focused on spacing.\n// You can add more entries to the $spacers map, should you need more variation.\n\n$spacer: 1rem !default;\n$spacers: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$spacers: map-merge(\n (\n 0: 0,\n 1: ($spacer * .25),\n 2: ($spacer * .5),\n 3: $spacer,\n 4: ($spacer * 1.5),\n 5: ($spacer * 3)\n ),\n $spacers\n);\n\n// This variable affects the `.h-*` and `.w-*` classes.\n$sizes: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$sizes: map-merge(\n (\n 25: 25%,\n 50: 50%,\n 75: 75%,\n 100: 100%,\n auto: auto\n ),\n $sizes\n);\n\n// Body\n//\n// Settings for the `` element.\n\n$body-bg: $white !default;\n$body-color: $gray-900 !default;\n\n// Links\n//\n// Style anchor elements.\n\n$link-color: theme-color(\"primary\") !default;\n$link-decoration: none !default;\n$link-hover-color: darken($link-color, 15%) !default;\n$link-hover-decoration: underline !default;\n\n// Paragraphs\n//\n// Style p element.\n\n$paragraph-margin-bottom: 1rem !default;\n\n\n// Grid breakpoints\n//\n// Define the minimum dimensions at which your layout will change,\n// adapting to different screen sizes, for use in media queries.\n\n$grid-breakpoints: (\n xs: 0,\n sm: 576px,\n md: 768px,\n lg: 992px,\n xl: 1200px\n) !default;\n\n@include _assert-ascending($grid-breakpoints, \"$grid-breakpoints\");\n@include _assert-starts-at-zero($grid-breakpoints);\n\n\n// Grid containers\n//\n// Define the maximum width of `.container` for different screen sizes.\n\n$container-max-widths: (\n sm: 540px,\n md: 720px,\n lg: 960px,\n xl: 1140px\n) !default;\n\n@include _assert-ascending($container-max-widths, \"$container-max-widths\");\n\n\n// Grid columns\n//\n// Set the number of columns and specify the width of the gutters.\n\n$grid-columns: 12 !default;\n$grid-gutter-width: 30px !default;\n\n// Components\n//\n// Define common padding and border radius sizes and more.\n\n$line-height-lg: 1.5 !default;\n$line-height-sm: 1.5 !default;\n\n$border-width: 1px !default;\n$border-color: $gray-300 !default;\n\n$border-radius: .25rem !default;\n$border-radius-lg: .3rem !default;\n$border-radius-sm: .2rem !default;\n\n$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;\n$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;\n$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;\n\n$component-active-color: $white !default;\n$component-active-bg: theme-color(\"primary\") !default;\n\n$caret-width: .3em !default;\n\n$transition-base: all .2s ease-in-out !default;\n$transition-fade: opacity .15s linear !default;\n$transition-collapse: height .35s ease !default;\n\n\n// Fonts\n//\n// Font, line-height, and color for body text, headings, and more.\n\n// stylelint-disable value-keyword-case\n$font-family-sans-serif: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\" !default;\n$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace !default;\n$font-family-base: $font-family-sans-serif !default;\n// stylelint-enable value-keyword-case\n\n$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`\n$font-size-lg: ($font-size-base * 1.25) !default;\n$font-size-sm: ($font-size-base * .875) !default;\n\n$font-weight-light: 300 !default;\n$font-weight-normal: 400 !default;\n$font-weight-bold: 700 !default;\n\n$font-weight-base: $font-weight-normal !default;\n$line-height-base: 1.5 !default;\n\n$h1-font-size: $font-size-base * 2.5 !default;\n$h2-font-size: $font-size-base * 2 !default;\n$h3-font-size: $font-size-base * 1.75 !default;\n$h4-font-size: $font-size-base * 1.5 !default;\n$h5-font-size: $font-size-base * 1.25 !default;\n$h6-font-size: $font-size-base !default;\n\n$headings-margin-bottom: ($spacer / 2) !default;\n$headings-font-family: inherit !default;\n$headings-font-weight: 500 !default;\n$headings-line-height: 1.2 !default;\n$headings-color: inherit !default;\n\n$display1-size: 6rem !default;\n$display2-size: 5.5rem !default;\n$display3-size: 4.5rem !default;\n$display4-size: 3.5rem !default;\n\n$display1-weight: 300 !default;\n$display2-weight: 300 !default;\n$display3-weight: 300 !default;\n$display4-weight: 300 !default;\n$display-line-height: $headings-line-height !default;\n\n$lead-font-size: ($font-size-base * 1.25) !default;\n$lead-font-weight: 300 !default;\n\n$small-font-size: 80% !default;\n\n$text-muted: $gray-600 !default;\n\n$blockquote-small-color: $gray-600 !default;\n$blockquote-font-size: ($font-size-base * 1.25) !default;\n\n$hr-border-color: rgba($black, .1) !default;\n$hr-border-width: $border-width !default;\n\n$mark-padding: .2em !default;\n\n$dt-font-weight: $font-weight-bold !default;\n\n$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;\n$nested-kbd-font-weight: $font-weight-bold !default;\n\n$list-inline-padding: .5rem !default;\n\n$mark-bg: #fcf8e3 !default;\n\n$hr-margin-y: $spacer !default;\n\n\n// Tables\n//\n// Customizes the `.table` component with basic values, each used across all table variations.\n\n$table-cell-padding: .75rem !default;\n$table-cell-padding-sm: .3rem !default;\n\n$table-bg: transparent !default;\n$table-accent-bg: rgba($black, .05) !default;\n$table-hover-bg: rgba($black, .075) !default;\n$table-active-bg: $table-hover-bg !default;\n\n$table-border-width: $border-width !default;\n$table-border-color: $gray-300 !default;\n\n$table-head-bg: $gray-200 !default;\n$table-head-color: $gray-700 !default;\n\n$table-dark-bg: $gray-900 !default;\n$table-dark-accent-bg: rgba($white, .05) !default;\n$table-dark-hover-bg: rgba($white, .075) !default;\n$table-dark-border-color: lighten($gray-900, 7.5%) !default;\n$table-dark-color: $body-bg !default;\n\n$table-striped-order: odd !default;\n\n$table-caption-color: $text-muted !default;\n\n// Buttons + Forms\n//\n// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.\n\n$input-btn-padding-y: .375rem !default;\n$input-btn-padding-x: .75rem !default;\n$input-btn-line-height: $line-height-base !default;\n\n$input-btn-focus-width: .2rem !default;\n$input-btn-focus-color: rgba($component-active-bg, .25) !default;\n$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;\n\n$input-btn-padding-y-sm: .25rem !default;\n$input-btn-padding-x-sm: .5rem !default;\n$input-btn-line-height-sm: $line-height-sm !default;\n\n$input-btn-padding-y-lg: .5rem !default;\n$input-btn-padding-x-lg: 1rem !default;\n$input-btn-line-height-lg: $line-height-lg !default;\n\n$input-btn-border-width: $border-width !default;\n\n\n// Buttons\n//\n// For each of Bootstrap's buttons, define text, background, and border color.\n\n$btn-padding-y: $input-btn-padding-y !default;\n$btn-padding-x: $input-btn-padding-x !default;\n$btn-line-height: $input-btn-line-height !default;\n\n$btn-padding-y-sm: $input-btn-padding-y-sm !default;\n$btn-padding-x-sm: $input-btn-padding-x-sm !default;\n$btn-line-height-sm: $input-btn-line-height-sm !default;\n\n$btn-padding-y-lg: $input-btn-padding-y-lg !default;\n$btn-padding-x-lg: $input-btn-padding-x-lg !default;\n$btn-line-height-lg: $input-btn-line-height-lg !default;\n\n$btn-border-width: $input-btn-border-width !default;\n\n$btn-font-weight: $font-weight-normal !default;\n$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;\n$btn-focus-width: $input-btn-focus-width !default;\n$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;\n$btn-disabled-opacity: .65 !default;\n$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;\n\n$btn-link-disabled-color: $gray-600 !default;\n\n$btn-block-spacing-y: .5rem !default;\n\n// Allows for customizing button radius independently from global border radius\n$btn-border-radius: $border-radius !default;\n$btn-border-radius-lg: $border-radius-lg !default;\n$btn-border-radius-sm: $border-radius-sm !default;\n\n$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;\n\n\n// Forms\n\n$label-margin-bottom: .5rem !default;\n\n$input-padding-y: $input-btn-padding-y !default;\n$input-padding-x: $input-btn-padding-x !default;\n$input-line-height: $input-btn-line-height !default;\n\n$input-padding-y-sm: $input-btn-padding-y-sm !default;\n$input-padding-x-sm: $input-btn-padding-x-sm !default;\n$input-line-height-sm: $input-btn-line-height-sm !default;\n\n$input-padding-y-lg: $input-btn-padding-y-lg !default;\n$input-padding-x-lg: $input-btn-padding-x-lg !default;\n$input-line-height-lg: $input-btn-line-height-lg !default;\n\n$input-bg: $white !default;\n$input-disabled-bg: $gray-200 !default;\n\n$input-color: $gray-700 !default;\n$input-border-color: $gray-400 !default;\n$input-border-width: $input-btn-border-width !default;\n$input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;\n\n$input-border-radius: $border-radius !default;\n$input-border-radius-lg: $border-radius-lg !default;\n$input-border-radius-sm: $border-radius-sm !default;\n\n$input-focus-bg: $input-bg !default;\n$input-focus-border-color: lighten($component-active-bg, 25%) !default;\n$input-focus-color: $input-color !default;\n$input-focus-width: $input-btn-focus-width !default;\n$input-focus-box-shadow: $input-btn-focus-box-shadow !default;\n\n$input-placeholder-color: $gray-600 !default;\n$input-plaintext-color: $body-color !default;\n\n$input-height-border: $input-border-width * 2 !default;\n\n$input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;\n$input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;\n\n$input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;\n$input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;\n\n$input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;\n$input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;\n\n$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;\n\n$form-text-margin-top: .25rem !default;\n\n$form-check-input-gutter: 1.25rem !default;\n$form-check-input-margin-y: .3rem !default;\n$form-check-input-margin-x: .25rem !default;\n\n$form-check-inline-margin-x: .75rem !default;\n$form-check-inline-input-margin-x: .3125rem !default;\n\n$form-group-margin-bottom: 1rem !default;\n\n$input-group-addon-color: $input-color !default;\n$input-group-addon-bg: $gray-200 !default;\n$input-group-addon-border-color: $input-border-color !default;\n\n$custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;\n\n$custom-control-gutter: 1.5rem !default;\n$custom-control-spacer-x: 1rem !default;\n\n$custom-control-indicator-size: 1rem !default;\n$custom-control-indicator-bg: $gray-300 !default;\n$custom-control-indicator-bg-size: 50% 50% !default;\n$custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;\n\n$custom-control-indicator-disabled-bg: $gray-200 !default;\n$custom-control-label-disabled-color: $gray-600 !default;\n\n$custom-control-indicator-checked-color: $component-active-color !default;\n$custom-control-indicator-checked-bg: $component-active-bg !default;\n$custom-control-indicator-checked-disabled-bg: rgba(theme-color(\"primary\"), .5) !default;\n$custom-control-indicator-checked-box-shadow: none !default;\n\n$custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;\n\n$custom-control-indicator-active-color: $component-active-color !default;\n$custom-control-indicator-active-bg: lighten($component-active-bg, 35%) !default;\n$custom-control-indicator-active-box-shadow: none !default;\n\n$custom-checkbox-indicator-border-radius: $border-radius !default;\n$custom-checkbox-indicator-icon-checked: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n\n$custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;\n$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;\n$custom-checkbox-indicator-icon-indeterminate: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$custom-checkbox-indicator-indeterminate-box-shadow: none !default;\n\n$custom-radio-indicator-border-radius: 50% !default;\n$custom-radio-indicator-icon-checked: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n\n$custom-select-padding-y: .375rem !default;\n$custom-select-padding-x: .75rem !default;\n$custom-select-height: $input-height !default;\n$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator\n$custom-select-line-height: $input-btn-line-height !default;\n$custom-select-color: $input-color !default;\n$custom-select-disabled-color: $gray-600 !default;\n$custom-select-bg: $input-bg !default;\n$custom-select-disabled-bg: $gray-200 !default;\n$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions\n$custom-select-indicator-color: $gray-800 !default;\n$custom-select-indicator: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$custom-select-border-width: $input-btn-border-width !default;\n$custom-select-border-color: $input-border-color !default;\n$custom-select-border-radius: $border-radius !default;\n$custom-select-box-shadow: inset 0 1px 2px rgba($black, .075) !default;\n\n$custom-select-focus-border-color: $input-focus-border-color !default;\n$custom-select-focus-width: $input-btn-focus-width !default;\n$custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width rgba($custom-select-focus-border-color, .5) !default;\n\n$custom-select-font-size-sm: 75% !default;\n$custom-select-height-sm: $input-height-sm !default;\n\n$custom-select-font-size-lg: 125% !default;\n$custom-select-height-lg: $input-height-lg !default;\n\n$custom-range-track-width: 100% !default;\n$custom-range-track-height: .5rem !default;\n$custom-range-track-cursor: pointer !default;\n$custom-range-track-bg: $gray-300 !default;\n$custom-range-track-border-radius: 1rem !default;\n$custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;\n\n$custom-range-thumb-width: 1rem !default;\n$custom-range-thumb-height: $custom-range-thumb-width !default;\n$custom-range-thumb-bg: $component-active-bg !default;\n$custom-range-thumb-border: 0 !default;\n$custom-range-thumb-border-radius: 1rem !default;\n$custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;\n$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;\n$custom-range-thumb-focus-box-shadow-width: $input-btn-focus-width !default; // For focus box shadow issue in IE/Edge\n$custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;\n\n$custom-file-height: $input-height !default;\n$custom-file-height-inner: $input-height-inner !default;\n$custom-file-focus-border-color: $input-focus-border-color !default;\n$custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default;\n$custom-file-disabled-bg: $input-disabled-bg !default;\n\n$custom-file-padding-y: $input-btn-padding-y !default;\n$custom-file-padding-x: $input-btn-padding-x !default;\n$custom-file-line-height: $input-btn-line-height !default;\n$custom-file-color: $input-color !default;\n$custom-file-bg: $input-bg !default;\n$custom-file-border-width: $input-btn-border-width !default;\n$custom-file-border-color: $input-border-color !default;\n$custom-file-border-radius: $input-border-radius !default;\n$custom-file-box-shadow: $input-box-shadow !default;\n$custom-file-button-color: $custom-file-color !default;\n$custom-file-button-bg: $input-group-addon-bg !default;\n$custom-file-text: (\n en: \"Browse\"\n) !default;\n\n\n// Form validation\n$form-feedback-margin-top: $form-text-margin-top !default;\n$form-feedback-font-size: $small-font-size !default;\n$form-feedback-valid-color: theme-color(\"success\") !default;\n$form-feedback-invalid-color: theme-color(\"danger\") !default;\n\n\n// Dropdowns\n//\n// Dropdown menu container and contents.\n\n$dropdown-min-width: 10rem !default;\n$dropdown-padding-y: .5rem !default;\n$dropdown-spacer: .125rem !default;\n$dropdown-bg: $white !default;\n$dropdown-border-color: rgba($black, .15) !default;\n$dropdown-border-radius: $border-radius !default;\n$dropdown-border-width: $border-width !default;\n$dropdown-divider-bg: $gray-200 !default;\n$dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;\n\n$dropdown-link-color: $gray-900 !default;\n$dropdown-link-hover-color: darken($gray-900, 5%) !default;\n$dropdown-link-hover-bg: $gray-100 !default;\n\n$dropdown-link-active-color: $component-active-color !default;\n$dropdown-link-active-bg: $component-active-bg !default;\n\n$dropdown-link-disabled-color: $gray-600 !default;\n\n$dropdown-item-padding-y: .25rem !default;\n$dropdown-item-padding-x: 1.5rem !default;\n\n$dropdown-header-color: $gray-600 !default;\n\n\n// Z-index master list\n//\n// Warning: Avoid customizing these values. They're used for a bird's eye view\n// of components dependent on the z-axis and are designed to all work together.\n\n$zindex-dropdown: 1000 !default;\n$zindex-sticky: 1020 !default;\n$zindex-fixed: 1030 !default;\n$zindex-modal-backdrop: 1040 !default;\n$zindex-modal: 1050 !default;\n$zindex-popover: 1060 !default;\n$zindex-tooltip: 1070 !default;\n\n// Navs\n\n$nav-link-padding-y: .5rem !default;\n$nav-link-padding-x: 1rem !default;\n$nav-link-disabled-color: $gray-600 !default;\n\n$nav-tabs-border-color: $gray-300 !default;\n$nav-tabs-border-width: $border-width !default;\n$nav-tabs-border-radius: $border-radius !default;\n$nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;\n$nav-tabs-link-active-color: $gray-700 !default;\n$nav-tabs-link-active-bg: $body-bg !default;\n$nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;\n\n$nav-pills-border-radius: $border-radius !default;\n$nav-pills-link-active-color: $component-active-color !default;\n$nav-pills-link-active-bg: $component-active-bg !default;\n\n$nav-divider-color: $gray-200 !default;\n$nav-divider-margin-y: ($spacer / 2) !default;\n\n// Navbar\n\n$navbar-padding-y: ($spacer / 2) !default;\n$navbar-padding-x: $spacer !default;\n\n$navbar-nav-link-padding-x: .5rem !default;\n\n$navbar-brand-font-size: $font-size-lg !default;\n// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link\n$nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;\n$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;\n$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;\n\n$navbar-toggler-padding-y: .25rem !default;\n$navbar-toggler-padding-x: .75rem !default;\n$navbar-toggler-font-size: $font-size-lg !default;\n$navbar-toggler-border-radius: $btn-border-radius !default;\n\n$navbar-dark-color: rgba($white, .5) !default;\n$navbar-dark-hover-color: rgba($white, .75) !default;\n$navbar-dark-active-color: $white !default;\n$navbar-dark-disabled-color: rgba($white, .25) !default;\n$navbar-dark-toggler-icon-bg: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$navbar-dark-toggler-border-color: rgba($white, .1) !default;\n\n$navbar-light-color: rgba($black, .5) !default;\n$navbar-light-hover-color: rgba($black, .7) !default;\n$navbar-light-active-color: rgba($black, .9) !default;\n$navbar-light-disabled-color: rgba($black, .3) !default;\n$navbar-light-toggler-icon-bg: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$navbar-light-toggler-border-color: rgba($black, .1) !default;\n\n// Pagination\n\n$pagination-padding-y: .5rem !default;\n$pagination-padding-x: .75rem !default;\n$pagination-padding-y-sm: .25rem !default;\n$pagination-padding-x-sm: .5rem !default;\n$pagination-padding-y-lg: .75rem !default;\n$pagination-padding-x-lg: 1.5rem !default;\n$pagination-line-height: 1.25 !default;\n\n$pagination-color: $link-color !default;\n$pagination-bg: $white !default;\n$pagination-border-width: $border-width !default;\n$pagination-border-color: $gray-300 !default;\n\n$pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;\n$pagination-focus-outline: 0 !default;\n\n$pagination-hover-color: $link-hover-color !default;\n$pagination-hover-bg: $gray-200 !default;\n$pagination-hover-border-color: $gray-300 !default;\n\n$pagination-active-color: $component-active-color !default;\n$pagination-active-bg: $component-active-bg !default;\n$pagination-active-border-color: $pagination-active-bg !default;\n\n$pagination-disabled-color: $gray-600 !default;\n$pagination-disabled-bg: $white !default;\n$pagination-disabled-border-color: $gray-300 !default;\n\n\n// Jumbotron\n\n$jumbotron-padding: 2rem !default;\n$jumbotron-bg: $gray-200 !default;\n\n\n// Cards\n\n$card-spacer-y: .75rem !default;\n$card-spacer-x: 1.25rem !default;\n$card-border-width: $border-width !default;\n$card-border-radius: $border-radius !default;\n$card-border-color: rgba($black, .125) !default;\n$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;\n$card-cap-bg: rgba($black, .03) !default;\n$card-bg: $white !default;\n\n$card-img-overlay-padding: 1.25rem !default;\n\n$card-group-margin: ($grid-gutter-width / 2) !default;\n$card-deck-margin: $card-group-margin !default;\n\n$card-columns-count: 3 !default;\n$card-columns-gap: 1.25rem !default;\n$card-columns-margin: $card-spacer-y !default;\n\n\n// Tooltips\n\n$tooltip-font-size: $font-size-sm !default;\n$tooltip-max-width: 200px !default;\n$tooltip-color: $white !default;\n$tooltip-bg: $black !default;\n$tooltip-border-radius: $border-radius !default;\n$tooltip-opacity: .9 !default;\n$tooltip-padding-y: .25rem !default;\n$tooltip-padding-x: .5rem !default;\n$tooltip-margin: 0 !default;\n\n$tooltip-arrow-width: .8rem !default;\n$tooltip-arrow-height: .4rem !default;\n$tooltip-arrow-color: $tooltip-bg !default;\n\n\n// Popovers\n\n$popover-font-size: $font-size-sm !default;\n$popover-bg: $white !default;\n$popover-max-width: 276px !default;\n$popover-border-width: $border-width !default;\n$popover-border-color: rgba($black, .2) !default;\n$popover-border-radius: $border-radius-lg !default;\n$popover-box-shadow: 0 .25rem .5rem rgba($black, .2) !default;\n\n$popover-header-bg: darken($popover-bg, 3%) !default;\n$popover-header-color: $headings-color !default;\n$popover-header-padding-y: .5rem !default;\n$popover-header-padding-x: .75rem !default;\n\n$popover-body-color: $body-color !default;\n$popover-body-padding-y: $popover-header-padding-y !default;\n$popover-body-padding-x: $popover-header-padding-x !default;\n\n$popover-arrow-width: 1rem !default;\n$popover-arrow-height: .5rem !default;\n$popover-arrow-color: $popover-bg !default;\n\n$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;\n\n\n// Badges\n\n$badge-font-size: 75% !default;\n$badge-font-weight: $font-weight-bold !default;\n$badge-padding-y: .25em !default;\n$badge-padding-x: .4em !default;\n$badge-border-radius: $border-radius !default;\n\n$badge-pill-padding-x: .6em !default;\n// Use a higher than normal value to ensure completely rounded edges when\n// customizing padding or font-size on labels.\n$badge-pill-border-radius: 10rem !default;\n\n\n// Modals\n\n// Padding applied to the modal body\n$modal-inner-padding: 1rem !default;\n\n$modal-dialog-margin: .5rem !default;\n$modal-dialog-margin-y-sm-up: 1.75rem !default;\n\n$modal-title-line-height: $line-height-base !default;\n\n$modal-content-bg: $white !default;\n$modal-content-border-color: rgba($black, .2) !default;\n$modal-content-border-width: $border-width !default;\n$modal-content-border-radius: $border-radius-lg !default;\n$modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;\n$modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;\n\n$modal-backdrop-bg: $black !default;\n$modal-backdrop-opacity: .5 !default;\n$modal-header-border-color: $gray-200 !default;\n$modal-footer-border-color: $modal-header-border-color !default;\n$modal-header-border-width: $modal-content-border-width !default;\n$modal-footer-border-width: $modal-header-border-width !default;\n$modal-header-padding: 1rem !default;\n\n$modal-lg: 800px !default;\n$modal-md: 500px !default;\n$modal-sm: 300px !default;\n\n$modal-transition: transform .3s ease-out !default;\n\n\n// Alerts\n//\n// Define alert colors, border radius, and padding.\n\n$alert-padding-y: .75rem !default;\n$alert-padding-x: 1.25rem !default;\n$alert-margin-bottom: 1rem !default;\n$alert-border-radius: $border-radius !default;\n$alert-link-font-weight: $font-weight-bold !default;\n$alert-border-width: $border-width !default;\n\n$alert-bg-level: -10 !default;\n$alert-border-level: -9 !default;\n$alert-color-level: 6 !default;\n\n\n// Progress bars\n\n$progress-height: 1rem !default;\n$progress-font-size: ($font-size-base * .75) !default;\n$progress-bg: $gray-200 !default;\n$progress-border-radius: $border-radius !default;\n$progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;\n$progress-bar-color: $white !default;\n$progress-bar-bg: theme-color(\"primary\") !default;\n$progress-bar-animation-timing: 1s linear infinite !default;\n$progress-bar-transition: width .6s ease !default;\n\n// List group\n\n$list-group-bg: $white !default;\n$list-group-border-color: rgba($black, .125) !default;\n$list-group-border-width: $border-width !default;\n$list-group-border-radius: $border-radius !default;\n\n$list-group-item-padding-y: .75rem !default;\n$list-group-item-padding-x: 1.25rem !default;\n\n$list-group-hover-bg: $gray-100 !default;\n$list-group-active-color: $component-active-color !default;\n$list-group-active-bg: $component-active-bg !default;\n$list-group-active-border-color: $list-group-active-bg !default;\n\n$list-group-disabled-color: $gray-600 !default;\n$list-group-disabled-bg: $list-group-bg !default;\n\n$list-group-action-color: $gray-700 !default;\n$list-group-action-hover-color: $list-group-action-color !default;\n\n$list-group-action-active-color: $body-color !default;\n$list-group-action-active-bg: $gray-200 !default;\n\n\n// Image thumbnails\n\n$thumbnail-padding: .25rem !default;\n$thumbnail-bg: $body-bg !default;\n$thumbnail-border-width: $border-width !default;\n$thumbnail-border-color: $gray-300 !default;\n$thumbnail-border-radius: $border-radius !default;\n$thumbnail-box-shadow: 0 1px 2px rgba($black, .075) !default;\n\n\n// Figures\n\n$figure-caption-font-size: 90% !default;\n$figure-caption-color: $gray-600 !default;\n\n\n// Breadcrumbs\n\n$breadcrumb-padding-y: .75rem !default;\n$breadcrumb-padding-x: 1rem !default;\n$breadcrumb-item-padding: .5rem !default;\n\n$breadcrumb-margin-bottom: 1rem !default;\n\n$breadcrumb-bg: $gray-200 !default;\n$breadcrumb-divider-color: $gray-600 !default;\n$breadcrumb-active-color: $gray-600 !default;\n$breadcrumb-divider: quote(\"/\") !default;\n\n$breadcrumb-border-radius: $border-radius !default;\n\n\n// Carousel\n\n$carousel-control-color: $white !default;\n$carousel-control-width: 15% !default;\n$carousel-control-opacity: .5 !default;\n\n$carousel-indicator-width: 30px !default;\n$carousel-indicator-height: 3px !default;\n$carousel-indicator-spacer: 3px !default;\n$carousel-indicator-active-bg: $white !default;\n\n$carousel-caption-width: 70% !default;\n$carousel-caption-color: $white !default;\n\n$carousel-control-icon-width: 20px !default;\n\n$carousel-control-prev-icon-bg: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$carousel-control-next-icon-bg: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n\n$carousel-transition: transform .6s ease !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)\n\n\n// Close\n\n$close-font-size: $font-size-base * 1.5 !default;\n$close-font-weight: $font-weight-bold !default;\n$close-color: $black !default;\n$close-text-shadow: 0 1px 0 $white !default;\n\n// Code\n\n$code-font-size: 87.5% !default;\n$code-color: $pink !default;\n\n$kbd-padding-y: .2rem !default;\n$kbd-padding-x: .4rem !default;\n$kbd-font-size: $code-font-size !default;\n$kbd-color: $white !default;\n$kbd-bg: $gray-900 !default;\n\n$pre-color: $gray-900 !default;\n$pre-scrollable-max-height: 340px !default;\n\n\n// Printing\n$print-page-size: a3 !default;\n$print-body-min-width: map-get($grid-breakpoints, \"lg\") !default;\n","// stylelint-disable\r\n// Bootstrap overrides\r\n\r\n// Options\r\n//\r\n// Quickly modify global styling by enabling or disabling optional features.\r\n\r\n$enable-transitions: true !default;\r\n\r\n// Body\r\n//\r\n// Settings for the `` element.\r\n\r\n$body-bg: #e4e5e6 !default;\r\n\r\n// Components\r\n//\r\n// Define common padding and border radius sizes and more.\r\n\r\n$border-color: $gray-300 !default;\r\n\r\n// Typography\r\n//\r\n// Font, line-height, and color for body text, headings, and more.\r\n\r\n$font-size-base: .875rem !default;\r\n\r\n// Breadcrumbs\r\n\r\n$breadcrumb-bg: #fff !default;\r\n$breadcrumb-margin-bottom: 1.5rem !default;\r\n$breadcrumb-border-radius: 0 !default;\r\n\r\n// Cards\r\n\r\n$card-border-color: $gray-300 !default;\r\n$card-cap-bg: $gray-100 !default;\r\n\r\n// Dropdowns\r\n\r\n$dropdown-padding-y: 0 !default;\r\n$dropdown-border-color: $gray-300 !default;\r\n$dropdown-divider-bg: $gray-200 !default;\r\n\r\n// Buttons\r\n\r\n$btn-secondary-border: $gray-300 !default;\r\n\r\n// Progress bars\r\n\r\n$progress-bg: $gray-100 !default;\r\n\r\n// Tables\r\n\r\n$table-bg-accent: $gray-100 !default;\r\n$table-bg-hover: $gray-100 !default;\r\n\r\n// Forms\r\n\r\n$input-group-addon-bg: $gray-100 !default;\r\n$input-border-color: $gray-200 !default;\r\n$input-group-addon-border-color: $gray-200 !default;\r\n","// Hover mixin and `$enable-hover-media-query` are deprecated.\n//\n// Originally added during our alphas and maintained during betas, this mixin was\n// designed to prevent `:hover` stickiness on iOS-an issue where hover styles\n// would persist after initial touch.\n//\n// For backward compatibility, we've kept these mixins and updated them to\n// always return their regular pseudo-classes instead of a shimmed media query.\n//\n// Issue: https://github.com/twbs/bootstrap/issues/25195\n\n@mixin hover {\n &:hover { @content; }\n}\n\n@mixin hover-focus {\n &:hover,\n &:focus {\n @content;\n }\n}\n\n@mixin plain-hover-focus {\n &,\n &:hover,\n &:focus {\n @content;\n }\n}\n\n@mixin hover-focus-active {\n &:hover,\n &:focus,\n &:active {\n @content;\n }\n}\n","// stylelint-disable declaration-no-important, selector-list-comma-newline-after\n\n//\n// Headings\n//\n\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n margin-bottom: $headings-margin-bottom;\n font-family: $headings-font-family;\n font-weight: $headings-font-weight;\n line-height: $headings-line-height;\n color: $headings-color;\n}\n\nh1, .h1 { font-size: $h1-font-size; }\nh2, .h2 { font-size: $h2-font-size; }\nh3, .h3 { font-size: $h3-font-size; }\nh4, .h4 { font-size: $h4-font-size; }\nh5, .h5 { font-size: $h5-font-size; }\nh6, .h6 { font-size: $h6-font-size; }\n\n.lead {\n font-size: $lead-font-size;\n font-weight: $lead-font-weight;\n}\n\n// Type display classes\n.display-1 {\n font-size: $display1-size;\n font-weight: $display1-weight;\n line-height: $display-line-height;\n}\n.display-2 {\n font-size: $display2-size;\n font-weight: $display2-weight;\n line-height: $display-line-height;\n}\n.display-3 {\n font-size: $display3-size;\n font-weight: $display3-weight;\n line-height: $display-line-height;\n}\n.display-4 {\n font-size: $display4-size;\n font-weight: $display4-weight;\n line-height: $display-line-height;\n}\n\n\n//\n// Horizontal rules\n//\n\nhr {\n margin-top: $hr-margin-y;\n margin-bottom: $hr-margin-y;\n border: 0;\n border-top: $hr-border-width solid $hr-border-color;\n}\n\n\n//\n// Emphasis\n//\n\nsmall,\n.small {\n font-size: $small-font-size;\n font-weight: $font-weight-normal;\n}\n\nmark,\n.mark {\n padding: $mark-padding;\n background-color: $mark-bg;\n}\n\n\n//\n// Lists\n//\n\n.list-unstyled {\n @include list-unstyled;\n}\n\n// Inline turns list items into inline-block\n.list-inline {\n @include list-unstyled;\n}\n.list-inline-item {\n display: inline-block;\n\n &:not(:last-child) {\n margin-right: $list-inline-padding;\n }\n}\n\n\n//\n// Misc\n//\n\n// Builds on `abbr`\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\n\n// Blockquotes\n.blockquote {\n margin-bottom: $spacer;\n font-size: $blockquote-font-size;\n}\n\n.blockquote-footer {\n display: block;\n font-size: 80%; // back to default font-size\n color: $blockquote-small-color;\n\n &::before {\n content: \"\\2014 \\00A0\"; // em dash, nbsp\n }\n}\n","// Lists\n\n// Unstyled keeps list items block level, just removes default browser padding and list-style\n@mixin list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n","// Responsive images (ensure images don't scale beyond their parents)\n//\n// This is purposefully opt-in via an explicit class rather than being the default for all ``s.\n// We previously tried the \"images are responsive by default\" approach in Bootstrap v2,\n// and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)\n// which weren't expecting the images within themselves to be involuntarily resized.\n// See also https://github.com/twbs/bootstrap/issues/18178\n.img-fluid {\n @include img-fluid;\n}\n\n\n// Image thumbnails\n.img-thumbnail {\n padding: $thumbnail-padding;\n background-color: $thumbnail-bg;\n border: $thumbnail-border-width solid $thumbnail-border-color;\n @include border-radius($thumbnail-border-radius);\n @include box-shadow($thumbnail-box-shadow);\n\n // Keep them at most 100% wide\n @include img-fluid;\n}\n\n//\n// Figures\n//\n\n.figure {\n // Ensures the caption's text aligns with the image.\n display: inline-block;\n}\n\n.figure-img {\n margin-bottom: ($spacer / 2);\n line-height: 1;\n}\n\n.figure-caption {\n font-size: $figure-caption-font-size;\n color: $figure-caption-color;\n}\n","// Image Mixins\n// - Responsive image\n// - Retina image\n\n\n// Responsive image\n//\n// Keep images from scaling beyond the width of their parents.\n\n@mixin img-fluid {\n // Part 1: Set a maximum relative to the parent\n max-width: 100%;\n // Part 2: Override the height to auto, otherwise images will be stretched\n // when setting a width and height attribute on the img element.\n height: auto;\n}\n\n\n// Retina image\n//\n// Short retina mixin for setting background-image and -size.\n\n// stylelint-disable indentation, media-query-list-comma-newline-after\n@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {\n background-image: url($file-1x);\n\n // Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,\n // but doesn't convert dppx=>dpi.\n // There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.\n // Compatibility info: https://caniuse.com/#feat=css-media-resolution\n @media only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx\n only screen and (min-resolution: 2dppx) { // Standardized\n background-image: url($file-2x);\n background-size: $width-1x $height-1x;\n }\n}\n","// Single side border-radius\n\n@mixin border-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-radius: $radius;\n }\n}\n\n@mixin border-top-radius($radius) {\n @if $enable-rounded {\n border-top-left-radius: $radius;\n border-top-right-radius: $radius;\n }\n}\n\n@mixin border-right-radius($radius) {\n @if $enable-rounded {\n border-top-right-radius: $radius;\n border-bottom-right-radius: $radius;\n }\n}\n\n@mixin border-bottom-radius($radius) {\n @if $enable-rounded {\n border-bottom-right-radius: $radius;\n border-bottom-left-radius: $radius;\n }\n}\n\n@mixin border-left-radius($radius) {\n @if $enable-rounded {\n border-top-left-radius: $radius;\n border-bottom-left-radius: $radius;\n }\n}\n","// Inline code\ncode {\n font-size: $code-font-size;\n color: $code-color;\n word-break: break-word;\n\n // Streamline the style when inside anchors to avoid broken underline and more\n a > & {\n color: inherit;\n }\n}\n\n// User input typically entered via keyboard\nkbd {\n padding: $kbd-padding-y $kbd-padding-x;\n font-size: $kbd-font-size;\n color: $kbd-color;\n background-color: $kbd-bg;\n @include border-radius($border-radius-sm);\n @include box-shadow($kbd-box-shadow);\n\n kbd {\n padding: 0;\n font-size: 100%;\n font-weight: $nested-kbd-font-weight;\n @include box-shadow(none);\n }\n}\n\n// Blocks of code\npre {\n display: block;\n font-size: $code-font-size;\n color: $pre-color;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n font-size: inherit;\n color: inherit;\n word-break: normal;\n }\n}\n\n// Enable scrollable blocks of code\n.pre-scrollable {\n max-height: $pre-scrollable-max-height;\n overflow-y: scroll;\n}\n","// Container widths\n//\n// Set the container width, and override it for fixed navbars in media queries.\n\n@if $enable-grid-classes {\n .container {\n @include make-container();\n @include make-container-max-widths();\n }\n}\n\n// Fluid container\n//\n// Utilizes the mixin meant for fixed width containers, but with 100% width for\n// fluid, full width layouts.\n\n@if $enable-grid-classes {\n .container-fluid {\n @include make-container();\n }\n}\n\n// Row\n//\n// Rows contain and clear the floats of your columns.\n\n@if $enable-grid-classes {\n .row {\n @include make-row();\n }\n\n // Remove the negative margin from default .row, then the horizontal padding\n // from all immediate children columns (to prevent runaway style inheritance).\n .no-gutters {\n margin-right: 0;\n margin-left: 0;\n\n > .col,\n > [class*=\"col-\"] {\n padding-right: 0;\n padding-left: 0;\n }\n }\n}\n\n// Columns\n//\n// Common styles for small and large grid columns\n\n@if $enable-grid-classes {\n @include make-grid-columns();\n}\n","/// Grid system\n//\n// Generate semantic grid columns with these mixins.\n\n@mixin make-container() {\n width: 100%;\n padding-right: ($grid-gutter-width / 2);\n padding-left: ($grid-gutter-width / 2);\n margin-right: auto;\n margin-left: auto;\n}\n\n\n// For each breakpoint, define the maximum width of the container in a media query\n@mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) {\n @each $breakpoint, $container-max-width in $max-widths {\n @include media-breakpoint-up($breakpoint, $breakpoints) {\n max-width: $container-max-width;\n }\n }\n}\n\n@mixin make-row() {\n display: flex;\n flex-wrap: wrap;\n margin-right: ($grid-gutter-width / -2);\n margin-left: ($grid-gutter-width / -2);\n}\n\n@mixin make-col-ready() {\n position: relative;\n // Prevent columns from becoming too narrow when at smaller grid tiers by\n // always setting `width: 100%;`. This works because we use `flex` values\n // later on to override this initial width.\n width: 100%;\n min-height: 1px; // Prevent collapsing\n padding-right: ($grid-gutter-width / 2);\n padding-left: ($grid-gutter-width / 2);\n}\n\n@mixin make-col($size, $columns: $grid-columns) {\n flex: 0 0 percentage($size / $columns);\n // Add a `max-width` to ensure content within each column does not blow out\n // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari\n // do not appear to require this.\n max-width: percentage($size / $columns);\n}\n\n@mixin make-col-offset($size, $columns: $grid-columns) {\n $num: $size / $columns;\n margin-left: if($num == 0, 0, percentage($num));\n}\n","// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n $min: map-get($breakpoints, $name);\n @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width. Null for the largest (last) breakpoint.\n// The maximum value is calculated as the minimum of the next one less 0.02px\n// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n $next: breakpoint-next($name, $breakpoints);\n @return if($next, breakpoint-min($next, $breakpoints) - .02px, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media that spans multiple breakpoint widths.\n// Makes the @content apply between the min and max breakpoints\n@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($lower, $breakpoints);\n $max: breakpoint-max($upper, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($lower, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($upper, $breakpoints) {\n @content;\n }\n }\n}\n\n// Media between the breakpoint's minimum and maximum widths.\n// No minimum for the smallest breakpoint, and no maximum for the largest one.\n// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n $max: breakpoint-max($name, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($name, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($name, $breakpoints) {\n @content;\n }\n }\n}\n","// Framework grid generation\n//\n// Used only by Bootstrap to generate the correct number of grid classes given\n// any value of `$grid-columns`.\n\n@mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {\n // Common properties for all breakpoints\n %grid-column {\n position: relative;\n width: 100%;\n min-height: 1px; // Prevent columns from collapsing when empty\n padding-right: ($gutter / 2);\n padding-left: ($gutter / 2);\n }\n\n @each $breakpoint in map-keys($breakpoints) {\n $infix: breakpoint-infix($breakpoint, $breakpoints);\n\n // Allow columns to stretch full width below their breakpoints\n @for $i from 1 through $columns {\n .col#{$infix}-#{$i} {\n @extend %grid-column;\n }\n }\n .col#{$infix},\n .col#{$infix}-auto {\n @extend %grid-column;\n }\n\n @include media-breakpoint-up($breakpoint, $breakpoints) {\n // Provide basic `.col-{bp}` classes for equal-width flexbox columns\n .col#{$infix} {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col#{$infix}-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none; // Reset earlier grid tiers\n }\n\n @for $i from 1 through $columns {\n .col#{$infix}-#{$i} {\n @include make-col($i, $columns);\n }\n }\n\n .order#{$infix}-first { order: -1; }\n\n .order#{$infix}-last { order: $columns + 1; }\n\n @for $i from 0 through $columns {\n .order#{$infix}-#{$i} { order: $i; }\n }\n\n // `$columns - 1` because offsetting by the width of an entire row isn't possible\n @for $i from 0 through ($columns - 1) {\n @if not ($infix == \"\" and $i == 0) { // Avoid emitting useless .offset-0\n .offset#{$infix}-#{$i} {\n @include make-col-offset($i, $columns);\n }\n }\n }\n }\n }\n}\n","//\n// Basic Bootstrap table\n//\n\n.table {\n width: 100%;\n margin-bottom: $spacer;\n background-color: $table-bg; // Reset for nesting within parents with `background-color`.\n\n th,\n td {\n padding: $table-cell-padding;\n vertical-align: top;\n border-top: $table-border-width solid $table-border-color;\n }\n\n thead th {\n vertical-align: bottom;\n border-bottom: (2 * $table-border-width) solid $table-border-color;\n }\n\n tbody + tbody {\n border-top: (2 * $table-border-width) solid $table-border-color;\n }\n\n .table {\n background-color: $body-bg;\n }\n}\n\n\n//\n// Condensed table w/ half padding\n//\n\n.table-sm {\n th,\n td {\n padding: $table-cell-padding-sm;\n }\n}\n\n\n// Border versions\n//\n// Add or remove borders all around the table and between all the columns.\n\n.table-bordered {\n border: $table-border-width solid $table-border-color;\n\n th,\n td {\n border: $table-border-width solid $table-border-color;\n }\n\n thead {\n th,\n td {\n border-bottom-width: (2 * $table-border-width);\n }\n }\n}\n\n.table-borderless {\n th,\n td,\n thead th,\n tbody + tbody {\n border: 0;\n }\n}\n\n// Zebra-striping\n//\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\n\n.table-striped {\n tbody tr:nth-of-type(#{$table-striped-order}) {\n background-color: $table-accent-bg;\n }\n}\n\n\n// Hover effect\n//\n// Placed here since it has to come after the potential zebra striping\n\n.table-hover {\n tbody tr {\n @include hover {\n background-color: $table-hover-bg;\n }\n }\n}\n\n\n// Table backgrounds\n//\n// Exact selectors below required to override `.table-striped` and prevent\n// inheritance to nested tables.\n\n@each $color, $value in $theme-colors {\n @include table-row-variant($color, theme-color-level($color, -9));\n}\n\n@include table-row-variant(active, $table-active-bg);\n\n\n// Dark styles\n//\n// Same table markup, but inverted color scheme: dark background and light text.\n\n// stylelint-disable-next-line no-duplicate-selectors\n.table {\n .thead-dark {\n th {\n color: $table-dark-color;\n background-color: $table-dark-bg;\n border-color: $table-dark-border-color;\n }\n }\n\n .thead-light {\n th {\n color: $table-head-color;\n background-color: $table-head-bg;\n border-color: $table-border-color;\n }\n }\n}\n\n.table-dark {\n color: $table-dark-color;\n background-color: $table-dark-bg;\n\n th,\n td,\n thead th {\n border-color: $table-dark-border-color;\n }\n\n &.table-bordered {\n border: 0;\n }\n\n &.table-striped {\n tbody tr:nth-of-type(odd) {\n background-color: $table-dark-accent-bg;\n }\n }\n\n &.table-hover {\n tbody tr {\n @include hover {\n background-color: $table-dark-hover-bg;\n }\n }\n }\n}\n\n\n// Responsive tables\n//\n// Generate series of `.table-responsive-*` classes for configuring the screen\n// size of where your table will overflow.\n\n.table-responsive {\n @each $breakpoint in map-keys($grid-breakpoints) {\n $next: breakpoint-next($breakpoint, $grid-breakpoints);\n $infix: breakpoint-infix($next, $grid-breakpoints);\n\n &#{$infix} {\n @include media-breakpoint-down($breakpoint) {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057\n\n // Prevent double border on horizontal scroll due to use of `display: block;`\n > .table-bordered {\n border: 0;\n }\n }\n }\n }\n}\n","// Tables\n\n@mixin table-row-variant($state, $background) {\n // Exact selectors below required to override `.table-striped` and prevent\n // inheritance to nested tables.\n .table-#{$state} {\n &,\n > th,\n > td {\n background-color: $background;\n }\n }\n\n // Hover states for `.table-hover`\n // Note: this is not available for cells or rows within `thead` or `tfoot`.\n .table-hover {\n $hover-background: darken($background, 5%);\n\n .table-#{$state} {\n @include hover {\n background-color: $hover-background;\n\n > td,\n > th {\n background-color: $hover-background;\n }\n }\n }\n }\n}\n","// Bootstrap functions\n//\n// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.\n\n// Ascending\n// Used to evaluate Sass maps like our grid breakpoints.\n@mixin _assert-ascending($map, $map-name) {\n $prev-key: null;\n $prev-num: null;\n @each $key, $num in $map {\n @if $prev-num == null {\n // Do nothing\n } @else if not comparable($prev-num, $num) {\n @warn \"Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !\";\n } @else if $prev-num >= $num {\n @warn \"Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !\";\n }\n $prev-key: $key;\n $prev-num: $num;\n }\n}\n\n// Starts at zero\n// Another grid mixin that ensures the min-width of the lowest breakpoint starts at 0.\n@mixin _assert-starts-at-zero($map) {\n $values: map-values($map);\n $first-value: nth($values, 1);\n @if $first-value != 0 {\n @warn \"First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}.\";\n }\n}\n\n// Replace `$search` with `$replace` in `$string`\n// Used on our SVG icon backgrounds for custom forms.\n//\n// @author Hugo Giraudel\n// @param {String} $string - Initial string\n// @param {String} $search - Substring to replace\n// @param {String} $replace ('') - New value\n// @return {String} - Updated string\n@function str-replace($string, $search, $replace: \"\") {\n $index: str-index($string, $search);\n\n @if $index {\n @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);\n }\n\n @return $string;\n}\n\n// Color contrast\n@function color-yiq($color) {\n $r: red($color);\n $g: green($color);\n $b: blue($color);\n\n $yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;\n\n @if ($yiq >= $yiq-contrasted-threshold) {\n @return $yiq-text-dark;\n } @else {\n @return $yiq-text-light;\n }\n}\n\n// Retrieve color Sass maps\n@function color($key: \"blue\") {\n @return map-get($colors, $key);\n}\n\n@function theme-color($key: \"primary\") {\n @return map-get($theme-colors, $key);\n}\n\n@function gray($key: \"100\") {\n @return map-get($grays, $key);\n}\n\n// Request a theme color level\n@function theme-color-level($color-name: \"primary\", $level: 0) {\n $color: theme-color($color-name);\n $color-base: if($level > 0, $black, $white);\n $level: abs($level);\n\n @return mix($color-base, $color, $level * $theme-color-interval);\n}\n","// stylelint-disable selector-no-qualifying-type\n\n//\n// Textual form controls\n//\n\n.form-control {\n display: block;\n width: 100%;\n height: $input-height;\n padding: $input-padding-y $input-padding-x;\n font-size: $font-size-base;\n line-height: $input-line-height;\n color: $input-color;\n background-color: $input-bg;\n background-clip: padding-box;\n border: $input-border-width solid $input-border-color;\n\n // Note: This has no effect on `s in CSS.\n @if $enable-rounded {\n // Manually use the if/else instead of the mixin to account for iOS override\n border-radius: $input-border-radius;\n } @else {\n // Otherwise undo the iOS default\n border-radius: 0;\n }\n\n @include box-shadow($input-box-shadow);\n @include transition($input-transition);\n\n // Unstyle the caret on ` receives focus\n // in IE and (under certain conditions) Edge, as it looks bad and cannot be made to\n // match the appearance of the native widget.\n // See https://github.com/twbs/bootstrap/issues/19398.\n color: $input-color;\n background-color: $input-bg;\n }\n}\n\n// Make file inputs better match text inputs by forcing them to new lines.\n.form-control-file,\n.form-control-range {\n display: block;\n width: 100%;\n}\n\n\n//\n// Labels\n//\n\n// For use with horizontal and inline forms, when you need the label (or legend)\n// text to align with the form controls.\n.col-form-label {\n padding-top: calc(#{$input-padding-y} + #{$input-border-width});\n padding-bottom: calc(#{$input-padding-y} + #{$input-border-width});\n margin-bottom: 0; // Override the `
+ + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/admin/format.php b/src/admin/format.php new file mode 100644 index 0000000..e5fd4c1 --- /dev/null +++ b/src/admin/format.php @@ -0,0 +1,401 @@ +nom = trim($_POST["nom"]); + + if (trim($_POST["nom"]) != '') { + if (preg_match("/^[\p{L}\p{N} '-]+$/u", trim($_POST["nom"]))) { + if (!$existe = $format->existe()) { + try { + $format->insert(); + } catch (PDOException $e) { + $format->db->handle->rollBack(); + } + } elseif (!$format->isActif()) { + $format->setActif(); + } else + $erreur = "Le format existe déjà."; + } else + $erreur = "Le nom du format ne peut pas contenir ces caractères spéciaux."; + } else + $erreur = "Le champ ne peut pas être vide."; + + } +} + +if (isset($_POST["modif"])) { + if (isset($_POST["id"]) && isset($_POST["modifNom"]) && trim($_POST["modifNom"]) != "") { + $format->nom = trim($_POST["modifNom"]); + if (trim($_POST["modifNom"]) != '') { + if (preg_match("/^[\p{L}\p{N} '-]+$/u", $_POST["modifNom"]) && $_POST["modifNom"] != ' ') { + if (trim(strtoupper($_POST["modifNom"])) == strtoupper($_POST["nomformat"])) { + $format->id_format = $_POST["id"]; + + try { + $format->update(); + } catch (PDOException $e) { + $format->db->handle->rollBack(); + } + } elseif (!$existeModif = $format->existe()) { + $format->id_format = $_POST["id"]; + + try { + $format->update(); + } catch (PDOException $e) { + $format->db->handle->rollBack(); + } + } else + $erreurModif = "Le format existe déjà."; + } else + $erreurModif = "Le nom du format ne peut pas contenir ces caractères spéciaux."; + } else + $erreurModif = "Le champ ne peut pas être vide."; + } +} + +if (isset($_POST["supprimer"])) { + + $format->id_format = $_POST["id"]; + if ($existeProduit = !$format->verifProduits()) { + $format->setInactif(); + } else { + $erreurSupp = "Il y a encore des produits reliés à ce format. Veuillez réaffecter ces produits à un autre format."; + } + +} + +$format = $format->select(null, "1"); +?> + + + + + + + + + + Gestion des formats - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
Liste des formats + +
+
+ + + + + + + + + + + + + + + + +
Nom du format
+ nom ?> + + +
+
+
+ + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + diff --git a/src/admin/fournisseur.php b/src/admin/fournisseur.php new file mode 100644 index 0000000..3300240 --- /dev/null +++ b/src/admin/fournisseur.php @@ -0,0 +1,389 @@ +id_fournisseur == "" || $fournisseur->id_fournisseur == null)) { + header("Location: fournisseurs.php"); + die(); +} + +$errors = array(); +$erreurTel = ''; +$erreurCP = ''; +$erreurPoste = ''; +$erreurExiste = ''; +$erreurSupp =''; + +if (isset($_POST["modif"])) { + $_POST = \Dietetique\Helpers\Security::clean($_POST); + + if ( + isset($_POST["nom"]) && + isset($_POST["Succursale"]) && + isset($_POST["nomContact"]) && + isset($_POST["role"])&& + isset($_POST["telephone"]) && + isset($_POST["poste"]) && + isset($_POST["adresse"]) && + isset($_POST["ville"]) && + isset($_POST["codePostal"]) + ) { + \Dietetique\Helpers\Html\Forms::CheckEmptyForm($_POST, $errors); + + if ($errors["nom"] != 1 && $errors["Succursale"] != 1 && $errors["telephone"] != 1 && $errors["adresse"] != 1 && $errors["ville"] != 1 && $errors["codePostal"] != 1) { + + if (!preg_match("/^[\+0-9\-\(\)\s]*$/", $_POST["telephone"])) { + $erreurTel = 'Le numéro de téléphone ne suit pas le bon format.'; + } + if (!empty($_POST["poste"]) && !is_numeric($_POST["poste"])) { + $erreurPoste = 'Le poste doit être numérique.'; + } + if (!preg_match("/^(?!.*[DFIOQU])[A-VXY][0-9][A-Z] ?[0-9][A-Z][0-9]$/", $_POST["codePostal"])) { + $erreurCP = 'Le code postal ne suit pas le bon format.'; + } + + if ($erreurPoste == '' && $erreurTel == '' && $erreurCP == '') { + $fournisseur->nom = $_POST["nom"]; + $fournisseur->succursale = $_POST["Succursale"]; + $fournisseur->nom_contact = $_POST["nomContact"]; + $fournisseur->role = $_POST["role"]; + $fournisseur->telephone = $_POST["telephone"]; + $fournisseur->tel_poste = $_POST["poste"]; + $fournisseur->adresse = $_POST["adresse"]; + $fournisseur->ville = $_POST["ville"]; + $fournisseur->code_postal = $_POST["codePostal"]; + + if (!$fournisseur->existeModif()) { + try { + $fournisseur->update(); + } catch (PDOException $e) { + $fournisseur->db->handle->rollBack(); + } + + header("Location: fournisseurs.php"); + } else { + $erreurExiste = 'Ce fournisseur existe déjà.'; + } + + } + } + + } +} + +if(isset($_POST["supp"])) +{ + $fournisseur->id_fournisseur = $_POST["id"]; + if(!$fournisseur->verifProduits()) + { + $fournisseur->setInactif(); + header("Location: fournisseurs.php"); + } + else{ + $erreurSupp = 'Il y a encore des produits liés à ce fournisseur. Veuillez réaffecter les produits à un autre fournisseur.'; + } +} +?> + + + + + + + + + + Détails du fournisseur - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ + +
+
+ +
+
Modification d'un fournisseur +
+ +
+
+ +
+
+
+
+ + + " + id="nom" + type="text" name="nom" + value="nom ?>" + placeholder="Nom du fournisseur ex: Maxi"> +
+
+ +
+
+ + " + id="Succursale" + type="text" name="Succursale" + value="succursale ?>" + placeholder="Succursale du fournisseur ex: Jean XXIII"> +
+
+
+ + +
+
+
+ + " + id="nomContact" + type="text" name="nomContact" + value="nom_contact ?>" + placeholder="Nom du contact"> +
+
+ +
+
+ + " + id="role" + type="text" name="role" + value="role ?>" + placeholder="Role du contact"> +
+
+
+ + +
+
+ + " + id="telephone" + type="text" name="telephone" + value="telephone ?>" + placeholder="1234567890"> +
+ +
+ + " + id="poste" + type="text" name="poste" + value="tel_poste ?>" + placeholder="123"> +
+ +
+ + +
+
+ + " + id="adresse" + type="text" name="adresse" + value="adresse ?>" + placeholder="Adresse du fournisseur"> +
+ + +
+ + " + id="ville" + type="text" name="ville" + value="ville ?>" + placeholder="Ville du fournisseur"> + + +
+
+ + " + id="codePostal" + type="text" name="codePostal" + value="code_postal ?>" + placeholder="A9A 9A9"> + +
+
+ + +
+ + + +
+
+ + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/src/admin/fournisseurs.php b/src/admin/fournisseurs.php new file mode 100644 index 0000000..0564a6b --- /dev/null +++ b/src/admin/fournisseurs.php @@ -0,0 +1,176 @@ +select(null,1); + + +?> + + + + + + + + + + Gestion des fournisseurs - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
Liste de fournisseurs + +
+
+ + + + + + + + + + + + + + telephone) == 10) { ?> + + + + + + + + +
Nom du fournisseurAdresseNuméro de téléphone
nom?>adresse?>telephone,0,3). ' ' .substr($fournisseur->telephone,3,3). '-' .substr($fournisseur->telephone, 6,4) ?>tel_poste != ''){echo "   Poste: "; echo $fournisseur->tel_poste;}?>telephone?>tel_poste != ''){echo "   Poste: "; echo $fournisseur->tel_poste;}?>
+
+
+ +
+
+
+
+ + + + + + + + + + diff --git a/src/admin/index.php b/src/admin/index.php new file mode 100644 index 0000000..b0130d0 --- /dev/null +++ b/src/admin/index.php @@ -0,0 +1,534 @@ +select(); + +if (isset($_POST["gestionPour"])) { + if (isset($_POST["pourGestion"])) { + $pour = trim($_POST["pourGestion"]); + $pour = str_replace(',', '.', $pour); + if (is_numeric($pour) && $pour >= 0) { + number_format($pour, 1, '.', ''); + if ($fraisGestion[0]->frais != $pour) ; + { + $fraisGestion[0]->frais = ($pour / 100) + 1; + $fraisGestion[0]->update(); + } + header("location:index.php"); + } else $erreur["erreurPour"] = "Le pourcentage est invalide"; + } +} + +if (isset($_POST["gestionFixe"])) { + if (isset($_POST["fixeGestion"])) { + $fraisF = trim($_POST["fixeGestion"]); + $fraisF = str_replace(',', '.', $fraisF); + if (is_numeric($fraisF) && $fraisF >= 0) { + number_format($fraisF, 2, '.', ''); + if ($fraisGestion[1]->frais != $fraisF) { + $fraisGestion[1]->frais = $fraisF; + $fraisGestion[1]->update(); + } + header("location:index.php"); + } else $erreur["erreurFixe"] = "Le frais est invalide"; + } +} + +if (isset($_GET["actifP"])) { + if ($_GET["actifP"] == 0 || $_GET["actifP"] == 1) { + $fraisGestion[0]->actif = $_GET["actifP"]; + $fraisGestion[0]->update(); + } + + die($fraisGestion[0]->actif); +} + +if (isset($_GET["actifF"])) { + if ($_GET["actifF"] == 0 || $_GET["actifF"] == 1) { + $fraisGestion[1]->actif = $_GET["actifF"]; + $fraisGestion[1]->update(); + } + + die($fraisGestion[1]->actif); +} + +if (isset($_POST["modifM"])) { + if (isset($_POST["mission"])) { + $config->select("mission"); + $config->valeur = htmlentities(trim($_POST["mission"])); + $config->update(); + header("location:index.php"); + } +} + + +if (isset($_POST["modifF"])) { + if (isset($_POST["fonctionnement"])) { + $config->select("fonctionnement"); + $config->valeur = htmlentities(trim($_POST["fonctionnement"])); + $config->update(); + header("location:index.php"); + } +} + + +?> + + + + + + + + + + Tableau de bord - Administration + + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
+
+
+ +
+
db->handle) ?>
+
Nombre d'utilisateurs +
+
+
+
+
+ +
+
+
+ +
+
db->handle) ?>
+
Nombre de commandes +
+
+
+
+
+ +
+
+
+ +
+
db->handle) ?>
+
Suggestion en attente + d'approbation +
+
+
+
+
+
+ +
+
+
+
+ Frais de gestion (%) +
+ +
+
+
+
+

frais - 1) * 100, 1, ',', ' ') ?> + %

+ +
+ +
+
+ +
+
+ Frais de gestion fixe +
+ +
+
+
+
+

frais, 2, ',', ' ') ?> + $

+ +
+ +
+
+
+ +
+
+
+ Notre mission +
+ +
+
+ +
+ select("mission") ?> +
+
+ +
+
+
+
+ +
+
+ Fonctionnement +
+ +
+
+
+ select("fonctionnement") ?> +
+
+ +
+ +
+
+
+
+
+
+
+ + +
+
+ + + + + + + + + + + + + + diff --git a/src/admin/js/colors.js b/src/admin/js/colors.js new file mode 100644 index 0000000..9caec3d --- /dev/null +++ b/src/admin/js/colors.js @@ -0,0 +1,13 @@ +/* global rgbToHex */ + +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): colors.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ +$('.theme-color').each(function () { + var Color = $(this).css('backgroundColor'); + $(this).parent().append("\n \n \n \n \n \n \n \n \n \n
HEX:" + rgbToHex(Color) + "
RGB:" + Color + "
\n "); +}); +//# sourceMappingURL=colors.js.map \ No newline at end of file diff --git a/src/admin/js/colors.js.map b/src/admin/js/colors.js.map new file mode 100644 index 0000000..ab962cb --- /dev/null +++ b/src/admin/js/colors.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/colors.js"],"names":["$","each","Color","css","parent","append","rgbToHex"],"mappings":"AAAA;;AAGA;;;;;;AAOAA,CAAC,CAAC,cAAD,CAAD,CAAkBC,IAAlB,CAAuB,YAAY;AACjC,MAAMC,KAAK,GAAGF,CAAC,CAAC,IAAD,CAAD,CAAQG,GAAR,CAAY,iBAAZ,CAAd;AACAH,EAAAA,CAAC,CAAC,IAAD,CAAD,CAAQI,MAAR,GAAiBC,MAAjB,oIAIqCC,QAAQ,CAACJ,KAAD,CAJ7C,2HAQqCA,KARrC;AAYD,CAdD","sourcesContent":["/* global rgbToHex */\nimport $ from 'jquery'\n\n/**\n * --------------------------------------------------------------------------\n * CoreUI Free Boostrap Admin Template (v2.1.8): colors.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\n$('.theme-color').each(function () {\n const Color = $(this).css('backgroundColor')\n $(this).parent().append(`\n \n \n \n \n \n \n \n \n \n
HEX:${rgbToHex(Color)}
RGB:${Color}
\n `)\n})\n"],"file":"colors.js"} \ No newline at end of file diff --git a/src/admin/js/main.js b/src/admin/js/main.js new file mode 100644 index 0000000..6d06908 --- /dev/null +++ b/src/admin/js/main.js @@ -0,0 +1,330 @@ +/* eslint-disable object-shorthand */ + +/* global Chart, CustomTooltips, getStyle, hexToRgba */ + +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): main.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ + +/* eslint-disable no-magic-numbers */ +// Disable the on-canvas tooltip +Chart.defaults.global.pointHitDetectionRadius = 1; +Chart.defaults.global.tooltips.enabled = false; +Chart.defaults.global.tooltips.mode = 'index'; +Chart.defaults.global.tooltips.position = 'nearest'; +Chart.defaults.global.tooltips.custom = CustomTooltips; // eslint-disable-next-line no-unused-vars + +var cardChart1 = new Chart($('#card-chart1'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [{ + label: 'My First dataset', + backgroundColor: getStyle('--primary'), + borderColor: 'rgba(255,255,255,.55)', + data: [65, 59, 84, 84, 51, 55, 40] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + color: 'transparent', + zeroLineColor: 'transparent' + }, + ticks: { + fontSize: 2, + fontColor: 'transparent' + } + }], + yAxes: [{ + display: false, + ticks: { + display: false, + min: 35, + max: 89 + } + }] + }, + elements: { + line: { + borderWidth: 1 + }, + point: { + radius: 4, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}); // eslint-disable-next-line no-unused-vars + +var cardChart2 = new Chart($('#card-chart2'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [{ + label: 'My First dataset', + backgroundColor: getStyle('--info'), + borderColor: 'rgba(255,255,255,.55)', + data: [1, 18, 9, 17, 34, 22, 11] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + color: 'transparent', + zeroLineColor: 'transparent' + }, + ticks: { + fontSize: 2, + fontColor: 'transparent' + } + }], + yAxes: [{ + display: false, + ticks: { + display: false, + min: -4, + max: 39 + } + }] + }, + elements: { + line: { + tension: 0.00001, + borderWidth: 1 + }, + point: { + radius: 4, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}); // eslint-disable-next-line no-unused-vars + +var cardChart3 = new Chart($('#card-chart3'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.2)', + borderColor: 'rgba(255,255,255,.55)', + data: [78, 81, 80, 45, 34, 12, 40] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + line: { + borderWidth: 2 + }, + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}); // eslint-disable-next-line no-unused-vars + +var cardChart4 = new Chart($('#card-chart4'), { + type: 'bar', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December', 'January', 'February', 'March', 'April'], + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.2)', + borderColor: 'rgba(255,255,255,.55)', + data: [78, 81, 80, 45, 34, 12, 40, 85, 65, 23, 12, 98, 34, 84, 67, 82] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false, + barPercentage: 0.6 + }], + yAxes: [{ + display: false + }] + } + } +}); // eslint-disable-next-line no-unused-vars + +var mainChart = new Chart($('#main-chart'), { + type: 'line', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S'], + datasets: [{ + label: 'My First dataset', + backgroundColor: hexToRgba(getStyle('--info'), 10), + borderColor: getStyle('--info'), + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [165, 180, 70, 69, 77, 57, 125, 165, 172, 91, 173, 138, 155, 89, 50, 161, 65, 163, 160, 103, 114, 185, 125, 196, 183, 64, 137, 95, 112, 175] + }, { + label: 'My Second dataset', + backgroundColor: 'transparent', + borderColor: getStyle('--success'), + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [92, 97, 80, 100, 86, 97, 83, 98, 87, 98, 93, 83, 87, 98, 96, 84, 91, 97, 88, 86, 94, 86, 95, 91, 98, 91, 92, 80, 83, 82] + }, { + label: 'My Third dataset', + backgroundColor: 'transparent', + borderColor: getStyle('--danger'), + pointHoverBackgroundColor: '#fff', + borderWidth: 1, + borderDash: [8, 5], + data: [65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + drawOnChartArea: false + } + }], + yAxes: [{ + ticks: { + beginAtZero: true, + maxTicksLimit: 5, + stepSize: Math.ceil(250 / 5), + max: 250 + } + }] + }, + elements: { + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4, + hoverBorderWidth: 3 + } + } + } +}); +var brandBoxChartLabels = ['January', 'February', 'March', 'April', 'May', 'June', 'July']; +var brandBoxChartOptions = { + responsive: true, + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4, + hoverBorderWidth: 3 + } + } // eslint-disable-next-line no-unused-vars + +}; +var brandBoxChart1 = new Chart($('#social-box-chart-1'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [65, 59, 84, 84, 51, 55, 40] + }] + }, + options: brandBoxChartOptions +}); // eslint-disable-next-line no-unused-vars + +var brandBoxChart2 = new Chart($('#social-box-chart-2'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [1, 13, 9, 17, 34, 41, 38] + }] + }, + options: brandBoxChartOptions +}); // eslint-disable-next-line no-unused-vars + +var brandBoxChart3 = new Chart($('#social-box-chart-3'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [78, 81, 80, 45, 34, 12, 40] + }] + }, + options: brandBoxChartOptions +}); // eslint-disable-next-line no-unused-vars + +var brandBoxChart4 = new Chart($('#social-box-chart-4'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [35, 23, 56, 22, 97, 23, 64] + }] + }, + options: brandBoxChartOptions +}); +//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/src/admin/js/main.js.map b/src/admin/js/main.js.map new file mode 100644 index 0000000..8ea7661 --- /dev/null +++ b/src/admin/js/main.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/main.js"],"names":["Chart","defaults","global","pointHitDetectionRadius","tooltips","enabled","mode","position","custom","CustomTooltips","cardChart1","$","type","data","labels","datasets","label","backgroundColor","getStyle","borderColor","options","maintainAspectRatio","legend","display","scales","xAxes","gridLines","color","zeroLineColor","ticks","fontSize","fontColor","yAxes","min","max","elements","line","borderWidth","point","radius","hitRadius","hoverRadius","cardChart2","tension","cardChart3","cardChart4","barPercentage","mainChart","hexToRgba","pointHoverBackgroundColor","borderDash","drawOnChartArea","beginAtZero","maxTicksLimit","stepSize","Math","ceil","hoverBorderWidth","brandBoxChartLabels","brandBoxChartOptions","responsive","brandBoxChart1","brandBoxChart2","brandBoxChart3","brandBoxChart4"],"mappings":"AAAA;;AACA;;AAGA;;;;;;;AAOA;AACA;AACAA,KAAK,CAACC,QAAN,CAAeC,MAAf,CAAsBC,uBAAtB,GAAgD,CAAhD;AACAH,KAAK,CAACC,QAAN,CAAeC,MAAf,CAAsBE,QAAtB,CAA+BC,OAA/B,GAAyC,KAAzC;AACAL,KAAK,CAACC,QAAN,CAAeC,MAAf,CAAsBE,QAAtB,CAA+BE,IAA/B,GAAsC,OAAtC;AACAN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C,CAAvB,C,CAgBA;;AACA,IAAMK,cAAc,GAAG,IAAIhE,KAAJ,CAAUW,CAAC,CAAC,qBAAD,CAAX,EAAoC;AACzDC,EAAAA,IAAI,EAAE,MADmD;AAEzDC,EAAAA,IAAI,EAAE;AACJC,IAAAA,MAAM,EAAE4C,mBADJ;AAEJ3C,IAAAA,QAAQ,EAAE,CAAC;AACTC,MAAAA,KAAK,EAAE,kBADE;AAETC,MAAAA,eAAe,EAAE,sBAFR;AAGTE,MAAAA,WAAW,EAAE,uBAHJ;AAIT8B,MAAAA,yBAAyB,EAAE,MAJlB;AAKTZ,MAAAA,WAAW,EAAE,CALJ;AAMTxB,MAAAA,IAAI,EAAE,CAAC,EAAD,EAAK,EAAL,EAAS,EAAT,EAAa,EAAb,EAAiB,EAAjB,EAAqB,EAArB,EAAyB,EAAzB;AANG,KAAD;AAFN,GAFmD;AAazDO,EAAAA,OAAO,EAAEuC;AAbgD,CAApC,CAAvB","sourcesContent":["/* eslint-disable object-shorthand */\n/* global Chart, CustomTooltips, getStyle, hexToRgba */\nimport $ from 'jquery'\n\n/**\n * --------------------------------------------------------------------------\n * CoreUI Free Boostrap Admin Template (v2.1.8): main.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\n/* eslint-disable no-magic-numbers */\n// Disable the on-canvas tooltip\nChart.defaults.global.pointHitDetectionRadius = 1\nChart.defaults.global.tooltips.enabled = false\nChart.defaults.global.tooltips.mode = 'index'\nChart.defaults.global.tooltips.position = 'nearest'\nChart.defaults.global.tooltips.custom = CustomTooltips\n\n// eslint-disable-next-line no-unused-vars\nconst cardChart1 = new Chart($('#card-chart1'), {\n type: 'line',\n data: {\n labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n datasets: [\n {\n label: 'My First dataset',\n backgroundColor: getStyle('--primary'),\n borderColor: 'rgba(255,255,255,.55)',\n data: [65, 59, 84, 84, 51, 55, 40]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n gridLines: {\n color: 'transparent',\n zeroLineColor: 'transparent'\n },\n ticks: {\n fontSize: 2,\n fontColor: 'transparent'\n }\n }],\n yAxes: [{\n display: false,\n ticks: {\n display: false,\n min: 35,\n max: 89\n }\n }]\n },\n elements: {\n line: {\n borderWidth: 1\n },\n point: {\n radius: 4,\n hitRadius: 10,\n hoverRadius: 4\n }\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst cardChart2 = new Chart($('#card-chart2'), {\n type: 'line',\n data: {\n labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n datasets: [\n {\n label: 'My First dataset',\n backgroundColor: getStyle('--info'),\n borderColor: 'rgba(255,255,255,.55)',\n data: [1, 18, 9, 17, 34, 22, 11]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n gridLines: {\n color: 'transparent',\n zeroLineColor: 'transparent'\n },\n ticks: {\n fontSize: 2,\n fontColor: 'transparent'\n }\n }],\n yAxes: [{\n display: false,\n ticks: {\n display: false,\n min: -4,\n max: 39\n }\n }]\n },\n elements: {\n line: {\n tension: 0.00001,\n borderWidth: 1\n },\n point: {\n radius: 4,\n hitRadius: 10,\n hoverRadius: 4\n }\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst cardChart3 = new Chart($('#card-chart3'), {\n type: 'line',\n data: {\n labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n datasets: [\n {\n label: 'My First dataset',\n backgroundColor: 'rgba(255,255,255,.2)',\n borderColor: 'rgba(255,255,255,.55)',\n data: [78, 81, 80, 45, 34, 12, 40]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false\n }],\n yAxes: [{\n display: false\n }]\n },\n elements: {\n line: {\n borderWidth: 2\n },\n point: {\n radius: 0,\n hitRadius: 10,\n hoverRadius: 4\n }\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst cardChart4 = new Chart($('#card-chart4'), {\n type: 'bar',\n data: {\n labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December', 'January', 'February', 'March', 'April'],\n datasets: [\n {\n label: 'My First dataset',\n backgroundColor: 'rgba(255,255,255,.2)',\n borderColor: 'rgba(255,255,255,.55)',\n data: [78, 81, 80, 45, 34, 12, 40, 85, 65, 23, 12, 98, 34, 84, 67, 82]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false,\n barPercentage: 0.6\n }],\n yAxes: [{\n display: false\n }]\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst mainChart = new Chart($('#main-chart'), {\n type: 'line',\n data: {\n labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S'],\n datasets: [\n {\n label: 'My First dataset',\n backgroundColor: hexToRgba(getStyle('--info'), 10),\n borderColor: getStyle('--info'),\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [165, 180, 70, 69, 77, 57, 125, 165, 172, 91, 173, 138, 155, 89, 50, 161, 65, 163, 160, 103, 114, 185, 125, 196, 183, 64, 137, 95, 112, 175]\n },\n {\n label: 'My Second dataset',\n backgroundColor: 'transparent',\n borderColor: getStyle('--success'),\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [92, 97, 80, 100, 86, 97, 83, 98, 87, 98, 93, 83, 87, 98, 96, 84, 91, 97, 88, 86, 94, 86, 95, 91, 98, 91, 92, 80, 83, 82]\n },\n {\n label: 'My Third dataset',\n backgroundColor: 'transparent',\n borderColor: getStyle('--danger'),\n pointHoverBackgroundColor: '#fff',\n borderWidth: 1,\n borderDash: [8, 5],\n data: [65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n gridLines: {\n drawOnChartArea: false\n }\n }],\n yAxes: [{\n ticks: {\n beginAtZero: true,\n maxTicksLimit: 5,\n stepSize: Math.ceil(250 / 5),\n max: 250\n }\n }]\n },\n elements: {\n point: {\n radius: 0,\n hitRadius: 10,\n hoverRadius: 4,\n hoverBorderWidth: 3\n }\n }\n }\n})\n\nconst brandBoxChartLabels = ['January', 'February', 'March', 'April', 'May', 'June', 'July']\n\nconst brandBoxChartOptions = {\n responsive: true,\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display:false\n }],\n yAxes: [{\n display:false\n }]\n },\n elements: {\n point: {\n radius: 0,\n hitRadius: 10,\n hoverRadius: 4,\n hoverBorderWidth: 3\n }\n }\n}\n\n// eslint-disable-next-line no-unused-vars\nconst brandBoxChart1 = new Chart($('#social-box-chart-1'), {\n type: 'line',\n data: {\n labels: brandBoxChartLabels,\n datasets: [{\n label: 'My First dataset',\n backgroundColor: 'rgba(255,255,255,.1)',\n borderColor: 'rgba(255,255,255,.55)',\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [65, 59, 84, 84, 51, 55, 40]\n }]\n },\n options: brandBoxChartOptions\n})\n\n// eslint-disable-next-line no-unused-vars\nconst brandBoxChart2 = new Chart($('#social-box-chart-2'), {\n type: 'line',\n data: {\n labels: brandBoxChartLabels,\n datasets: [{\n label: 'My First dataset',\n backgroundColor: 'rgba(255,255,255,.1)',\n borderColor: 'rgba(255,255,255,.55)',\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [1, 13, 9, 17, 34, 41, 38]\n }]\n },\n options: brandBoxChartOptions\n})\n\n// eslint-disable-next-line no-unused-vars\nconst brandBoxChart3 = new Chart($('#social-box-chart-3'), {\n type: 'line',\n data: {\n labels: brandBoxChartLabels,\n datasets: [{\n label: 'My First dataset',\n backgroundColor: 'rgba(255,255,255,.1)',\n borderColor: 'rgba(255,255,255,.55)',\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [78, 81, 80, 45, 34, 12, 40]\n }]\n },\n options: brandBoxChartOptions\n})\n\n// eslint-disable-next-line no-unused-vars\nconst brandBoxChart4 = new Chart($('#social-box-chart-4'), {\n type: 'line',\n data: {\n labels: brandBoxChartLabels,\n datasets: [{\n label: 'My First dataset',\n backgroundColor: 'rgba(255,255,255,.1)',\n borderColor: 'rgba(255,255,255,.55)',\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [35, 23, 56, 22, 97, 23, 64]\n }]\n },\n options: brandBoxChartOptions\n})\n"],"file":"main.js"} \ No newline at end of file diff --git a/src/admin/js/popovers.js b/src/admin/js/popovers.js new file mode 100644 index 0000000..a7a03f3 --- /dev/null +++ b/src/admin/js/popovers.js @@ -0,0 +1,11 @@ +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): popovers.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ +$('[data-toggle="popover"]').popover(); +$('.popover-dismiss').popover({ + trigger: 'focus' +}); +//# sourceMappingURL=popovers.js.map \ No newline at end of file diff --git a/src/admin/js/popovers.js.map b/src/admin/js/popovers.js.map new file mode 100644 index 0000000..70f0692 --- /dev/null +++ b/src/admin/js/popovers.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/popovers.js"],"names":["$","popover","trigger"],"mappings":"AAEA;;;;;;AAOAA,CAAC,CAAC,yBAAD,CAAD,CAA6BC,OAA7B;AACAD,CAAC,CAAC,kBAAD,CAAD,CAAsBC,OAAtB,CAA8B;AAC5BC,EAAAA,OAAO,EAAE;AADmB,CAA9B","sourcesContent":["import $ from 'jquery'\n\n/**\n * --------------------------------------------------------------------------\n * CoreUI Free Boostrap Admin Template (v2.1.8): popovers.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\n$('[data-toggle=\"popover\"]').popover()\n$('.popover-dismiss').popover({\n trigger: 'focus'\n})\n"],"file":"popovers.js"} \ No newline at end of file diff --git a/src/admin/js/src/colors.js b/src/admin/js/src/colors.js new file mode 100644 index 0000000..406cd71 --- /dev/null +++ b/src/admin/js/src/colors.js @@ -0,0 +1,25 @@ +/* global rgbToHex */ +import $ from 'jquery' + +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): colors.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ + +$('.theme-color').each(function () { + const Color = $(this).css('backgroundColor') + $(this).parent().append(` + + + + + + + + + +
HEX:${rgbToHex(Color)}
RGB:${Color}
+ `) +}) diff --git a/src/admin/js/src/main.js b/src/admin/js/src/main.js new file mode 100644 index 0000000..6c122b2 --- /dev/null +++ b/src/admin/js/src/main.js @@ -0,0 +1,352 @@ +/* eslint-disable object-shorthand */ +/* global Chart, CustomTooltips, getStyle, hexToRgba */ +import $ from 'jquery' + +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): main.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ + +/* eslint-disable no-magic-numbers */ +// Disable the on-canvas tooltip +Chart.defaults.global.pointHitDetectionRadius = 1 +Chart.defaults.global.tooltips.enabled = false +Chart.defaults.global.tooltips.mode = 'index' +Chart.defaults.global.tooltips.position = 'nearest' +Chart.defaults.global.tooltips.custom = CustomTooltips + +// eslint-disable-next-line no-unused-vars +const cardChart1 = new Chart($('#card-chart1'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [ + { + label: 'My First dataset', + backgroundColor: getStyle('--primary'), + borderColor: 'rgba(255,255,255,.55)', + data: [65, 59, 84, 84, 51, 55, 40] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + color: 'transparent', + zeroLineColor: 'transparent' + }, + ticks: { + fontSize: 2, + fontColor: 'transparent' + } + }], + yAxes: [{ + display: false, + ticks: { + display: false, + min: 35, + max: 89 + } + }] + }, + elements: { + line: { + borderWidth: 1 + }, + point: { + radius: 4, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}) + +// eslint-disable-next-line no-unused-vars +const cardChart2 = new Chart($('#card-chart2'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [ + { + label: 'My First dataset', + backgroundColor: getStyle('--info'), + borderColor: 'rgba(255,255,255,.55)', + data: [1, 18, 9, 17, 34, 22, 11] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + color: 'transparent', + zeroLineColor: 'transparent' + }, + ticks: { + fontSize: 2, + fontColor: 'transparent' + } + }], + yAxes: [{ + display: false, + ticks: { + display: false, + min: -4, + max: 39 + } + }] + }, + elements: { + line: { + tension: 0.00001, + borderWidth: 1 + }, + point: { + radius: 4, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}) + +// eslint-disable-next-line no-unused-vars +const cardChart3 = new Chart($('#card-chart3'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [ + { + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.2)', + borderColor: 'rgba(255,255,255,.55)', + data: [78, 81, 80, 45, 34, 12, 40] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + line: { + borderWidth: 2 + }, + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}) + +// eslint-disable-next-line no-unused-vars +const cardChart4 = new Chart($('#card-chart4'), { + type: 'bar', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December', 'January', 'February', 'March', 'April'], + datasets: [ + { + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.2)', + borderColor: 'rgba(255,255,255,.55)', + data: [78, 81, 80, 45, 34, 12, 40, 85, 65, 23, 12, 98, 34, 84, 67, 82] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false, + barPercentage: 0.6 + }], + yAxes: [{ + display: false + }] + } + } +}) + +// eslint-disable-next-line no-unused-vars +const mainChart = new Chart($('#main-chart'), { + type: 'line', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S'], + datasets: [ + { + label: 'My First dataset', + backgroundColor: hexToRgba(getStyle('--info'), 10), + borderColor: getStyle('--info'), + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [165, 180, 70, 69, 77, 57, 125, 165, 172, 91, 173, 138, 155, 89, 50, 161, 65, 163, 160, 103, 114, 185, 125, 196, 183, 64, 137, 95, 112, 175] + }, + { + label: 'My Second dataset', + backgroundColor: 'transparent', + borderColor: getStyle('--success'), + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [92, 97, 80, 100, 86, 97, 83, 98, 87, 98, 93, 83, 87, 98, 96, 84, 91, 97, 88, 86, 94, 86, 95, 91, 98, 91, 92, 80, 83, 82] + }, + { + label: 'My Third dataset', + backgroundColor: 'transparent', + borderColor: getStyle('--danger'), + pointHoverBackgroundColor: '#fff', + borderWidth: 1, + borderDash: [8, 5], + data: [65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + drawOnChartArea: false + } + }], + yAxes: [{ + ticks: { + beginAtZero: true, + maxTicksLimit: 5, + stepSize: Math.ceil(250 / 5), + max: 250 + } + }] + }, + elements: { + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4, + hoverBorderWidth: 3 + } + } + } +}) + +const brandBoxChartLabels = ['January', 'February', 'March', 'April', 'May', 'June', 'July'] + +const brandBoxChartOptions = { + responsive: true, + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display:false + }], + yAxes: [{ + display:false + }] + }, + elements: { + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4, + hoverBorderWidth: 3 + } + } +} + +// eslint-disable-next-line no-unused-vars +const brandBoxChart1 = new Chart($('#social-box-chart-1'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [65, 59, 84, 84, 51, 55, 40] + }] + }, + options: brandBoxChartOptions +}) + +// eslint-disable-next-line no-unused-vars +const brandBoxChart2 = new Chart($('#social-box-chart-2'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [1, 13, 9, 17, 34, 41, 38] + }] + }, + options: brandBoxChartOptions +}) + +// eslint-disable-next-line no-unused-vars +const brandBoxChart3 = new Chart($('#social-box-chart-3'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [78, 81, 80, 45, 34, 12, 40] + }] + }, + options: brandBoxChartOptions +}) + +// eslint-disable-next-line no-unused-vars +const brandBoxChart4 = new Chart($('#social-box-chart-4'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [35, 23, 56, 22, 97, 23, 64] + }] + }, + options: brandBoxChartOptions +}) diff --git a/src/admin/js/src/popovers.js b/src/admin/js/src/popovers.js new file mode 100644 index 0000000..c6558ba --- /dev/null +++ b/src/admin/js/src/popovers.js @@ -0,0 +1,13 @@ +import $ from 'jquery' + +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): popovers.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ + +$('[data-toggle="popover"]').popover() +$('.popover-dismiss').popover({ + trigger: 'focus' +}) diff --git a/src/admin/js/src/tooltips.js b/src/admin/js/src/tooltips.js new file mode 100644 index 0000000..443723b --- /dev/null +++ b/src/admin/js/src/tooltips.js @@ -0,0 +1,10 @@ +import $ from 'jquery' + +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): tooltips.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ + +$('[data-toggle="tooltip"]').tooltip() diff --git a/src/admin/js/src/widgets.js b/src/admin/js/src/widgets.js new file mode 100644 index 0000000..080323a --- /dev/null +++ b/src/admin/js/src/widgets.js @@ -0,0 +1,480 @@ +/* global Chart, CustomTooltips, getStyle */ +import $ from 'jquery' + +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): main.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ + +/* eslint-disable no-magic-numbers */ +// Disable the on-canvas tooltip +Chart.defaults.global.pointHitDetectionRadius = 1 +Chart.defaults.global.tooltips.enabled = false +Chart.defaults.global.tooltips.mode = 'index' +Chart.defaults.global.tooltips.position = 'nearest' +Chart.defaults.global.tooltips.custom = CustomTooltips + +// eslint-disable-next-line no-unused-vars +const cardChart1 = new Chart($('#card-chart1'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [ + { + label: 'My First dataset', + backgroundColor: getStyle('--primary'), + borderColor: 'rgba(255,255,255,.55)', + data: [65, 59, 84, 84, 51, 55, 40] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + color: 'transparent', + zeroLineColor: 'transparent' + }, + ticks: { + fontSize: 2, + fontColor: 'transparent' + } + }], + yAxes: [{ + display: false, + ticks: { + display: false, + min: 35, + max: 89 + } + }] + }, + elements: { + line: { + borderWidth: 1 + }, + point: { + radius: 4, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}) + +// eslint-disable-next-line no-unused-vars +const cardChart2 = new Chart($('#card-chart2'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [ + { + label: 'My First dataset', + backgroundColor: getStyle('--info'), + borderColor: 'rgba(255,255,255,.55)', + data: [1, 18, 9, 17, 34, 22, 11] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + color: 'transparent', + zeroLineColor: 'transparent' + }, + ticks: { + fontSize: 2, + fontColor: 'transparent' + } + }], + yAxes: [{ + display: false, + ticks: { + display: false, + min: -4, + max: 39 + } + }] + }, + elements: { + line: { + tension: 0.00001, + borderWidth: 1 + }, + point: { + radius: 4, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}) + +// eslint-disable-next-line no-unused-vars +const cardChart3 = new Chart($('#card-chart3'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [ + { + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.2)', + borderColor: 'rgba(255,255,255,.55)', + data: [78, 81, 80, 45, 34, 12, 40] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + line: { + borderWidth: 2 + }, + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}) + +// eslint-disable-next-line no-unused-vars +const cardChart4 = new Chart($('#card-chart4'), { + type: 'bar', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December', 'January', 'February', 'March', 'April'], + datasets: [ + { + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.2)', + borderColor: 'rgba(255,255,255,.55)', + data: [78, 81, 80, 45, 34, 12, 40, 85, 65, 23, 12, 98, 34, 84, 67, 82] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false, + barPercentage: 0.6 + }], + yAxes: [{ + display: false + }] + } + } +}) + +// Random Numbers +const random = (min, max) => Math.floor(Math.random() * (max - min + 1) + min) + +// eslint-disable-next-line no-unused-vars +const sparklineChart1 = new Chart($('#sparkline-chart-1'), { + type: 'bar', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'], + datasets: [ + { + backgroundColor: getStyle('--primary'), + borderColor: 'transparent', + borderWidth: 1, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + } + } +}) + +// eslint-disable-next-line no-unused-vars +const sparklineChart2 = new Chart($('#sparkline-chart-2'), { + type: 'bar', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'], + datasets: [ + { + backgroundColor: getStyle('--warning'), + borderColor: 'transparent', + borderWidth: 1, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + } + } +}) + +// eslint-disable-next-line no-unused-vars +const sparklineChart3 = new Chart($('#sparkline-chart-3'), { + type: 'bar', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'], + datasets: [ + { + backgroundColor: getStyle('--success'), + borderColor: 'transparent', + borderWidth: 1, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + } + } +}) + +// eslint-disable-next-line no-unused-vars +const sparklineChart4 = new Chart($('#sparkline-chart-4'), { + type: 'line', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S'], + datasets: [ + { + backgroundColor: 'transparent', + borderColor: getStyle('--info'), + borderWidth: 2, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + point: { + radius: 0 + } + } + } +}) + +// eslint-disable-next-line no-unused-vars +const sparklineChart5 = new Chart($('#sparkline-chart-5'), { + type: 'line', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S'], + datasets: [ + { + backgroundColor: 'transparent', + borderColor: getStyle('--success'), + borderWidth: 2, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + point: { + radius: 0 + } + } + } +}) + +// eslint-disable-next-line no-unused-vars +const sparklineChart6 = new Chart($('#sparkline-chart-6'), { + type: 'line', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S'], + datasets: [ + { + backgroundColor: 'transparent', + borderColor: getStyle('--danger'), + borderWidth: 2, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + } + ] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + point: { + radius: 0 + } + } + } +}) + +const brandBoxChartLabels = ['January', 'February', 'March', 'April', 'May', 'June', 'July'] +const brandBoxChartOptions = { + responsive: true, + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display:false + }], + yAxes: [{ + display:false + }] + }, + elements: { + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4, + hoverBorderWidth: 3 + } + } +} + +// eslint-disable-next-line no-unused-vars +const brandBoxChart1 = new Chart($('#social-box-chart-1'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [65, 59, 84, 84, 51, 55, 40] + }] + }, + options: brandBoxChartOptions +}) + +// eslint-disable-next-line no-unused-vars +const brandBoxChart2 = new Chart($('#social-box-chart-2'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [1, 13, 9, 17, 34, 41, 38] + }] + }, + options: brandBoxChartOptions +}) + +// eslint-disable-next-line no-unused-vars +const brandBoxChart3 = new Chart($('#social-box-chart-3'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [78, 81, 80, 45, 34, 12, 40] + }] + }, + options: brandBoxChartOptions +}) + +// eslint-disable-next-line no-unused-vars +const brandBoxChart4 = new Chart($('#social-box-chart-4'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [35, 23, 56, 22, 97, 23, 64] + }] + }, + options: brandBoxChartOptions +}) diff --git a/src/admin/js/tooltips.js b/src/admin/js/tooltips.js new file mode 100644 index 0000000..b1106a0 --- /dev/null +++ b/src/admin/js/tooltips.js @@ -0,0 +1,8 @@ +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): tooltips.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ +$('[data-toggle="tooltip"]').tooltip(); +//# sourceMappingURL=tooltips.js.map \ No newline at end of file diff --git a/src/admin/js/tooltips.js.map b/src/admin/js/tooltips.js.map new file mode 100644 index 0000000..71ef6ff --- /dev/null +++ b/src/admin/js/tooltips.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/tooltips.js"],"names":["$","tooltip"],"mappings":"AAEA;;;;;;AAOAA,CAAC,CAAC,yBAAD,CAAD,CAA6BC,OAA7B","sourcesContent":["import $ from 'jquery'\n\n/**\n * --------------------------------------------------------------------------\n * CoreUI Free Boostrap Admin Template (v2.1.8): tooltips.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\n$('[data-toggle=\"tooltip\"]').tooltip()\n"],"file":"tooltips.js"} \ No newline at end of file diff --git a/src/admin/js/widgets.js b/src/admin/js/widgets.js new file mode 100644 index 0000000..75ba7ee --- /dev/null +++ b/src/admin/js/widgets.js @@ -0,0 +1,447 @@ +/* global Chart, CustomTooltips, getStyle */ + +/** + * -------------------------------------------------------------------------- + * CoreUI Free Boostrap Admin Template (v2.1.8): main.js + * Licensed under MIT (https://coreui.io/license) + * -------------------------------------------------------------------------- + */ + +/* eslint-disable no-magic-numbers */ +// Disable the on-canvas tooltip +Chart.defaults.global.pointHitDetectionRadius = 1; +Chart.defaults.global.tooltips.enabled = false; +Chart.defaults.global.tooltips.mode = 'index'; +Chart.defaults.global.tooltips.position = 'nearest'; +Chart.defaults.global.tooltips.custom = CustomTooltips; // eslint-disable-next-line no-unused-vars + +var cardChart1 = new Chart($('#card-chart1'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [{ + label: 'My First dataset', + backgroundColor: getStyle('--primary'), + borderColor: 'rgba(255,255,255,.55)', + data: [65, 59, 84, 84, 51, 55, 40] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + color: 'transparent', + zeroLineColor: 'transparent' + }, + ticks: { + fontSize: 2, + fontColor: 'transparent' + } + }], + yAxes: [{ + display: false, + ticks: { + display: false, + min: 35, + max: 89 + } + }] + }, + elements: { + line: { + borderWidth: 1 + }, + point: { + radius: 4, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}); // eslint-disable-next-line no-unused-vars + +var cardChart2 = new Chart($('#card-chart2'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [{ + label: 'My First dataset', + backgroundColor: getStyle('--info'), + borderColor: 'rgba(255,255,255,.55)', + data: [1, 18, 9, 17, 34, 22, 11] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + gridLines: { + color: 'transparent', + zeroLineColor: 'transparent' + }, + ticks: { + fontSize: 2, + fontColor: 'transparent' + } + }], + yAxes: [{ + display: false, + ticks: { + display: false, + min: -4, + max: 39 + } + }] + }, + elements: { + line: { + tension: 0.00001, + borderWidth: 1 + }, + point: { + radius: 4, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}); // eslint-disable-next-line no-unused-vars + +var cardChart3 = new Chart($('#card-chart3'), { + type: 'line', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.2)', + borderColor: 'rgba(255,255,255,.55)', + data: [78, 81, 80, 45, 34, 12, 40] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + line: { + borderWidth: 2 + }, + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4 + } + } + } +}); // eslint-disable-next-line no-unused-vars + +var cardChart4 = new Chart($('#card-chart4'), { + type: 'bar', + data: { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December', 'January', 'February', 'March', 'April'], + datasets: [{ + label: 'My First dataset', + backgroundColor: 'rgba(255,255,255,.2)', + borderColor: 'rgba(255,255,255,.55)', + data: [78, 81, 80, 45, 34, 12, 40, 85, 65, 23, 12, 98, 34, 84, 67, 82] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false, + barPercentage: 0.6 + }], + yAxes: [{ + display: false + }] + } + } +}); // Random Numbers + +var random = function random(min, max) { + return Math.floor(Math.random() * (max - min + 1) + min); +}; // eslint-disable-next-line no-unused-vars + + +var sparklineChart1 = new Chart($('#sparkline-chart-1'), { + type: 'bar', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'], + datasets: [{ + backgroundColor: getStyle('--primary'), + borderColor: 'transparent', + borderWidth: 1, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + } + } +}); // eslint-disable-next-line no-unused-vars + +var sparklineChart2 = new Chart($('#sparkline-chart-2'), { + type: 'bar', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'], + datasets: [{ + backgroundColor: getStyle('--warning'), + borderColor: 'transparent', + borderWidth: 1, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + } + } +}); // eslint-disable-next-line no-unused-vars + +var sparklineChart3 = new Chart($('#sparkline-chart-3'), { + type: 'bar', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'], + datasets: [{ + backgroundColor: getStyle('--success'), + borderColor: 'transparent', + borderWidth: 1, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + } + } +}); // eslint-disable-next-line no-unused-vars + +var sparklineChart4 = new Chart($('#sparkline-chart-4'), { + type: 'line', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S'], + datasets: [{ + backgroundColor: 'transparent', + borderColor: getStyle('--info'), + borderWidth: 2, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + point: { + radius: 0 + } + } + } +}); // eslint-disable-next-line no-unused-vars + +var sparklineChart5 = new Chart($('#sparkline-chart-5'), { + type: 'line', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S'], + datasets: [{ + backgroundColor: 'transparent', + borderColor: getStyle('--success'), + borderWidth: 2, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + point: { + radius: 0 + } + } + } +}); // eslint-disable-next-line no-unused-vars + +var sparklineChart6 = new Chart($('#sparkline-chart-6'), { + type: 'line', + data: { + labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S'], + datasets: [{ + backgroundColor: 'transparent', + borderColor: getStyle('--danger'), + borderWidth: 2, + data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)] + }] + }, + options: { + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + point: { + radius: 0 + } + } + } +}); +var brandBoxChartLabels = ['January', 'February', 'March', 'April', 'May', 'June', 'July']; +var brandBoxChartOptions = { + responsive: true, + maintainAspectRatio: false, + legend: { + display: false + }, + scales: { + xAxes: [{ + display: false + }], + yAxes: [{ + display: false + }] + }, + elements: { + point: { + radius: 0, + hitRadius: 10, + hoverRadius: 4, + hoverBorderWidth: 3 + } + } // eslint-disable-next-line no-unused-vars + +}; +var brandBoxChart1 = new Chart($('#social-box-chart-1'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [65, 59, 84, 84, 51, 55, 40] + }] + }, + options: brandBoxChartOptions +}); // eslint-disable-next-line no-unused-vars + +var brandBoxChart2 = new Chart($('#social-box-chart-2'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [1, 13, 9, 17, 34, 41, 38] + }] + }, + options: brandBoxChartOptions +}); // eslint-disable-next-line no-unused-vars + +var brandBoxChart3 = new Chart($('#social-box-chart-3'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [78, 81, 80, 45, 34, 12, 40] + }] + }, + options: brandBoxChartOptions +}); // eslint-disable-next-line no-unused-vars + +var brandBoxChart4 = new Chart($('#social-box-chart-4'), { + type: 'line', + data: { + labels: brandBoxChartLabels, + datasets: [{ + backgroundColor: 'rgba(255,255,255,.1)', + borderColor: 'rgba(255,255,255,.55)', + pointHoverBackgroundColor: '#fff', + borderWidth: 2, + data: [35, 23, 56, 22, 97, 23, 64] + }] + }, + options: brandBoxChartOptions +}); +//# sourceMappingURL=widgets.js.map \ No newline at end of file diff --git a/src/admin/js/widgets.js.map b/src/admin/js/widgets.js.map new file mode 100644 index 0000000..3a4c80d --- /dev/null +++ b/src/admin/js/widgets.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/widgets.js"],"names":["Chart","defaults","global","pointHitDetectionRadius","tooltips","enabled","mode","position","custom","CustomTooltips","cardChart1","$","type","data","labels","datasets","label","backgroundColor","getStyle","borderColor","options","maintainAspectRatio","legend","display","scales","xAxes","gridLines","color","zeroLineColor","ticks","fontSize","fontColor","yAxes","min","max","elements","line","borderWidth","point","radius","hitRadius","hoverRadius","cardChart2","tension","cardChart3","cardChart4","barPercentage","random","Math","floor","sparklineChart1","sparklineChart2","sparklineChart3","sparklineChart4","sparklineChart5","sparklineChart6","brandBoxChartLabels","brandBoxChartOptions","responsive","hoverBorderWidth","brandBoxChart1","pointHoverBackgroundColor","brandBoxChart2","brandBoxChart3","brandBoxChart4"],"mappings":"AAAA;;AAGA;;;;;;;AAOA;AACA;AACAA,KAAK,CAACC,QAAN,CAAeC,MAAf,CAAsBC,uBAAtB,GAAgD,CAAhD;AACAH,KAAK,CAACC,QAAN,CAAeC,MAAf,CAAsBE,QAAtB,CAA+BC,OAA/B,GAAyC,KAAzC;AACAL,KAAK,CAACC,QAAN,CAAeC,MAAf,CAAsBE,QAAtB,CAA+BE,IAA/B,GAAsC,OAAtC;AACAN,KAAK,CAACC,QAAN,CAAeC,MAAf,CAAsBE,QAAtB,CAA+BG,QAA/B,GAA0C,SAA1C;AACAP,KAAK,CAACC,QAAN,CAAeC,MAAf,CAAsBE,QAAtB,CAA+BI,MAA/B,GAAwCC,cAAxC,C,CAEA;;AACA,IAAMC,UAAU,GAAG,IAAIV,KAAJ,CAAUW,CAAC,CAAC,cAAD,CAAX,EAA6B;AAC9CC,EAAAA,IAAI,EAAE,MADwC;AAE9CC,EAAAA,IAAI,EAAE;AACJC,IAAAA,MAAM,EAAE,CAAC,SAAD,EAAY,UAAZ,EAAwB,OAAxB,EAAiC,OAAjC,EAA0C,KAA1C,EAAiD,MAAjD,EAAyD,MAAzD,CADJ;AAEJC,IAAAA,QAAQ,EAAE,CACR;AACEC,MAAAA,KAAK,EAAE,kBADT;AAEEC,MAAAA,eAAe,EAAEC,QAAQ,CAAC,WAAD,CAF3B;AAGEC,MAAAA,WAAW,EAAE,uBAHf;AAIEN,MAAAA,IAAI,EAAE,CAAC,EAAD,EAAK,EAAL,EAAS,EAAT,EAAa,EAAb,EAAiB,EAAjB,EAAqB,EAArB,EAAyB,EAAzB;AAJR,KADQ;AAFN,GAFwC;AAa9CO,EAAAA,OAAO,EAAE;AACPC,IAAAA,mBAAmB,EAAE,KADd;AAEPC,IAAA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------------------------------------------------------\n * CoreUI Free Boostrap Admin Template (v2.1.8): main.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\n/* eslint-disable no-magic-numbers */\n// Disable the on-canvas tooltip\nChart.defaults.global.pointHitDetectionRadius = 1\nChart.defaults.global.tooltips.enabled = false\nChart.defaults.global.tooltips.mode = 'index'\nChart.defaults.global.tooltips.position = 'nearest'\nChart.defaults.global.tooltips.custom = CustomTooltips\n\n// eslint-disable-next-line no-unused-vars\nconst cardChart1 = new Chart($('#card-chart1'), {\n type: 'line',\n data: {\n labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n datasets: [\n {\n label: 'My First dataset',\n backgroundColor: getStyle('--primary'),\n borderColor: 'rgba(255,255,255,.55)',\n data: [65, 59, 84, 84, 51, 55, 40]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n gridLines: {\n color: 'transparent',\n zeroLineColor: 'transparent'\n },\n ticks: {\n fontSize: 2,\n fontColor: 'transparent'\n }\n }],\n yAxes: [{\n display: false,\n ticks: {\n display: false,\n min: 35,\n max: 89\n }\n }]\n },\n elements: {\n line: {\n borderWidth: 1\n },\n point: {\n radius: 4,\n hitRadius: 10,\n hoverRadius: 4\n }\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst cardChart2 = new Chart($('#card-chart2'), {\n type: 'line',\n data: {\n labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n datasets: [\n {\n label: 'My First dataset',\n backgroundColor: getStyle('--info'),\n borderColor: 'rgba(255,255,255,.55)',\n data: [1, 18, 9, 17, 34, 22, 11]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n gridLines: {\n color: 'transparent',\n zeroLineColor: 'transparent'\n },\n ticks: {\n fontSize: 2,\n fontColor: 'transparent'\n }\n }],\n yAxes: [{\n display: false,\n ticks: {\n display: false,\n min: -4,\n max: 39\n }\n }]\n },\n elements: {\n line: {\n tension: 0.00001,\n borderWidth: 1\n },\n point: {\n radius: 4,\n hitRadius: 10,\n hoverRadius: 4\n }\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst cardChart3 = new Chart($('#card-chart3'), {\n type: 'line',\n data: {\n labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n datasets: [\n {\n label: 'My First dataset',\n backgroundColor: 'rgba(255,255,255,.2)',\n borderColor: 'rgba(255,255,255,.55)',\n data: [78, 81, 80, 45, 34, 12, 40]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false\n }],\n yAxes: [{\n display: false\n }]\n },\n elements: {\n line: {\n borderWidth: 2\n },\n point: {\n radius: 0,\n hitRadius: 10,\n hoverRadius: 4\n }\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst cardChart4 = new Chart($('#card-chart4'), {\n type: 'bar',\n data: {\n labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December', 'January', 'February', 'March', 'April'],\n datasets: [\n {\n label: 'My First dataset',\n backgroundColor: 'rgba(255,255,255,.2)',\n borderColor: 'rgba(255,255,255,.55)',\n data: [78, 81, 80, 45, 34, 12, 40, 85, 65, 23, 12, 98, 34, 84, 67, 82]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false,\n barPercentage: 0.6\n }],\n yAxes: [{\n display: false\n }]\n }\n }\n})\n\n// Random Numbers\nconst random = (min, max) => Math.floor(Math.random() * (max - min + 1) + min)\n\n// eslint-disable-next-line no-unused-vars\nconst sparklineChart1 = new Chart($('#sparkline-chart-1'), {\n type: 'bar',\n data: {\n labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'],\n datasets: [\n {\n backgroundColor: getStyle('--primary'),\n borderColor: 'transparent',\n borderWidth: 1,\n data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false\n }],\n yAxes: [{\n display: false\n }]\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst sparklineChart2 = new Chart($('#sparkline-chart-2'), {\n type: 'bar',\n data: {\n labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'],\n datasets: [\n {\n backgroundColor: getStyle('--warning'),\n borderColor: 'transparent',\n borderWidth: 1,\n data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false\n }],\n yAxes: [{\n display: false\n }]\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst sparklineChart3 = new Chart($('#sparkline-chart-3'), {\n type: 'bar',\n data: {\n labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'],\n datasets: [\n {\n backgroundColor: getStyle('--success'),\n borderColor: 'transparent',\n borderWidth: 1,\n data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false\n }],\n yAxes: [{\n display: false\n }]\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst sparklineChart4 = new Chart($('#sparkline-chart-4'), {\n type: 'line',\n data: {\n labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S'],\n datasets: [\n {\n backgroundColor: 'transparent',\n borderColor: getStyle('--info'),\n borderWidth: 2,\n data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false\n }],\n yAxes: [{\n display: false\n }]\n },\n elements: {\n point: {\n radius: 0\n }\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst sparklineChart5 = new Chart($('#sparkline-chart-5'), {\n type: 'line',\n data: {\n labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S'],\n datasets: [\n {\n backgroundColor: 'transparent',\n borderColor: getStyle('--success'),\n borderWidth: 2,\n data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false\n }],\n yAxes: [{\n display: false\n }]\n },\n elements: {\n point: {\n radius: 0\n }\n }\n }\n})\n\n// eslint-disable-next-line no-unused-vars\nconst sparklineChart6 = new Chart($('#sparkline-chart-6'), {\n type: 'line',\n data: {\n labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S'],\n datasets: [\n {\n backgroundColor: 'transparent',\n borderColor: getStyle('--danger'),\n borderWidth: 2,\n data: [random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100), random(40, 100)]\n }\n ]\n },\n options: {\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display: false\n }],\n yAxes: [{\n display: false\n }]\n },\n elements: {\n point: {\n radius: 0\n }\n }\n }\n})\n\nconst brandBoxChartLabels = ['January', 'February', 'March', 'April', 'May', 'June', 'July']\nconst brandBoxChartOptions = {\n responsive: true,\n maintainAspectRatio: false,\n legend: {\n display: false\n },\n scales: {\n xAxes: [{\n display:false\n }],\n yAxes: [{\n display:false\n }]\n },\n elements: {\n point: {\n radius: 0,\n hitRadius: 10,\n hoverRadius: 4,\n hoverBorderWidth: 3\n }\n }\n}\n\n// eslint-disable-next-line no-unused-vars\nconst brandBoxChart1 = new Chart($('#social-box-chart-1'), {\n type: 'line',\n data: {\n labels: brandBoxChartLabels,\n datasets: [{\n backgroundColor: 'rgba(255,255,255,.1)',\n borderColor: 'rgba(255,255,255,.55)',\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [65, 59, 84, 84, 51, 55, 40]\n }]\n },\n options: brandBoxChartOptions\n})\n\n// eslint-disable-next-line no-unused-vars\nconst brandBoxChart2 = new Chart($('#social-box-chart-2'), {\n type: 'line',\n data: {\n labels: brandBoxChartLabels,\n datasets: [{\n backgroundColor: 'rgba(255,255,255,.1)',\n borderColor: 'rgba(255,255,255,.55)',\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [1, 13, 9, 17, 34, 41, 38]\n }]\n },\n options: brandBoxChartOptions\n})\n\n// eslint-disable-next-line no-unused-vars\nconst brandBoxChart3 = new Chart($('#social-box-chart-3'), {\n type: 'line',\n data: {\n labels: brandBoxChartLabels,\n datasets: [{\n backgroundColor: 'rgba(255,255,255,.1)',\n borderColor: 'rgba(255,255,255,.55)',\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [78, 81, 80, 45, 34, 12, 40]\n }]\n },\n options: brandBoxChartOptions\n})\n\n// eslint-disable-next-line no-unused-vars\nconst brandBoxChart4 = new Chart($('#social-box-chart-4'), {\n type: 'line',\n data: {\n labels: brandBoxChartLabels,\n datasets: [{\n backgroundColor: 'rgba(255,255,255,.1)',\n borderColor: 'rgba(255,255,255,.55)',\n pointHoverBackgroundColor: '#fff',\n borderWidth: 2,\n data: [35, 23, 56, 22, 97, 23, 64]\n }]\n },\n options: brandBoxChartOptions\n})\n"],"file":"widgets.js"} \ No newline at end of file diff --git a/src/admin/produit.php b/src/admin/produit.php new file mode 100644 index 0000000..8084db1 --- /dev/null +++ b/src/admin/produit.php @@ -0,0 +1,497 @@ +id_produit == "" || $produits->id_produit == null)) { + header("Location: produits.php"); + die(); +} + +if (isset($_GET["approuver"]) && $_GET["approuver"] == "1") { + $produits->status = "A"; + $produits->update(); + + header("Location: produits.php"); + die(); +} + + +$comptes = new \Dietetique\Models\Comptes(null, $_SESSION["email"]); + +$categories = new \Dietetique\Models\Categorie(); +$categories = $categories->select(); + +$fournisseurs = new \Dietetique\Models\Fournisseurs(); +$fournisseurs = $fournisseurs->select(); + +$fournprod = new \Dietetique\Models\ProduitsFournisseurs($produits->id_produit); + +$formats = new \Dietetique\Models\Format(); +$formats = $formats->select(); + + +if (isset($_POST["update"])) { + $_POST = \Dietetique\Helpers\Security::clean($_POST); + + if ( + isset($_POST["nom"]) && + isset($_POST["description"]) && + isset($_POST["marque"]) && + isset($_POST["prix"]) && + isset($_POST["minachat"]) && + isset($_POST["limite"]) && + isset($_POST["unite"]) && + isset($_POST["status"]) && + isset($_POST["fraisfixe"]) && + isset($_POST["economie"]) && + isset($_FILES["imageproduit"]) && + isset($_FILES["valeurnutritive"]) + ) { + + \Dietetique\Helpers\Html\Forms::CheckEmptyForm($_POST, $errors); + + $errors["fournisseur"] = !isset($_POST["fournisseur"]); + $errors["categorie"] = !isset($_POST["categorie"]); + $errors["format"] = !isset($_POST["format"]); + $produitexiste = ($produits->existe($_POST["nom"], $_POST["marque"], $_POST["unite"], $_POST["format"], $_POST["fournisseur"]) && ($_POST["nom"] != $produits->nom || $_POST["marque"] != $produits->marque || $_POST["unite"] != $produits->unite || $_POST["format"] != $produits->format || $_POST["fournisseur"] != $fournprod->id_fournisseur)); + + $errors["existe"] = $produitexiste; + + if ($errors["nom"] != 1 && !$errors["existe"] && $errors["categorie"] != 1 && $errors["marque"] != 1 && $errors["fournisseur"] != 1 && $errors["prix"] != 1 && $errors["fraisfixe"] != 1 && $errors["minachat"] != 1 && $errors["limite"] != 1 && $errors["unite"] != 1 && $errors["format"] != 1 && $errors["status"] != 1) { + $imagedir = ""; + $valeurnutritive = ""; + + try { + $imagedir = \Dietetique\Helpers\FileUpload::UploadFile($_FILES["imageproduit"]); + $valeurnutritive = \Dietetique\Helpers\FileUpload::UploadFile($_FILES["valeurnutritive"]); + } catch (Exception $e) { + die($e->getMessage() . " Retour"); + } + + $produits->nom = $_POST["nom"]; + $produits->description = $_POST["description"]; + $produits->marque = $_POST["marque"]; + $produits->achat_minimum = $_POST["minachat"] <= 0 ? 1 : $_POST["minachat"]; + $produits->limite_achat = $_POST["limite"] < 0 ? 0 : $_POST["limite"]; + $produits->unite = $_POST["unite"] < 0 ? 0 : $_POST["unite"]; + $produits->format = $_POST["format"]; + $produits->categorie = $_POST["categorie"]; + $produits->economie = $_POST["economie"]; + $produits->frais_fixe = $_POST["fraisfixe"] < 0 ? 0 : str_replace(',', '.', str_replace(' ', '', $_POST["fraisfixe"])); + $produits->status = $_POST["status"]; + + if (!empty($imagedir)) + $produits->image_produit = $imagedir; + + if (!empty($valeurnutritive)) + $produits->valeur_nutritive = $valeurnutritive; + + try { + $produits->update(); + } catch (PDOException $e) { + $produits->db->handle->rollBack(); + } + + + $fournprod->id_fournisseur = $_POST["fournisseur"]; // à changer + $fournprod->id_produit = $produits->id_produit; + $fournprod->prix = $_POST["prix"] < 0 ? 0 : str_replace(',', '.', str_replace(' ', '', $_POST["prix"])); + + try { + $fournprod->update(); + } catch (PDOException $e) { + $fournprod->db->handle->rollBack(); + } + + header("Location: produits.php"); + } + + + } +} + +if (isset($_GET["supp"]) && !empty($_GET["supp"])) { + $produits->status = "I"; + $produits->update(); + header("Location: produits.php"); + die(); +} + +?> + + + + + + + + + + + Détails du produit - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
+
Détails du produit + + status != "I"): ?> + + + +
+
+ + +
+ Le produit existe déja +
+ + +
+ +
+ +
+ +
+
+ + + + " + id="nom" maxlength="254" + type="text" name="nom" + value="nom ?>" + placeholder="Nom du produit"> +
+ +
+ +
+ + + Ajouter une catégorie + + + +
+
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+ + +
+ + + Ajouter un fournisseur + + + +
+ + +
+ +
+ + +
+ " + name="unite" + value="unite ?>" id="unite" + type="text" placeholder="0"> +
+ +
+
+ +
+
+ + +
+ " + name="prix" value="prix)) ?>" + id="prix" type="text" maxlength="20" placeholder="123"> +
+ +
+
+ +
+ +
+ + +
+ " + name="fraisfixe" value="frais_fixe)) ?>" + id="fraisfixe" type="text" maxlength="20" placeholder="123"> +
+ +
+
+ +
+
+ +
+
+ + " + id="marque" name="marque" maxlength="254" + value="marque) ?>"> +
+ +
+ + achat_minimum) ?>" + class="form-control" + id="min-achat" placeholder="0"> +
+ +
+ + limite_achat) ?>" + class="form-control" + id="limite" placeholder="0 = Aucune limite"> +
+ + + +
+ + + + +
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + + + + + + + diff --git a/src/admin/produits.php b/src/admin/produits.php new file mode 100644 index 0000000..1318de7 --- /dev/null +++ b/src/admin/produits.php @@ -0,0 +1,228 @@ +selectLikeStrict(null, $_POST["nom"], ($_POST["type"] == "suggestion" ? "S" : "A")); +else + $produits = $produits->select(); + +$format = new \Dietetique\Models\Format(); + +?> + + + + + + + + + + Gestion des produits - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
Liste de produits + +
+ +
+
+
+ " + placeholder="Rechercher un produit par nom"> + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + status = ($produit->totalCommandes() >= $produit->achat_minimum ? "P" : $produit->status) ?> + + + + + + + + + + + +
Nom du produitMarqueFormatMinimum pour commanderStatut
nom ?> + marque ?>unite . " " . $format->select($produit->format)[0]->nom ?>achat_minimum ?>status) { + case "A": + echo "Actif"; + break; + case "S": + echo "Suggestion"; + break; + case "P": + echo "Prêt pour commande"; + break; + default; + echo "Inactif"; + break; + } ?> + + status == "S"): ?> + Approuver + +
+
+
+ +
+
+
+
+ + + + + + + + + + + diff --git a/src/admin/utilisateur.php b/src/admin/utilisateur.php new file mode 100644 index 0000000..700bee2 --- /dev/null +++ b/src/admin/utilisateur.php @@ -0,0 +1,400 @@ +courriel == "" || $compte->courriel == null)) { + header("Location: utilisateurs.php"); + die(); +} + +if ($compte->courriel == "admin@admin.com") + $adminedit = true; + +if (isset($_GET["ban"]) && $_GET["ban"] == "1") { + if (!$adminedit) { + $compte->type = "B"; + $compte->update(); + } + + header("Location: utilisateurs.php"); + die(); +} + +if (isset($_GET["etudiant"]) && $_GET["etudiant"] == "1") { + if (!$adminedit) { + $compte->type = "E"; + $compte->update(); + } + + header("Location: utilisateurs.php"); + die(); +} + +if (isset($_POST["update"])) { + $_POST = \Dietetique\Helpers\Security::clean($_POST); + + if ( + isset($_POST["courriel"]) && + isset($_POST["nom"]) && + isset($_POST["prenom"]) && + isset($_POST["telephone"]) && + isset($_POST["poste"]) && + isset($_POST["role"]) + ) { + if (!$adminedit) { + \Dietetique\Helpers\Html\Forms::CheckEmptyForm($_POST, $errors); + + if ($errors["courriel"] != 1 && $errors["nom"] != 1 && $errors["prenom"] != 1 && $errors["telephone"] != 1 && $errors["role"] != 1) { + if ($_POST["courriel"] != "admin@admin.com") { + $existe = null; + + if ($compte->courriel != $_POST["courriel"]) + $existe = $compte->compteExiste($_POST["courriel"]); + + if (($existe != null && !$existe) || $existe == null) { + + if (filter_var($_POST["courriel"], FILTER_VALIDATE_EMAIL)) { + $compte->courriel = $_POST["courriel"]; + $compte->nom = $_POST["nom"]; + $compte->prenom = $_POST["prenom"]; + $compte->telephone = $_POST["telephone"]; + $compte->poste = $_POST["poste"]; + $compte->type = $_POST["role"]; + + try { + $compte->update(); + } catch (PDOException $e) { + $compte->db->handle->rollBack(); + } + + header("Location: utilisateurs.php"); + } else + $errors["courriel"] = "L'adresse courriel n'est pas valide"; + + } else + $errors["courriel"] = "L'adresse courriel existe déjà"; + } + } + } + } +} + +if (isset($_POST["modifpassword"])) { + if (isset($_POST["password"]) && $_POST["password"] != "" && isset($_POST["confirm"]) && $_POST["confirm"] != "") { + if (trim($_POST["password"]) != trim($_POST["confirm"])) { + $errors["password"] = "Les mots de passe ne correspondent pas"; + $errors["confirm"] = "Les mots de passe ne correspondent pas"; + } + + if (strlen(trim($_POST["password"])) < 6) + $errors["password"] = "Le mot de passe doit contenir plus de 6 caractères"; + + if (count($errors) == 0) { + $compte->changePassword($_POST["password"]); + } + } else { + $errors["password"] = "Le mot de passe ne doit pas être vide"; + $errors["confirm"] = "Le mot de passe ne doit pas être vide"; + } +} + +?> + + + + + + + + + + Détails de l'utilisateur - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
+
Détails du compte +
+
+ + +
+ Vous ne pouvez pas modifier les informations du compte administrateur par défaut. +
+ + + + +
+ +
+
+ + " + id="prenom" + type="text" name="prenom" + value="prenom ?>" + placeholder="Prénom" > +
+
+
+
+ + " + id="nom" + type="text" name="nom" + value="nom ?>" + placeholder="Nom" > +
+
+
+ +
+
+
+ + " + id="courriel" + type="text" name="courriel" + value="courriel ?>" + placeholder="Courriel" > +
+
+
+
+ + " + id="telephone" + type="text" name="telephone" + value="telephone ?>" + placeholder="Téléphone" > +
+
+ +
+
+ + > +
+
+ +
+
+ + +
+
+
+ + +
+ + +
+
+ +
+
+
Modification du mot de passe +
+ + + +
+
+ +
"> +
+
+
+
+ + " + id="password" + type="password" name="password" + placeholder="Nouveau mot de passe"> +
+
+
+
+ + " + id="confirm" + type="password" name="confirm" + placeholder="Confirmer le mot de passe"> +
+
+
+
+ + + +
+
+
+ +
+
+
+
+ + + + + + + + + + diff --git a/src/admin/utilisateurs.php b/src/admin/utilisateurs.php new file mode 100644 index 0000000..5bb43ea --- /dev/null +++ b/src/admin/utilisateurs.php @@ -0,0 +1,226 @@ +selectLike(null, $_POST["valeur"], $_POST["valeur"]); +} else + $comptes = $comptes->select(); + + +?> + + + + + + + + + + Gestion des utilisateurs - Administration + + + + + + + + + + + + + + +
+ +
+ + +
+
+ +
+
Liste des comptes
+ +
+
+
+ " + placeholder="Rechercher un compte par nom ou courriel"> + + + +
+
+ + + + + + + + + + + + + + + + + + telephone) == 10) { ?> + + + + + + + + + + + + +
CourrielNomTéléphoneType de compteActions
+ courriel ?> + prenom) > 15 ? substr($compte->prenom, 0, 15) . "..." : $compte->prenom) . " " . (strlen($compte->nom) > 15 ? substr($compte->nom, 0, 15) . "..." : $compte->nom) ?>telephone,0,3). ' ' .substr($compte->telephone,3,3). '-' .substr($compte->telephone, 6,4) ?>poste != ''){echo "   Poste: "; echo $compte->poste;}?>telephone?>poste != ''){echo "   Poste: "; echo $compte->poste;}?>type) { + case "U": + echo "Utilisateur"; + break; + case "E": + echo "Étudiant"; + break; + case "A": + echo "Administrateur"; + break; + case "B": + echo "
Banni
"; + break; + default; + echo "
Supprimé
"; + break; + } ?> +
+ courriel != "admin@admin.com" && $compte->type != "E" && $compte->type != "B"): ?> + Convertir en étudiant + + + courriel != "admin@admin.com" && $compte->type != "B"): ?> + Bannir + +
+
+
+ +
+
+
+
+ + + + + + + + + + + diff --git a/src/admin/vendors/@coreui/coreui-plugin-chartjs-custom-tooltips/js/custom-tooltips.min.js b/src/admin/vendors/@coreui/coreui-plugin-chartjs-custom-tooltips/js/custom-tooltips.min.js new file mode 100644 index 0000000..b85f50c --- /dev/null +++ b/src/admin/vendors/@coreui/coreui-plugin-chartjs-custom-tooltips/js/custom-tooltips.min.js @@ -0,0 +1,2 @@ +function CustomTooltips(s){var e,t,a=this,o="above",n="below",l="chartjs-tooltip",i="no-transform",c="tooltip-body",r="tooltip-body-item",d="tooltip-body-item-color",p="tooltip-body-item-label",m="tooltip-body-item-value",h="tooltip-header",u="tooltip-header-item",v={DIV:"div",SPAN:"span",TOOLTIP:(this._chart.canvas.id||(e=function(){return(65536*(1+Math.random())|0).toString(16)},t="_canvas-"+(e()+e()),a._chart.canvas.id=t))+"-tooltip"},y=document.getElementById(v.TOOLTIP);if(y||((y=document.createElement("div")).id=v.TOOLTIP,y.className=l,this._chart.canvas.parentNode.appendChild(y)),0!==s.opacity){if(y.classList.remove(o,n,i),s.yAlign?y.classList.add(s.yAlign):y.classList.add(i),s.body){var f=s.title||[],N=document.createElement(v.DIV);N.className=h,f.forEach(function(e){var t=document.createElement(v.DIV);t.className=u,t.innerHTML=e,N.appendChild(t)});var b=document.createElement(v.DIV);b.className=c,s.body.map(function(e){return e.lines}).forEach(function(e,t){var a=document.createElement(v.DIV);a.className=r;var o=s.labelColors[t],n=document.createElement(v.SPAN);if(n.className=d,n.style.backgroundColor=o.backgroundColor,a.appendChild(n),1 {\n const _idMaker = () => {\n const _hex = 16\n const _multiplier = 0x10000\n return ((1 + Math.random()) * _multiplier | 0).toString(_hex)\n }\n const _canvasId = `_canvas-${_idMaker() + _idMaker()}`\n this._chart.canvas.id = _canvasId\n return _canvasId\n }\n\n const ClassName = {\n ABOVE : 'above',\n BELOW : 'below',\n CHARTJS_TOOLTIP : 'chartjs-tooltip',\n NO_TRANSFORM : 'no-transform',\n TOOLTIP_BODY : 'tooltip-body',\n TOOLTIP_BODY_ITEM : 'tooltip-body-item',\n TOOLTIP_BODY_ITEM_COLOR : 'tooltip-body-item-color',\n TOOLTIP_BODY_ITEM_LABEL : 'tooltip-body-item-label',\n TOOLTIP_BODY_ITEM_VALUE : 'tooltip-body-item-value',\n TOOLTIP_HEADER : 'tooltip-header',\n TOOLTIP_HEADER_ITEM : 'tooltip-header-item'\n }\n\n const Selector = {\n DIV : 'div',\n SPAN : 'span',\n TOOLTIP : `${this._chart.canvas.id || _setCanvasId()}-tooltip`\n }\n\n let tooltip = document.getElementById(Selector.TOOLTIP)\n\n if (!tooltip) {\n tooltip = document.createElement('div')\n tooltip.id = Selector.TOOLTIP\n tooltip.className = ClassName.CHARTJS_TOOLTIP\n this._chart.canvas.parentNode.appendChild(tooltip)\n }\n\n // Hide if no tooltip\n if (tooltipModel.opacity === 0) {\n tooltip.style.opacity = 0\n return\n }\n\n // Set caret Position\n tooltip.classList.remove(ClassName.ABOVE, ClassName.BELOW, ClassName.NO_TRANSFORM)\n if (tooltipModel.yAlign) {\n tooltip.classList.add(tooltipModel.yAlign)\n } else {\n tooltip.classList.add(ClassName.NO_TRANSFORM)\n }\n\n // Set Text\n if (tooltipModel.body) {\n const titleLines = tooltipModel.title || []\n\n const tooltipHeader = document.createElement(Selector.DIV)\n tooltipHeader.className = ClassName.TOOLTIP_HEADER\n\n titleLines.forEach((title) => {\n const tooltipHeaderTitle = document.createElement(Selector.DIV)\n tooltipHeaderTitle.className = ClassName.TOOLTIP_HEADER_ITEM\n tooltipHeaderTitle.innerHTML = title\n tooltipHeader.appendChild(tooltipHeaderTitle)\n })\n\n const tooltipBody = document.createElement(Selector.DIV)\n tooltipBody.className = ClassName.TOOLTIP_BODY\n\n const tooltipBodyItems = tooltipModel.body.map((item) => item.lines)\n tooltipBodyItems.forEach((item, i) => {\n const tooltipBodyItem = document.createElement(Selector.DIV)\n tooltipBodyItem.className = ClassName.TOOLTIP_BODY_ITEM\n\n const colors = tooltipModel.labelColors[i]\n\n const tooltipBodyItemColor = document.createElement(Selector.SPAN)\n tooltipBodyItemColor.className = ClassName.TOOLTIP_BODY_ITEM_COLOR\n tooltipBodyItemColor.style.backgroundColor = colors.backgroundColor\n\n tooltipBodyItem.appendChild(tooltipBodyItemColor)\n\n if (item[0].split(':').length > 1) {\n const tooltipBodyItemLabel = document.createElement(Selector.SPAN)\n tooltipBodyItemLabel.className = ClassName.TOOLTIP_BODY_ITEM_LABEL\n tooltipBodyItemLabel.innerHTML = item[0].split(': ')[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemLabel)\n\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0].split(': ').pop()\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n } else {\n const tooltipBodyItemValue = document.createElement(Selector.SPAN)\n tooltipBodyItemValue.className = ClassName.TOOLTIP_BODY_ITEM_VALUE\n tooltipBodyItemValue.innerHTML = item[0]\n\n tooltipBodyItem.appendChild(tooltipBodyItemValue)\n }\n\n tooltipBody.appendChild(tooltipBodyItem)\n })\n\n tooltip.innerHTML = ''\n\n tooltip.appendChild(tooltipHeader)\n tooltip.appendChild(tooltipBody)\n }\n\n const positionY = this._chart.canvas.offsetTop\n const positionX = this._chart.canvas.offsetLeft\n\n // Display, position, and set styles for font\n tooltip.style.opacity = 1\n tooltip.style.left = `${positionX + tooltipModel.caretX}px`\n tooltip.style.top = `${positionY + tooltipModel.caretY}px`\n}\n\nexport default CustomTooltips\n"]} \ No newline at end of file diff --git a/src/admin/vendors/@coreui/coreui/js/coreui.min.js b/src/admin/vendors/@coreui/coreui/js/coreui.min.js new file mode 100644 index 0000000..be6ef4b --- /dev/null +++ b/src/admin/vendors/@coreui/coreui/js/coreui.min.js @@ -0,0 +1,657 @@ +/*! + * CoreUI v2.0.26 (https://coreui.io) + * Copyright 2018 �ukasz Holeczek + * Licensed under MIT (https://coreui.io) + */ +!function (t, e) { + "object" == typeof exports && "undefined" != typeof module ? e(exports, require("jquery"), require("perfect-scrollbar")) : "function" == typeof define && define.amd ? define(["exports", "jquery", "perfect-scrollbar"], e) : e(t.coreui = {}, t.jQuery, t.PerfectScrollbar) +}(this, function (t, e, r) { + "use strict"; + e = e && e.hasOwnProperty("default") ? e.default : e, r = r && r.hasOwnProperty("default") ? r.default : r; + var i = function (t) { + return "object" == typeof t ? null !== t : "function" == typeof t + }, a = function (t) { + if (!i(t)) throw TypeError(t + " is not an object!"); + return t + }, u = function (t) { + try { + return !!t() + } catch (t) { + return !0 + } + }, n = !u(function () { + return 7 != Object.defineProperty({}, "a", { + get: function () { + return 7 + } + }).a + }); + + function o(t, e) { + return t(e = {exports: {}}, e.exports), e.exports + } + + var v = o(function (t) { + var e = t.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")(); + "number" == typeof __g && (__g = e) + }), c = v.document, s = i(c) && i(c.createElement), l = function (t) { + return s ? c.createElement(t) : {} + }, f = !n && !u(function () { + return 7 != Object.defineProperty(l("div"), "a", { + get: function () { + return 7 + } + }).a + }), d = Object.defineProperty, p = { + f: n ? Object.defineProperty : function (t, e, n) { + if (a(t), e = function (t, e) { + if (!i(t)) return t; + var n, r; + if (e && "function" == typeof (n = t.toString) && !i(r = n.call(t))) return r; + if ("function" == typeof (n = t.valueOf) && !i(r = n.call(t))) return r; + if (!e && "function" == typeof (n = t.toString) && !i(r = n.call(t))) return r; + throw TypeError("Can't convert object to primitive value") + }(e, !0), a(n), f) try { + return d(t, e, n) + } catch (t) { + } + if ("get" in n || "set" in n) throw TypeError("Accessors not supported!"); + return "value" in n && (t[e] = n.value), t + } + }, _ = function (t, e) { + return {enumerable: !(1 & t), configurable: !(2 & t), writable: !(4 & t), value: e} + }, L = n ? function (t, e, n) { + return p.f(t, e, _(1, n)) + } : function (t, e, n) { + return t[e] = n, t + }, h = {}.hasOwnProperty, g = function (t, e) { + return h.call(t, e) + }, y = 0, m = Math.random(), b = function (t) { + return "Symbol(".concat(void 0 === t ? "" : t, ")_", (++y + m).toString(36)) + }, w = o(function (t) { + var e = t.exports = {version: "2.5.7"}; + "number" == typeof __e && (__e = e) + }), O = (w.version, o(function (t) { + var o = b("src"), e = "toString", n = Function[e], a = ("" + n).split(e); + w.inspectSource = function (t) { + return n.call(t) + }, (t.exports = function (t, e, n, r) { + var i = "function" == typeof n; + i && (g(n, "name") || L(n, "name", e)), t[e] !== n && (i && (g(n, o) || L(n, o, t[e] ? "" + t[e] : a.join(String(e)))), t === v ? t[e] = n : r ? t[e] ? t[e] = n : L(t, e, n) : (delete t[e], L(t, e, n))) + })(Function.prototype, e, function () { + return "function" == typeof this && this[o] || n.call(this) + }) + })), S = function (t) { + if (null == t) throw TypeError("Can't call method on " + t); + return t + }, T = o(function (t) { + var e = "__core-js_shared__", n = v[e] || (v[e] = {}); + (t.exports = function (t, e) { + return n[t] || (n[t] = void 0 !== e ? e : {}) + })("versions", []).push({version: w.version, mode: "global", copyright: "© 2018 Denis Pushkarev (zloirock.ru)"}) + }), I = o(function (t) { + var e = T("wks"), n = v.Symbol, r = "function" == typeof n; + (t.exports = function (t) { + return e[t] || (e[t] = r && n[t] || (r ? n : b)("Symbol." + t)) + }).store = e + }), C = function (e, t, n) { + var r = I(e), i = n(S, r, ""[e]), o = i[0], a = i[1]; + u(function () { + var t = {}; + return t[r] = function () { + return 7 + }, 7 != ""[e](t) + }) && (O(String.prototype, e, o), L(RegExp.prototype, r, 2 == t ? function (t, e) { + return a.call(t, this, e) + } : function (t) { + return a.call(t, this) + })) + }, k = {}.toString, E = function (t) { + return k.call(t).slice(8, -1) + }, j = I("match"), x = function (t) { + var e; + return i(t) && (void 0 !== (e = t[j]) ? !!e : "RegExp" == E(t)) + }; + C("split", 2, function (i, o, a) { + var p = x, h = a, v = [].push, t = "split", g = "length", y = "lastIndex"; + if ("c" == "abbc"[t](/(b)*/)[1] || 4 != "test"[t](/(?:)/, -1)[g] || 2 != "ab"[t](/(?:ab)*/)[g] || 4 != "."[t](/(.?)(.?)/)[g] || 1 < "."[t](/()()/)[g] || ""[t](/.?/)[g]) { + var m = void 0 === /()??/.exec("")[1]; + a = function (t, e) { + var n = String(this); + if (void 0 === t && 0 === e) return []; + if (!p(t)) return h.call(n, t, e); + var r, i, o, a, u, c = [], + s = (t.ignoreCase ? "i" : "") + (t.multiline ? "m" : "") + (t.unicode ? "u" : "") + (t.sticky ? "y" : ""), + l = 0, f = void 0 === e ? 4294967295 : e >>> 0, d = new RegExp(t.source, s + "g"); + for (m || (r = new RegExp("^" + d.source + "$(?!\\s)", s)); (i = d.exec(n)) && !(l < (o = i.index + i[0][g]) && (c.push(n.slice(l, i.index)), !m && 1 < i[g] && i[0].replace(r, function () { + for (u = 1; u < arguments[g] - 2; u++) void 0 === arguments[u] && (i[u] = void 0) + }), 1 < i[g] && i.index < n[g] && v.apply(c, i.slice(1)), a = i[0][g], l = o, c[g] >= f));) d[y] === i.index && d[y]++; + return l === n[g] ? !a && d.test("") || c.push("") : c.push(n.slice(l)), c[g] > f ? c.slice(0, f) : c + } + } else "0"[t](void 0, 0)[g] && (a = function (t, e) { + return void 0 === t && 0 === e ? [] : h.call(this, t, e) + }); + return [function (t, e) { + var n = i(this), r = null == t ? void 0 : t[o]; + return void 0 !== r ? r.call(t, n, e) : a.call(String(n), t, e) + }, a] + }); + var A = I("unscopables"), P = Array.prototype; + null == P[A] && L(P, A, {}); + var D = function (t) { + P[A][t] = !0 + }, M = function (t, e) { + return {value: e, done: !!t} + }, R = {}, N = Object("z").propertyIsEnumerable(0) ? Object : function (t) { + return "String" == E(t) ? t.split("") : Object(t) + }, G = function (t) { + return N(S(t)) + }, Q = function (r, i, t) { + if (function (t) { + if ("function" != typeof t) throw TypeError(t + " is not a function!") + }(r), void 0 === i) return r; + switch (t) { + case 1: + return function (t) { + return r.call(i, t) + }; + case 2: + return function (t, e) { + return r.call(i, t, e) + }; + case 3: + return function (t, e, n) { + return r.call(i, t, e, n) + } + } + return function () { + return r.apply(i, arguments) + } + }, U = "prototype", F = function (t, e, n) { + var r, i, o, a, u = t & F.F, c = t & F.G, s = t & F.S, l = t & F.P, f = t & F.B, + d = c ? v : s ? v[e] || (v[e] = {}) : (v[e] || {})[U], p = c ? w : w[e] || (w[e] = {}), + h = p[U] || (p[U] = {}); + for (r in c && (n = e), n) o = ((i = !u && d && void 0 !== d[r]) ? d : n)[r], a = f && i ? Q(o, v) : l && "function" == typeof o ? Q(Function.call, o) : o, d && O(d, r, o, t & F.U), p[r] != o && L(p, r, a), l && h[r] != o && (h[r] = o) + }; + v.core = w, F.F = 1, F.G = 2, F.S = 4, F.P = 8, F.B = 16, F.W = 32, F.U = 64, F.R = 128; + var q, V = F, K = Math.ceil, H = Math.floor, B = function (t) { + return isNaN(t = +t) ? 0 : (0 < t ? H : K)(t) + }, z = Math.min, J = function (t) { + return 0 < t ? z(B(t), 9007199254740991) : 0 + }, $ = Math.max, W = Math.min, Y = T("keys"), X = function (t) { + return Y[t] || (Y[t] = b(t)) + }, Z = (q = !1, function (t, e, n) { + var r, i, o, a = G(t), u = J(a.length), c = (i = u, (r = B(r = n)) < 0 ? $(r + i, 0) : W(r, i)); + if (q && e != e) { + for (; c < u;) if ((o = a[c++]) != o) return !0 + } else for (; c < u; c++) if ((q || c in a) && a[c] === e) return q || c || 0; + return !q && -1 + }), tt = X("IE_PROTO"), + et = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), + nt = Object.keys || function (t) { + return function (t, e) { + var n, r = G(t), i = 0, o = []; + for (n in r) n != tt && g(r, n) && o.push(n); + for (; e.length > i;) g(r, n = e[i++]) && (~Z(o, n) || o.push(n)); + return o + }(t, et) + }, rt = n ? Object.defineProperties : function (t, e) { + a(t); + for (var n, r = nt(e), i = r.length, o = 0; o < i;) p.f(t, n = r[o++], e[n]); + return t + }, it = v.document, ot = it && it.documentElement, at = X("IE_PROTO"), ut = function () { + }, ct = "prototype", st = function () { + var t, e = l("iframe"), n = et.length; + for (e.style.display = "none", ot.appendChild(e), e.src = "javascript:", (t = e.contentWindow.document).open(), t.write(" + + + Boutique + + + + + +
+
+

Boutique

+

+
+
+ + +
+ periodeCommande()) : ?> + + + + + + + + + + + + + + + + + + + + +
+ + + $produit): ?> + + status != "A") { + unset($produits[$key]); + continue; + } + + + $fournisseurprod = new \Dietetique\Models\ProduitsFournisseurs($produit->id_produit); + $format = new \Dietetique\Models\Format($produit->format); + $valeur = $produit->getProgressBarValue(); + ?> +
+
+ +
Card image cap
+
+
nom ?> + (unite . "" . $format->nom ?>)
+ +
+
+ % +
+
+

prix) ?>$

+

economie != null) echo $produit->economie; ?>

+
+
+ periodeCommande()) : ?> + + + +
+
+ + + +
+ +
+ +
+

Aucun produit n'est présentement disponible

+

Veuillez revenir plus tard

+
+ +
+ +
+ + + +
+
+ + + + + + + \ No newline at end of file diff --git a/src/calendrier.php b/src/calendrier.php new file mode 100644 index 0000000..844d6e6 --- /dev/null +++ b/src/calendrier.php @@ -0,0 +1,146 @@ +handle; + +$req = $bd->prepare("SELECT id, title, start, end, color FROM events "); +$req->execute(); + +$events = $req->fetchAll(); +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + Diététique + + + + +
+
+

Calendrier

+

Pour les périodes de commandes et de réceptions à venir.

+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/confirmation.php b/src/confirmation.php new file mode 100644 index 0000000..46095e5 --- /dev/null +++ b/src/confirmation.php @@ -0,0 +1,253 @@ +id_compte, $_GET["commande"]); + if ($commande->id_commande == "" || $commande->id_commande == null) { + header("Location: index.php"); + die(); + } + $commande->prixCommande($avantFrais,$pourSeul,$total); + $commandeProduits = new \Dietetique\Models\CommandesProduits(); + $commandeProduits = $commandeProduits->select($commande->id_commande); + + $fraisGestion = new \Dietetique\Models\FraisGestion(); + $fraisGestion = $fraisGestion->select(); + + + +} + + +?> + + + + + + Confirmation + + + + + + + + + + + + + + + + + + +
+
+

Facture

+

+
+
+ +
+
+
+
+ 1 +
+ Panier +
+ +
+
+ 2 +
+ Paiement +
+ +
+
+ 3 +
+ Confirmation +
+
+ +
+ + +
+
+ +
+

Confirmation de commande

+
+ +
+ +

Félicitation votre commande a été passée avec succès.

+

Une copie vous a été envoyée par courriel.

+ +
+
Prénom
+
+ prenom ?> +
+ +
Nom
+
+ nom ?> +
+ +
Téléphone
+
+ telephone ?> +
+ +
Courriel
+
+ courriel ?> +
+ +
Date de commande
+
+ date)) ?> +
+ +
No. commande
+
+ numero_commande ?> +
+
+ + +

Facture

+
+ +

+ + + + + + + + + + + + + + select($commandeProduit->id_produit, null); + $fournisseurprod = new \Dietetique\Models\ProduitsFournisseurs($produit->id_produit); + $format = new \Dietetique\Models\Format($produit->format); + ?> + + + + + + + + + + + + + + + type == "pourcentage" && $fraisG->actif == true) : ?> + + + + + + type == "fixe" && $fraisG->actif == true) : ?> + + + + + + + + + calcuFraisCommande()>0) :?> + + + + + + + + + + + + + +
ProduitQTÉPrixTotal
nom ?> (unite . $format->nom ?>)quantite ?>prix,2,',',' '); ?>$prix * $commandeProduit->quantite,2,',',' '); ?>$
Sous-totalafficherNombre($avantFrais)?>$
Frais gestion (frais - 1) * 100?>%)afficherNombre($pourSeul); ;?>$
Frais gestion fixeafficherNombre($fraisG->frais)?>$
Frais d'emballageafficherNombre($commande->calcuFraisCommande())?>$
Totalprix_total,2,',',' ')?>$
+
+ +
+ + + + +
+
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/src/css/bootstrap-3.3.6.css b/src/css/bootstrap-3.3.6.css new file mode 100644 index 0000000..42c79d6 --- /dev/null +++ b/src/css/bootstrap-3.3.6.css @@ -0,0 +1,6760 @@ +/*! + * Bootstrap v3.3.6 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} +body { + margin: 0; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; +} +audio:not([controls]) { + display: none; + height: 0; +} +[hidden], +template { + display: none; +} +a { + background-color: transparent; +} +a:active, +a:hover { + outline: 0; +} +abbr[title] { + border-bottom: 1px dotted; +} +b, +strong { + font-weight: bold; +} +dfn { + font-style: italic; +} +h1 { + margin: .67em 0; + font-size: 2em; +} +mark { + color: #000; + background: #ff0; +} +small { + font-size: 80%; +} +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} +sup { + top: -.5em; +} +sub { + bottom: -.25em; +} +img { + border: 0; +} +svg:not(:root) { + overflow: hidden; +} +figure { + margin: 1em 40px; +} +hr { + height: 0; + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} +pre { + overflow: auto; +} +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} +button, +input, +optgroup, +select, +textarea { + margin: 0; + font: inherit; + color: inherit; +} +button { + overflow: visible; +} +button, +select { + text-transform: none; +} +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} +button[disabled], +html input[disabled] { + cursor: default; +} +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} +input { + line-height: normal; +} +input[type="checkbox"], +input[type="radio"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 0; +} +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +fieldset { + padding: .35em .625em .75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} +legend { + padding: 0; + border: 0; +} +textarea { + overflow: auto; +} +optgroup { + font-weight: bold; +} +table { + border-spacing: 0; + border-collapse: collapse; +} +td, +th { + padding: 0; +} +/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ +@media print { + *, + *:before, + *:after { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="#"]:after, + a[href^="javascript:"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + .navbar { + display: none; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} +@font-face { + font-family: 'Glyphicons Halflings'; + + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); +} +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + font-style: normal; + font-weight: normal; + line-height: 1; + + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.glyphicon-asterisk:before { + content: "\002a"; +} +.glyphicon-plus:before { + content: "\002b"; +} +.glyphicon-euro:before, +.glyphicon-eur:before { + content: "\20ac"; +} +.glyphicon-minus:before { + content: "\2212"; +} +.glyphicon-cloud:before { + content: "\2601"; +} +.glyphicon-envelope:before { + content: "\2709"; +} +.glyphicon-pencil:before { + content: "\270f"; +} +.glyphicon-glass:before { + content: "\e001"; +} +.glyphicon-music:before { + content: "\e002"; +} +.glyphicon-search:before { + content: "\e003"; +} +.glyphicon-heart:before { + content: "\e005"; +} +.glyphicon-star:before { + content: "\e006"; +} +.glyphicon-star-empty:before { + content: "\e007"; +} +.glyphicon-user:before { + content: "\e008"; +} +.glyphicon-film:before { + content: "\e009"; +} +.glyphicon-th-large:before { + content: "\e010"; +} +.glyphicon-th:before { + content: "\e011"; +} +.glyphicon-th-list:before { + content: "\e012"; +} +.glyphicon-ok:before { + content: "\e013"; +} +.glyphicon-remove:before { + content: "\e014"; +} +.glyphicon-zoom-in:before { + content: "\e015"; +} +.glyphicon-zoom-out:before { + content: "\e016"; +} +.glyphicon-off:before { + content: "\e017"; +} +.glyphicon-signal:before { + content: "\e018"; +} +.glyphicon-cog:before { + content: "\e019"; +} +.glyphicon-trash:before { + content: "\e020"; +} +.glyphicon-home:before { + content: "\e021"; +} +.glyphicon-file:before { + content: "\e022"; +} +.glyphicon-time:before { + content: "\e023"; +} +.glyphicon-road:before { + content: "\e024"; +} +.glyphicon-download-alt:before { + content: "\e025"; +} +.glyphicon-download:before { + content: "\e026"; +} +.glyphicon-upload:before { + content: "\e027"; +} +.glyphicon-inbox:before { + content: "\e028"; +} +.glyphicon-play-circle:before { + content: "\e029"; +} +.glyphicon-repeat:before { + content: "\e030"; +} +.glyphicon-refresh:before { + content: "\e031"; +} +.glyphicon-list-alt:before { + content: "\e032"; +} +.glyphicon-lock:before { + content: "\e033"; +} +.glyphicon-flag:before { + content: "\e034"; +} +.glyphicon-headphones:before { + content: "\e035"; +} +.glyphicon-volume-off:before { + content: "\e036"; +} +.glyphicon-volume-down:before { + content: "\e037"; +} +.glyphicon-volume-up:before { + content: "\e038"; +} +.glyphicon-qrcode:before { + content: "\e039"; +} +.glyphicon-barcode:before { + content: "\e040"; +} +.glyphicon-tag:before { + content: "\e041"; +} +.glyphicon-tags:before { + content: "\e042"; +} +.glyphicon-book:before { + content: "\e043"; +} +.glyphicon-bookmark:before { + content: "\e044"; +} +.glyphicon-print:before { + content: "\e045"; +} +.glyphicon-camera:before { + content: "\e046"; +} +.glyphicon-font:before { + content: "\e047"; +} +.glyphicon-bold:before { + content: "\e048"; +} +.glyphicon-italic:before { + content: "\e049"; +} +.glyphicon-text-height:before { + content: "\e050"; +} +.glyphicon-text-width:before { + content: "\e051"; +} +.glyphicon-align-left:before { + content: "\e052"; +} +.glyphicon-align-center:before { + content: "\e053"; +} +.glyphicon-align-right:before { + content: "\e054"; +} +.glyphicon-align-justify:before { + content: "\e055"; +} +.glyphicon-list:before { + content: "\e056"; +} +.glyphicon-indent-left:before { + content: "\e057"; +} +.glyphicon-indent-right:before { + content: "\e058"; +} +.glyphicon-facetime-video:before { + content: "\e059"; +} +.glyphicon-picture:before { + content: "\e060"; +} +.glyphicon-map-marker:before { + content: "\e062"; +} +.glyphicon-adjust:before { + content: "\e063"; +} +.glyphicon-tint:before { + content: "\e064"; +} +.glyphicon-edit:before { + content: "\e065"; +} +.glyphicon-share:before { + content: "\e066"; +} +.glyphicon-check:before { + content: "\e067"; +} +.glyphicon-move:before { + content: "\e068"; +} +.glyphicon-step-backward:before { + content: "\e069"; +} +.glyphicon-fast-backward:before { + content: "\e070"; +} +.glyphicon-backward:before { + content: "\e071"; +} +.glyphicon-play:before { + content: "\e072"; +} +.glyphicon-pause:before { + content: "\e073"; +} +.glyphicon-stop:before { + content: "\e074"; +} +.glyphicon-forward:before { + content: "\e075"; +} +.glyphicon-fast-forward:before { + content: "\e076"; +} +.glyphicon-step-forward:before { + content: "\e077"; +} +.glyphicon-eject:before { + content: "\e078"; +} +.glyphicon-chevron-left:before { + content: "\e079"; +} +.glyphicon-chevron-right:before { + content: "\e080"; +} +.glyphicon-plus-sign:before { + content: "\e081"; +} +.glyphicon-minus-sign:before { + content: "\e082"; +} +.glyphicon-remove-sign:before { + content: "\e083"; +} +.glyphicon-ok-sign:before { + content: "\e084"; +} +.glyphicon-question-sign:before { + content: "\e085"; +} +.glyphicon-info-sign:before { + content: "\e086"; +} +.glyphicon-screenshot:before { + content: "\e087"; +} +.glyphicon-remove-circle:before { + content: "\e088"; +} +.glyphicon-ok-circle:before { + content: "\e089"; +} +.glyphicon-ban-circle:before { + content: "\e090"; +} +.glyphicon-arrow-left:before { + content: "\e091"; +} +.glyphicon-arrow-right:before { + content: "\e092"; +} +.glyphicon-arrow-up:before { + content: "\e093"; +} +.glyphicon-arrow-down:before { + content: "\e094"; +} +.glyphicon-share-alt:before { + content: "\e095"; +} +.glyphicon-resize-full:before { + content: "\e096"; +} +.glyphicon-resize-small:before { + content: "\e097"; +} +.glyphicon-exclamation-sign:before { + content: "\e101"; +} +.glyphicon-gift:before { + content: "\e102"; +} +.glyphicon-leaf:before { + content: "\e103"; +} +.glyphicon-fire:before { + content: "\e104"; +} +.glyphicon-eye-open:before { + content: "\e105"; +} +.glyphicon-eye-close:before { + content: "\e106"; +} +.glyphicon-warning-sign:before { + content: "\e107"; +} +.glyphicon-plane:before { + content: "\e108"; +} +.glyphicon-calendar:before { + content: "\e109"; +} +.glyphicon-random:before { + content: "\e110"; +} +.glyphicon-comment:before { + content: "\e111"; +} +.glyphicon-magnet:before { + content: "\e112"; +} +.glyphicon-chevron-up:before { + content: "\e113"; +} +.glyphicon-chevron-down:before { + content: "\e114"; +} +.glyphicon-retweet:before { + content: "\e115"; +} +.glyphicon-shopping-cart:before { + content: "\e116"; +} +.glyphicon-folder-close:before { + content: "\e117"; +} +.glyphicon-folder-open:before { + content: "\e118"; +} +.glyphicon-resize-vertical:before { + content: "\e119"; +} +.glyphicon-resize-horizontal:before { + content: "\e120"; +} +.glyphicon-hdd:before { + content: "\e121"; +} +.glyphicon-bullhorn:before { + content: "\e122"; +} +.glyphicon-bell:before { + content: "\e123"; +} +.glyphicon-certificate:before { + content: "\e124"; +} +.glyphicon-thumbs-up:before { + content: "\e125"; +} +.glyphicon-thumbs-down:before { + content: "\e126"; +} +.glyphicon-hand-right:before { + content: "\e127"; +} +.glyphicon-hand-left:before { + content: "\e128"; +} +.glyphicon-hand-up:before { + content: "\e129"; +} +.glyphicon-hand-down:before { + content: "\e130"; +} +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} +.glyphicon-globe:before { + content: "\e135"; +} +.glyphicon-wrench:before { + content: "\e136"; +} +.glyphicon-tasks:before { + content: "\e137"; +} +.glyphicon-filter:before { + content: "\e138"; +} +.glyphicon-briefcase:before { + content: "\e139"; +} +.glyphicon-fullscreen:before { + content: "\e140"; +} +.glyphicon-dashboard:before { + content: "\e141"; +} +.glyphicon-paperclip:before { + content: "\e142"; +} +.glyphicon-heart-empty:before { + content: "\e143"; +} +.glyphicon-link:before { + content: "\e144"; +} +.glyphicon-phone:before { + content: "\e145"; +} +.glyphicon-pushpin:before { + content: "\e146"; +} +.glyphicon-usd:before { + content: "\e148"; +} +.glyphicon-gbp:before { + content: "\e149"; +} +.glyphicon-sort:before { + content: "\e150"; +} +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} +.glyphicon-sort-by-order:before { + content: "\e153"; +} +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} +.glyphicon-unchecked:before { + content: "\e157"; +} +.glyphicon-expand:before { + content: "\e158"; +} +.glyphicon-collapse-down:before { + content: "\e159"; +} +.glyphicon-collapse-up:before { + content: "\e160"; +} +.glyphicon-log-in:before { + content: "\e161"; +} +.glyphicon-flash:before { + content: "\e162"; +} +.glyphicon-log-out:before { + content: "\e163"; +} +.glyphicon-new-window:before { + content: "\e164"; +} +.glyphicon-record:before { + content: "\e165"; +} +.glyphicon-save:before { + content: "\e166"; +} +.glyphicon-open:before { + content: "\e167"; +} +.glyphicon-saved:before { + content: "\e168"; +} +.glyphicon-import:before { + content: "\e169"; +} +.glyphicon-export:before { + content: "\e170"; +} +.glyphicon-send:before { + content: "\e171"; +} +.glyphicon-floppy-disk:before { + content: "\e172"; +} +.glyphicon-floppy-saved:before { + content: "\e173"; +} +.glyphicon-floppy-remove:before { + content: "\e174"; +} +.glyphicon-floppy-save:before { + content: "\e175"; +} +.glyphicon-floppy-open:before { + content: "\e176"; +} +.glyphicon-credit-card:before { + content: "\e177"; +} +.glyphicon-transfer:before { + content: "\e178"; +} +.glyphicon-cutlery:before { + content: "\e179"; +} +.glyphicon-header:before { + content: "\e180"; +} +.glyphicon-compressed:before { + content: "\e181"; +} +.glyphicon-earphone:before { + content: "\e182"; +} +.glyphicon-phone-alt:before { + content: "\e183"; +} +.glyphicon-tower:before { + content: "\e184"; +} +.glyphicon-stats:before { + content: "\e185"; +} +.glyphicon-sd-video:before { + content: "\e186"; +} +.glyphicon-hd-video:before { + content: "\e187"; +} +.glyphicon-subtitles:before { + content: "\e188"; +} +.glyphicon-sound-stereo:before { + content: "\e189"; +} +.glyphicon-sound-dolby:before { + content: "\e190"; +} +.glyphicon-sound-5-1:before { + content: "\e191"; +} +.glyphicon-sound-6-1:before { + content: "\e192"; +} +.glyphicon-sound-7-1:before { + content: "\e193"; +} +.glyphicon-copyright-mark:before { + content: "\e194"; +} +.glyphicon-registration-mark:before { + content: "\e195"; +} +.glyphicon-cloud-download:before { + content: "\e197"; +} +.glyphicon-cloud-upload:before { + content: "\e198"; +} +.glyphicon-tree-conifer:before { + content: "\e199"; +} +.glyphicon-tree-deciduous:before { + content: "\e200"; +} +.glyphicon-cd:before { + content: "\e201"; +} +.glyphicon-save-file:before { + content: "\e202"; +} +.glyphicon-open-file:before { + content: "\e203"; +} +.glyphicon-level-up:before { + content: "\e204"; +} +.glyphicon-copy:before { + content: "\e205"; +} +.glyphicon-paste:before { + content: "\e206"; +} +.glyphicon-alert:before { + content: "\e209"; +} +.glyphicon-equalizer:before { + content: "\e210"; +} +.glyphicon-king:before { + content: "\e211"; +} +.glyphicon-queen:before { + content: "\e212"; +} +.glyphicon-pawn:before { + content: "\e213"; +} +.glyphicon-bishop:before { + content: "\e214"; +} +.glyphicon-knight:before { + content: "\e215"; +} +.glyphicon-baby-formula:before { + content: "\e216"; +} +.glyphicon-tent:before { + content: "\26fa"; +} +.glyphicon-blackboard:before { + content: "\e218"; +} +.glyphicon-bed:before { + content: "\e219"; +} +.glyphicon-apple:before { + content: "\f8ff"; +} +.glyphicon-erase:before { + content: "\e221"; +} +.glyphicon-hourglass:before { + content: "\231b"; +} +.glyphicon-lamp:before { + content: "\e223"; +} +.glyphicon-duplicate:before { + content: "\e224"; +} +.glyphicon-piggy-bank:before { + content: "\e225"; +} +.glyphicon-scissors:before { + content: "\e226"; +} +.glyphicon-bitcoin:before { + content: "\e227"; +} +.glyphicon-btc:before { + content: "\e227"; +} +.glyphicon-xbt:before { + content: "\e227"; +} +.glyphicon-yen:before { + content: "\00a5"; +} +.glyphicon-jpy:before { + content: "\00a5"; +} +.glyphicon-ruble:before { + content: "\20bd"; +} +.glyphicon-rub:before { + content: "\20bd"; +} +.glyphicon-scale:before { + content: "\e230"; +} +.glyphicon-ice-lolly:before { + content: "\e231"; +} +.glyphicon-ice-lolly-tasted:before { + content: "\e232"; +} +.glyphicon-education:before { + content: "\e233"; +} +.glyphicon-option-horizontal:before { + content: "\e234"; +} +.glyphicon-option-vertical:before { + content: "\e235"; +} +.glyphicon-menu-hamburger:before { + content: "\e236"; +} +.glyphicon-modal-window:before { + content: "\e237"; +} +.glyphicon-oil:before { + content: "\e238"; +} +.glyphicon-grain:before { + content: "\e239"; +} +.glyphicon-sunglasses:before { + content: "\e240"; +} +.glyphicon-text-size:before { + content: "\e241"; +} +.glyphicon-text-color:before { + content: "\e242"; +} +.glyphicon-text-background:before { + content: "\e243"; +} +.glyphicon-object-align-top:before { + content: "\e244"; +} +.glyphicon-object-align-bottom:before { + content: "\e245"; +} +.glyphicon-object-align-horizontal:before { + content: "\e246"; +} +.glyphicon-object-align-left:before { + content: "\e247"; +} +.glyphicon-object-align-vertical:before { + content: "\e248"; +} +.glyphicon-object-align-right:before { + content: "\e249"; +} +.glyphicon-triangle-right:before { + content: "\e250"; +} +.glyphicon-triangle-left:before { + content: "\e251"; +} +.glyphicon-triangle-bottom:before { + content: "\e252"; +} +.glyphicon-triangle-top:before { + content: "\e253"; +} +.glyphicon-console:before { + content: "\e254"; +} +.glyphicon-superscript:before { + content: "\e255"; +} +.glyphicon-subscript:before { + content: "\e256"; +} +.glyphicon-menu-left:before { + content: "\e257"; +} +.glyphicon-menu-right:before { + content: "\e258"; +} +.glyphicon-menu-down:before { + content: "\e259"; +} +.glyphicon-menu-up:before { + content: "\e260"; +} +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +html { + font-size: 10px; + + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.42857143; + color: #333; + background-color: #fff; +} +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} +a { + color: #337ab7; + text-decoration: none; +} +a:hover, +a:focus { + color: #23527c; + text-decoration: underline; +} +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +figure { + margin: 0; +} +img { + vertical-align: middle; +} +.img-responsive, +.thumbnail > img, +.thumbnail a > img, +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + max-width: 100%; + height: auto; +} +.img-rounded { + border-radius: 6px; +} +.img-thumbnail { + display: inline-block; + max-width: 100%; + height: auto; + padding: 4px; + line-height: 1.42857143; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 4px; + -webkit-transition: all .2s ease-in-out; + -o-transition: all .2s ease-in-out; + transition: all .2s ease-in-out; +} +.img-circle { + border-radius: 50%; +} +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eee; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} +[role="button"] { + cursor: pointer; +} +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: inherit; + font-weight: 500; + line-height: 1.1; + color: inherit; +} +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #777; +} +h1, +.h1, +h2, +.h2, +h3, +.h3 { + margin-top: 20px; + margin-bottom: 10px; +} +h1 small, +.h1 small, +h2 small, +.h2 small, +h3 small, +.h3 small, +h1 .small, +.h1 .small, +h2 .small, +.h2 .small, +h3 .small, +.h3 .small { + font-size: 65%; +} +h4, +.h4, +h5, +.h5, +h6, +.h6 { + margin-top: 10px; + margin-bottom: 10px; +} +h4 small, +.h4 small, +h5 small, +.h5 small, +h6 small, +.h6 small, +h4 .small, +.h4 .small, +h5 .small, +.h5 .small, +h6 .small, +.h6 .small { + font-size: 75%; +} +h1, +.h1 { + font-size: 36px; +} +h2, +.h2 { + font-size: 30px; +} +h3, +.h3 { + font-size: 24px; +} +h4, +.h4 { + font-size: 18px; +} +h5, +.h5 { + font-size: 14px; +} +h6, +.h6 { + font-size: 12px; +} +p { + margin: 0 0 10px; +} +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 300; + line-height: 1.4; +} +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} +small, +.small { + font-size: 85%; +} +mark, +.mark { + padding: .2em; + background-color: #fcf8e3; +} +.text-left { + text-align: left; +} +.text-right { + text-align: right; +} +.text-center { + text-align: center; +} +.text-justify { + text-align: justify; +} +.text-nowrap { + white-space: nowrap; +} +.text-lowercase { + text-transform: lowercase; +} +.text-uppercase { + text-transform: uppercase; +} +.text-capitalize { + text-transform: capitalize; +} +.text-muted { + color: #777; +} +.text-primary { + color: #337ab7; +} +a.text-primary:hover, +a.text-primary:focus { + color: #286090; +} +.text-success { + color: #3c763d; +} +a.text-success:hover, +a.text-success:focus { + color: #2b542c; +} +.text-info { + color: #31708f; +} +a.text-info:hover, +a.text-info:focus { + color: #245269; +} +.text-warning { + color: #8a6d3b; +} +a.text-warning:hover, +a.text-warning:focus { + color: #66512c; +} +.text-danger { + color: #a94442; +} +a.text-danger:hover, +a.text-danger:focus { + color: #843534; +} +.bg-primary { + color: #fff; + background-color: #337ab7; +} +a.bg-primary:hover, +a.bg-primary:focus { + background-color: #286090; +} +.bg-success { + background-color: #dff0d8; +} +a.bg-success:hover, +a.bg-success:focus { + background-color: #c1e2b3; +} +.bg-info { + background-color: #d9edf7; +} +a.bg-info:hover, +a.bg-info:focus { + background-color: #afd9ee; +} +.bg-warning { + background-color: #fcf8e3; +} +a.bg-warning:hover, +a.bg-warning:focus { + background-color: #f7ecb5; +} +.bg-danger { + background-color: #f2dede; +} +a.bg-danger:hover, +a.bg-danger:focus { + background-color: #e4b9b9; +} +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eee; +} +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} +.list-unstyled { + padding-left: 0; + list-style: none; +} +.list-inline { + padding-left: 0; + margin-left: -5px; + list-style: none; +} +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} +dl { + margin-top: 0; + margin-bottom: 20px; +} +dt, +dd { + line-height: 1.42857143; +} +dt { + font-weight: bold; +} +dd { + margin-left: 0; +} +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } +} +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #777; +} +.initialism { + font-size: 90%; + text-transform: uppercase; +} +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + font-size: 17.5px; + border-left: 5px solid #eee; +} +blockquote p:last-child, +blockquote ul:last-child, +blockquote ol:last-child { + margin-bottom: 0; +} +blockquote footer, +blockquote small, +blockquote .small { + display: block; + font-size: 80%; + line-height: 1.42857143; + color: #777; +} +blockquote footer:before, +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} +.blockquote-reverse, +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + text-align: right; + border-right: 5px solid #eee; + border-left: 0; +} +.blockquote-reverse footer:before, +blockquote.pull-right footer:before, +.blockquote-reverse small:before, +blockquote.pull-right small:before, +.blockquote-reverse .small:before, +blockquote.pull-right .small:before { + content: ''; +} +.blockquote-reverse footer:after, +blockquote.pull-right footer:after, +.blockquote-reverse small:after, +blockquote.pull-right small:after, +.blockquote-reverse .small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.42857143; +} +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + background-color: #f9f2f4; + border-radius: 4px; +} +kbd { + padding: 2px 4px; + font-size: 90%; + color: #fff; + background-color: #333; + border-radius: 3px; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); +} +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: bold; + -webkit-box-shadow: none; + box-shadow: none; +} +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.42857143; + color: #333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #ccc; + border-radius: 4px; +} +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} +@media (min-width: 768px) { + .container { + width: 750px; + } +} +@media (min-width: 992px) { + .container { + width: 970px; + } +} +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} +.container-fluid { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} +.row { + margin-right: -15px; + margin-left: -15px; +} +.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-right: 15px; + padding-left: 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: auto; +} +.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: auto; +} +.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 (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: auto; + } + .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: auto; + } + .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 (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: auto; + } + .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: auto; + } + .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 (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: auto; + } + .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: auto; + } + .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; + } +} +table { + background-color: transparent; +} +caption { + padding-top: 8px; + padding-bottom: 8px; + color: #777; + text-align: left; +} +th { + text-align: left; +} +.table { + width: 100%; + max-width: 100%; + margin-bottom: 20px; +} +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.42857143; + vertical-align: top; + border-top: 1px solid #ddd; +} +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #ddd; +} +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} +.table > tbody + tbody { + border-top: 2px solid #ddd; +} +.table .table { + background-color: #fff; +} +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} +.table-bordered { + border: 1px solid #ddd; +} +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #ddd; +} +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} +.table-striped > tbody > tr:nth-of-type(odd) { + background-color: #f9f9f9; +} +.table-hover > tbody > tr:hover { + background-color: #f5f5f5; +} +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} +table td[class*="col-"], +table th[class*="col-"] { + position: static; + display: table-cell; + float: none; +} +.table > thead > tr > td.active, +.table > tbody > tr > td.active, +.table > tfoot > tr > td.active, +.table > thead > tr > th.active, +.table > tbody > tr > th.active, +.table > tfoot > tr > th.active, +.table > thead > tr.active > td, +.table > tbody > tr.active > td, +.table > tfoot > tr.active > td, +.table > thead > tr.active > th, +.table > tbody > tr.active > th, +.table > tfoot > tr.active > th { + background-color: #f5f5f5; +} +.table-hover > tbody > tr > td.active:hover, +.table-hover > tbody > tr > th.active:hover, +.table-hover > tbody > tr.active:hover > td, +.table-hover > tbody > tr:hover > .active, +.table-hover > tbody > tr.active:hover > th { + background-color: #e8e8e8; +} +.table > thead > tr > td.success, +.table > tbody > tr > td.success, +.table > tfoot > tr > td.success, +.table > thead > tr > th.success, +.table > tbody > tr > th.success, +.table > tfoot > tr > th.success, +.table > thead > tr.success > td, +.table > tbody > tr.success > td, +.table > tfoot > tr.success > td, +.table > thead > tr.success > th, +.table > tbody > tr.success > th, +.table > tfoot > tr.success > th { + background-color: #dff0d8; +} +.table-hover > tbody > tr > td.success:hover, +.table-hover > tbody > tr > th.success:hover, +.table-hover > tbody > tr.success:hover > td, +.table-hover > tbody > tr:hover > .success, +.table-hover > tbody > tr.success:hover > th { + background-color: #d0e9c6; +} +.table > thead > tr > td.info, +.table > tbody > tr > td.info, +.table > tfoot > tr > td.info, +.table > thead > tr > th.info, +.table > tbody > tr > th.info, +.table > tfoot > tr > th.info, +.table > thead > tr.info > td, +.table > tbody > tr.info > td, +.table > tfoot > tr.info > td, +.table > thead > tr.info > th, +.table > tbody > tr.info > th, +.table > tfoot > tr.info > th { + background-color: #d9edf7; +} +.table-hover > tbody > tr > td.info:hover, +.table-hover > tbody > tr > th.info:hover, +.table-hover > tbody > tr.info:hover > td, +.table-hover > tbody > tr:hover > .info, +.table-hover > tbody > tr.info:hover > th { + background-color: #c4e3f3; +} +.table > thead > tr > td.warning, +.table > tbody > tr > td.warning, +.table > tfoot > tr > td.warning, +.table > thead > tr > th.warning, +.table > tbody > tr > th.warning, +.table > tfoot > tr > th.warning, +.table > thead > tr.warning > td, +.table > tbody > tr.warning > td, +.table > tfoot > tr.warning > td, +.table > thead > tr.warning > th, +.table > tbody > tr.warning > th, +.table > tfoot > tr.warning > th { + background-color: #fcf8e3; +} +.table-hover > tbody > tr > td.warning:hover, +.table-hover > tbody > tr > th.warning:hover, +.table-hover > tbody > tr.warning:hover > td, +.table-hover > tbody > tr:hover > .warning, +.table-hover > tbody > tr.warning:hover > th { + background-color: #faf2cc; +} +.table > thead > tr > td.danger, +.table > tbody > tr > td.danger, +.table > tfoot > tr > td.danger, +.table > thead > tr > th.danger, +.table > tbody > tr > th.danger, +.table > tfoot > tr > th.danger, +.table > thead > tr.danger > td, +.table > tbody > tr.danger > td, +.table > tfoot > tr.danger > td, +.table > thead > tr.danger > th, +.table > tbody > tr.danger > th, +.table > tfoot > tr.danger > th { + background-color: #f2dede; +} +.table-hover > tbody > tr > td.danger:hover, +.table-hover > tbody > tr > th.danger:hover, +.table-hover > tbody > tr.danger:hover > td, +.table-hover > tbody > tr:hover > .danger, +.table-hover > tbody > tr.danger:hover > th { + background-color: #ebcccc; +} +.table-responsive { + min-height: .01%; + overflow-x: auto; +} +@media screen and (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-y: hidden; + -ms-overflow-style: -ms-autohiding-scrollbar; + border: 1px solid #ddd; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} +label { + display: inline-block; + max-width: 100%; + margin-bottom: 5px; + font-weight: bold; +} +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + line-height: normal; +} +input[type="file"] { + display: block; +} +input[type="range"] { + display: block; + width: 100%; +} +select[multiple], +select[size] { + height: auto; +} +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.42857143; + color: #555; +} +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.42857143; + color: #555; + background-color: #fff; + background-image: none; + border: 1px solid #ccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; + -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); +} +.form-control::-moz-placeholder { + color: #999; + opacity: 1; +} +.form-control:-ms-input-placeholder { + color: #999; +} +.form-control::-webkit-input-placeholder { + color: #999; +} +.form-control::-ms-expand { + background-color: transparent; + border: 0; +} +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + background-color: #eee; + opacity: 1; +} +.form-control[disabled], +fieldset[disabled] .form-control { + cursor: not-allowed; +} +textarea.form-control { + height: auto; +} +input[type="search"] { + -webkit-appearance: none; +} +@media screen and (-webkit-min-device-pixel-ratio: 0) { + input[type="date"].form-control, + input[type="time"].form-control, + input[type="datetime-local"].form-control, + input[type="month"].form-control { + line-height: 34px; + } + input[type="date"].input-sm, + input[type="time"].input-sm, + input[type="datetime-local"].input-sm, + input[type="month"].input-sm, + .input-group-sm input[type="date"], + .input-group-sm input[type="time"], + .input-group-sm input[type="datetime-local"], + .input-group-sm input[type="month"] { + line-height: 30px; + } + input[type="date"].input-lg, + input[type="time"].input-lg, + input[type="datetime-local"].input-lg, + input[type="month"].input-lg, + .input-group-lg input[type="date"], + .input-group-lg input[type="time"], + .input-group-lg input[type="datetime-local"], + .input-group-lg input[type="month"] { + line-height: 46px; + } +} +.form-group { + margin-bottom: 15px; +} +.radio, +.checkbox { + position: relative; + display: block; + margin-top: 10px; + margin-bottom: 10px; +} +.radio label, +.checkbox label { + min-height: 20px; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + position: absolute; + margin-top: 4px \9; + margin-left: -20px; +} +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} +.radio-inline, +.checkbox-inline { + position: relative; + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"].disabled, +input[type="checkbox"].disabled, +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"] { + cursor: not-allowed; +} +.radio-inline.disabled, +.checkbox-inline.disabled, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} +.radio.disabled label, +.checkbox.disabled label, +fieldset[disabled] .radio label, +fieldset[disabled] .checkbox label { + cursor: not-allowed; +} +.form-control-static { + min-height: 34px; + padding-top: 7px; + padding-bottom: 7px; + margin-bottom: 0; +} +.form-control-static.input-lg, +.form-control-static.input-sm { + padding-right: 0; + padding-left: 0; +} +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-sm { + height: 30px; + line-height: 30px; +} +textarea.input-sm, +select[multiple].input-sm { + height: auto; +} +.form-group-sm .form-control { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.form-group-sm select.form-control { + height: 30px; + line-height: 30px; +} +.form-group-sm textarea.form-control, +.form-group-sm select[multiple].form-control { + height: auto; +} +.form-group-sm .form-control-static { + height: 30px; + min-height: 32px; + padding: 6px 10px; + font-size: 12px; + line-height: 1.5; +} +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.input-lg { + height: 46px; + line-height: 46px; +} +textarea.input-lg, +select[multiple].input-lg { + height: auto; +} +.form-group-lg .form-control { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +.form-group-lg select.form-control { + height: 46px; + line-height: 46px; +} +.form-group-lg textarea.form-control, +.form-group-lg select[multiple].form-control { + height: auto; +} +.form-group-lg .form-control-static { + height: 46px; + min-height: 38px; + padding: 11px 16px; + font-size: 18px; + line-height: 1.3333333; +} +.has-feedback { + position: relative; +} +.has-feedback .form-control { + padding-right: 42.5px; +} +.form-control-feedback { + position: absolute; + top: 0; + right: 0; + z-index: 2; + display: block; + width: 34px; + height: 34px; + line-height: 34px; + text-align: center; + pointer-events: none; +} +.input-lg + .form-control-feedback, +.input-group-lg + .form-control-feedback, +.form-group-lg .form-control + .form-control-feedback { + width: 46px; + height: 46px; + line-height: 46px; +} +.input-sm + .form-control-feedback, +.input-group-sm + .form-control-feedback, +.form-group-sm .form-control + .form-control-feedback { + width: 30px; + height: 30px; + line-height: 30px; +} +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline, +.has-success.radio label, +.has-success.checkbox label, +.has-success.radio-inline label, +.has-success.checkbox-inline label { + color: #3c763d; +} +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; +} +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} +.has-success .form-control-feedback { + color: #3c763d; +} +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline, +.has-warning.radio label, +.has-warning.checkbox label, +.has-warning.radio-inline label, +.has-warning.checkbox-inline label { + color: #8a6d3b; +} +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; +} +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} +.has-warning .form-control-feedback { + color: #8a6d3b; +} +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline, +.has-error.radio label, +.has-error.checkbox label, +.has-error.radio-inline label, +.has-error.checkbox-inline label { + color: #a94442; +} +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; +} +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} +.has-error .form-control-feedback { + color: #a94442; +} +.has-feedback label ~ .form-control-feedback { + top: 25px; +} +.has-feedback label.sr-only ~ .form-control-feedback { + top: 0; +} +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-static { + display: inline-block; + } + .form-inline .input-group { + display: inline-table; + vertical-align: middle; + } + .form-inline .input-group .input-group-addon, + .form-inline .input-group .input-group-btn, + .form-inline .input-group .form-control { + width: auto; + } + .form-inline .input-group > .form-control { + width: 100%; + } + .form-inline .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio label, + .form-inline .checkbox label { + padding-left: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .form-inline .has-feedback .form-control-feedback { + top: 0; + } +} +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .form-horizontal .control-label { + padding-top: 7px; + margin-bottom: 0; + text-align: right; + } +} +.form-horizontal .has-feedback .form-control-feedback { + right: 15px; +} +@media (min-width: 768px) { + .form-horizontal .form-group-lg .control-label { + padding-top: 11px; + font-size: 18px; + } +} +@media (min-width: 768px) { + .form-horizontal .form-group-sm .control-label { + padding-top: 6px; + font-size: 12px; + } +} +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.42857143; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} +.btn:focus, +.btn:active:focus, +.btn.active:focus, +.btn.focus, +.btn:active.focus, +.btn.active.focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn:hover, +.btn:focus, +.btn.focus { + color: #333; + text-decoration: none; +} +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); +} +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + cursor: not-allowed; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; + opacity: .65; +} +a.btn.disabled, +fieldset[disabled] a.btn { + pointer-events: none; +} +.btn-default { + color: #333; + background-color: #fff; + border-color: #ccc; +} +.btn-default:focus, +.btn-default.focus { + color: #333; + background-color: #e6e6e6; + border-color: #8c8c8c; +} +.btn-default:hover { + color: #333; + background-color: #e6e6e6; + border-color: #adadad; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + color: #333; + background-color: #e6e6e6; + border-color: #adadad; +} +.btn-default:active:hover, +.btn-default.active:hover, +.open > .dropdown-toggle.btn-default:hover, +.btn-default:active:focus, +.btn-default.active:focus, +.open > .dropdown-toggle.btn-default:focus, +.btn-default:active.focus, +.btn-default.active.focus, +.open > .dropdown-toggle.btn-default.focus { + color: #333; + background-color: #d4d4d4; + border-color: #8c8c8c; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + background-image: none; +} +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled.focus, +.btn-default[disabled].focus, +fieldset[disabled] .btn-default.focus { + background-color: #fff; + border-color: #ccc; +} +.btn-default .badge { + color: #fff; + background-color: #333; +} +.btn-primary { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; +} +.btn-primary:focus, +.btn-primary.focus { + color: #fff; + background-color: #286090; + border-color: #122b40; +} +.btn-primary:hover { + color: #fff; + background-color: #286090; + border-color: #204d74; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + color: #fff; + background-color: #286090; + border-color: #204d74; +} +.btn-primary:active:hover, +.btn-primary.active:hover, +.open > .dropdown-toggle.btn-primary:hover, +.btn-primary:active:focus, +.btn-primary.active:focus, +.open > .dropdown-toggle.btn-primary:focus, +.btn-primary:active.focus, +.btn-primary.active.focus, +.open > .dropdown-toggle.btn-primary.focus { + color: #fff; + background-color: #204d74; + border-color: #122b40; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + background-image: none; +} +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled.focus, +.btn-primary[disabled].focus, +fieldset[disabled] .btn-primary.focus { + background-color: #337ab7; + border-color: #2e6da4; +} +.btn-primary .badge { + color: #337ab7; + background-color: #fff; +} +.btn-success { + color: #fff; + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success:focus, +.btn-success.focus { + color: #fff; + background-color: #449d44; + border-color: #255625; +} +.btn-success:hover { + color: #fff; + background-color: #449d44; + border-color: #398439; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + color: #fff; + background-color: #449d44; + border-color: #398439; +} +.btn-success:active:hover, +.btn-success.active:hover, +.open > .dropdown-toggle.btn-success:hover, +.btn-success:active:focus, +.btn-success.active:focus, +.open > .dropdown-toggle.btn-success:focus, +.btn-success:active.focus, +.btn-success.active.focus, +.open > .dropdown-toggle.btn-success.focus { + color: #fff; + background-color: #398439; + border-color: #255625; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + background-image: none; +} +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled.focus, +.btn-success[disabled].focus, +fieldset[disabled] .btn-success.focus { + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} +.btn-info { + color: #fff; + background-color: #5bc0de; + border-color: #46b8da; +} +.btn-info:focus, +.btn-info.focus { + color: #fff; + background-color: #31b0d5; + border-color: #1b6d85; +} +.btn-info:hover { + color: #fff; + background-color: #31b0d5; + border-color: #269abc; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + color: #fff; + background-color: #31b0d5; + border-color: #269abc; +} +.btn-info:active:hover, +.btn-info.active:hover, +.open > .dropdown-toggle.btn-info:hover, +.btn-info:active:focus, +.btn-info.active:focus, +.open > .dropdown-toggle.btn-info:focus, +.btn-info:active.focus, +.btn-info.active.focus, +.open > .dropdown-toggle.btn-info.focus { + color: #fff; + background-color: #269abc; + border-color: #1b6d85; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + background-image: none; +} +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled.focus, +.btn-info[disabled].focus, +fieldset[disabled] .btn-info.focus { + background-color: #5bc0de; + border-color: #46b8da; +} +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} +.btn-warning { + color: #fff; + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-warning:focus, +.btn-warning.focus { + color: #fff; + background-color: #ec971f; + border-color: #985f0d; +} +.btn-warning:hover { + color: #fff; + background-color: #ec971f; + border-color: #d58512; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + color: #fff; + background-color: #ec971f; + border-color: #d58512; +} +.btn-warning:active:hover, +.btn-warning.active:hover, +.open > .dropdown-toggle.btn-warning:hover, +.btn-warning:active:focus, +.btn-warning.active:focus, +.open > .dropdown-toggle.btn-warning:focus, +.btn-warning:active.focus, +.btn-warning.active.focus, +.open > .dropdown-toggle.btn-warning.focus { + color: #fff; + background-color: #d58512; + border-color: #985f0d; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + background-image: none; +} +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled.focus, +.btn-warning[disabled].focus, +fieldset[disabled] .btn-warning.focus { + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} +.btn-danger { + color: #fff; + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger:focus, +.btn-danger.focus { + color: #fff; + background-color: #c9302c; + border-color: #761c19; +} +.btn-danger:hover { + color: #fff; + background-color: #c9302c; + border-color: #ac2925; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + color: #fff; + background-color: #c9302c; + border-color: #ac2925; +} +.btn-danger:active:hover, +.btn-danger.active:hover, +.open > .dropdown-toggle.btn-danger:hover, +.btn-danger:active:focus, +.btn-danger.active:focus, +.open > .dropdown-toggle.btn-danger:focus, +.btn-danger:active.focus, +.btn-danger.active.focus, +.open > .dropdown-toggle.btn-danger.focus { + color: #fff; + background-color: #ac2925; + border-color: #761c19; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + background-image: none; +} +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled.focus, +.btn-danger[disabled].focus, +fieldset[disabled] .btn-danger.focus { + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} +.btn-link { + font-weight: normal; + color: #337ab7; + border-radius: 0; +} +.btn-link, +.btn-link:active, +.btn-link.active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} +.btn-link:hover, +.btn-link:focus { + color: #23527c; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #777; + text-decoration: none; +} +.btn-lg, +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +.btn-sm, +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-xs, +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-block { + display: block; + width: 100%; +} +.btn-block + .btn-block { + margin-top: 5px; +} +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} +.fade { + opacity: 0; + -webkit-transition: opacity .15s linear; + -o-transition: opacity .15s linear; + transition: opacity .15s linear; +} +.fade.in { + opacity: 1; +} +.collapse { + display: none; +} +.collapse.in { + display: block; +} +tr.collapse.in { + display: table-row; +} +tbody.collapse.in { + display: table-row-group; +} +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition-timing-function: ease; + -o-transition-timing-function: ease; + transition-timing-function: ease; + -webkit-transition-duration: .35s; + -o-transition-duration: .35s; + transition-duration: .35s; + -webkit-transition-property: height, visibility; + -o-transition-property: height, visibility; + transition-property: height, visibility; +} +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px dashed; + border-top: 4px solid \9; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} +.dropup, +.dropdown { + position: relative; +} +.dropdown-toggle:focus { + outline: 0; +} +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + text-align: left; + list-style: none; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, .15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); + box-shadow: 0 6px 12px rgba(0, 0, 0, .175); +} +.dropdown-menu.pull-right { + right: 0; + left: auto; +} +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.42857143; + color: #333; + white-space: nowrap; +} +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #fff; + text-decoration: none; + background-color: #337ab7; + outline: 0; +} +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #777; +} +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.open > .dropdown-menu { + display: block; +} +.open > a { + outline: 0; +} +.dropdown-menu-right { + right: 0; + left: auto; +} +.dropdown-menu-left { + right: auto; + left: 0; +} +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.42857143; + color: #777; + white-space: nowrap; +} +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + content: ""; + border-top: 0; + border-bottom: 4px dashed; + border-bottom: 4px solid \9; +} +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 2px; +} +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } + .navbar-right .dropdown-menu-left { + right: auto; + left: 0; + } +} +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} +.btn-toolbar { + margin-left: -5px; +} +.btn-toolbar .btn, +.btn-toolbar .btn-group, +.btn-toolbar .input-group { + float: left; +} +.btn-toolbar > .btn, +.btn-toolbar > .btn-group, +.btn-toolbar > .input-group { + margin-left: 5px; +} +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} +.btn-group > .btn:first-child { + margin-left: 0; +} +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group > .btn-group { + float: left; +} +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); +} +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} +.btn .caret { + margin-left: 0; +} +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} +.btn-group-vertical > .btn-group > .btn { + float: none; +} +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.btn-group-justified { + display: table; + width: 100%; + table-layout: fixed; + border-collapse: separate; +} +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} +.btn-group-justified > .btn-group .btn { + width: 100%; +} +.btn-group-justified > .btn-group .dropdown-menu { + left: auto; +} +[data-toggle="buttons"] > .btn input[type="radio"], +[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], +[data-toggle="buttons"] > .btn input[type="checkbox"], +[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} +.input-group { + position: relative; + display: table; + border-collapse: separate; +} +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} +.input-group .form-control { + position: relative; + z-index: 2; + float: left; + width: 100%; + margin-bottom: 0; +} +.input-group .form-control:focus { + z-index: 3; +} +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn, +select[multiple].input-group-lg > .form-control, +select[multiple].input-group-lg > .input-group-addon, +select[multiple].input-group-lg > .input-group-btn > .btn { + height: auto; +} +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn, +select[multiple].input-group-sm > .form-control, +select[multiple].input-group-sm > .input-group-addon, +select[multiple].input-group-sm > .input-group-btn > .btn { + height: auto; +} +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555; + text-align: center; + background-color: #eee; + border: 1px solid #ccc; + border-radius: 4px; +} +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group-addon:first-child { + border-right: 0; +} +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child), +.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.input-group-addon:last-child { + border-left: 0; +} +.input-group-btn { + position: relative; + font-size: 0; + white-space: nowrap; +} +.input-group-btn > .btn { + position: relative; +} +.input-group-btn > .btn + .btn { + margin-left: -1px; +} +.input-group-btn > .btn:hover, +.input-group-btn > .btn:focus, +.input-group-btn > .btn:active { + z-index: 2; +} +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group { + margin-right: -1px; +} +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group { + z-index: 2; + margin-left: -1px; +} +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} +.nav > li { + position: relative; + display: block; +} +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eee; +} +.nav > li.disabled > a { + color: #777; +} +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #777; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eee; + border-color: #337ab7; +} +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.nav > li > a > img { + max-width: none; +} +.nav-tabs { + border-bottom: 1px solid #ddd; +} +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.42857143; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} +.nav-tabs > li > a:hover { + border-color: #eee #eee #ddd; +} +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555; + cursor: default; + background-color: #fff; + border: 1px solid #ddd; + border-bottom-color: transparent; +} +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} +.nav-tabs.nav-justified > li { + float: none; +} +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #ddd; +} +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #ddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #fff; + } +} +.nav-pills > li { + float: left; +} +.nav-pills > li > a { + border-radius: 4px; +} +.nav-pills > li + li { + margin-left: 2px; +} +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #fff; + background-color: #337ab7; +} +.nav-stacked > li { + float: none; +} +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} +.nav-justified { + width: 100%; +} +.nav-justified > li { + float: none; +} +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs-justified { + border-bottom: 0; +} +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #ddd; +} +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #ddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #fff; + } +} +.tab-content > .tab-pane { + display: none; +} +.tab-content > .active { + display: block; +} +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} +.navbar-collapse { + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + -webkit-overflow-scrolling: touch; + border-top: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); +} +.navbar-collapse.in { + overflow-y: auto; +} +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} +.navbar-fixed-top .navbar-collapse, +.navbar-fixed-bottom .navbar-collapse { + max-height: 340px; +} +@media (max-device-width: 480px) and (orientation: landscape) { + .navbar-fixed-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + max-height: 200px; + } +} +.container > .navbar-header, +.container-fluid > .navbar-header, +.container > .navbar-collapse, +.container-fluid > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .container > .navbar-header, + .container-fluid > .navbar-header, + .container > .navbar-collapse, + .container-fluid > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} +.navbar-brand { + float: left; + height: 50px; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} +.navbar-brand > img { + display: block; +} +@media (min-width: 768px) { + .navbar > .container .navbar-brand, + .navbar > .container-fluid .navbar-brand { + margin-left: -15px; + } +} +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} +.navbar-toggle:focus { + outline: 0; +} +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} +.navbar-nav { + margin: 7.5px -15px; +} +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } +} +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); +} +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .navbar-form .form-control-static { + display: inline-block; + } + .navbar-form .input-group { + display: inline-table; + vertical-align: middle; + } + .navbar-form .input-group .input-group-addon, + .navbar-form .input-group .input-group-btn, + .navbar-form .input-group .form-control { + width: auto; + } + .navbar-form .input-group > .form-control { + width: 100%; + } + .navbar-form .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .radio label, + .navbar-form .checkbox label { + padding-left: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .navbar-form .has-feedback .form-control-feedback { + top: 0; + } +} +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } + .navbar-form .form-group:last-child { + margin-bottom: 0; + } +} +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } +} +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + margin-bottom: 0; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } +} +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + margin-right: -15px; + } + .navbar-right ~ .navbar-right { + margin-right: 0; + } +} +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} +.navbar-default .navbar-brand { + color: #777; +} +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} +.navbar-default .navbar-text { + color: #777; +} +.navbar-default .navbar-nav > li > a { + color: #777; +} +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333; + background-color: transparent; +} +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555; + background-color: #e7e7e7; +} +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #ccc; + background-color: transparent; +} +.navbar-default .navbar-toggle { + border-color: #ddd; +} +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #ddd; +} +.navbar-default .navbar-toggle .icon-bar { + background-color: #888; +} +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555; + background-color: #e7e7e7; +} +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #ccc; + background-color: transparent; + } +} +.navbar-default .navbar-link { + color: #777; +} +.navbar-default .navbar-link:hover { + color: #333; +} +.navbar-default .btn-link { + color: #777; +} +.navbar-default .btn-link:hover, +.navbar-default .btn-link:focus { + color: #333; +} +.navbar-default .btn-link[disabled]:hover, +fieldset[disabled] .navbar-default .btn-link:hover, +.navbar-default .btn-link[disabled]:focus, +fieldset[disabled] .navbar-default .btn-link:focus { + color: #ccc; +} +.navbar-inverse { + background-color: #222; + border-color: #080808; +} +.navbar-inverse .navbar-brand { + color: #9d9d9d; +} +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #fff; + background-color: transparent; +} +.navbar-inverse .navbar-text { + color: #9d9d9d; +} +.navbar-inverse .navbar-nav > li > a { + color: #9d9d9d; +} +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #fff; + background-color: transparent; +} +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #fff; + background-color: #080808; +} +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444; + background-color: transparent; +} +.navbar-inverse .navbar-toggle { + border-color: #333; +} +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333; +} +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #fff; +} +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #fff; + background-color: #080808; +} +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #9d9d9d; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #fff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #fff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444; + background-color: transparent; + } +} +.navbar-inverse .navbar-link { + color: #9d9d9d; +} +.navbar-inverse .navbar-link:hover { + color: #fff; +} +.navbar-inverse .btn-link { + color: #9d9d9d; +} +.navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link:focus { + color: #fff; +} +.navbar-inverse .btn-link[disabled]:hover, +fieldset[disabled] .navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link[disabled]:focus, +fieldset[disabled] .navbar-inverse .btn-link:focus { + color: #444; +} +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} +.breadcrumb > li { + display: inline-block; +} +.breadcrumb > li + li:before { + padding: 0 5px; + color: #ccc; + content: "/\00a0"; +} +.breadcrumb > .active { + color: #777; +} +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} +.pagination > li { + display: inline; +} +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.42857143; + color: #337ab7; + text-decoration: none; + background-color: #fff; + border: 1px solid #ddd; +} +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; +} +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + z-index: 2; + color: #23527c; + background-color: #eee; + border-color: #ddd; +} +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 3; + color: #fff; + cursor: default; + background-color: #337ab7; + border-color: #337ab7; +} +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #777; + cursor: not-allowed; + background-color: #fff; + border-color: #ddd; +} +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; +} +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-top-left-radius: 6px; + border-bottom-left-radius: 6px; +} +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; +} +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; +} +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} +.pager li { + display: inline; +} +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 15px; +} +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eee; +} +.pager .next > a, +.pager .next > span { + float: right; +} +.pager .previous > a, +.pager .previous > span { + float: left; +} +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #777; + cursor: not-allowed; + background-color: #fff; +} +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #fff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} +a.label:hover, +a.label:focus { + color: #fff; + text-decoration: none; + cursor: pointer; +} +.label:empty { + display: none; +} +.btn .label { + position: relative; + top: -1px; +} +.label-default { + background-color: #777; +} +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #5e5e5e; +} +.label-primary { + background-color: #337ab7; +} +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #286090; +} +.label-success { + background-color: #5cb85c; +} +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} +.label-info { + background-color: #5bc0de; +} +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} +.label-warning { + background-color: #f0ad4e; +} +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} +.label-danger { + background-color: #d9534f; +} +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #fff; + text-align: center; + white-space: nowrap; + vertical-align: middle; + background-color: #777; + border-radius: 10px; +} +.badge:empty { + display: none; +} +.btn .badge { + position: relative; + top: -1px; +} +.btn-xs .badge, +.btn-group-xs > .btn .badge { + top: 0; + padding: 1px 5px; +} +a.badge:hover, +a.badge:focus { + color: #fff; + text-decoration: none; + cursor: pointer; +} +.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #337ab7; + background-color: #fff; +} +.list-group-item > .badge { + float: right; +} +.list-group-item > .badge + .badge { + margin-right: 5px; +} +.nav-pills > li > a > .badge { + margin-left: 3px; +} +.jumbotron { + padding-top: 30px; + padding-bottom: 30px; + margin-bottom: 30px; + color: inherit; + background-color: #eee; +} +.jumbotron h1, +.jumbotron .h1 { + color: inherit; +} +.jumbotron p { + margin-bottom: 15px; + font-size: 21px; + font-weight: 200; +} +.jumbotron > hr { + border-top-color: #d5d5d5; +} +.container .jumbotron, +.container-fluid .jumbotron { + padding-right: 15px; + padding-left: 15px; + border-radius: 6px; +} +.jumbotron .container { + max-width: 100%; +} +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron, + .container-fluid .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +} +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.42857143; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 4px; + -webkit-transition: border .2s ease-in-out; + -o-transition: border .2s ease-in-out; + transition: border .2s ease-in-out; +} +.thumbnail > img, +.thumbnail a > img { + margin-right: auto; + margin-left: auto; +} +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #337ab7; +} +.thumbnail .caption { + padding: 9px; + color: #333; +} +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} +.alert h4 { + margin-top: 0; + color: inherit; +} +.alert .alert-link { + font-weight: bold; +} +.alert > p, +.alert > ul { + margin-bottom: 0; +} +.alert > p + p { + margin-top: 5px; +} +.alert-dismissable, +.alert-dismissible { + padding-right: 35px; +} +.alert-dismissable .close, +.alert-dismissible .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} +.alert-success hr { + border-top-color: #c9e2b3; +} +.alert-success .alert-link { + color: #2b542c; +} +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} +.alert-info hr { + border-top-color: #a6e1ec; +} +.alert-info .alert-link { + color: #245269; +} +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} +.alert-warning hr { + border-top-color: #f7e1b5; +} +.alert-warning .alert-link { + color: #66512c; +} +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} +.alert-danger hr { + border-top-color: #e4b9c0; +} +.alert-danger .alert-link { + color: #843534; +} +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@-o-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); +} +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #fff; + text-align: center; + background-color: #337ab7; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); + -webkit-transition: width .6s ease; + -o-transition: width .6s ease; + transition: width .6s ease; +} +.progress-striped .progress-bar, +.progress-bar-striped { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + -webkit-background-size: 40px 40px; + background-size: 40px 40px; +} +.progress.active .progress-bar, +.progress-bar.active { + -webkit-animation: progress-bar-stripes 2s linear infinite; + -o-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} +.progress-bar-success { + background-color: #5cb85c; +} +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.progress-bar-info { + background-color: #5bc0de; +} +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.progress-bar-warning { + background-color: #f0ad4e; +} +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.progress-bar-danger { + background-color: #d9534f; +} +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.media { + margin-top: 15px; +} +.media:first-child { + margin-top: 0; +} +.media, +.media-body { + overflow: hidden; + zoom: 1; +} +.media-body { + width: 10000px; +} +.media-object { + display: block; +} +.media-object.img-thumbnail { + max-width: none; +} +.media-right, +.media > .pull-right { + padding-left: 10px; +} +.media-left, +.media > .pull-left { + padding-right: 10px; +} +.media-left, +.media-right, +.media-body { + display: table-cell; + vertical-align: top; +} +.media-middle { + vertical-align: middle; +} +.media-bottom { + vertical-align: bottom; +} +.media-heading { + margin-top: 0; + margin-bottom: 5px; +} +.media-list { + padding-left: 0; + list-style: none; +} +.list-group { + padding-left: 0; + margin-bottom: 20px; +} +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #fff; + border: 1px solid #ddd; +} +.list-group-item:first-child { + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} +a.list-group-item, +button.list-group-item { + color: #555; +} +a.list-group-item .list-group-item-heading, +button.list-group-item .list-group-item-heading { + color: #333; +} +a.list-group-item:hover, +button.list-group-item:hover, +a.list-group-item:focus, +button.list-group-item:focus { + color: #555; + text-decoration: none; + background-color: #f5f5f5; +} +button.list-group-item { + width: 100%; + text-align: left; +} +.list-group-item.disabled, +.list-group-item.disabled:hover, +.list-group-item.disabled:focus { + color: #777; + cursor: not-allowed; + background-color: #eee; +} +.list-group-item.disabled .list-group-item-heading, +.list-group-item.disabled:hover .list-group-item-heading, +.list-group-item.disabled:focus .list-group-item-heading { + color: inherit; +} +.list-group-item.disabled .list-group-item-text, +.list-group-item.disabled:hover .list-group-item-text, +.list-group-item.disabled:focus .list-group-item-text { + color: #777; +} +.list-group-item.active, +.list-group-item.active:hover, +.list-group-item.active:focus { + z-index: 2; + color: #fff; + background-color: #337ab7; + border-color: #337ab7; +} +.list-group-item.active .list-group-item-heading, +.list-group-item.active:hover .list-group-item-heading, +.list-group-item.active:focus .list-group-item-heading, +.list-group-item.active .list-group-item-heading > small, +.list-group-item.active:hover .list-group-item-heading > small, +.list-group-item.active:focus .list-group-item-heading > small, +.list-group-item.active .list-group-item-heading > .small, +.list-group-item.active:hover .list-group-item-heading > .small, +.list-group-item.active:focus .list-group-item-heading > .small { + color: inherit; +} +.list-group-item.active .list-group-item-text, +.list-group-item.active:hover .list-group-item-text, +.list-group-item.active:focus .list-group-item-text { + color: #c7ddef; +} +.list-group-item-success { + color: #3c763d; + background-color: #dff0d8; +} +a.list-group-item-success, +button.list-group-item-success { + color: #3c763d; +} +a.list-group-item-success .list-group-item-heading, +button.list-group-item-success .list-group-item-heading { + color: inherit; +} +a.list-group-item-success:hover, +button.list-group-item-success:hover, +a.list-group-item-success:focus, +button.list-group-item-success:focus { + color: #3c763d; + background-color: #d0e9c6; +} +a.list-group-item-success.active, +button.list-group-item-success.active, +a.list-group-item-success.active:hover, +button.list-group-item-success.active:hover, +a.list-group-item-success.active:focus, +button.list-group-item-success.active:focus { + color: #fff; + background-color: #3c763d; + border-color: #3c763d; +} +.list-group-item-info { + color: #31708f; + background-color: #d9edf7; +} +a.list-group-item-info, +button.list-group-item-info { + color: #31708f; +} +a.list-group-item-info .list-group-item-heading, +button.list-group-item-info .list-group-item-heading { + color: inherit; +} +a.list-group-item-info:hover, +button.list-group-item-info:hover, +a.list-group-item-info:focus, +button.list-group-item-info:focus { + color: #31708f; + background-color: #c4e3f3; +} +a.list-group-item-info.active, +button.list-group-item-info.active, +a.list-group-item-info.active:hover, +button.list-group-item-info.active:hover, +a.list-group-item-info.active:focus, +button.list-group-item-info.active:focus { + color: #fff; + background-color: #31708f; + border-color: #31708f; +} +.list-group-item-warning { + color: #8a6d3b; + background-color: #fcf8e3; +} +a.list-group-item-warning, +button.list-group-item-warning { + color: #8a6d3b; +} +a.list-group-item-warning .list-group-item-heading, +button.list-group-item-warning .list-group-item-heading { + color: inherit; +} +a.list-group-item-warning:hover, +button.list-group-item-warning:hover, +a.list-group-item-warning:focus, +button.list-group-item-warning:focus { + color: #8a6d3b; + background-color: #faf2cc; +} +a.list-group-item-warning.active, +button.list-group-item-warning.active, +a.list-group-item-warning.active:hover, +button.list-group-item-warning.active:hover, +a.list-group-item-warning.active:focus, +button.list-group-item-warning.active:focus { + color: #fff; + background-color: #8a6d3b; + border-color: #8a6d3b; +} +.list-group-item-danger { + color: #a94442; + background-color: #f2dede; +} +a.list-group-item-danger, +button.list-group-item-danger { + color: #a94442; +} +a.list-group-item-danger .list-group-item-heading, +button.list-group-item-danger .list-group-item-heading { + color: inherit; +} +a.list-group-item-danger:hover, +button.list-group-item-danger:hover, +a.list-group-item-danger:focus, +button.list-group-item-danger:focus { + color: #a94442; + background-color: #ebcccc; +} +a.list-group-item-danger.active, +button.list-group-item-danger.active, +a.list-group-item-danger.active:hover, +button.list-group-item-danger.active:hover, +a.list-group-item-danger.active:focus, +button.list-group-item-danger.active:focus { + color: #fff; + background-color: #a94442; + border-color: #a94442; +} +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} +.panel { + margin-bottom: 20px; + background-color: #fff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); + box-shadow: 0 1px 1px rgba(0, 0, 0, .05); +} +.panel-body { + padding: 15px; +} +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} +.panel-title > a, +.panel-title > small, +.panel-title > .small, +.panel-title > small > a, +.panel-title > .small > a { + color: inherit; +} +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #ddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .list-group, +.panel > .panel-collapse > .list-group { + margin-bottom: 0; +} +.panel > .list-group .list-group-item, +.panel > .panel-collapse > .list-group .list-group-item { + border-width: 1px 0; + border-radius: 0; +} +.panel > .list-group:first-child .list-group-item:first-child, +.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { + border-top: 0; + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .list-group:last-child .list-group-item:last-child, +.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { + border-bottom: 0; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} +.list-group + .panel-footer { + border-top-width: 0; +} +.panel > .table, +.panel > .table-responsive > .table, +.panel > .panel-collapse > .table { + margin-bottom: 0; +} +.panel > .table caption, +.panel > .table-responsive > .table caption, +.panel > .panel-collapse > .table caption { + padding-right: 15px; + padding-left: 15px; +} +.panel > .table:first-child, +.panel > .table-responsive:first-child > .table:first-child { + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { + border-top-right-radius: 3px; +} +.panel > .table:last-child, +.panel > .table-responsive:last-child > .table:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { + border-bottom-right-radius: 3px; +} +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive, +.panel > .table + .panel-body, +.panel > .table-responsive + .panel-body { + border-top: 1px solid #ddd; +} +.panel > .table > tbody:first-child > tr:first-child th, +.panel > .table > tbody:first-child > tr:first-child td { + border-top: 0; +} +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} +.panel > .table-bordered > thead > tr:first-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, +.panel > .table-bordered > tbody > tr:first-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, +.panel > .table-bordered > thead > tr:first-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, +.panel > .table-bordered > tbody > tr:first-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { + border-bottom: 0; +} +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { + border-bottom: 0; +} +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} +.panel-group { + margin-bottom: 20px; +} +.panel-group .panel { + margin-bottom: 0; + border-radius: 4px; +} +.panel-group .panel + .panel { + margin-top: 5px; +} +.panel-group .panel-heading { + border-bottom: 0; +} +.panel-group .panel-heading + .panel-collapse > .panel-body, +.panel-group .panel-heading + .panel-collapse > .list-group { + border-top: 1px solid #ddd; +} +.panel-group .panel-footer { + border-top: 0; +} +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #ddd; +} +.panel-default { + border-color: #ddd; +} +.panel-default > .panel-heading { + color: #333; + background-color: #f5f5f5; + border-color: #ddd; +} +.panel-default > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #ddd; +} +.panel-default > .panel-heading .badge { + color: #f5f5f5; + background-color: #333; +} +.panel-default > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #ddd; +} +.panel-primary { + border-color: #337ab7; +} +.panel-primary > .panel-heading { + color: #fff; + background-color: #337ab7; + border-color: #337ab7; +} +.panel-primary > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #337ab7; +} +.panel-primary > .panel-heading .badge { + color: #337ab7; + background-color: #fff; +} +.panel-primary > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #337ab7; +} +.panel-success { + border-color: #d6e9c6; +} +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} +.panel-success > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #d6e9c6; +} +.panel-success > .panel-heading .badge { + color: #dff0d8; + background-color: #3c763d; +} +.panel-success > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #d6e9c6; +} +.panel-info { + border-color: #bce8f1; +} +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} +.panel-info > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #bce8f1; +} +.panel-info > .panel-heading .badge { + color: #d9edf7; + background-color: #31708f; +} +.panel-info > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #bce8f1; +} +.panel-warning { + border-color: #faebcc; +} +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} +.panel-warning > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #faebcc; +} +.panel-warning > .panel-heading .badge { + color: #fcf8e3; + background-color: #8a6d3b; +} +.panel-warning > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #faebcc; +} +.panel-danger { + border-color: #ebccd1; +} +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} +.panel-danger > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #ebccd1; +} +.panel-danger > .panel-heading .badge { + color: #f2dede; + background-color: #a94442; +} +.panel-danger > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #ebccd1; +} +.embed-responsive { + position: relative; + display: block; + height: 0; + padding: 0; + overflow: hidden; +} +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; +} +.embed-responsive-16by9 { + padding-bottom: 56.25%; +} +.embed-responsive-4by3 { + padding-bottom: 75%; +} +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); +} +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, .15); +} +.well-lg { + padding: 24px; + border-radius: 6px; +} +.well-sm { + padding: 9px; + border-radius: 3px; +} +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + filter: alpha(opacity=20); + opacity: .2; +} +.close:hover, +.close:focus { + color: #000; + text-decoration: none; + cursor: pointer; + filter: alpha(opacity=50); + opacity: .5; +} +button.close { + -webkit-appearance: none; + padding: 0; + cursor: pointer; + background: transparent; + border: 0; +} +.modal-open { + overflow: hidden; +} +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1050; + display: none; + overflow: hidden; + -webkit-overflow-scrolling: touch; + outline: 0; +} +.modal.fade .modal-dialog { + -webkit-transition: -webkit-transform .3s ease-out; + -o-transition: -o-transform .3s ease-out; + transition: transform .3s ease-out; + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + -o-transform: translate(0, -25%); + transform: translate(0, -25%); +} +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + -o-transform: translate(0, 0); + transform: translate(0, 0); +} +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} +.modal-dialog { + position: relative; + width: auto; + margin: 10px; +} +.modal-content { + position: relative; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #999; + border: 1px solid rgba(0, 0, 0, .2); + border-radius: 6px; + outline: 0; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5); + box-shadow: 0 3px 9px rgba(0, 0, 0, .5); +} +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000; +} +.modal-backdrop.fade { + filter: alpha(opacity=0); + opacity: 0; +} +.modal-backdrop.in { + filter: alpha(opacity=50); + opacity: .5; +} +.modal-header { + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} +.modal-header .close { + margin-top: -2px; +} +.modal-title { + margin: 0; + line-height: 1.42857143; +} +.modal-body { + position: relative; + padding: 15px; +} +.modal-footer { + padding: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} +@media (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); + box-shadow: 0 5px 15px rgba(0, 0, 0, .5); + } + .modal-sm { + width: 300px; + } +} +@media (min-width: 992px) { + .modal-lg { + width: 900px; + } +} +.tooltip { + position: absolute; + z-index: 1070; + display: block; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 12px; + font-style: normal; + font-weight: normal; + line-height: 1.42857143; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + word-wrap: normal; + white-space: normal; + filter: alpha(opacity=0); + opacity: 0; + + line-break: auto; +} +.tooltip.in { + filter: alpha(opacity=90); + opacity: .9; +} +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #fff; + text-align: center; + background-color: #000; + border-radius: 4px; +} +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-left .tooltip-arrow { + right: 5px; + bottom: 0; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-right .tooltip-arrow { + bottom: 0; + left: 5px; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-width: 5px 5px 5px 0; + border-right-color: #000; +} +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-width: 5px 0 5px 5px; + border-left-color: #000; +} +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-left .tooltip-arrow { + top: 0; + right: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-right .tooltip-arrow { + top: 0; + left: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: none; + max-width: 276px; + padding: 1px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.42857143; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + word-wrap: normal; + white-space: normal; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, .2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); + box-shadow: 0 5px 10px rgba(0, 0, 0, .2); + + line-break: auto; +} +.popover.top { + margin-top: -10px; +} +.popover.right { + margin-left: 10px; +} +.popover.bottom { + margin-top: 10px; +} +.popover.left { + margin-left: -10px; +} +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} +.popover-content { + padding: 9px 14px; +} +.popover > .arrow, +.popover > .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.popover > .arrow { + border-width: 11px; +} +.popover > .arrow:after { + content: ""; + border-width: 10px; +} +.popover.top > .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999; + border-top-color: rgba(0, 0, 0, .25); + border-bottom-width: 0; +} +.popover.top > .arrow:after { + bottom: 1px; + margin-left: -10px; + content: " "; + border-top-color: #fff; + border-bottom-width: 0; +} +.popover.right > .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999; + border-right-color: rgba(0, 0, 0, .25); + border-left-width: 0; +} +.popover.right > .arrow:after { + bottom: -10px; + left: 1px; + content: " "; + border-right-color: #fff; + border-left-width: 0; +} +.popover.bottom > .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-top-width: 0; + border-bottom-color: #999; + border-bottom-color: rgba(0, 0, 0, .25); +} +.popover.bottom > .arrow:after { + top: 1px; + margin-left: -10px; + content: " "; + border-top-width: 0; + border-bottom-color: #fff; +} +.popover.left > .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-right-width: 0; + border-left-color: #999; + border-left-color: rgba(0, 0, 0, .25); +} +.popover.left > .arrow:after { + right: 1px; + bottom: -10px; + content: " "; + border-right-width: 0; + border-left-color: #fff; +} +.carousel { + position: relative; +} +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: .6s ease-in-out left; + -o-transition: .6s ease-in-out left; + transition: .6s ease-in-out left; +} +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + line-height: 1; +} +@media all and (transform-3d), (-webkit-transform-3d) { + .carousel-inner > .item { + -webkit-transition: -webkit-transform .6s ease-in-out; + -o-transition: -o-transform .6s ease-in-out; + transition: transform .6s ease-in-out; + + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000px; + perspective: 1000px; + } + .carousel-inner > .item.next, + .carousel-inner > .item.active.right { + left: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + .carousel-inner > .item.prev, + .carousel-inner > .item.active.left { + left: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + .carousel-inner > .item.next.left, + .carousel-inner > .item.prev.right, + .carousel-inner > .item.active { + left: 0; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} +.carousel-inner > .active { + left: 0; +} +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} +.carousel-inner > .next { + left: 100%; +} +.carousel-inner > .prev { + left: -100%; +} +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} +.carousel-inner > .active.left { + left: -100%; +} +.carousel-inner > .active.right { + left: 100%; +} +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #fff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, .6); + background-color: rgba(0, 0, 0, 0); + filter: alpha(opacity=50); + opacity: .5; +} +.carousel-control.left { + background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); + background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001))); + background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); + background-repeat: repeat-x; +} +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); + background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5))); + background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); + background-repeat: repeat-x; +} +.carousel-control:hover, +.carousel-control:focus { + color: #fff; + text-decoration: none; + filter: alpha(opacity=90); + outline: 0; + opacity: .9; +} +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; + margin-top: -10px; +} +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; + margin-left: -10px; +} +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; + margin-right: -10px; +} +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + font-family: serif; + line-height: 1; +} +.carousel-control .icon-prev:before { + content: '\2039'; +} +.carousel-control .icon-next:before { + content: '\203a'; +} +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #fff; + border-radius: 10px; +} +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #fff; +} +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #fff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, .6); +} +.carousel-caption .btn { + text-shadow: none; +} +@media screen and (min-width: 768px) { + .carousel-control .glyphicon-chevron-left, + .carousel-control .glyphicon-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -10px; + font-size: 30px; + } + .carousel-control .glyphicon-chevron-left, + .carousel-control .icon-prev { + margin-left: -10px; + } + .carousel-control .glyphicon-chevron-right, + .carousel-control .icon-next { + margin-right: -10px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} +.clearfix:before, +.clearfix:after, +.dl-horizontal dd:before, +.dl-horizontal dd:after, +.container:before, +.container:after, +.container-fluid:before, +.container-fluid:after, +.row:before, +.row:after, +.form-horizontal .form-group:before, +.form-horizontal .form-group:after, +.btn-toolbar:before, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after, +.nav:before, +.nav:after, +.navbar:before, +.navbar:after, +.navbar-header:before, +.navbar-header:after, +.navbar-collapse:before, +.navbar-collapse:after, +.pager:before, +.pager:after, +.panel-body:before, +.panel-body:after, +.modal-header:before, +.modal-header:after, +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} +.clearfix:after, +.dl-horizontal dd:after, +.container:after, +.container-fluid:after, +.row:after, +.form-horizontal .form-group:after, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:after, +.nav:after, +.navbar:after, +.navbar-header:after, +.navbar-collapse:after, +.pager:after, +.panel-body:after, +.modal-header:after, +.modal-footer:after { + clear: both; +} +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} +.pull-right { + float: right !important; +} +.pull-left { + float: left !important; +} +.hide { + display: none !important; +} +.show { + display: block !important; +} +.invisible { + visibility: hidden; +} +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} +.hidden { + display: none !important; +} +.affix { + position: fixed; +} +@-ms-viewport { + width: device-width; +} +.visible-xs, +.visible-sm, +.visible-md, +.visible-lg { + display: none !important; +} +.visible-xs-block, +.visible-xs-inline, +.visible-xs-inline-block, +.visible-sm-block, +.visible-sm-inline, +.visible-sm-inline-block, +.visible-md-block, +.visible-md-inline, +.visible-md-inline-block, +.visible-lg-block, +.visible-lg-inline, +.visible-lg-inline-block { + display: none !important; +} +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table !important; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} +@media (max-width: 767px) { + .visible-xs-block { + display: block !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline { + display: inline !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline-block { + display: inline-block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table !important; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-block { + display: block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline { + display: inline !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline-block { + display: inline-block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table !important; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-block { + display: block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline { + display: inline !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline-block { + display: inline-block !important; + } +} +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table !important; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} +@media (min-width: 1200px) { + .visible-lg-block { + display: block !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline { + display: inline !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline-block { + display: inline-block !important; + } +} +@media (max-width: 767px) { + .hidden-xs { + display: none !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm { + display: none !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md { + display: none !important; + } +} +@media (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 !important; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } +} +.visible-print-block { + display: none !important; +} +@media print { + .visible-print-block { + display: block !important; + } +} +.visible-print-inline { + display: none !important; +} +@media print { + .visible-print-inline { + display: inline !important; + } +} +.visible-print-inline-block { + display: none !important; +} +@media print { + .visible-print-inline-block { + display: inline-block !important; + } +} +@media print { + .hidden-print { + display: none !important; + } +} +/*# sourceMappingURL=bootstrap.css.map */ diff --git a/src/css/bootstrap-3.3.6.min.css b/src/css/bootstrap-3.3.6.min.css new file mode 100644 index 0000000..4cf729e --- /dev/null +++ b/src/css/bootstrap-3.3.6.min.css @@ -0,0 +1,6 @@ +/*! + * Bootstrap v3.3.6 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.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-md-1,.col-md-10,.col-md-11,.col-md-12,.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-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.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-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{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:auto}.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:auto}.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 (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{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:auto}.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:auto}.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 (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{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:auto}.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:auto}.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 (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{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:auto}.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:auto}.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}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (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!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/src/css/bootstrap.css b/src/css/bootstrap.css new file mode 100644 index 0000000..943532d --- /dev/null +++ b/src/css/bootstrap.css @@ -0,0 +1,9030 @@ +/*! + * Bootstrap v4.1.3 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors + * Copyright 2011-2018 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +:root { + --blue: #007bff; + --indigo: #6610f2; + --purple: #6f42c1; + --pink: #e83e8c; + --red: #dc3545; + --orange: #fd7e14; + --yellow: #ffc107; + --green: #28a745; + --teal: #20c997; + --cyan: #17a2b8; + --white: #fff; + --gray: #6c757d; + --gray-dark: #343a40; + --primary: #007bff; + --secondary: #6c757d; + --success: #28a745; + --info: #17a2b8; + --warning: #ffc107; + --danger: #dc3545; + --light: #f8f9fa; + --dark: #343a40; + --breakpoint-xs: 0; + --breakpoint-sm: 576px; + --breakpoint-md: 768px; + --breakpoint-lg: 992px; + --breakpoint-xl: 1200px; + --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; +} + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html { + font-family: sans-serif; + line-height: 1.15; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + -ms-overflow-style: scrollbar; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +@-ms-viewport { + width: device-width; +} + +article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { + display: block; +} + +body { + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #212529; + text-align: left; + background-color: #fff; +} + +[tabindex="-1"]:focus { + outline: 0 !important; +} + +hr { + box-sizing: content-box; + height: 0; + overflow: visible; +} + +h1, h2, h3, h4, h5, h6 { + margin-top: 0; + margin-bottom: 0.5rem; +} + +p { + margin-top: 0; + margin-bottom: 1rem; +} + +abbr[title], +abbr[data-original-title] { + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + cursor: help; + border-bottom: 0; +} + +address { + margin-bottom: 1rem; + font-style: normal; + line-height: inherit; +} + +ol, +ul, +dl { + margin-top: 0; + margin-bottom: 1rem; +} + +ol ol, +ul ul, +ol ul, +ul ol { + margin-bottom: 0; +} + +dt { + font-weight: 700; +} + +dd { + margin-bottom: .5rem; + margin-left: 0; +} + +blockquote { + margin: 0 0 1rem; +} + +dfn { + font-style: italic; +} + +b, +strong { + font-weight: bolder; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sub { + bottom: -.25em; +} + +sup { + top: -.5em; +} + +a { + color: #007bff; + text-decoration: none; + background-color: transparent; + -webkit-text-decoration-skip: objects; +} + +a:hover { + color: #0056b3; + text-decoration: underline; +} + +a:not([href]):not([tabindex]) { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):focus { + outline: 0; +} + +pre, +code, +kbd, +samp { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-size: 1em; +} + +pre { + margin-top: 0; + margin-bottom: 1rem; + overflow: auto; + -ms-overflow-style: scrollbar; +} + +figure { + margin: 0 0 1rem; +} + +img { + vertical-align: middle; + border-style: none; +} + +svg { + overflow: hidden; + vertical-align: middle; +} + +table { + border-collapse: collapse; +} + +caption { + padding-top: 0.75rem; + padding-bottom: 0.75rem; + color: #6c757d; + text-align: left; + caption-side: bottom; +} + +th { + text-align: inherit; +} + +label { + display: inline-block; + margin-bottom: 0.5rem; +} + +button { + border-radius: 0; +} + +button:focus { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} + +input, +button, +select, +optgroup, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +button, +input { + overflow: visible; +} + +button, +select { + text-transform: none; +} + +button, +html [type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + padding: 0; + border-style: none; +} + +input[type="radio"], +input[type="checkbox"] { + box-sizing: border-box; + padding: 0; +} + +input[type="date"], +input[type="time"], +input[type="datetime-local"], +input[type="month"] { + -webkit-appearance: listbox; +} + +textarea { + overflow: auto; + resize: vertical; +} + +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + max-width: 100%; + padding: 0; + margin-bottom: .5rem; + font-size: 1.5rem; + line-height: inherit; + color: inherit; + white-space: normal; +} + +progress { + vertical-align: baseline; +} + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +[type="search"] { + outline-offset: -2px; + -webkit-appearance: none; +} + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-file-upload-button { + font: inherit; + -webkit-appearance: button; +} + +output { + display: inline-block; +} + +summary { + display: list-item; + cursor: pointer; +} + +template { + display: none; +} + +[hidden] { + display: none !important; +} + +h1, h2, h3, h4, h5, h6, +.h1, .h2, .h3, .h4, .h5, .h6 { + margin-bottom: 0.5rem; + font-family: inherit; + font-weight: 500; + line-height: 1.2; + color: inherit; +} + +h1, .h1 { + font-size: 2.5rem; +} + +h2, .h2 { + font-size: 2rem; +} + +h3, .h3 { + font-size: 1.75rem; +} + +h4, .h4 { + font-size: 1.5rem; +} + +h5, .h5 { + font-size: 1.25rem; +} + +h6, .h6 { + font-size: 1rem; +} + +.lead { + font-size: 1.25rem; + font-weight: 300; +} + +.display-1 { + font-size: 6rem; + font-weight: 300; + line-height: 1.2; +} + +.display-2 { + font-size: 5.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-3 { + font-size: 4.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-4 { + font-size: 3.5rem; + font-weight: 300; + line-height: 1.2; +} + +hr { + margin-top: 1rem; + margin-bottom: 1rem; + border: 0; + border-top: 1px solid rgba(0, 0, 0, 0.1); +} + +small, +.small { + font-size: 80%; + font-weight: 400; +} + +mark, +.mark { + padding: 0.2em; + background-color: #fcf8e3; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline-item { + display: inline-block; +} + +.list-inline-item:not(:last-child) { + margin-right: 0.5rem; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +.blockquote { + margin-bottom: 1rem; + font-size: 1.25rem; +} + +.blockquote-footer { + display: block; + font-size: 80%; + color: #6c757d; +} + +.blockquote-footer::before { + content: "\2014 \00A0"; +} + +.img-fluid { + max-width: 100%; + height: auto; +} + +.img-thumbnail { + padding: 0.25rem; + background-color: #fff; + border: 1px solid #dee2e6; + border-radius: 0.25rem; + max-width: 100%; + height: auto; +} + +.figure { + display: inline-block; +} + +.figure-img { + margin-bottom: 0.5rem; + line-height: 1; +} + +.figure-caption { + font-size: 90%; + color: #6c757d; +} + +code { + font-size: 87.5%; + color: #e83e8c; + word-break: break-word; +} + +a > code { + color: inherit; +} + +kbd { + padding: 0.2rem 0.4rem; + font-size: 87.5%; + color: #fff; + background-color: #212529; + border-radius: 0.2rem; +} + +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: 700; +} + +pre { + display: block; + font-size: 87.5%; + color: #212529; +} + +pre code { + font-size: inherit; + color: inherit; + word-break: normal; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1140px; + } +} + +.container-fluid { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.row { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; +} + +.no-gutters { + margin-right: 0; + margin-left: 0; +} + +.no-gutters > .col, +.no-gutters > [class*="col-"] { + padding-right: 0; + padding-left: 0; +} + +.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, +.col-auto, .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, .col-sm, +.col-sm-auto, .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, .col-md, +.col-md-auto, .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, .col-lg, +.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, +.col-xl-auto { + position: relative; + width: 100%; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +.col-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; +} + +.col-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; +} + +.col-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; +} + +.col-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; +} + +.col-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; +} + +.col-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; +} + +.col-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; +} + +.col-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; +} + +.col-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; +} + +.col-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; +} + +.col-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; +} + +.col-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; +} + +.col-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; +} + +.order-first { + -ms-flex-order: -1; + order: -1; +} + +.order-last { + -ms-flex-order: 13; + order: 13; +} + +.order-0 { + -ms-flex-order: 0; + order: 0; +} + +.order-1 { + -ms-flex-order: 1; + order: 1; +} + +.order-2 { + -ms-flex-order: 2; + order: 2; +} + +.order-3 { + -ms-flex-order: 3; + order: 3; +} + +.order-4 { + -ms-flex-order: 4; + order: 4; +} + +.order-5 { + -ms-flex-order: 5; + order: 5; +} + +.order-6 { + -ms-flex-order: 6; + order: 6; +} + +.order-7 { + -ms-flex-order: 7; + order: 7; +} + +.order-8 { + -ms-flex-order: 8; + order: 8; +} + +.order-9 { + -ms-flex-order: 9; + order: 9; +} + +.order-10 { + -ms-flex-order: 10; + order: 10; +} + +.order-11 { + -ms-flex-order: 11; + order: 11; +} + +.order-12 { + -ms-flex-order: 12; + order: 12; +} + +.offset-1 { + margin-left: 8.333333%; +} + +.offset-2 { + margin-left: 16.666667%; +} + +.offset-3 { + margin-left: 25%; +} + +.offset-4 { + margin-left: 33.333333%; +} + +.offset-5 { + margin-left: 41.666667%; +} + +.offset-6 { + margin-left: 50%; +} + +.offset-7 { + margin-left: 58.333333%; +} + +.offset-8 { + margin-left: 66.666667%; +} + +.offset-9 { + margin-left: 75%; +} + +.offset-10 { + margin-left: 83.333333%; +} + +.offset-11 { + margin-left: 91.666667%; +} + +@media (min-width: 576px) { + .col-sm { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-sm-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-sm-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-sm-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-sm-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-sm-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-sm-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-sm-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-sm-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-sm-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-sm-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-sm-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-sm-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-sm-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-sm-first { + -ms-flex-order: -1; + order: -1; + } + .order-sm-last { + -ms-flex-order: 13; + order: 13; + } + .order-sm-0 { + -ms-flex-order: 0; + order: 0; + } + .order-sm-1 { + -ms-flex-order: 1; + order: 1; + } + .order-sm-2 { + -ms-flex-order: 2; + order: 2; + } + .order-sm-3 { + -ms-flex-order: 3; + order: 3; + } + .order-sm-4 { + -ms-flex-order: 4; + order: 4; + } + .order-sm-5 { + -ms-flex-order: 5; + order: 5; + } + .order-sm-6 { + -ms-flex-order: 6; + order: 6; + } + .order-sm-7 { + -ms-flex-order: 7; + order: 7; + } + .order-sm-8 { + -ms-flex-order: 8; + order: 8; + } + .order-sm-9 { + -ms-flex-order: 9; + order: 9; + } + .order-sm-10 { + -ms-flex-order: 10; + order: 10; + } + .order-sm-11 { + -ms-flex-order: 11; + order: 11; + } + .order-sm-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-sm-0 { + margin-left: 0; + } + .offset-sm-1 { + margin-left: 8.333333%; + } + .offset-sm-2 { + margin-left: 16.666667%; + } + .offset-sm-3 { + margin-left: 25%; + } + .offset-sm-4 { + margin-left: 33.333333%; + } + .offset-sm-5 { + margin-left: 41.666667%; + } + .offset-sm-6 { + margin-left: 50%; + } + .offset-sm-7 { + margin-left: 58.333333%; + } + .offset-sm-8 { + margin-left: 66.666667%; + } + .offset-sm-9 { + margin-left: 75%; + } + .offset-sm-10 { + margin-left: 83.333333%; + } + .offset-sm-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 768px) { + .col-md { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-md-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-md-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-md-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-md-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-md-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-md-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-md-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-md-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-md-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-md-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-md-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-md-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-md-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-md-first { + -ms-flex-order: -1; + order: -1; + } + .order-md-last { + -ms-flex-order: 13; + order: 13; + } + .order-md-0 { + -ms-flex-order: 0; + order: 0; + } + .order-md-1 { + -ms-flex-order: 1; + order: 1; + } + .order-md-2 { + -ms-flex-order: 2; + order: 2; + } + .order-md-3 { + -ms-flex-order: 3; + order: 3; + } + .order-md-4 { + -ms-flex-order: 4; + order: 4; + } + .order-md-5 { + -ms-flex-order: 5; + order: 5; + } + .order-md-6 { + -ms-flex-order: 6; + order: 6; + } + .order-md-7 { + -ms-flex-order: 7; + order: 7; + } + .order-md-8 { + -ms-flex-order: 8; + order: 8; + } + .order-md-9 { + -ms-flex-order: 9; + order: 9; + } + .order-md-10 { + -ms-flex-order: 10; + order: 10; + } + .order-md-11 { + -ms-flex-order: 11; + order: 11; + } + .order-md-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-md-0 { + margin-left: 0; + } + .offset-md-1 { + margin-left: 8.333333%; + } + .offset-md-2 { + margin-left: 16.666667%; + } + .offset-md-3 { + margin-left: 25%; + } + .offset-md-4 { + margin-left: 33.333333%; + } + .offset-md-5 { + margin-left: 41.666667%; + } + .offset-md-6 { + margin-left: 50%; + } + .offset-md-7 { + margin-left: 58.333333%; + } + .offset-md-8 { + margin-left: 66.666667%; + } + .offset-md-9 { + margin-left: 75%; + } + .offset-md-10 { + margin-left: 83.333333%; + } + .offset-md-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 992px) { + .col-lg { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-lg-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-lg-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-lg-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-lg-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-lg-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-lg-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-lg-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-lg-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-lg-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-lg-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-lg-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-lg-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-lg-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-lg-first { + -ms-flex-order: -1; + order: -1; + } + .order-lg-last { + -ms-flex-order: 13; + order: 13; + } + .order-lg-0 { + -ms-flex-order: 0; + order: 0; + } + .order-lg-1 { + -ms-flex-order: 1; + order: 1; + } + .order-lg-2 { + -ms-flex-order: 2; + order: 2; + } + .order-lg-3 { + -ms-flex-order: 3; + order: 3; + } + .order-lg-4 { + -ms-flex-order: 4; + order: 4; + } + .order-lg-5 { + -ms-flex-order: 5; + order: 5; + } + .order-lg-6 { + -ms-flex-order: 6; + order: 6; + } + .order-lg-7 { + -ms-flex-order: 7; + order: 7; + } + .order-lg-8 { + -ms-flex-order: 8; + order: 8; + } + .order-lg-9 { + -ms-flex-order: 9; + order: 9; + } + .order-lg-10 { + -ms-flex-order: 10; + order: 10; + } + .order-lg-11 { + -ms-flex-order: 11; + order: 11; + } + .order-lg-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-lg-0 { + margin-left: 0; + } + .offset-lg-1 { + margin-left: 8.333333%; + } + .offset-lg-2 { + margin-left: 16.666667%; + } + .offset-lg-3 { + margin-left: 25%; + } + .offset-lg-4 { + margin-left: 33.333333%; + } + .offset-lg-5 { + margin-left: 41.666667%; + } + .offset-lg-6 { + margin-left: 50%; + } + .offset-lg-7 { + margin-left: 58.333333%; + } + .offset-lg-8 { + margin-left: 66.666667%; + } + .offset-lg-9 { + margin-left: 75%; + } + .offset-lg-10 { + margin-left: 83.333333%; + } + .offset-lg-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 1200px) { + .col-xl { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-xl-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-xl-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-xl-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-xl-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-xl-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-xl-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-xl-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-xl-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-xl-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-xl-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-xl-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-xl-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-xl-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-xl-first { + -ms-flex-order: -1; + order: -1; + } + .order-xl-last { + -ms-flex-order: 13; + order: 13; + } + .order-xl-0 { + -ms-flex-order: 0; + order: 0; + } + .order-xl-1 { + -ms-flex-order: 1; + order: 1; + } + .order-xl-2 { + -ms-flex-order: 2; + order: 2; + } + .order-xl-3 { + -ms-flex-order: 3; + order: 3; + } + .order-xl-4 { + -ms-flex-order: 4; + order: 4; + } + .order-xl-5 { + -ms-flex-order: 5; + order: 5; + } + .order-xl-6 { + -ms-flex-order: 6; + order: 6; + } + .order-xl-7 { + -ms-flex-order: 7; + order: 7; + } + .order-xl-8 { + -ms-flex-order: 8; + order: 8; + } + .order-xl-9 { + -ms-flex-order: 9; + order: 9; + } + .order-xl-10 { + -ms-flex-order: 10; + order: 10; + } + .order-xl-11 { + -ms-flex-order: 11; + order: 11; + } + .order-xl-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-xl-0 { + margin-left: 0; + } + .offset-xl-1 { + margin-left: 8.333333%; + } + .offset-xl-2 { + margin-left: 16.666667%; + } + .offset-xl-3 { + margin-left: 25%; + } + .offset-xl-4 { + margin-left: 33.333333%; + } + .offset-xl-5 { + margin-left: 41.666667%; + } + .offset-xl-6 { + margin-left: 50%; + } + .offset-xl-7 { + margin-left: 58.333333%; + } + .offset-xl-8 { + margin-left: 66.666667%; + } + .offset-xl-9 { + margin-left: 75%; + } + .offset-xl-10 { + margin-left: 83.333333%; + } + .offset-xl-11 { + margin-left: 91.666667%; + } +} + +.table { + width: 100%; + margin-bottom: 1rem; + background-color: transparent; +} + +.table th, +.table td { + padding: 0.75rem; + vertical-align: top; + border-top: 1px solid #dee2e6; +} + +.table thead th { + vertical-align: bottom; + border-bottom: 2px solid #dee2e6; +} + +.table tbody + tbody { + border-top: 2px solid #dee2e6; +} + +.table .table { + background-color: #fff; +} + +.table-sm th, +.table-sm td { + padding: 0.3rem; +} + +.table-bordered { + border: 1px solid #dee2e6; +} + +.table-bordered th, +.table-bordered td { + border: 1px solid #dee2e6; +} + +.table-bordered thead th, +.table-bordered thead td { + border-bottom-width: 2px; +} + +.table-borderless th, +.table-borderless td, +.table-borderless thead th, +.table-borderless tbody + tbody { + border: 0; +} + +.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(0, 0, 0, 0.05); +} + +.table-hover tbody tr:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-primary, +.table-primary > th, +.table-primary > td { + background-color: #b8daff; +} + +.table-hover .table-primary:hover { + background-color: #9fcdff; +} + +.table-hover .table-primary:hover > td, +.table-hover .table-primary:hover > th { + background-color: #9fcdff; +} + +.table-secondary, +.table-secondary > th, +.table-secondary > td { + background-color: #d6d8db; +} + +.table-hover .table-secondary:hover { + background-color: #c8cbcf; +} + +.table-hover .table-secondary:hover > td, +.table-hover .table-secondary:hover > th { + background-color: #c8cbcf; +} + +.table-success, +.table-success > th, +.table-success > td { + background-color: #c3e6cb; +} + +.table-hover .table-success:hover { + background-color: #b1dfbb; +} + +.table-hover .table-success:hover > td, +.table-hover .table-success:hover > th { + background-color: #b1dfbb; +} + +.table-info, +.table-info > th, +.table-info > td { + background-color: #bee5eb; +} + +.table-hover .table-info:hover { + background-color: #abdde5; +} + +.table-hover .table-info:hover > td, +.table-hover .table-info:hover > th { + background-color: #abdde5; +} + +.table-warning, +.table-warning > th, +.table-warning > td { + background-color: #ffeeba; +} + +.table-hover .table-warning:hover { + background-color: #ffe8a1; +} + +.table-hover .table-warning:hover > td, +.table-hover .table-warning:hover > th { + background-color: #ffe8a1; +} + +.table-danger, +.table-danger > th, +.table-danger > td { + background-color: #f5c6cb; +} + +.table-hover .table-danger:hover { + background-color: #f1b0b7; +} + +.table-hover .table-danger:hover > td, +.table-hover .table-danger:hover > th { + background-color: #f1b0b7; +} + +.table-light, +.table-light > th, +.table-light > td { + background-color: #fdfdfe; +} + +.table-hover .table-light:hover { + background-color: #ececf6; +} + +.table-hover .table-light:hover > td, +.table-hover .table-light:hover > th { + background-color: #ececf6; +} + +.table-dark, +.table-dark > th, +.table-dark > td { + background-color: #c6c8ca; +} + +.table-hover .table-dark:hover { + background-color: #b9bbbe; +} + +.table-hover .table-dark:hover > td, +.table-hover .table-dark:hover > th { + background-color: #b9bbbe; +} + +.table-active, +.table-active > th, +.table-active > td { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover > td, +.table-hover .table-active:hover > th { + background-color: rgba(0, 0, 0, 0.075); +} + +.table .thead-dark th { + color: #fff; + background-color: #212529; + border-color: #32383e; +} + +.table .thead-light th { + color: #495057; + background-color: #e9ecef; + border-color: #dee2e6; +} + +.table-dark { + color: #fff; + background-color: #212529; +} + +.table-dark th, +.table-dark td, +.table-dark thead th { + border-color: #32383e; +} + +.table-dark.table-bordered { + border: 0; +} + +.table-dark.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(255, 255, 255, 0.05); +} + +.table-dark.table-hover tbody tr:hover { + background-color: rgba(255, 255, 255, 0.075); +} + +@media (max-width: 575.98px) { + .table-responsive-sm { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-sm > .table-bordered { + border: 0; + } +} + +@media (max-width: 767.98px) { + .table-responsive-md { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-md > .table-bordered { + border: 0; + } +} + +@media (max-width: 991.98px) { + .table-responsive-lg { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-lg > .table-bordered { + border: 0; + } +} + +@media (max-width: 1199.98px) { + .table-responsive-xl { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-xl > .table-bordered { + border: 0; + } +} + +.table-responsive { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; +} + +.table-responsive > .table-bordered { + border: 0; +} + +.form-control { + display: block; + width: 100%; + height: calc(2.25rem + 2px); + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + border-radius: 0.25rem; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +@media screen and (prefers-reduced-motion: reduce) { + .form-control { + transition: none; + } +} + +.form-control::-ms-expand { + background-color: transparent; + border: 0; +} + +.form-control:focus { + color: #495057; + background-color: #fff; + border-color: #80bdff; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.form-control::-webkit-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::-moz-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control:disabled, .form-control[readonly] { + background-color: #e9ecef; + opacity: 1; +} + +select.form-control:focus::-ms-value { + color: #495057; + background-color: #fff; +} + +.form-control-file, +.form-control-range { + display: block; + width: 100%; +} + +.col-form-label { + padding-top: calc(0.375rem + 1px); + padding-bottom: calc(0.375rem + 1px); + margin-bottom: 0; + font-size: inherit; + line-height: 1.5; +} + +.col-form-label-lg { + padding-top: calc(0.5rem + 1px); + padding-bottom: calc(0.5rem + 1px); + font-size: 1.25rem; + line-height: 1.5; +} + +.col-form-label-sm { + padding-top: calc(0.25rem + 1px); + padding-bottom: calc(0.25rem + 1px); + font-size: 0.875rem; + line-height: 1.5; +} + +.form-control-plaintext { + display: block; + width: 100%; + padding-top: 0.375rem; + padding-bottom: 0.375rem; + margin-bottom: 0; + line-height: 1.5; + color: #212529; + background-color: transparent; + border: solid transparent; + border-width: 1px 0; +} + +.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg { + padding-right: 0; + padding-left: 0; +} + +.form-control-sm { + height: calc(1.8125rem + 2px); + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.form-control-lg { + height: calc(2.875rem + 2px); + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +select.form-control[size], select.form-control[multiple] { + height: auto; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 1rem; +} + +.form-text { + display: block; + margin-top: 0.25rem; +} + +.form-row { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -5px; + margin-left: -5px; +} + +.form-row > .col, +.form-row > [class*="col-"] { + padding-right: 5px; + padding-left: 5px; +} + +.form-check { + position: relative; + display: block; + padding-left: 1.25rem; +} + +.form-check-input { + position: absolute; + margin-top: 0.3rem; + margin-left: -1.25rem; +} + +.form-check-input:disabled ~ .form-check-label { + color: #6c757d; +} + +.form-check-label { + margin-bottom: 0; +} + +.form-check-inline { + display: -ms-inline-flexbox; + display: inline-flex; + -ms-flex-align: center; + align-items: center; + padding-left: 0; + margin-right: 0.75rem; +} + +.form-check-inline .form-check-input { + position: static; + margin-top: 0; + margin-right: 0.3125rem; + margin-left: 0; +} + +.valid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #28a745; +} + +.valid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: .1rem; + font-size: 0.875rem; + line-height: 1.5; + color: #fff; + background-color: rgba(40, 167, 69, 0.9); + border-radius: 0.25rem; +} + +.was-validated .form-control:valid, .form-control.is-valid, .was-validated +.custom-select:valid, +.custom-select.is-valid { + border-color: #28a745; +} + +.was-validated .form-control:valid:focus, .form-control.is-valid:focus, .was-validated +.custom-select:valid:focus, +.custom-select.is-valid:focus { + border-color: #28a745; + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.was-validated .form-control:valid ~ .valid-feedback, +.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback, +.form-control.is-valid ~ .valid-tooltip, .was-validated +.custom-select:valid ~ .valid-feedback, +.was-validated +.custom-select:valid ~ .valid-tooltip, +.custom-select.is-valid ~ .valid-feedback, +.custom-select.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-control-file:valid ~ .valid-feedback, +.was-validated .form-control-file:valid ~ .valid-tooltip, .form-control-file.is-valid ~ .valid-feedback, +.form-control-file.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label { + color: #28a745; +} + +.was-validated .form-check-input:valid ~ .valid-feedback, +.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback, +.form-check-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label { + color: #28a745; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before { + background-color: #71dd8a; +} + +.was-validated .custom-control-input:valid ~ .valid-feedback, +.was-validated .custom-control-input:valid ~ .valid-tooltip, .custom-control-input.is-valid ~ .valid-feedback, +.custom-control-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before { + background-color: #34ce57; +} + +.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label { + border-color: #28a745; +} + +.was-validated .custom-file-input:valid ~ .custom-file-label::after, .custom-file-input.is-valid ~ .custom-file-label::after { + border-color: inherit; +} + +.was-validated .custom-file-input:valid ~ .valid-feedback, +.was-validated .custom-file-input:valid ~ .valid-tooltip, .custom-file-input.is-valid ~ .valid-feedback, +.custom-file-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.invalid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #dc3545; +} + +.invalid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: .1rem; + font-size: 0.875rem; + line-height: 1.5; + color: #fff; + background-color: rgba(220, 53, 69, 0.9); + border-radius: 0.25rem; +} + +.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated +.custom-select:invalid, +.custom-select.is-invalid { + border-color: #dc3545; +} + +.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus, .was-validated +.custom-select:invalid:focus, +.custom-select.is-invalid:focus { + border-color: #dc3545; + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.was-validated .form-control:invalid ~ .invalid-feedback, +.was-validated .form-control:invalid ~ .invalid-tooltip, .form-control.is-invalid ~ .invalid-feedback, +.form-control.is-invalid ~ .invalid-tooltip, .was-validated +.custom-select:invalid ~ .invalid-feedback, +.was-validated +.custom-select:invalid ~ .invalid-tooltip, +.custom-select.is-invalid ~ .invalid-feedback, +.custom-select.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-control-file:invalid ~ .invalid-feedback, +.was-validated .form-control-file:invalid ~ .invalid-tooltip, .form-control-file.is-invalid ~ .invalid-feedback, +.form-control-file.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label { + color: #dc3545; +} + +.was-validated .form-check-input:invalid ~ .invalid-feedback, +.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback, +.form-check-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label { + color: #dc3545; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before { + background-color: #efa2a9; +} + +.was-validated .custom-control-input:invalid ~ .invalid-feedback, +.was-validated .custom-control-input:invalid ~ .invalid-tooltip, .custom-control-input.is-invalid ~ .invalid-feedback, +.custom-control-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before { + background-color: #e4606d; +} + +.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label { + border-color: #dc3545; +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label::after, .custom-file-input.is-invalid ~ .custom-file-label::after { + border-color: inherit; +} + +.was-validated .custom-file-input:invalid ~ .invalid-feedback, +.was-validated .custom-file-input:invalid ~ .invalid-tooltip, .custom-file-input.is-invalid ~ .invalid-feedback, +.custom-file-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.form-inline { + display: -ms-flexbox; + display: flex; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -ms-flex-align: center; + align-items: center; +} + +.form-inline .form-check { + width: 100%; +} + +@media (min-width: 576px) { + .form-inline label { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + margin-bottom: 0; + } + .form-inline .form-group { + display: -ms-flexbox; + display: flex; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -ms-flex-align: center; + align-items: center; + margin-bottom: 0; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-plaintext { + display: inline-block; + } + .form-inline .input-group, + .form-inline .custom-select { + width: auto; + } + .form-inline .form-check { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + width: auto; + padding-left: 0; + } + .form-inline .form-check-input { + position: relative; + margin-top: 0; + margin-right: 0.25rem; + margin-left: 0; + } + .form-inline .custom-control { + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + } + .form-inline .custom-control-label { + margin-bottom: 0; + } +} + +.btn { + display: inline-block; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + border: 1px solid transparent; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.5; + border-radius: 0.25rem; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +@media screen and (prefers-reduced-motion: reduce) { + .btn { + transition: none; + } +} + +.btn:hover, .btn:focus { + text-decoration: none; +} + +.btn:focus, .btn.focus { + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.btn.disabled, .btn:disabled { + opacity: 0.65; +} + +.btn:not(:disabled):not(.disabled) { + cursor: pointer; +} + +a.btn.disabled, +fieldset:disabled a.btn { + pointer-events: none; +} + +.btn-primary { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-primary:hover { + color: #fff; + background-color: #0069d9; + border-color: #0062cc; +} + +.btn-primary:focus, .btn-primary.focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-primary.disabled, .btn-primary:disabled { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, +.show > .btn-primary.dropdown-toggle { + color: #fff; + background-color: #0062cc; + border-color: #005cbf; +} + +.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-secondary { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-secondary:hover { + color: #fff; + background-color: #5a6268; + border-color: #545b62; +} + +.btn-secondary:focus, .btn-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-secondary.disabled, .btn-secondary:disabled { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, +.show > .btn-secondary.dropdown-toggle { + color: #fff; + background-color: #545b62; + border-color: #4e555b; +} + +.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-success { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-success:hover { + color: #fff; + background-color: #218838; + border-color: #1e7e34; +} + +.btn-success:focus, .btn-success.focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-success.disabled, .btn-success:disabled { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, +.show > .btn-success.dropdown-toggle { + color: #fff; + background-color: #1e7e34; + border-color: #1c7430; +} + +.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-info { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-info:hover { + color: #fff; + background-color: #138496; + border-color: #117a8b; +} + +.btn-info:focus, .btn-info.focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-info.disabled, .btn-info:disabled { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, +.show > .btn-info.dropdown-toggle { + color: #fff; + background-color: #117a8b; + border-color: #10707f; +} + +.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-warning { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:hover { + color: #212529; + background-color: #e0a800; + border-color: #d39e00; +} + +.btn-warning:focus, .btn-warning.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-warning.disabled, .btn-warning:disabled { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, +.show > .btn-warning.dropdown-toggle { + color: #212529; + background-color: #d39e00; + border-color: #c69500; +} + +.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-danger { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-danger:hover { + color: #fff; + background-color: #c82333; + border-color: #bd2130; +} + +.btn-danger:focus, .btn-danger.focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-danger.disabled, .btn-danger:disabled { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, +.show > .btn-danger.dropdown-toggle { + color: #fff; + background-color: #bd2130; + border-color: #b21f2d; +} + +.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-light { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-light:hover { + color: #212529; + background-color: #e2e6ea; + border-color: #dae0e5; +} + +.btn-light:focus, .btn-light.focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-light.disabled, .btn-light:disabled { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, +.show > .btn-light.dropdown-toggle { + color: #212529; + background-color: #dae0e5; + border-color: #d3d9df; +} + +.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-dark { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-dark:hover { + color: #fff; + background-color: #23272b; + border-color: #1d2124; +} + +.btn-dark:focus, .btn-dark.focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-dark.disabled, .btn-dark:disabled { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, +.show > .btn-dark.dropdown-toggle { + color: #fff; + background-color: #1d2124; + border-color: #171a1d; +} + +.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-outline-primary { + color: #007bff; + background-color: transparent; + background-image: none; + border-color: #007bff; +} + +.btn-outline-primary:hover { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-outline-primary:focus, .btn-outline-primary.focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-outline-primary.disabled, .btn-outline-primary:disabled { + color: #007bff; + background-color: transparent; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, +.show > .btn-outline-primary.dropdown-toggle { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-outline-secondary { + color: #6c757d; + background-color: transparent; + background-image: none; + border-color: #6c757d; +} + +.btn-outline-secondary:hover { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-outline-secondary:focus, .btn-outline-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-outline-secondary.disabled, .btn-outline-secondary:disabled { + color: #6c757d; + background-color: transparent; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, +.show > .btn-outline-secondary.dropdown-toggle { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-outline-success { + color: #28a745; + background-color: transparent; + background-image: none; + border-color: #28a745; +} + +.btn-outline-success:hover { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-outline-success:focus, .btn-outline-success.focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-outline-success.disabled, .btn-outline-success:disabled { + color: #28a745; + background-color: transparent; +} + +.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, +.show > .btn-outline-success.dropdown-toggle { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-outline-info { + color: #17a2b8; + background-color: transparent; + background-image: none; + border-color: #17a2b8; +} + +.btn-outline-info:hover { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-outline-info:focus, .btn-outline-info.focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-outline-info.disabled, .btn-outline-info:disabled { + color: #17a2b8; + background-color: transparent; +} + +.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, +.show > .btn-outline-info.dropdown-toggle { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-outline-warning { + color: #ffc107; + background-color: transparent; + background-image: none; + border-color: #ffc107; +} + +.btn-outline-warning:hover { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:focus, .btn-outline-warning.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-warning.disabled, .btn-outline-warning:disabled { + color: #ffc107; + background-color: transparent; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, +.show > .btn-outline-warning.dropdown-toggle { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-danger { + color: #dc3545; + background-color: transparent; + background-image: none; + border-color: #dc3545; +} + +.btn-outline-danger:hover { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-outline-danger:focus, .btn-outline-danger.focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-outline-danger.disabled, .btn-outline-danger:disabled { + color: #dc3545; + background-color: transparent; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, +.show > .btn-outline-danger.dropdown-toggle { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-outline-light { + color: #f8f9fa; + background-color: transparent; + background-image: none; + border-color: #f8f9fa; +} + +.btn-outline-light:hover { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-outline-light:focus, .btn-outline-light.focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-outline-light.disabled, .btn-outline-light:disabled { + color: #f8f9fa; + background-color: transparent; +} + +.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, +.show > .btn-outline-light.dropdown-toggle { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-outline-dark { + color: #343a40; + background-color: transparent; + background-image: none; + border-color: #343a40; +} + +.btn-outline-dark:hover { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:focus, .btn-outline-dark.focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-outline-dark.disabled, .btn-outline-dark:disabled { + color: #343a40; + background-color: transparent; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, +.show > .btn-outline-dark.dropdown-toggle { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-link { + font-weight: 400; + color: #007bff; + background-color: transparent; +} + +.btn-link:hover { + color: #0056b3; + text-decoration: underline; + background-color: transparent; + border-color: transparent; +} + +.btn-link:focus, .btn-link.focus { + text-decoration: underline; + border-color: transparent; + box-shadow: none; +} + +.btn-link:disabled, .btn-link.disabled { + color: #6c757d; + pointer-events: none; +} + +.btn-lg, .btn-group-lg > .btn { + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.btn-sm, .btn-group-sm > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.btn-block { + display: block; + width: 100%; +} + +.btn-block + .btn-block { + margin-top: 0.5rem; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + transition: opacity 0.15s linear; +} + +@media screen and (prefers-reduced-motion: reduce) { + .fade { + transition: none; + } +} + +.fade:not(.show) { + opacity: 0; +} + +.collapse:not(.show) { + display: none; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + transition: height 0.35s ease; +} + +@media screen and (prefers-reduced-motion: reduce) { + .collapsing { + transition: none; + } +} + +.dropup, +.dropright, +.dropdown, +.dropleft { + position: relative; +} + +.dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid; + border-right: 0.3em solid transparent; + border-bottom: 0; + border-left: 0.3em solid transparent; +} + +.dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 10rem; + padding: 0.5rem 0; + margin: 0.125rem 0 0; + font-size: 1rem; + color: #212529; + text-align: left; + list-style: none; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; +} + +.dropdown-menu-right { + right: 0; + left: auto; +} + +.dropup .dropdown-menu { + top: auto; + bottom: 100%; + margin-top: 0; + margin-bottom: 0.125rem; +} + +.dropup .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0; + border-right: 0.3em solid transparent; + border-bottom: 0.3em solid; + border-left: 0.3em solid transparent; +} + +.dropup .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-menu { + top: 0; + right: auto; + left: 100%; + margin-top: 0; + margin-left: 0.125rem; +} + +.dropright .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0; + border-bottom: 0.3em solid transparent; + border-left: 0.3em solid; +} + +.dropright .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-toggle::after { + vertical-align: 0; +} + +.dropleft .dropdown-menu { + top: 0; + right: 100%; + left: auto; + margin-top: 0; + margin-right: 0.125rem; +} + +.dropleft .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; +} + +.dropleft .dropdown-toggle::after { + display: none; +} + +.dropleft .dropdown-toggle::before { + display: inline-block; + width: 0; + height: 0; + margin-right: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0.3em solid; + border-bottom: 0.3em solid transparent; +} + +.dropleft .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle::before { + vertical-align: 0; +} + +.dropdown-menu[x-placement^="top"], .dropdown-menu[x-placement^="right"], .dropdown-menu[x-placement^="bottom"], .dropdown-menu[x-placement^="left"] { + right: auto; + bottom: auto; +} + +.dropdown-divider { + height: 0; + margin: 0.5rem 0; + overflow: hidden; + border-top: 1px solid #e9ecef; +} + +.dropdown-item { + display: block; + width: 100%; + padding: 0.25rem 1.5rem; + clear: both; + font-weight: 400; + color: #212529; + text-align: inherit; + white-space: nowrap; + background-color: transparent; + border: 0; +} + +.dropdown-item:hover, .dropdown-item:focus { + color: #16181b; + text-decoration: none; + background-color: #f8f9fa; +} + +.dropdown-item.active, .dropdown-item:active { + color: #fff; + text-decoration: none; + background-color: #007bff; +} + +.dropdown-item.disabled, .dropdown-item:disabled { + color: #6c757d; + background-color: transparent; +} + +.dropdown-menu.show { + display: block; +} + +.dropdown-header { + display: block; + padding: 0.5rem 1.5rem; + margin-bottom: 0; + font-size: 0.875rem; + color: #6c757d; + white-space: nowrap; +} + +.dropdown-item-text { + display: block; + padding: 0.25rem 1.5rem; + color: #212529; +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + -ms-flex: 0 1 auto; + flex: 0 1 auto; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover { + z-index: 1; +} + +.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn.active { + z-index: 1; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group, +.btn-group-vertical .btn + .btn, +.btn-group-vertical .btn + .btn-group, +.btn-group-vertical .btn-group + .btn, +.btn-group-vertical .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.btn-toolbar .input-group { + width: auto; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.dropdown-toggle-split { + padding-right: 0.5625rem; + padding-left: 0.5625rem; +} + +.dropdown-toggle-split::after, +.dropup .dropdown-toggle-split::after, +.dropright .dropdown-toggle-split::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle-split::before { + margin-right: 0; +} + +.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split { + padding-right: 0.375rem; + padding-left: 0.375rem; +} + +.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split { + padding-right: 0.75rem; + padding-left: 0.75rem; +} + +.btn-group-vertical { + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-align: start; + align-items: flex-start; + -ms-flex-pack: center; + justify-content: center; +} + +.btn-group-vertical .btn, +.btn-group-vertical .btn-group { + width: 100%; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group-vertical > .btn-group:not(:last-child) > .btn { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.btn-group-toggle > .btn, +.btn-group-toggle > .btn-group > .btn { + margin-bottom: 0; +} + +.btn-group-toggle > .btn input[type="radio"], +.btn-group-toggle > .btn input[type="checkbox"], +.btn-group-toggle > .btn-group > .btn input[type="radio"], +.btn-group-toggle > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} + +.input-group { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; +} + +.input-group > .form-control, +.input-group > .custom-select, +.input-group > .custom-file { + position: relative; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + width: 1%; + margin-bottom: 0; +} + +.input-group > .form-control + .form-control, +.input-group > .form-control + .custom-select, +.input-group > .form-control + .custom-file, +.input-group > .custom-select + .form-control, +.input-group > .custom-select + .custom-select, +.input-group > .custom-select + .custom-file, +.input-group > .custom-file + .form-control, +.input-group > .custom-file + .custom-select, +.input-group > .custom-file + .custom-file { + margin-left: -1px; +} + +.input-group > .form-control:focus, +.input-group > .custom-select:focus, +.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label { + z-index: 3; +} + +.input-group > .custom-file .custom-file-input:focus { + z-index: 4; +} + +.input-group > .form-control:not(:last-child), +.input-group > .custom-select:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .form-control:not(:first-child), +.input-group > .custom-select:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group > .custom-file { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; +} + +.input-group > .custom-file:not(:last-child) .custom-file-label, +.input-group > .custom-file:not(:last-child) .custom-file-label::after { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .custom-file:not(:first-child) .custom-file-label { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group-prepend, +.input-group-append { + display: -ms-flexbox; + display: flex; +} + +.input-group-prepend .btn, +.input-group-append .btn { + position: relative; + z-index: 2; +} + +.input-group-prepend .btn + .btn, +.input-group-prepend .btn + .input-group-text, +.input-group-prepend .input-group-text + .input-group-text, +.input-group-prepend .input-group-text + .btn, +.input-group-append .btn + .btn, +.input-group-append .btn + .input-group-text, +.input-group-append .input-group-text + .input-group-text, +.input-group-append .input-group-text + .btn { + margin-left: -1px; +} + +.input-group-prepend { + margin-right: -1px; +} + +.input-group-append { + margin-left: -1px; +} + +.input-group-text { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + padding: 0.375rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + text-align: center; + white-space: nowrap; + background-color: #e9ecef; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} + +.input-group-text input[type="radio"], +.input-group-text input[type="checkbox"] { + margin-top: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-prepend > .input-group-text, +.input-group-lg > .input-group-append > .input-group-text, +.input-group-lg > .input-group-prepend > .btn, +.input-group-lg > .input-group-append > .btn { + height: calc(2.875rem + 2px); + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-prepend > .input-group-text, +.input-group-sm > .input-group-append > .input-group-text, +.input-group-sm > .input-group-prepend > .btn, +.input-group-sm > .input-group-append > .btn { + height: calc(1.8125rem + 2px); + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.input-group > .input-group-prepend > .btn, +.input-group > .input-group-prepend > .input-group-text, +.input-group > .input-group-append:not(:last-child) > .btn, +.input-group > .input-group-append:not(:last-child) > .input-group-text, +.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .input-group-append > .btn, +.input-group > .input-group-append > .input-group-text, +.input-group > .input-group-prepend:not(:first-child) > .btn, +.input-group > .input-group-prepend:not(:first-child) > .input-group-text, +.input-group > .input-group-prepend:first-child > .btn:not(:first-child), +.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.custom-control { + position: relative; + display: block; + min-height: 1.5rem; + padding-left: 1.5rem; +} + +.custom-control-inline { + display: -ms-inline-flexbox; + display: inline-flex; + margin-right: 1rem; +} + +.custom-control-input { + position: absolute; + z-index: -1; + opacity: 0; +} + +.custom-control-input:checked ~ .custom-control-label::before { + color: #fff; + background-color: #007bff; +} + +.custom-control-input:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-control-input:active ~ .custom-control-label::before { + color: #fff; + background-color: #b3d7ff; +} + +.custom-control-input:disabled ~ .custom-control-label { + color: #6c757d; +} + +.custom-control-input:disabled ~ .custom-control-label::before { + background-color: #e9ecef; +} + +.custom-control-label { + position: relative; + margin-bottom: 0; +} + +.custom-control-label::before { + position: absolute; + top: 0.25rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + pointer-events: none; + content: ""; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: #dee2e6; +} + +.custom-control-label::after { + position: absolute; + top: 0.25rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + content: ""; + background-repeat: no-repeat; + background-position: center center; + background-size: 50% 50%; +} + +.custom-checkbox .custom-control-label::before { + border-radius: 0.25rem; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { + background-color: #007bff; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before { + background-color: #007bff; +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E"); +} + +.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-radio .custom-control-label::before { + border-radius: 50%; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::before { + background-color: #007bff; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E"); +} + +.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-select { + display: inline-block; + width: 100%; + height: calc(2.25rem + 2px); + padding: 0.375rem 1.75rem 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + vertical-align: middle; + background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center; + background-size: 8px 10px; + border: 1px solid #ced4da; + border-radius: 0.25rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-select:focus { + border-color: #80bdff; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(128, 189, 255, 0.5); +} + +.custom-select:focus::-ms-value { + color: #495057; + background-color: #fff; +} + +.custom-select[multiple], .custom-select[size]:not([size="1"]) { + height: auto; + padding-right: 0.75rem; + background-image: none; +} + +.custom-select:disabled { + color: #6c757d; + background-color: #e9ecef; +} + +.custom-select::-ms-expand { + opacity: 0; +} + +.custom-select-sm { + height: calc(1.8125rem + 2px); + padding-top: 0.375rem; + padding-bottom: 0.375rem; + font-size: 75%; +} + +.custom-select-lg { + height: calc(2.875rem + 2px); + padding-top: 0.375rem; + padding-bottom: 0.375rem; + font-size: 125%; +} + +.custom-file { + position: relative; + display: inline-block; + width: 100%; + height: calc(2.25rem + 2px); + margin-bottom: 0; +} + +.custom-file-input { + position: relative; + z-index: 2; + width: 100%; + height: calc(2.25rem + 2px); + margin: 0; + opacity: 0; +} + +.custom-file-input:focus ~ .custom-file-label { + border-color: #80bdff; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-file-input:focus ~ .custom-file-label::after { + border-color: #80bdff; +} + +.custom-file-input:disabled ~ .custom-file-label { + background-color: #e9ecef; +} + +.custom-file-input:lang(en) ~ .custom-file-label::after { + content: "Browse"; +} + +.custom-file-label { + position: absolute; + top: 0; + right: 0; + left: 0; + z-index: 1; + height: calc(2.25rem + 2px); + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + background-color: #fff; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} + +.custom-file-label::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + z-index: 3; + display: block; + height: 2.25rem; + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + content: "Browse"; + background-color: #e9ecef; + border-left: 1px solid #ced4da; + border-radius: 0 0.25rem 0.25rem 0; +} + +.custom-range { + width: 100%; + padding-left: 0; + background-color: transparent; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-range:focus { + outline: none; +} + +.custom-range:focus::-webkit-slider-thumb { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-range:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-range:focus::-ms-thumb { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-range::-moz-focus-outer { + border: 0; +} + +.custom-range::-webkit-slider-thumb { + width: 1rem; + height: 1rem; + margin-top: -0.25rem; + background-color: #007bff; + border: 0; + border-radius: 1rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + -webkit-appearance: none; + appearance: none; +} + +@media screen and (prefers-reduced-motion: reduce) { + .custom-range::-webkit-slider-thumb { + transition: none; + } +} + +.custom-range::-webkit-slider-thumb:active { + background-color: #b3d7ff; +} + +.custom-range::-webkit-slider-runnable-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #dee2e6; + border-color: transparent; + border-radius: 1rem; +} + +.custom-range::-moz-range-thumb { + width: 1rem; + height: 1rem; + background-color: #007bff; + border: 0; + border-radius: 1rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + -moz-appearance: none; + appearance: none; +} + +@media screen and (prefers-reduced-motion: reduce) { + .custom-range::-moz-range-thumb { + transition: none; + } +} + +.custom-range::-moz-range-thumb:active { + background-color: #b3d7ff; +} + +.custom-range::-moz-range-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #dee2e6; + border-color: transparent; + border-radius: 1rem; +} + +.custom-range::-ms-thumb { + width: 1rem; + height: 1rem; + margin-top: 0; + margin-right: 0.2rem; + margin-left: 0.2rem; + background-color: #007bff; + border: 0; + border-radius: 1rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + appearance: none; +} + +@media screen and (prefers-reduced-motion: reduce) { + .custom-range::-ms-thumb { + transition: none; + } +} + +.custom-range::-ms-thumb:active { + background-color: #b3d7ff; +} + +.custom-range::-ms-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: transparent; + border-color: transparent; + border-width: 0.5rem; +} + +.custom-range::-ms-fill-lower { + background-color: #dee2e6; + border-radius: 1rem; +} + +.custom-range::-ms-fill-upper { + margin-right: 15px; + background-color: #dee2e6; + border-radius: 1rem; +} + +.custom-control-label::before, +.custom-file-label, +.custom-select { + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +@media screen and (prefers-reduced-motion: reduce) { + .custom-control-label::before, + .custom-file-label, + .custom-select { + transition: none; + } +} + +.nav { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav-link { + display: block; + padding: 0.5rem 1rem; +} + +.nav-link:hover, .nav-link:focus { + text-decoration: none; +} + +.nav-link.disabled { + color: #6c757d; +} + +.nav-tabs { + border-bottom: 1px solid #dee2e6; +} + +.nav-tabs .nav-item { + margin-bottom: -1px; +} + +.nav-tabs .nav-link { + border: 1px solid transparent; + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { + border-color: #e9ecef #e9ecef #dee2e6; +} + +.nav-tabs .nav-link.disabled { + color: #6c757d; + background-color: transparent; + border-color: transparent; +} + +.nav-tabs .nav-link.active, +.nav-tabs .nav-item.show .nav-link { + color: #495057; + background-color: #fff; + border-color: #dee2e6 #dee2e6 #fff; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.nav-pills .nav-link { + border-radius: 0.25rem; +} + +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link { + color: #fff; + background-color: #007bff; +} + +.nav-fill .nav-item { + -ms-flex: 1 1 auto; + flex: 1 1 auto; + text-align: center; +} + +.nav-justified .nav-item { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.navbar { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 0.5rem 1rem; +} + +.navbar > .container, +.navbar > .container-fluid { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.navbar-brand { + display: inline-block; + padding-top: 0.3125rem; + padding-bottom: 0.3125rem; + margin-right: 1rem; + font-size: 1.25rem; + line-height: inherit; + white-space: nowrap; +} + +.navbar-brand:hover, .navbar-brand:focus { + text-decoration: none; +} + +.navbar-nav { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.navbar-nav .nav-link { + padding-right: 0; + padding-left: 0; +} + +.navbar-nav .dropdown-menu { + position: static; + float: none; +} + +.navbar-text { + display: inline-block; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.navbar-collapse { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -ms-flex-positive: 1; + flex-grow: 1; + -ms-flex-align: center; + align-items: center; +} + +.navbar-toggler { + padding: 0.25rem 0.75rem; + font-size: 1.25rem; + line-height: 1; + background-color: transparent; + border: 1px solid transparent; + border-radius: 0.25rem; +} + +.navbar-toggler:hover, .navbar-toggler:focus { + text-decoration: none; +} + +.navbar-toggler:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.navbar-toggler-icon { + display: inline-block; + width: 1.5em; + height: 1.5em; + vertical-align: middle; + content: ""; + background: no-repeat center center; + background-size: 100% 100%; +} + +@media (max-width: 575.98px) { + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 576px) { + .navbar-expand-sm { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-sm .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-sm .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-sm .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-sm .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-sm .navbar-toggler { + display: none; + } +} + +@media (max-width: 767.98px) { + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 768px) { + .navbar-expand-md { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-md .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-md .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-md .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-md .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-md .navbar-toggler { + display: none; + } +} + +@media (max-width: 991.98px) { + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 992px) { + .navbar-expand-lg { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-lg .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-lg .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-lg .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler { + display: none; + } +} + +@media (max-width: 1199.98px) { + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 1200px) { + .navbar-expand-xl { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-xl .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-xl .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-xl .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-xl .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-xl .navbar-toggler { + display: none; + } +} + +.navbar-expand { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + padding-right: 0; + padding-left: 0; +} + +.navbar-expand .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; +} + +.navbar-expand .navbar-nav .dropdown-menu { + position: absolute; +} + +.navbar-expand .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.navbar-expand .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} + +.navbar-expand .navbar-toggler { + display: none; +} + +.navbar-light .navbar-brand { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-nav .nav-link { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus { + color: rgba(0, 0, 0, 0.7); +} + +.navbar-light .navbar-nav .nav-link.disabled { + color: rgba(0, 0, 0, 0.3); +} + +.navbar-light .navbar-nav .show > .nav-link, +.navbar-light .navbar-nav .active > .nav-link, +.navbar-light .navbar-nav .nav-link.show, +.navbar-light .navbar-nav .nav-link.active { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-toggler { + color: rgba(0, 0, 0, 0.5); + border-color: rgba(0, 0, 0, 0.1); +} + +.navbar-light .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-light .navbar-text { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-text a { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-dark .navbar-brand { + color: #fff; +} + +.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus { + color: #fff; +} + +.navbar-dark .navbar-nav .nav-link { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus { + color: rgba(255, 255, 255, 0.75); +} + +.navbar-dark .navbar-nav .nav-link.disabled { + color: rgba(255, 255, 255, 0.25); +} + +.navbar-dark .navbar-nav .show > .nav-link, +.navbar-dark .navbar-nav .active > .nav-link, +.navbar-dark .navbar-nav .nav-link.show, +.navbar-dark .navbar-nav .nav-link.active { + color: #fff; +} + +.navbar-dark .navbar-toggler { + color: rgba(255, 255, 255, 0.5); + border-color: rgba(255, 255, 255, 0.1); +} + +.navbar-dark .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-dark .navbar-text { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-text a { + color: #fff; +} + +.navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus { + color: #fff; +} + +.card { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + background-clip: border-box; + border: 1px solid rgba(0, 0, 0, 0.125); + border-radius: 0.25rem; +} + +.card > hr { + margin-right: 0; + margin-left: 0; +} + +.card > .list-group:first-child .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.card > .list-group:last-child .list-group-item:last-child { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.card-body { + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1.25rem; +} + +.card-title { + margin-bottom: 0.75rem; +} + +.card-subtitle { + margin-top: -0.375rem; + margin-bottom: 0; +} + +.card-text:last-child { + margin-bottom: 0; +} + +.card-link:hover { + text-decoration: none; +} + +.card-link + .card-link { + margin-left: 1.25rem; +} + +.card-header { + padding: 0.75rem 1.25rem; + margin-bottom: 0; + background-color: rgba(0, 0, 0, 0.03); + border-bottom: 1px solid rgba(0, 0, 0, 0.125); +} + +.card-header:first-child { + border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; +} + +.card-header + .list-group .list-group-item:first-child { + border-top: 0; +} + +.card-footer { + padding: 0.75rem 1.25rem; + background-color: rgba(0, 0, 0, 0.03); + border-top: 1px solid rgba(0, 0, 0, 0.125); +} + +.card-footer:last-child { + border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); +} + +.card-header-tabs { + margin-right: -0.625rem; + margin-bottom: -0.75rem; + margin-left: -0.625rem; + border-bottom: 0; +} + +.card-header-pills { + margin-right: -0.625rem; + margin-left: -0.625rem; +} + +.card-img-overlay { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + padding: 1.25rem; +} + +.card-img { + width: 100%; + border-radius: calc(0.25rem - 1px); +} + +.card-img-top { + width: 100%; + border-top-left-radius: calc(0.25rem - 1px); + border-top-right-radius: calc(0.25rem - 1px); +} + +.card-img-bottom { + width: 100%; + border-bottom-right-radius: calc(0.25rem - 1px); + border-bottom-left-radius: calc(0.25rem - 1px); +} + +.card-deck { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-deck .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-deck { + -ms-flex-flow: row wrap; + flex-flow: row wrap; + margin-right: -15px; + margin-left: -15px; + } + .card-deck .card { + display: -ms-flexbox; + display: flex; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + -ms-flex-direction: column; + flex-direction: column; + margin-right: 15px; + margin-bottom: 0; + margin-left: 15px; + } +} + +.card-group { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-group > .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-group { + -ms-flex-flow: row wrap; + flex-flow: row wrap; + } + .card-group > .card { + -ms-flex: 1 0 0%; + flex: 1 0 0%; + margin-bottom: 0; + } + .card-group > .card + .card { + margin-left: 0; + border-left: 0; + } + .card-group > .card:first-child { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + .card-group > .card:first-child .card-img-top, + .card-group > .card:first-child .card-header { + border-top-right-radius: 0; + } + .card-group > .card:first-child .card-img-bottom, + .card-group > .card:first-child .card-footer { + border-bottom-right-radius: 0; + } + .card-group > .card:last-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .card-group > .card:last-child .card-img-top, + .card-group > .card:last-child .card-header { + border-top-left-radius: 0; + } + .card-group > .card:last-child .card-img-bottom, + .card-group > .card:last-child .card-footer { + border-bottom-left-radius: 0; + } + .card-group > .card:only-child { + border-radius: 0.25rem; + } + .card-group > .card:only-child .card-img-top, + .card-group > .card:only-child .card-header { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; + } + .card-group > .card:only-child .card-img-bottom, + .card-group > .card:only-child .card-footer { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + } + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) { + border-radius: 0; + } + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top, + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom, + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header, + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer { + border-radius: 0; + } +} + +.card-columns .card { + margin-bottom: 0.75rem; +} + +@media (min-width: 576px) { + .card-columns { + -webkit-column-count: 3; + -moz-column-count: 3; + column-count: 3; + -webkit-column-gap: 1.25rem; + -moz-column-gap: 1.25rem; + column-gap: 1.25rem; + orphans: 1; + widows: 1; + } + .card-columns .card { + display: inline-block; + width: 100%; + } +} + +.accordion .card:not(:first-of-type):not(:last-of-type) { + border-bottom: 0; + border-radius: 0; +} + +.accordion .card:not(:first-of-type) .card-header:first-child { + border-radius: 0; +} + +.accordion .card:first-of-type { + border-bottom: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.accordion .card:last-of-type { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.breadcrumb { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0.75rem 1rem; + margin-bottom: 1rem; + list-style: none; + background-color: #e9ecef; + border-radius: 0.25rem; +} + +.breadcrumb-item + .breadcrumb-item { + padding-left: 0.5rem; +} + +.breadcrumb-item + .breadcrumb-item::before { + display: inline-block; + padding-right: 0.5rem; + color: #6c757d; + content: "/"; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: underline; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: none; +} + +.breadcrumb-item.active { + color: #6c757d; +} + +.pagination { + display: -ms-flexbox; + display: flex; + padding-left: 0; + list-style: none; + border-radius: 0.25rem; +} + +.page-link { + position: relative; + display: block; + padding: 0.5rem 0.75rem; + margin-left: -1px; + line-height: 1.25; + color: #007bff; + background-color: #fff; + border: 1px solid #dee2e6; +} + +.page-link:hover { + z-index: 2; + color: #0056b3; + text-decoration: none; + background-color: #e9ecef; + border-color: #dee2e6; +} + +.page-link:focus { + z-index: 2; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.page-link:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.page-item:first-child .page-link { + margin-left: 0; + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.page-item:last-child .page-link { + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; +} + +.page-item.active .page-link { + z-index: 1; + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.page-item.disabled .page-link { + color: #6c757d; + pointer-events: none; + cursor: auto; + background-color: #fff; + border-color: #dee2e6; +} + +.pagination-lg .page-link { + padding: 0.75rem 1.5rem; + font-size: 1.25rem; + line-height: 1.5; +} + +.pagination-lg .page-item:first-child .page-link { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.pagination-lg .page-item:last-child .page-link { + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; +} + +.pagination-sm .page-link { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; +} + +.pagination-sm .page-item:first-child .page-link { + border-top-left-radius: 0.2rem; + border-bottom-left-radius: 0.2rem; +} + +.pagination-sm .page-item:last-child .page-link { + border-top-right-radius: 0.2rem; + border-bottom-right-radius: 0.2rem; +} + +.badge { + display: inline-block; + padding: 0.25em 0.4em; + font-size: 75%; + font-weight: 700; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25rem; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +.badge-pill { + padding-right: 0.6em; + padding-left: 0.6em; + border-radius: 10rem; +} + +.badge-primary { + color: #fff; + background-color: #007bff; +} + +.badge-primary[href]:hover, .badge-primary[href]:focus { + color: #fff; + text-decoration: none; + background-color: #0062cc; +} + +.badge-secondary { + color: #fff; + background-color: #6c757d; +} + +.badge-secondary[href]:hover, .badge-secondary[href]:focus { + color: #fff; + text-decoration: none; + background-color: #545b62; +} + +.badge-success { + color: #fff; + background-color: #28a745; +} + +.badge-success[href]:hover, .badge-success[href]:focus { + color: #fff; + text-decoration: none; + background-color: #1e7e34; +} + +.badge-info { + color: #fff; + background-color: #17a2b8; +} + +.badge-info[href]:hover, .badge-info[href]:focus { + color: #fff; + text-decoration: none; + background-color: #117a8b; +} + +.badge-warning { + color: #212529; + background-color: #ffc107; +} + +.badge-warning[href]:hover, .badge-warning[href]:focus { + color: #212529; + text-decoration: none; + background-color: #d39e00; +} + +.badge-danger { + color: #fff; + background-color: #dc3545; +} + +.badge-danger[href]:hover, .badge-danger[href]:focus { + color: #fff; + text-decoration: none; + background-color: #bd2130; +} + +.badge-light { + color: #212529; + background-color: #f8f9fa; +} + +.badge-light[href]:hover, .badge-light[href]:focus { + color: #212529; + text-decoration: none; + background-color: #dae0e5; +} + +.badge-dark { + color: #fff; + background-color: #343a40; +} + +.badge-dark[href]:hover, .badge-dark[href]:focus { + color: #fff; + text-decoration: none; + background-color: #1d2124; +} + +.jumbotron { + padding: 2rem 1rem; + margin-bottom: 2rem; + background-color: #e9ecef; + border-radius: 0.3rem; +} + +@media (min-width: 576px) { + .jumbotron { + padding: 4rem 2rem; + } +} + +.jumbotron-fluid { + padding-right: 0; + padding-left: 0; + border-radius: 0; +} + +.alert { + position: relative; + padding: 0.75rem 1.25rem; + margin-bottom: 1rem; + border: 1px solid transparent; + border-radius: 0.25rem; +} + +.alert-heading { + color: inherit; +} + +.alert-link { + font-weight: 700; +} + +.alert-dismissible { + padding-right: 4rem; +} + +.alert-dismissible .close { + position: absolute; + top: 0; + right: 0; + padding: 0.75rem 1.25rem; + color: inherit; +} + +.alert-primary { + color: #004085; + background-color: #cce5ff; + border-color: #b8daff; +} + +.alert-primary hr { + border-top-color: #9fcdff; +} + +.alert-primary .alert-link { + color: #002752; +} + +.alert-secondary { + color: #383d41; + background-color: #e2e3e5; + border-color: #d6d8db; +} + +.alert-secondary hr { + border-top-color: #c8cbcf; +} + +.alert-secondary .alert-link { + color: #202326; +} + +.alert-success { + color: #155724; + background-color: #d4edda; + border-color: #c3e6cb; +} + +.alert-success hr { + border-top-color: #b1dfbb; +} + +.alert-success .alert-link { + color: #0b2e13; +} + +.alert-info { + color: #0c5460; + background-color: #d1ecf1; + border-color: #bee5eb; +} + +.alert-info hr { + border-top-color: #abdde5; +} + +.alert-info .alert-link { + color: #062c33; +} + +.alert-warning { + color: #856404; + background-color: #fff3cd; + border-color: #ffeeba; +} + +.alert-warning hr { + border-top-color: #ffe8a1; +} + +.alert-warning .alert-link { + color: #533f03; +} + +.alert-danger { + color: #721c24; + background-color: #f8d7da; + border-color: #f5c6cb; +} + +.alert-danger hr { + border-top-color: #f1b0b7; +} + +.alert-danger .alert-link { + color: #491217; +} + +.alert-light { + color: #818182; + background-color: #fefefe; + border-color: #fdfdfe; +} + +.alert-light hr { + border-top-color: #ececf6; +} + +.alert-light .alert-link { + color: #686868; +} + +.alert-dark { + color: #1b1e21; + background-color: #d6d8d9; + border-color: #c6c8ca; +} + +.alert-dark hr { + border-top-color: #b9bbbe; +} + +.alert-dark .alert-link { + color: #040505; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +.progress { + display: -ms-flexbox; + display: flex; + height: 1rem; + overflow: hidden; + font-size: 0.75rem; + background-color: #e9ecef; + border-radius: 0.25rem; +} + +.progress-bar { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-pack: center; + justify-content: center; + color: #fff; + text-align: center; + white-space: nowrap; + background-color: #007bff; + transition: width 0.6s ease; +} + +@media screen and (prefers-reduced-motion: reduce) { + .progress-bar { + transition: none; + } +} + +.progress-bar-striped { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 1rem 1rem; +} + +.progress-bar-animated { + -webkit-animation: progress-bar-stripes 1s linear infinite; + animation: progress-bar-stripes 1s linear infinite; +} + +.media { + display: -ms-flexbox; + display: flex; + -ms-flex-align: start; + align-items: flex-start; +} + +.media-body { + -ms-flex: 1; + flex: 1; +} + +.list-group { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; +} + +.list-group-item-action { + width: 100%; + color: #495057; + text-align: inherit; +} + +.list-group-item-action:hover, .list-group-item-action:focus { + color: #495057; + text-decoration: none; + background-color: #f8f9fa; +} + +.list-group-item-action:active { + color: #212529; + background-color: #e9ecef; +} + +.list-group-item { + position: relative; + display: block; + padding: 0.75rem 1.25rem; + margin-bottom: -1px; + background-color: #fff; + border: 1px solid rgba(0, 0, 0, 0.125); +} + +.list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.list-group-item:hover, .list-group-item:focus { + z-index: 1; + text-decoration: none; +} + +.list-group-item.disabled, .list-group-item:disabled { + color: #6c757d; + background-color: #fff; +} + +.list-group-item.active { + z-index: 2; + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.list-group-flush .list-group-item { + border-right: 0; + border-left: 0; + border-radius: 0; +} + +.list-group-flush:first-child .list-group-item:first-child { + border-top: 0; +} + +.list-group-flush:last-child .list-group-item:last-child { + border-bottom: 0; +} + +.list-group-item-primary { + color: #004085; + background-color: #b8daff; +} + +.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus { + color: #004085; + background-color: #9fcdff; +} + +.list-group-item-primary.list-group-item-action.active { + color: #fff; + background-color: #004085; + border-color: #004085; +} + +.list-group-item-secondary { + color: #383d41; + background-color: #d6d8db; +} + +.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus { + color: #383d41; + background-color: #c8cbcf; +} + +.list-group-item-secondary.list-group-item-action.active { + color: #fff; + background-color: #383d41; + border-color: #383d41; +} + +.list-group-item-success { + color: #155724; + background-color: #c3e6cb; +} + +.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus { + color: #155724; + background-color: #b1dfbb; +} + +.list-group-item-success.list-group-item-action.active { + color: #fff; + background-color: #155724; + border-color: #155724; +} + +.list-group-item-info { + color: #0c5460; + background-color: #bee5eb; +} + +.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus { + color: #0c5460; + background-color: #abdde5; +} + +.list-group-item-info.list-group-item-action.active { + color: #fff; + background-color: #0c5460; + border-color: #0c5460; +} + +.list-group-item-warning { + color: #856404; + background-color: #ffeeba; +} + +.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus { + color: #856404; + background-color: #ffe8a1; +} + +.list-group-item-warning.list-group-item-action.active { + color: #fff; + background-color: #856404; + border-color: #856404; +} + +.list-group-item-danger { + color: #721c24; + background-color: #f5c6cb; +} + +.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus { + color: #721c24; + background-color: #f1b0b7; +} + +.list-group-item-danger.list-group-item-action.active { + color: #fff; + background-color: #721c24; + border-color: #721c24; +} + +.list-group-item-light { + color: #818182; + background-color: #fdfdfe; +} + +.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus { + color: #818182; + background-color: #ececf6; +} + +.list-group-item-light.list-group-item-action.active { + color: #fff; + background-color: #818182; + border-color: #818182; +} + +.list-group-item-dark { + color: #1b1e21; + background-color: #c6c8ca; +} + +.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus { + color: #1b1e21; + background-color: #b9bbbe; +} + +.list-group-item-dark.list-group-item-action.active { + color: #fff; + background-color: #1b1e21; + border-color: #1b1e21; +} + +.close { + float: right; + font-size: 1.5rem; + font-weight: 700; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + opacity: .5; +} + +.close:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus { + color: #000; + text-decoration: none; + opacity: .75; +} + +button.close { + padding: 0; + background-color: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1050; + display: none; + overflow: hidden; + outline: 0; +} + +.modal-dialog { + position: relative; + width: auto; + margin: 0.5rem; + pointer-events: none; +} + +.modal.fade .modal-dialog { + transition: -webkit-transform 0.3s ease-out; + transition: transform 0.3s ease-out; + transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; + -webkit-transform: translate(0, -25%); + transform: translate(0, -25%); +} + +@media screen and (prefers-reduced-motion: reduce) { + .modal.fade .modal-dialog { + transition: none; + } +} + +.modal.show .modal-dialog { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog-centered { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + min-height: calc(100% - (0.5rem * 2)); +} + +.modal-dialog-centered::before { + display: block; + height: calc(100vh - (0.5rem * 2)); + content: ""; +} + +.modal-content { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + pointer-events: auto; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; + outline: 0; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000; +} + +.modal-backdrop.fade { + opacity: 0; +} + +.modal-backdrop.show { + opacity: 0.5; +} + +.modal-header { + display: -ms-flexbox; + display: flex; + -ms-flex-align: start; + align-items: flex-start; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 1rem; + border-bottom: 1px solid #e9ecef; + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} + +.modal-header .close { + padding: 1rem; + margin: -1rem -1rem -1rem auto; +} + +.modal-title { + margin-bottom: 0; + line-height: 1.5; +} + +.modal-body { + position: relative; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1rem; +} + +.modal-footer { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: end; + justify-content: flex-end; + padding: 1rem; + border-top: 1px solid #e9ecef; +} + +.modal-footer > :not(:first-child) { + margin-left: .25rem; +} + +.modal-footer > :not(:last-child) { + margin-right: .25rem; +} + +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} + +@media (min-width: 576px) { + .modal-dialog { + max-width: 500px; + margin: 1.75rem auto; + } + .modal-dialog-centered { + min-height: calc(100% - (1.75rem * 2)); + } + .modal-dialog-centered::before { + height: calc(100vh - (1.75rem * 2)); + } + .modal-sm { + max-width: 300px; + } +} + +@media (min-width: 992px) { + .modal-lg { + max-width: 800px; + } +} + +.tooltip { + position: absolute; + z-index: 1070; + display: block; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.875rem; + word-wrap: break-word; + opacity: 0; +} + +.tooltip.show { + opacity: 0.9; +} + +.tooltip .arrow { + position: absolute; + display: block; + width: 0.8rem; + height: 0.4rem; +} + +.tooltip .arrow::before { + position: absolute; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-tooltip-top, .bs-tooltip-auto[x-placement^="top"] { + padding: 0.4rem 0; +} + +.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^="top"] .arrow { + bottom: 0; +} + +.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { + top: 0; + border-width: 0.4rem 0.4rem 0; + border-top-color: #000; +} + +.bs-tooltip-right, .bs-tooltip-auto[x-placement^="right"] { + padding: 0 0.4rem; +} + +.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^="right"] .arrow { + left: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { + right: 0; + border-width: 0.4rem 0.4rem 0.4rem 0; + border-right-color: #000; +} + +.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^="bottom"] { + padding: 0.4rem 0; +} + +.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^="bottom"] .arrow { + top: 0; +} + +.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { + bottom: 0; + border-width: 0 0.4rem 0.4rem; + border-bottom-color: #000; +} + +.bs-tooltip-left, .bs-tooltip-auto[x-placement^="left"] { + padding: 0 0.4rem; +} + +.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^="left"] .arrow { + right: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { + left: 0; + border-width: 0.4rem 0 0.4rem 0.4rem; + border-left-color: #000; +} + +.tooltip-inner { + max-width: 200px; + padding: 0.25rem 0.5rem; + color: #fff; + text-align: center; + background-color: #000; + border-radius: 0.25rem; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: block; + max-width: 276px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.875rem; + word-wrap: break-word; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; +} + +.popover .arrow { + position: absolute; + display: block; + width: 1rem; + height: 0.5rem; + margin: 0 0.3rem; +} + +.popover .arrow::before, .popover .arrow::after { + position: absolute; + display: block; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-popover-top, .bs-popover-auto[x-placement^="top"] { + margin-bottom: 0.5rem; +} + +.bs-popover-top .arrow, .bs-popover-auto[x-placement^="top"] .arrow { + bottom: calc((0.5rem + 1px) * -1); +} + +.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before, +.bs-popover-top .arrow::after, +.bs-popover-auto[x-placement^="top"] .arrow::after { + border-width: 0.5rem 0.5rem 0; +} + +.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before { + bottom: 0; + border-top-color: rgba(0, 0, 0, 0.25); +} + + +.bs-popover-top .arrow::after, +.bs-popover-auto[x-placement^="top"] .arrow::after { + bottom: 1px; + border-top-color: #fff; +} + +.bs-popover-right, .bs-popover-auto[x-placement^="right"] { + margin-left: 0.5rem; +} + +.bs-popover-right .arrow, .bs-popover-auto[x-placement^="right"] .arrow { + left: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before, +.bs-popover-right .arrow::after, +.bs-popover-auto[x-placement^="right"] .arrow::after { + border-width: 0.5rem 0.5rem 0.5rem 0; +} + +.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before { + left: 0; + border-right-color: rgba(0, 0, 0, 0.25); +} + + +.bs-popover-right .arrow::after, +.bs-popover-auto[x-placement^="right"] .arrow::after { + left: 1px; + border-right-color: #fff; +} + +.bs-popover-bottom, .bs-popover-auto[x-placement^="bottom"] { + margin-top: 0.5rem; +} + +.bs-popover-bottom .arrow, .bs-popover-auto[x-placement^="bottom"] .arrow { + top: calc((0.5rem + 1px) * -1); +} + +.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before, +.bs-popover-bottom .arrow::after, +.bs-popover-auto[x-placement^="bottom"] .arrow::after { + border-width: 0 0.5rem 0.5rem 0.5rem; +} + +.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before { + top: 0; + border-bottom-color: rgba(0, 0, 0, 0.25); +} + + +.bs-popover-bottom .arrow::after, +.bs-popover-auto[x-placement^="bottom"] .arrow::after { + top: 1px; + border-bottom-color: #fff; +} + +.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before { + position: absolute; + top: 0; + left: 50%; + display: block; + width: 1rem; + margin-left: -0.5rem; + content: ""; + border-bottom: 1px solid #f7f7f7; +} + +.bs-popover-left, .bs-popover-auto[x-placement^="left"] { + margin-right: 0.5rem; +} + +.bs-popover-left .arrow, .bs-popover-auto[x-placement^="left"] .arrow { + right: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before, +.bs-popover-left .arrow::after, +.bs-popover-auto[x-placement^="left"] .arrow::after { + border-width: 0.5rem 0 0.5rem 0.5rem; +} + +.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before { + right: 0; + border-left-color: rgba(0, 0, 0, 0.25); +} + + +.bs-popover-left .arrow::after, +.bs-popover-auto[x-placement^="left"] .arrow::after { + right: 1px; + border-left-color: #fff; +} + +.popover-header { + padding: 0.5rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + color: inherit; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-top-left-radius: calc(0.3rem - 1px); + border-top-right-radius: calc(0.3rem - 1px); +} + +.popover-header:empty { + display: none; +} + +.popover-body { + padding: 0.5rem 0.75rem; + color: #212529; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-item { + position: relative; + display: none; + -ms-flex-align: center; + align-items: center; + width: 100%; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000px; + perspective: 1000px; +} + +.carousel-item.active, +.carousel-item-next, +.carousel-item-prev { + display: block; + transition: -webkit-transform 0.6s ease; + transition: transform 0.6s ease; + transition: transform 0.6s ease, -webkit-transform 0.6s ease; +} + +@media screen and (prefers-reduced-motion: reduce) { + .carousel-item.active, + .carousel-item-next, + .carousel-item-prev { + transition: none; + } +} + +.carousel-item-next, +.carousel-item-prev { + position: absolute; + top: 0; +} + +.carousel-item-next.carousel-item-left, +.carousel-item-prev.carousel-item-right { + -webkit-transform: translateX(0); + transform: translateX(0); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-item-next.carousel-item-left, + .carousel-item-prev.carousel-item-right { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.carousel-item-next, +.active.carousel-item-right { + -webkit-transform: translateX(100%); + transform: translateX(100%); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-item-next, + .active.carousel-item-right { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.carousel-item-prev, +.active.carousel-item-left { + -webkit-transform: translateX(-100%); + transform: translateX(-100%); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-item-prev, + .active.carousel-item-left { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.carousel-fade .carousel-item { + opacity: 0; + transition-duration: .6s; + transition-property: opacity; +} + +.carousel-fade .carousel-item.active, +.carousel-fade .carousel-item-next.carousel-item-left, +.carousel-fade .carousel-item-prev.carousel-item-right { + opacity: 1; +} + +.carousel-fade .active.carousel-item-left, +.carousel-fade .active.carousel-item-right { + opacity: 0; +} + +.carousel-fade .carousel-item-next, +.carousel-fade .carousel-item-prev, +.carousel-fade .carousel-item.active, +.carousel-fade .active.carousel-item-left, +.carousel-fade .active.carousel-item-prev { + -webkit-transform: translateX(0); + transform: translateX(0); +} + +@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) { + .carousel-fade .carousel-item-next, + .carousel-fade .carousel-item-prev, + .carousel-fade .carousel-item.active, + .carousel-fade .active.carousel-item-left, + .carousel-fade .active.carousel-item-prev { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.carousel-control-prev, +.carousel-control-next { + position: absolute; + top: 0; + bottom: 0; + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + width: 15%; + color: #fff; + text-align: center; + opacity: 0.5; +} + +.carousel-control-prev:hover, .carousel-control-prev:focus, +.carousel-control-next:hover, +.carousel-control-next:focus { + color: #fff; + text-decoration: none; + outline: 0; + opacity: .9; +} + +.carousel-control-prev { + left: 0; +} + +.carousel-control-next { + right: 0; +} + +.carousel-control-prev-icon, +.carousel-control-next-icon { + display: inline-block; + width: 20px; + height: 20px; + background: transparent no-repeat center center; + background-size: 100% 100%; +} + +.carousel-control-prev-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"); +} + +.carousel-control-next-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"); +} + +.carousel-indicators { + position: absolute; + right: 0; + bottom: 10px; + left: 0; + z-index: 15; + display: -ms-flexbox; + display: flex; + -ms-flex-pack: center; + justify-content: center; + padding-left: 0; + margin-right: 15%; + margin-left: 15%; + list-style: none; +} + +.carousel-indicators li { + position: relative; + -ms-flex: 0 1 auto; + flex: 0 1 auto; + width: 30px; + height: 3px; + margin-right: 3px; + margin-left: 3px; + text-indent: -999px; + cursor: pointer; + background-color: rgba(255, 255, 255, 0.5); +} + +.carousel-indicators li::before { + position: absolute; + top: -10px; + left: 0; + display: inline-block; + width: 100%; + height: 10px; + content: ""; +} + +.carousel-indicators li::after { + position: absolute; + bottom: -10px; + left: 0; + display: inline-block; + width: 100%; + height: 10px; + content: ""; +} + +.carousel-indicators .active { + background-color: #fff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #fff; + text-align: center; +} + +.align-baseline { + vertical-align: baseline !important; +} + +.align-top { + vertical-align: top !important; +} + +.align-middle { + vertical-align: middle !important; +} + +.align-bottom { + vertical-align: bottom !important; +} + +.align-text-bottom { + vertical-align: text-bottom !important; +} + +.align-text-top { + vertical-align: text-top !important; +} + +.bg-primary { + background-color: #007bff !important; +} + +a.bg-primary:hover, a.bg-primary:focus, +button.bg-primary:hover, +button.bg-primary:focus { + background-color: #0062cc !important; +} + +.bg-secondary { + background-color: #6c757d !important; +} + +a.bg-secondary:hover, a.bg-secondary:focus, +button.bg-secondary:hover, +button.bg-secondary:focus { + background-color: #545b62 !important; +} + +.bg-success { + background-color: #28a745 !important; +} + +a.bg-success:hover, a.bg-success:focus, +button.bg-success:hover, +button.bg-success:focus { + background-color: #1e7e34 !important; +} + +.bg-info { + background-color: #17a2b8 !important; +} + +a.bg-info:hover, a.bg-info:focus, +button.bg-info:hover, +button.bg-info:focus { + background-color: #117a8b !important; +} + +.bg-warning { + background-color: #ffc107 !important; +} + +a.bg-warning:hover, a.bg-warning:focus, +button.bg-warning:hover, +button.bg-warning:focus { + background-color: #d39e00 !important; +} + +.bg-danger { + background-color: #dc3545 !important; +} + +a.bg-danger:hover, a.bg-danger:focus, +button.bg-danger:hover, +button.bg-danger:focus { + background-color: #bd2130 !important; +} + +.bg-light { + background-color: #f8f9fa !important; +} + +a.bg-light:hover, a.bg-light:focus, +button.bg-light:hover, +button.bg-light:focus { + background-color: #dae0e5 !important; +} + +.bg-dark { + background-color: #343a40 !important; +} + +a.bg-dark:hover, a.bg-dark:focus, +button.bg-dark:hover, +button.bg-dark:focus { + background-color: #1d2124 !important; +} + +.bg-white { + background-color: #fff !important; +} + +.bg-transparent { + background-color: transparent !important; +} + +.border { + border: 1px solid #dee2e6 !important; +} + +.border-top { + border-top: 1px solid #dee2e6 !important; +} + +.border-right { + border-right: 1px solid #dee2e6 !important; +} + +.border-bottom { + border-bottom: 1px solid #dee2e6 !important; +} + +.border-left { + border-left: 1px solid #dee2e6 !important; +} + +.border-0 { + border: 0 !important; +} + +.border-top-0 { + border-top: 0 !important; +} + +.border-right-0 { + border-right: 0 !important; +} + +.border-bottom-0 { + border-bottom: 0 !important; +} + +.border-left-0 { + border-left: 0 !important; +} + +.border-primary { + border-color: #007bff !important; +} + +.border-secondary { + border-color: #6c757d !important; +} + +.border-success { + border-color: #28a745 !important; +} + +.border-info { + border-color: #17a2b8 !important; +} + +.border-warning { + border-color: #ffc107 !important; +} + +.border-danger { + border-color: #dc3545 !important; +} + +.border-light { + border-color: #f8f9fa !important; +} + +.border-dark { + border-color: #343a40 !important; +} + +.border-white { + border-color: #fff !important; +} + +.rounded { + border-radius: 0.25rem !important; +} + +.rounded-top { + border-top-left-radius: 0.25rem !important; + border-top-right-radius: 0.25rem !important; +} + +.rounded-right { + border-top-right-radius: 0.25rem !important; + border-bottom-right-radius: 0.25rem !important; +} + +.rounded-bottom { + border-bottom-right-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} + +.rounded-left { + border-top-left-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} + +.rounded-circle { + border-radius: 50% !important; +} + +.rounded-0 { + border-radius: 0 !important; +} + +.clearfix::after { + display: block; + clear: both; + content: ""; +} + +.d-none { + display: none !important; +} + +.d-inline { + display: inline !important; +} + +.d-inline-block { + display: inline-block !important; +} + +.d-block { + display: block !important; +} + +.d-table { + display: table !important; +} + +.d-table-row { + display: table-row !important; +} + +.d-table-cell { + display: table-cell !important; +} + +.d-flex { + display: -ms-flexbox !important; + display: flex !important; +} + +.d-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; +} + +@media (min-width: 576px) { + .d-sm-none { + display: none !important; + } + .d-sm-inline { + display: inline !important; + } + .d-sm-inline-block { + display: inline-block !important; + } + .d-sm-block { + display: block !important; + } + .d-sm-table { + display: table !important; + } + .d-sm-table-row { + display: table-row !important; + } + .d-sm-table-cell { + display: table-cell !important; + } + .d-sm-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-sm-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 768px) { + .d-md-none { + display: none !important; + } + .d-md-inline { + display: inline !important; + } + .d-md-inline-block { + display: inline-block !important; + } + .d-md-block { + display: block !important; + } + .d-md-table { + display: table !important; + } + .d-md-table-row { + display: table-row !important; + } + .d-md-table-cell { + display: table-cell !important; + } + .d-md-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-md-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 992px) { + .d-lg-none { + display: none !important; + } + .d-lg-inline { + display: inline !important; + } + .d-lg-inline-block { + display: inline-block !important; + } + .d-lg-block { + display: block !important; + } + .d-lg-table { + display: table !important; + } + .d-lg-table-row { + display: table-row !important; + } + .d-lg-table-cell { + display: table-cell !important; + } + .d-lg-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-lg-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 1200px) { + .d-xl-none { + display: none !important; + } + .d-xl-inline { + display: inline !important; + } + .d-xl-inline-block { + display: inline-block !important; + } + .d-xl-block { + display: block !important; + } + .d-xl-table { + display: table !important; + } + .d-xl-table-row { + display: table-row !important; + } + .d-xl-table-cell { + display: table-cell !important; + } + .d-xl-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-xl-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media print { + .d-print-none { + display: none !important; + } + .d-print-inline { + display: inline !important; + } + .d-print-inline-block { + display: inline-block !important; + } + .d-print-block { + display: block !important; + } + .d-print-table { + display: table !important; + } + .d-print-table-row { + display: table-row !important; + } + .d-print-table-cell { + display: table-cell !important; + } + .d-print-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-print-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +.embed-responsive { + position: relative; + display: block; + width: 100%; + padding: 0; + overflow: hidden; +} + +.embed-responsive::before { + display: block; + content: ""; +} + +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; +} + +.embed-responsive-21by9::before { + padding-top: 42.857143%; +} + +.embed-responsive-16by9::before { + padding-top: 56.25%; +} + +.embed-responsive-4by3::before { + padding-top: 75%; +} + +.embed-responsive-1by1::before { + padding-top: 100%; +} + +.flex-row { + -ms-flex-direction: row !important; + flex-direction: row !important; +} + +.flex-column { + -ms-flex-direction: column !important; + flex-direction: column !important; +} + +.flex-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; +} + +.flex-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; +} + +.flex-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; +} + +.flex-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; +} + +.flex-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; +} + +.flex-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; +} + +.flex-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; +} + +.flex-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; +} + +.flex-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; +} + +.flex-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; +} + +.justify-content-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; +} + +.justify-content-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; +} + +.justify-content-center { + -ms-flex-pack: center !important; + justify-content: center !important; +} + +.justify-content-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; +} + +.justify-content-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; +} + +.align-items-start { + -ms-flex-align: start !important; + align-items: flex-start !important; +} + +.align-items-end { + -ms-flex-align: end !important; + align-items: flex-end !important; +} + +.align-items-center { + -ms-flex-align: center !important; + align-items: center !important; +} + +.align-items-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; +} + +.align-items-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; +} + +.align-content-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; +} + +.align-content-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; +} + +.align-content-center { + -ms-flex-line-pack: center !important; + align-content: center !important; +} + +.align-content-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; +} + +.align-content-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; +} + +.align-content-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; +} + +.align-self-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; +} + +.align-self-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; +} + +.align-self-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; +} + +.align-self-center { + -ms-flex-item-align: center !important; + align-self: center !important; +} + +.align-self-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; +} + +.align-self-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; +} + +@media (min-width: 576px) { + .flex-sm-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-sm-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-sm-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-sm-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-sm-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-sm-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-sm-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-sm-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-sm-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-sm-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-sm-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-sm-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-sm-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-sm-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-sm-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-sm-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-sm-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-sm-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-sm-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-sm-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-sm-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-sm-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-sm-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-sm-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-sm-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-sm-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-sm-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-sm-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-sm-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-sm-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-sm-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-sm-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-sm-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-sm-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 768px) { + .flex-md-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-md-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-md-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-md-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-md-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-md-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-md-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-md-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-md-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-md-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-md-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-md-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-md-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-md-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-md-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-md-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-md-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-md-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-md-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-md-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-md-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-md-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-md-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-md-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-md-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-md-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-md-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-md-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-md-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-md-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-md-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-md-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-md-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-md-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 992px) { + .flex-lg-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-lg-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-lg-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-lg-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-lg-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-lg-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-lg-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-lg-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-lg-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-lg-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-lg-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-lg-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-lg-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-lg-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-lg-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-lg-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-lg-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-lg-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-lg-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-lg-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-lg-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-lg-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-lg-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-lg-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-lg-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-lg-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-lg-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-lg-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-lg-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-lg-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-lg-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-lg-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-lg-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-lg-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 1200px) { + .flex-xl-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-xl-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-xl-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-xl-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-xl-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-xl-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-xl-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-xl-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-xl-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-xl-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-xl-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-xl-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-xl-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-xl-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-xl-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-xl-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-xl-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-xl-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-xl-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-xl-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-xl-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-xl-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-xl-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-xl-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-xl-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-xl-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-xl-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-xl-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-xl-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-xl-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-xl-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-xl-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-xl-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-xl-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +.float-left { + float: left !important; +} + +.float-right { + float: right !important; +} + +.float-none { + float: none !important; +} + +@media (min-width: 576px) { + .float-sm-left { + float: left !important; + } + .float-sm-right { + float: right !important; + } + .float-sm-none { + float: none !important; + } +} + +@media (min-width: 768px) { + .float-md-left { + float: left !important; + } + .float-md-right { + float: right !important; + } + .float-md-none { + float: none !important; + } +} + +@media (min-width: 992px) { + .float-lg-left { + float: left !important; + } + .float-lg-right { + float: right !important; + } + .float-lg-none { + float: none !important; + } +} + +@media (min-width: 1200px) { + .float-xl-left { + float: left !important; + } + .float-xl-right { + float: right !important; + } + .float-xl-none { + float: none !important; + } +} + +.position-static { + position: static !important; +} + +.position-relative { + position: relative !important; +} + +.position-absolute { + position: absolute !important; +} + +.position-fixed { + position: fixed !important; +} + +.position-sticky { + position: -webkit-sticky !important; + position: sticky !important; +} + +.fixed-top { + position: fixed; + top: 0; + right: 0; + left: 0; + z-index: 1030; +} + +.fixed-bottom { + position: fixed; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; +} + +@supports ((position: -webkit-sticky) or (position: sticky)) { + .sticky-top { + position: -webkit-sticky; + position: sticky; + top: 0; + z-index: 1020; + } +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} + +.sr-only-focusable:active, .sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + overflow: visible; + clip: auto; + white-space: normal; +} + +.shadow-sm { + box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; +} + +.shadow { + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; +} + +.shadow-lg { + box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; +} + +.shadow-none { + box-shadow: none !important; +} + +.w-25 { + width: 25% !important; +} + +.w-50 { + width: 50% !important; +} + +.w-75 { + width: 75% !important; +} + +.w-100 { + width: 100% !important; +} + +.w-auto { + width: auto !important; +} + +.h-25 { + height: 25% !important; +} + +.h-50 { + height: 50% !important; +} + +.h-75 { + height: 75% !important; +} + +.h-100 { + height: 100% !important; +} + +.h-auto { + height: auto !important; +} + +.mw-100 { + max-width: 100% !important; +} + +.mh-100 { + max-height: 100% !important; +} + +.m-0 { + margin: 0 !important; +} + +.mt-0, +.my-0 { + margin-top: 0 !important; +} + +.mr-0, +.mx-0 { + margin-right: 0 !important; +} + +.mb-0, +.my-0 { + margin-bottom: 0 !important; +} + +.ml-0, +.mx-0 { + margin-left: 0 !important; +} + +.m-1 { + margin: 0.25rem !important; +} + +.mt-1, +.my-1 { + margin-top: 0.25rem !important; +} + +.mr-1, +.mx-1 { + margin-right: 0.25rem !important; +} + +.mb-1, +.my-1 { + margin-bottom: 0.25rem !important; +} + +.ml-1, +.mx-1 { + margin-left: 0.25rem !important; +} + +.m-2 { + margin: 0.5rem !important; +} + +.mt-2, +.my-2 { + margin-top: 0.5rem !important; +} + +.mr-2, +.mx-2 { + margin-right: 0.5rem !important; +} + +.mb-2, +.my-2 { + margin-bottom: 0.5rem !important; +} + +.ml-2, +.mx-2 { + margin-left: 0.5rem !important; +} + +.m-3 { + margin: 1rem !important; +} + +.mt-3, +.my-3 { + margin-top: 1rem !important; +} + +.mr-3, +.mx-3 { + margin-right: 1rem !important; +} + +.mb-3, +.my-3 { + margin-bottom: 1rem !important; +} + +.ml-3, +.mx-3 { + margin-left: 1rem !important; +} + +.m-4 { + margin: 1.5rem !important; +} + +.mt-4, +.my-4 { + margin-top: 1.5rem !important; +} + +.mr-4, +.mx-4 { + margin-right: 1.5rem !important; +} + +.mb-4, +.my-4 { + margin-bottom: 1.5rem !important; +} + +.ml-4, +.mx-4 { + margin-left: 1.5rem !important; +} + +.m-5 { + margin: 3rem !important; +} + +.mt-5, +.my-5 { + margin-top: 3rem !important; +} + +.mr-5, +.mx-5 { + margin-right: 3rem !important; +} + +.mb-5, +.my-5 { + margin-bottom: 3rem !important; +} + +.ml-5, +.mx-5 { + margin-left: 3rem !important; +} + +.p-0 { + padding: 0 !important; +} + +.pt-0, +.py-0 { + padding-top: 0 !important; +} + +.pr-0, +.px-0 { + padding-right: 0 !important; +} + +.pb-0, +.py-0 { + padding-bottom: 0 !important; +} + +.pl-0, +.px-0 { + padding-left: 0 !important; +} + +.p-1 { + padding: 0.25rem !important; +} + +.pt-1, +.py-1 { + padding-top: 0.25rem !important; +} + +.pr-1, +.px-1 { + padding-right: 0.25rem !important; +} + +.pb-1, +.py-1 { + padding-bottom: 0.25rem !important; +} + +.pl-1, +.px-1 { + padding-left: 0.25rem !important; +} + +.p-2 { + padding: 0.5rem !important; +} + +.pt-2, +.py-2 { + padding-top: 0.5rem !important; +} + +.pr-2, +.px-2 { + padding-right: 0.5rem !important; +} + +.pb-2, +.py-2 { + padding-bottom: 0.5rem !important; +} + +.pl-2, +.px-2 { + padding-left: 0.5rem !important; +} + +.p-3 { + padding: 1rem !important; +} + +.pt-3, +.py-3 { + padding-top: 1rem !important; +} + +.pr-3, +.px-3 { + padding-right: 1rem !important; +} + +.pb-3, +.py-3 { + padding-bottom: 1rem !important; +} + +.pl-3, +.px-3 { + padding-left: 1rem !important; +} + +.p-4 { + padding: 1.5rem !important; +} + +.pt-4, +.py-4 { + padding-top: 1.5rem !important; +} + +.pr-4, +.px-4 { + padding-right: 1.5rem !important; +} + +.pb-4, +.py-4 { + padding-bottom: 1.5rem !important; +} + +.pl-4, +.px-4 { + padding-left: 1.5rem !important; +} + +.p-5 { + padding: 3rem !important; +} + +.pt-5, +.py-5 { + padding-top: 3rem !important; +} + +.pr-5, +.px-5 { + padding-right: 3rem !important; +} + +.pb-5, +.py-5 { + padding-bottom: 3rem !important; +} + +.pl-5, +.px-5 { + padding-left: 3rem !important; +} + +.m-auto { + margin: auto !important; +} + +.mt-auto, +.my-auto { + margin-top: auto !important; +} + +.mr-auto, +.mx-auto { + margin-right: auto !important; +} + +.mb-auto, +.my-auto { + margin-bottom: auto !important; +} + +.ml-auto, +.mx-auto { + margin-left: auto !important; +} + +@media (min-width: 576px) { + .m-sm-0 { + margin: 0 !important; + } + .mt-sm-0, + .my-sm-0 { + margin-top: 0 !important; + } + .mr-sm-0, + .mx-sm-0 { + margin-right: 0 !important; + } + .mb-sm-0, + .my-sm-0 { + margin-bottom: 0 !important; + } + .ml-sm-0, + .mx-sm-0 { + margin-left: 0 !important; + } + .m-sm-1 { + margin: 0.25rem !important; + } + .mt-sm-1, + .my-sm-1 { + margin-top: 0.25rem !important; + } + .mr-sm-1, + .mx-sm-1 { + margin-right: 0.25rem !important; + } + .mb-sm-1, + .my-sm-1 { + margin-bottom: 0.25rem !important; + } + .ml-sm-1, + .mx-sm-1 { + margin-left: 0.25rem !important; + } + .m-sm-2 { + margin: 0.5rem !important; + } + .mt-sm-2, + .my-sm-2 { + margin-top: 0.5rem !important; + } + .mr-sm-2, + .mx-sm-2 { + margin-right: 0.5rem !important; + } + .mb-sm-2, + .my-sm-2 { + margin-bottom: 0.5rem !important; + } + .ml-sm-2, + .mx-sm-2 { + margin-left: 0.5rem !important; + } + .m-sm-3 { + margin: 1rem !important; + } + .mt-sm-3, + .my-sm-3 { + margin-top: 1rem !important; + } + .mr-sm-3, + .mx-sm-3 { + margin-right: 1rem !important; + } + .mb-sm-3, + .my-sm-3 { + margin-bottom: 1rem !important; + } + .ml-sm-3, + .mx-sm-3 { + margin-left: 1rem !important; + } + .m-sm-4 { + margin: 1.5rem !important; + } + .mt-sm-4, + .my-sm-4 { + margin-top: 1.5rem !important; + } + .mr-sm-4, + .mx-sm-4 { + margin-right: 1.5rem !important; + } + .mb-sm-4, + .my-sm-4 { + margin-bottom: 1.5rem !important; + } + .ml-sm-4, + .mx-sm-4 { + margin-left: 1.5rem !important; + } + .m-sm-5 { + margin: 3rem !important; + } + .mt-sm-5, + .my-sm-5 { + margin-top: 3rem !important; + } + .mr-sm-5, + .mx-sm-5 { + margin-right: 3rem !important; + } + .mb-sm-5, + .my-sm-5 { + margin-bottom: 3rem !important; + } + .ml-sm-5, + .mx-sm-5 { + margin-left: 3rem !important; + } + .p-sm-0 { + padding: 0 !important; + } + .pt-sm-0, + .py-sm-0 { + padding-top: 0 !important; + } + .pr-sm-0, + .px-sm-0 { + padding-right: 0 !important; + } + .pb-sm-0, + .py-sm-0 { + padding-bottom: 0 !important; + } + .pl-sm-0, + .px-sm-0 { + padding-left: 0 !important; + } + .p-sm-1 { + padding: 0.25rem !important; + } + .pt-sm-1, + .py-sm-1 { + padding-top: 0.25rem !important; + } + .pr-sm-1, + .px-sm-1 { + padding-right: 0.25rem !important; + } + .pb-sm-1, + .py-sm-1 { + padding-bottom: 0.25rem !important; + } + .pl-sm-1, + .px-sm-1 { + padding-left: 0.25rem !important; + } + .p-sm-2 { + padding: 0.5rem !important; + } + .pt-sm-2, + .py-sm-2 { + padding-top: 0.5rem !important; + } + .pr-sm-2, + .px-sm-2 { + padding-right: 0.5rem !important; + } + .pb-sm-2, + .py-sm-2 { + padding-bottom: 0.5rem !important; + } + .pl-sm-2, + .px-sm-2 { + padding-left: 0.5rem !important; + } + .p-sm-3 { + padding: 1rem !important; + } + .pt-sm-3, + .py-sm-3 { + padding-top: 1rem !important; + } + .pr-sm-3, + .px-sm-3 { + padding-right: 1rem !important; + } + .pb-sm-3, + .py-sm-3 { + padding-bottom: 1rem !important; + } + .pl-sm-3, + .px-sm-3 { + padding-left: 1rem !important; + } + .p-sm-4 { + padding: 1.5rem !important; + } + .pt-sm-4, + .py-sm-4 { + padding-top: 1.5rem !important; + } + .pr-sm-4, + .px-sm-4 { + padding-right: 1.5rem !important; + } + .pb-sm-4, + .py-sm-4 { + padding-bottom: 1.5rem !important; + } + .pl-sm-4, + .px-sm-4 { + padding-left: 1.5rem !important; + } + .p-sm-5 { + padding: 3rem !important; + } + .pt-sm-5, + .py-sm-5 { + padding-top: 3rem !important; + } + .pr-sm-5, + .px-sm-5 { + padding-right: 3rem !important; + } + .pb-sm-5, + .py-sm-5 { + padding-bottom: 3rem !important; + } + .pl-sm-5, + .px-sm-5 { + padding-left: 3rem !important; + } + .m-sm-auto { + margin: auto !important; + } + .mt-sm-auto, + .my-sm-auto { + margin-top: auto !important; + } + .mr-sm-auto, + .mx-sm-auto { + margin-right: auto !important; + } + .mb-sm-auto, + .my-sm-auto { + margin-bottom: auto !important; + } + .ml-sm-auto, + .mx-sm-auto { + margin-left: auto !important; + } +} + +@media (min-width: 768px) { + .m-md-0 { + margin: 0 !important; + } + .mt-md-0, + .my-md-0 { + margin-top: 0 !important; + } + .mr-md-0, + .mx-md-0 { + margin-right: 0 !important; + } + .mb-md-0, + .my-md-0 { + margin-bottom: 0 !important; + } + .ml-md-0, + .mx-md-0 { + margin-left: 0 !important; + } + .m-md-1 { + margin: 0.25rem !important; + } + .mt-md-1, + .my-md-1 { + margin-top: 0.25rem !important; + } + .mr-md-1, + .mx-md-1 { + margin-right: 0.25rem !important; + } + .mb-md-1, + .my-md-1 { + margin-bottom: 0.25rem !important; + } + .ml-md-1, + .mx-md-1 { + margin-left: 0.25rem !important; + } + .m-md-2 { + margin: 0.5rem !important; + } + .mt-md-2, + .my-md-2 { + margin-top: 0.5rem !important; + } + .mr-md-2, + .mx-md-2 { + margin-right: 0.5rem !important; + } + .mb-md-2, + .my-md-2 { + margin-bottom: 0.5rem !important; + } + .ml-md-2, + .mx-md-2 { + margin-left: 0.5rem !important; + } + .m-md-3 { + margin: 1rem !important; + } + .mt-md-3, + .my-md-3 { + margin-top: 1rem !important; + } + .mr-md-3, + .mx-md-3 { + margin-right: 1rem !important; + } + .mb-md-3, + .my-md-3 { + margin-bottom: 1rem !important; + } + .ml-md-3, + .mx-md-3 { + margin-left: 1rem !important; + } + .m-md-4 { + margin: 1.5rem !important; + } + .mt-md-4, + .my-md-4 { + margin-top: 1.5rem !important; + } + .mr-md-4, + .mx-md-4 { + margin-right: 1.5rem !important; + } + .mb-md-4, + .my-md-4 { + margin-bottom: 1.5rem !important; + } + .ml-md-4, + .mx-md-4 { + margin-left: 1.5rem !important; + } + .m-md-5 { + margin: 3rem !important; + } + .mt-md-5, + .my-md-5 { + margin-top: 3rem !important; + } + .mr-md-5, + .mx-md-5 { + margin-right: 3rem !important; + } + .mb-md-5, + .my-md-5 { + margin-bottom: 3rem !important; + } + .ml-md-5, + .mx-md-5 { + margin-left: 3rem !important; + } + .p-md-0 { + padding: 0 !important; + } + .pt-md-0, + .py-md-0 { + padding-top: 0 !important; + } + .pr-md-0, + .px-md-0 { + padding-right: 0 !important; + } + .pb-md-0, + .py-md-0 { + padding-bottom: 0 !important; + } + .pl-md-0, + .px-md-0 { + padding-left: 0 !important; + } + .p-md-1 { + padding: 0.25rem !important; + } + .pt-md-1, + .py-md-1 { + padding-top: 0.25rem !important; + } + .pr-md-1, + .px-md-1 { + padding-right: 0.25rem !important; + } + .pb-md-1, + .py-md-1 { + padding-bottom: 0.25rem !important; + } + .pl-md-1, + .px-md-1 { + padding-left: 0.25rem !important; + } + .p-md-2 { + padding: 0.5rem !important; + } + .pt-md-2, + .py-md-2 { + padding-top: 0.5rem !important; + } + .pr-md-2, + .px-md-2 { + padding-right: 0.5rem !important; + } + .pb-md-2, + .py-md-2 { + padding-bottom: 0.5rem !important; + } + .pl-md-2, + .px-md-2 { + padding-left: 0.5rem !important; + } + .p-md-3 { + padding: 1rem !important; + } + .pt-md-3, + .py-md-3 { + padding-top: 1rem !important; + } + .pr-md-3, + .px-md-3 { + padding-right: 1rem !important; + } + .pb-md-3, + .py-md-3 { + padding-bottom: 1rem !important; + } + .pl-md-3, + .px-md-3 { + padding-left: 1rem !important; + } + .p-md-4 { + padding: 1.5rem !important; + } + .pt-md-4, + .py-md-4 { + padding-top: 1.5rem !important; + } + .pr-md-4, + .px-md-4 { + padding-right: 1.5rem !important; + } + .pb-md-4, + .py-md-4 { + padding-bottom: 1.5rem !important; + } + .pl-md-4, + .px-md-4 { + padding-left: 1.5rem !important; + } + .p-md-5 { + padding: 3rem !important; + } + .pt-md-5, + .py-md-5 { + padding-top: 3rem !important; + } + .pr-md-5, + .px-md-5 { + padding-right: 3rem !important; + } + .pb-md-5, + .py-md-5 { + padding-bottom: 3rem !important; + } + .pl-md-5, + .px-md-5 { + padding-left: 3rem !important; + } + .m-md-auto { + margin: auto !important; + } + .mt-md-auto, + .my-md-auto { + margin-top: auto !important; + } + .mr-md-auto, + .mx-md-auto { + margin-right: auto !important; + } + .mb-md-auto, + .my-md-auto { + margin-bottom: auto !important; + } + .ml-md-auto, + .mx-md-auto { + margin-left: auto !important; + } +} + +@media (min-width: 992px) { + .m-lg-0 { + margin: 0 !important; + } + .mt-lg-0, + .my-lg-0 { + margin-top: 0 !important; + } + .mr-lg-0, + .mx-lg-0 { + margin-right: 0 !important; + } + .mb-lg-0, + .my-lg-0 { + margin-bottom: 0 !important; + } + .ml-lg-0, + .mx-lg-0 { + margin-left: 0 !important; + } + .m-lg-1 { + margin: 0.25rem !important; + } + .mt-lg-1, + .my-lg-1 { + margin-top: 0.25rem !important; + } + .mr-lg-1, + .mx-lg-1 { + margin-right: 0.25rem !important; + } + .mb-lg-1, + .my-lg-1 { + margin-bottom: 0.25rem !important; + } + .ml-lg-1, + .mx-lg-1 { + margin-left: 0.25rem !important; + } + .m-lg-2 { + margin: 0.5rem !important; + } + .mt-lg-2, + .my-lg-2 { + margin-top: 0.5rem !important; + } + .mr-lg-2, + .mx-lg-2 { + margin-right: 0.5rem !important; + } + .mb-lg-2, + .my-lg-2 { + margin-bottom: 0.5rem !important; + } + .ml-lg-2, + .mx-lg-2 { + margin-left: 0.5rem !important; + } + .m-lg-3 { + margin: 1rem !important; + } + .mt-lg-3, + .my-lg-3 { + margin-top: 1rem !important; + } + .mr-lg-3, + .mx-lg-3 { + margin-right: 1rem !important; + } + .mb-lg-3, + .my-lg-3 { + margin-bottom: 1rem !important; + } + .ml-lg-3, + .mx-lg-3 { + margin-left: 1rem !important; + } + .m-lg-4 { + margin: 1.5rem !important; + } + .mt-lg-4, + .my-lg-4 { + margin-top: 1.5rem !important; + } + .mr-lg-4, + .mx-lg-4 { + margin-right: 1.5rem !important; + } + .mb-lg-4, + .my-lg-4 { + margin-bottom: 1.5rem !important; + } + .ml-lg-4, + .mx-lg-4 { + margin-left: 1.5rem !important; + } + .m-lg-5 { + margin: 3rem !important; + } + .mt-lg-5, + .my-lg-5 { + margin-top: 3rem !important; + } + .mr-lg-5, + .mx-lg-5 { + margin-right: 3rem !important; + } + .mb-lg-5, + .my-lg-5 { + margin-bottom: 3rem !important; + } + .ml-lg-5, + .mx-lg-5 { + margin-left: 3rem !important; + } + .p-lg-0 { + padding: 0 !important; + } + .pt-lg-0, + .py-lg-0 { + padding-top: 0 !important; + } + .pr-lg-0, + .px-lg-0 { + padding-right: 0 !important; + } + .pb-lg-0, + .py-lg-0 { + padding-bottom: 0 !important; + } + .pl-lg-0, + .px-lg-0 { + padding-left: 0 !important; + } + .p-lg-1 { + padding: 0.25rem !important; + } + .pt-lg-1, + .py-lg-1 { + padding-top: 0.25rem !important; + } + .pr-lg-1, + .px-lg-1 { + padding-right: 0.25rem !important; + } + .pb-lg-1, + .py-lg-1 { + padding-bottom: 0.25rem !important; + } + .pl-lg-1, + .px-lg-1 { + padding-left: 0.25rem !important; + } + .p-lg-2 { + padding: 0.5rem !important; + } + .pt-lg-2, + .py-lg-2 { + padding-top: 0.5rem !important; + } + .pr-lg-2, + .px-lg-2 { + padding-right: 0.5rem !important; + } + .pb-lg-2, + .py-lg-2 { + padding-bottom: 0.5rem !important; + } + .pl-lg-2, + .px-lg-2 { + padding-left: 0.5rem !important; + } + .p-lg-3 { + padding: 1rem !important; + } + .pt-lg-3, + .py-lg-3 { + padding-top: 1rem !important; + } + .pr-lg-3, + .px-lg-3 { + padding-right: 1rem !important; + } + .pb-lg-3, + .py-lg-3 { + padding-bottom: 1rem !important; + } + .pl-lg-3, + .px-lg-3 { + padding-left: 1rem !important; + } + .p-lg-4 { + padding: 1.5rem !important; + } + .pt-lg-4, + .py-lg-4 { + padding-top: 1.5rem !important; + } + .pr-lg-4, + .px-lg-4 { + padding-right: 1.5rem !important; + } + .pb-lg-4, + .py-lg-4 { + padding-bottom: 1.5rem !important; + } + .pl-lg-4, + .px-lg-4 { + padding-left: 1.5rem !important; + } + .p-lg-5 { + padding: 3rem !important; + } + .pt-lg-5, + .py-lg-5 { + padding-top: 3rem !important; + } + .pr-lg-5, + .px-lg-5 { + padding-right: 3rem !important; + } + .pb-lg-5, + .py-lg-5 { + padding-bottom: 3rem !important; + } + .pl-lg-5, + .px-lg-5 { + padding-left: 3rem !important; + } + .m-lg-auto { + margin: auto !important; + } + .mt-lg-auto, + .my-lg-auto { + margin-top: auto !important; + } + .mr-lg-auto, + .mx-lg-auto { + margin-right: auto !important; + } + .mb-lg-auto, + .my-lg-auto { + margin-bottom: auto !important; + } + .ml-lg-auto, + .mx-lg-auto { + margin-left: auto !important; + } +} + +@media (min-width: 1200px) { + .m-xl-0 { + margin: 0 !important; + } + .mt-xl-0, + .my-xl-0 { + margin-top: 0 !important; + } + .mr-xl-0, + .mx-xl-0 { + margin-right: 0 !important; + } + .mb-xl-0, + .my-xl-0 { + margin-bottom: 0 !important; + } + .ml-xl-0, + .mx-xl-0 { + margin-left: 0 !important; + } + .m-xl-1 { + margin: 0.25rem !important; + } + .mt-xl-1, + .my-xl-1 { + margin-top: 0.25rem !important; + } + .mr-xl-1, + .mx-xl-1 { + margin-right: 0.25rem !important; + } + .mb-xl-1, + .my-xl-1 { + margin-bottom: 0.25rem !important; + } + .ml-xl-1, + .mx-xl-1 { + margin-left: 0.25rem !important; + } + .m-xl-2 { + margin: 0.5rem !important; + } + .mt-xl-2, + .my-xl-2 { + margin-top: 0.5rem !important; + } + .mr-xl-2, + .mx-xl-2 { + margin-right: 0.5rem !important; + } + .mb-xl-2, + .my-xl-2 { + margin-bottom: 0.5rem !important; + } + .ml-xl-2, + .mx-xl-2 { + margin-left: 0.5rem !important; + } + .m-xl-3 { + margin: 1rem !important; + } + .mt-xl-3, + .my-xl-3 { + margin-top: 1rem !important; + } + .mr-xl-3, + .mx-xl-3 { + margin-right: 1rem !important; + } + .mb-xl-3, + .my-xl-3 { + margin-bottom: 1rem !important; + } + .ml-xl-3, + .mx-xl-3 { + margin-left: 1rem !important; + } + .m-xl-4 { + margin: 1.5rem !important; + } + .mt-xl-4, + .my-xl-4 { + margin-top: 1.5rem !important; + } + .mr-xl-4, + .mx-xl-4 { + margin-right: 1.5rem !important; + } + .mb-xl-4, + .my-xl-4 { + margin-bottom: 1.5rem !important; + } + .ml-xl-4, + .mx-xl-4 { + margin-left: 1.5rem !important; + } + .m-xl-5 { + margin: 3rem !important; + } + .mt-xl-5, + .my-xl-5 { + margin-top: 3rem !important; + } + .mr-xl-5, + .mx-xl-5 { + margin-right: 3rem !important; + } + .mb-xl-5, + .my-xl-5 { + margin-bottom: 3rem !important; + } + .ml-xl-5, + .mx-xl-5 { + margin-left: 3rem !important; + } + .p-xl-0 { + padding: 0 !important; + } + .pt-xl-0, + .py-xl-0 { + padding-top: 0 !important; + } + .pr-xl-0, + .px-xl-0 { + padding-right: 0 !important; + } + .pb-xl-0, + .py-xl-0 { + padding-bottom: 0 !important; + } + .pl-xl-0, + .px-xl-0 { + padding-left: 0 !important; + } + .p-xl-1 { + padding: 0.25rem !important; + } + .pt-xl-1, + .py-xl-1 { + padding-top: 0.25rem !important; + } + .pr-xl-1, + .px-xl-1 { + padding-right: 0.25rem !important; + } + .pb-xl-1, + .py-xl-1 { + padding-bottom: 0.25rem !important; + } + .pl-xl-1, + .px-xl-1 { + padding-left: 0.25rem !important; + } + .p-xl-2 { + padding: 0.5rem !important; + } + .pt-xl-2, + .py-xl-2 { + padding-top: 0.5rem !important; + } + .pr-xl-2, + .px-xl-2 { + padding-right: 0.5rem !important; + } + .pb-xl-2, + .py-xl-2 { + padding-bottom: 0.5rem !important; + } + .pl-xl-2, + .px-xl-2 { + padding-left: 0.5rem !important; + } + .p-xl-3 { + padding: 1rem !important; + } + .pt-xl-3, + .py-xl-3 { + padding-top: 1rem !important; + } + .pr-xl-3, + .px-xl-3 { + padding-right: 1rem !important; + } + .pb-xl-3, + .py-xl-3 { + padding-bottom: 1rem !important; + } + .pl-xl-3, + .px-xl-3 { + padding-left: 1rem !important; + } + .p-xl-4 { + padding: 1.5rem !important; + } + .pt-xl-4, + .py-xl-4 { + padding-top: 1.5rem !important; + } + .pr-xl-4, + .px-xl-4 { + padding-right: 1.5rem !important; + } + .pb-xl-4, + .py-xl-4 { + padding-bottom: 1.5rem !important; + } + .pl-xl-4, + .px-xl-4 { + padding-left: 1.5rem !important; + } + .p-xl-5 { + padding: 3rem !important; + } + .pt-xl-5, + .py-xl-5 { + padding-top: 3rem !important; + } + .pr-xl-5, + .px-xl-5 { + padding-right: 3rem !important; + } + .pb-xl-5, + .py-xl-5 { + padding-bottom: 3rem !important; + } + .pl-xl-5, + .px-xl-5 { + padding-left: 3rem !important; + } + .m-xl-auto { + margin: auto !important; + } + .mt-xl-auto, + .my-xl-auto { + margin-top: auto !important; + } + .mr-xl-auto, + .mx-xl-auto { + margin-right: auto !important; + } + .mb-xl-auto, + .my-xl-auto { + margin-bottom: auto !important; + } + .ml-xl-auto, + .mx-xl-auto { + margin-left: auto !important; + } +} + +.text-monospace { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; +} + +.text-justify { + text-align: justify !important; +} + +.text-nowrap { + white-space: nowrap !important; +} + +.text-truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.text-left { + text-align: left !important; +} + +.text-right { + text-align: right !important; +} + +.text-center { + text-align: center !important; +} + +@media (min-width: 576px) { + .text-sm-left { + text-align: left !important; + } + .text-sm-right { + text-align: right !important; + } + .text-sm-center { + text-align: center !important; + } +} + +@media (min-width: 768px) { + .text-md-left { + text-align: left !important; + } + .text-md-right { + text-align: right !important; + } + .text-md-center { + text-align: center !important; + } +} + +@media (min-width: 992px) { + .text-lg-left { + text-align: left !important; + } + .text-lg-right { + text-align: right !important; + } + .text-lg-center { + text-align: center !important; + } +} + +@media (min-width: 1200px) { + .text-xl-left { + text-align: left !important; + } + .text-xl-right { + text-align: right !important; + } + .text-xl-center { + text-align: center !important; + } +} + +.text-lowercase { + text-transform: lowercase !important; +} + +.text-uppercase { + text-transform: uppercase !important; +} + +.text-capitalize { + text-transform: capitalize !important; +} + +.font-weight-light { + font-weight: 300 !important; +} + +.font-weight-normal { + font-weight: 400 !important; +} + +.font-weight-bold { + font-weight: 700 !important; +} + +.font-italic { + font-style: italic !important; +} + +.text-white { + color: #fff !important; +} + +.text-primary { + color: #007bff !important; +} + +a.text-primary:hover, a.text-primary:focus { + color: #0062cc !important; +} + +.text-secondary { + color: #6c757d !important; +} + +a.text-secondary:hover, a.text-secondary:focus { + color: #545b62 !important; +} + +.text-success { + color: #28a745 !important; +} + +a.text-success:hover, a.text-success:focus { + color: #1e7e34 !important; +} + +.text-info { + color: #17a2b8 !important; +} + +a.text-info:hover, a.text-info:focus { + color: #117a8b !important; +} + +.text-warning { + color: #ffc107 !important; +} + +a.text-warning:hover, a.text-warning:focus { + color: #d39e00 !important; +} + +.text-danger { + color: #dc3545 !important; +} + +a.text-danger:hover, a.text-danger:focus { + color: #bd2130 !important; +} + +.text-light { + color: #f8f9fa !important; +} + +a.text-light:hover, a.text-light:focus { + color: #dae0e5 !important; +} + +.text-dark { + color: #343a40 !important; +} + +a.text-dark:hover, a.text-dark:focus { + color: #1d2124 !important; +} + +.text-body { + color: #212529 !important; +} + +.text-muted { + color: #6c757d !important; +} + +.text-black-50 { + color: rgba(0, 0, 0, 0.5) !important; +} + +.text-white-50 { + color: rgba(255, 255, 255, 0.5) !important; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.visible { + visibility: visible !important; +} + +.invisible { + visibility: hidden !important; +} + +@media print { + *, + *::before, + *::after { + text-shadow: none !important; + box-shadow: none !important; + } + a:not(.btn) { + text-decoration: underline; + } + abbr[title]::after { + content: " (" attr(title) ")"; + } + pre { + white-space: pre-wrap !important; + } + pre, + blockquote { + border: 1px solid #adb5bd; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + @page { + size: a3; + } + body { + min-width: 992px !important; + } + .container { + min-width: 992px !important; + } + .navbar { + display: none; + } + .badge { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #dee2e6 !important; + } + .table-dark { + color: inherit; + } + .table-dark th, + .table-dark td, + .table-dark thead th, + .table-dark tbody + tbody { + border-color: #dee2e6; + } + .table .thead-dark th { + color: inherit; + border-color: #dee2e6; + } +} +/*# sourceMappingURL=bootstrap.css.map */ \ No newline at end of file diff --git a/src/css/bootstrap.css.map.bck b/src/css/bootstrap.css.map.bck new file mode 100644 index 0000000..cf3a804 --- /dev/null +++ b/src/css/bootstrap.css.map.bck @@ -0,0 +1,162 @@ +{ + "version": 3, + "sources": [ + "../../scss/bootstrap.scss", + "../../scss/_root.scss", + "../../scss/_reboot.scss", + "../../scss/_variables.scss", + "bootstrap.css", + "../../scss/mixins/_hover.scss", + "../../scss/_type.scss", + "../../scss/mixins/_lists.scss", + "../../scss/_images.scss", + "../../scss/mixins/_image.scss", + "../../scss/mixins/_border-radius.scss", + "../../scss/_code.scss", + "../../scss/_grid.scss", + "../../scss/mixins/_grid.scss", + "../../scss/mixins/_breakpoints.scss", + "../../scss/mixins/_grid-framework.scss", + "../../scss/_tables.scss", + "../../scss/mixins/_table-row.scss", + "../../scss/_functions.scss", + "../../scss/_forms.scss", + "../../scss/mixins/_transition.scss", + "../../scss/mixins/_forms.scss", + "../../scss/mixins/_gradients.scss", + "../../scss/_buttons.scss", + "../../scss/mixins/_buttons.scss", + "../../scss/_transitions.scss", + "../../scss/_dropdown.scss", + "../../scss/mixins/_caret.scss", + "../../scss/mixins/_nav-divider.scss", + "../../scss/_button-group.scss", + "../../scss/_input-group.scss", + "../../scss/_custom-forms.scss", + "../../scss/_nav.scss", + "../../scss/_navbar.scss", + "../../scss/_card.scss", + "../../scss/_breadcrumb.scss", + "../../scss/_pagination.scss", + "../../scss/mixins/_pagination.scss", + "../../scss/_badge.scss", + "../../scss/mixins/_badge.scss", + "../../scss/_jumbotron.scss", + "../../scss/_alert.scss", + "../../scss/mixins/_alert.scss", + "../../scss/_progress.scss", + "../../scss/_media.scss", + "../../scss/_list-group.scss", + "../../scss/mixins/_list-group.scss", + "../../scss/_close.scss", + "../../scss/_modal.scss", + "../../scss/_tooltip.scss", + "../../scss/mixins/_reset-text.scss", + "../../scss/_popover.scss", + "../../scss/_carousel.scss", + "../../scss/utilities/_align.scss", + "../../scss/mixins/_background-variant.scss", + "../../scss/utilities/_background.scss", + "../../scss/utilities/_borders.scss", + "../../scss/mixins/_clearfix.scss", + "../../scss/utilities/_display.scss", + "../../scss/utilities/_embed.scss", + "../../scss/utilities/_flex.scss", + "../../scss/utilities/_float.scss", + "../../scss/mixins/_float.scss", + "../../scss/utilities/_position.scss", + "../../scss/utilities/_screenreaders.scss", + "../../scss/mixins/_screen-reader.scss", + "../../scss/utilities/_shadows.scss", + "../../scss/utilities/_sizing.scss", + "../../scss/utilities/_spacing.scss", + "../../scss/utilities/_text.scss", + "../../scss/mixins/_text-truncate.scss", + "../../scss/mixins/_text-emphasis.scss", + "../../scss/mixins/_text-hide.scss", + "../../scss/utilities/_visibility.scss", + "../../scss/mixins/_visibility.scss", + "../../scss/_print.scss" + ], + "names": [], + "mappings": "AAAA;;;;;GAKG;ACLH;EAGI,gBAAc;EAAd,kBAAc;EAAd,kBAAc;EAAd,gBAAc;EAAd,eAAc;EAAd,kBAAc;EAAd,kBAAc;EAAd,iBAAc;EAAd,gBAAc;EAAd,gBAAc;EAAd,cAAc;EAAd,gBAAc;EAAd,qBAAc;EAId,mBAAc;EAAd,qBAAc;EAAd,mBAAc;EAAd,gBAAc;EAAd,mBAAc;EAAd,kBAAc;EAAd,iBAAc;EAAd,gBAAc;EAId,mBAAiC;EAAjC,uBAAiC;EAAjC,uBAAiC;EAAjC,uBAAiC;EAAjC,wBAAiC;EAKnC,mMAAyB;EACzB,8GAAwB;CACzB;;ACED;;;EAGE,uBAAsB;CACvB;;AAED;EACE,wBAAuB;EACvB,kBAAiB;EACjB,+BAA8B;EAC9B,2BAA0B;EAC1B,8BAA6B;EAC7B,8CCZa;CDad;;AAIC;EACE,oBAAmB;CEgBtB;;AFVD;EACE,eAAc;CACf;;AAUD;EACE,UA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eAAc;IACd,sBxE1HY;GwE2Hb;CvE6qQJ", + "file": "bootstrap.css", + "sourcesContent": [ + "/*!\n * Bootstrap v4.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2018 The Bootstrap Authors\n * Copyright 2011-2018 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n\n@import \"functions\";\n@import \"variables\";\n@import \"mixins\";\n@import \"root\";\n@import \"reboot\";\n@import \"type\";\n@import \"images\";\n@import \"code\";\n@import \"grid\";\n@import \"tables\";\n@import \"forms\";\n@import \"buttons\";\n@import \"transitions\";\n@import \"dropdown\";\n@import \"button-group\";\n@import \"input-group\";\n@import \"custom-forms\";\n@import \"nav\";\n@import \"navbar\";\n@import \"card\";\n@import \"breadcrumb\";\n@import \"pagination\";\n@import \"badge\";\n@import \"jumbotron\";\n@import \"alert\";\n@import \"progress\";\n@import \"media\";\n@import \"list-group\";\n@import \"close\";\n@import \"modal\";\n@import \"tooltip\";\n@import \"popover\";\n@import \"carousel\";\n@import \"utilities\";\n@import \"print\";\n", + ":root {\n // Custom variable values only support SassScript inside `#{}`.\n @each $color, $value in $colors {\n --#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors {\n --#{$color}: #{$value};\n }\n\n @each $bp, $value in $grid-breakpoints {\n --breakpoint-#{$bp}: #{$value};\n }\n\n // Use `inspect` for lists so that quoted items keep the quotes.\n // See https://github.com/sass/sass/issues/2383#issuecomment-336349172\n --font-family-sans-serif: #{inspect($font-family-sans-serif)};\n --font-family-monospace: #{inspect($font-family-monospace)};\n}\n", + "// stylelint-disable at-rule-no-vendor-prefix, declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix\n\n// Reboot\n//\n// Normalization of HTML elements, manually forked from Normalize.css to remove\n// styles targeting irrelevant browsers while applying new styles.\n//\n// Normalize is licensed MIT. https://github.com/necolas/normalize.css\n\n\n// Document\n//\n// 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.\n// 2. Change the default font family in all browsers.\n// 3. Correct the line height in all browsers.\n// 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.\n// 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so\n// we force a non-overlapping, non-auto-hiding scrollbar to counteract.\n// 6. Change the default tap highlight to be completely transparent in iOS.\n\n*,\n*::before,\n*::after {\n box-sizing: border-box; // 1\n}\n\nhtml {\n font-family: sans-serif; // 2\n line-height: 1.15; // 3\n -webkit-text-size-adjust: 100%; // 4\n -ms-text-size-adjust: 100%; // 4\n -ms-overflow-style: scrollbar; // 5\n -webkit-tap-highlight-color: rgba($black, 0); // 6\n}\n\n// IE10+ doesn't honor `` in some cases.\n@at-root {\n @-ms-viewport {\n width: device-width;\n }\n}\n\n// stylelint-disable selector-list-comma-newline-after\n// Shim for \"new\" HTML5 structural elements to display correctly (IE10, older browsers)\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n// stylelint-enable selector-list-comma-newline-after\n\n// Body\n//\n// 1. Remove the margin in all browsers.\n// 2. As a best practice, apply a default `background-color`.\n// 3. Set an explicit initial text-align value so that we can later use the\n// the `inherit` value on things like `` elements.\n\nbody {\n margin: 0; // 1\n font-family: $font-family-base;\n font-size: $font-size-base;\n font-weight: $font-weight-base;\n line-height: $line-height-base;\n color: $body-color;\n text-align: left; // 3\n background-color: $body-bg; // 2\n}\n\n// Suppress the focus outline on elements that cannot be accessed via keyboard.\n// This prevents an unwanted focus outline from appearing around elements that\n// might still respond to pointer events.\n//\n// Credit: https://github.com/suitcss/base\n[tabindex=\"-1\"]:focus {\n outline: 0 !important;\n}\n\n\n// Content grouping\n//\n// 1. Add the correct box sizing in Firefox.\n// 2. Show the overflow in Edge and IE.\n\nhr {\n box-sizing: content-box; // 1\n height: 0; // 1\n overflow: visible; // 2\n}\n\n\n//\n// Typography\n//\n\n// Remove top margins from headings\n//\n// By default, `

`-`

` all receive top and bottom margins. We nuke the top\n// margin for easier control within type scales as it avoids margin collapsing.\n// stylelint-disable selector-list-comma-newline-after\nh1, h2, h3, h4, h5, h6 {\n margin-top: 0;\n margin-bottom: $headings-margin-bottom;\n}\n// stylelint-enable selector-list-comma-newline-after\n\n// Reset margins on paragraphs\n//\n// Similarly, the top margin on `

`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n// Abbreviations\n//\n// 1. Remove the bottom border in Firefox 39-.\n// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n// 3. Add explicit cursor to indicate changed behavior.\n// 4. Duplicate behavior to the data-* attribute for our tooltip plugin\n\nabbr[title],\nabbr[data-original-title] { // 4\n text-decoration: underline; // 2\n text-decoration: underline dotted; // 2\n cursor: help; // 3\n border-bottom: 0; // 1\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // Undo browser default\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\ndfn {\n font-style: italic; // Add the correct font style in Android 4.3-\n}\n\n// stylelint-disable font-weight-notation\nb,\nstrong {\n font-weight: bolder; // Add the correct font weight in Chrome, Edge, and Safari\n}\n// stylelint-enable font-weight-notation\n\nsmall {\n font-size: 80%; // Add the correct font size in all browsers\n}\n\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n//\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n//\n// Links\n//\n\na {\n color: $link-color;\n text-decoration: $link-decoration;\n background-color: transparent; // Remove the gray background on active links in IE 10.\n -webkit-text-decoration-skip: objects; // Remove gaps in links underline in iOS 8+ and Safari 8+.\n\n @include hover {\n color: $link-hover-color;\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href)\n// which have not been made explicitly keyboard-focusable (without tabindex).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n\n @include hover-focus {\n color: inherit;\n text-decoration: none;\n }\n\n &:focus {\n outline: 0;\n }\n}\n\n\n//\n// Code\n//\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-monospace;\n font-size: 1em; // Correct the odd `em` font sizing in all browsers.\n}\n\npre {\n // Remove browser default top margin\n margin-top: 0;\n // Reset browser default of `1em` to use `rem`s\n margin-bottom: 1rem;\n // Don't allow content to break outside\n overflow: auto;\n // We have @viewport set which causes scrollbars to overlap content in IE11 and Edge, so\n // we force a non-overlapping, non-auto-hiding scrollbar to counteract.\n -ms-overflow-style: scrollbar;\n}\n\n\n//\n// Figures\n//\n\nfigure {\n // Apply a consistent margin strategy (matches our type styles).\n margin: 0 0 1rem;\n}\n\n\n//\n// Images and content\n//\n\nimg {\n vertical-align: middle;\n border-style: none; // Remove the border on images inside links in IE 10-.\n}\n\nsvg {\n // Workaround for the SVG overflow bug in IE10/11 is still required.\n // See https://github.com/twbs/bootstrap/issues/26878\n overflow: hidden;\n vertical-align: middle;\n}\n\n\n//\n// Tables\n//\n\ntable {\n border-collapse: collapse; // Prevent double borders\n}\n\ncaption {\n padding-top: $table-cell-padding;\n padding-bottom: $table-cell-padding;\n color: $table-caption-color;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n // Matches default `` alignment by inheriting from the ``, or the\n // closest parent with a set `text-align`.\n text-align: inherit;\n}\n\n\n//\n// Forms\n//\n\nlabel {\n // Allow labels to use `margin` for spacing.\n display: inline-block;\n margin-bottom: $label-margin-bottom;\n}\n\n// Remove the default `border-radius` that macOS Chrome adds.\n//\n// Details at https://github.com/twbs/bootstrap/issues/24093\nbutton {\n border-radius: 0;\n}\n\n// Work around a Firefox/IE bug where the transparent `button` background\n// results in a loss of the default `button` focus styles.\n//\n// Credit: https://github.com/suitcss/base/\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0; // Remove the margin in Firefox and Safari\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible; // Show the overflow in Edge\n}\n\nbutton,\nselect {\n text-transform: none; // Remove the inheritance of text transform in Firefox\n}\n\n// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`\n// controls in Android 4.\n// 2. Correct the inability to style clickable types in iOS and Safari.\nbutton,\nhtml [type=\"button\"], // 1\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button; // 2\n}\n\n// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n box-sizing: border-box; // 1. Add the correct box sizing in IE 10-\n padding: 0; // 2. Remove the padding in IE 10-\n}\n\n\ninput[type=\"date\"],\ninput[type=\"time\"],\ninput[type=\"datetime-local\"],\ninput[type=\"month\"] {\n // Remove the default appearance of temporal inputs to avoid a Mobile Safari\n // bug where setting a custom line-height prevents text from being vertically\n // centered within the input.\n // See https://bugs.webkit.org/show_bug.cgi?id=139848\n // and https://github.com/twbs/bootstrap/issues/11266\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto; // Remove the default vertical scrollbar in IE.\n // Textareas should really only resize vertically so they don't break their (horizontal) containers.\n resize: vertical;\n}\n\nfieldset {\n // Browsers set a default `min-width: min-content;` on fieldsets,\n // unlike e.g. `

`s, which have `min-width: 0;` by default.\n // So we reset that to ensure fieldsets behave more like a standard block element.\n // See https://github.com/twbs/bootstrap/issues/12359\n // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements\n min-width: 0;\n // Reset the default outline behavior of fieldsets so they don't affect page layout.\n padding: 0;\n margin: 0;\n border: 0;\n}\n\n// 1. Correct the text wrapping in Edge and IE.\n// 2. Correct the color inheritance from `fieldset` elements in IE.\nlegend {\n display: block;\n width: 100%;\n max-width: 100%; // 1\n padding: 0;\n margin-bottom: .5rem;\n font-size: 1.5rem;\n line-height: inherit;\n color: inherit; // 2\n white-space: normal; // 1\n}\n\nprogress {\n vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera.\n}\n\n// Correct the cursor style of increment and decrement buttons in Chrome.\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type=\"search\"] {\n // This overrides the extra rounded corners on search inputs in iOS so that our\n // `.form-control` class can properly style them. Note that this cannot simply\n // be added to `.form-control` as it's not specific enough. For details, see\n // https://github.com/twbs/bootstrap/issues/11586.\n outline-offset: -2px; // 2. Correct the outline style in Safari.\n -webkit-appearance: none;\n}\n\n//\n// Remove the inner padding and cancel buttons in Chrome and Safari on macOS.\n//\n\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n//\n// 1. Correct the inability to style clickable types in iOS and Safari.\n// 2. Change font properties to `inherit` in Safari.\n//\n\n::-webkit-file-upload-button {\n font: inherit; // 2\n -webkit-appearance: button; // 1\n}\n\n//\n// Correct element displays\n//\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item; // Add the correct display in all browsers\n cursor: pointer;\n}\n\ntemplate {\n display: none; // Add the correct display in IE\n}\n\n// Always hide an element with the `hidden` HTML attribute (from PureCSS).\n// Needed for proper display in IE 10-.\n[hidden] {\n display: none !important;\n}\n", + "// Variables\n//\n// Variables should follow the `$component-state-property-size` formula for\n// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.\n\n\n//\n// Color system\n//\n\n$white: #fff !default;\n$gray-100: #f8f9fa !default;\n$gray-200: #e9ecef !default;\n$gray-300: #dee2e6 !default;\n$gray-400: #ced4da !default;\n$gray-500: #adb5bd !default;\n$gray-600: #6c757d !default;\n$gray-700: #495057 !default;\n$gray-800: #343a40 !default;\n$gray-900: #212529 !default;\n$black: #000 !default;\n\n$grays: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$grays: map-merge(\n (\n \"100\": $gray-100,\n \"200\": $gray-200,\n \"300\": $gray-300,\n \"400\": $gray-400,\n \"500\": $gray-500,\n \"600\": $gray-600,\n \"700\": $gray-700,\n \"800\": $gray-800,\n \"900\": $gray-900\n ),\n $grays\n);\n\n\n$blue: #007bff !default;\n$indigo: #6610f2 !default;\n$purple: #6f42c1 !default;\n$pink: #e83e8c !default;\n$red: #dc3545 !default;\n$orange: #fd7e14 !default;\n$yellow: #ffc107 !default;\n$green: #28a745 !default;\n$teal: #20c997 !default;\n$cyan: #17a2b8 !default;\n\n$colors: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$colors: map-merge(\n (\n \"blue\": $blue,\n \"indigo\": $indigo,\n \"purple\": $purple,\n \"pink\": $pink,\n \"red\": $red,\n \"orange\": $orange,\n \"yellow\": $yellow,\n \"green\": $green,\n \"teal\": $teal,\n \"cyan\": $cyan,\n \"white\": $white,\n \"gray\": $gray-600,\n \"gray-dark\": $gray-800\n ),\n $colors\n);\n\n$primary: $blue !default;\n$secondary: $gray-600 !default;\n$success: $green !default;\n$info: $cyan !default;\n$warning: $yellow !default;\n$danger: $red !default;\n$light: $gray-100 !default;\n$dark: $gray-800 !default;\n\n$theme-colors: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$theme-colors: map-merge(\n (\n \"primary\": $primary,\n \"secondary\": $secondary,\n \"success\": $success,\n \"info\": $info,\n \"warning\": $warning,\n \"danger\": $danger,\n \"light\": $light,\n \"dark\": $dark\n ),\n $theme-colors\n);\n\n// Set a specific jump point for requesting color jumps\n$theme-color-interval: 8% !default;\n\n// The yiq lightness value that determines when the lightness of color changes from \"dark\" to \"light\". Acceptable values are between 0 and 255.\n$yiq-contrasted-threshold: 150 !default;\n\n// Customize the light and dark text colors for use in our YIQ color contrast function.\n$yiq-text-dark: $gray-900 !default;\n$yiq-text-light: $white !default;\n\n// Options\n//\n// Quickly modify global styling by enabling or disabling optional features.\n\n$enable-caret: true !default;\n$enable-rounded: true !default;\n$enable-shadows: false !default;\n$enable-gradients: false !default;\n$enable-transitions: true !default;\n$enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS\n$enable-grid-classes: true !default;\n$enable-print-styles: true !default;\n\n\n// Spacing\n//\n// Control the default styling of most Bootstrap elements by modifying these\n// variables. Mostly focused on spacing.\n// You can add more entries to the $spacers map, should you need more variation.\n\n$spacer: 1rem !default;\n$spacers: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$spacers: map-merge(\n (\n 0: 0,\n 1: ($spacer * .25),\n 2: ($spacer * .5),\n 3: $spacer,\n 4: ($spacer * 1.5),\n 5: ($spacer * 3)\n ),\n $spacers\n);\n\n// This variable affects the `.h-*` and `.w-*` classes.\n$sizes: () !default;\n// stylelint-disable-next-line scss/dollar-variable-default\n$sizes: map-merge(\n (\n 25: 25%,\n 50: 50%,\n 75: 75%,\n 100: 100%,\n auto: auto\n ),\n $sizes\n);\n\n// Body\n//\n// Settings for the `` element.\n\n$body-bg: $white !default;\n$body-color: $gray-900 !default;\n\n// Links\n//\n// Style anchor elements.\n\n$link-color: theme-color(\"primary\") !default;\n$link-decoration: none !default;\n$link-hover-color: darken($link-color, 15%) !default;\n$link-hover-decoration: underline !default;\n\n// Paragraphs\n//\n// Style p element.\n\n$paragraph-margin-bottom: 1rem !default;\n\n\n// Grid breakpoints\n//\n// Define the minimum dimensions at which your layout will change,\n// adapting to different screen sizes, for use in media queries.\n\n$grid-breakpoints: (\n xs: 0,\n sm: 576px,\n md: 768px,\n lg: 992px,\n xl: 1200px\n) !default;\n\n@include _assert-ascending($grid-breakpoints, \"$grid-breakpoints\");\n@include _assert-starts-at-zero($grid-breakpoints);\n\n\n// Grid containers\n//\n// Define the maximum width of `.container` for different screen sizes.\n\n$container-max-widths: (\n sm: 540px,\n md: 720px,\n lg: 960px,\n xl: 1140px\n) !default;\n\n@include _assert-ascending($container-max-widths, \"$container-max-widths\");\n\n\n// Grid columns\n//\n// Set the number of columns and specify the width of the gutters.\n\n$grid-columns: 12 !default;\n$grid-gutter-width: 30px !default;\n\n// Components\n//\n// Define common padding and border radius sizes and more.\n\n$line-height-lg: 1.5 !default;\n$line-height-sm: 1.5 !default;\n\n$border-width: 1px !default;\n$border-color: $gray-300 !default;\n\n$border-radius: .25rem !default;\n$border-radius-lg: .3rem !default;\n$border-radius-sm: .2rem !default;\n\n$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;\n$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;\n$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;\n\n$component-active-color: $white !default;\n$component-active-bg: theme-color(\"primary\") !default;\n\n$caret-width: .3em !default;\n\n$transition-base: all .2s ease-in-out !default;\n$transition-fade: opacity .15s linear !default;\n$transition-collapse: height .35s ease !default;\n\n\n// Fonts\n//\n// Font, line-height, and color for body text, headings, and more.\n\n// stylelint-disable value-keyword-case\n$font-family-sans-serif: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\" !default;\n$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace !default;\n$font-family-base: $font-family-sans-serif !default;\n// stylelint-enable value-keyword-case\n\n$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`\n$font-size-lg: ($font-size-base * 1.25) !default;\n$font-size-sm: ($font-size-base * .875) !default;\n\n$font-weight-light: 300 !default;\n$font-weight-normal: 400 !default;\n$font-weight-bold: 700 !default;\n\n$font-weight-base: $font-weight-normal !default;\n$line-height-base: 1.5 !default;\n\n$h1-font-size: $font-size-base * 2.5 !default;\n$h2-font-size: $font-size-base * 2 !default;\n$h3-font-size: $font-size-base * 1.75 !default;\n$h4-font-size: $font-size-base * 1.5 !default;\n$h5-font-size: $font-size-base * 1.25 !default;\n$h6-font-size: $font-size-base !default;\n\n$headings-margin-bottom: ($spacer / 2) !default;\n$headings-font-family: inherit !default;\n$headings-font-weight: 500 !default;\n$headings-line-height: 1.2 !default;\n$headings-color: inherit !default;\n\n$display1-size: 6rem !default;\n$display2-size: 5.5rem !default;\n$display3-size: 4.5rem !default;\n$display4-size: 3.5rem !default;\n\n$display1-weight: 300 !default;\n$display2-weight: 300 !default;\n$display3-weight: 300 !default;\n$display4-weight: 300 !default;\n$display-line-height: $headings-line-height !default;\n\n$lead-font-size: ($font-size-base * 1.25) !default;\n$lead-font-weight: 300 !default;\n\n$small-font-size: 80% !default;\n\n$text-muted: $gray-600 !default;\n\n$blockquote-small-color: $gray-600 !default;\n$blockquote-font-size: ($font-size-base * 1.25) !default;\n\n$hr-border-color: rgba($black, .1) !default;\n$hr-border-width: $border-width !default;\n\n$mark-padding: .2em !default;\n\n$dt-font-weight: $font-weight-bold !default;\n\n$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;\n$nested-kbd-font-weight: $font-weight-bold !default;\n\n$list-inline-padding: .5rem !default;\n\n$mark-bg: #fcf8e3 !default;\n\n$hr-margin-y: $spacer !default;\n\n\n// Tables\n//\n// Customizes the `.table` component with basic values, each used across all table variations.\n\n$table-cell-padding: .75rem !default;\n$table-cell-padding-sm: .3rem !default;\n\n$table-bg: transparent !default;\n$table-accent-bg: rgba($black, .05) !default;\n$table-hover-bg: rgba($black, .075) !default;\n$table-active-bg: $table-hover-bg !default;\n\n$table-border-width: $border-width !default;\n$table-border-color: $gray-300 !default;\n\n$table-head-bg: $gray-200 !default;\n$table-head-color: $gray-700 !default;\n\n$table-dark-bg: $gray-900 !default;\n$table-dark-accent-bg: rgba($white, .05) !default;\n$table-dark-hover-bg: rgba($white, .075) !default;\n$table-dark-border-color: lighten($gray-900, 7.5%) !default;\n$table-dark-color: $body-bg !default;\n\n$table-striped-order: odd !default;\n\n$table-caption-color: $text-muted !default;\n\n// Buttons + Forms\n//\n// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.\n\n$input-btn-padding-y: .375rem !default;\n$input-btn-padding-x: .75rem !default;\n$input-btn-line-height: $line-height-base !default;\n\n$input-btn-focus-width: .2rem !default;\n$input-btn-focus-color: rgba($component-active-bg, .25) !default;\n$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;\n\n$input-btn-padding-y-sm: .25rem !default;\n$input-btn-padding-x-sm: .5rem !default;\n$input-btn-line-height-sm: $line-height-sm !default;\n\n$input-btn-padding-y-lg: .5rem !default;\n$input-btn-padding-x-lg: 1rem !default;\n$input-btn-line-height-lg: $line-height-lg !default;\n\n$input-btn-border-width: $border-width !default;\n\n\n// Buttons\n//\n// For each of Bootstrap's buttons, define text, background, and border color.\n\n$btn-padding-y: $input-btn-padding-y !default;\n$btn-padding-x: $input-btn-padding-x !default;\n$btn-line-height: $input-btn-line-height !default;\n\n$btn-padding-y-sm: $input-btn-padding-y-sm !default;\n$btn-padding-x-sm: $input-btn-padding-x-sm !default;\n$btn-line-height-sm: $input-btn-line-height-sm !default;\n\n$btn-padding-y-lg: $input-btn-padding-y-lg !default;\n$btn-padding-x-lg: $input-btn-padding-x-lg !default;\n$btn-line-height-lg: $input-btn-line-height-lg !default;\n\n$btn-border-width: $input-btn-border-width !default;\n\n$btn-font-weight: $font-weight-normal !default;\n$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;\n$btn-focus-width: $input-btn-focus-width !default;\n$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;\n$btn-disabled-opacity: .65 !default;\n$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;\n\n$btn-link-disabled-color: $gray-600 !default;\n\n$btn-block-spacing-y: .5rem !default;\n\n// Allows for customizing button radius independently from global border radius\n$btn-border-radius: $border-radius !default;\n$btn-border-radius-lg: $border-radius-lg !default;\n$btn-border-radius-sm: $border-radius-sm !default;\n\n$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;\n\n\n// Forms\n\n$label-margin-bottom: .5rem !default;\n\n$input-padding-y: $input-btn-padding-y !default;\n$input-padding-x: $input-btn-padding-x !default;\n$input-line-height: $input-btn-line-height !default;\n\n$input-padding-y-sm: $input-btn-padding-y-sm !default;\n$input-padding-x-sm: $input-btn-padding-x-sm !default;\n$input-line-height-sm: $input-btn-line-height-sm !default;\n\n$input-padding-y-lg: $input-btn-padding-y-lg !default;\n$input-padding-x-lg: $input-btn-padding-x-lg !default;\n$input-line-height-lg: $input-btn-line-height-lg !default;\n\n$input-bg: $white !default;\n$input-disabled-bg: $gray-200 !default;\n\n$input-color: $gray-700 !default;\n$input-border-color: $gray-400 !default;\n$input-border-width: $input-btn-border-width !default;\n$input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;\n\n$input-border-radius: $border-radius !default;\n$input-border-radius-lg: $border-radius-lg !default;\n$input-border-radius-sm: $border-radius-sm !default;\n\n$input-focus-bg: $input-bg !default;\n$input-focus-border-color: lighten($component-active-bg, 25%) !default;\n$input-focus-color: $input-color !default;\n$input-focus-width: $input-btn-focus-width !default;\n$input-focus-box-shadow: $input-btn-focus-box-shadow !default;\n\n$input-placeholder-color: $gray-600 !default;\n$input-plaintext-color: $body-color !default;\n\n$input-height-border: $input-border-width * 2 !default;\n\n$input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;\n$input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;\n\n$input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;\n$input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;\n\n$input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;\n$input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;\n\n$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;\n\n$form-text-margin-top: .25rem !default;\n\n$form-check-input-gutter: 1.25rem !default;\n$form-check-input-margin-y: .3rem !default;\n$form-check-input-margin-x: .25rem !default;\n\n$form-check-inline-margin-x: .75rem !default;\n$form-check-inline-input-margin-x: .3125rem !default;\n\n$form-group-margin-bottom: 1rem !default;\n\n$input-group-addon-color: $input-color !default;\n$input-group-addon-bg: $gray-200 !default;\n$input-group-addon-border-color: $input-border-color !default;\n\n$custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;\n\n$custom-control-gutter: 1.5rem !default;\n$custom-control-spacer-x: 1rem !default;\n\n$custom-control-indicator-size: 1rem !default;\n$custom-control-indicator-bg: $gray-300 !default;\n$custom-control-indicator-bg-size: 50% 50% !default;\n$custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;\n\n$custom-control-indicator-disabled-bg: $gray-200 !default;\n$custom-control-label-disabled-color: $gray-600 !default;\n\n$custom-control-indicator-checked-color: $component-active-color !default;\n$custom-control-indicator-checked-bg: $component-active-bg !default;\n$custom-control-indicator-checked-disabled-bg: rgba(theme-color(\"primary\"), .5) !default;\n$custom-control-indicator-checked-box-shadow: none !default;\n\n$custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;\n\n$custom-control-indicator-active-color: $component-active-color !default;\n$custom-control-indicator-active-bg: lighten($component-active-bg, 35%) !default;\n$custom-control-indicator-active-box-shadow: none !default;\n\n$custom-checkbox-indicator-border-radius: $border-radius !default;\n$custom-checkbox-indicator-icon-checked: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n\n$custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;\n$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;\n$custom-checkbox-indicator-icon-indeterminate: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$custom-checkbox-indicator-indeterminate-box-shadow: none !default;\n\n$custom-radio-indicator-border-radius: 50% !default;\n$custom-radio-indicator-icon-checked: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n\n$custom-select-padding-y: .375rem !default;\n$custom-select-padding-x: .75rem !default;\n$custom-select-height: $input-height !default;\n$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator\n$custom-select-line-height: $input-btn-line-height !default;\n$custom-select-color: $input-color !default;\n$custom-select-disabled-color: $gray-600 !default;\n$custom-select-bg: $input-bg !default;\n$custom-select-disabled-bg: $gray-200 !default;\n$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions\n$custom-select-indicator-color: $gray-800 !default;\n$custom-select-indicator: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$custom-select-border-width: $input-btn-border-width !default;\n$custom-select-border-color: $input-border-color !default;\n$custom-select-border-radius: $border-radius !default;\n$custom-select-box-shadow: inset 0 1px 2px rgba($black, .075) !default;\n\n$custom-select-focus-border-color: $input-focus-border-color !default;\n$custom-select-focus-width: $input-btn-focus-width !default;\n$custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width rgba($custom-select-focus-border-color, .5) !default;\n\n$custom-select-font-size-sm: 75% !default;\n$custom-select-height-sm: $input-height-sm !default;\n\n$custom-select-font-size-lg: 125% !default;\n$custom-select-height-lg: $input-height-lg !default;\n\n$custom-range-track-width: 100% !default;\n$custom-range-track-height: .5rem !default;\n$custom-range-track-cursor: pointer !default;\n$custom-range-track-bg: $gray-300 !default;\n$custom-range-track-border-radius: 1rem !default;\n$custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;\n\n$custom-range-thumb-width: 1rem !default;\n$custom-range-thumb-height: $custom-range-thumb-width !default;\n$custom-range-thumb-bg: $component-active-bg !default;\n$custom-range-thumb-border: 0 !default;\n$custom-range-thumb-border-radius: 1rem !default;\n$custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;\n$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;\n$custom-range-thumb-focus-box-shadow-width: $input-btn-focus-width !default; // For focus box shadow issue in IE/Edge\n$custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;\n\n$custom-file-height: $input-height !default;\n$custom-file-height-inner: $input-height-inner !default;\n$custom-file-focus-border-color: $input-focus-border-color !default;\n$custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default;\n$custom-file-disabled-bg: $input-disabled-bg !default;\n\n$custom-file-padding-y: $input-btn-padding-y !default;\n$custom-file-padding-x: $input-btn-padding-x !default;\n$custom-file-line-height: $input-btn-line-height !default;\n$custom-file-color: $input-color !default;\n$custom-file-bg: $input-bg !default;\n$custom-file-border-width: $input-btn-border-width !default;\n$custom-file-border-color: $input-border-color !default;\n$custom-file-border-radius: $input-border-radius !default;\n$custom-file-box-shadow: $input-box-shadow !default;\n$custom-file-button-color: $custom-file-color !default;\n$custom-file-button-bg: $input-group-addon-bg !default;\n$custom-file-text: (\n en: \"Browse\"\n) !default;\n\n\n// Form validation\n$form-feedback-margin-top: $form-text-margin-top !default;\n$form-feedback-font-size: $small-font-size !default;\n$form-feedback-valid-color: theme-color(\"success\") !default;\n$form-feedback-invalid-color: theme-color(\"danger\") !default;\n\n\n// Dropdowns\n//\n// Dropdown menu container and contents.\n\n$dropdown-min-width: 10rem !default;\n$dropdown-padding-y: .5rem !default;\n$dropdown-spacer: .125rem !default;\n$dropdown-bg: $white !default;\n$dropdown-border-color: rgba($black, .15) !default;\n$dropdown-border-radius: $border-radius !default;\n$dropdown-border-width: $border-width !default;\n$dropdown-divider-bg: $gray-200 !default;\n$dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;\n\n$dropdown-link-color: $gray-900 !default;\n$dropdown-link-hover-color: darken($gray-900, 5%) !default;\n$dropdown-link-hover-bg: $gray-100 !default;\n\n$dropdown-link-active-color: $component-active-color !default;\n$dropdown-link-active-bg: $component-active-bg !default;\n\n$dropdown-link-disabled-color: $gray-600 !default;\n\n$dropdown-item-padding-y: .25rem !default;\n$dropdown-item-padding-x: 1.5rem !default;\n\n$dropdown-header-color: $gray-600 !default;\n\n\n// Z-index master list\n//\n// Warning: Avoid customizing these values. They're used for a bird's eye view\n// of components dependent on the z-axis and are designed to all work together.\n\n$zindex-dropdown: 1000 !default;\n$zindex-sticky: 1020 !default;\n$zindex-fixed: 1030 !default;\n$zindex-modal-backdrop: 1040 !default;\n$zindex-modal: 1050 !default;\n$zindex-popover: 1060 !default;\n$zindex-tooltip: 1070 !default;\n\n// Navs\n\n$nav-link-padding-y: .5rem !default;\n$nav-link-padding-x: 1rem !default;\n$nav-link-disabled-color: $gray-600 !default;\n\n$nav-tabs-border-color: $gray-300 !default;\n$nav-tabs-border-width: $border-width !default;\n$nav-tabs-border-radius: $border-radius !default;\n$nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;\n$nav-tabs-link-active-color: $gray-700 !default;\n$nav-tabs-link-active-bg: $body-bg !default;\n$nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;\n\n$nav-pills-border-radius: $border-radius !default;\n$nav-pills-link-active-color: $component-active-color !default;\n$nav-pills-link-active-bg: $component-active-bg !default;\n\n$nav-divider-color: $gray-200 !default;\n$nav-divider-margin-y: ($spacer / 2) !default;\n\n// Navbar\n\n$navbar-padding-y: ($spacer / 2) !default;\n$navbar-padding-x: $spacer !default;\n\n$navbar-nav-link-padding-x: .5rem !default;\n\n$navbar-brand-font-size: $font-size-lg !default;\n// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link\n$nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;\n$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;\n$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;\n\n$navbar-toggler-padding-y: .25rem !default;\n$navbar-toggler-padding-x: .75rem !default;\n$navbar-toggler-font-size: $font-size-lg !default;\n$navbar-toggler-border-radius: $btn-border-radius !default;\n\n$navbar-dark-color: rgba($white, .5) !default;\n$navbar-dark-hover-color: rgba($white, .75) !default;\n$navbar-dark-active-color: $white !default;\n$navbar-dark-disabled-color: rgba($white, .25) !default;\n$navbar-dark-toggler-icon-bg: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$navbar-dark-toggler-border-color: rgba($white, .1) !default;\n\n$navbar-light-color: rgba($black, .5) !default;\n$navbar-light-hover-color: rgba($black, .7) !default;\n$navbar-light-active-color: rgba($black, .9) !default;\n$navbar-light-disabled-color: rgba($black, .3) !default;\n$navbar-light-toggler-icon-bg: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$navbar-light-toggler-border-color: rgba($black, .1) !default;\n\n// Pagination\n\n$pagination-padding-y: .5rem !default;\n$pagination-padding-x: .75rem !default;\n$pagination-padding-y-sm: .25rem !default;\n$pagination-padding-x-sm: .5rem !default;\n$pagination-padding-y-lg: .75rem !default;\n$pagination-padding-x-lg: 1.5rem !default;\n$pagination-line-height: 1.25 !default;\n\n$pagination-color: $link-color !default;\n$pagination-bg: $white !default;\n$pagination-border-width: $border-width !default;\n$pagination-border-color: $gray-300 !default;\n\n$pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;\n$pagination-focus-outline: 0 !default;\n\n$pagination-hover-color: $link-hover-color !default;\n$pagination-hover-bg: $gray-200 !default;\n$pagination-hover-border-color: $gray-300 !default;\n\n$pagination-active-color: $component-active-color !default;\n$pagination-active-bg: $component-active-bg !default;\n$pagination-active-border-color: $pagination-active-bg !default;\n\n$pagination-disabled-color: $gray-600 !default;\n$pagination-disabled-bg: $white !default;\n$pagination-disabled-border-color: $gray-300 !default;\n\n\n// Jumbotron\n\n$jumbotron-padding: 2rem !default;\n$jumbotron-bg: $gray-200 !default;\n\n\n// Cards\n\n$card-spacer-y: .75rem !default;\n$card-spacer-x: 1.25rem !default;\n$card-border-width: $border-width !default;\n$card-border-radius: $border-radius !default;\n$card-border-color: rgba($black, .125) !default;\n$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;\n$card-cap-bg: rgba($black, .03) !default;\n$card-bg: $white !default;\n\n$card-img-overlay-padding: 1.25rem !default;\n\n$card-group-margin: ($grid-gutter-width / 2) !default;\n$card-deck-margin: $card-group-margin !default;\n\n$card-columns-count: 3 !default;\n$card-columns-gap: 1.25rem !default;\n$card-columns-margin: $card-spacer-y !default;\n\n\n// Tooltips\n\n$tooltip-font-size: $font-size-sm !default;\n$tooltip-max-width: 200px !default;\n$tooltip-color: $white !default;\n$tooltip-bg: $black !default;\n$tooltip-border-radius: $border-radius !default;\n$tooltip-opacity: .9 !default;\n$tooltip-padding-y: .25rem !default;\n$tooltip-padding-x: .5rem !default;\n$tooltip-margin: 0 !default;\n\n$tooltip-arrow-width: .8rem !default;\n$tooltip-arrow-height: .4rem !default;\n$tooltip-arrow-color: $tooltip-bg !default;\n\n\n// Popovers\n\n$popover-font-size: $font-size-sm !default;\n$popover-bg: $white !default;\n$popover-max-width: 276px !default;\n$popover-border-width: $border-width !default;\n$popover-border-color: rgba($black, .2) !default;\n$popover-border-radius: $border-radius-lg !default;\n$popover-box-shadow: 0 .25rem .5rem rgba($black, .2) !default;\n\n$popover-header-bg: darken($popover-bg, 3%) !default;\n$popover-header-color: $headings-color !default;\n$popover-header-padding-y: .5rem !default;\n$popover-header-padding-x: .75rem !default;\n\n$popover-body-color: $body-color !default;\n$popover-body-padding-y: $popover-header-padding-y !default;\n$popover-body-padding-x: $popover-header-padding-x !default;\n\n$popover-arrow-width: 1rem !default;\n$popover-arrow-height: .5rem !default;\n$popover-arrow-color: $popover-bg !default;\n\n$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;\n\n\n// Badges\n\n$badge-font-size: 75% !default;\n$badge-font-weight: $font-weight-bold !default;\n$badge-padding-y: .25em !default;\n$badge-padding-x: .4em !default;\n$badge-border-radius: $border-radius !default;\n\n$badge-pill-padding-x: .6em !default;\n// Use a higher than normal value to ensure completely rounded edges when\n// customizing padding or font-size on labels.\n$badge-pill-border-radius: 10rem !default;\n\n\n// Modals\n\n// Padding applied to the modal body\n$modal-inner-padding: 1rem !default;\n\n$modal-dialog-margin: .5rem !default;\n$modal-dialog-margin-y-sm-up: 1.75rem !default;\n\n$modal-title-line-height: $line-height-base !default;\n\n$modal-content-bg: $white !default;\n$modal-content-border-color: rgba($black, .2) !default;\n$modal-content-border-width: $border-width !default;\n$modal-content-border-radius: $border-radius-lg !default;\n$modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;\n$modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;\n\n$modal-backdrop-bg: $black !default;\n$modal-backdrop-opacity: .5 !default;\n$modal-header-border-color: $gray-200 !default;\n$modal-footer-border-color: $modal-header-border-color !default;\n$modal-header-border-width: $modal-content-border-width !default;\n$modal-footer-border-width: $modal-header-border-width !default;\n$modal-header-padding: 1rem !default;\n\n$modal-lg: 800px !default;\n$modal-md: 500px !default;\n$modal-sm: 300px !default;\n\n$modal-transition: transform .3s ease-out !default;\n\n\n// Alerts\n//\n// Define alert colors, border radius, and padding.\n\n$alert-padding-y: .75rem !default;\n$alert-padding-x: 1.25rem !default;\n$alert-margin-bottom: 1rem !default;\n$alert-border-radius: $border-radius !default;\n$alert-link-font-weight: $font-weight-bold !default;\n$alert-border-width: $border-width !default;\n\n$alert-bg-level: -10 !default;\n$alert-border-level: -9 !default;\n$alert-color-level: 6 !default;\n\n\n// Progress bars\n\n$progress-height: 1rem !default;\n$progress-font-size: ($font-size-base * .75) !default;\n$progress-bg: $gray-200 !default;\n$progress-border-radius: $border-radius !default;\n$progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;\n$progress-bar-color: $white !default;\n$progress-bar-bg: theme-color(\"primary\") !default;\n$progress-bar-animation-timing: 1s linear infinite !default;\n$progress-bar-transition: width .6s ease !default;\n\n// List group\n\n$list-group-bg: $white !default;\n$list-group-border-color: rgba($black, .125) !default;\n$list-group-border-width: $border-width !default;\n$list-group-border-radius: $border-radius !default;\n\n$list-group-item-padding-y: .75rem !default;\n$list-group-item-padding-x: 1.25rem !default;\n\n$list-group-hover-bg: $gray-100 !default;\n$list-group-active-color: $component-active-color !default;\n$list-group-active-bg: $component-active-bg !default;\n$list-group-active-border-color: $list-group-active-bg !default;\n\n$list-group-disabled-color: $gray-600 !default;\n$list-group-disabled-bg: $list-group-bg !default;\n\n$list-group-action-color: $gray-700 !default;\n$list-group-action-hover-color: $list-group-action-color !default;\n\n$list-group-action-active-color: $body-color !default;\n$list-group-action-active-bg: $gray-200 !default;\n\n\n// Image thumbnails\n\n$thumbnail-padding: .25rem !default;\n$thumbnail-bg: $body-bg !default;\n$thumbnail-border-width: $border-width !default;\n$thumbnail-border-color: $gray-300 !default;\n$thumbnail-border-radius: $border-radius !default;\n$thumbnail-box-shadow: 0 1px 2px rgba($black, .075) !default;\n\n\n// Figures\n\n$figure-caption-font-size: 90% !default;\n$figure-caption-color: $gray-600 !default;\n\n\n// Breadcrumbs\n\n$breadcrumb-padding-y: .75rem !default;\n$breadcrumb-padding-x: 1rem !default;\n$breadcrumb-item-padding: .5rem !default;\n\n$breadcrumb-margin-bottom: 1rem !default;\n\n$breadcrumb-bg: $gray-200 !default;\n$breadcrumb-divider-color: $gray-600 !default;\n$breadcrumb-active-color: $gray-600 !default;\n$breadcrumb-divider: quote(\"/\") !default;\n\n$breadcrumb-border-radius: $border-radius !default;\n\n\n// Carousel\n\n$carousel-control-color: $white !default;\n$carousel-control-width: 15% !default;\n$carousel-control-opacity: .5 !default;\n\n$carousel-indicator-width: 30px !default;\n$carousel-indicator-height: 3px !default;\n$carousel-indicator-spacer: 3px !default;\n$carousel-indicator-active-bg: $white !default;\n\n$carousel-caption-width: 70% !default;\n$carousel-caption-color: $white !default;\n\n$carousel-control-icon-width: 20px !default;\n\n$carousel-control-prev-icon-bg: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n$carousel-control-next-icon-bg: str-replace(url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E\"), \"#\", \"%23\") !default;\n\n$carousel-transition: transform .6s ease !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)\n\n\n// Close\n\n$close-font-size: $font-size-base * 1.5 !default;\n$close-font-weight: $font-weight-bold !default;\n$close-color: $black !default;\n$close-text-shadow: 0 1px 0 $white !default;\n\n// Code\n\n$code-font-size: 87.5% !default;\n$code-color: $pink !default;\n\n$kbd-padding-y: .2rem !default;\n$kbd-padding-x: .4rem !default;\n$kbd-font-size: $code-font-size !default;\n$kbd-color: $white !default;\n$kbd-bg: $gray-900 !default;\n\n$pre-color: $gray-900 !default;\n$pre-scrollable-max-height: 340px !default;\n\n\n// Printing\n$print-page-size: a3 !default;\n$print-body-min-width: map-get($grid-breakpoints, \"lg\") !default;\n", + "/*!\n * Bootstrap v4.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2018 The Bootstrap Authors\n * Copyright 2011-2018 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n:root {\n --blue: #007bff;\n --indigo: #6610f2;\n --purple: #6f42c1;\n --pink: #e83e8c;\n --red: #dc3545;\n --orange: #fd7e14;\n --yellow: #ffc107;\n --green: #28a745;\n --teal: #20c997;\n --cyan: #17a2b8;\n --white: #fff;\n --gray: #6c757d;\n --gray-dark: #343a40;\n --primary: #007bff;\n --secondary: #6c757d;\n --success: #28a745;\n --info: #17a2b8;\n --warning: #ffc107;\n --danger: #dc3545;\n --light: #f8f9fa;\n --dark: #343a40;\n --breakpoint-xs: 0;\n --breakpoint-sm: 576px;\n --breakpoint-md: 768px;\n --breakpoint-lg: 992px;\n --breakpoint-xl: 1200px;\n --font-family-sans-serif: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n -ms-overflow-style: scrollbar;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n@-ms-viewport {\n width: device-width;\n}\n\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n text-align: left;\n background-color: #fff;\n}\n\n[tabindex=\"-1\"]:focus {\n outline: 0 !important;\n}\n\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\n\nh1, h2, h3, h4, h5, h6 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n}\n\np {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nabbr[title],\nabbr[data-original-title] {\n text-decoration: underline;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\ndfn {\n font-style: italic;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -.25em;\n}\n\nsup {\n top: -.5em;\n}\n\na {\n color: #007bff;\n text-decoration: none;\n background-color: transparent;\n -webkit-text-decoration-skip: objects;\n}\n\na:hover {\n color: #0056b3;\n text-decoration: underline;\n}\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):not([tabindex]):focus {\n outline: 0;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n font-size: 1em;\n}\n\npre {\n margin-top: 0;\n margin-bottom: 1rem;\n overflow: auto;\n -ms-overflow-style: scrollbar;\n}\n\nfigure {\n margin: 0 0 1rem;\n}\n\nimg {\n vertical-align: middle;\n border-style: none;\n}\n\nsvg {\n overflow: hidden;\n vertical-align: middle;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n color: #6c757d;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n text-align: inherit;\n}\n\nlabel {\n display: inline-block;\n margin-bottom: 0.5rem;\n}\n\nbutton {\n border-radius: 0;\n}\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n box-sizing: border-box;\n padding: 0;\n}\n\ninput[type=\"date\"],\ninput[type=\"time\"],\ninput[type=\"datetime-local\"],\ninput[type=\"month\"] {\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto;\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n margin-bottom: .5rem;\n font-size: 1.5rem;\n line-height: inherit;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type=\"search\"] {\n outline-offset: -2px;\n -webkit-appearance: none;\n}\n\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\ntemplate {\n display: none;\n}\n\n[hidden] {\n display: none !important;\n}\n\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n margin-bottom: 0.5rem;\n font-family: inherit;\n font-weight: 500;\n line-height: 1.2;\n color: inherit;\n}\n\nh1, .h1 {\n font-size: 2.5rem;\n}\n\nh2, .h2 {\n font-size: 2rem;\n}\n\nh3, .h3 {\n font-size: 1.75rem;\n}\n\nh4, .h4 {\n font-size: 1.5rem;\n}\n\nh5, .h5 {\n font-size: 1.25rem;\n}\n\nh6, .h6 {\n font-size: 1rem;\n}\n\n.lead {\n font-size: 1.25rem;\n font-weight: 300;\n}\n\n.display-1 {\n font-size: 6rem;\n font-weight: 300;\n line-height: 1.2;\n}\n\n.display-2 {\n font-size: 5.5rem;\n font-weight: 300;\n line-height: 1.2;\n}\n\n.display-3 {\n font-size: 4.5rem;\n font-weight: 300;\n line-height: 1.2;\n}\n\n.display-4 {\n font-size: 3.5rem;\n font-weight: 300;\n line-height: 1.2;\n}\n\nhr {\n margin-top: 1rem;\n margin-bottom: 1rem;\n border: 0;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n}\n\nsmall,\n.small {\n font-size: 80%;\n font-weight: 400;\n}\n\nmark,\n.mark {\n padding: 0.2em;\n background-color: #fcf8e3;\n}\n\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n\n.list-inline {\n padding-left: 0;\n list-style: none;\n}\n\n.list-inline-item {\n display: inline-block;\n}\n\n.list-inline-item:not(:last-child) {\n margin-right: 0.5rem;\n}\n\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\n\n.blockquote {\n margin-bottom: 1rem;\n font-size: 1.25rem;\n}\n\n.blockquote-footer {\n display: block;\n font-size: 80%;\n color: #6c757d;\n}\n\n.blockquote-footer::before {\n content: \"\\2014 \\00A0\";\n}\n\n.img-fluid {\n max-width: 100%;\n height: auto;\n}\n\n.img-thumbnail {\n padding: 0.25rem;\n background-color: #fff;\n border: 1px solid #dee2e6;\n border-radius: 0.25rem;\n max-width: 100%;\n height: auto;\n}\n\n.figure {\n display: inline-block;\n}\n\n.figure-img {\n margin-bottom: 0.5rem;\n line-height: 1;\n}\n\n.figure-caption {\n font-size: 90%;\n color: #6c757d;\n}\n\ncode {\n font-size: 87.5%;\n color: #e83e8c;\n word-break: break-word;\n}\n\na > code {\n color: inherit;\n}\n\nkbd {\n padding: 0.2rem 0.4rem;\n font-size: 87.5%;\n color: #fff;\n background-color: #212529;\n border-radius: 0.2rem;\n}\n\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: 700;\n}\n\npre {\n display: block;\n font-size: 87.5%;\n color: #212529;\n}\n\npre code {\n font-size: inherit;\n color: inherit;\n word-break: normal;\n}\n\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n\n.container {\n width: 100%;\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n\n@media (min-width: 576px) {\n .container {\n max-width: 540px;\n }\n}\n\n@media (min-width: 768px) {\n .container {\n max-width: 720px;\n }\n}\n\n@media (min-width: 992px) {\n .container {\n max-width: 960px;\n }\n}\n\n@media (min-width: 1200px) {\n .container {\n max-width: 1140px;\n }\n}\n\n.container-fluid {\n width: 100%;\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n\n.row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -15px;\n margin-left: -15px;\n}\n\n.no-gutters {\n margin-right: 0;\n margin-left: 0;\n}\n\n.no-gutters > .col,\n.no-gutters > [class*=\"col-\"] {\n padding-right: 0;\n padding-left: 0;\n}\n\n.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,\n.col-auto, .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, .col-sm,\n.col-sm-auto, .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, .col-md,\n.col-md-auto, .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, .col-lg,\n.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,\n.col-xl-auto {\n position: relative;\n width: 100%;\n min-height: 1px;\n padding-right: 15px;\n padding-left: 15px;\n}\n\n.col {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n}\n\n.col-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n}\n\n.col-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n}\n\n.col-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n}\n\n.col-3 {\n flex: 0 0 25%;\n max-width: 25%;\n}\n\n.col-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n}\n\n.col-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n}\n\n.col-6 {\n flex: 0 0 50%;\n max-width: 50%;\n}\n\n.col-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n}\n\n.col-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n}\n\n.col-9 {\n flex: 0 0 75%;\n max-width: 75%;\n}\n\n.col-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n}\n\n.col-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n}\n\n.col-12 {\n flex: 0 0 100%;\n max-width: 100%;\n}\n\n.order-first {\n order: -1;\n}\n\n.order-last {\n order: 13;\n}\n\n.order-0 {\n order: 0;\n}\n\n.order-1 {\n order: 1;\n}\n\n.order-2 {\n order: 2;\n}\n\n.order-3 {\n order: 3;\n}\n\n.order-4 {\n order: 4;\n}\n\n.order-5 {\n order: 5;\n}\n\n.order-6 {\n order: 6;\n}\n\n.order-7 {\n order: 7;\n}\n\n.order-8 {\n order: 8;\n}\n\n.order-9 {\n order: 9;\n}\n\n.order-10 {\n order: 10;\n}\n\n.order-11 {\n order: 11;\n}\n\n.order-12 {\n order: 12;\n}\n\n.offset-1 {\n margin-left: 8.333333%;\n}\n\n.offset-2 {\n margin-left: 16.666667%;\n}\n\n.offset-3 {\n margin-left: 25%;\n}\n\n.offset-4 {\n margin-left: 33.333333%;\n}\n\n.offset-5 {\n margin-left: 41.666667%;\n}\n\n.offset-6 {\n margin-left: 50%;\n}\n\n.offset-7 {\n margin-left: 58.333333%;\n}\n\n.offset-8 {\n margin-left: 66.666667%;\n}\n\n.offset-9 {\n margin-left: 75%;\n}\n\n.offset-10 {\n margin-left: 83.333333%;\n}\n\n.offset-11 {\n margin-left: 91.666667%;\n}\n\n@media (min-width: 576px) {\n .col-sm {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col-sm-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n .col-sm-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n }\n .col-sm-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n }\n .col-sm-3 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .col-sm-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n }\n .col-sm-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n }\n .col-sm-6 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .col-sm-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n }\n .col-sm-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n }\n .col-sm-9 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .col-sm-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n }\n .col-sm-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n }\n .col-sm-12 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .order-sm-first {\n order: -1;\n }\n .order-sm-last {\n order: 13;\n }\n .order-sm-0 {\n order: 0;\n }\n .order-sm-1 {\n order: 1;\n }\n .order-sm-2 {\n order: 2;\n }\n .order-sm-3 {\n order: 3;\n }\n .order-sm-4 {\n order: 4;\n }\n .order-sm-5 {\n order: 5;\n }\n .order-sm-6 {\n order: 6;\n }\n .order-sm-7 {\n order: 7;\n }\n .order-sm-8 {\n order: 8;\n }\n .order-sm-9 {\n order: 9;\n }\n .order-sm-10 {\n order: 10;\n }\n .order-sm-11 {\n order: 11;\n }\n .order-sm-12 {\n order: 12;\n }\n .offset-sm-0 {\n margin-left: 0;\n }\n .offset-sm-1 {\n margin-left: 8.333333%;\n }\n .offset-sm-2 {\n margin-left: 16.666667%;\n }\n .offset-sm-3 {\n margin-left: 25%;\n }\n .offset-sm-4 {\n margin-left: 33.333333%;\n }\n .offset-sm-5 {\n margin-left: 41.666667%;\n }\n .offset-sm-6 {\n margin-left: 50%;\n }\n .offset-sm-7 {\n margin-left: 58.333333%;\n }\n .offset-sm-8 {\n margin-left: 66.666667%;\n }\n .offset-sm-9 {\n margin-left: 75%;\n }\n .offset-sm-10 {\n margin-left: 83.333333%;\n }\n .offset-sm-11 {\n margin-left: 91.666667%;\n }\n}\n\n@media (min-width: 768px) {\n .col-md {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col-md-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n .col-md-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n }\n .col-md-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n }\n .col-md-3 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .col-md-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n }\n .col-md-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n }\n .col-md-6 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .col-md-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n }\n .col-md-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n }\n .col-md-9 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .col-md-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n }\n .col-md-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n }\n .col-md-12 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .order-md-first {\n order: -1;\n }\n .order-md-last {\n order: 13;\n }\n .order-md-0 {\n order: 0;\n }\n .order-md-1 {\n order: 1;\n }\n .order-md-2 {\n order: 2;\n }\n .order-md-3 {\n order: 3;\n }\n .order-md-4 {\n order: 4;\n }\n .order-md-5 {\n order: 5;\n }\n .order-md-6 {\n order: 6;\n }\n .order-md-7 {\n order: 7;\n }\n .order-md-8 {\n order: 8;\n }\n .order-md-9 {\n order: 9;\n }\n .order-md-10 {\n order: 10;\n }\n .order-md-11 {\n order: 11;\n }\n .order-md-12 {\n order: 12;\n }\n .offset-md-0 {\n margin-left: 0;\n }\n .offset-md-1 {\n margin-left: 8.333333%;\n }\n .offset-md-2 {\n margin-left: 16.666667%;\n }\n .offset-md-3 {\n margin-left: 25%;\n }\n .offset-md-4 {\n margin-left: 33.333333%;\n }\n .offset-md-5 {\n margin-left: 41.666667%;\n }\n .offset-md-6 {\n margin-left: 50%;\n }\n .offset-md-7 {\n margin-left: 58.333333%;\n }\n .offset-md-8 {\n margin-left: 66.666667%;\n }\n .offset-md-9 {\n margin-left: 75%;\n }\n .offset-md-10 {\n margin-left: 83.333333%;\n }\n .offset-md-11 {\n margin-left: 91.666667%;\n }\n}\n\n@media (min-width: 992px) {\n .col-lg {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col-lg-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n .col-lg-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n }\n .col-lg-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n }\n .col-lg-3 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .col-lg-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n }\n .col-lg-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n }\n .col-lg-6 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .col-lg-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n }\n .col-lg-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n }\n .col-lg-9 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .col-lg-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n }\n .col-lg-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n }\n .col-lg-12 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .order-lg-first {\n order: -1;\n }\n .order-lg-last {\n order: 13;\n }\n .order-lg-0 {\n order: 0;\n }\n .order-lg-1 {\n order: 1;\n }\n .order-lg-2 {\n order: 2;\n }\n .order-lg-3 {\n order: 3;\n }\n .order-lg-4 {\n order: 4;\n }\n .order-lg-5 {\n order: 5;\n }\n .order-lg-6 {\n order: 6;\n }\n .order-lg-7 {\n order: 7;\n }\n .order-lg-8 {\n order: 8;\n }\n .order-lg-9 {\n order: 9;\n }\n .order-lg-10 {\n order: 10;\n }\n .order-lg-11 {\n order: 11;\n }\n .order-lg-12 {\n order: 12;\n }\n .offset-lg-0 {\n margin-left: 0;\n }\n .offset-lg-1 {\n margin-left: 8.333333%;\n }\n .offset-lg-2 {\n margin-left: 16.666667%;\n }\n .offset-lg-3 {\n margin-left: 25%;\n }\n .offset-lg-4 {\n margin-left: 33.333333%;\n }\n .offset-lg-5 {\n margin-left: 41.666667%;\n }\n .offset-lg-6 {\n margin-left: 50%;\n }\n .offset-lg-7 {\n margin-left: 58.333333%;\n }\n .offset-lg-8 {\n margin-left: 66.666667%;\n }\n .offset-lg-9 {\n margin-left: 75%;\n }\n .offset-lg-10 {\n margin-left: 83.333333%;\n }\n .offset-lg-11 {\n margin-left: 91.666667%;\n }\n}\n\n@media (min-width: 1200px) {\n .col-xl {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col-xl-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n .col-xl-1 {\n flex: 0 0 8.333333%;\n max-width: 8.333333%;\n }\n .col-xl-2 {\n flex: 0 0 16.666667%;\n max-width: 16.666667%;\n }\n .col-xl-3 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .col-xl-4 {\n flex: 0 0 33.333333%;\n max-width: 33.333333%;\n }\n .col-xl-5 {\n flex: 0 0 41.666667%;\n max-width: 41.666667%;\n }\n .col-xl-6 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .col-xl-7 {\n flex: 0 0 58.333333%;\n max-width: 58.333333%;\n }\n .col-xl-8 {\n flex: 0 0 66.666667%;\n max-width: 66.666667%;\n }\n .col-xl-9 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .col-xl-10 {\n flex: 0 0 83.333333%;\n max-width: 83.333333%;\n }\n .col-xl-11 {\n flex: 0 0 91.666667%;\n max-width: 91.666667%;\n }\n .col-xl-12 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .order-xl-first {\n order: -1;\n }\n .order-xl-last {\n order: 13;\n }\n .order-xl-0 {\n order: 0;\n }\n .order-xl-1 {\n order: 1;\n }\n .order-xl-2 {\n order: 2;\n }\n .order-xl-3 {\n order: 3;\n }\n .order-xl-4 {\n order: 4;\n }\n .order-xl-5 {\n order: 5;\n }\n .order-xl-6 {\n order: 6;\n }\n .order-xl-7 {\n order: 7;\n }\n .order-xl-8 {\n order: 8;\n }\n .order-xl-9 {\n order: 9;\n }\n .order-xl-10 {\n order: 10;\n }\n .order-xl-11 {\n order: 11;\n }\n .order-xl-12 {\n order: 12;\n }\n .offset-xl-0 {\n margin-left: 0;\n }\n .offset-xl-1 {\n margin-left: 8.333333%;\n }\n .offset-xl-2 {\n margin-left: 16.666667%;\n }\n .offset-xl-3 {\n margin-left: 25%;\n }\n .offset-xl-4 {\n margin-left: 33.333333%;\n }\n .offset-xl-5 {\n margin-left: 41.666667%;\n }\n .offset-xl-6 {\n margin-left: 50%;\n }\n .offset-xl-7 {\n margin-left: 58.333333%;\n }\n .offset-xl-8 {\n margin-left: 66.666667%;\n }\n .offset-xl-9 {\n margin-left: 75%;\n }\n .offset-xl-10 {\n margin-left: 83.333333%;\n }\n .offset-xl-11 {\n margin-left: 91.666667%;\n }\n}\n\n.table {\n width: 100%;\n margin-bottom: 1rem;\n background-color: transparent;\n}\n\n.table th,\n.table td {\n padding: 0.75rem;\n vertical-align: top;\n border-top: 1px solid #dee2e6;\n}\n\n.table thead th {\n vertical-align: bottom;\n border-bottom: 2px solid #dee2e6;\n}\n\n.table tbody + tbody {\n border-top: 2px solid #dee2e6;\n}\n\n.table .table {\n background-color: #fff;\n}\n\n.table-sm th,\n.table-sm td {\n padding: 0.3rem;\n}\n\n.table-bordered {\n border: 1px solid #dee2e6;\n}\n\n.table-bordered th,\n.table-bordered td {\n border: 1px solid #dee2e6;\n}\n\n.table-bordered thead th,\n.table-bordered thead td {\n border-bottom-width: 2px;\n}\n\n.table-borderless th,\n.table-borderless td,\n.table-borderless thead th,\n.table-borderless tbody + tbody {\n border: 0;\n}\n\n.table-striped tbody tr:nth-of-type(odd) {\n background-color: rgba(0, 0, 0, 0.05);\n}\n\n.table-hover tbody tr:hover {\n background-color: rgba(0, 0, 0, 0.075);\n}\n\n.table-primary,\n.table-primary > th,\n.table-primary > td {\n background-color: #b8daff;\n}\n\n.table-hover .table-primary:hover {\n background-color: #9fcdff;\n}\n\n.table-hover .table-primary:hover > td,\n.table-hover .table-primary:hover > th {\n background-color: #9fcdff;\n}\n\n.table-secondary,\n.table-secondary > th,\n.table-secondary > td {\n background-color: #d6d8db;\n}\n\n.table-hover .table-secondary:hover {\n background-color: #c8cbcf;\n}\n\n.table-hover .table-secondary:hover > td,\n.table-hover .table-secondary:hover > th {\n background-color: #c8cbcf;\n}\n\n.table-success,\n.table-success > th,\n.table-success > td {\n background-color: #c3e6cb;\n}\n\n.table-hover .table-success:hover {\n background-color: #b1dfbb;\n}\n\n.table-hover .table-success:hover > td,\n.table-hover .table-success:hover > th {\n background-color: #b1dfbb;\n}\n\n.table-info,\n.table-info > th,\n.table-info > td {\n background-color: #bee5eb;\n}\n\n.table-hover .table-info:hover {\n background-color: #abdde5;\n}\n\n.table-hover .table-info:hover > td,\n.table-hover .table-info:hover > th {\n background-color: #abdde5;\n}\n\n.table-warning,\n.table-warning > th,\n.table-warning > td {\n background-color: #ffeeba;\n}\n\n.table-hover .table-warning:hover {\n background-color: #ffe8a1;\n}\n\n.table-hover .table-warning:hover > td,\n.table-hover .table-warning:hover > th {\n background-color: #ffe8a1;\n}\n\n.table-danger,\n.table-danger > th,\n.table-danger > td {\n background-color: #f5c6cb;\n}\n\n.table-hover .table-danger:hover {\n background-color: #f1b0b7;\n}\n\n.table-hover .table-danger:hover > td,\n.table-hover .table-danger:hover > th {\n background-color: #f1b0b7;\n}\n\n.table-light,\n.table-light > th,\n.table-light > td {\n background-color: #fdfdfe;\n}\n\n.table-hover .table-light:hover {\n background-color: #ececf6;\n}\n\n.table-hover .table-light:hover > td,\n.table-hover .table-light:hover > th {\n background-color: #ececf6;\n}\n\n.table-dark,\n.table-dark > th,\n.table-dark > td {\n background-color: #c6c8ca;\n}\n\n.table-hover .table-dark:hover {\n background-color: #b9bbbe;\n}\n\n.table-hover .table-dark:hover > td,\n.table-hover .table-dark:hover > th {\n background-color: #b9bbbe;\n}\n\n.table-active,\n.table-active > th,\n.table-active > td {\n background-color: rgba(0, 0, 0, 0.075);\n}\n\n.table-hover .table-active:hover {\n background-color: rgba(0, 0, 0, 0.075);\n}\n\n.table-hover .table-active:hover > td,\n.table-hover .table-active:hover > th {\n background-color: rgba(0, 0, 0, 0.075);\n}\n\n.table .thead-dark th {\n color: #fff;\n background-color: #212529;\n border-color: #32383e;\n}\n\n.table .thead-light th {\n color: #495057;\n background-color: #e9ecef;\n border-color: #dee2e6;\n}\n\n.table-dark {\n color: #fff;\n background-color: #212529;\n}\n\n.table-dark th,\n.table-dark td,\n.table-dark thead th {\n border-color: #32383e;\n}\n\n.table-dark.table-bordered {\n border: 0;\n}\n\n.table-dark.table-striped tbody tr:nth-of-type(odd) {\n background-color: rgba(255, 255, 255, 0.05);\n}\n\n.table-dark.table-hover tbody tr:hover {\n background-color: rgba(255, 255, 255, 0.075);\n}\n\n@media (max-width: 575.98px) {\n .table-responsive-sm {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n .table-responsive-sm > .table-bordered {\n border: 0;\n }\n}\n\n@media (max-width: 767.98px) {\n .table-responsive-md {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n .table-responsive-md > .table-bordered {\n border: 0;\n }\n}\n\n@media (max-width: 991.98px) {\n .table-responsive-lg {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n .table-responsive-lg > .table-bordered {\n border: 0;\n }\n}\n\n@media (max-width: 1199.98px) {\n .table-responsive-xl {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n .table-responsive-xl > .table-bordered {\n border: 0;\n }\n}\n\n.table-responsive {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n\n.table-responsive > .table-bordered {\n border: 0;\n}\n\n.form-control {\n display: block;\n width: 100%;\n height: calc(2.25rem + 2px);\n padding: 0.375rem 0.75rem;\n font-size: 1rem;\n line-height: 1.5;\n color: #495057;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n border-radius: 0.25rem;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .form-control {\n transition: none;\n }\n}\n\n.form-control::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n\n.form-control:focus {\n color: #495057;\n background-color: #fff;\n border-color: #80bdff;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.form-control::placeholder {\n color: #6c757d;\n opacity: 1;\n}\n\n.form-control:disabled, .form-control[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n}\n\nselect.form-control:focus::-ms-value {\n color: #495057;\n background-color: #fff;\n}\n\n.form-control-file,\n.form-control-range {\n display: block;\n width: 100%;\n}\n\n.col-form-label {\n padding-top: calc(0.375rem + 1px);\n padding-bottom: calc(0.375rem + 1px);\n margin-bottom: 0;\n font-size: inherit;\n line-height: 1.5;\n}\n\n.col-form-label-lg {\n padding-top: calc(0.5rem + 1px);\n padding-bottom: calc(0.5rem + 1px);\n font-size: 1.25rem;\n line-height: 1.5;\n}\n\n.col-form-label-sm {\n padding-top: calc(0.25rem + 1px);\n padding-bottom: calc(0.25rem + 1px);\n font-size: 0.875rem;\n line-height: 1.5;\n}\n\n.form-control-plaintext {\n display: block;\n width: 100%;\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n margin-bottom: 0;\n line-height: 1.5;\n color: #212529;\n background-color: transparent;\n border: solid transparent;\n border-width: 1px 0;\n}\n\n.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {\n padding-right: 0;\n padding-left: 0;\n}\n\n.form-control-sm {\n height: calc(1.8125rem + 2px);\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5;\n border-radius: 0.2rem;\n}\n\n.form-control-lg {\n height: calc(2.875rem + 2px);\n padding: 0.5rem 1rem;\n font-size: 1.25rem;\n line-height: 1.5;\n border-radius: 0.3rem;\n}\n\nselect.form-control[size], select.form-control[multiple] {\n height: auto;\n}\n\ntextarea.form-control {\n height: auto;\n}\n\n.form-group {\n margin-bottom: 1rem;\n}\n\n.form-text {\n display: block;\n margin-top: 0.25rem;\n}\n\n.form-row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -5px;\n margin-left: -5px;\n}\n\n.form-row > .col,\n.form-row > [class*=\"col-\"] {\n padding-right: 5px;\n padding-left: 5px;\n}\n\n.form-check {\n position: relative;\n display: block;\n padding-left: 1.25rem;\n}\n\n.form-check-input {\n position: absolute;\n margin-top: 0.3rem;\n margin-left: -1.25rem;\n}\n\n.form-check-input:disabled ~ .form-check-label {\n color: #6c757d;\n}\n\n.form-check-label {\n margin-bottom: 0;\n}\n\n.form-check-inline {\n display: inline-flex;\n align-items: center;\n padding-left: 0;\n margin-right: 0.75rem;\n}\n\n.form-check-inline .form-check-input {\n position: static;\n margin-top: 0;\n margin-right: 0.3125rem;\n margin-left: 0;\n}\n\n.valid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.25rem;\n font-size: 80%;\n color: #28a745;\n}\n\n.valid-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%;\n padding: 0.25rem 0.5rem;\n margin-top: .1rem;\n font-size: 0.875rem;\n line-height: 1.5;\n color: #fff;\n background-color: rgba(40, 167, 69, 0.9);\n border-radius: 0.25rem;\n}\n\n.was-validated .form-control:valid, .form-control.is-valid, .was-validated\n.custom-select:valid,\n.custom-select.is-valid {\n border-color: #28a745;\n}\n\n.was-validated .form-control:valid:focus, .form-control.is-valid:focus, .was-validated\n.custom-select:valid:focus,\n.custom-select.is-valid:focus {\n border-color: #28a745;\n box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);\n}\n\n.was-validated .form-control:valid ~ .valid-feedback,\n.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback,\n.form-control.is-valid ~ .valid-tooltip, .was-validated\n.custom-select:valid ~ .valid-feedback,\n.was-validated\n.custom-select:valid ~ .valid-tooltip,\n.custom-select.is-valid ~ .valid-feedback,\n.custom-select.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .form-control-file:valid ~ .valid-feedback,\n.was-validated .form-control-file:valid ~ .valid-tooltip, .form-control-file.is-valid ~ .valid-feedback,\n.form-control-file.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {\n color: #28a745;\n}\n\n.was-validated .form-check-input:valid ~ .valid-feedback,\n.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback,\n.form-check-input.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label {\n color: #28a745;\n}\n\n.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {\n background-color: #71dd8a;\n}\n\n.was-validated .custom-control-input:valid ~ .valid-feedback,\n.was-validated .custom-control-input:valid ~ .valid-tooltip, .custom-control-input.is-valid ~ .valid-feedback,\n.custom-control-input.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before {\n background-color: #34ce57;\n}\n\n.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(40, 167, 69, 0.25);\n}\n\n.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label {\n border-color: #28a745;\n}\n\n.was-validated .custom-file-input:valid ~ .custom-file-label::after, .custom-file-input.is-valid ~ .custom-file-label::after {\n border-color: inherit;\n}\n\n.was-validated .custom-file-input:valid ~ .valid-feedback,\n.was-validated .custom-file-input:valid ~ .valid-tooltip, .custom-file-input.is-valid ~ .valid-feedback,\n.custom-file-input.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label {\n box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);\n}\n\n.invalid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.25rem;\n font-size: 80%;\n color: #dc3545;\n}\n\n.invalid-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%;\n padding: 0.25rem 0.5rem;\n margin-top: .1rem;\n font-size: 0.875rem;\n line-height: 1.5;\n color: #fff;\n background-color: rgba(220, 53, 69, 0.9);\n border-radius: 0.25rem;\n}\n\n.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated\n.custom-select:invalid,\n.custom-select.is-invalid {\n border-color: #dc3545;\n}\n\n.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus, .was-validated\n.custom-select:invalid:focus,\n.custom-select.is-invalid:focus {\n border-color: #dc3545;\n box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);\n}\n\n.was-validated .form-control:invalid ~ .invalid-feedback,\n.was-validated .form-control:invalid ~ .invalid-tooltip, .form-control.is-invalid ~ .invalid-feedback,\n.form-control.is-invalid ~ .invalid-tooltip, .was-validated\n.custom-select:invalid ~ .invalid-feedback,\n.was-validated\n.custom-select:invalid ~ .invalid-tooltip,\n.custom-select.is-invalid ~ .invalid-feedback,\n.custom-select.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .form-control-file:invalid ~ .invalid-feedback,\n.was-validated .form-control-file:invalid ~ .invalid-tooltip, .form-control-file.is-invalid ~ .invalid-feedback,\n.form-control-file.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {\n color: #dc3545;\n}\n\n.was-validated .form-check-input:invalid ~ .invalid-feedback,\n.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback,\n.form-check-input.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label {\n color: #dc3545;\n}\n\n.was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before {\n background-color: #efa2a9;\n}\n\n.was-validated .custom-control-input:invalid ~ .invalid-feedback,\n.was-validated .custom-control-input:invalid ~ .invalid-tooltip, .custom-control-input.is-invalid ~ .invalid-feedback,\n.custom-control-input.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before {\n background-color: #e4606d;\n}\n\n.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(220, 53, 69, 0.25);\n}\n\n.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label {\n border-color: #dc3545;\n}\n\n.was-validated .custom-file-input:invalid ~ .custom-file-label::after, .custom-file-input.is-invalid ~ .custom-file-label::after {\n border-color: inherit;\n}\n\n.was-validated .custom-file-input:invalid ~ .invalid-feedback,\n.was-validated .custom-file-input:invalid ~ .invalid-tooltip, .custom-file-input.is-invalid ~ .invalid-feedback,\n.custom-file-input.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label {\n box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);\n}\n\n.form-inline {\n display: flex;\n flex-flow: row wrap;\n align-items: center;\n}\n\n.form-inline .form-check {\n width: 100%;\n}\n\n@media (min-width: 576px) {\n .form-inline label {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 0;\n }\n .form-inline .form-group {\n display: flex;\n flex: 0 0 auto;\n flex-flow: row wrap;\n align-items: center;\n margin-bottom: 0;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-plaintext {\n display: inline-block;\n }\n .form-inline .input-group,\n .form-inline .custom-select {\n width: auto;\n }\n .form-inline .form-check {\n display: flex;\n align-items: center;\n justify-content: center;\n width: auto;\n padding-left: 0;\n }\n .form-inline .form-check-input {\n position: relative;\n margin-top: 0;\n margin-right: 0.25rem;\n margin-left: 0;\n }\n .form-inline .custom-control {\n align-items: center;\n justify-content: center;\n }\n .form-inline .custom-control-label {\n margin-bottom: 0;\n }\n}\n\n.btn {\n display: inline-block;\n font-weight: 400;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n user-select: none;\n border: 1px solid transparent;\n padding: 0.375rem 0.75rem;\n font-size: 1rem;\n line-height: 1.5;\n border-radius: 0.25rem;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .btn {\n transition: none;\n }\n}\n\n.btn:hover, .btn:focus {\n text-decoration: none;\n}\n\n.btn:focus, .btn.focus {\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.btn.disabled, .btn:disabled {\n opacity: 0.65;\n}\n\n.btn:not(:disabled):not(.disabled) {\n cursor: pointer;\n}\n\na.btn.disabled,\nfieldset:disabled a.btn {\n pointer-events: none;\n}\n\n.btn-primary {\n color: #fff;\n background-color: #007bff;\n border-color: #007bff;\n}\n\n.btn-primary:hover {\n color: #fff;\n background-color: #0069d9;\n border-color: #0062cc;\n}\n\n.btn-primary:focus, .btn-primary.focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);\n}\n\n.btn-primary.disabled, .btn-primary:disabled {\n color: #fff;\n background-color: #007bff;\n border-color: #007bff;\n}\n\n.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,\n.show > .btn-primary.dropdown-toggle {\n color: #fff;\n background-color: #0062cc;\n border-color: #005cbf;\n}\n\n.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-primary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);\n}\n\n.btn-secondary {\n color: #fff;\n background-color: #6c757d;\n border-color: #6c757d;\n}\n\n.btn-secondary:hover {\n color: #fff;\n background-color: #5a6268;\n border-color: #545b62;\n}\n\n.btn-secondary:focus, .btn-secondary.focus {\n box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);\n}\n\n.btn-secondary.disabled, .btn-secondary:disabled {\n color: #fff;\n background-color: #6c757d;\n border-color: #6c757d;\n}\n\n.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,\n.show > .btn-secondary.dropdown-toggle {\n color: #fff;\n background-color: #545b62;\n border-color: #4e555b;\n}\n\n.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-secondary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);\n}\n\n.btn-success {\n color: #fff;\n background-color: #28a745;\n border-color: #28a745;\n}\n\n.btn-success:hover {\n color: #fff;\n background-color: #218838;\n border-color: #1e7e34;\n}\n\n.btn-success:focus, .btn-success.focus {\n box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);\n}\n\n.btn-success.disabled, .btn-success:disabled {\n color: #fff;\n background-color: #28a745;\n border-color: #28a745;\n}\n\n.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,\n.show > .btn-success.dropdown-toggle {\n color: #fff;\n background-color: #1e7e34;\n border-color: #1c7430;\n}\n\n.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,\n.show > .btn-success.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);\n}\n\n.btn-info {\n color: #fff;\n background-color: #17a2b8;\n border-color: #17a2b8;\n}\n\n.btn-info:hover {\n color: #fff;\n background-color: #138496;\n border-color: #117a8b;\n}\n\n.btn-info:focus, .btn-info.focus {\n box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);\n}\n\n.btn-info.disabled, .btn-info:disabled {\n color: #fff;\n background-color: #17a2b8;\n border-color: #17a2b8;\n}\n\n.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,\n.show > .btn-info.dropdown-toggle {\n color: #fff;\n background-color: #117a8b;\n border-color: #10707f;\n}\n\n.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,\n.show > .btn-info.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);\n}\n\n.btn-warning {\n color: #212529;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-warning:hover {\n color: #212529;\n background-color: #e0a800;\n border-color: #d39e00;\n}\n\n.btn-warning:focus, .btn-warning.focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-warning.disabled, .btn-warning:disabled {\n color: #212529;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,\n.show > .btn-warning.dropdown-toggle {\n color: #212529;\n background-color: #d39e00;\n border-color: #c69500;\n}\n\n.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,\n.show > .btn-warning.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-danger {\n color: #fff;\n background-color: #dc3545;\n border-color: #dc3545;\n}\n\n.btn-danger:hover {\n color: #fff;\n background-color: #c82333;\n border-color: #bd2130;\n}\n\n.btn-danger:focus, .btn-danger.focus {\n box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);\n}\n\n.btn-danger.disabled, .btn-danger:disabled {\n color: #fff;\n background-color: #dc3545;\n border-color: #dc3545;\n}\n\n.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,\n.show > .btn-danger.dropdown-toggle {\n color: #fff;\n background-color: #bd2130;\n border-color: #b21f2d;\n}\n\n.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,\n.show > .btn-danger.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);\n}\n\n.btn-light {\n color: #212529;\n background-color: #f8f9fa;\n border-color: #f8f9fa;\n}\n\n.btn-light:hover {\n color: #212529;\n background-color: #e2e6ea;\n border-color: #dae0e5;\n}\n\n.btn-light:focus, .btn-light.focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);\n}\n\n.btn-light.disabled, .btn-light:disabled {\n color: #212529;\n background-color: #f8f9fa;\n border-color: #f8f9fa;\n}\n\n.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,\n.show > .btn-light.dropdown-toggle {\n color: #212529;\n background-color: #dae0e5;\n border-color: #d3d9df;\n}\n\n.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,\n.show > .btn-light.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);\n}\n\n.btn-dark {\n color: #fff;\n background-color: #343a40;\n border-color: #343a40;\n}\n\n.btn-dark:hover {\n color: #fff;\n background-color: #23272b;\n border-color: #1d2124;\n}\n\n.btn-dark:focus, .btn-dark.focus {\n box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);\n}\n\n.btn-dark.disabled, .btn-dark:disabled {\n color: #fff;\n background-color: #343a40;\n border-color: #343a40;\n}\n\n.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,\n.show > .btn-dark.dropdown-toggle {\n color: #fff;\n background-color: #1d2124;\n border-color: #171a1d;\n}\n\n.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,\n.show > .btn-dark.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);\n}\n\n.btn-outline-primary {\n color: #007bff;\n background-color: transparent;\n background-image: none;\n border-color: #007bff;\n}\n\n.btn-outline-primary:hover {\n color: #fff;\n background-color: #007bff;\n border-color: #007bff;\n}\n\n.btn-outline-primary:focus, .btn-outline-primary.focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);\n}\n\n.btn-outline-primary.disabled, .btn-outline-primary:disabled {\n color: #007bff;\n background-color: transparent;\n}\n\n.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,\n.show > .btn-outline-primary.dropdown-toggle {\n color: #fff;\n background-color: #007bff;\n border-color: #007bff;\n}\n\n.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-primary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);\n}\n\n.btn-outline-secondary {\n color: #6c757d;\n background-color: transparent;\n background-image: none;\n border-color: #6c757d;\n}\n\n.btn-outline-secondary:hover {\n color: #fff;\n background-color: #6c757d;\n border-color: #6c757d;\n}\n\n.btn-outline-secondary:focus, .btn-outline-secondary.focus {\n box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);\n}\n\n.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {\n color: #6c757d;\n background-color: transparent;\n}\n\n.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,\n.show > .btn-outline-secondary.dropdown-toggle {\n color: #fff;\n background-color: #6c757d;\n border-color: #6c757d;\n}\n\n.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-secondary.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);\n}\n\n.btn-outline-success {\n color: #28a745;\n background-color: transparent;\n background-image: none;\n border-color: #28a745;\n}\n\n.btn-outline-success:hover {\n color: #fff;\n background-color: #28a745;\n border-color: #28a745;\n}\n\n.btn-outline-success:focus, .btn-outline-success.focus {\n box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);\n}\n\n.btn-outline-success.disabled, .btn-outline-success:disabled {\n color: #28a745;\n background-color: transparent;\n}\n\n.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active,\n.show > .btn-outline-success.dropdown-toggle {\n color: #fff;\n background-color: #28a745;\n border-color: #28a745;\n}\n\n.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-success.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);\n}\n\n.btn-outline-info {\n color: #17a2b8;\n background-color: transparent;\n background-image: none;\n border-color: #17a2b8;\n}\n\n.btn-outline-info:hover {\n color: #fff;\n background-color: #17a2b8;\n border-color: #17a2b8;\n}\n\n.btn-outline-info:focus, .btn-outline-info.focus {\n box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);\n}\n\n.btn-outline-info.disabled, .btn-outline-info:disabled {\n color: #17a2b8;\n background-color: transparent;\n}\n\n.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active,\n.show > .btn-outline-info.dropdown-toggle {\n color: #fff;\n background-color: #17a2b8;\n border-color: #17a2b8;\n}\n\n.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-info.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);\n}\n\n.btn-outline-warning {\n color: #ffc107;\n background-color: transparent;\n background-image: none;\n border-color: #ffc107;\n}\n\n.btn-outline-warning:hover {\n color: #212529;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-outline-warning:focus, .btn-outline-warning.focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-outline-warning.disabled, .btn-outline-warning:disabled {\n color: #ffc107;\n background-color: transparent;\n}\n\n.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active,\n.show > .btn-outline-warning.dropdown-toggle {\n color: #212529;\n background-color: #ffc107;\n border-color: #ffc107;\n}\n\n.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-warning.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\n}\n\n.btn-outline-danger {\n color: #dc3545;\n background-color: transparent;\n background-image: none;\n border-color: #dc3545;\n}\n\n.btn-outline-danger:hover {\n color: #fff;\n background-color: #dc3545;\n border-color: #dc3545;\n}\n\n.btn-outline-danger:focus, .btn-outline-danger.focus {\n box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);\n}\n\n.btn-outline-danger.disabled, .btn-outline-danger:disabled {\n color: #dc3545;\n background-color: transparent;\n}\n\n.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active,\n.show > .btn-outline-danger.dropdown-toggle {\n color: #fff;\n background-color: #dc3545;\n border-color: #dc3545;\n}\n\n.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-danger.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);\n}\n\n.btn-outline-light {\n color: #f8f9fa;\n background-color: transparent;\n background-image: none;\n border-color: #f8f9fa;\n}\n\n.btn-outline-light:hover {\n color: #212529;\n background-color: #f8f9fa;\n border-color: #f8f9fa;\n}\n\n.btn-outline-light:focus, .btn-outline-light.focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);\n}\n\n.btn-outline-light.disabled, .btn-outline-light:disabled {\n color: #f8f9fa;\n background-color: transparent;\n}\n\n.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active,\n.show > .btn-outline-light.dropdown-toggle {\n color: #212529;\n background-color: #f8f9fa;\n border-color: #f8f9fa;\n}\n\n.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-light.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);\n}\n\n.btn-outline-dark {\n color: #343a40;\n background-color: transparent;\n background-image: none;\n border-color: #343a40;\n}\n\n.btn-outline-dark:hover {\n color: #fff;\n background-color: #343a40;\n border-color: #343a40;\n}\n\n.btn-outline-dark:focus, .btn-outline-dark.focus {\n box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);\n}\n\n.btn-outline-dark.disabled, .btn-outline-dark:disabled {\n color: #343a40;\n background-color: transparent;\n}\n\n.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active,\n.show > .btn-outline-dark.dropdown-toggle {\n color: #fff;\n background-color: #343a40;\n border-color: #343a40;\n}\n\n.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus,\n.show > .btn-outline-dark.dropdown-toggle:focus {\n box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);\n}\n\n.btn-link {\n font-weight: 400;\n color: #007bff;\n background-color: transparent;\n}\n\n.btn-link:hover {\n color: #0056b3;\n text-decoration: underline;\n background-color: transparent;\n border-color: transparent;\n}\n\n.btn-link:focus, .btn-link.focus {\n text-decoration: underline;\n border-color: transparent;\n box-shadow: none;\n}\n\n.btn-link:disabled, .btn-link.disabled {\n color: #6c757d;\n pointer-events: none;\n}\n\n.btn-lg, .btn-group-lg > .btn {\n padding: 0.5rem 1rem;\n font-size: 1.25rem;\n line-height: 1.5;\n border-radius: 0.3rem;\n}\n\n.btn-sm, .btn-group-sm > .btn {\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5;\n border-radius: 0.2rem;\n}\n\n.btn-block {\n display: block;\n width: 100%;\n}\n\n.btn-block + .btn-block {\n margin-top: 0.5rem;\n}\n\ninput[type=\"submit\"].btn-block,\ninput[type=\"reset\"].btn-block,\ninput[type=\"button\"].btn-block {\n width: 100%;\n}\n\n.fade {\n transition: opacity 0.15s linear;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .fade {\n transition: none;\n }\n}\n\n.fade:not(.show) {\n opacity: 0;\n}\n\n.collapse:not(.show) {\n display: none;\n}\n\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n transition: height 0.35s ease;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .collapsing {\n transition: none;\n }\n}\n\n.dropup,\n.dropright,\n.dropdown,\n.dropleft {\n position: relative;\n}\n\n.dropdown-toggle::after {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid;\n border-right: 0.3em solid transparent;\n border-bottom: 0;\n border-left: 0.3em solid transparent;\n}\n\n.dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 10rem;\n padding: 0.5rem 0;\n margin: 0.125rem 0 0;\n font-size: 1rem;\n color: #212529;\n text-align: left;\n list-style: none;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 0.25rem;\n}\n\n.dropdown-menu-right {\n right: 0;\n left: auto;\n}\n\n.dropup .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-top: 0;\n margin-bottom: 0.125rem;\n}\n\n.dropup .dropdown-toggle::after {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0;\n border-right: 0.3em solid transparent;\n border-bottom: 0.3em solid;\n border-left: 0.3em solid transparent;\n}\n\n.dropup .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropright .dropdown-menu {\n top: 0;\n right: auto;\n left: 100%;\n margin-top: 0;\n margin-left: 0.125rem;\n}\n\n.dropright .dropdown-toggle::after {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid transparent;\n border-right: 0;\n border-bottom: 0.3em solid transparent;\n border-left: 0.3em solid;\n}\n\n.dropright .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropright .dropdown-toggle::after {\n vertical-align: 0;\n}\n\n.dropleft .dropdown-menu {\n top: 0;\n right: 100%;\n left: auto;\n margin-top: 0;\n margin-right: 0.125rem;\n}\n\n.dropleft .dropdown-toggle::after {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n}\n\n.dropleft .dropdown-toggle::after {\n display: none;\n}\n\n.dropleft .dropdown-toggle::before {\n display: inline-block;\n width: 0;\n height: 0;\n margin-right: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid transparent;\n border-right: 0.3em solid;\n border-bottom: 0.3em solid transparent;\n}\n\n.dropleft .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropleft .dropdown-toggle::before {\n vertical-align: 0;\n}\n\n.dropdown-menu[x-placement^=\"top\"], .dropdown-menu[x-placement^=\"right\"], .dropdown-menu[x-placement^=\"bottom\"], .dropdown-menu[x-placement^=\"left\"] {\n right: auto;\n bottom: auto;\n}\n\n.dropdown-divider {\n height: 0;\n margin: 0.5rem 0;\n overflow: hidden;\n border-top: 1px solid #e9ecef;\n}\n\n.dropdown-item {\n display: block;\n width: 100%;\n padding: 0.25rem 1.5rem;\n clear: both;\n font-weight: 400;\n color: #212529;\n text-align: inherit;\n white-space: nowrap;\n background-color: transparent;\n border: 0;\n}\n\n.dropdown-item:hover, .dropdown-item:focus {\n color: #16181b;\n text-decoration: none;\n background-color: #f8f9fa;\n}\n\n.dropdown-item.active, .dropdown-item:active {\n color: #fff;\n text-decoration: none;\n background-color: #007bff;\n}\n\n.dropdown-item.disabled, .dropdown-item:disabled {\n color: #6c757d;\n background-color: transparent;\n}\n\n.dropdown-menu.show {\n display: block;\n}\n\n.dropdown-header {\n display: block;\n padding: 0.5rem 1.5rem;\n margin-bottom: 0;\n font-size: 0.875rem;\n color: #6c757d;\n white-space: nowrap;\n}\n\n.dropdown-item-text {\n display: block;\n padding: 0.25rem 1.5rem;\n color: #212529;\n}\n\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n}\n\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n flex: 0 1 auto;\n}\n\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover {\n z-index: 1;\n}\n\n.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active,\n.btn-group-vertical > .btn:focus,\n.btn-group-vertical > .btn:active,\n.btn-group-vertical > .btn.active {\n z-index: 1;\n}\n\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group,\n.btn-group-vertical .btn + .btn,\n.btn-group-vertical .btn + .btn-group,\n.btn-group-vertical .btn-group + .btn,\n.btn-group-vertical .btn-group + .btn-group {\n margin-left: -1px;\n}\n\n.btn-toolbar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n}\n\n.btn-toolbar .input-group {\n width: auto;\n}\n\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n\n.btn-group > .btn:not(:last-child):not(.dropdown-toggle),\n.btn-group > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.btn-group > .btn:not(:first-child),\n.btn-group > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.dropdown-toggle-split {\n padding-right: 0.5625rem;\n padding-left: 0.5625rem;\n}\n\n.dropdown-toggle-split::after,\n.dropup .dropdown-toggle-split::after,\n.dropright .dropdown-toggle-split::after {\n margin-left: 0;\n}\n\n.dropleft .dropdown-toggle-split::before {\n margin-right: 0;\n}\n\n.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split {\n padding-right: 0.375rem;\n padding-left: 0.375rem;\n}\n\n.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split {\n padding-right: 0.75rem;\n padding-left: 0.75rem;\n}\n\n.btn-group-vertical {\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n\n.btn-group-vertical .btn,\n.btn-group-vertical .btn-group {\n width: 100%;\n}\n\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n\n.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),\n.btn-group-vertical > .btn-group:not(:last-child) > .btn {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.btn-group-vertical > .btn:not(:first-child),\n.btn-group-vertical > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.btn-group-toggle > .btn,\n.btn-group-toggle > .btn-group > .btn {\n margin-bottom: 0;\n}\n\n.btn-group-toggle > .btn input[type=\"radio\"],\n.btn-group-toggle > .btn input[type=\"checkbox\"],\n.btn-group-toggle > .btn-group > .btn input[type=\"radio\"],\n.btn-group-toggle > .btn-group > .btn input[type=\"checkbox\"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n\n.input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n}\n\n.input-group > .form-control,\n.input-group > .custom-select,\n.input-group > .custom-file {\n position: relative;\n flex: 1 1 auto;\n width: 1%;\n margin-bottom: 0;\n}\n\n.input-group > .form-control + .form-control,\n.input-group > .form-control + .custom-select,\n.input-group > .form-control + .custom-file,\n.input-group > .custom-select + .form-control,\n.input-group > .custom-select + .custom-select,\n.input-group > .custom-select + .custom-file,\n.input-group > .custom-file + .form-control,\n.input-group > .custom-file + .custom-select,\n.input-group > .custom-file + .custom-file {\n margin-left: -1px;\n}\n\n.input-group > .form-control:focus,\n.input-group > .custom-select:focus,\n.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label {\n z-index: 3;\n}\n\n.input-group > .custom-file .custom-file-input:focus {\n z-index: 4;\n}\n\n.input-group > .form-control:not(:last-child),\n.input-group > .custom-select:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group > .form-control:not(:first-child),\n.input-group > .custom-select:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.input-group > .custom-file {\n display: flex;\n align-items: center;\n}\n\n.input-group > .custom-file:not(:last-child) .custom-file-label,\n.input-group > .custom-file:not(:last-child) .custom-file-label::after {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group > .custom-file:not(:first-child) .custom-file-label {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.input-group-prepend,\n.input-group-append {\n display: flex;\n}\n\n.input-group-prepend .btn,\n.input-group-append .btn {\n position: relative;\n z-index: 2;\n}\n\n.input-group-prepend .btn + .btn,\n.input-group-prepend .btn + .input-group-text,\n.input-group-prepend .input-group-text + .input-group-text,\n.input-group-prepend .input-group-text + .btn,\n.input-group-append .btn + .btn,\n.input-group-append .btn + .input-group-text,\n.input-group-append .input-group-text + .input-group-text,\n.input-group-append .input-group-text + .btn {\n margin-left: -1px;\n}\n\n.input-group-prepend {\n margin-right: -1px;\n}\n\n.input-group-append {\n margin-left: -1px;\n}\n\n.input-group-text {\n display: flex;\n align-items: center;\n padding: 0.375rem 0.75rem;\n margin-bottom: 0;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #495057;\n text-align: center;\n white-space: nowrap;\n background-color: #e9ecef;\n border: 1px solid #ced4da;\n border-radius: 0.25rem;\n}\n\n.input-group-text input[type=\"radio\"],\n.input-group-text input[type=\"checkbox\"] {\n margin-top: 0;\n}\n\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-prepend > .input-group-text,\n.input-group-lg > .input-group-append > .input-group-text,\n.input-group-lg > .input-group-prepend > .btn,\n.input-group-lg > .input-group-append > .btn {\n height: calc(2.875rem + 2px);\n padding: 0.5rem 1rem;\n font-size: 1.25rem;\n line-height: 1.5;\n border-radius: 0.3rem;\n}\n\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-prepend > .input-group-text,\n.input-group-sm > .input-group-append > .input-group-text,\n.input-group-sm > .input-group-prepend > .btn,\n.input-group-sm > .input-group-append > .btn {\n height: calc(1.8125rem + 2px);\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5;\n border-radius: 0.2rem;\n}\n\n.input-group > .input-group-prepend > .btn,\n.input-group > .input-group-prepend > .input-group-text,\n.input-group > .input-group-append:not(:last-child) > .btn,\n.input-group > .input-group-append:not(:last-child) > .input-group-text,\n.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group > .input-group-append > .btn,\n.input-group > .input-group-append > .input-group-text,\n.input-group > .input-group-prepend:not(:first-child) > .btn,\n.input-group > .input-group-prepend:not(:first-child) > .input-group-text,\n.input-group > .input-group-prepend:first-child > .btn:not(:first-child),\n.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.custom-control {\n position: relative;\n display: block;\n min-height: 1.5rem;\n padding-left: 1.5rem;\n}\n\n.custom-control-inline {\n display: inline-flex;\n margin-right: 1rem;\n}\n\n.custom-control-input {\n position: absolute;\n z-index: -1;\n opacity: 0;\n}\n\n.custom-control-input:checked ~ .custom-control-label::before {\n color: #fff;\n background-color: #007bff;\n}\n\n.custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.custom-control-input:active ~ .custom-control-label::before {\n color: #fff;\n background-color: #b3d7ff;\n}\n\n.custom-control-input:disabled ~ .custom-control-label {\n color: #6c757d;\n}\n\n.custom-control-input:disabled ~ .custom-control-label::before {\n background-color: #e9ecef;\n}\n\n.custom-control-label {\n position: relative;\n margin-bottom: 0;\n}\n\n.custom-control-label::before {\n position: absolute;\n top: 0.25rem;\n left: -1.5rem;\n display: block;\n width: 1rem;\n height: 1rem;\n pointer-events: none;\n content: \"\";\n user-select: none;\n background-color: #dee2e6;\n}\n\n.custom-control-label::after {\n position: absolute;\n top: 0.25rem;\n left: -1.5rem;\n display: block;\n width: 1rem;\n height: 1rem;\n content: \"\";\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 50% 50%;\n}\n\n.custom-checkbox .custom-control-label::before {\n border-radius: 0.25rem;\n}\n\n.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #007bff;\n}\n\n.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E\");\n}\n\n.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {\n background-color: #007bff;\n}\n\n.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E\");\n}\n\n.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(0, 123, 255, 0.5);\n}\n\n.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {\n background-color: rgba(0, 123, 255, 0.5);\n}\n\n.custom-radio .custom-control-label::before {\n border-radius: 50%;\n}\n\n.custom-radio .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #007bff;\n}\n\n.custom-radio .custom-control-input:checked ~ .custom-control-label::after {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E\");\n}\n\n.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(0, 123, 255, 0.5);\n}\n\n.custom-select {\n display: inline-block;\n width: 100%;\n height: calc(2.25rem + 2px);\n padding: 0.375rem 1.75rem 0.375rem 0.75rem;\n line-height: 1.5;\n color: #495057;\n vertical-align: middle;\n background: #fff url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E\") no-repeat right 0.75rem center;\n background-size: 8px 10px;\n border: 1px solid #ced4da;\n border-radius: 0.25rem;\n appearance: none;\n}\n\n.custom-select:focus {\n border-color: #80bdff;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(128, 189, 255, 0.5);\n}\n\n.custom-select:focus::-ms-value {\n color: #495057;\n background-color: #fff;\n}\n\n.custom-select[multiple], .custom-select[size]:not([size=\"1\"]) {\n height: auto;\n padding-right: 0.75rem;\n background-image: none;\n}\n\n.custom-select:disabled {\n color: #6c757d;\n background-color: #e9ecef;\n}\n\n.custom-select::-ms-expand {\n opacity: 0;\n}\n\n.custom-select-sm {\n height: calc(1.8125rem + 2px);\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n font-size: 75%;\n}\n\n.custom-select-lg {\n height: calc(2.875rem + 2px);\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n font-size: 125%;\n}\n\n.custom-file {\n position: relative;\n display: inline-block;\n width: 100%;\n height: calc(2.25rem + 2px);\n margin-bottom: 0;\n}\n\n.custom-file-input {\n position: relative;\n z-index: 2;\n width: 100%;\n height: calc(2.25rem + 2px);\n margin: 0;\n opacity: 0;\n}\n\n.custom-file-input:focus ~ .custom-file-label {\n border-color: #80bdff;\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.custom-file-input:focus ~ .custom-file-label::after {\n border-color: #80bdff;\n}\n\n.custom-file-input:disabled ~ .custom-file-label {\n background-color: #e9ecef;\n}\n\n.custom-file-input:lang(en) ~ .custom-file-label::after {\n content: \"Browse\";\n}\n\n.custom-file-label {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n z-index: 1;\n height: calc(2.25rem + 2px);\n padding: 0.375rem 0.75rem;\n line-height: 1.5;\n color: #495057;\n background-color: #fff;\n border: 1px solid #ced4da;\n border-radius: 0.25rem;\n}\n\n.custom-file-label::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 3;\n display: block;\n height: 2.25rem;\n padding: 0.375rem 0.75rem;\n line-height: 1.5;\n color: #495057;\n content: \"Browse\";\n background-color: #e9ecef;\n border-left: 1px solid #ced4da;\n border-radius: 0 0.25rem 0.25rem 0;\n}\n\n.custom-range {\n width: 100%;\n padding-left: 0;\n background-color: transparent;\n appearance: none;\n}\n\n.custom-range:focus {\n outline: none;\n}\n\n.custom-range:focus::-webkit-slider-thumb {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.custom-range:focus::-moz-range-thumb {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.custom-range:focus::-ms-thumb {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.custom-range::-moz-focus-outer {\n border: 0;\n}\n\n.custom-range::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n background-color: #007bff;\n border: 0;\n border-radius: 1rem;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n appearance: none;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .custom-range::-webkit-slider-thumb {\n transition: none;\n }\n}\n\n.custom-range::-webkit-slider-thumb:active {\n background-color: #b3d7ff;\n}\n\n.custom-range::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: #dee2e6;\n border-color: transparent;\n border-radius: 1rem;\n}\n\n.custom-range::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n background-color: #007bff;\n border: 0;\n border-radius: 1rem;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n appearance: none;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .custom-range::-moz-range-thumb {\n transition: none;\n }\n}\n\n.custom-range::-moz-range-thumb:active {\n background-color: #b3d7ff;\n}\n\n.custom-range::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: #dee2e6;\n border-color: transparent;\n border-radius: 1rem;\n}\n\n.custom-range::-ms-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: 0;\n margin-right: 0.2rem;\n margin-left: 0.2rem;\n background-color: #007bff;\n border: 0;\n border-radius: 1rem;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n appearance: none;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .custom-range::-ms-thumb {\n transition: none;\n }\n}\n\n.custom-range::-ms-thumb:active {\n background-color: #b3d7ff;\n}\n\n.custom-range::-ms-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: transparent;\n border-color: transparent;\n border-width: 0.5rem;\n}\n\n.custom-range::-ms-fill-lower {\n background-color: #dee2e6;\n border-radius: 1rem;\n}\n\n.custom-range::-ms-fill-upper {\n margin-right: 15px;\n background-color: #dee2e6;\n border-radius: 1rem;\n}\n\n.custom-control-label::before,\n.custom-file-label,\n.custom-select {\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .custom-control-label::before,\n .custom-file-label,\n .custom-select {\n transition: none;\n }\n}\n\n.nav {\n display: flex;\n flex-wrap: wrap;\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n\n.nav-link {\n display: block;\n padding: 0.5rem 1rem;\n}\n\n.nav-link:hover, .nav-link:focus {\n text-decoration: none;\n}\n\n.nav-link.disabled {\n color: #6c757d;\n}\n\n.nav-tabs {\n border-bottom: 1px solid #dee2e6;\n}\n\n.nav-tabs .nav-item {\n margin-bottom: -1px;\n}\n\n.nav-tabs .nav-link {\n border: 1px solid transparent;\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n}\n\n.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {\n border-color: #e9ecef #e9ecef #dee2e6;\n}\n\n.nav-tabs .nav-link.disabled {\n color: #6c757d;\n background-color: transparent;\n border-color: transparent;\n}\n\n.nav-tabs .nav-link.active,\n.nav-tabs .nav-item.show .nav-link {\n color: #495057;\n background-color: #fff;\n border-color: #dee2e6 #dee2e6 #fff;\n}\n\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.nav-pills .nav-link {\n border-radius: 0.25rem;\n}\n\n.nav-pills .nav-link.active,\n.nav-pills .show > .nav-link {\n color: #fff;\n background-color: #007bff;\n}\n\n.nav-fill .nav-item {\n flex: 1 1 auto;\n text-align: center;\n}\n\n.nav-justified .nav-item {\n flex-basis: 0;\n flex-grow: 1;\n text-align: center;\n}\n\n.tab-content > .tab-pane {\n display: none;\n}\n\n.tab-content > .active {\n display: block;\n}\n\n.navbar {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n padding: 0.5rem 1rem;\n}\n\n.navbar > .container,\n.navbar > .container-fluid {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n}\n\n.navbar-brand {\n display: inline-block;\n padding-top: 0.3125rem;\n padding-bottom: 0.3125rem;\n margin-right: 1rem;\n font-size: 1.25rem;\n line-height: inherit;\n white-space: nowrap;\n}\n\n.navbar-brand:hover, .navbar-brand:focus {\n text-decoration: none;\n}\n\n.navbar-nav {\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n\n.navbar-nav .nav-link {\n padding-right: 0;\n padding-left: 0;\n}\n\n.navbar-nav .dropdown-menu {\n position: static;\n float: none;\n}\n\n.navbar-text {\n display: inline-block;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.navbar-collapse {\n flex-basis: 100%;\n flex-grow: 1;\n align-items: center;\n}\n\n.navbar-toggler {\n padding: 0.25rem 0.75rem;\n font-size: 1.25rem;\n line-height: 1;\n background-color: transparent;\n border: 1px solid transparent;\n border-radius: 0.25rem;\n}\n\n.navbar-toggler:hover, .navbar-toggler:focus {\n text-decoration: none;\n}\n\n.navbar-toggler:not(:disabled):not(.disabled) {\n cursor: pointer;\n}\n\n.navbar-toggler-icon {\n display: inline-block;\n width: 1.5em;\n height: 1.5em;\n vertical-align: middle;\n content: \"\";\n background: no-repeat center center;\n background-size: 100% 100%;\n}\n\n@media (max-width: 575.98px) {\n .navbar-expand-sm > .container,\n .navbar-expand-sm > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n@media (min-width: 576px) {\n .navbar-expand-sm {\n flex-flow: row nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-sm .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-sm .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-sm .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n }\n .navbar-expand-sm > .container,\n .navbar-expand-sm > .container-fluid {\n flex-wrap: nowrap;\n }\n .navbar-expand-sm .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-sm .navbar-toggler {\n display: none;\n }\n}\n\n@media (max-width: 767.98px) {\n .navbar-expand-md > .container,\n .navbar-expand-md > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n@media (min-width: 768px) {\n .navbar-expand-md {\n flex-flow: row nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-md .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-md .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-md .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n }\n .navbar-expand-md > .container,\n .navbar-expand-md > .container-fluid {\n flex-wrap: nowrap;\n }\n .navbar-expand-md .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-md .navbar-toggler {\n display: none;\n }\n}\n\n@media (max-width: 991.98px) {\n .navbar-expand-lg > .container,\n .navbar-expand-lg > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n@media (min-width: 992px) {\n .navbar-expand-lg {\n flex-flow: row nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-lg .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-lg .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-lg .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n }\n .navbar-expand-lg > .container,\n .navbar-expand-lg > .container-fluid {\n flex-wrap: nowrap;\n }\n .navbar-expand-lg .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-lg .navbar-toggler {\n display: none;\n }\n}\n\n@media (max-width: 1199.98px) {\n .navbar-expand-xl > .container,\n .navbar-expand-xl > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n@media (min-width: 1200px) {\n .navbar-expand-xl {\n flex-flow: row nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-xl .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-xl .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-xl .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n }\n .navbar-expand-xl > .container,\n .navbar-expand-xl > .container-fluid {\n flex-wrap: nowrap;\n }\n .navbar-expand-xl .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-xl .navbar-toggler {\n display: none;\n }\n}\n\n.navbar-expand {\n flex-flow: row nowrap;\n justify-content: flex-start;\n}\n\n.navbar-expand > .container,\n.navbar-expand > .container-fluid {\n padding-right: 0;\n padding-left: 0;\n}\n\n.navbar-expand .navbar-nav {\n flex-direction: row;\n}\n\n.navbar-expand .navbar-nav .dropdown-menu {\n position: absolute;\n}\n\n.navbar-expand .navbar-nav .nav-link {\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n}\n\n.navbar-expand > .container,\n.navbar-expand > .container-fluid {\n flex-wrap: nowrap;\n}\n\n.navbar-expand .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n}\n\n.navbar-expand .navbar-toggler {\n display: none;\n}\n\n.navbar-light .navbar-brand {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-light .navbar-nav .nav-link {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {\n color: rgba(0, 0, 0, 0.7);\n}\n\n.navbar-light .navbar-nav .nav-link.disabled {\n color: rgba(0, 0, 0, 0.3);\n}\n\n.navbar-light .navbar-nav .show > .nav-link,\n.navbar-light .navbar-nav .active > .nav-link,\n.navbar-light .navbar-nav .nav-link.show,\n.navbar-light .navbar-nav .nav-link.active {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-light .navbar-toggler {\n color: rgba(0, 0, 0, 0.5);\n border-color: rgba(0, 0, 0, 0.1);\n}\n\n.navbar-light .navbar-toggler-icon {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\");\n}\n\n.navbar-light .navbar-text {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.navbar-light .navbar-text a {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus {\n color: rgba(0, 0, 0, 0.9);\n}\n\n.navbar-dark .navbar-brand {\n color: #fff;\n}\n\n.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus {\n color: #fff;\n}\n\n.navbar-dark .navbar-nav .nav-link {\n color: rgba(255, 255, 255, 0.5);\n}\n\n.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {\n color: rgba(255, 255, 255, 0.75);\n}\n\n.navbar-dark .navbar-nav .nav-link.disabled {\n color: rgba(255, 255, 255, 0.25);\n}\n\n.navbar-dark .navbar-nav .show > .nav-link,\n.navbar-dark .navbar-nav .active > .nav-link,\n.navbar-dark .navbar-nav .nav-link.show,\n.navbar-dark .navbar-nav .nav-link.active {\n color: #fff;\n}\n\n.navbar-dark .navbar-toggler {\n color: rgba(255, 255, 255, 0.5);\n border-color: rgba(255, 255, 255, 0.1);\n}\n\n.navbar-dark .navbar-toggler-icon {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E\");\n}\n\n.navbar-dark .navbar-text {\n color: rgba(255, 255, 255, 0.5);\n}\n\n.navbar-dark .navbar-text a {\n color: #fff;\n}\n\n.navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus {\n color: #fff;\n}\n\n.card {\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n word-wrap: break-word;\n background-color: #fff;\n background-clip: border-box;\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-radius: 0.25rem;\n}\n\n.card > hr {\n margin-right: 0;\n margin-left: 0;\n}\n\n.card > .list-group:first-child .list-group-item:first-child {\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n}\n\n.card > .list-group:last-child .list-group-item:last-child {\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n}\n\n.card-body {\n flex: 1 1 auto;\n padding: 1.25rem;\n}\n\n.card-title {\n margin-bottom: 0.75rem;\n}\n\n.card-subtitle {\n margin-top: -0.375rem;\n margin-bottom: 0;\n}\n\n.card-text:last-child {\n margin-bottom: 0;\n}\n\n.card-link:hover {\n text-decoration: none;\n}\n\n.card-link + .card-link {\n margin-left: 1.25rem;\n}\n\n.card-header {\n padding: 0.75rem 1.25rem;\n margin-bottom: 0;\n background-color: rgba(0, 0, 0, 0.03);\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n\n.card-header:first-child {\n border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;\n}\n\n.card-header + .list-group .list-group-item:first-child {\n border-top: 0;\n}\n\n.card-footer {\n padding: 0.75rem 1.25rem;\n background-color: rgba(0, 0, 0, 0.03);\n border-top: 1px solid rgba(0, 0, 0, 0.125);\n}\n\n.card-footer:last-child {\n border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);\n}\n\n.card-header-tabs {\n margin-right: -0.625rem;\n margin-bottom: -0.75rem;\n margin-left: -0.625rem;\n border-bottom: 0;\n}\n\n.card-header-pills {\n margin-right: -0.625rem;\n margin-left: -0.625rem;\n}\n\n.card-img-overlay {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n padding: 1.25rem;\n}\n\n.card-img {\n width: 100%;\n border-radius: calc(0.25rem - 1px);\n}\n\n.card-img-top {\n width: 100%;\n border-top-left-radius: calc(0.25rem - 1px);\n border-top-right-radius: calc(0.25rem - 1px);\n}\n\n.card-img-bottom {\n width: 100%;\n border-bottom-right-radius: calc(0.25rem - 1px);\n border-bottom-left-radius: calc(0.25rem - 1px);\n}\n\n.card-deck {\n display: flex;\n flex-direction: column;\n}\n\n.card-deck .card {\n margin-bottom: 15px;\n}\n\n@media (min-width: 576px) {\n .card-deck {\n flex-flow: row wrap;\n margin-right: -15px;\n margin-left: -15px;\n }\n .card-deck .card {\n display: flex;\n flex: 1 0 0%;\n flex-direction: column;\n margin-right: 15px;\n margin-bottom: 0;\n margin-left: 15px;\n }\n}\n\n.card-group {\n display: flex;\n flex-direction: column;\n}\n\n.card-group > .card {\n margin-bottom: 15px;\n}\n\n@media (min-width: 576px) {\n .card-group {\n flex-flow: row wrap;\n }\n .card-group > .card {\n flex: 1 0 0%;\n margin-bottom: 0;\n }\n .card-group > .card + .card {\n margin-left: 0;\n border-left: 0;\n }\n .card-group > .card:first-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .card-group > .card:first-child .card-img-top,\n .card-group > .card:first-child .card-header {\n border-top-right-radius: 0;\n }\n .card-group > .card:first-child .card-img-bottom,\n .card-group > .card:first-child .card-footer {\n border-bottom-right-radius: 0;\n }\n .card-group > .card:last-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .card-group > .card:last-child .card-img-top,\n .card-group > .card:last-child .card-header {\n border-top-left-radius: 0;\n }\n .card-group > .card:last-child .card-img-bottom,\n .card-group > .card:last-child .card-footer {\n border-bottom-left-radius: 0;\n }\n .card-group > .card:only-child {\n border-radius: 0.25rem;\n }\n .card-group > .card:only-child .card-img-top,\n .card-group > .card:only-child .card-header {\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n }\n .card-group > .card:only-child .card-img-bottom,\n .card-group > .card:only-child .card-footer {\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n }\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {\n border-radius: 0;\n }\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {\n border-radius: 0;\n }\n}\n\n.card-columns .card {\n margin-bottom: 0.75rem;\n}\n\n@media (min-width: 576px) {\n .card-columns {\n column-count: 3;\n column-gap: 1.25rem;\n orphans: 1;\n widows: 1;\n }\n .card-columns .card {\n display: inline-block;\n width: 100%;\n }\n}\n\n.accordion .card:not(:first-of-type):not(:last-of-type) {\n border-bottom: 0;\n border-radius: 0;\n}\n\n.accordion .card:not(:first-of-type) .card-header:first-child {\n border-radius: 0;\n}\n\n.accordion .card:first-of-type {\n border-bottom: 0;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.accordion .card:last-of-type {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.breadcrumb {\n display: flex;\n flex-wrap: wrap;\n padding: 0.75rem 1rem;\n margin-bottom: 1rem;\n list-style: none;\n background-color: #e9ecef;\n border-radius: 0.25rem;\n}\n\n.breadcrumb-item + .breadcrumb-item {\n padding-left: 0.5rem;\n}\n\n.breadcrumb-item + .breadcrumb-item::before {\n display: inline-block;\n padding-right: 0.5rem;\n color: #6c757d;\n content: \"/\";\n}\n\n.breadcrumb-item + .breadcrumb-item:hover::before {\n text-decoration: underline;\n}\n\n.breadcrumb-item + .breadcrumb-item:hover::before {\n text-decoration: none;\n}\n\n.breadcrumb-item.active {\n color: #6c757d;\n}\n\n.pagination {\n display: flex;\n padding-left: 0;\n list-style: none;\n border-radius: 0.25rem;\n}\n\n.page-link {\n position: relative;\n display: block;\n padding: 0.5rem 0.75rem;\n margin-left: -1px;\n line-height: 1.25;\n color: #007bff;\n background-color: #fff;\n border: 1px solid #dee2e6;\n}\n\n.page-link:hover {\n z-index: 2;\n color: #0056b3;\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n}\n\n.page-link:focus {\n z-index: 2;\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\n}\n\n.page-link:not(:disabled):not(.disabled) {\n cursor: pointer;\n}\n\n.page-item:first-child .page-link {\n margin-left: 0;\n border-top-left-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n}\n\n.page-item:last-child .page-link {\n border-top-right-radius: 0.25rem;\n border-bottom-right-radius: 0.25rem;\n}\n\n.page-item.active .page-link {\n z-index: 1;\n color: #fff;\n background-color: #007bff;\n border-color: #007bff;\n}\n\n.page-item.disabled .page-link {\n color: #6c757d;\n pointer-events: none;\n cursor: auto;\n background-color: #fff;\n border-color: #dee2e6;\n}\n\n.pagination-lg .page-link {\n padding: 0.75rem 1.5rem;\n font-size: 1.25rem;\n line-height: 1.5;\n}\n\n.pagination-lg .page-item:first-child .page-link {\n border-top-left-radius: 0.3rem;\n border-bottom-left-radius: 0.3rem;\n}\n\n.pagination-lg .page-item:last-child .page-link {\n border-top-right-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n\n.pagination-sm .page-link {\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5;\n}\n\n.pagination-sm .page-item:first-child .page-link {\n border-top-left-radius: 0.2rem;\n border-bottom-left-radius: 0.2rem;\n}\n\n.pagination-sm .page-item:last-child .page-link {\n border-top-right-radius: 0.2rem;\n border-bottom-right-radius: 0.2rem;\n}\n\n.badge {\n display: inline-block;\n padding: 0.25em 0.4em;\n font-size: 75%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: 0.25rem;\n}\n\n.badge:empty {\n display: none;\n}\n\n.btn .badge {\n position: relative;\n top: -1px;\n}\n\n.badge-pill {\n padding-right: 0.6em;\n padding-left: 0.6em;\n border-radius: 10rem;\n}\n\n.badge-primary {\n color: #fff;\n background-color: #007bff;\n}\n\n.badge-primary[href]:hover, .badge-primary[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #0062cc;\n}\n\n.badge-secondary {\n color: #fff;\n background-color: #6c757d;\n}\n\n.badge-secondary[href]:hover, .badge-secondary[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #545b62;\n}\n\n.badge-success {\n color: #fff;\n background-color: #28a745;\n}\n\n.badge-success[href]:hover, .badge-success[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #1e7e34;\n}\n\n.badge-info {\n color: #fff;\n background-color: #17a2b8;\n}\n\n.badge-info[href]:hover, .badge-info[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #117a8b;\n}\n\n.badge-warning {\n color: #212529;\n background-color: #ffc107;\n}\n\n.badge-warning[href]:hover, .badge-warning[href]:focus {\n color: #212529;\n text-decoration: none;\n background-color: #d39e00;\n}\n\n.badge-danger {\n color: #fff;\n background-color: #dc3545;\n}\n\n.badge-danger[href]:hover, .badge-danger[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #bd2130;\n}\n\n.badge-light {\n color: #212529;\n background-color: #f8f9fa;\n}\n\n.badge-light[href]:hover, .badge-light[href]:focus {\n color: #212529;\n text-decoration: none;\n background-color: #dae0e5;\n}\n\n.badge-dark {\n color: #fff;\n background-color: #343a40;\n}\n\n.badge-dark[href]:hover, .badge-dark[href]:focus {\n color: #fff;\n text-decoration: none;\n background-color: #1d2124;\n}\n\n.jumbotron {\n padding: 2rem 1rem;\n margin-bottom: 2rem;\n background-color: #e9ecef;\n border-radius: 0.3rem;\n}\n\n@media (min-width: 576px) {\n .jumbotron {\n padding: 4rem 2rem;\n }\n}\n\n.jumbotron-fluid {\n padding-right: 0;\n padding-left: 0;\n border-radius: 0;\n}\n\n.alert {\n position: relative;\n padding: 0.75rem 1.25rem;\n margin-bottom: 1rem;\n border: 1px solid transparent;\n border-radius: 0.25rem;\n}\n\n.alert-heading {\n color: inherit;\n}\n\n.alert-link {\n font-weight: 700;\n}\n\n.alert-dismissible {\n padding-right: 4rem;\n}\n\n.alert-dismissible .close {\n position: absolute;\n top: 0;\n right: 0;\n padding: 0.75rem 1.25rem;\n color: inherit;\n}\n\n.alert-primary {\n color: #004085;\n background-color: #cce5ff;\n border-color: #b8daff;\n}\n\n.alert-primary hr {\n border-top-color: #9fcdff;\n}\n\n.alert-primary .alert-link {\n color: #002752;\n}\n\n.alert-secondary {\n color: #383d41;\n background-color: #e2e3e5;\n border-color: #d6d8db;\n}\n\n.alert-secondary hr {\n border-top-color: #c8cbcf;\n}\n\n.alert-secondary .alert-link {\n color: #202326;\n}\n\n.alert-success {\n color: #155724;\n background-color: #d4edda;\n border-color: #c3e6cb;\n}\n\n.alert-success hr {\n border-top-color: #b1dfbb;\n}\n\n.alert-success .alert-link {\n color: #0b2e13;\n}\n\n.alert-info {\n color: #0c5460;\n background-color: #d1ecf1;\n border-color: #bee5eb;\n}\n\n.alert-info hr {\n border-top-color: #abdde5;\n}\n\n.alert-info .alert-link {\n color: #062c33;\n}\n\n.alert-warning {\n color: #856404;\n background-color: #fff3cd;\n border-color: #ffeeba;\n}\n\n.alert-warning hr {\n border-top-color: #ffe8a1;\n}\n\n.alert-warning .alert-link {\n color: #533f03;\n}\n\n.alert-danger {\n color: #721c24;\n background-color: #f8d7da;\n border-color: #f5c6cb;\n}\n\n.alert-danger hr {\n border-top-color: #f1b0b7;\n}\n\n.alert-danger .alert-link {\n color: #491217;\n}\n\n.alert-light {\n color: #818182;\n background-color: #fefefe;\n border-color: #fdfdfe;\n}\n\n.alert-light hr {\n border-top-color: #ececf6;\n}\n\n.alert-light .alert-link {\n color: #686868;\n}\n\n.alert-dark {\n color: #1b1e21;\n background-color: #d6d8d9;\n border-color: #c6c8ca;\n}\n\n.alert-dark hr {\n border-top-color: #b9bbbe;\n}\n\n.alert-dark .alert-link {\n color: #040505;\n}\n\n@keyframes progress-bar-stripes {\n from {\n background-position: 1rem 0;\n }\n to {\n background-position: 0 0;\n }\n}\n\n.progress {\n display: flex;\n height: 1rem;\n overflow: hidden;\n font-size: 0.75rem;\n background-color: #e9ecef;\n border-radius: 0.25rem;\n}\n\n.progress-bar {\n display: flex;\n flex-direction: column;\n justify-content: center;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n background-color: #007bff;\n transition: width 0.6s ease;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .progress-bar {\n transition: none;\n }\n}\n\n.progress-bar-striped {\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-size: 1rem 1rem;\n}\n\n.progress-bar-animated {\n animation: progress-bar-stripes 1s linear infinite;\n}\n\n.media {\n display: flex;\n align-items: flex-start;\n}\n\n.media-body {\n flex: 1;\n}\n\n.list-group {\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n}\n\n.list-group-item-action {\n width: 100%;\n color: #495057;\n text-align: inherit;\n}\n\n.list-group-item-action:hover, .list-group-item-action:focus {\n color: #495057;\n text-decoration: none;\n background-color: #f8f9fa;\n}\n\n.list-group-item-action:active {\n color: #212529;\n background-color: #e9ecef;\n}\n\n.list-group-item {\n position: relative;\n display: block;\n padding: 0.75rem 1.25rem;\n margin-bottom: -1px;\n background-color: #fff;\n border: 1px solid rgba(0, 0, 0, 0.125);\n}\n\n.list-group-item:first-child {\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n}\n\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n}\n\n.list-group-item:hover, .list-group-item:focus {\n z-index: 1;\n text-decoration: none;\n}\n\n.list-group-item.disabled, .list-group-item:disabled {\n color: #6c757d;\n background-color: #fff;\n}\n\n.list-group-item.active {\n z-index: 2;\n color: #fff;\n background-color: #007bff;\n border-color: #007bff;\n}\n\n.list-group-flush .list-group-item {\n border-right: 0;\n border-left: 0;\n border-radius: 0;\n}\n\n.list-group-flush:first-child .list-group-item:first-child {\n border-top: 0;\n}\n\n.list-group-flush:last-child .list-group-item:last-child {\n border-bottom: 0;\n}\n\n.list-group-item-primary {\n color: #004085;\n background-color: #b8daff;\n}\n\n.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {\n color: #004085;\n background-color: #9fcdff;\n}\n\n.list-group-item-primary.list-group-item-action.active {\n color: #fff;\n background-color: #004085;\n border-color: #004085;\n}\n\n.list-group-item-secondary {\n color: #383d41;\n background-color: #d6d8db;\n}\n\n.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus {\n color: #383d41;\n background-color: #c8cbcf;\n}\n\n.list-group-item-secondary.list-group-item-action.active {\n color: #fff;\n background-color: #383d41;\n border-color: #383d41;\n}\n\n.list-group-item-success {\n color: #155724;\n background-color: #c3e6cb;\n}\n\n.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus {\n color: #155724;\n background-color: #b1dfbb;\n}\n\n.list-group-item-success.list-group-item-action.active {\n color: #fff;\n background-color: #155724;\n border-color: #155724;\n}\n\n.list-group-item-info {\n color: #0c5460;\n background-color: #bee5eb;\n}\n\n.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus {\n color: #0c5460;\n background-color: #abdde5;\n}\n\n.list-group-item-info.list-group-item-action.active {\n color: #fff;\n background-color: #0c5460;\n border-color: #0c5460;\n}\n\n.list-group-item-warning {\n color: #856404;\n background-color: #ffeeba;\n}\n\n.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus {\n color: #856404;\n background-color: #ffe8a1;\n}\n\n.list-group-item-warning.list-group-item-action.active {\n color: #fff;\n background-color: #856404;\n border-color: #856404;\n}\n\n.list-group-item-danger {\n color: #721c24;\n background-color: #f5c6cb;\n}\n\n.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus {\n color: #721c24;\n background-color: #f1b0b7;\n}\n\n.list-group-item-danger.list-group-item-action.active {\n color: #fff;\n background-color: #721c24;\n border-color: #721c24;\n}\n\n.list-group-item-light {\n color: #818182;\n background-color: #fdfdfe;\n}\n\n.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus {\n color: #818182;\n background-color: #ececf6;\n}\n\n.list-group-item-light.list-group-item-action.active {\n color: #fff;\n background-color: #818182;\n border-color: #818182;\n}\n\n.list-group-item-dark {\n color: #1b1e21;\n background-color: #c6c8ca;\n}\n\n.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus {\n color: #1b1e21;\n background-color: #b9bbbe;\n}\n\n.list-group-item-dark.list-group-item-action.active {\n color: #fff;\n background-color: #1b1e21;\n border-color: #1b1e21;\n}\n\n.close {\n float: right;\n font-size: 1.5rem;\n font-weight: 700;\n line-height: 1;\n color: #000;\n text-shadow: 0 1px 0 #fff;\n opacity: .5;\n}\n\n.close:not(:disabled):not(.disabled) {\n cursor: pointer;\n}\n\n.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {\n color: #000;\n text-decoration: none;\n opacity: .75;\n}\n\nbutton.close {\n padding: 0;\n background-color: transparent;\n border: 0;\n -webkit-appearance: none;\n}\n\n.modal-open {\n overflow: hidden;\n}\n\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n display: none;\n overflow: hidden;\n outline: 0;\n}\n\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 0.5rem;\n pointer-events: none;\n}\n\n.modal.fade .modal-dialog {\n transition: transform 0.3s ease-out;\n transform: translate(0, -25%);\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .modal.fade .modal-dialog {\n transition: none;\n }\n}\n\n.modal.show .modal-dialog {\n transform: translate(0, 0);\n}\n\n.modal-dialog-centered {\n display: flex;\n align-items: center;\n min-height: calc(100% - (0.5rem * 2));\n}\n\n.modal-dialog-centered::before {\n display: block;\n height: calc(100vh - (0.5rem * 2));\n content: \"\";\n}\n\n.modal-content {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n pointer-events: auto;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-radius: 0.3rem;\n outline: 0;\n}\n\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n\n.modal-backdrop.fade {\n opacity: 0;\n}\n\n.modal-backdrop.show {\n opacity: 0.5;\n}\n\n.modal-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 1rem;\n border-bottom: 1px solid #e9ecef;\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n}\n\n.modal-header .close {\n padding: 1rem;\n margin: -1rem -1rem -1rem auto;\n}\n\n.modal-title {\n margin-bottom: 0;\n line-height: 1.5;\n}\n\n.modal-body {\n position: relative;\n flex: 1 1 auto;\n padding: 1rem;\n}\n\n.modal-footer {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: 1rem;\n border-top: 1px solid #e9ecef;\n}\n\n.modal-footer > :not(:first-child) {\n margin-left: .25rem;\n}\n\n.modal-footer > :not(:last-child) {\n margin-right: .25rem;\n}\n\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n\n@media (min-width: 576px) {\n .modal-dialog {\n max-width: 500px;\n margin: 1.75rem auto;\n }\n .modal-dialog-centered {\n min-height: calc(100% - (1.75rem * 2));\n }\n .modal-dialog-centered::before {\n height: calc(100vh - (1.75rem * 2));\n }\n .modal-sm {\n max-width: 300px;\n }\n}\n\n@media (min-width: 992px) {\n .modal-lg {\n max-width: 800px;\n }\n}\n\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-style: normal;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n white-space: normal;\n line-break: auto;\n font-size: 0.875rem;\n word-wrap: break-word;\n opacity: 0;\n}\n\n.tooltip.show {\n opacity: 0.9;\n}\n\n.tooltip .arrow {\n position: absolute;\n display: block;\n width: 0.8rem;\n height: 0.4rem;\n}\n\n.tooltip .arrow::before {\n position: absolute;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n}\n\n.bs-tooltip-top, .bs-tooltip-auto[x-placement^=\"top\"] {\n padding: 0.4rem 0;\n}\n\n.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^=\"top\"] .arrow {\n bottom: 0;\n}\n\n.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^=\"top\"] .arrow::before {\n top: 0;\n border-width: 0.4rem 0.4rem 0;\n border-top-color: #000;\n}\n\n.bs-tooltip-right, .bs-tooltip-auto[x-placement^=\"right\"] {\n padding: 0 0.4rem;\n}\n\n.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^=\"right\"] .arrow {\n left: 0;\n width: 0.4rem;\n height: 0.8rem;\n}\n\n.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^=\"right\"] .arrow::before {\n right: 0;\n border-width: 0.4rem 0.4rem 0.4rem 0;\n border-right-color: #000;\n}\n\n.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^=\"bottom\"] {\n padding: 0.4rem 0;\n}\n\n.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^=\"bottom\"] .arrow {\n top: 0;\n}\n\n.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^=\"bottom\"] .arrow::before {\n bottom: 0;\n border-width: 0 0.4rem 0.4rem;\n border-bottom-color: #000;\n}\n\n.bs-tooltip-left, .bs-tooltip-auto[x-placement^=\"left\"] {\n padding: 0 0.4rem;\n}\n\n.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^=\"left\"] .arrow {\n right: 0;\n width: 0.4rem;\n height: 0.8rem;\n}\n\n.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^=\"left\"] .arrow::before {\n left: 0;\n border-width: 0.4rem 0 0.4rem 0.4rem;\n border-left-color: #000;\n}\n\n.tooltip-inner {\n max-width: 200px;\n padding: 0.25rem 0.5rem;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 0.25rem;\n}\n\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: block;\n max-width: 276px;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-style: normal;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n white-space: normal;\n line-break: auto;\n font-size: 0.875rem;\n word-wrap: break-word;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-radius: 0.3rem;\n}\n\n.popover .arrow {\n position: absolute;\n display: block;\n width: 1rem;\n height: 0.5rem;\n margin: 0 0.3rem;\n}\n\n.popover .arrow::before, .popover .arrow::after {\n position: absolute;\n display: block;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n}\n\n.bs-popover-top, .bs-popover-auto[x-placement^=\"top\"] {\n margin-bottom: 0.5rem;\n}\n\n.bs-popover-top .arrow, .bs-popover-auto[x-placement^=\"top\"] .arrow {\n bottom: calc((0.5rem + 1px) * -1);\n}\n\n.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^=\"top\"] .arrow::before,\n.bs-popover-top .arrow::after,\n.bs-popover-auto[x-placement^=\"top\"] .arrow::after {\n border-width: 0.5rem 0.5rem 0;\n}\n\n.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^=\"top\"] .arrow::before {\n bottom: 0;\n border-top-color: rgba(0, 0, 0, 0.25);\n}\n\n\n.bs-popover-top .arrow::after,\n.bs-popover-auto[x-placement^=\"top\"] .arrow::after {\n bottom: 1px;\n border-top-color: #fff;\n}\n\n.bs-popover-right, .bs-popover-auto[x-placement^=\"right\"] {\n margin-left: 0.5rem;\n}\n\n.bs-popover-right .arrow, .bs-popover-auto[x-placement^=\"right\"] .arrow {\n left: calc((0.5rem + 1px) * -1);\n width: 0.5rem;\n height: 1rem;\n margin: 0.3rem 0;\n}\n\n.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^=\"right\"] .arrow::before,\n.bs-popover-right .arrow::after,\n.bs-popover-auto[x-placement^=\"right\"] .arrow::after {\n border-width: 0.5rem 0.5rem 0.5rem 0;\n}\n\n.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^=\"right\"] .arrow::before {\n left: 0;\n border-right-color: rgba(0, 0, 0, 0.25);\n}\n\n\n.bs-popover-right .arrow::after,\n.bs-popover-auto[x-placement^=\"right\"] .arrow::after {\n left: 1px;\n border-right-color: #fff;\n}\n\n.bs-popover-bottom, .bs-popover-auto[x-placement^=\"bottom\"] {\n margin-top: 0.5rem;\n}\n\n.bs-popover-bottom .arrow, .bs-popover-auto[x-placement^=\"bottom\"] .arrow {\n top: calc((0.5rem + 1px) * -1);\n}\n\n.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^=\"bottom\"] .arrow::before,\n.bs-popover-bottom .arrow::after,\n.bs-popover-auto[x-placement^=\"bottom\"] .arrow::after {\n border-width: 0 0.5rem 0.5rem 0.5rem;\n}\n\n.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^=\"bottom\"] .arrow::before {\n top: 0;\n border-bottom-color: rgba(0, 0, 0, 0.25);\n}\n\n\n.bs-popover-bottom .arrow::after,\n.bs-popover-auto[x-placement^=\"bottom\"] .arrow::after {\n top: 1px;\n border-bottom-color: #fff;\n}\n\n.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^=\"bottom\"] .popover-header::before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 1rem;\n margin-left: -0.5rem;\n content: \"\";\n border-bottom: 1px solid #f7f7f7;\n}\n\n.bs-popover-left, .bs-popover-auto[x-placement^=\"left\"] {\n margin-right: 0.5rem;\n}\n\n.bs-popover-left .arrow, .bs-popover-auto[x-placement^=\"left\"] .arrow {\n right: calc((0.5rem + 1px) * -1);\n width: 0.5rem;\n height: 1rem;\n margin: 0.3rem 0;\n}\n\n.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^=\"left\"] .arrow::before,\n.bs-popover-left .arrow::after,\n.bs-popover-auto[x-placement^=\"left\"] .arrow::after {\n border-width: 0.5rem 0 0.5rem 0.5rem;\n}\n\n.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^=\"left\"] .arrow::before {\n right: 0;\n border-left-color: rgba(0, 0, 0, 0.25);\n}\n\n\n.bs-popover-left .arrow::after,\n.bs-popover-auto[x-placement^=\"left\"] .arrow::after {\n right: 1px;\n border-left-color: #fff;\n}\n\n.popover-header {\n padding: 0.5rem 0.75rem;\n margin-bottom: 0;\n font-size: 1rem;\n color: inherit;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-top-left-radius: calc(0.3rem - 1px);\n border-top-right-radius: calc(0.3rem - 1px);\n}\n\n.popover-header:empty {\n display: none;\n}\n\n.popover-body {\n padding: 0.5rem 0.75rem;\n color: #212529;\n}\n\n.carousel {\n position: relative;\n}\n\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n\n.carousel-item {\n position: relative;\n display: none;\n align-items: center;\n width: 100%;\n backface-visibility: hidden;\n perspective: 1000px;\n}\n\n.carousel-item.active,\n.carousel-item-next,\n.carousel-item-prev {\n display: block;\n transition: transform 0.6s ease;\n}\n\n@media screen and (prefers-reduced-motion: reduce) {\n .carousel-item.active,\n .carousel-item-next,\n .carousel-item-prev {\n transition: none;\n }\n}\n\n.carousel-item-next,\n.carousel-item-prev {\n position: absolute;\n top: 0;\n}\n\n.carousel-item-next.carousel-item-left,\n.carousel-item-prev.carousel-item-right {\n transform: translateX(0);\n}\n\n@supports (transform-style: preserve-3d) {\n .carousel-item-next.carousel-item-left,\n .carousel-item-prev.carousel-item-right {\n transform: translate3d(0, 0, 0);\n }\n}\n\n.carousel-item-next,\n.active.carousel-item-right {\n transform: translateX(100%);\n}\n\n@supports (transform-style: preserve-3d) {\n .carousel-item-next,\n .active.carousel-item-right {\n transform: translate3d(100%, 0, 0);\n }\n}\n\n.carousel-item-prev,\n.active.carousel-item-left {\n transform: translateX(-100%);\n}\n\n@supports (transform-style: preserve-3d) {\n .carousel-item-prev,\n .active.carousel-item-left {\n transform: translate3d(-100%, 0, 0);\n }\n}\n\n.carousel-fade .carousel-item {\n opacity: 0;\n transition-duration: .6s;\n transition-property: opacity;\n}\n\n.carousel-fade .carousel-item.active,\n.carousel-fade .carousel-item-next.carousel-item-left,\n.carousel-fade .carousel-item-prev.carousel-item-right {\n opacity: 1;\n}\n\n.carousel-fade .active.carousel-item-left,\n.carousel-fade .active.carousel-item-right {\n opacity: 0;\n}\n\n.carousel-fade .carousel-item-next,\n.carousel-fade .carousel-item-prev,\n.carousel-fade .carousel-item.active,\n.carousel-fade .active.carousel-item-left,\n.carousel-fade .active.carousel-item-prev {\n transform: translateX(0);\n}\n\n@supports (transform-style: preserve-3d) {\n .carousel-fade .carousel-item-next,\n .carousel-fade .carousel-item-prev,\n .carousel-fade .carousel-item.active,\n .carousel-fade .active.carousel-item-left,\n .carousel-fade .active.carousel-item-prev {\n transform: translate3d(0, 0, 0);\n }\n}\n\n.carousel-control-prev,\n.carousel-control-next {\n position: absolute;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 15%;\n color: #fff;\n text-align: center;\n opacity: 0.5;\n}\n\n.carousel-control-prev:hover, .carousel-control-prev:focus,\n.carousel-control-next:hover,\n.carousel-control-next:focus {\n color: #fff;\n text-decoration: none;\n outline: 0;\n opacity: .9;\n}\n\n.carousel-control-prev {\n left: 0;\n}\n\n.carousel-control-next {\n right: 0;\n}\n\n.carousel-control-prev-icon,\n.carousel-control-next-icon {\n display: inline-block;\n width: 20px;\n height: 20px;\n background: transparent no-repeat center center;\n background-size: 100% 100%;\n}\n\n.carousel-control-prev-icon {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E\");\n}\n\n.carousel-control-next-icon {\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E\");\n}\n\n.carousel-indicators {\n position: absolute;\n right: 0;\n bottom: 10px;\n left: 0;\n z-index: 15;\n display: flex;\n justify-content: center;\n padding-left: 0;\n margin-right: 15%;\n margin-left: 15%;\n list-style: none;\n}\n\n.carousel-indicators li {\n position: relative;\n flex: 0 1 auto;\n width: 30px;\n height: 3px;\n margin-right: 3px;\n margin-left: 3px;\n text-indent: -999px;\n cursor: pointer;\n background-color: rgba(255, 255, 255, 0.5);\n}\n\n.carousel-indicators li::before {\n position: absolute;\n top: -10px;\n left: 0;\n display: inline-block;\n width: 100%;\n height: 10px;\n content: \"\";\n}\n\n.carousel-indicators li::after {\n position: absolute;\n bottom: -10px;\n left: 0;\n display: inline-block;\n width: 100%;\n height: 10px;\n content: \"\";\n}\n\n.carousel-indicators .active {\n background-color: #fff;\n}\n\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 20px;\n left: 15%;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #fff;\n text-align: center;\n}\n\n.align-baseline {\n vertical-align: baseline !important;\n}\n\n.align-top {\n vertical-align: top !important;\n}\n\n.align-middle {\n vertical-align: middle !important;\n}\n\n.align-bottom {\n vertical-align: bottom !important;\n}\n\n.align-text-bottom {\n vertical-align: text-bottom !important;\n}\n\n.align-text-top {\n vertical-align: text-top !important;\n}\n\n.bg-primary {\n background-color: #007bff !important;\n}\n\na.bg-primary:hover, a.bg-primary:focus,\nbutton.bg-primary:hover,\nbutton.bg-primary:focus {\n background-color: #0062cc !important;\n}\n\n.bg-secondary {\n background-color: #6c757d !important;\n}\n\na.bg-secondary:hover, a.bg-secondary:focus,\nbutton.bg-secondary:hover,\nbutton.bg-secondary:focus {\n background-color: #545b62 !important;\n}\n\n.bg-success {\n background-color: #28a745 !important;\n}\n\na.bg-success:hover, a.bg-success:focus,\nbutton.bg-success:hover,\nbutton.bg-success:focus {\n background-color: #1e7e34 !important;\n}\n\n.bg-info {\n background-color: #17a2b8 !important;\n}\n\na.bg-info:hover, a.bg-info:focus,\nbutton.bg-info:hover,\nbutton.bg-info:focus {\n background-color: #117a8b !important;\n}\n\n.bg-warning {\n background-color: #ffc107 !important;\n}\n\na.bg-warning:hover, a.bg-warning:focus,\nbutton.bg-warning:hover,\nbutton.bg-warning:focus {\n background-color: #d39e00 !important;\n}\n\n.bg-danger {\n background-color: #dc3545 !important;\n}\n\na.bg-danger:hover, a.bg-danger:focus,\nbutton.bg-danger:hover,\nbutton.bg-danger:focus {\n background-color: #bd2130 !important;\n}\n\n.bg-light {\n background-color: #f8f9fa !important;\n}\n\na.bg-light:hover, a.bg-light:focus,\nbutton.bg-light:hover,\nbutton.bg-light:focus {\n background-color: #dae0e5 !important;\n}\n\n.bg-dark {\n background-color: #343a40 !important;\n}\n\na.bg-dark:hover, a.bg-dark:focus,\nbutton.bg-dark:hover,\nbutton.bg-dark:focus {\n background-color: #1d2124 !important;\n}\n\n.bg-white {\n background-color: #fff !important;\n}\n\n.bg-transparent {\n background-color: transparent !important;\n}\n\n.border {\n border: 1px solid #dee2e6 !important;\n}\n\n.border-top {\n border-top: 1px solid #dee2e6 !important;\n}\n\n.border-right {\n border-right: 1px solid #dee2e6 !important;\n}\n\n.border-bottom {\n border-bottom: 1px solid #dee2e6 !important;\n}\n\n.border-left {\n border-left: 1px solid #dee2e6 !important;\n}\n\n.border-0 {\n border: 0 !important;\n}\n\n.border-top-0 {\n border-top: 0 !important;\n}\n\n.border-right-0 {\n border-right: 0 !important;\n}\n\n.border-bottom-0 {\n border-bottom: 0 !important;\n}\n\n.border-left-0 {\n border-left: 0 !important;\n}\n\n.border-primary {\n border-color: #007bff !important;\n}\n\n.border-secondary {\n border-color: #6c757d !important;\n}\n\n.border-success {\n border-color: #28a745 !important;\n}\n\n.border-info {\n border-color: #17a2b8 !important;\n}\n\n.border-warning {\n border-color: #ffc107 !important;\n}\n\n.border-danger {\n border-color: #dc3545 !important;\n}\n\n.border-light {\n border-color: #f8f9fa !important;\n}\n\n.border-dark {\n border-color: #343a40 !important;\n}\n\n.border-white {\n border-color: #fff !important;\n}\n\n.rounded {\n border-radius: 0.25rem !important;\n}\n\n.rounded-top {\n border-top-left-radius: 0.25rem !important;\n border-top-right-radius: 0.25rem !important;\n}\n\n.rounded-right {\n border-top-right-radius: 0.25rem !important;\n border-bottom-right-radius: 0.25rem !important;\n}\n\n.rounded-bottom {\n border-bottom-right-radius: 0.25rem !important;\n border-bottom-left-radius: 0.25rem !important;\n}\n\n.rounded-left {\n border-top-left-radius: 0.25rem !important;\n border-bottom-left-radius: 0.25rem !important;\n}\n\n.rounded-circle {\n border-radius: 50% !important;\n}\n\n.rounded-0 {\n border-radius: 0 !important;\n}\n\n.clearfix::after {\n display: block;\n clear: both;\n content: \"\";\n}\n\n.d-none {\n display: none !important;\n}\n\n.d-inline {\n display: inline !important;\n}\n\n.d-inline-block {\n display: inline-block !important;\n}\n\n.d-block {\n display: block !important;\n}\n\n.d-table {\n display: table !important;\n}\n\n.d-table-row {\n display: table-row !important;\n}\n\n.d-table-cell {\n display: table-cell !important;\n}\n\n.d-flex {\n display: flex !important;\n}\n\n.d-inline-flex {\n display: inline-flex !important;\n}\n\n@media (min-width: 576px) {\n .d-sm-none {\n display: none !important;\n }\n .d-sm-inline {\n display: inline !important;\n }\n .d-sm-inline-block {\n display: inline-block !important;\n }\n .d-sm-block {\n display: block !important;\n }\n .d-sm-table {\n display: table !important;\n }\n .d-sm-table-row {\n display: table-row !important;\n }\n .d-sm-table-cell {\n display: table-cell !important;\n }\n .d-sm-flex {\n display: flex !important;\n }\n .d-sm-inline-flex {\n display: inline-flex !important;\n }\n}\n\n@media (min-width: 768px) {\n .d-md-none {\n display: none !important;\n }\n .d-md-inline {\n display: inline !important;\n }\n .d-md-inline-block {\n display: inline-block !important;\n }\n .d-md-block {\n display: block !important;\n }\n .d-md-table {\n display: table !important;\n }\n .d-md-table-row {\n display: table-row !important;\n }\n .d-md-table-cell {\n display: table-cell !important;\n }\n .d-md-flex {\n display: flex !important;\n }\n .d-md-inline-flex {\n display: inline-flex !important;\n }\n}\n\n@media (min-width: 992px) {\n .d-lg-none {\n display: none !important;\n }\n .d-lg-inline {\n display: inline !important;\n }\n .d-lg-inline-block {\n display: inline-block !important;\n }\n .d-lg-block {\n display: block !important;\n }\n .d-lg-table {\n display: table !important;\n }\n .d-lg-table-row {\n display: table-row !important;\n }\n .d-lg-table-cell {\n display: table-cell !important;\n }\n .d-lg-flex {\n display: flex !important;\n }\n .d-lg-inline-flex {\n display: inline-flex !important;\n }\n}\n\n@media (min-width: 1200px) {\n .d-xl-none {\n display: none !important;\n }\n .d-xl-inline {\n display: inline !important;\n }\n .d-xl-inline-block {\n display: inline-block !important;\n }\n .d-xl-block {\n display: block !important;\n }\n .d-xl-table {\n display: table !important;\n }\n .d-xl-table-row {\n display: table-row !important;\n }\n .d-xl-table-cell {\n display: table-cell !important;\n }\n .d-xl-flex {\n display: flex !important;\n }\n .d-xl-inline-flex {\n display: inline-flex !important;\n }\n}\n\n@media print {\n .d-print-none {\n display: none !important;\n }\n .d-print-inline {\n display: inline !important;\n }\n .d-print-inline-block {\n display: inline-block !important;\n }\n .d-print-block {\n display: block !important;\n }\n .d-print-table {\n display: table !important;\n }\n .d-print-table-row {\n display: table-row !important;\n }\n .d-print-table-cell {\n display: table-cell !important;\n }\n .d-print-flex {\n display: flex !important;\n }\n .d-print-inline-flex {\n display: inline-flex !important;\n }\n}\n\n.embed-responsive {\n position: relative;\n display: block;\n width: 100%;\n padding: 0;\n overflow: hidden;\n}\n\n.embed-responsive::before {\n display: block;\n content: \"\";\n}\n\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n}\n\n.embed-responsive-21by9::before {\n padding-top: 42.857143%;\n}\n\n.embed-responsive-16by9::before {\n padding-top: 56.25%;\n}\n\n.embed-responsive-4by3::before {\n padding-top: 75%;\n}\n\n.embed-responsive-1by1::before {\n padding-top: 100%;\n}\n\n.flex-row {\n flex-direction: row !important;\n}\n\n.flex-column {\n flex-direction: column !important;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse !important;\n}\n\n.flex-column-reverse {\n flex-direction: column-reverse !important;\n}\n\n.flex-wrap {\n flex-wrap: wrap !important;\n}\n\n.flex-nowrap {\n flex-wrap: nowrap !important;\n}\n\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n}\n\n.flex-fill {\n flex: 1 1 auto !important;\n}\n\n.flex-grow-0 {\n flex-grow: 0 !important;\n}\n\n.flex-grow-1 {\n flex-grow: 1 !important;\n}\n\n.flex-shrink-0 {\n flex-shrink: 0 !important;\n}\n\n.flex-shrink-1 {\n flex-shrink: 1 !important;\n}\n\n.justify-content-start {\n justify-content: flex-start !important;\n}\n\n.justify-content-end {\n justify-content: flex-end !important;\n}\n\n.justify-content-center {\n justify-content: center !important;\n}\n\n.justify-content-between {\n justify-content: space-between !important;\n}\n\n.justify-content-around {\n justify-content: space-around !important;\n}\n\n.align-items-start {\n align-items: flex-start !important;\n}\n\n.align-items-end {\n align-items: flex-end !important;\n}\n\n.align-items-center {\n align-items: center !important;\n}\n\n.align-items-baseline {\n align-items: baseline !important;\n}\n\n.align-items-stretch {\n align-items: stretch !important;\n}\n\n.align-content-start {\n align-content: flex-start !important;\n}\n\n.align-content-end {\n align-content: flex-end !important;\n}\n\n.align-content-center {\n align-content: center !important;\n}\n\n.align-content-between {\n align-content: space-between !important;\n}\n\n.align-content-around {\n align-content: space-around !important;\n}\n\n.align-content-stretch {\n align-content: stretch !important;\n}\n\n.align-self-auto {\n align-self: auto !important;\n}\n\n.align-self-start {\n align-self: flex-start !important;\n}\n\n.align-self-end {\n align-self: flex-end !important;\n}\n\n.align-self-center {\n align-self: center !important;\n}\n\n.align-self-baseline {\n align-self: baseline !important;\n}\n\n.align-self-stretch {\n align-self: stretch !important;\n}\n\n@media (min-width: 576px) {\n .flex-sm-row {\n flex-direction: row !important;\n }\n .flex-sm-column {\n flex-direction: column !important;\n }\n .flex-sm-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-sm-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-sm-wrap {\n flex-wrap: wrap !important;\n }\n .flex-sm-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-sm-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .flex-sm-fill {\n flex: 1 1 auto !important;\n }\n .flex-sm-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-sm-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-sm-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-sm-shrink-1 {\n flex-shrink: 1 !important;\n }\n .justify-content-sm-start {\n justify-content: flex-start !important;\n }\n .justify-content-sm-end {\n justify-content: flex-end !important;\n }\n .justify-content-sm-center {\n justify-content: center !important;\n }\n .justify-content-sm-between {\n justify-content: space-between !important;\n }\n .justify-content-sm-around {\n justify-content: space-around !important;\n }\n .align-items-sm-start {\n align-items: flex-start !important;\n }\n .align-items-sm-end {\n align-items: flex-end !important;\n }\n .align-items-sm-center {\n align-items: center !important;\n }\n .align-items-sm-baseline {\n align-items: baseline !important;\n }\n .align-items-sm-stretch {\n align-items: stretch !important;\n }\n .align-content-sm-start {\n align-content: flex-start !important;\n }\n .align-content-sm-end {\n align-content: flex-end !important;\n }\n .align-content-sm-center {\n align-content: center !important;\n }\n .align-content-sm-between {\n align-content: space-between !important;\n }\n .align-content-sm-around {\n align-content: space-around !important;\n }\n .align-content-sm-stretch {\n align-content: stretch !important;\n }\n .align-self-sm-auto {\n align-self: auto !important;\n }\n .align-self-sm-start {\n align-self: flex-start !important;\n }\n .align-self-sm-end {\n align-self: flex-end !important;\n }\n .align-self-sm-center {\n align-self: center !important;\n }\n .align-self-sm-baseline {\n align-self: baseline !important;\n }\n .align-self-sm-stretch {\n align-self: stretch !important;\n }\n}\n\n@media (min-width: 768px) {\n .flex-md-row {\n flex-direction: row !important;\n }\n .flex-md-column {\n flex-direction: column !important;\n }\n .flex-md-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-md-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-md-wrap {\n flex-wrap: wrap !important;\n }\n .flex-md-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-md-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .flex-md-fill {\n flex: 1 1 auto !important;\n }\n .flex-md-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-md-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-md-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-md-shrink-1 {\n flex-shrink: 1 !important;\n }\n .justify-content-md-start {\n justify-content: flex-start !important;\n }\n .justify-content-md-end {\n justify-content: flex-end !important;\n }\n .justify-content-md-center {\n justify-content: center !important;\n }\n .justify-content-md-between {\n justify-content: space-between !important;\n }\n .justify-content-md-around {\n justify-content: space-around !important;\n }\n .align-items-md-start {\n align-items: flex-start !important;\n }\n .align-items-md-end {\n align-items: flex-end !important;\n }\n .align-items-md-center {\n align-items: center !important;\n }\n .align-items-md-baseline {\n align-items: baseline !important;\n }\n .align-items-md-stretch {\n align-items: stretch !important;\n }\n .align-content-md-start {\n align-content: flex-start !important;\n }\n .align-content-md-end {\n align-content: flex-end !important;\n }\n .align-content-md-center {\n align-content: center !important;\n }\n .align-content-md-between {\n align-content: space-between !important;\n }\n .align-content-md-around {\n align-content: space-around !important;\n }\n .align-content-md-stretch {\n align-content: stretch !important;\n }\n .align-self-md-auto {\n align-self: auto !important;\n }\n .align-self-md-start {\n align-self: flex-start !important;\n }\n .align-self-md-end {\n align-self: flex-end !important;\n }\n .align-self-md-center {\n align-self: center !important;\n }\n .align-self-md-baseline {\n align-self: baseline !important;\n }\n .align-self-md-stretch {\n align-self: stretch !important;\n }\n}\n\n@media (min-width: 992px) {\n .flex-lg-row {\n flex-direction: row !important;\n }\n .flex-lg-column {\n flex-direction: column !important;\n }\n .flex-lg-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-lg-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-lg-wrap {\n flex-wrap: wrap !important;\n }\n .flex-lg-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-lg-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .flex-lg-fill {\n flex: 1 1 auto !important;\n }\n .flex-lg-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-lg-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-lg-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-lg-shrink-1 {\n flex-shrink: 1 !important;\n }\n .justify-content-lg-start {\n justify-content: flex-start !important;\n }\n .justify-content-lg-end {\n justify-content: flex-end !important;\n }\n .justify-content-lg-center {\n justify-content: center !important;\n }\n .justify-content-lg-between {\n justify-content: space-between !important;\n }\n .justify-content-lg-around {\n justify-content: space-around !important;\n }\n .align-items-lg-start {\n align-items: flex-start !important;\n }\n .align-items-lg-end {\n align-items: flex-end !important;\n }\n .align-items-lg-center {\n align-items: center !important;\n }\n .align-items-lg-baseline {\n align-items: baseline !important;\n }\n .align-items-lg-stretch {\n align-items: stretch !important;\n }\n .align-content-lg-start {\n align-content: flex-start !important;\n }\n .align-content-lg-end {\n align-content: flex-end !important;\n }\n .align-content-lg-center {\n align-content: center !important;\n }\n .align-content-lg-between {\n align-content: space-between !important;\n }\n .align-content-lg-around {\n align-content: space-around !important;\n }\n .align-content-lg-stretch {\n align-content: stretch !important;\n }\n .align-self-lg-auto {\n align-self: auto !important;\n }\n .align-self-lg-start {\n align-self: flex-start !important;\n }\n .align-self-lg-end {\n align-self: flex-end !important;\n }\n .align-self-lg-center {\n align-self: center !important;\n }\n .align-self-lg-baseline {\n align-self: baseline !important;\n }\n .align-self-lg-stretch {\n align-self: stretch !important;\n }\n}\n\n@media (min-width: 1200px) {\n .flex-xl-row {\n flex-direction: row !important;\n }\n .flex-xl-column {\n flex-direction: column !important;\n }\n .flex-xl-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-xl-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-xl-wrap {\n flex-wrap: wrap !important;\n }\n .flex-xl-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-xl-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .flex-xl-fill {\n flex: 1 1 auto !important;\n }\n .flex-xl-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-xl-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-xl-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-xl-shrink-1 {\n flex-shrink: 1 !important;\n }\n .justify-content-xl-start {\n justify-content: flex-start !important;\n }\n .justify-content-xl-end {\n justify-content: flex-end !important;\n }\n .justify-content-xl-center {\n justify-content: center !important;\n }\n .justify-content-xl-between {\n justify-content: space-between !important;\n }\n .justify-content-xl-around {\n justify-content: space-around !important;\n }\n .align-items-xl-start {\n align-items: flex-start !important;\n }\n .align-items-xl-end {\n align-items: flex-end !important;\n }\n .align-items-xl-center {\n align-items: center !important;\n }\n .align-items-xl-baseline {\n align-items: baseline !important;\n }\n .align-items-xl-stretch {\n align-items: stretch !important;\n }\n .align-content-xl-start {\n align-content: flex-start !important;\n }\n .align-content-xl-end {\n align-content: flex-end !important;\n }\n .align-content-xl-center {\n align-content: center !important;\n }\n .align-content-xl-between {\n align-content: space-between !important;\n }\n .align-content-xl-around {\n align-content: space-around !important;\n }\n .align-content-xl-stretch {\n align-content: stretch !important;\n }\n .align-self-xl-auto {\n align-self: auto !important;\n }\n .align-self-xl-start {\n align-self: flex-start !important;\n }\n .align-self-xl-end {\n align-self: flex-end !important;\n }\n .align-self-xl-center {\n align-self: center !important;\n }\n .align-self-xl-baseline {\n align-self: baseline !important;\n }\n .align-self-xl-stretch {\n align-self: stretch !important;\n }\n}\n\n.float-left {\n float: left !important;\n}\n\n.float-right {\n float: right !important;\n}\n\n.float-none {\n float: none !important;\n}\n\n@media (min-width: 576px) {\n .float-sm-left {\n float: left !important;\n }\n .float-sm-right {\n float: right !important;\n }\n .float-sm-none {\n float: none !important;\n }\n}\n\n@media (min-width: 768px) {\n .float-md-left {\n float: left !important;\n }\n .float-md-right {\n float: right !important;\n }\n .float-md-none {\n float: none !important;\n }\n}\n\n@media (min-width: 992px) {\n .float-lg-left {\n float: left !important;\n }\n .float-lg-right {\n float: right !important;\n }\n .float-lg-none {\n float: none !important;\n }\n}\n\n@media (min-width: 1200px) {\n .float-xl-left {\n float: left !important;\n }\n .float-xl-right {\n float: right !important;\n }\n .float-xl-none {\n float: none !important;\n }\n}\n\n.position-static {\n position: static !important;\n}\n\n.position-relative {\n position: relative !important;\n}\n\n.position-absolute {\n position: absolute !important;\n}\n\n.position-fixed {\n position: fixed !important;\n}\n\n.position-sticky {\n position: sticky !important;\n}\n\n.fixed-top {\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n\n.fixed-bottom {\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1030;\n}\n\n@supports (position: sticky) {\n .sticky-top {\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n}\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n overflow: visible;\n clip: auto;\n white-space: normal;\n}\n\n.shadow-sm {\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n}\n\n.shadow {\n box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;\n}\n\n.shadow-lg {\n box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;\n}\n\n.shadow-none {\n box-shadow: none !important;\n}\n\n.w-25 {\n width: 25% !important;\n}\n\n.w-50 {\n width: 50% !important;\n}\n\n.w-75 {\n width: 75% !important;\n}\n\n.w-100 {\n width: 100% !important;\n}\n\n.w-auto {\n width: auto !important;\n}\n\n.h-25 {\n height: 25% !important;\n}\n\n.h-50 {\n height: 50% !important;\n}\n\n.h-75 {\n height: 75% !important;\n}\n\n.h-100 {\n height: 100% !important;\n}\n\n.h-auto {\n height: auto !important;\n}\n\n.mw-100 {\n max-width: 100% !important;\n}\n\n.mh-100 {\n max-height: 100% !important;\n}\n\n.m-0 {\n margin: 0 !important;\n}\n\n.mt-0,\n.my-0 {\n margin-top: 0 !important;\n}\n\n.mr-0,\n.mx-0 {\n margin-right: 0 !important;\n}\n\n.mb-0,\n.my-0 {\n margin-bottom: 0 !important;\n}\n\n.ml-0,\n.mx-0 {\n margin-left: 0 !important;\n}\n\n.m-1 {\n margin: 0.25rem !important;\n}\n\n.mt-1,\n.my-1 {\n margin-top: 0.25rem !important;\n}\n\n.mr-1,\n.mx-1 {\n margin-right: 0.25rem !important;\n}\n\n.mb-1,\n.my-1 {\n margin-bottom: 0.25rem !important;\n}\n\n.ml-1,\n.mx-1 {\n margin-left: 0.25rem !important;\n}\n\n.m-2 {\n margin: 0.5rem !important;\n}\n\n.mt-2,\n.my-2 {\n margin-top: 0.5rem !important;\n}\n\n.mr-2,\n.mx-2 {\n margin-right: 0.5rem !important;\n}\n\n.mb-2,\n.my-2 {\n margin-bottom: 0.5rem !important;\n}\n\n.ml-2,\n.mx-2 {\n margin-left: 0.5rem !important;\n}\n\n.m-3 {\n margin: 1rem !important;\n}\n\n.mt-3,\n.my-3 {\n margin-top: 1rem !important;\n}\n\n.mr-3,\n.mx-3 {\n margin-right: 1rem !important;\n}\n\n.mb-3,\n.my-3 {\n margin-bottom: 1rem !important;\n}\n\n.ml-3,\n.mx-3 {\n margin-left: 1rem !important;\n}\n\n.m-4 {\n margin: 1.5rem !important;\n}\n\n.mt-4,\n.my-4 {\n margin-top: 1.5rem !important;\n}\n\n.mr-4,\n.mx-4 {\n margin-right: 1.5rem !important;\n}\n\n.mb-4,\n.my-4 {\n margin-bottom: 1.5rem !important;\n}\n\n.ml-4,\n.mx-4 {\n margin-left: 1.5rem !important;\n}\n\n.m-5 {\n margin: 3rem !important;\n}\n\n.mt-5,\n.my-5 {\n margin-top: 3rem !important;\n}\n\n.mr-5,\n.mx-5 {\n margin-right: 3rem !important;\n}\n\n.mb-5,\n.my-5 {\n margin-bottom: 3rem !important;\n}\n\n.ml-5,\n.mx-5 {\n margin-left: 3rem !important;\n}\n\n.p-0 {\n padding: 0 !important;\n}\n\n.pt-0,\n.py-0 {\n padding-top: 0 !important;\n}\n\n.pr-0,\n.px-0 {\n padding-right: 0 !important;\n}\n\n.pb-0,\n.py-0 {\n padding-bottom: 0 !important;\n}\n\n.pl-0,\n.px-0 {\n padding-left: 0 !important;\n}\n\n.p-1 {\n padding: 0.25rem !important;\n}\n\n.pt-1,\n.py-1 {\n padding-top: 0.25rem !important;\n}\n\n.pr-1,\n.px-1 {\n padding-right: 0.25rem !important;\n}\n\n.pb-1,\n.py-1 {\n padding-bottom: 0.25rem !important;\n}\n\n.pl-1,\n.px-1 {\n padding-left: 0.25rem !important;\n}\n\n.p-2 {\n padding: 0.5rem !important;\n}\n\n.pt-2,\n.py-2 {\n padding-top: 0.5rem !important;\n}\n\n.pr-2,\n.px-2 {\n padding-right: 0.5rem !important;\n}\n\n.pb-2,\n.py-2 {\n padding-bottom: 0.5rem !important;\n}\n\n.pl-2,\n.px-2 {\n padding-left: 0.5rem !important;\n}\n\n.p-3 {\n padding: 1rem !important;\n}\n\n.pt-3,\n.py-3 {\n padding-top: 1rem !important;\n}\n\n.pr-3,\n.px-3 {\n padding-right: 1rem !important;\n}\n\n.pb-3,\n.py-3 {\n padding-bottom: 1rem !important;\n}\n\n.pl-3,\n.px-3 {\n padding-left: 1rem !important;\n}\n\n.p-4 {\n padding: 1.5rem !important;\n}\n\n.pt-4,\n.py-4 {\n padding-top: 1.5rem !important;\n}\n\n.pr-4,\n.px-4 {\n padding-right: 1.5rem !important;\n}\n\n.pb-4,\n.py-4 {\n padding-bottom: 1.5rem !important;\n}\n\n.pl-4,\n.px-4 {\n padding-left: 1.5rem !important;\n}\n\n.p-5 {\n padding: 3rem !important;\n}\n\n.pt-5,\n.py-5 {\n padding-top: 3rem !important;\n}\n\n.pr-5,\n.px-5 {\n padding-right: 3rem !important;\n}\n\n.pb-5,\n.py-5 {\n padding-bottom: 3rem !important;\n}\n\n.pl-5,\n.px-5 {\n padding-left: 3rem !important;\n}\n\n.m-auto {\n margin: auto !important;\n}\n\n.mt-auto,\n.my-auto {\n margin-top: auto !important;\n}\n\n.mr-auto,\n.mx-auto {\n margin-right: auto !important;\n}\n\n.mb-auto,\n.my-auto {\n margin-bottom: auto !important;\n}\n\n.ml-auto,\n.mx-auto {\n margin-left: auto !important;\n}\n\n@media (min-width: 576px) {\n .m-sm-0 {\n margin: 0 !important;\n }\n .mt-sm-0,\n .my-sm-0 {\n margin-top: 0 !important;\n }\n .mr-sm-0,\n .mx-sm-0 {\n margin-right: 0 !important;\n }\n .mb-sm-0,\n .my-sm-0 {\n margin-bottom: 0 !important;\n }\n .ml-sm-0,\n .mx-sm-0 {\n margin-left: 0 !important;\n }\n .m-sm-1 {\n margin: 0.25rem !important;\n }\n .mt-sm-1,\n .my-sm-1 {\n margin-top: 0.25rem !important;\n }\n .mr-sm-1,\n .mx-sm-1 {\n margin-right: 0.25rem !important;\n }\n .mb-sm-1,\n .my-sm-1 {\n margin-bottom: 0.25rem !important;\n }\n .ml-sm-1,\n .mx-sm-1 {\n margin-left: 0.25rem !important;\n }\n .m-sm-2 {\n margin: 0.5rem !important;\n }\n .mt-sm-2,\n .my-sm-2 {\n margin-top: 0.5rem !important;\n }\n .mr-sm-2,\n .mx-sm-2 {\n margin-right: 0.5rem !important;\n }\n .mb-sm-2,\n .my-sm-2 {\n margin-bottom: 0.5rem !important;\n }\n .ml-sm-2,\n .mx-sm-2 {\n margin-left: 0.5rem !important;\n }\n .m-sm-3 {\n margin: 1rem !important;\n }\n .mt-sm-3,\n .my-sm-3 {\n margin-top: 1rem !important;\n }\n .mr-sm-3,\n .mx-sm-3 {\n margin-right: 1rem !important;\n }\n .mb-sm-3,\n .my-sm-3 {\n margin-bottom: 1rem !important;\n }\n .ml-sm-3,\n .mx-sm-3 {\n margin-left: 1rem !important;\n }\n .m-sm-4 {\n margin: 1.5rem !important;\n }\n .mt-sm-4,\n .my-sm-4 {\n margin-top: 1.5rem !important;\n }\n .mr-sm-4,\n .mx-sm-4 {\n margin-right: 1.5rem !important;\n }\n .mb-sm-4,\n .my-sm-4 {\n margin-bottom: 1.5rem !important;\n }\n .ml-sm-4,\n .mx-sm-4 {\n margin-left: 1.5rem !important;\n }\n .m-sm-5 {\n margin: 3rem !important;\n }\n .mt-sm-5,\n .my-sm-5 {\n margin-top: 3rem !important;\n }\n .mr-sm-5,\n .mx-sm-5 {\n margin-right: 3rem !important;\n }\n .mb-sm-5,\n .my-sm-5 {\n margin-bottom: 3rem !important;\n }\n .ml-sm-5,\n .mx-sm-5 {\n margin-left: 3rem !important;\n }\n .p-sm-0 {\n padding: 0 !important;\n }\n .pt-sm-0,\n .py-sm-0 {\n padding-top: 0 !important;\n }\n .pr-sm-0,\n .px-sm-0 {\n padding-right: 0 !important;\n }\n .pb-sm-0,\n .py-sm-0 {\n padding-bottom: 0 !important;\n }\n .pl-sm-0,\n .px-sm-0 {\n padding-left: 0 !important;\n }\n .p-sm-1 {\n padding: 0.25rem !important;\n }\n .pt-sm-1,\n .py-sm-1 {\n padding-top: 0.25rem !important;\n }\n .pr-sm-1,\n .px-sm-1 {\n padding-right: 0.25rem !important;\n }\n .pb-sm-1,\n .py-sm-1 {\n padding-bottom: 0.25rem !important;\n }\n .pl-sm-1,\n .px-sm-1 {\n padding-left: 0.25rem !important;\n }\n .p-sm-2 {\n padding: 0.5rem !important;\n }\n .pt-sm-2,\n .py-sm-2 {\n padding-top: 0.5rem !important;\n }\n .pr-sm-2,\n .px-sm-2 {\n padding-right: 0.5rem !important;\n }\n .pb-sm-2,\n .py-sm-2 {\n padding-bottom: 0.5rem !important;\n }\n .pl-sm-2,\n .px-sm-2 {\n padding-left: 0.5rem !important;\n }\n .p-sm-3 {\n padding: 1rem !important;\n }\n .pt-sm-3,\n .py-sm-3 {\n padding-top: 1rem !important;\n }\n .pr-sm-3,\n .px-sm-3 {\n padding-right: 1rem !important;\n }\n .pb-sm-3,\n .py-sm-3 {\n padding-bottom: 1rem !important;\n }\n .pl-sm-3,\n .px-sm-3 {\n padding-left: 1rem !important;\n }\n .p-sm-4 {\n padding: 1.5rem !important;\n }\n .pt-sm-4,\n .py-sm-4 {\n padding-top: 1.5rem !important;\n }\n .pr-sm-4,\n .px-sm-4 {\n padding-right: 1.5rem !important;\n }\n .pb-sm-4,\n .py-sm-4 {\n padding-bottom: 1.5rem !important;\n }\n .pl-sm-4,\n .px-sm-4 {\n padding-left: 1.5rem !important;\n }\n .p-sm-5 {\n padding: 3rem !important;\n }\n .pt-sm-5,\n .py-sm-5 {\n padding-top: 3rem !important;\n }\n .pr-sm-5,\n .px-sm-5 {\n padding-right: 3rem !important;\n }\n .pb-sm-5,\n .py-sm-5 {\n padding-bottom: 3rem !important;\n }\n .pl-sm-5,\n .px-sm-5 {\n padding-left: 3rem !important;\n }\n .m-sm-auto {\n margin: auto !important;\n }\n .mt-sm-auto,\n .my-sm-auto {\n margin-top: auto !important;\n }\n .mr-sm-auto,\n .mx-sm-auto {\n margin-right: auto !important;\n }\n .mb-sm-auto,\n .my-sm-auto {\n margin-bottom: auto !important;\n }\n .ml-sm-auto,\n .mx-sm-auto {\n margin-left: auto !important;\n }\n}\n\n@media (min-width: 768px) {\n .m-md-0 {\n margin: 0 !important;\n }\n .mt-md-0,\n .my-md-0 {\n margin-top: 0 !important;\n }\n .mr-md-0,\n .mx-md-0 {\n margin-right: 0 !important;\n }\n .mb-md-0,\n .my-md-0 {\n margin-bottom: 0 !important;\n }\n .ml-md-0,\n .mx-md-0 {\n margin-left: 0 !important;\n }\n .m-md-1 {\n margin: 0.25rem !important;\n }\n .mt-md-1,\n .my-md-1 {\n margin-top: 0.25rem !important;\n }\n .mr-md-1,\n .mx-md-1 {\n margin-right: 0.25rem !important;\n }\n .mb-md-1,\n .my-md-1 {\n margin-bottom: 0.25rem !important;\n }\n .ml-md-1,\n .mx-md-1 {\n margin-left: 0.25rem !important;\n }\n .m-md-2 {\n margin: 0.5rem !important;\n }\n .mt-md-2,\n .my-md-2 {\n margin-top: 0.5rem !important;\n }\n .mr-md-2,\n .mx-md-2 {\n margin-right: 0.5rem !important;\n }\n .mb-md-2,\n .my-md-2 {\n margin-bottom: 0.5rem !important;\n }\n .ml-md-2,\n .mx-md-2 {\n margin-left: 0.5rem !important;\n }\n .m-md-3 {\n margin: 1rem !important;\n }\n .mt-md-3,\n .my-md-3 {\n margin-top: 1rem !important;\n }\n .mr-md-3,\n .mx-md-3 {\n margin-right: 1rem !important;\n }\n .mb-md-3,\n .my-md-3 {\n margin-bottom: 1rem !important;\n }\n .ml-md-3,\n .mx-md-3 {\n margin-left: 1rem !important;\n }\n .m-md-4 {\n margin: 1.5rem !important;\n }\n .mt-md-4,\n .my-md-4 {\n margin-top: 1.5rem !important;\n }\n .mr-md-4,\n .mx-md-4 {\n margin-right: 1.5rem !important;\n }\n .mb-md-4,\n .my-md-4 {\n margin-bottom: 1.5rem !important;\n }\n .ml-md-4,\n .mx-md-4 {\n margin-left: 1.5rem !important;\n }\n .m-md-5 {\n margin: 3rem !important;\n }\n .mt-md-5,\n .my-md-5 {\n margin-top: 3rem !important;\n }\n .mr-md-5,\n .mx-md-5 {\n margin-right: 3rem !important;\n }\n .mb-md-5,\n .my-md-5 {\n margin-bottom: 3rem !important;\n }\n .ml-md-5,\n .mx-md-5 {\n margin-left: 3rem !important;\n }\n .p-md-0 {\n padding: 0 !important;\n }\n .pt-md-0,\n .py-md-0 {\n padding-top: 0 !important;\n }\n .pr-md-0,\n .px-md-0 {\n padding-right: 0 !important;\n }\n .pb-md-0,\n .py-md-0 {\n padding-bottom: 0 !important;\n }\n .pl-md-0,\n .px-md-0 {\n padding-left: 0 !important;\n }\n .p-md-1 {\n padding: 0.25rem !important;\n }\n .pt-md-1,\n .py-md-1 {\n padding-top: 0.25rem !important;\n }\n .pr-md-1,\n .px-md-1 {\n padding-right: 0.25rem !important;\n }\n .pb-md-1,\n .py-md-1 {\n padding-bottom: 0.25rem !important;\n }\n .pl-md-1,\n .px-md-1 {\n padding-left: 0.25rem !important;\n }\n .p-md-2 {\n padding: 0.5rem !important;\n }\n .pt-md-2,\n .py-md-2 {\n padding-top: 0.5rem !important;\n }\n .pr-md-2,\n .px-md-2 {\n padding-right: 0.5rem !important;\n }\n .pb-md-2,\n .py-md-2 {\n padding-bottom: 0.5rem !important;\n }\n .pl-md-2,\n .px-md-2 {\n padding-left: 0.5rem !important;\n }\n .p-md-3 {\n padding: 1rem !important;\n }\n .pt-md-3,\n .py-md-3 {\n padding-top: 1rem !important;\n }\n .pr-md-3,\n .px-md-3 {\n padding-right: 1rem !important;\n }\n .pb-md-3,\n .py-md-3 {\n padding-bottom: 1rem !important;\n }\n .pl-md-3,\n .px-md-3 {\n padding-left: 1rem !important;\n }\n .p-md-4 {\n padding: 1.5rem !important;\n }\n .pt-md-4,\n .py-md-4 {\n padding-top: 1.5rem !important;\n }\n .pr-md-4,\n .px-md-4 {\n padding-right: 1.5rem !important;\n }\n .pb-md-4,\n .py-md-4 {\n padding-bottom: 1.5rem !important;\n }\n .pl-md-4,\n .px-md-4 {\n padding-left: 1.5rem !important;\n }\n .p-md-5 {\n padding: 3rem !important;\n }\n .pt-md-5,\n .py-md-5 {\n padding-top: 3rem !important;\n }\n .pr-md-5,\n .px-md-5 {\n padding-right: 3rem !important;\n }\n .pb-md-5,\n .py-md-5 {\n padding-bottom: 3rem !important;\n }\n .pl-md-5,\n .px-md-5 {\n padding-left: 3rem !important;\n }\n .m-md-auto {\n margin: auto !important;\n }\n .mt-md-auto,\n .my-md-auto {\n margin-top: auto !important;\n }\n .mr-md-auto,\n .mx-md-auto {\n margin-right: auto !important;\n }\n .mb-md-auto,\n .my-md-auto {\n margin-bottom: auto !important;\n }\n .ml-md-auto,\n .mx-md-auto {\n margin-left: auto !important;\n }\n}\n\n@media (min-width: 992px) {\n .m-lg-0 {\n margin: 0 !important;\n }\n .mt-lg-0,\n .my-lg-0 {\n margin-top: 0 !important;\n }\n .mr-lg-0,\n .mx-lg-0 {\n margin-right: 0 !important;\n }\n .mb-lg-0,\n .my-lg-0 {\n margin-bottom: 0 !important;\n }\n .ml-lg-0,\n .mx-lg-0 {\n margin-left: 0 !important;\n }\n .m-lg-1 {\n margin: 0.25rem !important;\n }\n .mt-lg-1,\n .my-lg-1 {\n margin-top: 0.25rem !important;\n }\n .mr-lg-1,\n .mx-lg-1 {\n margin-right: 0.25rem !important;\n }\n .mb-lg-1,\n .my-lg-1 {\n margin-bottom: 0.25rem !important;\n }\n .ml-lg-1,\n .mx-lg-1 {\n margin-left: 0.25rem !important;\n }\n .m-lg-2 {\n margin: 0.5rem !important;\n }\n .mt-lg-2,\n .my-lg-2 {\n margin-top: 0.5rem !important;\n }\n .mr-lg-2,\n .mx-lg-2 {\n margin-right: 0.5rem !important;\n }\n .mb-lg-2,\n .my-lg-2 {\n margin-bottom: 0.5rem !important;\n }\n .ml-lg-2,\n .mx-lg-2 {\n margin-left: 0.5rem !important;\n }\n .m-lg-3 {\n margin: 1rem !important;\n }\n .mt-lg-3,\n .my-lg-3 {\n margin-top: 1rem !important;\n }\n .mr-lg-3,\n .mx-lg-3 {\n margin-right: 1rem !important;\n }\n .mb-lg-3,\n .my-lg-3 {\n margin-bottom: 1rem !important;\n }\n .ml-lg-3,\n .mx-lg-3 {\n margin-left: 1rem !important;\n }\n .m-lg-4 {\n margin: 1.5rem !important;\n }\n .mt-lg-4,\n .my-lg-4 {\n margin-top: 1.5rem !important;\n }\n .mr-lg-4,\n .mx-lg-4 {\n margin-right: 1.5rem !important;\n }\n .mb-lg-4,\n .my-lg-4 {\n margin-bottom: 1.5rem !important;\n }\n .ml-lg-4,\n .mx-lg-4 {\n margin-left: 1.5rem !important;\n }\n .m-lg-5 {\n margin: 3rem !important;\n }\n .mt-lg-5,\n .my-lg-5 {\n margin-top: 3rem !important;\n }\n .mr-lg-5,\n .mx-lg-5 {\n margin-right: 3rem !important;\n }\n .mb-lg-5,\n .my-lg-5 {\n margin-bottom: 3rem !important;\n }\n .ml-lg-5,\n .mx-lg-5 {\n margin-left: 3rem !important;\n }\n .p-lg-0 {\n padding: 0 !important;\n }\n .pt-lg-0,\n .py-lg-0 {\n padding-top: 0 !important;\n }\n .pr-lg-0,\n .px-lg-0 {\n padding-right: 0 !important;\n }\n .pb-lg-0,\n .py-lg-0 {\n padding-bottom: 0 !important;\n }\n .pl-lg-0,\n .px-lg-0 {\n padding-left: 0 !important;\n }\n .p-lg-1 {\n padding: 0.25rem !important;\n }\n .pt-lg-1,\n .py-lg-1 {\n padding-top: 0.25rem !important;\n }\n .pr-lg-1,\n .px-lg-1 {\n padding-right: 0.25rem !important;\n }\n .pb-lg-1,\n .py-lg-1 {\n padding-bottom: 0.25rem !important;\n }\n .pl-lg-1,\n .px-lg-1 {\n padding-left: 0.25rem !important;\n }\n .p-lg-2 {\n padding: 0.5rem !important;\n }\n .pt-lg-2,\n .py-lg-2 {\n padding-top: 0.5rem !important;\n }\n .pr-lg-2,\n .px-lg-2 {\n padding-right: 0.5rem !important;\n }\n .pb-lg-2,\n .py-lg-2 {\n padding-bottom: 0.5rem !important;\n }\n .pl-lg-2,\n .px-lg-2 {\n padding-left: 0.5rem !important;\n }\n .p-lg-3 {\n padding: 1rem !important;\n }\n .pt-lg-3,\n .py-lg-3 {\n padding-top: 1rem !important;\n }\n .pr-lg-3,\n .px-lg-3 {\n padding-right: 1rem !important;\n }\n .pb-lg-3,\n .py-lg-3 {\n padding-bottom: 1rem !important;\n }\n .pl-lg-3,\n .px-lg-3 {\n padding-left: 1rem !important;\n }\n .p-lg-4 {\n padding: 1.5rem !important;\n }\n .pt-lg-4,\n .py-lg-4 {\n padding-top: 1.5rem !important;\n }\n .pr-lg-4,\n .px-lg-4 {\n padding-right: 1.5rem !important;\n }\n .pb-lg-4,\n .py-lg-4 {\n padding-bottom: 1.5rem !important;\n }\n .pl-lg-4,\n .px-lg-4 {\n padding-left: 1.5rem !important;\n }\n .p-lg-5 {\n padding: 3rem !important;\n }\n .pt-lg-5,\n .py-lg-5 {\n padding-top: 3rem !important;\n }\n .pr-lg-5,\n .px-lg-5 {\n padding-right: 3rem !important;\n }\n .pb-lg-5,\n .py-lg-5 {\n padding-bottom: 3rem !important;\n }\n .pl-lg-5,\n .px-lg-5 {\n padding-left: 3rem !important;\n }\n .m-lg-auto {\n margin: auto !important;\n }\n .mt-lg-auto,\n .my-lg-auto {\n margin-top: auto !important;\n }\n .mr-lg-auto,\n .mx-lg-auto {\n margin-right: auto !important;\n }\n .mb-lg-auto,\n .my-lg-auto {\n margin-bottom: auto !important;\n }\n .ml-lg-auto,\n .mx-lg-auto {\n margin-left: auto !important;\n }\n}\n\n@media (min-width: 1200px) {\n .m-xl-0 {\n margin: 0 !important;\n }\n .mt-xl-0,\n .my-xl-0 {\n margin-top: 0 !important;\n }\n .mr-xl-0,\n .mx-xl-0 {\n margin-right: 0 !important;\n }\n .mb-xl-0,\n .my-xl-0 {\n margin-bottom: 0 !important;\n }\n .ml-xl-0,\n .mx-xl-0 {\n margin-left: 0 !important;\n }\n .m-xl-1 {\n margin: 0.25rem !important;\n }\n .mt-xl-1,\n .my-xl-1 {\n margin-top: 0.25rem !important;\n }\n .mr-xl-1,\n .mx-xl-1 {\n margin-right: 0.25rem !important;\n }\n .mb-xl-1,\n .my-xl-1 {\n margin-bottom: 0.25rem !important;\n }\n .ml-xl-1,\n .mx-xl-1 {\n margin-left: 0.25rem !important;\n }\n .m-xl-2 {\n margin: 0.5rem !important;\n }\n .mt-xl-2,\n .my-xl-2 {\n margin-top: 0.5rem !important;\n }\n .mr-xl-2,\n .mx-xl-2 {\n margin-right: 0.5rem !important;\n }\n .mb-xl-2,\n .my-xl-2 {\n margin-bottom: 0.5rem !important;\n }\n .ml-xl-2,\n .mx-xl-2 {\n margin-left: 0.5rem !important;\n }\n .m-xl-3 {\n margin: 1rem !important;\n }\n .mt-xl-3,\n .my-xl-3 {\n margin-top: 1rem !important;\n }\n .mr-xl-3,\n .mx-xl-3 {\n margin-right: 1rem !important;\n }\n .mb-xl-3,\n .my-xl-3 {\n margin-bottom: 1rem !important;\n }\n .ml-xl-3,\n .mx-xl-3 {\n margin-left: 1rem !important;\n }\n .m-xl-4 {\n margin: 1.5rem !important;\n }\n .mt-xl-4,\n .my-xl-4 {\n margin-top: 1.5rem !important;\n }\n .mr-xl-4,\n .mx-xl-4 {\n margin-right: 1.5rem !important;\n }\n .mb-xl-4,\n .my-xl-4 {\n margin-bottom: 1.5rem !important;\n }\n .ml-xl-4,\n .mx-xl-4 {\n margin-left: 1.5rem !important;\n }\n .m-xl-5 {\n margin: 3rem !important;\n }\n .mt-xl-5,\n .my-xl-5 {\n margin-top: 3rem !important;\n }\n .mr-xl-5,\n .mx-xl-5 {\n margin-right: 3rem !important;\n }\n .mb-xl-5,\n .my-xl-5 {\n margin-bottom: 3rem !important;\n }\n .ml-xl-5,\n .mx-xl-5 {\n margin-left: 3rem !important;\n }\n .p-xl-0 {\n padding: 0 !important;\n }\n .pt-xl-0,\n .py-xl-0 {\n padding-top: 0 !important;\n }\n .pr-xl-0,\n .px-xl-0 {\n padding-right: 0 !important;\n }\n .pb-xl-0,\n .py-xl-0 {\n padding-bottom: 0 !important;\n }\n .pl-xl-0,\n .px-xl-0 {\n padding-left: 0 !important;\n }\n .p-xl-1 {\n padding: 0.25rem !important;\n }\n .pt-xl-1,\n .py-xl-1 {\n padding-top: 0.25rem !important;\n }\n .pr-xl-1,\n .px-xl-1 {\n padding-right: 0.25rem !important;\n }\n .pb-xl-1,\n .py-xl-1 {\n padding-bottom: 0.25rem !important;\n }\n .pl-xl-1,\n .px-xl-1 {\n padding-left: 0.25rem !important;\n }\n .p-xl-2 {\n padding: 0.5rem !important;\n }\n .pt-xl-2,\n .py-xl-2 {\n padding-top: 0.5rem !important;\n }\n .pr-xl-2,\n .px-xl-2 {\n padding-right: 0.5rem !important;\n }\n .pb-xl-2,\n .py-xl-2 {\n padding-bottom: 0.5rem !important;\n }\n .pl-xl-2,\n .px-xl-2 {\n padding-left: 0.5rem !important;\n }\n .p-xl-3 {\n padding: 1rem !important;\n }\n .pt-xl-3,\n .py-xl-3 {\n padding-top: 1rem !important;\n }\n .pr-xl-3,\n .px-xl-3 {\n padding-right: 1rem !important;\n }\n .pb-xl-3,\n .py-xl-3 {\n padding-bottom: 1rem !important;\n }\n .pl-xl-3,\n .px-xl-3 {\n padding-left: 1rem !important;\n }\n .p-xl-4 {\n padding: 1.5rem !important;\n }\n .pt-xl-4,\n .py-xl-4 {\n padding-top: 1.5rem !important;\n }\n .pr-xl-4,\n .px-xl-4 {\n padding-right: 1.5rem !important;\n }\n .pb-xl-4,\n .py-xl-4 {\n padding-bottom: 1.5rem !important;\n }\n .pl-xl-4,\n .px-xl-4 {\n padding-left: 1.5rem !important;\n }\n .p-xl-5 {\n padding: 3rem !important;\n }\n .pt-xl-5,\n .py-xl-5 {\n padding-top: 3rem !important;\n }\n .pr-xl-5,\n .px-xl-5 {\n padding-right: 3rem !important;\n }\n .pb-xl-5,\n .py-xl-5 {\n padding-bottom: 3rem !important;\n }\n .pl-xl-5,\n .px-xl-5 {\n padding-left: 3rem !important;\n }\n .m-xl-auto {\n margin: auto !important;\n }\n .mt-xl-auto,\n .my-xl-auto {\n margin-top: auto !important;\n }\n .mr-xl-auto,\n .mx-xl-auto {\n margin-right: auto !important;\n }\n .mb-xl-auto,\n .my-xl-auto {\n margin-bottom: auto !important;\n }\n .ml-xl-auto,\n .mx-xl-auto {\n margin-left: auto !important;\n }\n}\n\n.text-monospace {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n.text-justify {\n text-align: justify !important;\n}\n\n.text-nowrap {\n white-space: nowrap !important;\n}\n\n.text-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.text-left {\n text-align: left !important;\n}\n\n.text-right {\n text-align: right !important;\n}\n\n.text-center {\n text-align: center !important;\n}\n\n@media (min-width: 576px) {\n .text-sm-left {\n text-align: left !important;\n }\n .text-sm-right {\n text-align: right !important;\n }\n .text-sm-center {\n text-align: center !important;\n }\n}\n\n@media (min-width: 768px) {\n .text-md-left {\n text-align: left !important;\n }\n .text-md-right {\n text-align: right !important;\n }\n .text-md-center {\n text-align: center !important;\n }\n}\n\n@media (min-width: 992px) {\n .text-lg-left {\n text-align: left !important;\n }\n .text-lg-right {\n text-align: right !important;\n }\n .text-lg-center {\n text-align: center !important;\n }\n}\n\n@media (min-width: 1200px) {\n .text-xl-left {\n text-align: left !important;\n }\n .text-xl-right {\n text-align: right !important;\n }\n .text-xl-center {\n text-align: center !important;\n }\n}\n\n.text-lowercase {\n text-transform: lowercase !important;\n}\n\n.text-uppercase {\n text-transform: uppercase !important;\n}\n\n.text-capitalize {\n text-transform: capitalize !important;\n}\n\n.font-weight-light {\n font-weight: 300 !important;\n}\n\n.font-weight-normal {\n font-weight: 400 !important;\n}\n\n.font-weight-bold {\n font-weight: 700 !important;\n}\n\n.font-italic {\n font-style: italic !important;\n}\n\n.text-white {\n color: #fff !important;\n}\n\n.text-primary {\n color: #007bff !important;\n}\n\na.text-primary:hover, a.text-primary:focus {\n color: #0062cc !important;\n}\n\n.text-secondary {\n color: #6c757d !important;\n}\n\na.text-secondary:hover, a.text-secondary:focus {\n color: #545b62 !important;\n}\n\n.text-success {\n color: #28a745 !important;\n}\n\na.text-success:hover, a.text-success:focus {\n color: #1e7e34 !important;\n}\n\n.text-info {\n color: #17a2b8 !important;\n}\n\na.text-info:hover, a.text-info:focus {\n color: #117a8b !important;\n}\n\n.text-warning {\n color: #ffc107 !important;\n}\n\na.text-warning:hover, a.text-warning:focus {\n color: #d39e00 !important;\n}\n\n.text-danger {\n color: #dc3545 !important;\n}\n\na.text-danger:hover, a.text-danger:focus {\n color: #bd2130 !important;\n}\n\n.text-light {\n color: #f8f9fa !important;\n}\n\na.text-light:hover, a.text-light:focus {\n color: #dae0e5 !important;\n}\n\n.text-dark {\n color: #343a40 !important;\n}\n\na.text-dark:hover, a.text-dark:focus {\n color: #1d2124 !important;\n}\n\n.text-body {\n color: #212529 !important;\n}\n\n.text-muted {\n color: #6c757d !important;\n}\n\n.text-black-50 {\n color: rgba(0, 0, 0, 0.5) !important;\n}\n\n.text-white-50 {\n color: rgba(255, 255, 255, 0.5) !important;\n}\n\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n\n.visible {\n visibility: visible !important;\n}\n\n.invisible {\n visibility: hidden !important;\n}\n\n@media print {\n *,\n *::before,\n *::after {\n text-shadow: none !important;\n box-shadow: none !important;\n }\n a:not(.btn) {\n text-decoration: underline;\n }\n abbr[title]::after {\n content: \" (\" attr(title) \")\";\n }\n pre {\n white-space: pre-wrap !important;\n }\n pre,\n blockquote {\n border: 1px solid #adb5bd;\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n @page {\n size: a3;\n }\n body {\n min-width: 992px !important;\n }\n .container {\n min-width: 992px !important;\n }\n .navbar {\n display: none;\n }\n .badge {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #dee2e6 !important;\n }\n .table-dark {\n color: inherit;\n }\n .table-dark th,\n .table-dark td,\n .table-dark thead th,\n .table-dark tbody + tbody {\n border-color: #dee2e6;\n }\n .table .thead-dark th {\n color: inherit;\n border-color: #dee2e6;\n }\n}\n\n/*# sourceMappingURL=bootstrap.css.map */", + "// Hover mixin and `$enable-hover-media-query` are deprecated.\n//\n// Originally added during our alphas and maintained during betas, this mixin was\n// designed to prevent `:hover` stickiness on iOS-an issue where hover styles\n// would persist after initial touch.\n//\n// For backward compatibility, we've kept these mixins and updated them to\n// always return their regular pseudo-classes instead of a shimmed media query.\n//\n// Issue: https://github.com/twbs/bootstrap/issues/25195\n\n@mixin hover {\n &:hover { @content; }\n}\n\n@mixin hover-focus {\n &:hover,\n &:focus {\n @content;\n }\n}\n\n@mixin plain-hover-focus {\n &,\n &:hover,\n &:focus {\n @content;\n }\n}\n\n@mixin hover-focus-active {\n &:hover,\n &:focus,\n &:active {\n @content;\n }\n}\n", + "// stylelint-disable declaration-no-important, selector-list-comma-newline-after\n\n//\n// Headings\n//\n\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n margin-bottom: $headings-margin-bottom;\n font-family: $headings-font-family;\n font-weight: $headings-font-weight;\n line-height: $headings-line-height;\n color: $headings-color;\n}\n\nh1, .h1 { font-size: $h1-font-size; }\nh2, .h2 { font-size: $h2-font-size; }\nh3, .h3 { font-size: $h3-font-size; }\nh4, .h4 { font-size: $h4-font-size; }\nh5, .h5 { font-size: $h5-font-size; }\nh6, .h6 { font-size: $h6-font-size; }\n\n.lead {\n font-size: $lead-font-size;\n font-weight: $lead-font-weight;\n}\n\n// Type display classes\n.display-1 {\n font-size: $display1-size;\n font-weight: $display1-weight;\n line-height: $display-line-height;\n}\n.display-2 {\n font-size: $display2-size;\n font-weight: $display2-weight;\n line-height: $display-line-height;\n}\n.display-3 {\n font-size: $display3-size;\n font-weight: $display3-weight;\n line-height: $display-line-height;\n}\n.display-4 {\n font-size: $display4-size;\n font-weight: $display4-weight;\n line-height: $display-line-height;\n}\n\n\n//\n// Horizontal rules\n//\n\nhr {\n margin-top: $hr-margin-y;\n margin-bottom: $hr-margin-y;\n border: 0;\n border-top: $hr-border-width solid $hr-border-color;\n}\n\n\n//\n// Emphasis\n//\n\nsmall,\n.small {\n font-size: $small-font-size;\n font-weight: $font-weight-normal;\n}\n\nmark,\n.mark {\n padding: $mark-padding;\n background-color: $mark-bg;\n}\n\n\n//\n// Lists\n//\n\n.list-unstyled {\n @include list-unstyled;\n}\n\n// Inline turns list items into inline-block\n.list-inline {\n @include list-unstyled;\n}\n.list-inline-item {\n display: inline-block;\n\n &:not(:last-child) {\n margin-right: $list-inline-padding;\n }\n}\n\n\n//\n// Misc\n//\n\n// Builds on `abbr`\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\n\n// Blockquotes\n.blockquote {\n margin-bottom: $spacer;\n font-size: $blockquote-font-size;\n}\n\n.blockquote-footer {\n display: block;\n font-size: 80%; // back to default font-size\n color: $blockquote-small-color;\n\n &::before {\n content: \"\\2014 \\00A0\"; // em dash, nbsp\n }\n}\n", + "// Lists\n\n// Unstyled keeps list items block level, just removes default browser padding and list-style\n@mixin list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n", + "// Responsive images (ensure images don't scale beyond their parents)\n//\n// This is purposefully opt-in via an explicit class rather than being the default for all ``s.\n// We previously tried the \"images are responsive by default\" approach in Bootstrap v2,\n// and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)\n// which weren't expecting the images within themselves to be involuntarily resized.\n// See also https://github.com/twbs/bootstrap/issues/18178\n.img-fluid {\n @include img-fluid;\n}\n\n\n// Image thumbnails\n.img-thumbnail {\n padding: $thumbnail-padding;\n background-color: $thumbnail-bg;\n border: $thumbnail-border-width solid $thumbnail-border-color;\n @include border-radius($thumbnail-border-radius);\n @include box-shadow($thumbnail-box-shadow);\n\n // Keep them at most 100% wide\n @include img-fluid;\n}\n\n//\n// Figures\n//\n\n.figure {\n // Ensures the caption's text aligns with the image.\n display: inline-block;\n}\n\n.figure-img {\n margin-bottom: ($spacer / 2);\n line-height: 1;\n}\n\n.figure-caption {\n font-size: $figure-caption-font-size;\n color: $figure-caption-color;\n}\n", + "// Image Mixins\n// - Responsive image\n// - Retina image\n\n\n// Responsive image\n//\n// Keep images from scaling beyond the width of their parents.\n\n@mixin img-fluid {\n // Part 1: Set a maximum relative to the parent\n max-width: 100%;\n // Part 2: Override the height to auto, otherwise images will be stretched\n // when setting a width and height attribute on the img element.\n height: auto;\n}\n\n\n// Retina image\n//\n// Short retina mixin for setting background-image and -size.\n\n// stylelint-disable indentation, media-query-list-comma-newline-after\n@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {\n background-image: url($file-1x);\n\n // Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,\n // but doesn't convert dppx=>dpi.\n // There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.\n // Compatibility info: https://caniuse.com/#feat=css-media-resolution\n @media only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx\n only screen and (min-resolution: 2dppx) { // Standardized\n background-image: url($file-2x);\n background-size: $width-1x $height-1x;\n }\n}\n", + "// Single side border-radius\n\n@mixin border-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-radius: $radius;\n }\n}\n\n@mixin border-top-radius($radius) {\n @if $enable-rounded {\n border-top-left-radius: $radius;\n border-top-right-radius: $radius;\n }\n}\n\n@mixin border-right-radius($radius) {\n @if $enable-rounded {\n border-top-right-radius: $radius;\n border-bottom-right-radius: $radius;\n }\n}\n\n@mixin border-bottom-radius($radius) {\n @if $enable-rounded {\n border-bottom-right-radius: $radius;\n border-bottom-left-radius: $radius;\n }\n}\n\n@mixin border-left-radius($radius) {\n @if $enable-rounded {\n border-top-left-radius: $radius;\n border-bottom-left-radius: $radius;\n }\n}\n", + "// Inline code\ncode {\n font-size: $code-font-size;\n color: $code-color;\n word-break: break-word;\n\n // Streamline the style when inside anchors to avoid broken underline and more\n a > & {\n color: inherit;\n }\n}\n\n// User input typically entered via keyboard\nkbd {\n padding: $kbd-padding-y $kbd-padding-x;\n font-size: $kbd-font-size;\n color: $kbd-color;\n background-color: $kbd-bg;\n @include border-radius($border-radius-sm);\n @include box-shadow($kbd-box-shadow);\n\n kbd {\n padding: 0;\n font-size: 100%;\n font-weight: $nested-kbd-font-weight;\n @include box-shadow(none);\n }\n}\n\n// Blocks of code\npre {\n display: block;\n font-size: $code-font-size;\n color: $pre-color;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n font-size: inherit;\n color: inherit;\n word-break: normal;\n }\n}\n\n// Enable scrollable blocks of code\n.pre-scrollable {\n max-height: $pre-scrollable-max-height;\n overflow-y: scroll;\n}\n", + "// Container widths\n//\n// Set the container width, and override it for fixed navbars in media queries.\n\n@if $enable-grid-classes {\n .container {\n @include make-container();\n @include make-container-max-widths();\n }\n}\n\n// Fluid container\n//\n// Utilizes the mixin meant for fixed width containers, but with 100% width for\n// fluid, full width layouts.\n\n@if $enable-grid-classes {\n .container-fluid {\n @include make-container();\n }\n}\n\n// Row\n//\n// Rows contain and clear the floats of your columns.\n\n@if $enable-grid-classes {\n .row {\n @include make-row();\n }\n\n // Remove the negative margin from default .row, then the horizontal padding\n // from all immediate children columns (to prevent runaway style inheritance).\n .no-gutters {\n margin-right: 0;\n margin-left: 0;\n\n > .col,\n > [class*=\"col-\"] {\n padding-right: 0;\n padding-left: 0;\n }\n }\n}\n\n// Columns\n//\n// Common styles for small and large grid columns\n\n@if $enable-grid-classes {\n @include make-grid-columns();\n}\n", + "/// Grid system\n//\n// Generate semantic grid columns with these mixins.\n\n@mixin make-container() {\n width: 100%;\n padding-right: ($grid-gutter-width / 2);\n padding-left: ($grid-gutter-width / 2);\n margin-right: auto;\n margin-left: auto;\n}\n\n\n// For each breakpoint, define the maximum width of the container in a media query\n@mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) {\n @each $breakpoint, $container-max-width in $max-widths {\n @include media-breakpoint-up($breakpoint, $breakpoints) {\n max-width: $container-max-width;\n }\n }\n}\n\n@mixin make-row() {\n display: flex;\n flex-wrap: wrap;\n margin-right: ($grid-gutter-width / -2);\n margin-left: ($grid-gutter-width / -2);\n}\n\n@mixin make-col-ready() {\n position: relative;\n // Prevent columns from becoming too narrow when at smaller grid tiers by\n // always setting `width: 100%;`. This works because we use `flex` values\n // later on to override this initial width.\n width: 100%;\n min-height: 1px; // Prevent collapsing\n padding-right: ($grid-gutter-width / 2);\n padding-left: ($grid-gutter-width / 2);\n}\n\n@mixin make-col($size, $columns: $grid-columns) {\n flex: 0 0 percentage($size / $columns);\n // Add a `max-width` to ensure content within each column does not blow out\n // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari\n // do not appear to require this.\n max-width: percentage($size / $columns);\n}\n\n@mixin make-col-offset($size, $columns: $grid-columns) {\n $num: $size / $columns;\n margin-left: if($num == 0, 0, percentage($num));\n}\n", + "// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n $min: map-get($breakpoints, $name);\n @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width. Null for the largest (last) breakpoint.\n// The maximum value is calculated as the minimum of the next one less 0.02px\n// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n $next: breakpoint-next($name, $breakpoints);\n @return if($next, breakpoint-min($next, $breakpoints) - .02px, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media that spans multiple breakpoint widths.\n// Makes the @content apply between the min and max breakpoints\n@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($lower, $breakpoints);\n $max: breakpoint-max($upper, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($lower, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($upper, $breakpoints) {\n @content;\n }\n }\n}\n\n// Media between the breakpoint's minimum and maximum widths.\n// No minimum for the smallest breakpoint, and no maximum for the largest one.\n// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n $max: breakpoint-max($name, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($name, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($name, $breakpoints) {\n @content;\n }\n }\n}\n", + "// Framework grid generation\n//\n// Used only by Bootstrap to generate the correct number of grid classes given\n// any value of `$grid-columns`.\n\n@mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {\n // Common properties for all breakpoints\n %grid-column {\n position: relative;\n width: 100%;\n min-height: 1px; // Prevent columns from collapsing when empty\n padding-right: ($gutter / 2);\n padding-left: ($gutter / 2);\n }\n\n @each $breakpoint in map-keys($breakpoints) {\n $infix: breakpoint-infix($breakpoint, $breakpoints);\n\n // Allow columns to stretch full width below their breakpoints\n @for $i from 1 through $columns {\n .col#{$infix}-#{$i} {\n @extend %grid-column;\n }\n }\n .col#{$infix},\n .col#{$infix}-auto {\n @extend %grid-column;\n }\n\n @include media-breakpoint-up($breakpoint, $breakpoints) {\n // Provide basic `.col-{bp}` classes for equal-width flexbox columns\n .col#{$infix} {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n .col#{$infix}-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: none; // Reset earlier grid tiers\n }\n\n @for $i from 1 through $columns {\n .col#{$infix}-#{$i} {\n @include make-col($i, $columns);\n }\n }\n\n .order#{$infix}-first { order: -1; }\n\n .order#{$infix}-last { order: $columns + 1; }\n\n @for $i from 0 through $columns {\n .order#{$infix}-#{$i} { order: $i; }\n }\n\n // `$columns - 1` because offsetting by the width of an entire row isn't possible\n @for $i from 0 through ($columns - 1) {\n @if not ($infix == \"\" and $i == 0) { // Avoid emitting useless .offset-0\n .offset#{$infix}-#{$i} {\n @include make-col-offset($i, $columns);\n }\n }\n }\n }\n }\n}\n", + "//\n// Basic Bootstrap table\n//\n\n.table {\n width: 100%;\n margin-bottom: $spacer;\n background-color: $table-bg; // Reset for nesting within parents with `background-color`.\n\n th,\n td {\n padding: $table-cell-padding;\n vertical-align: top;\n border-top: $table-border-width solid $table-border-color;\n }\n\n thead th {\n vertical-align: bottom;\n border-bottom: (2 * $table-border-width) solid $table-border-color;\n }\n\n tbody + tbody {\n border-top: (2 * $table-border-width) solid $table-border-color;\n }\n\n .table {\n background-color: $body-bg;\n }\n}\n\n\n//\n// Condensed table w/ half padding\n//\n\n.table-sm {\n th,\n td {\n padding: $table-cell-padding-sm;\n }\n}\n\n\n// Border versions\n//\n// Add or remove borders all around the table and between all the columns.\n\n.table-bordered {\n border: $table-border-width solid $table-border-color;\n\n th,\n td {\n border: $table-border-width solid $table-border-color;\n }\n\n thead {\n th,\n td {\n border-bottom-width: (2 * $table-border-width);\n }\n }\n}\n\n.table-borderless {\n th,\n td,\n thead th,\n tbody + tbody {\n border: 0;\n }\n}\n\n// Zebra-striping\n//\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\n\n.table-striped {\n tbody tr:nth-of-type(#{$table-striped-order}) {\n background-color: $table-accent-bg;\n }\n}\n\n\n// Hover effect\n//\n// Placed here since it has to come after the potential zebra striping\n\n.table-hover {\n tbody tr {\n @include hover {\n background-color: $table-hover-bg;\n }\n }\n}\n\n\n// Table backgrounds\n//\n// Exact selectors below required to override `.table-striped` and prevent\n// inheritance to nested tables.\n\n@each $color, $value in $theme-colors {\n @include table-row-variant($color, theme-color-level($color, -9));\n}\n\n@include table-row-variant(active, $table-active-bg);\n\n\n// Dark styles\n//\n// Same table markup, but inverted color scheme: dark background and light text.\n\n// stylelint-disable-next-line no-duplicate-selectors\n.table {\n .thead-dark {\n th {\n color: $table-dark-color;\n background-color: $table-dark-bg;\n border-color: $table-dark-border-color;\n }\n }\n\n .thead-light {\n th {\n color: $table-head-color;\n background-color: $table-head-bg;\n border-color: $table-border-color;\n }\n }\n}\n\n.table-dark {\n color: $table-dark-color;\n background-color: $table-dark-bg;\n\n th,\n td,\n thead th {\n border-color: $table-dark-border-color;\n }\n\n &.table-bordered {\n border: 0;\n }\n\n &.table-striped {\n tbody tr:nth-of-type(odd) {\n background-color: $table-dark-accent-bg;\n }\n }\n\n &.table-hover {\n tbody tr {\n @include hover {\n background-color: $table-dark-hover-bg;\n }\n }\n }\n}\n\n\n// Responsive tables\n//\n// Generate series of `.table-responsive-*` classes for configuring the screen\n// size of where your table will overflow.\n\n.table-responsive {\n @each $breakpoint in map-keys($grid-breakpoints) {\n $next: breakpoint-next($breakpoint, $grid-breakpoints);\n $infix: breakpoint-infix($next, $grid-breakpoints);\n\n &#{$infix} {\n @include media-breakpoint-down($breakpoint) {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057\n\n // Prevent double border on horizontal scroll due to use of `display: block;`\n > .table-bordered {\n border: 0;\n }\n }\n }\n }\n}\n", + "// Tables\n\n@mixin table-row-variant($state, $background) {\n // Exact selectors below required to override `.table-striped` and prevent\n // inheritance to nested tables.\n .table-#{$state} {\n &,\n > th,\n > td {\n background-color: $background;\n }\n }\n\n // Hover states for `.table-hover`\n // Note: this is not available for cells or rows within `thead` or `tfoot`.\n .table-hover {\n $hover-background: darken($background, 5%);\n\n .table-#{$state} {\n @include hover {\n background-color: $hover-background;\n\n > td,\n > th {\n background-color: $hover-background;\n }\n }\n }\n }\n}\n", + "// Bootstrap functions\n//\n// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.\n\n// Ascending\n// Used to evaluate Sass maps like our grid breakpoints.\n@mixin _assert-ascending($map, $map-name) {\n $prev-key: null;\n $prev-num: null;\n @each $key, $num in $map {\n @if $prev-num == null {\n // Do nothing\n } @else if not comparable($prev-num, $num) {\n @warn \"Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !\";\n } @else if $prev-num >= $num {\n @warn \"Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !\";\n }\n $prev-key: $key;\n $prev-num: $num;\n }\n}\n\n// Starts at zero\n// Another grid mixin that ensures the min-width of the lowest breakpoint starts at 0.\n@mixin _assert-starts-at-zero($map) {\n $values: map-values($map);\n $first-value: nth($values, 1);\n @if $first-value != 0 {\n @warn \"First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}.\";\n }\n}\n\n// Replace `$search` with `$replace` in `$string`\n// Used on our SVG icon backgrounds for custom forms.\n//\n// @author Hugo Giraudel\n// @param {String} $string - Initial string\n// @param {String} $search - Substring to replace\n// @param {String} $replace ('') - New value\n// @return {String} - Updated string\n@function str-replace($string, $search, $replace: \"\") {\n $index: str-index($string, $search);\n\n @if $index {\n @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);\n }\n\n @return $string;\n}\n\n// Color contrast\n@function color-yiq($color) {\n $r: red($color);\n $g: green($color);\n $b: blue($color);\n\n $yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;\n\n @if ($yiq >= $yiq-contrasted-threshold) {\n @return $yiq-text-dark;\n } @else {\n @return $yiq-text-light;\n }\n}\n\n// Retrieve color Sass maps\n@function color($key: \"blue\") {\n @return map-get($colors, $key);\n}\n\n@function theme-color($key: \"primary\") {\n @return map-get($theme-colors, $key);\n}\n\n@function gray($key: \"100\") {\n @return map-get($grays, $key);\n}\n\n// Request a theme color level\n@function theme-color-level($color-name: \"primary\", $level: 0) {\n $color: theme-color($color-name);\n $color-base: if($level > 0, $black, $white);\n $level: abs($level);\n\n @return mix($color-base, $color, $level * $theme-color-interval);\n}\n", + "// stylelint-disable selector-no-qualifying-type\n\n//\n// Textual form controls\n//\n\n.form-control {\n display: block;\n width: 100%;\n height: $input-height;\n padding: $input-padding-y $input-padding-x;\n font-size: $font-size-base;\n line-height: $input-line-height;\n color: $input-color;\n background-color: $input-bg;\n background-clip: padding-box;\n border: $input-border-width solid $input-border-color;\n\n // Note: This has no effect on `s in CSS.\n @if $enable-rounded {\n // Manually use the if/else instead of the mixin to account for iOS override\n border-radius: $input-border-radius;\n } @else {\n // Otherwise undo the iOS default\n border-radius: 0;\n }\n\n @include box-shadow($input-box-shadow);\n @include transition($input-transition);\n\n // Unstyle the caret on ` receives focus\n // in IE and (under certain conditions) Edge, as it looks bad and cannot be made to\n // match the appearance of the native widget.\n // See https://github.com/twbs/bootstrap/issues/19398.\n color: $input-color;\n background-color: $input-bg;\n }\n}\n\n// Make file inputs better match text inputs by forcing them to new lines.\n.form-control-file,\n.form-control-range {\n display: block;\n width: 100%;\n}\n\n\n//\n// Labels\n//\n\n// For use with horizontal and inline forms, when you need the label (or legend)\n// text to align with the form controls.\n.col-form-label {\n padding-top: calc(#{$input-padding-y} + #{$input-border-width});\n padding-bottom: calc(#{$input-padding-y} + #{$input-border-width});\n margin-bottom: 0; // Override the `
+ + + + + + + + \ No newline at end of file diff --git a/src/inc/paypal/PaypalIPN.php b/src/inc/paypal/PaypalIPN.php new file mode 100644 index 0000000..39bf354 --- /dev/null +++ b/src/inc/paypal/PaypalIPN.php @@ -0,0 +1,138 @@ +use_sandbox = true; + } + + /** + * Sets curl to use php curl's built in certs (may be required in some + * environments). + * @return void + */ + public function usePHPCerts() { + $this->use_local_certs = false; + } + + /** + * Determine endpoint to post the verification data to. + * + * @return string + */ + public function getPaypalUri() { + if ($this->use_sandbox) { + return self::SANDBOX_VERIFY_URI; + } else { + return self::VERIFY_URI; + } + } + + /** + * Verification Function + * Sends the incoming post data back to PayPal using the cURL library. + * + * @return bool + * @throws Exception + */ + public function verifyIPN() { + if (!count($_POST)) { + throw new Exception("Missing POST Data"); + } + + $raw_post_data = file_get_contents('php://input'); + $raw_post_array = explode('&', $raw_post_data); + $myPost = array(); + foreach ($raw_post_array as $keyval) { + $keyval = explode('=', $keyval); + if (count($keyval) == 2) { + // Since we do not want the plus in the datetime string to be encoded to a space, we manually encode it. + if ($keyval[0] === 'payment_date') { + if (substr_count($keyval[1], '+') === 1) { + $keyval[1] = str_replace('+', '%2B', $keyval[1]); + } + } + $myPost[$keyval[0]] = urldecode($keyval[1]); + } + } + + // Build the body of the verification post request, adding the _notify-validate command. + $req = 'cmd=_notify-validate'; + $get_magic_quotes_exists = false; + if (function_exists('get_magic_quotes_gpc')) { + $get_magic_quotes_exists = true; + } + foreach ($myPost as $key => $value) { + if ($get_magic_quotes_exists == true && get_magic_quotes_gpc() == 1) { + $value = urlencode(stripslashes($value)); + } else { + $value = urlencode($value); + } + $req .= "&$key=$value"; + } + + // Post the data back to PayPal, using curl. Throw exceptions if errors occur. + $ch = curl_init($this->getPaypalUri()); + curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); + curl_setopt($ch, CURLOPT_POST, 1); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($ch, CURLOPT_POSTFIELDS, $req); + curl_setopt($ch, CURLOPT_SSLVERSION, 6); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); + + // This is often required if the server is missing a global cert bundle, or is using an outdated one. + if ($this->use_local_certs) { + curl_setopt($ch, CURLOPT_CAINFO, __DIR__ . "/cert/cacert.pem"); + } + curl_setopt($ch, CURLOPT_FORBID_REUSE, 1); + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); + curl_setopt($ch, CURLOPT_HTTPHEADER, array( + 'User-Agent: PHP-IPN-Verification-Script', + 'Connection: Close', + )); + $res = curl_exec($ch); + if (!($res)) { + $errno = curl_errno($ch); + $errstr = curl_error($ch); + curl_close($ch); + throw new Exception("cURL error: [$errno] $errstr"); + } + + $info = curl_getinfo($ch); + $http_code = $info['http_code']; + if ($http_code != 200) { + throw new Exception("PayPal responded with http code $http_code"); + } + + curl_close($ch); + + // Check if PayPal verifies the IPN data, and if so, return true. + if ($res == self::VALID) { + return true; + } else { + return false; + } + } +} diff --git a/src/index.php b/src/index.php new file mode 100644 index 0000000..10053a8 --- /dev/null +++ b/src/index.php @@ -0,0 +1,94 @@ +select(null, $_SESSION["email"]); +} + +$mission = new \Dietetique\Models\Configuration("mission"); +$fonctionnement = new \Dietetique\Models\Configuration("fonctionnement"); +?> + + + + + + + + + + + + + + + + + Diététique + + + + + +
+
+

Accueil

+

Regroupement d'achat de la techniques de diététique

+
+
+ +
+ +
+ valeur != null || $mission->valeur != ""): ?> +
"> +
+

Notre mission

+
+

valeur ?>

+
+
+ + + valeur != null || $fonctionnement->valeur != ""): ?> +
"> +
+

Fonctionnement

+
+

valeur ?>

+
+
+ +
+ + +
+ + + + + \ No newline at end of file diff --git a/src/js/bootstrap.js b/src/js/bootstrap.js new file mode 100644 index 0000000..01fbbcb --- /dev/null +++ b/src/js/bootstrap.js @@ -0,0 +1,2363 @@ +/*! + * Bootstrap v3.3.6 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under the MIT license + */ + +if (typeof jQuery === 'undefined') { + throw new Error('Bootstrap\'s JavaScript requires jQuery') +} + ++function ($) { + 'use strict'; + var version = $.fn.jquery.split(' ')[0].split('.') + if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 2)) { + throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3') + } +}(jQuery); + +/* ======================================================================== + * Bootstrap: transition.js v3.3.6 + * http://getbootstrap.com/javascript/#transitions + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) + // ============================================================ + + function transitionEnd() { + var el = document.createElement('bootstrap') + + var transEndEventNames = { + WebkitTransition : 'webkitTransitionEnd', + MozTransition : 'transitionend', + OTransition : 'oTransitionEnd otransitionend', + transition : 'transitionend' + } + + for (var name in transEndEventNames) { + if (el.style[name] !== undefined) { + return { end: transEndEventNames[name] } + } + } + + return false // explicit for ie8 ( ._.) + } + + // http://blog.alexmaccaw.com/css-transitions + $.fn.emulateTransitionEnd = function (duration) { + var called = false + var $el = this + $(this).one('bsTransitionEnd', function () { called = true }) + var callback = function () { if (!called) $($el).trigger($.support.transition.end) } + setTimeout(callback, duration) + return this + } + + $(function () { + $.support.transition = transitionEnd() + + if (!$.support.transition) return + + $.event.special.bsTransitionEnd = { + bindType: $.support.transition.end, + delegateType: $.support.transition.end, + handle: function (e) { + if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) + } + } + }) + +}(jQuery); + +/* ======================================================================== + * Bootstrap: alert.js v3.3.6 + * http://getbootstrap.com/javascript/#alerts + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // ALERT CLASS DEFINITION + // ====================== + + var dismiss = '[data-dismiss="alert"]' + var Alert = function (el) { + $(el).on('click', dismiss, this.close) + } + + Alert.VERSION = '3.3.6' + + Alert.TRANSITION_DURATION = 150 + + Alert.prototype.close = function (e) { + var $this = $(this) + var selector = $this.attr('data-target') + + if (!selector) { + selector = $this.attr('href') + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 + } + + var $parent = $(selector) + + if (e) e.preventDefault() + + if (!$parent.length) { + $parent = $this.closest('.alert') + } + + $parent.trigger(e = $.Event('close.bs.alert')) + + if (e.isDefaultPrevented()) return + + $parent.removeClass('in') + + function removeElement() { + // detach from parent, fire event then clean up data + $parent.detach().trigger('closed.bs.alert').remove() + } + + $.support.transition && $parent.hasClass('fade') ? + $parent + .one('bsTransitionEnd', removeElement) + .emulateTransitionEnd(Alert.TRANSITION_DURATION) : + removeElement() + } + + + // ALERT PLUGIN DEFINITION + // ======================= + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.alert') + + if (!data) $this.data('bs.alert', (data = new Alert(this))) + if (typeof option == 'string') data[option].call($this) + }) + } + + var old = $.fn.alert + + $.fn.alert = Plugin + $.fn.alert.Constructor = Alert + + + // ALERT NO CONFLICT + // ================= + + $.fn.alert.noConflict = function () { + $.fn.alert = old + return this + } + + + // ALERT DATA-API + // ============== + + $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) + +}(jQuery); + +/* ======================================================================== + * Bootstrap: button.js v3.3.6 + * http://getbootstrap.com/javascript/#buttons + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // BUTTON PUBLIC CLASS DEFINITION + // ============================== + + var Button = function (element, options) { + this.$element = $(element) + this.options = $.extend({}, Button.DEFAULTS, options) + this.isLoading = false + } + + Button.VERSION = '3.3.6' + + Button.DEFAULTS = { + loadingText: 'loading...' + } + + Button.prototype.setState = function (state) { + var d = 'disabled' + var $el = this.$element + var val = $el.is('input') ? 'val' : 'html' + var data = $el.data() + + state += 'Text' + + if (data.resetText == null) $el.data('resetText', $el[val]()) + + // push to event loop to allow forms to submit + setTimeout($.proxy(function () { + $el[val](data[state] == null ? this.options[state] : data[state]) + + if (state == 'loadingText') { + this.isLoading = true + $el.addClass(d).attr(d, d) + } else if (this.isLoading) { + this.isLoading = false + $el.removeClass(d).removeAttr(d) + } + }, this), 0) + } + + Button.prototype.toggle = function () { + var changed = true + var $parent = this.$element.closest('[data-toggle="buttons"]') + + if ($parent.length) { + var $input = this.$element.find('input') + if ($input.prop('type') == 'radio') { + if ($input.prop('checked')) changed = false + $parent.find('.active').removeClass('active') + this.$element.addClass('active') + } else if ($input.prop('type') == 'checkbox') { + if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false + this.$element.toggleClass('active') + } + $input.prop('checked', this.$element.hasClass('active')) + if (changed) $input.trigger('change') + } else { + this.$element.attr('aria-pressed', !this.$element.hasClass('active')) + this.$element.toggleClass('active') + } + } + + + // BUTTON PLUGIN DEFINITION + // ======================== + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.button') + var options = typeof option == 'object' && option + + if (!data) $this.data('bs.button', (data = new Button(this, options))) + + if (option == 'toggle') data.toggle() + else if (option) data.setState(option) + }) + } + + var old = $.fn.button + + $.fn.button = Plugin + $.fn.button.Constructor = Button + + + // BUTTON NO CONFLICT + // ================== + + $.fn.button.noConflict = function () { + $.fn.button = old + return this + } + + + // BUTTON DATA-API + // =============== + + $(document) + .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) { + var $btn = $(e.target) + if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') + Plugin.call($btn, 'toggle') + if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault() + }) + .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) { + $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type)) + }) + +}(jQuery); + +/* ======================================================================== + * Bootstrap: carousel.js v3.3.6 + * http://getbootstrap.com/javascript/#carousel + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // CAROUSEL CLASS DEFINITION + // ========================= + + var Carousel = function (element, options) { + this.$element = $(element) + this.$indicators = this.$element.find('.carousel-indicators') + this.options = options + this.paused = null + this.sliding = null + this.interval = null + this.$active = null + this.$items = null + + this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this)) + + this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element + .on('mouseenter.bs.carousel', $.proxy(this.pause, this)) + .on('mouseleave.bs.carousel', $.proxy(this.cycle, this)) + } + + Carousel.VERSION = '3.3.6' + + Carousel.TRANSITION_DURATION = 600 + + Carousel.DEFAULTS = { + interval: 5000, + pause: 'hover', + wrap: true, + keyboard: true + } + + Carousel.prototype.keydown = function (e) { + if (/input|textarea/i.test(e.target.tagName)) return + switch (e.which) { + case 37: this.prev(); break + case 39: this.next(); break + default: return + } + + e.preventDefault() + } + + Carousel.prototype.cycle = function (e) { + e || (this.paused = false) + + this.interval && clearInterval(this.interval) + + this.options.interval + && !this.paused + && (this.interval = setInterval($.proxy(this.next, this), this.options.interval)) + + return this + } + + Carousel.prototype.getItemIndex = function (item) { + this.$items = item.parent().children('.item') + return this.$items.index(item || this.$active) + } + + Carousel.prototype.getItemForDirection = function (direction, active) { + var activeIndex = this.getItemIndex(active) + var willWrap = (direction == 'prev' && activeIndex === 0) + || (direction == 'next' && activeIndex == (this.$items.length - 1)) + if (willWrap && !this.options.wrap) return active + var delta = direction == 'prev' ? -1 : 1 + var itemIndex = (activeIndex + delta) % this.$items.length + return this.$items.eq(itemIndex) + } + + Carousel.prototype.to = function (pos) { + var that = this + var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active')) + + if (pos > (this.$items.length - 1) || pos < 0) return + + if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid" + if (activeIndex == pos) return this.pause().cycle() + + return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos)) + } + + Carousel.prototype.pause = function (e) { + e || (this.paused = true) + + if (this.$element.find('.next, .prev').length && $.support.transition) { + this.$element.trigger($.support.transition.end) + this.cycle(true) + } + + this.interval = clearInterval(this.interval) + + return this + } + + Carousel.prototype.next = function () { + if (this.sliding) return + return this.slide('next') + } + + Carousel.prototype.prev = function () { + if (this.sliding) return + return this.slide('prev') + } + + Carousel.prototype.slide = function (type, next) { + var $active = this.$element.find('.item.active') + var $next = next || this.getItemForDirection(type, $active) + var isCycling = this.interval + var direction = type == 'next' ? 'left' : 'right' + var that = this + + if ($next.hasClass('active')) return (this.sliding = false) + + var relatedTarget = $next[0] + var slideEvent = $.Event('slide.bs.carousel', { + relatedTarget: relatedTarget, + direction: direction + }) + this.$element.trigger(slideEvent) + if (slideEvent.isDefaultPrevented()) return + + this.sliding = true + + isCycling && this.pause() + + if (this.$indicators.length) { + this.$indicators.find('.active').removeClass('active') + var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)]) + $nextIndicator && $nextIndicator.addClass('active') + } + + var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid" + if ($.support.transition && this.$element.hasClass('slide')) { + $next.addClass(type) + $next[0].offsetWidth // force reflow + $active.addClass(direction) + $next.addClass(direction) + $active + .one('bsTransitionEnd', function () { + $next.removeClass([type, direction].join(' ')).addClass('active') + $active.removeClass(['active', direction].join(' ')) + that.sliding = false + setTimeout(function () { + that.$element.trigger(slidEvent) + }, 0) + }) + .emulateTransitionEnd(Carousel.TRANSITION_DURATION) + } else { + $active.removeClass('active') + $next.addClass('active') + this.sliding = false + this.$element.trigger(slidEvent) + } + + isCycling && this.cycle() + + return this + } + + + // CAROUSEL PLUGIN DEFINITION + // ========================== + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.carousel') + var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option) + var action = typeof option == 'string' ? option : options.slide + + if (!data) $this.data('bs.carousel', (data = new Carousel(this, options))) + if (typeof option == 'number') data.to(option) + else if (action) data[action]() + else if (options.interval) data.pause().cycle() + }) + } + + var old = $.fn.carousel + + $.fn.carousel = Plugin + $.fn.carousel.Constructor = Carousel + + + // CAROUSEL NO CONFLICT + // ==================== + + $.fn.carousel.noConflict = function () { + $.fn.carousel = old + return this + } + + + // CAROUSEL DATA-API + // ================= + + var clickHandler = function (e) { + var href + var $this = $(this) + var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7 + if (!$target.hasClass('carousel')) return + var options = $.extend({}, $target.data(), $this.data()) + var slideIndex = $this.attr('data-slide-to') + if (slideIndex) options.interval = false + + Plugin.call($target, options) + + if (slideIndex) { + $target.data('bs.carousel').to(slideIndex) + } + + e.preventDefault() + } + + $(document) + .on('click.bs.carousel.data-api', '[data-slide]', clickHandler) + .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler) + + $(window).on('load', function () { + $('[data-ride="carousel"]').each(function () { + var $carousel = $(this) + Plugin.call($carousel, $carousel.data()) + }) + }) + +}(jQuery); + +/* ======================================================================== + * Bootstrap: collapse.js v3.3.6 + * http://getbootstrap.com/javascript/#collapse + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // COLLAPSE PUBLIC CLASS DEFINITION + // ================================ + + var Collapse = function (element, options) { + this.$element = $(element) + this.options = $.extend({}, Collapse.DEFAULTS, options) + this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' + + '[data-toggle="collapse"][data-target="#' + element.id + '"]') + this.transitioning = null + + if (this.options.parent) { + this.$parent = this.getParent() + } else { + this.addAriaAndCollapsedClass(this.$element, this.$trigger) + } + + if (this.options.toggle) this.toggle() + } + + Collapse.VERSION = '3.3.6' + + Collapse.TRANSITION_DURATION = 350 + + Collapse.DEFAULTS = { + toggle: true + } + + Collapse.prototype.dimension = function () { + var hasWidth = this.$element.hasClass('width') + return hasWidth ? 'width' : 'height' + } + + Collapse.prototype.show = function () { + if (this.transitioning || this.$element.hasClass('in')) return + + var activesData + var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing') + + if (actives && actives.length) { + activesData = actives.data('bs.collapse') + if (activesData && activesData.transitioning) return + } + + var startEvent = $.Event('show.bs.collapse') + this.$element.trigger(startEvent) + if (startEvent.isDefaultPrevented()) return + + if (actives && actives.length) { + Plugin.call(actives, 'hide') + activesData || actives.data('bs.collapse', null) + } + + var dimension = this.dimension() + + this.$element + .removeClass('collapse') + .addClass('collapsing')[dimension](0) + .attr('aria-expanded', true) + + this.$trigger + .removeClass('collapsed') + .attr('aria-expanded', true) + + this.transitioning = 1 + + var complete = function () { + this.$element + .removeClass('collapsing') + .addClass('collapse in')[dimension]('') + this.transitioning = 0 + this.$element + .trigger('shown.bs.collapse') + } + + if (!$.support.transition) return complete.call(this) + + var scrollSize = $.camelCase(['scroll', dimension].join('-')) + + this.$element + .one('bsTransitionEnd', $.proxy(complete, this)) + .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize]) + } + + Collapse.prototype.hide = function () { + if (this.transitioning || !this.$element.hasClass('in')) return + + var startEvent = $.Event('hide.bs.collapse') + this.$element.trigger(startEvent) + if (startEvent.isDefaultPrevented()) return + + var dimension = this.dimension() + + this.$element[dimension](this.$element[dimension]())[0].offsetHeight + + this.$element + .addClass('collapsing') + .removeClass('collapse in') + .attr('aria-expanded', false) + + this.$trigger + .addClass('collapsed') + .attr('aria-expanded', false) + + this.transitioning = 1 + + var complete = function () { + this.transitioning = 0 + this.$element + .removeClass('collapsing') + .addClass('collapse') + .trigger('hidden.bs.collapse') + } + + if (!$.support.transition) return complete.call(this) + + this.$element + [dimension](0) + .one('bsTransitionEnd', $.proxy(complete, this)) + .emulateTransitionEnd(Collapse.TRANSITION_DURATION) + } + + Collapse.prototype.toggle = function () { + this[this.$element.hasClass('in') ? 'hide' : 'show']() + } + + Collapse.prototype.getParent = function () { + return $(this.options.parent) + .find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]') + .each($.proxy(function (i, element) { + var $element = $(element) + this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element) + }, this)) + .end() + } + + Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) { + var isOpen = $element.hasClass('in') + + $element.attr('aria-expanded', isOpen) + $trigger + .toggleClass('collapsed', !isOpen) + .attr('aria-expanded', isOpen) + } + + function getTargetFromTrigger($trigger) { + var href + var target = $trigger.attr('data-target') + || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7 + + return $(target) + } + + + // COLLAPSE PLUGIN DEFINITION + // ========================== + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.collapse') + var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option) + + if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false + if (!data) $this.data('bs.collapse', (data = new Collapse(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + var old = $.fn.collapse + + $.fn.collapse = Plugin + $.fn.collapse.Constructor = Collapse + + + // COLLAPSE NO CONFLICT + // ==================== + + $.fn.collapse.noConflict = function () { + $.fn.collapse = old + return this + } + + + // COLLAPSE DATA-API + // ================= + + $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) { + var $this = $(this) + + if (!$this.attr('data-target')) e.preventDefault() + + var $target = getTargetFromTrigger($this) + var data = $target.data('bs.collapse') + var option = data ? 'toggle' : $this.data() + + Plugin.call($target, option) + }) + +}(jQuery); + +/* ======================================================================== + * Bootstrap: dropdown.js v3.3.6 + * http://getbootstrap.com/javascript/#dropdowns + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // DROPDOWN CLASS DEFINITION + // ========================= + + var backdrop = '.dropdown-backdrop' + var toggle = '[data-toggle="dropdown"]' + var Dropdown = function (element) { + $(element).on('click.bs.dropdown', this.toggle) + } + + Dropdown.VERSION = '3.3.6' + + function getParent($this) { + var selector = $this.attr('data-target') + + if (!selector) { + selector = $this.attr('href') + selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 + } + + var $parent = selector && $(selector) + + return $parent && $parent.length ? $parent : $this.parent() + } + + function clearMenus(e) { + if (e && e.which === 3) return + $(backdrop).remove() + $(toggle).each(function () { + var $this = $(this) + var $parent = getParent($this) + var relatedTarget = { relatedTarget: this } + + if (!$parent.hasClass('open')) return + + if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return + + $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget)) + + if (e.isDefaultPrevented()) return + + $this.attr('aria-expanded', 'false') + $parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget)) + }) + } + + Dropdown.prototype.toggle = function (e) { + var $this = $(this) + + if ($this.is('.disabled, :disabled')) return + + var $parent = getParent($this) + var isActive = $parent.hasClass('open') + + clearMenus() + + if (!isActive) { + if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) { + // if mobile we use a backdrop because click events don't delegate + $(document.createElement('div')) + .addClass('dropdown-backdrop') + .insertAfter($(this)) + .on('click', clearMenus) + } + + var relatedTarget = { relatedTarget: this } + $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget)) + + if (e.isDefaultPrevented()) return + + $this + .trigger('focus') + .attr('aria-expanded', 'true') + + $parent + .toggleClass('open') + .trigger($.Event('shown.bs.dropdown', relatedTarget)) + } + + return false + } + + Dropdown.prototype.keydown = function (e) { + if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return + + var $this = $(this) + + e.preventDefault() + e.stopPropagation() + + if ($this.is('.disabled, :disabled')) return + + var $parent = getParent($this) + var isActive = $parent.hasClass('open') + + if (!isActive && e.which != 27 || isActive && e.which == 27) { + if (e.which == 27) $parent.find(toggle).trigger('focus') + return $this.trigger('click') + } + + var desc = ' li:not(.disabled):visible a' + var $items = $parent.find('.dropdown-menu' + desc) + + if (!$items.length) return + + var index = $items.index(e.target) + + if (e.which == 38 && index > 0) index-- // up + if (e.which == 40 && index < $items.length - 1) index++ // down + if (!~index) index = 0 + + $items.eq(index).trigger('focus') + } + + + // DROPDOWN PLUGIN DEFINITION + // ========================== + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.dropdown') + + if (!data) $this.data('bs.dropdown', (data = new Dropdown(this))) + if (typeof option == 'string') data[option].call($this) + }) + } + + var old = $.fn.dropdown + + $.fn.dropdown = Plugin + $.fn.dropdown.Constructor = Dropdown + + + // DROPDOWN NO CONFLICT + // ==================== + + $.fn.dropdown.noConflict = function () { + $.fn.dropdown = old + return this + } + + + // APPLY TO STANDARD DROPDOWN ELEMENTS + // =================================== + + $(document) + .on('click.bs.dropdown.data-api', clearMenus) + .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) + .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle) + .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown) + .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown) + +}(jQuery); + +/* ======================================================================== + * Bootstrap: modal.js v3.3.6 + * http://getbootstrap.com/javascript/#modals + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // MODAL CLASS DEFINITION + // ====================== + + var Modal = function (element, options) { + this.options = options + this.$body = $(document.body) + this.$element = $(element) + this.$dialog = this.$element.find('.modal-dialog') + this.$backdrop = null + this.isShown = null + this.originalBodyPad = null + this.scrollbarWidth = 0 + this.ignoreBackdropClick = false + + if (this.options.remote) { + this.$element + .find('.modal-content') + .load(this.options.remote, $.proxy(function () { + this.$element.trigger('loaded.bs.modal') + }, this)) + } + } + + Modal.VERSION = '3.3.6' + + Modal.TRANSITION_DURATION = 300 + Modal.BACKDROP_TRANSITION_DURATION = 150 + + Modal.DEFAULTS = { + backdrop: true, + keyboard: true, + show: true + } + + Modal.prototype.toggle = function (_relatedTarget) { + return this.isShown ? this.hide() : this.show(_relatedTarget) + } + + Modal.prototype.show = function (_relatedTarget) { + var that = this + var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget }) + + this.$element.trigger(e) + + if (this.isShown || e.isDefaultPrevented()) return + + this.isShown = true + + this.checkScrollbar() + this.setScrollbar() + this.$body.addClass('modal-open') + + this.escape() + this.resize() + + this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this)) + + this.$dialog.on('mousedown.dismiss.bs.modal', function () { + that.$element.one('mouseup.dismiss.bs.modal', function (e) { + if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true + }) + }) + + this.backdrop(function () { + var transition = $.support.transition && that.$element.hasClass('fade') + + if (!that.$element.parent().length) { + that.$element.appendTo(that.$body) // don't move modals dom position + } + + that.$element + .show() + .scrollTop(0) + + that.adjustDialog() + + if (transition) { + that.$element[0].offsetWidth // force reflow + } + + that.$element.addClass('in') + + that.enforceFocus() + + var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget }) + + transition ? + that.$dialog // wait for modal to slide in + .one('bsTransitionEnd', function () { + that.$element.trigger('focus').trigger(e) + }) + .emulateTransitionEnd(Modal.TRANSITION_DURATION) : + that.$element.trigger('focus').trigger(e) + }) + } + + Modal.prototype.hide = function (e) { + if (e) e.preventDefault() + + e = $.Event('hide.bs.modal') + + this.$element.trigger(e) + + if (!this.isShown || e.isDefaultPrevented()) return + + this.isShown = false + + this.escape() + this.resize() + + $(document).off('focusin.bs.modal') + + this.$element + .removeClass('in') + .off('click.dismiss.bs.modal') + .off('mouseup.dismiss.bs.modal') + + this.$dialog.off('mousedown.dismiss.bs.modal') + + $.support.transition && this.$element.hasClass('fade') ? + this.$element + .one('bsTransitionEnd', $.proxy(this.hideModal, this)) + .emulateTransitionEnd(Modal.TRANSITION_DURATION) : + this.hideModal() + } + + Modal.prototype.enforceFocus = function () { + $(document) + .off('focusin.bs.modal') // guard against infinite focus loop + .on('focusin.bs.modal', $.proxy(function (e) { + if (this.$element[0] !== e.target && !this.$element.has(e.target).length) { + this.$element.trigger('focus') + } + }, this)) + } + + Modal.prototype.escape = function () { + if (this.isShown && this.options.keyboard) { + this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) { + e.which == 27 && this.hide() + }, this)) + } else if (!this.isShown) { + this.$element.off('keydown.dismiss.bs.modal') + } + } + + Modal.prototype.resize = function () { + if (this.isShown) { + $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this)) + } else { + $(window).off('resize.bs.modal') + } + } + + Modal.prototype.hideModal = function () { + var that = this + this.$element.hide() + this.backdrop(function () { + that.$body.removeClass('modal-open') + that.resetAdjustments() + that.resetScrollbar() + that.$element.trigger('hidden.bs.modal') + }) + } + + Modal.prototype.removeBackdrop = function () { + this.$backdrop && this.$backdrop.remove() + this.$backdrop = null + } + + Modal.prototype.backdrop = function (callback) { + var that = this + var animate = this.$element.hasClass('fade') ? 'fade' : '' + + if (this.isShown && this.options.backdrop) { + var doAnimate = $.support.transition && animate + + this.$backdrop = $(document.createElement('div')) + .addClass('modal-backdrop ' + animate) + .appendTo(this.$body) + + this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) { + if (this.ignoreBackdropClick) { + this.ignoreBackdropClick = false + return + } + if (e.target !== e.currentTarget) return + this.options.backdrop == 'static' + ? this.$element[0].focus() + : this.hide() + }, this)) + + if (doAnimate) this.$backdrop[0].offsetWidth // force reflow + + this.$backdrop.addClass('in') + + if (!callback) return + + doAnimate ? + this.$backdrop + .one('bsTransitionEnd', callback) + .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) : + callback() + + } else if (!this.isShown && this.$backdrop) { + this.$backdrop.removeClass('in') + + var callbackRemove = function () { + that.removeBackdrop() + callback && callback() + } + $.support.transition && this.$element.hasClass('fade') ? + this.$backdrop + .one('bsTransitionEnd', callbackRemove) + .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) : + callbackRemove() + + } else if (callback) { + callback() + } + } + + // these following methods are used to handle overflowing modals + + Modal.prototype.handleUpdate = function () { + this.adjustDialog() + } + + Modal.prototype.adjustDialog = function () { + var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight + + this.$element.css({ + paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '', + paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : '' + }) + } + + Modal.prototype.resetAdjustments = function () { + this.$element.css({ + paddingLeft: '', + paddingRight: '' + }) + } + + Modal.prototype.checkScrollbar = function () { + var fullWindowWidth = window.innerWidth + if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8 + var documentElementRect = document.documentElement.getBoundingClientRect() + fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left) + } + this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth + this.scrollbarWidth = this.measureScrollbar() + } + + Modal.prototype.setScrollbar = function () { + var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10) + this.originalBodyPad = document.body.style.paddingRight || '' + if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth) + } + + Modal.prototype.resetScrollbar = function () { + this.$body.css('padding-right', this.originalBodyPad) + } + + Modal.prototype.measureScrollbar = function () { // thx walsh + var scrollDiv = document.createElement('div') + scrollDiv.className = 'modal-scrollbar-measure' + this.$body.append(scrollDiv) + var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth + this.$body[0].removeChild(scrollDiv) + return scrollbarWidth + } + + + // MODAL PLUGIN DEFINITION + // ======================= + + function Plugin(option, _relatedTarget) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.modal') + var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option) + + if (!data) $this.data('bs.modal', (data = new Modal(this, options))) + if (typeof option == 'string') data[option](_relatedTarget) + else if (options.show) data.show(_relatedTarget) + }) + } + + var old = $.fn.modal + + $.fn.modal = Plugin + $.fn.modal.Constructor = Modal + + + // MODAL NO CONFLICT + // ================= + + $.fn.modal.noConflict = function () { + $.fn.modal = old + return this + } + + + // MODAL DATA-API + // ============== + + $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) { + var $this = $(this) + var href = $this.attr('href') + var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7 + var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data()) + + if ($this.is('a')) e.preventDefault() + + $target.one('show.bs.modal', function (showEvent) { + if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown + $target.one('hidden.bs.modal', function () { + $this.is(':visible') && $this.trigger('focus') + }) + }) + Plugin.call($target, option, this) + }) + +}(jQuery); + +/* ======================================================================== + * Bootstrap: tooltip.js v3.3.6 + * http://getbootstrap.com/javascript/#tooltip + * Inspired by the original jQuery.tipsy by Jason Frame + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // TOOLTIP PUBLIC CLASS DEFINITION + // =============================== + + var Tooltip = function (element, options) { + this.type = null + this.options = null + this.enabled = null + this.timeout = null + this.hoverState = null + this.$element = null + this.inState = null + + this.init('tooltip', element, options) + } + + Tooltip.VERSION = '3.3.6' + + Tooltip.TRANSITION_DURATION = 150 + + Tooltip.DEFAULTS = { + animation: true, + placement: 'top', + selector: false, + template: '', + trigger: 'hover focus', + title: '', + delay: 0, + html: false, + container: false, + viewport: { + selector: 'body', + padding: 0 + } + } + + Tooltip.prototype.init = function (type, element, options) { + this.enabled = true + this.type = type + this.$element = $(element) + this.options = this.getOptions(options) + this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport)) + this.inState = { click: false, hover: false, focus: false } + + if (this.$element[0] instanceof document.constructor && !this.options.selector) { + throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!') + } + + var triggers = this.options.trigger.split(' ') + + for (var i = triggers.length; i--;) { + var trigger = triggers[i] + + if (trigger == 'click') { + this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this)) + } else if (trigger != 'manual') { + var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin' + var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout' + + this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this)) + this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this)) + } + } + + this.options.selector ? + (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) : + this.fixTitle() + } + + Tooltip.prototype.getDefaults = function () { + return Tooltip.DEFAULTS + } + + Tooltip.prototype.getOptions = function (options) { + options = $.extend({}, this.getDefaults(), this.$element.data(), options) + + if (options.delay && typeof options.delay == 'number') { + options.delay = { + show: options.delay, + hide: options.delay + } + } + + return options + } + + Tooltip.prototype.getDelegateOptions = function () { + var options = {} + var defaults = this.getDefaults() + + this._options && $.each(this._options, function (key, value) { + if (defaults[key] != value) options[key] = value + }) + + return options + } + + Tooltip.prototype.enter = function (obj) { + var self = obj instanceof this.constructor ? + obj : $(obj.currentTarget).data('bs.' + this.type) + + if (!self) { + self = new this.constructor(obj.currentTarget, this.getDelegateOptions()) + $(obj.currentTarget).data('bs.' + this.type, self) + } + + if (obj instanceof $.Event) { + self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true + } + + if (self.tip().hasClass('in') || self.hoverState == 'in') { + self.hoverState = 'in' + return + } + + clearTimeout(self.timeout) + + self.hoverState = 'in' + + if (!self.options.delay || !self.options.delay.show) return self.show() + + self.timeout = setTimeout(function () { + if (self.hoverState == 'in') self.show() + }, self.options.delay.show) + } + + Tooltip.prototype.isInStateTrue = function () { + for (var key in this.inState) { + if (this.inState[key]) return true + } + + return false + } + + Tooltip.prototype.leave = function (obj) { + var self = obj instanceof this.constructor ? + obj : $(obj.currentTarget).data('bs.' + this.type) + + if (!self) { + self = new this.constructor(obj.currentTarget, this.getDelegateOptions()) + $(obj.currentTarget).data('bs.' + this.type, self) + } + + if (obj instanceof $.Event) { + self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false + } + + if (self.isInStateTrue()) return + + clearTimeout(self.timeout) + + self.hoverState = 'out' + + if (!self.options.delay || !self.options.delay.hide) return self.hide() + + self.timeout = setTimeout(function () { + if (self.hoverState == 'out') self.hide() + }, self.options.delay.hide) + } + + Tooltip.prototype.show = function () { + var e = $.Event('show.bs.' + this.type) + + if (this.hasContent() && this.enabled) { + this.$element.trigger(e) + + var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0]) + if (e.isDefaultPrevented() || !inDom) return + var that = this + + var $tip = this.tip() + + var tipId = this.getUID(this.type) + + this.setContent() + $tip.attr('id', tipId) + this.$element.attr('aria-describedby', tipId) + + if (this.options.animation) $tip.addClass('fade') + + var placement = typeof this.options.placement == 'function' ? + this.options.placement.call(this, $tip[0], this.$element[0]) : + this.options.placement + + var autoToken = /\s?auto?\s?/i + var autoPlace = autoToken.test(placement) + if (autoPlace) placement = placement.replace(autoToken, '') || 'top' + + $tip + .detach() + .css({ top: 0, left: 0, display: 'block' }) + .addClass(placement) + .data('bs.' + this.type, this) + + this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element) + this.$element.trigger('inserted.bs.' + this.type) + + var pos = this.getPosition() + var actualWidth = $tip[0].offsetWidth + var actualHeight = $tip[0].offsetHeight + + if (autoPlace) { + var orgPlacement = placement + var viewportDim = this.getPosition(this.$viewport) + + placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' : + placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' : + placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' : + placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' : + placement + + $tip + .removeClass(orgPlacement) + .addClass(placement) + } + + var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight) + + this.applyPlacement(calculatedOffset, placement) + + var complete = function () { + var prevHoverState = that.hoverState + that.$element.trigger('shown.bs.' + that.type) + that.hoverState = null + + if (prevHoverState == 'out') that.leave(that) + } + + $.support.transition && this.$tip.hasClass('fade') ? + $tip + .one('bsTransitionEnd', complete) + .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) : + complete() + } + } + + Tooltip.prototype.applyPlacement = function (offset, placement) { + var $tip = this.tip() + var width = $tip[0].offsetWidth + var height = $tip[0].offsetHeight + + // manually read margins because getBoundingClientRect includes difference + var marginTop = parseInt($tip.css('margin-top'), 10) + var marginLeft = parseInt($tip.css('margin-left'), 10) + + // we must check for NaN for ie 8/9 + if (isNaN(marginTop)) marginTop = 0 + if (isNaN(marginLeft)) marginLeft = 0 + + offset.top += marginTop + offset.left += marginLeft + + // $.fn.offset doesn't round pixel values + // so we use setOffset directly with our own function B-0 + $.offset.setOffset($tip[0], $.extend({ + using: function (props) { + $tip.css({ + top: Math.round(props.top), + left: Math.round(props.left) + }) + } + }, offset), 0) + + $tip.addClass('in') + + // check to see if placing tip in new offset caused the tip to resize itself + var actualWidth = $tip[0].offsetWidth + var actualHeight = $tip[0].offsetHeight + + if (placement == 'top' && actualHeight != height) { + offset.top = offset.top + height - actualHeight + } + + var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight) + + if (delta.left) offset.left += delta.left + else offset.top += delta.top + + var isVertical = /top|bottom/.test(placement) + var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight + var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight' + + $tip.offset(offset) + this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical) + } + + Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) { + this.arrow() + .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%') + .css(isVertical ? 'top' : 'left', '') + } + + Tooltip.prototype.setContent = function () { + var $tip = this.tip() + var title = this.getTitle() + + $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title) + $tip.removeClass('fade in top bottom left right') + } + + Tooltip.prototype.hide = function (callback) { + var that = this + var $tip = $(this.$tip) + var e = $.Event('hide.bs.' + this.type) + + function complete() { + if (that.hoverState != 'in') $tip.detach() + that.$element + .removeAttr('aria-describedby') + .trigger('hidden.bs.' + that.type) + callback && callback() + } + + this.$element.trigger(e) + + if (e.isDefaultPrevented()) return + + $tip.removeClass('in') + + $.support.transition && $tip.hasClass('fade') ? + $tip + .one('bsTransitionEnd', complete) + .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) : + complete() + + this.hoverState = null + + return this + } + + Tooltip.prototype.fixTitle = function () { + var $e = this.$element + if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') { + $e.attr('data-original-title', $e.attr('title') || '').attr('title', '') + } + } + + Tooltip.prototype.hasContent = function () { + return this.getTitle() + } + + Tooltip.prototype.getPosition = function ($element) { + $element = $element || this.$element + + var el = $element[0] + var isBody = el.tagName == 'BODY' + + var elRect = el.getBoundingClientRect() + if (elRect.width == null) { + // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093 + elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top }) + } + var elOffset = isBody ? { top: 0, left: 0 } : $element.offset() + var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() } + var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null + + return $.extend({}, elRect, scroll, outerDims, elOffset) + } + + Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) { + return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } : + placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } : + placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } : + /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width } + + } + + Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { + var delta = { top: 0, left: 0 } + if (!this.$viewport) return delta + + var viewportPadding = this.options.viewport && this.options.viewport.padding || 0 + var viewportDimensions = this.getPosition(this.$viewport) + + if (/right|left/.test(placement)) { + var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll + var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight + if (topEdgeOffset < viewportDimensions.top) { // top overflow + delta.top = viewportDimensions.top - topEdgeOffset + } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow + delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset + } + } else { + var leftEdgeOffset = pos.left - viewportPadding + var rightEdgeOffset = pos.left + viewportPadding + actualWidth + if (leftEdgeOffset < viewportDimensions.left) { // left overflow + delta.left = viewportDimensions.left - leftEdgeOffset + } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow + delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset + } + } + + return delta + } + + Tooltip.prototype.getTitle = function () { + var title + var $e = this.$element + var o = this.options + + title = $e.attr('data-original-title') + || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title) + + return title + } + + Tooltip.prototype.getUID = function (prefix) { + do prefix += ~~(Math.random() * 1000000) + while (document.getElementById(prefix)) + return prefix + } + + Tooltip.prototype.tip = function () { + if (!this.$tip) { + this.$tip = $(this.options.template) + if (this.$tip.length != 1) { + throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!') + } + } + return this.$tip + } + + Tooltip.prototype.arrow = function () { + return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')) + } + + Tooltip.prototype.enable = function () { + this.enabled = true + } + + Tooltip.prototype.disable = function () { + this.enabled = false + } + + Tooltip.prototype.toggleEnabled = function () { + this.enabled = !this.enabled + } + + Tooltip.prototype.toggle = function (e) { + var self = this + if (e) { + self = $(e.currentTarget).data('bs.' + this.type) + if (!self) { + self = new this.constructor(e.currentTarget, this.getDelegateOptions()) + $(e.currentTarget).data('bs.' + this.type, self) + } + } + + if (e) { + self.inState.click = !self.inState.click + if (self.isInStateTrue()) self.enter(self) + else self.leave(self) + } else { + self.tip().hasClass('in') ? self.leave(self) : self.enter(self) + } + } + + Tooltip.prototype.destroy = function () { + var that = this + clearTimeout(this.timeout) + this.hide(function () { + that.$element.off('.' + that.type).removeData('bs.' + that.type) + if (that.$tip) { + that.$tip.detach() + } + that.$tip = null + that.$arrow = null + that.$viewport = null + }) + } + + + // TOOLTIP PLUGIN DEFINITION + // ========================= + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.tooltip') + var options = typeof option == 'object' && option + + if (!data && /destroy|hide/.test(option)) return + if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + var old = $.fn.tooltip + + $.fn.tooltip = Plugin + $.fn.tooltip.Constructor = Tooltip + + + // TOOLTIP NO CONFLICT + // =================== + + $.fn.tooltip.noConflict = function () { + $.fn.tooltip = old + return this + } + +}(jQuery); + +/* ======================================================================== + * Bootstrap: popover.js v3.3.6 + * http://getbootstrap.com/javascript/#popovers + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // POPOVER PUBLIC CLASS DEFINITION + // =============================== + + var Popover = function (element, options) { + this.init('popover', element, options) + } + + if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js') + + Popover.VERSION = '3.3.6' + + Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, { + placement: 'right', + trigger: 'click', + content: '', + template: '' + }) + + + // NOTE: POPOVER EXTENDS tooltip.js + // ================================ + + Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype) + + Popover.prototype.constructor = Popover + + Popover.prototype.getDefaults = function () { + return Popover.DEFAULTS + } + + Popover.prototype.setContent = function () { + var $tip = this.tip() + var title = this.getTitle() + var content = this.getContent() + + $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) + $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events + this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text' + ](content) + + $tip.removeClass('fade top bottom left right in') + + // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do + // this manually by checking the contents. + if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide() + } + + Popover.prototype.hasContent = function () { + return this.getTitle() || this.getContent() + } + + Popover.prototype.getContent = function () { + var $e = this.$element + var o = this.options + + return $e.attr('data-content') + || (typeof o.content == 'function' ? + o.content.call($e[0]) : + o.content) + } + + Popover.prototype.arrow = function () { + return (this.$arrow = this.$arrow || this.tip().find('.arrow')) + } + + + // POPOVER PLUGIN DEFINITION + // ========================= + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.popover') + var options = typeof option == 'object' && option + + if (!data && /destroy|hide/.test(option)) return + if (!data) $this.data('bs.popover', (data = new Popover(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + var old = $.fn.popover + + $.fn.popover = Plugin + $.fn.popover.Constructor = Popover + + + // POPOVER NO CONFLICT + // =================== + + $.fn.popover.noConflict = function () { + $.fn.popover = old + return this + } + +}(jQuery); + +/* ======================================================================== + * Bootstrap: scrollspy.js v3.3.6 + * http://getbootstrap.com/javascript/#scrollspy + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // SCROLLSPY CLASS DEFINITION + // ========================== + + function ScrollSpy(element, options) { + this.$body = $(document.body) + this.$scrollElement = $(element).is(document.body) ? $(window) : $(element) + this.options = $.extend({}, ScrollSpy.DEFAULTS, options) + this.selector = (this.options.target || '') + ' .nav li > a' + this.offsets = [] + this.targets = [] + this.activeTarget = null + this.scrollHeight = 0 + + this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this)) + this.refresh() + this.process() + } + + ScrollSpy.VERSION = '3.3.6' + + ScrollSpy.DEFAULTS = { + offset: 10 + } + + ScrollSpy.prototype.getScrollHeight = function () { + return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight) + } + + ScrollSpy.prototype.refresh = function () { + var that = this + var offsetMethod = 'offset' + var offsetBase = 0 + + this.offsets = [] + this.targets = [] + this.scrollHeight = this.getScrollHeight() + + if (!$.isWindow(this.$scrollElement[0])) { + offsetMethod = 'position' + offsetBase = this.$scrollElement.scrollTop() + } + + this.$body + .find(this.selector) + .map(function () { + var $el = $(this) + var href = $el.data('target') || $el.attr('href') + var $href = /^#./.test(href) && $(href) + + return ($href + && $href.length + && $href.is(':visible') + && [[$href[offsetMethod]().top + offsetBase, href]]) || null + }) + .sort(function (a, b) { return a[0] - b[0] }) + .each(function () { + that.offsets.push(this[0]) + that.targets.push(this[1]) + }) + } + + ScrollSpy.prototype.process = function () { + var scrollTop = this.$scrollElement.scrollTop() + this.options.offset + var scrollHeight = this.getScrollHeight() + var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height() + var offsets = this.offsets + var targets = this.targets + var activeTarget = this.activeTarget + var i + + if (this.scrollHeight != scrollHeight) { + this.refresh() + } + + if (scrollTop >= maxScroll) { + return activeTarget != (i = targets[targets.length - 1]) && this.activate(i) + } + + if (activeTarget && scrollTop < offsets[0]) { + this.activeTarget = null + return this.clear() + } + + for (i = offsets.length; i--;) { + activeTarget != targets[i] + && scrollTop >= offsets[i] + && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1]) + && this.activate(targets[i]) + } + } + + ScrollSpy.prototype.activate = function (target) { + this.activeTarget = target + + this.clear() + + var selector = this.selector + + '[data-target="' + target + '"],' + + this.selector + '[href="' + target + '"]' + + var active = $(selector) + .parents('li') + .addClass('active') + + if (active.parent('.dropdown-menu').length) { + active = active + .closest('li.dropdown') + .addClass('active') + } + + active.trigger('activate.bs.scrollspy') + } + + ScrollSpy.prototype.clear = function () { + $(this.selector) + .parentsUntil(this.options.target, '.active') + .removeClass('active') + } + + + // SCROLLSPY PLUGIN DEFINITION + // =========================== + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.scrollspy') + var options = typeof option == 'object' && option + + if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + var old = $.fn.scrollspy + + $.fn.scrollspy = Plugin + $.fn.scrollspy.Constructor = ScrollSpy + + + // SCROLLSPY NO CONFLICT + // ===================== + + $.fn.scrollspy.noConflict = function () { + $.fn.scrollspy = old + return this + } + + + // SCROLLSPY DATA-API + // ================== + + $(window).on('load.bs.scrollspy.data-api', function () { + $('[data-spy="scroll"]').each(function () { + var $spy = $(this) + Plugin.call($spy, $spy.data()) + }) + }) + +}(jQuery); + +/* ======================================================================== + * Bootstrap: tab.js v3.3.6 + * http://getbootstrap.com/javascript/#tabs + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // TAB CLASS DEFINITION + // ==================== + + var Tab = function (element) { + // jscs:disable requireDollarBeforejQueryAssignment + this.element = $(element) + // jscs:enable requireDollarBeforejQueryAssignment + } + + Tab.VERSION = '3.3.6' + + Tab.TRANSITION_DURATION = 150 + + Tab.prototype.show = function () { + var $this = this.element + var $ul = $this.closest('ul:not(.dropdown-menu)') + var selector = $this.data('target') + + if (!selector) { + selector = $this.attr('href') + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 + } + + if ($this.parent('li').hasClass('active')) return + + var $previous = $ul.find('.active:last a') + var hideEvent = $.Event('hide.bs.tab', { + relatedTarget: $this[0] + }) + var showEvent = $.Event('show.bs.tab', { + relatedTarget: $previous[0] + }) + + $previous.trigger(hideEvent) + $this.trigger(showEvent) + + if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return + + var $target = $(selector) + + this.activate($this.closest('li'), $ul) + this.activate($target, $target.parent(), function () { + $previous.trigger({ + type: 'hidden.bs.tab', + relatedTarget: $this[0] + }) + $this.trigger({ + type: 'shown.bs.tab', + relatedTarget: $previous[0] + }) + }) + } + + Tab.prototype.activate = function (element, container, callback) { + var $active = container.find('> .active') + var transition = callback + && $.support.transition + && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length) + + function next() { + $active + .removeClass('active') + .find('> .dropdown-menu > .active') + .removeClass('active') + .end() + .find('[data-toggle="tab"]') + .attr('aria-expanded', false) + + element + .addClass('active') + .find('[data-toggle="tab"]') + .attr('aria-expanded', true) + + if (transition) { + element[0].offsetWidth // reflow for transition + element.addClass('in') + } else { + element.removeClass('fade') + } + + if (element.parent('.dropdown-menu').length) { + element + .closest('li.dropdown') + .addClass('active') + .end() + .find('[data-toggle="tab"]') + .attr('aria-expanded', true) + } + + callback && callback() + } + + $active.length && transition ? + $active + .one('bsTransitionEnd', next) + .emulateTransitionEnd(Tab.TRANSITION_DURATION) : + next() + + $active.removeClass('in') + } + + + // TAB PLUGIN DEFINITION + // ===================== + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.tab') + + if (!data) $this.data('bs.tab', (data = new Tab(this))) + if (typeof option == 'string') data[option]() + }) + } + + var old = $.fn.tab + + $.fn.tab = Plugin + $.fn.tab.Constructor = Tab + + + // TAB NO CONFLICT + // =============== + + $.fn.tab.noConflict = function () { + $.fn.tab = old + return this + } + + + // TAB DATA-API + // ============ + + var clickHandler = function (e) { + e.preventDefault() + Plugin.call($(this), 'show') + } + + $(document) + .on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler) + .on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler) + +}(jQuery); + +/* ======================================================================== + * Bootstrap: affix.js v3.3.6 + * http://getbootstrap.com/javascript/#affix + * ======================================================================== + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * ======================================================================== */ + + ++function ($) { + 'use strict'; + + // AFFIX CLASS DEFINITION + // ====================== + + var Affix = function (element, options) { + this.options = $.extend({}, Affix.DEFAULTS, options) + + this.$target = $(this.options.target) + .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this)) + .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this)) + + this.$element = $(element) + this.affixed = null + this.unpin = null + this.pinnedOffset = null + + this.checkPosition() + } + + Affix.VERSION = '3.3.6' + + Affix.RESET = 'affix affix-top affix-bottom' + + Affix.DEFAULTS = { + offset: 0, + target: window + } + + Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) { + var scrollTop = this.$target.scrollTop() + var position = this.$element.offset() + var targetHeight = this.$target.height() + + if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false + + if (this.affixed == 'bottom') { + if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom' + return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom' + } + + var initializing = this.affixed == null + var colliderTop = initializing ? scrollTop : position.top + var colliderHeight = initializing ? targetHeight : height + + if (offsetTop != null && scrollTop <= offsetTop) return 'top' + if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom' + + return false + } + + Affix.prototype.getPinnedOffset = function () { + if (this.pinnedOffset) return this.pinnedOffset + this.$element.removeClass(Affix.RESET).addClass('affix') + var scrollTop = this.$target.scrollTop() + var position = this.$element.offset() + return (this.pinnedOffset = position.top - scrollTop) + } + + Affix.prototype.checkPositionWithEventLoop = function () { + setTimeout($.proxy(this.checkPosition, this), 1) + } + + Affix.prototype.checkPosition = function () { + if (!this.$element.is(':visible')) return + + var height = this.$element.height() + var offset = this.options.offset + var offsetTop = offset.top + var offsetBottom = offset.bottom + var scrollHeight = Math.max($(document).height(), $(document.body).height()) + + if (typeof offset != 'object') offsetBottom = offsetTop = offset + if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element) + if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element) + + var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom) + + if (this.affixed != affix) { + if (this.unpin != null) this.$element.css('top', '') + + var affixType = 'affix' + (affix ? '-' + affix : '') + var e = $.Event(affixType + '.bs.affix') + + this.$element.trigger(e) + + if (e.isDefaultPrevented()) return + + this.affixed = affix + this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null + + this.$element + .removeClass(Affix.RESET) + .addClass(affixType) + .trigger(affixType.replace('affix', 'affixed') + '.bs.affix') + } + + if (affix == 'bottom') { + this.$element.offset({ + top: scrollHeight - height - offsetBottom + }) + } + } + + + // AFFIX PLUGIN DEFINITION + // ======================= + + function Plugin(option) { + return this.each(function () { + var $this = $(this) + var data = $this.data('bs.affix') + var options = typeof option == 'object' && option + + if (!data) $this.data('bs.affix', (data = new Affix(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + var old = $.fn.affix + + $.fn.affix = Plugin + $.fn.affix.Constructor = Affix + + + // AFFIX NO CONFLICT + // ================= + + $.fn.affix.noConflict = function () { + $.fn.affix = old + return this + } + + + // AFFIX DATA-API + // ============== + + $(window).on('load', function () { + $('[data-spy="affix"]').each(function () { + var $spy = $(this) + var data = $spy.data() + + data.offset = data.offset || {} + + if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom + if (data.offsetTop != null) data.offset.top = data.offsetTop + + Plugin.call($spy, data) + }) + }) + +}(jQuery); diff --git a/src/js/bootstrap.min.js b/src/js/bootstrap.min.js new file mode 100644 index 0000000..e79c065 --- /dev/null +++ b/src/js/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.3.6 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under the MIT license + */ +if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.6",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.6",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.6",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.6",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.6",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.6",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.6",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); \ No newline at end of file diff --git a/src/js/fr-ca.js b/src/js/fr-ca.js new file mode 100644 index 0000000..edbb4cb --- /dev/null +++ b/src/js/fr-ca.js @@ -0,0 +1,38 @@ +import 'moment/locale/fr-ca'; +import * as FullCalendar from 'fullcalendar'; + + +/* Canadian-French initialisation for the jQuery UI date picker plugin. */ +FullCalendar.datepickerLocale('fr-ca', 'fr-CA', { + closeText: "Fermer", + prevText: "Précédent", + nextText: "Suivant", + currentText: "Aujourd'hui", + monthNames: [ "janvier", "février", "mars", "avril", "mai", "juin", + "juillet", "août", "septembre", "octobre", "novembre", "décembre" ], + monthNamesShort: [ "janv.", "févr.", "mars", "avril", "mai", "juin", + "juil.", "août", "sept.", "oct.", "nov.", "déc." ], + dayNames: [ "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" ], + dayNamesShort: [ "dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam." ], + dayNamesMin: [ "D", "L", "M", "M", "J", "V", "S" ], + weekHeader: "Sem.", + dateFormat: "yy-mm-dd", + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: "" +}); + + +FullCalendar.locale("fr-ca", { + buttonText: { + year: "Année", + month: "Mois", + week: "Semaine", + day: "Jour", + list: "Mon planning" + }, + allDayHtml: "Toute la
journée", + eventLimitText: "en plus", + noEventsMessage: "Aucun événement à afficher" +}); diff --git a/src/js/fullcalendar.js b/src/js/fullcalendar.js new file mode 100644 index 0000000..b2fda6d --- /dev/null +++ b/src/js/fullcalendar.js @@ -0,0 +1,15010 @@ +/*! + * FullCalendar v3.9.0 + * Docs & License: https://fullcalendar.io/ + * (c) 2018 Adam Shaw + */ +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(require("moment"), require("jquery")); + else if(typeof define === 'function' && define.amd) + define(["moment", "jquery"], factory); + else if(typeof exports === 'object') + exports["FullCalendar"] = factory(require("moment"), require("jquery")); + else + root["FullCalendar"] = factory(root["moment"], root["jQuery"]); +})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_0__, __WEBPACK_EXTERNAL_MODULE_3__) { +return /******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 236); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ (function(module, exports) { + +module.exports = __WEBPACK_EXTERNAL_MODULE_0__; + +/***/ }), +/* 1 */, +/* 2 */ +/***/ (function(module, exports) { + +/* +derived from: +https://github.com/Microsoft/tslib/blob/v1.6.0/tslib.js + +only include the helpers we need, to keep down filesize +*/ +var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) + if (b.hasOwnProperty(p)) + d[p] = b[p]; }; +exports.__extends = function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +}; + + +/***/ }), +/* 3 */ +/***/ (function(module, exports) { + +module.exports = __WEBPACK_EXTERNAL_MODULE_3__; + +/***/ }), +/* 4 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var moment = __webpack_require__(0); +var $ = __webpack_require__(3); +/* FullCalendar-specific DOM Utilities +----------------------------------------------------------------------------------------------------------------------*/ +// Given the scrollbar widths of some other container, create borders/margins on rowEls in order to match the left +// and right space that was offset by the scrollbars. A 1-pixel border first, then margin beyond that. +function compensateScroll(rowEls, scrollbarWidths) { + if (scrollbarWidths.left) { + rowEls.css({ + 'border-left-width': 1, + 'margin-left': scrollbarWidths.left - 1 + }); + } + if (scrollbarWidths.right) { + rowEls.css({ + 'border-right-width': 1, + 'margin-right': scrollbarWidths.right - 1 + }); + } +} +exports.compensateScroll = compensateScroll; +// Undoes compensateScroll and restores all borders/margins +function uncompensateScroll(rowEls) { + rowEls.css({ + 'margin-left': '', + 'margin-right': '', + 'border-left-width': '', + 'border-right-width': '' + }); +} +exports.uncompensateScroll = uncompensateScroll; +// Make the mouse cursor express that an event is not allowed in the current area +function disableCursor() { + $('body').addClass('fc-not-allowed'); +} +exports.disableCursor = disableCursor; +// Returns the mouse cursor to its original look +function enableCursor() { + $('body').removeClass('fc-not-allowed'); +} +exports.enableCursor = enableCursor; +// Given a total available height to fill, have `els` (essentially child rows) expand to accomodate. +// By default, all elements that are shorter than the recommended height are expanded uniformly, not considering +// any other els that are already too tall. if `shouldRedistribute` is on, it considers these tall rows and +// reduces the available height. +function distributeHeight(els, availableHeight, shouldRedistribute) { + // *FLOORING NOTE*: we floor in certain places because zoom can give inaccurate floating-point dimensions, + // and it is better to be shorter than taller, to avoid creating unnecessary scrollbars. + var minOffset1 = Math.floor(availableHeight / els.length); // for non-last element + var minOffset2 = Math.floor(availableHeight - minOffset1 * (els.length - 1)); // for last element *FLOORING NOTE* + var flexEls = []; // elements that are allowed to expand. array of DOM nodes + var flexOffsets = []; // amount of vertical space it takes up + var flexHeights = []; // actual css height + var usedHeight = 0; + undistributeHeight(els); // give all elements their natural height + // find elements that are below the recommended height (expandable). + // important to query for heights in a single first pass (to avoid reflow oscillation). + els.each(function (i, el) { + var minOffset = i === els.length - 1 ? minOffset2 : minOffset1; + var naturalOffset = $(el).outerHeight(true); + if (naturalOffset < minOffset) { + flexEls.push(el); + flexOffsets.push(naturalOffset); + flexHeights.push($(el).height()); + } + else { + // this element stretches past recommended height (non-expandable). mark the space as occupied. + usedHeight += naturalOffset; + } + }); + // readjust the recommended height to only consider the height available to non-maxed-out rows. + if (shouldRedistribute) { + availableHeight -= usedHeight; + minOffset1 = Math.floor(availableHeight / flexEls.length); + minOffset2 = Math.floor(availableHeight - minOffset1 * (flexEls.length - 1)); // *FLOORING NOTE* + } + // assign heights to all expandable elements + $(flexEls).each(function (i, el) { + var minOffset = i === flexEls.length - 1 ? minOffset2 : minOffset1; + var naturalOffset = flexOffsets[i]; + var naturalHeight = flexHeights[i]; + var newHeight = minOffset - (naturalOffset - naturalHeight); // subtract the margin/padding + if (naturalOffset < minOffset) { + $(el).height(newHeight); + } + }); +} +exports.distributeHeight = distributeHeight; +// Undoes distrubuteHeight, restoring all els to their natural height +function undistributeHeight(els) { + els.height(''); +} +exports.undistributeHeight = undistributeHeight; +// Given `els`, a jQuery set of cells, find the cell with the largest natural width and set the widths of all the +// cells to be that width. +// PREREQUISITE: if you want a cell to take up width, it needs to have a single inner element w/ display:inline +function matchCellWidths(els) { + var maxInnerWidth = 0; + els.find('> *').each(function (i, innerEl) { + var innerWidth = $(innerEl).outerWidth(); + if (innerWidth > maxInnerWidth) { + maxInnerWidth = innerWidth; + } + }); + maxInnerWidth++; // sometimes not accurate of width the text needs to stay on one line. insurance + els.width(maxInnerWidth); + return maxInnerWidth; +} +exports.matchCellWidths = matchCellWidths; +// Given one element that resides inside another, +// Subtracts the height of the inner element from the outer element. +function subtractInnerElHeight(outerEl, innerEl) { + var both = outerEl.add(innerEl); + var diff; + // effin' IE8/9/10/11 sometimes returns 0 for dimensions. this weird hack was the only thing that worked + both.css({ + position: 'relative', + left: -1 // ensure reflow in case the el was already relative. negative is less likely to cause new scroll + }); + diff = outerEl.outerHeight() - innerEl.outerHeight(); // grab the dimensions + both.css({ position: '', left: '' }); // undo hack + return diff; +} +exports.subtractInnerElHeight = subtractInnerElHeight; +/* Element Geom Utilities +----------------------------------------------------------------------------------------------------------------------*/ +// borrowed from https://github.com/jquery/jquery-ui/blob/1.11.0/ui/core.js#L51 +function getScrollParent(el) { + var position = el.css('position'); + var scrollParent = el.parents().filter(function () { + var parent = $(this); + return (/(auto|scroll)/).test(parent.css('overflow') + parent.css('overflow-y') + parent.css('overflow-x')); + }).eq(0); + return position === 'fixed' || !scrollParent.length ? $(el[0].ownerDocument || document) : scrollParent; +} +exports.getScrollParent = getScrollParent; +// Queries the outer bounding area of a jQuery element. +// Returns a rectangle with absolute coordinates: left, right (exclusive), top, bottom (exclusive). +// Origin is optional. +function getOuterRect(el, origin) { + var offset = el.offset(); + var left = offset.left - (origin ? origin.left : 0); + var top = offset.top - (origin ? origin.top : 0); + return { + left: left, + right: left + el.outerWidth(), + top: top, + bottom: top + el.outerHeight() + }; +} +exports.getOuterRect = getOuterRect; +// Queries the area within the margin/border/scrollbars of a jQuery element. Does not go within the padding. +// Returns a rectangle with absolute coordinates: left, right (exclusive), top, bottom (exclusive). +// Origin is optional. +// WARNING: given element can't have borders +// NOTE: should use clientLeft/clientTop, but very unreliable cross-browser. +function getClientRect(el, origin) { + var offset = el.offset(); + var scrollbarWidths = getScrollbarWidths(el); + var left = offset.left + getCssFloat(el, 'border-left-width') + scrollbarWidths.left - (origin ? origin.left : 0); + var top = offset.top + getCssFloat(el, 'border-top-width') + scrollbarWidths.top - (origin ? origin.top : 0); + return { + left: left, + right: left + el[0].clientWidth, + top: top, + bottom: top + el[0].clientHeight // clientHeight includes padding but NOT scrollbars + }; +} +exports.getClientRect = getClientRect; +// Queries the area within the margin/border/padding of a jQuery element. Assumed not to have scrollbars. +// Returns a rectangle with absolute coordinates: left, right (exclusive), top, bottom (exclusive). +// Origin is optional. +function getContentRect(el, origin) { + var offset = el.offset(); // just outside of border, margin not included + var left = offset.left + getCssFloat(el, 'border-left-width') + getCssFloat(el, 'padding-left') - + (origin ? origin.left : 0); + var top = offset.top + getCssFloat(el, 'border-top-width') + getCssFloat(el, 'padding-top') - + (origin ? origin.top : 0); + return { + left: left, + right: left + el.width(), + top: top, + bottom: top + el.height() + }; +} +exports.getContentRect = getContentRect; +// Returns the computed left/right/top/bottom scrollbar widths for the given jQuery element. +// WARNING: given element can't have borders (which will cause offsetWidth/offsetHeight to be larger). +// NOTE: should use clientLeft/clientTop, but very unreliable cross-browser. +function getScrollbarWidths(el) { + var leftRightWidth = el[0].offsetWidth - el[0].clientWidth; + var bottomWidth = el[0].offsetHeight - el[0].clientHeight; + var widths; + leftRightWidth = sanitizeScrollbarWidth(leftRightWidth); + bottomWidth = sanitizeScrollbarWidth(bottomWidth); + widths = { left: 0, right: 0, top: 0, bottom: bottomWidth }; + if (getIsLeftRtlScrollbars() && el.css('direction') === 'rtl') { + widths.left = leftRightWidth; + } + else { + widths.right = leftRightWidth; + } + return widths; +} +exports.getScrollbarWidths = getScrollbarWidths; +// The scrollbar width computations in getScrollbarWidths are sometimes flawed when it comes to +// retina displays, rounding, and IE11. Massage them into a usable value. +function sanitizeScrollbarWidth(width) { + width = Math.max(0, width); // no negatives + width = Math.round(width); + return width; +} +// Logic for determining if, when the element is right-to-left, the scrollbar appears on the left side +var _isLeftRtlScrollbars = null; +function getIsLeftRtlScrollbars() { + if (_isLeftRtlScrollbars === null) { + _isLeftRtlScrollbars = computeIsLeftRtlScrollbars(); + } + return _isLeftRtlScrollbars; +} +function computeIsLeftRtlScrollbars() { + var el = $('
') + .css({ + position: 'absolute', + top: -1000, + left: 0, + border: 0, + padding: 0, + overflow: 'scroll', + direction: 'rtl' + }) + .appendTo('body'); + var innerEl = el.children(); + var res = innerEl.offset().left > el.offset().left; // is the inner div shifted to accommodate a left scrollbar? + el.remove(); + return res; +} +// Retrieves a jQuery element's computed CSS value as a floating-point number. +// If the queried value is non-numeric (ex: IE can return "medium" for border width), will just return zero. +function getCssFloat(el, prop) { + return parseFloat(el.css(prop)) || 0; +} +/* Mouse / Touch Utilities +----------------------------------------------------------------------------------------------------------------------*/ +// Returns a boolean whether this was a left mouse click and no ctrl key (which means right click on Mac) +function isPrimaryMouseButton(ev) { + return ev.which === 1 && !ev.ctrlKey; +} +exports.isPrimaryMouseButton = isPrimaryMouseButton; +function getEvX(ev) { + var touches = ev.originalEvent.touches; + // on mobile FF, pageX for touch events is present, but incorrect, + // so, look at touch coordinates first. + if (touches && touches.length) { + return touches[0].pageX; + } + return ev.pageX; +} +exports.getEvX = getEvX; +function getEvY(ev) { + var touches = ev.originalEvent.touches; + // on mobile FF, pageX for touch events is present, but incorrect, + // so, look at touch coordinates first. + if (touches && touches.length) { + return touches[0].pageY; + } + return ev.pageY; +} +exports.getEvY = getEvY; +function getEvIsTouch(ev) { + return /^touch/.test(ev.type); +} +exports.getEvIsTouch = getEvIsTouch; +function preventSelection(el) { + el.addClass('fc-unselectable') + .on('selectstart', preventDefault); +} +exports.preventSelection = preventSelection; +function allowSelection(el) { + el.removeClass('fc-unselectable') + .off('selectstart', preventDefault); +} +exports.allowSelection = allowSelection; +// Stops a mouse/touch event from doing it's native browser action +function preventDefault(ev) { + ev.preventDefault(); +} +exports.preventDefault = preventDefault; +/* General Geometry Utils +----------------------------------------------------------------------------------------------------------------------*/ +// Returns a new rectangle that is the intersection of the two rectangles. If they don't intersect, returns false +function intersectRects(rect1, rect2) { + var res = { + left: Math.max(rect1.left, rect2.left), + right: Math.min(rect1.right, rect2.right), + top: Math.max(rect1.top, rect2.top), + bottom: Math.min(rect1.bottom, rect2.bottom) + }; + if (res.left < res.right && res.top < res.bottom) { + return res; + } + return false; +} +exports.intersectRects = intersectRects; +// Returns a new point that will have been moved to reside within the given rectangle +function constrainPoint(point, rect) { + return { + left: Math.min(Math.max(point.left, rect.left), rect.right), + top: Math.min(Math.max(point.top, rect.top), rect.bottom) + }; +} +exports.constrainPoint = constrainPoint; +// Returns a point that is the center of the given rectangle +function getRectCenter(rect) { + return { + left: (rect.left + rect.right) / 2, + top: (rect.top + rect.bottom) / 2 + }; +} +exports.getRectCenter = getRectCenter; +// Subtracts point2's coordinates from point1's coordinates, returning a delta +function diffPoints(point1, point2) { + return { + left: point1.left - point2.left, + top: point1.top - point2.top + }; +} +exports.diffPoints = diffPoints; +/* Object Ordering by Field +----------------------------------------------------------------------------------------------------------------------*/ +function parseFieldSpecs(input) { + var specs = []; + var tokens = []; + var i; + var token; + if (typeof input === 'string') { + tokens = input.split(/\s*,\s*/); + } + else if (typeof input === 'function') { + tokens = [input]; + } + else if ($.isArray(input)) { + tokens = input; + } + for (i = 0; i < tokens.length; i++) { + token = tokens[i]; + if (typeof token === 'string') { + specs.push(token.charAt(0) === '-' ? + { field: token.substring(1), order: -1 } : + { field: token, order: 1 }); + } + else if (typeof token === 'function') { + specs.push({ func: token }); + } + } + return specs; +} +exports.parseFieldSpecs = parseFieldSpecs; +function compareByFieldSpecs(obj1, obj2, fieldSpecs, obj1fallback, obj2fallback) { + var i; + var cmp; + for (i = 0; i < fieldSpecs.length; i++) { + cmp = compareByFieldSpec(obj1, obj2, fieldSpecs[i], obj1fallback, obj2fallback); + if (cmp) { + return cmp; + } + } + return 0; +} +exports.compareByFieldSpecs = compareByFieldSpecs; +function compareByFieldSpec(obj1, obj2, fieldSpec, obj1fallback, obj2fallback) { + if (fieldSpec.func) { + return fieldSpec.func(obj1, obj2); + } + var val1 = obj1[fieldSpec.field]; + var val2 = obj2[fieldSpec.field]; + if (val1 == null && obj1fallback) { + val1 = obj1fallback[fieldSpec.field]; + } + if (val2 == null && obj2fallback) { + val2 = obj2fallback[fieldSpec.field]; + } + return flexibleCompare(val1, val2) * (fieldSpec.order || 1); +} +exports.compareByFieldSpec = compareByFieldSpec; +function flexibleCompare(a, b) { + if (!a && !b) { + return 0; + } + if (b == null) { + return -1; + } + if (a == null) { + return 1; + } + if ($.type(a) === 'string' || $.type(b) === 'string') { + return String(a).localeCompare(String(b)); + } + return a - b; +} +exports.flexibleCompare = flexibleCompare; +/* Date Utilities +----------------------------------------------------------------------------------------------------------------------*/ +exports.dayIDs = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat']; +exports.unitsDesc = ['year', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond']; // descending +// Diffs the two moments into a Duration where full-days are recorded first, then the remaining time. +// Moments will have their timezones normalized. +function diffDayTime(a, b) { + return moment.duration({ + days: a.clone().stripTime().diff(b.clone().stripTime(), 'days'), + ms: a.time() - b.time() // time-of-day from day start. disregards timezone + }); +} +exports.diffDayTime = diffDayTime; +// Diffs the two moments via their start-of-day (regardless of timezone). Produces whole-day durations. +function diffDay(a, b) { + return moment.duration({ + days: a.clone().stripTime().diff(b.clone().stripTime(), 'days') + }); +} +exports.diffDay = diffDay; +// Diffs two moments, producing a duration, made of a whole-unit-increment of the given unit. Uses rounding. +function diffByUnit(a, b, unit) { + return moment.duration(Math.round(a.diff(b, unit, true)), // returnFloat=true + unit); +} +exports.diffByUnit = diffByUnit; +// Computes the unit name of the largest whole-unit period of time. +// For example, 48 hours will be "days" whereas 49 hours will be "hours". +// Accepts start/end, a range object, or an original duration object. +function computeGreatestUnit(start, end) { + var i; + var unit; + var val; + for (i = 0; i < exports.unitsDesc.length; i++) { + unit = exports.unitsDesc[i]; + val = computeRangeAs(unit, start, end); + if (val >= 1 && isInt(val)) { + break; + } + } + return unit; // will be "milliseconds" if nothing else matches +} +exports.computeGreatestUnit = computeGreatestUnit; +// like computeGreatestUnit, but has special abilities to interpret the source input for clues +function computeDurationGreatestUnit(duration, durationInput) { + var unit = computeGreatestUnit(duration); + // prevent days:7 from being interpreted as a week + if (unit === 'week' && typeof durationInput === 'object' && durationInput.days) { + unit = 'day'; + } + return unit; +} +exports.computeDurationGreatestUnit = computeDurationGreatestUnit; +// Computes the number of units (like "hours") in the given range. +// Range can be a {start,end} object, separate start/end args, or a Duration. +// Results are based on Moment's .as() and .diff() methods, so results can depend on internal handling +// of month-diffing logic (which tends to vary from version to version). +function computeRangeAs(unit, start, end) { + if (end != null) { + return end.diff(start, unit, true); + } + else if (moment.isDuration(start)) { + return start.as(unit); + } + else { + return start.end.diff(start.start, unit, true); + } +} +// Intelligently divides a range (specified by a start/end params) by a duration +function divideRangeByDuration(start, end, dur) { + var months; + if (durationHasTime(dur)) { + return (end - start) / dur; + } + months = dur.asMonths(); + if (Math.abs(months) >= 1 && isInt(months)) { + return end.diff(start, 'months', true) / months; + } + return end.diff(start, 'days', true) / dur.asDays(); +} +exports.divideRangeByDuration = divideRangeByDuration; +// Intelligently divides one duration by another +function divideDurationByDuration(dur1, dur2) { + var months1; + var months2; + if (durationHasTime(dur1) || durationHasTime(dur2)) { + return dur1 / dur2; + } + months1 = dur1.asMonths(); + months2 = dur2.asMonths(); + if (Math.abs(months1) >= 1 && isInt(months1) && + Math.abs(months2) >= 1 && isInt(months2)) { + return months1 / months2; + } + return dur1.asDays() / dur2.asDays(); +} +exports.divideDurationByDuration = divideDurationByDuration; +// Intelligently multiplies a duration by a number +function multiplyDuration(dur, n) { + var months; + if (durationHasTime(dur)) { + return moment.duration(dur * n); + } + months = dur.asMonths(); + if (Math.abs(months) >= 1 && isInt(months)) { + return moment.duration({ months: months * n }); + } + return moment.duration({ days: dur.asDays() * n }); +} +exports.multiplyDuration = multiplyDuration; +// Returns a boolean about whether the given duration has any time parts (hours/minutes/seconds/ms) +function durationHasTime(dur) { + return Boolean(dur.hours() || dur.minutes() || dur.seconds() || dur.milliseconds()); +} +exports.durationHasTime = durationHasTime; +function isNativeDate(input) { + return Object.prototype.toString.call(input) === '[object Date]' || input instanceof Date; +} +exports.isNativeDate = isNativeDate; +// Returns a boolean about whether the given input is a time string, like "06:40:00" or "06:00" +function isTimeString(str) { + return typeof str === 'string' && + /^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(str); +} +exports.isTimeString = isTimeString; +/* Logging and Debug +----------------------------------------------------------------------------------------------------------------------*/ +function log() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var console = window.console; + if (console && console.log) { + return console.log.apply(console, args); + } +} +exports.log = log; +function warn() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var console = window.console; + if (console && console.warn) { + return console.warn.apply(console, args); + } + else { + return log.apply(null, args); + } +} +exports.warn = warn; +/* General Utilities +----------------------------------------------------------------------------------------------------------------------*/ +var hasOwnPropMethod = {}.hasOwnProperty; +// Merges an array of objects into a single object. +// The second argument allows for an array of property names who's object values will be merged together. +function mergeProps(propObjs, complexProps) { + var dest = {}; + var i; + var name; + var complexObjs; + var j; + var val; + var props; + if (complexProps) { + for (i = 0; i < complexProps.length; i++) { + name = complexProps[i]; + complexObjs = []; + // collect the trailing object values, stopping when a non-object is discovered + for (j = propObjs.length - 1; j >= 0; j--) { + val = propObjs[j][name]; + if (typeof val === 'object') { + complexObjs.unshift(val); + } + else if (val !== undefined) { + dest[name] = val; // if there were no objects, this value will be used + break; + } + } + // if the trailing values were objects, use the merged value + if (complexObjs.length) { + dest[name] = mergeProps(complexObjs); + } + } + } + // copy values into the destination, going from last to first + for (i = propObjs.length - 1; i >= 0; i--) { + props = propObjs[i]; + for (name in props) { + if (!(name in dest)) { + dest[name] = props[name]; + } + } + } + return dest; +} +exports.mergeProps = mergeProps; +function copyOwnProps(src, dest) { + for (var name_1 in src) { + if (hasOwnProp(src, name_1)) { + dest[name_1] = src[name_1]; + } + } +} +exports.copyOwnProps = copyOwnProps; +function hasOwnProp(obj, name) { + return hasOwnPropMethod.call(obj, name); +} +exports.hasOwnProp = hasOwnProp; +function applyAll(functions, thisObj, args) { + if ($.isFunction(functions)) { + functions = [functions]; + } + if (functions) { + var i = void 0; + var ret = void 0; + for (i = 0; i < functions.length; i++) { + ret = functions[i].apply(thisObj, args) || ret; + } + return ret; + } +} +exports.applyAll = applyAll; +function removeMatching(array, testFunc) { + var removeCnt = 0; + var i = 0; + while (i < array.length) { + if (testFunc(array[i])) { + array.splice(i, 1); + removeCnt++; + } + else { + i++; + } + } + return removeCnt; +} +exports.removeMatching = removeMatching; +function removeExact(array, exactVal) { + var removeCnt = 0; + var i = 0; + while (i < array.length) { + if (array[i] === exactVal) { + array.splice(i, 1); + removeCnt++; + } + else { + i++; + } + } + return removeCnt; +} +exports.removeExact = removeExact; +function isArraysEqual(a0, a1) { + var len = a0.length; + var i; + if (len == null || len !== a1.length) { + return false; + } + for (i = 0; i < len; i++) { + if (a0[i] !== a1[i]) { + return false; + } + } + return true; +} +exports.isArraysEqual = isArraysEqual; +function firstDefined() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + for (var i = 0; i < args.length; i++) { + if (args[i] !== undefined) { + return args[i]; + } + } +} +exports.firstDefined = firstDefined; +function htmlEscape(s) { + return (s + '').replace(/&/g, '&') + .replace(//g, '>') + .replace(/'/g, ''') + .replace(/"/g, '"') + .replace(/\n/g, '
'); +} +exports.htmlEscape = htmlEscape; +function stripHtmlEntities(text) { + return text.replace(/&.*?;/g, ''); +} +exports.stripHtmlEntities = stripHtmlEntities; +// Given a hash of CSS properties, returns a string of CSS. +// Uses property names as-is (no camel-case conversion). Will not make statements for null/undefined values. +function cssToStr(cssProps) { + var statements = []; + $.each(cssProps, function (name, val) { + if (val != null) { + statements.push(name + ':' + val); + } + }); + return statements.join(';'); +} +exports.cssToStr = cssToStr; +// Given an object hash of HTML attribute names to values, +// generates a string that can be injected between < > in HTML +function attrsToStr(attrs) { + var parts = []; + $.each(attrs, function (name, val) { + if (val != null) { + parts.push(name + '="' + htmlEscape(val) + '"'); + } + }); + return parts.join(' '); +} +exports.attrsToStr = attrsToStr; +function capitaliseFirstLetter(str) { + return str.charAt(0).toUpperCase() + str.slice(1); +} +exports.capitaliseFirstLetter = capitaliseFirstLetter; +function compareNumbers(a, b) { + return a - b; +} +exports.compareNumbers = compareNumbers; +function isInt(n) { + return n % 1 === 0; +} +exports.isInt = isInt; +// Returns a method bound to the given object context. +// Just like one of the jQuery.proxy signatures, but without the undesired behavior of treating the same method with +// different contexts as identical when binding/unbinding events. +function proxy(obj, methodName) { + var method = obj[methodName]; + return function () { + return method.apply(obj, arguments); + }; +} +exports.proxy = proxy; +// Returns a function, that, as long as it continues to be invoked, will not +// be triggered. The function will be called after it stops being called for +// N milliseconds. If `immediate` is passed, trigger the function on the +// leading edge, instead of the trailing. +// https://github.com/jashkenas/underscore/blob/1.6.0/underscore.js#L714 +function debounce(func, wait, immediate) { + if (immediate === void 0) { immediate = false; } + var timeout; + var args; + var context; + var timestamp; + var result; + var later = function () { + var last = +new Date() - timestamp; + if (last < wait) { + timeout = setTimeout(later, wait - last); + } + else { + timeout = null; + if (!immediate) { + result = func.apply(context, args); + context = args = null; + } + } + }; + return function () { + context = this; + args = arguments; + timestamp = +new Date(); + var callNow = immediate && !timeout; + if (!timeout) { + timeout = setTimeout(later, wait); + } + if (callNow) { + result = func.apply(context, args); + context = args = null; + } + return result; + }; +} +exports.debounce = debounce; + + +/***/ }), +/* 5 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var moment = __webpack_require__(0); +var moment_ext_1 = __webpack_require__(10); +var UnzonedRange = /** @class */ (function () { + function UnzonedRange(startInput, endInput) { + // TODO: move these into footprint. + // Especially, doesn't make sense for null startMs/endMs. + this.isStart = true; + this.isEnd = true; + if (moment.isMoment(startInput)) { + startInput = startInput.clone().stripZone(); + } + if (moment.isMoment(endInput)) { + endInput = endInput.clone().stripZone(); + } + if (startInput) { + this.startMs = startInput.valueOf(); + } + if (endInput) { + this.endMs = endInput.valueOf(); + } + } + /* + SIDEEFFECT: will mutate eventRanges. + Will return a new array result. + Only works for non-open-ended ranges. + */ + UnzonedRange.invertRanges = function (ranges, constraintRange) { + var invertedRanges = []; + var startMs = constraintRange.startMs; // the end of the previous range. the start of the new range + var i; + var dateRange; + // ranges need to be in order. required for our date-walking algorithm + ranges.sort(compareUnzonedRanges); + for (i = 0; i < ranges.length; i++) { + dateRange = ranges[i]; + // add the span of time before the event (if there is any) + if (dateRange.startMs > startMs) { + invertedRanges.push(new UnzonedRange(startMs, dateRange.startMs)); + } + if (dateRange.endMs > startMs) { + startMs = dateRange.endMs; + } + } + // add the span of time after the last event (if there is any) + if (startMs < constraintRange.endMs) { + invertedRanges.push(new UnzonedRange(startMs, constraintRange.endMs)); + } + return invertedRanges; + }; + UnzonedRange.prototype.intersect = function (otherRange) { + var startMs = this.startMs; + var endMs = this.endMs; + var newRange = null; + if (otherRange.startMs != null) { + if (startMs == null) { + startMs = otherRange.startMs; + } + else { + startMs = Math.max(startMs, otherRange.startMs); + } + } + if (otherRange.endMs != null) { + if (endMs == null) { + endMs = otherRange.endMs; + } + else { + endMs = Math.min(endMs, otherRange.endMs); + } + } + if (startMs == null || endMs == null || startMs < endMs) { + newRange = new UnzonedRange(startMs, endMs); + newRange.isStart = this.isStart && startMs === this.startMs; + newRange.isEnd = this.isEnd && endMs === this.endMs; + } + return newRange; + }; + UnzonedRange.prototype.intersectsWith = function (otherRange) { + return (this.endMs == null || otherRange.startMs == null || this.endMs > otherRange.startMs) && + (this.startMs == null || otherRange.endMs == null || this.startMs < otherRange.endMs); + }; + UnzonedRange.prototype.containsRange = function (innerRange) { + return (this.startMs == null || (innerRange.startMs != null && innerRange.startMs >= this.startMs)) && + (this.endMs == null || (innerRange.endMs != null && innerRange.endMs <= this.endMs)); + }; + // `date` can be a moment, a Date, or a millisecond time. + UnzonedRange.prototype.containsDate = function (date) { + var ms = date.valueOf(); + return (this.startMs == null || ms >= this.startMs) && + (this.endMs == null || ms < this.endMs); + }; + // If the given date is not within the given range, move it inside. + // (If it's past the end, make it one millisecond before the end). + // `date` can be a moment, a Date, or a millisecond time. + // Returns a MS-time. + UnzonedRange.prototype.constrainDate = function (date) { + var ms = date.valueOf(); + if (this.startMs != null && ms < this.startMs) { + ms = this.startMs; + } + if (this.endMs != null && ms >= this.endMs) { + ms = this.endMs - 1; + } + return ms; + }; + UnzonedRange.prototype.equals = function (otherRange) { + return this.startMs === otherRange.startMs && this.endMs === otherRange.endMs; + }; + UnzonedRange.prototype.clone = function () { + var range = new UnzonedRange(this.startMs, this.endMs); + range.isStart = this.isStart; + range.isEnd = this.isEnd; + return range; + }; + // Returns an ambig-zoned moment from startMs. + // BEWARE: returned moment is not localized. + // Formatting and start-of-week will be default. + UnzonedRange.prototype.getStart = function () { + if (this.startMs != null) { + return moment_ext_1.default.utc(this.startMs).stripZone(); + } + return null; + }; + // Returns an ambig-zoned moment from startMs. + // BEWARE: returned moment is not localized. + // Formatting and start-of-week will be default. + UnzonedRange.prototype.getEnd = function () { + if (this.endMs != null) { + return moment_ext_1.default.utc(this.endMs).stripZone(); + } + return null; + }; + UnzonedRange.prototype.as = function (unit) { + return moment.utc(this.endMs).diff(moment.utc(this.startMs), unit, true); + }; + return UnzonedRange; +}()); +exports.default = UnzonedRange; +/* +Only works for non-open-ended ranges. +*/ +function compareUnzonedRanges(range1, range2) { + return range1.startMs - range2.startMs; // earlier ranges go first +} + + +/***/ }), +/* 6 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var ParsableModelMixin_1 = __webpack_require__(208); +var Class_1 = __webpack_require__(33); +var EventDefParser_1 = __webpack_require__(49); +var EventSource = /** @class */ (function (_super) { + tslib_1.__extends(EventSource, _super); + // can we do away with calendrier? at least for the abstract? + // useful for buildEventDef + function EventSource(calendar) { + var _this = _super.call(this) || this; + _this.calendar = calendar; + _this.className = []; + _this.uid = String(EventSource.uuid++); + return _this; + } + /* + rawInput can be any data type! + */ + EventSource.parse = function (rawInput, calendar) { + var source = new this(calendar); + if (typeof rawInput === 'object') { + if (source.applyProps(rawInput)) { + return source; + } + } + return false; + }; + EventSource.normalizeId = function (id) { + if (id) { + return String(id); + } + return null; + }; + EventSource.prototype.fetch = function (start, end, timezone) { + // subclasses must implement. must return a promise. + }; + EventSource.prototype.removeEventDefsById = function (eventDefId) { + // optional for subclasses to implement + }; + EventSource.prototype.removeAllEventDefs = function () { + // optional for subclasses to implement + }; + /* + For compairing/matching + */ + EventSource.prototype.getPrimitive = function (otherSource) { + // subclasses must implement + }; + EventSource.prototype.parseEventDefs = function (rawEventDefs) { + var i; + var eventDef; + var eventDefs = []; + for (i = 0; i < rawEventDefs.length; i++) { + eventDef = this.parseEventDef(rawEventDefs[i]); + if (eventDef) { + eventDefs.push(eventDef); + } + } + return eventDefs; + }; + EventSource.prototype.parseEventDef = function (rawInput) { + var calendarTransform = this.calendar.opt('eventDataTransform'); + var sourceTransform = this.eventDataTransform; + if (calendarTransform) { + rawInput = calendarTransform(rawInput, this.calendar); + } + if (sourceTransform) { + rawInput = sourceTransform(rawInput, this.calendar); + } + return EventDefParser_1.default.parse(rawInput, this); + }; + EventSource.prototype.applyManualStandardProps = function (rawProps) { + if (rawProps.id != null) { + this.id = EventSource.normalizeId(rawProps.id); + } + // TODO: converge with EventDef + if ($.isArray(rawProps.className)) { + this.className = rawProps.className; + } + else if (typeof rawProps.className === 'string') { + this.className = rawProps.className.split(/\s+/); + } + return true; + }; + EventSource.uuid = 0; + EventSource.defineStandardProps = ParsableModelMixin_1.default.defineStandardProps; + EventSource.copyVerbatimStandardProps = ParsableModelMixin_1.default.copyVerbatimStandardProps; + return EventSource; +}(Class_1.default)); +exports.default = EventSource; +ParsableModelMixin_1.default.mixInto(EventSource); +// Parsing +// --------------------------------------------------------------------------------------------------------------------- +EventSource.defineStandardProps({ + // manually process... + id: false, + className: false, + // automatically transfer... + color: true, + backgroundColor: true, + borderColor: true, + textColor: true, + editable: true, + startEditable: true, + durationEditable: true, + rendering: true, + overlap: true, + constraint: true, + allDayDefault: true, + eventDataTransform: true +}); + + +/***/ }), +/* 7 */ +/***/ (function(module, exports, __webpack_require__) { + +/* +Utility methods for easily listening to events on another object, +and more importantly, easily unlistening from them. + +USAGE: + import { default as ListenerMixin, ListenerInterface } from './ListenerMixin' +in class: + listenTo: ListenerInterface['listenTo'] + stopListeningTo: ListenerInterface['stopListeningTo'] +after class: + ListenerMixin.mixInto(TheClass) +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var Mixin_1 = __webpack_require__(14); +var guid = 0; +var ListenerMixin = /** @class */ (function (_super) { + tslib_1.__extends(ListenerMixin, _super); + function ListenerMixin() { + return _super !== null && _super.apply(this, arguments) || this; + } + /* + Given an `other` object that has on/off methods, bind the given `callback` to an event by the given name. + The `callback` will be called with the `this` context of the object that .listenTo is being called on. + Can be called: + .listenTo(other, eventName, callback) + OR + .listenTo(other, { + eventName1: callback1, + eventName2: callback2 + }) + */ + ListenerMixin.prototype.listenTo = function (other, arg, callback) { + if (typeof arg === 'object') { + for (var eventName in arg) { + if (arg.hasOwnProperty(eventName)) { + this.listenTo(other, eventName, arg[eventName]); + } + } + } + else if (typeof arg === 'string') { + other.on(arg + '.' + this.getListenerNamespace(), // use event namespacing to identify this object + $.proxy(callback, this) // always use `this` context + // the usually-undesired jQuery guid behavior doesn't matter, + // because we always unbind via namespace + ); + } + }; + /* + Causes the current object to stop listening to events on the `other` object. + `eventName` is optional. If omitted, will stop listening to ALL events on `other`. + */ + ListenerMixin.prototype.stopListeningTo = function (other, eventName) { + other.off((eventName || '') + '.' + this.getListenerNamespace()); + }; + /* + Returns a string, unique to this object, to be used for event namespacing + */ + ListenerMixin.prototype.getListenerNamespace = function () { + if (this.listenerId == null) { + this.listenerId = guid++; + } + return '_listener' + this.listenerId; + }; + return ListenerMixin; +}(Mixin_1.default)); +exports.default = ListenerMixin; + + +/***/ }), +/* 8 */, +/* 9 */, +/* 10 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var moment = __webpack_require__(0); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var ambigDateOfMonthRegex = /^\s*\d{4}-\d\d$/; +var ambigTimeOrZoneRegex = /^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/; +var newMomentProto = moment.fn; // where we will attach our new methods +exports.newMomentProto = newMomentProto; +var oldMomentProto = $.extend({}, newMomentProto); // copy of original moment methods +exports.oldMomentProto = oldMomentProto; +// tell momentjs to transfer these properties upon clone +var momentProperties = moment.momentProperties; +momentProperties.push('_fullCalendar'); +momentProperties.push('_ambigTime'); +momentProperties.push('_ambigZone'); +/* +Call this if you want Moment's original format method to be used +*/ +function oldMomentFormat(mom, formatStr) { + return oldMomentProto.format.call(mom, formatStr); // oldMomentProto defined in moment-ext.js +} +exports.oldMomentFormat = oldMomentFormat; +// Creating +// ------------------------------------------------------------------------------------------------- +// Creates a new moment, similar to the vanilla moment(...) constructor, but with +// extra features (ambiguous time, enhanced formatting). When given an existing moment, +// it will function as a clone (and retain the zone of the moment). Anything else will +// result in a moment in the local zone. +var momentExt = function () { + return makeMoment(arguments); +}; +exports.default = momentExt; +// Sames as momentExt, but forces the resulting moment to be in the UTC timezone. +momentExt.utc = function () { + var mom = makeMoment(arguments, true); + // Force it into UTC because makeMoment doesn't guarantee it + // (if given a pre-existing moment for example) + if (mom.hasTime()) { + mom.utc(); + } + return mom; +}; +// Same as momentExt, but when given an ISO8601 string, the timezone offset is preserved. +// ISO8601 strings with no timezone offset will become ambiguously zoned. +momentExt.parseZone = function () { + return makeMoment(arguments, true, true); +}; +// Builds an enhanced moment from args. When given an existing moment, it clones. When given a +// native Date, or called with no arguments (the current time), the resulting moment will be local. +// Anything else needs to be "parsed" (a string or an array), and will be affected by: +// parseAsUTC - if there is no zone information, should we parse the input in UTC? +// parseZone - if there is zone information, should we force the zone of the moment? +function makeMoment(args, parseAsUTC, parseZone) { + if (parseAsUTC === void 0) { parseAsUTC = false; } + if (parseZone === void 0) { parseZone = false; } + var input = args[0]; + var isSingleString = args.length === 1 && typeof input === 'string'; + var isAmbigTime; + var isAmbigZone; + var ambigMatch; + var mom; + if (moment.isMoment(input) || util_1.isNativeDate(input) || input === undefined) { + mom = moment.apply(null, args); + } + else { + isAmbigTime = false; + isAmbigZone = false; + if (isSingleString) { + if (ambigDateOfMonthRegex.test(input)) { + // accept strings like '2014-05', but convert to the first of the month + input += '-01'; + args = [input]; // for when we pass it on to moment's constructor + isAmbigTime = true; + isAmbigZone = true; + } + else if ((ambigMatch = ambigTimeOrZoneRegex.exec(input))) { + isAmbigTime = !ambigMatch[5]; // no time part? + isAmbigZone = true; + } + } + else if ($.isArray(input)) { + // arrays have no timezone information, so assume ambiguous zone + isAmbigZone = true; + } + // otherwise, probably a string with a format + if (parseAsUTC || isAmbigTime) { + mom = moment.utc.apply(moment, args); + } + else { + mom = moment.apply(null, args); + } + if (isAmbigTime) { + mom._ambigTime = true; + mom._ambigZone = true; // ambiguous time always means ambiguous zone + } + else if (parseZone) { + if (isAmbigZone) { + mom._ambigZone = true; + } + else if (isSingleString) { + mom.utcOffset(input); // if not a valid zone, will assign UTC + } + } + } + mom._fullCalendar = true; // flag for extended functionality + return mom; +} +// Week Number +// ------------------------------------------------------------------------------------------------- +// Returns the week number, considering the locale's custom week number calcuation +// `weeks` is an alias for `week` +newMomentProto.week = newMomentProto.weeks = function (input) { + var weekCalc = this._locale._fullCalendar_weekCalc; + if (input == null && typeof weekCalc === 'function') { + return weekCalc(this); + } + else if (weekCalc === 'ISO') { + return oldMomentProto.isoWeek.apply(this, arguments); // ISO getter/setter + } + return oldMomentProto.week.apply(this, arguments); // local getter/setter +}; +// Time-of-day +// ------------------------------------------------------------------------------------------------- +// GETTER +// Returns a Duration with the hours/minutes/seconds/ms values of the moment. +// If the moment has an ambiguous time, a duration of 00:00 will be returned. +// +// SETTER +// You can supply a Duration, a Moment, or a Duration-like argument. +// When setting the time, and the moment has an ambiguous time, it then becomes unambiguous. +newMomentProto.time = function (time) { + // Fallback to the original method (if there is one) if this moment wasn't created via FullCalendar. + // `time` is a generic enough method name where this precaution is necessary to avoid collisions w/ other plugins. + if (!this._fullCalendar) { + return oldMomentProto.time.apply(this, arguments); + } + if (time == null) { + return moment.duration({ + hours: this.hours(), + minutes: this.minutes(), + seconds: this.seconds(), + milliseconds: this.milliseconds() + }); + } + else { + this._ambigTime = false; // mark that the moment now has a time + if (!moment.isDuration(time) && !moment.isMoment(time)) { + time = moment.duration(time); + } + // The day value should cause overflow (so 24 hours becomes 00:00:00 of next day). + // Only for Duration times, not Moment times. + var dayHours = 0; + if (moment.isDuration(time)) { + dayHours = Math.floor(time.asDays()) * 24; + } + // We need to set the individual fields. + // Can't use startOf('day') then add duration. In case of DST at start of day. + return this.hours(dayHours + time.hours()) + .minutes(time.minutes()) + .seconds(time.seconds()) + .milliseconds(time.milliseconds()); + } +}; +// Converts the moment to UTC, stripping out its time-of-day and timezone offset, +// but preserving its YMD. A moment with a stripped time will display no time +// nor timezone offset when .format() is called. +newMomentProto.stripTime = function () { + if (!this._ambigTime) { + this.utc(true); // keepLocalTime=true (for keeping *date* value) + // set time to zero + this.set({ + hours: 0, + minutes: 0, + seconds: 0, + ms: 0 + }); + // Mark the time as ambiguous. This needs to happen after the .utc() call, which might call .utcOffset(), + // which clears all ambig flags. + this._ambigTime = true; + this._ambigZone = true; // if ambiguous time, also ambiguous timezone offset + } + return this; // for chaining +}; +// Returns if the moment has a non-ambiguous time (boolean) +newMomentProto.hasTime = function () { + return !this._ambigTime; +}; +// Timezone +// ------------------------------------------------------------------------------------------------- +// Converts the moment to UTC, stripping out its timezone offset, but preserving its +// YMD and time-of-day. A moment with a stripped timezone offset will display no +// timezone offset when .format() is called. +newMomentProto.stripZone = function () { + var wasAmbigTime; + if (!this._ambigZone) { + wasAmbigTime = this._ambigTime; + this.utc(true); // keepLocalTime=true (for keeping date and time values) + // the above call to .utc()/.utcOffset() unfortunately might clear the ambig flags, so restore + this._ambigTime = wasAmbigTime || false; + // Mark the zone as ambiguous. This needs to happen after the .utc() call, which might call .utcOffset(), + // which clears the ambig flags. + this._ambigZone = true; + } + return this; // for chaining +}; +// Returns of the moment has a non-ambiguous timezone offset (boolean) +newMomentProto.hasZone = function () { + return !this._ambigZone; +}; +// implicitly marks a zone +newMomentProto.local = function (keepLocalTime) { + // for when converting from ambiguously-zoned to local, + // keep the time values when converting from UTC -> local + oldMomentProto.local.call(this, this._ambigZone || keepLocalTime); + // ensure non-ambiguous + // this probably already happened via local() -> utcOffset(), but don't rely on Moment's internals + this._ambigTime = false; + this._ambigZone = false; + return this; // for chaining +}; +// implicitly marks a zone +newMomentProto.utc = function (keepLocalTime) { + oldMomentProto.utc.call(this, keepLocalTime); + // ensure non-ambiguous + // this probably already happened via utc() -> utcOffset(), but don't rely on Moment's internals + this._ambigTime = false; + this._ambigZone = false; + return this; +}; +// implicitly marks a zone (will probably get called upon .utc() and .local()) +newMomentProto.utcOffset = function (tzo) { + if (tzo != null) { + // these assignments needs to happen before the original zone method is called. + // I forget why, something to do with a browser crash. + this._ambigTime = false; + this._ambigZone = false; + } + return oldMomentProto.utcOffset.apply(this, arguments); +}; + + +/***/ }), +/* 11 */ +/***/ (function(module, exports, __webpack_require__) { + +/* +USAGE: + import { default as EmitterMixin, EmitterInterface } from './EmitterMixin' +in class: + on: EmitterInterface['on'] + one: EmitterInterface['one'] + off: EmitterInterface['off'] + trigger: EmitterInterface['trigger'] + triggerWith: EmitterInterface['triggerWith'] + hasHandlers: EmitterInterface['hasHandlers'] +after class: + EmitterMixin.mixInto(TheClass) +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var Mixin_1 = __webpack_require__(14); +var EmitterMixin = /** @class */ (function (_super) { + tslib_1.__extends(EmitterMixin, _super); + function EmitterMixin() { + return _super !== null && _super.apply(this, arguments) || this; + } + // jQuery-ification via $(this) allows a non-DOM object to have + // the same event handling capabilities (including namespaces). + EmitterMixin.prototype.on = function (types, handler) { + $(this).on(types, this._prepareIntercept(handler)); + return this; // for chaining + }; + EmitterMixin.prototype.one = function (types, handler) { + $(this).one(types, this._prepareIntercept(handler)); + return this; // for chaining + }; + EmitterMixin.prototype._prepareIntercept = function (handler) { + // handlers are always called with an "event" object as their first param. + // sneak the `this` context and arguments into the extra parameter object + // and forward them on to the original handler. + var intercept = function (ev, extra) { + return handler.apply(extra.context || this, extra.args || []); + }; + // mimick jQuery's internal "proxy" system (risky, I know) + // causing all functions with the same .guid to appear to be the same. + // https://github.com/jquery/jquery/blob/2.2.4/src/core.js#L448 + // this is needed for calling .off with the original non-intercept handler. + if (!handler.guid) { + handler.guid = $.guid++; + } + intercept.guid = handler.guid; + return intercept; + }; + EmitterMixin.prototype.off = function (types, handler) { + $(this).off(types, handler); + return this; // for chaining + }; + EmitterMixin.prototype.trigger = function (types) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + // pass in "extra" info to the intercept + $(this).triggerHandler(types, { args: args }); + return this; // for chaining + }; + EmitterMixin.prototype.triggerWith = function (types, context, args) { + // `triggerHandler` is less reliant on the DOM compared to `trigger`. + // pass in "extra" info to the intercept. + $(this).triggerHandler(types, { context: context, args: args }); + return this; // for chaining + }; + EmitterMixin.prototype.hasHandlers = function (type) { + var hash = $._data(this, 'events'); // http://blog.jquery.com/2012/08/09/jquery-1-8-released/ + return hash && hash[type] && hash[type].length > 0; + }; + return EmitterMixin; +}(Mixin_1.default)); +exports.default = EmitterMixin; + + +/***/ }), +/* 12 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); +/* +Meant to be immutable +*/ +var ComponentFootprint = /** @class */ (function () { + function ComponentFootprint(unzonedRange, isAllDay) { + this.isAllDay = false; // component can choose to ignore this + this.unzonedRange = unzonedRange; + this.isAllDay = isAllDay; + } + /* + Only works for non-open-ended ranges. + */ + ComponentFootprint.prototype.toLegacy = function (calendar) { + return { + start: calendar.msToMoment(this.unzonedRange.startMs, this.isAllDay), + end: calendar.msToMoment(this.unzonedRange.endMs, this.isAllDay) + }; + }; + return ComponentFootprint; +}()); +exports.default = ComponentFootprint; + + +/***/ }), +/* 13 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var EventDef_1 = __webpack_require__(34); +var EventInstance_1 = __webpack_require__(209); +var EventDateProfile_1 = __webpack_require__(17); +var SingleEventDef = /** @class */ (function (_super) { + tslib_1.__extends(SingleEventDef, _super); + function SingleEventDef() { + return _super !== null && _super.apply(this, arguments) || this; + } + /* + Will receive start/end params, but will be ignored. + */ + SingleEventDef.prototype.buildInstances = function () { + return [this.buildInstance()]; + }; + SingleEventDef.prototype.buildInstance = function () { + return new EventInstance_1.default(this, // definition + this.dateProfile); + }; + SingleEventDef.prototype.isAllDay = function () { + return this.dateProfile.isAllDay(); + }; + SingleEventDef.prototype.clone = function () { + var def = _super.prototype.clone.call(this); + def.dateProfile = this.dateProfile; + return def; + }; + SingleEventDef.prototype.rezone = function () { + var calendar = this.source.calendar; + var dateProfile = this.dateProfile; + this.dateProfile = new EventDateProfile_1.default(calendar.moment(dateProfile.start), dateProfile.end ? calendar.moment(dateProfile.end) : null, calendar); + }; + /* + NOTE: if super-method fails, should still attempt to apply + */ + SingleEventDef.prototype.applyManualStandardProps = function (rawProps) { + var superSuccess = _super.prototype.applyManualStandardProps.call(this, rawProps); + var dateProfile = EventDateProfile_1.default.parse(rawProps, this.source); // returns null on failure + if (dateProfile) { + this.dateProfile = dateProfile; + // make sure `date` shows up in the legacy event objects as-is + if (rawProps.date != null) { + this.miscProps.date = rawProps.date; + } + return superSuccess; + } + else { + return false; + } + }; + return SingleEventDef; +}(EventDef_1.default)); +exports.default = SingleEventDef; +// Parsing +// --------------------------------------------------------------------------------------------------------------------- +SingleEventDef.defineStandardProps({ + start: false, + date: false, + end: false, + allDay: false +}); + + +/***/ }), +/* 14 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var Mixin = /** @class */ (function () { + function Mixin() { + } + Mixin.mixInto = function (destClass) { + var _this = this; + Object.getOwnPropertyNames(this.prototype).forEach(function (name) { + if (!destClass.prototype[name]) { + destClass.prototype[name] = _this.prototype[name]; + } + }); + }; + /* + will override existing methods + TODO: remove! not used anymore + */ + Mixin.mixOver = function (destClass) { + var _this = this; + Object.getOwnPropertyNames(this.prototype).forEach(function (name) { + destClass.prototype[name] = _this.prototype[name]; + }); + }; + return Mixin; +}()); +exports.default = Mixin; + + +/***/ }), +/* 15 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var Interaction = /** @class */ (function () { + function Interaction(component) { + this.view = component._getView(); + this.component = component; + } + Interaction.prototype.opt = function (name) { + return this.view.opt(name); + }; + Interaction.prototype.end = function () { + // subclasses can implement + }; + return Interaction; +}()); +exports.default = Interaction; + + +/***/ }), +/* 16 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +exports.version = '3.9.0'; +// When introducing internal API incompatibilities (where fullcalendar plugins would break), +// the minor version of the calendrier should be upped (ex: 2.7.2 -> 2.8.0) +// and the below integer should be incremented. +exports.internalApiVersion = 12; +var util_1 = __webpack_require__(4); +exports.applyAll = util_1.applyAll; +exports.debounce = util_1.debounce; +exports.isInt = util_1.isInt; +exports.htmlEscape = util_1.htmlEscape; +exports.cssToStr = util_1.cssToStr; +exports.proxy = util_1.proxy; +exports.capitaliseFirstLetter = util_1.capitaliseFirstLetter; +exports.getOuterRect = util_1.getOuterRect; +exports.getClientRect = util_1.getClientRect; +exports.getContentRect = util_1.getContentRect; +exports.getScrollbarWidths = util_1.getScrollbarWidths; +exports.preventDefault = util_1.preventDefault; +exports.parseFieldSpecs = util_1.parseFieldSpecs; +exports.compareByFieldSpecs = util_1.compareByFieldSpecs; +exports.compareByFieldSpec = util_1.compareByFieldSpec; +exports.flexibleCompare = util_1.flexibleCompare; +exports.computeGreatestUnit = util_1.computeGreatestUnit; +exports.divideRangeByDuration = util_1.divideRangeByDuration; +exports.divideDurationByDuration = util_1.divideDurationByDuration; +exports.multiplyDuration = util_1.multiplyDuration; +exports.durationHasTime = util_1.durationHasTime; +exports.log = util_1.log; +exports.warn = util_1.warn; +exports.removeExact = util_1.removeExact; +exports.intersectRects = util_1.intersectRects; +var date_formatting_1 = __webpack_require__(47); +exports.formatDate = date_formatting_1.formatDate; +exports.formatRange = date_formatting_1.formatRange; +exports.queryMostGranularFormatUnit = date_formatting_1.queryMostGranularFormatUnit; +var locale_1 = __webpack_require__(31); +exports.datepickerLocale = locale_1.datepickerLocale; +exports.locale = locale_1.locale; +var moment_ext_1 = __webpack_require__(10); +exports.moment = moment_ext_1.default; +var EmitterMixin_1 = __webpack_require__(11); +exports.EmitterMixin = EmitterMixin_1.default; +var ListenerMixin_1 = __webpack_require__(7); +exports.ListenerMixin = ListenerMixin_1.default; +var Model_1 = __webpack_require__(48); +exports.Model = Model_1.default; +var Constraints_1 = __webpack_require__(207); +exports.Constraints = Constraints_1.default; +var UnzonedRange_1 = __webpack_require__(5); +exports.UnzonedRange = UnzonedRange_1.default; +var ComponentFootprint_1 = __webpack_require__(12); +exports.ComponentFootprint = ComponentFootprint_1.default; +var BusinessHourGenerator_1 = __webpack_require__(212); +exports.BusinessHourGenerator = BusinessHourGenerator_1.default; +var EventDef_1 = __webpack_require__(34); +exports.EventDef = EventDef_1.default; +var EventDefMutation_1 = __webpack_require__(37); +exports.EventDefMutation = EventDefMutation_1.default; +var EventSourceParser_1 = __webpack_require__(38); +exports.EventSourceParser = EventSourceParser_1.default; +var EventSource_1 = __webpack_require__(6); +exports.EventSource = EventSource_1.default; +var ThemeRegistry_1 = __webpack_require__(51); +exports.defineThemeSystem = ThemeRegistry_1.defineThemeSystem; +var EventInstanceGroup_1 = __webpack_require__(18); +exports.EventInstanceGroup = EventInstanceGroup_1.default; +var ArrayEventSource_1 = __webpack_require__(52); +exports.ArrayEventSource = ArrayEventSource_1.default; +var FuncEventSource_1 = __webpack_require__(215); +exports.FuncEventSource = FuncEventSource_1.default; +var JsonFeedEventSource_1 = __webpack_require__(216); +exports.JsonFeedEventSource = JsonFeedEventSource_1.default; +var EventFootprint_1 = __webpack_require__(36); +exports.EventFootprint = EventFootprint_1.default; +var Class_1 = __webpack_require__(33); +exports.Class = Class_1.default; +var Mixin_1 = __webpack_require__(14); +exports.Mixin = Mixin_1.default; +var CoordCache_1 = __webpack_require__(53); +exports.CoordCache = CoordCache_1.default; +var DragListener_1 = __webpack_require__(54); +exports.DragListener = DragListener_1.default; +var Promise_1 = __webpack_require__(20); +exports.Promise = Promise_1.default; +var TaskQueue_1 = __webpack_require__(217); +exports.TaskQueue = TaskQueue_1.default; +var RenderQueue_1 = __webpack_require__(218); +exports.RenderQueue = RenderQueue_1.default; +var Scroller_1 = __webpack_require__(39); +exports.Scroller = Scroller_1.default; +var Theme_1 = __webpack_require__(19); +exports.Theme = Theme_1.default; +var DateComponent_1 = __webpack_require__(219); +exports.DateComponent = DateComponent_1.default; +var InteractiveDateComponent_1 = __webpack_require__(40); +exports.InteractiveDateComponent = InteractiveDateComponent_1.default; +var Calendar_1 = __webpack_require__(220); +exports.Calendar = Calendar_1.default; +var View_1 = __webpack_require__(41); +exports.View = View_1.default; +var ViewRegistry_1 = __webpack_require__(22); +exports.defineView = ViewRegistry_1.defineView; +exports.getViewConfig = ViewRegistry_1.getViewConfig; +var DayTableMixin_1 = __webpack_require__(55); +exports.DayTableMixin = DayTableMixin_1.default; +var BusinessHourRenderer_1 = __webpack_require__(56); +exports.BusinessHourRenderer = BusinessHourRenderer_1.default; +var EventRenderer_1 = __webpack_require__(42); +exports.EventRenderer = EventRenderer_1.default; +var FillRenderer_1 = __webpack_require__(57); +exports.FillRenderer = FillRenderer_1.default; +var HelperRenderer_1 = __webpack_require__(58); +exports.HelperRenderer = HelperRenderer_1.default; +var ExternalDropping_1 = __webpack_require__(222); +exports.ExternalDropping = ExternalDropping_1.default; +var EventResizing_1 = __webpack_require__(223); +exports.EventResizing = EventResizing_1.default; +var EventPointing_1 = __webpack_require__(59); +exports.EventPointing = EventPointing_1.default; +var EventDragging_1 = __webpack_require__(224); +exports.EventDragging = EventDragging_1.default; +var DateSelecting_1 = __webpack_require__(225); +exports.DateSelecting = DateSelecting_1.default; +var StandardInteractionsMixin_1 = __webpack_require__(60); +exports.StandardInteractionsMixin = StandardInteractionsMixin_1.default; +var AgendaView_1 = __webpack_require__(226); +exports.AgendaView = AgendaView_1.default; +var TimeGrid_1 = __webpack_require__(227); +exports.TimeGrid = TimeGrid_1.default; +var DayGrid_1 = __webpack_require__(61); +exports.DayGrid = DayGrid_1.default; +var BasicView_1 = __webpack_require__(62); +exports.BasicView = BasicView_1.default; +var MonthView_1 = __webpack_require__(229); +exports.MonthView = MonthView_1.default; +var ListView_1 = __webpack_require__(230); +exports.ListView = ListView_1.default; + + +/***/ }), +/* 17 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var UnzonedRange_1 = __webpack_require__(5); +/* +Meant to be immutable +*/ +var EventDateProfile = /** @class */ (function () { + function EventDateProfile(start, end, calendar) { + this.start = start; + this.end = end || null; + this.unzonedRange = this.buildUnzonedRange(calendar); + } + /* + Needs an EventSource object + */ + EventDateProfile.parse = function (rawProps, source) { + var startInput = rawProps.start || rawProps.date; + var endInput = rawProps.end; + if (!startInput) { + return false; + } + var calendar = source.calendar; + var start = calendar.moment(startInput); + var end = endInput ? calendar.moment(endInput) : null; + var forcedAllDay = rawProps.allDay; + var forceEventDuration = calendar.opt('forceEventDuration'); + if (!start.isValid()) { + return false; + } + if (end && (!end.isValid() || !end.isAfter(start))) { + end = null; + } + if (forcedAllDay == null) { + forcedAllDay = source.allDayDefault; + if (forcedAllDay == null) { + forcedAllDay = calendar.opt('allDayDefault'); + } + } + if (forcedAllDay === true) { + start.stripTime(); + if (end) { + end.stripTime(); + } + } + else if (forcedAllDay === false) { + if (!start.hasTime()) { + start.time(0); + } + if (end && !end.hasTime()) { + end.time(0); + } + } + if (!end && forceEventDuration) { + end = calendar.getDefaultEventEnd(!start.hasTime(), start); + } + return new EventDateProfile(start, end, calendar); + }; + EventDateProfile.isStandardProp = function (propName) { + return propName === 'start' || propName === 'date' || propName === 'end' || propName === 'allDay'; + }; + EventDateProfile.prototype.isAllDay = function () { + return !(this.start.hasTime() || (this.end && this.end.hasTime())); + }; + /* + Needs a Calendar object + */ + EventDateProfile.prototype.buildUnzonedRange = function (calendar) { + var startMs = this.start.clone().stripZone().valueOf(); + var endMs = this.getEnd(calendar).stripZone().valueOf(); + return new UnzonedRange_1.default(startMs, endMs); + }; + /* + Needs a Calendar object + */ + EventDateProfile.prototype.getEnd = function (calendar) { + return this.end ? + this.end.clone() : + // derive the end from the start and allDay. compute allDay if necessary + calendar.getDefaultEventEnd(this.isAllDay(), this.start); + }; + return EventDateProfile; +}()); +exports.default = EventDateProfile; + + +/***/ }), +/* 18 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var UnzonedRange_1 = __webpack_require__(5); +var util_1 = __webpack_require__(35); +var EventRange_1 = __webpack_require__(211); +/* +It's expected that there will be at least one EventInstance, +OR that an explicitEventDef is assigned. +*/ +var EventInstanceGroup = /** @class */ (function () { + function EventInstanceGroup(eventInstances) { + this.eventInstances = eventInstances || []; + } + EventInstanceGroup.prototype.getAllEventRanges = function (constraintRange) { + if (constraintRange) { + return this.sliceNormalRenderRanges(constraintRange); + } + else { + return this.eventInstances.map(util_1.eventInstanceToEventRange); + } + }; + EventInstanceGroup.prototype.sliceRenderRanges = function (constraintRange) { + if (this.isInverse()) { + return this.sliceInverseRenderRanges(constraintRange); + } + else { + return this.sliceNormalRenderRanges(constraintRange); + } + }; + EventInstanceGroup.prototype.sliceNormalRenderRanges = function (constraintRange) { + var eventInstances = this.eventInstances; + var i; + var eventInstance; + var slicedRange; + var slicedEventRanges = []; + for (i = 0; i < eventInstances.length; i++) { + eventInstance = eventInstances[i]; + slicedRange = eventInstance.dateProfile.unzonedRange.intersect(constraintRange); + if (slicedRange) { + slicedEventRanges.push(new EventRange_1.default(slicedRange, eventInstance.def, eventInstance)); + } + } + return slicedEventRanges; + }; + EventInstanceGroup.prototype.sliceInverseRenderRanges = function (constraintRange) { + var unzonedRanges = this.eventInstances.map(util_1.eventInstanceToUnzonedRange); + var ownerDef = this.getEventDef(); + unzonedRanges = UnzonedRange_1.default.invertRanges(unzonedRanges, constraintRange); + return unzonedRanges.map(function (unzonedRange) { + return new EventRange_1.default(unzonedRange, ownerDef); // don't give an EventInstance + }); + }; + EventInstanceGroup.prototype.isInverse = function () { + return this.getEventDef().hasInverseRendering(); + }; + EventInstanceGroup.prototype.getEventDef = function () { + return this.explicitEventDef || this.eventInstances[0].def; + }; + return EventInstanceGroup; +}()); +exports.default = EventInstanceGroup; + + +/***/ }), +/* 19 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var Theme = /** @class */ (function () { + function Theme(optionsManager) { + this.optionsManager = optionsManager; + this.processIconOverride(); + } + Theme.prototype.processIconOverride = function () { + if (this.iconOverrideOption) { + this.setIconOverride(this.optionsManager.get(this.iconOverrideOption)); + } + }; + Theme.prototype.setIconOverride = function (iconOverrideHash) { + var iconClassesCopy; + var buttonName; + if ($.isPlainObject(iconOverrideHash)) { + iconClassesCopy = $.extend({}, this.iconClasses); + for (buttonName in iconOverrideHash) { + iconClassesCopy[buttonName] = this.applyIconOverridePrefix(iconOverrideHash[buttonName]); + } + this.iconClasses = iconClassesCopy; + } + else if (iconOverrideHash === false) { + this.iconClasses = {}; + } + }; + Theme.prototype.applyIconOverridePrefix = function (className) { + var prefix = this.iconOverridePrefix; + if (prefix && className.indexOf(prefix) !== 0) { + className = prefix + className; + } + return className; + }; + Theme.prototype.getClass = function (key) { + return this.classes[key] || ''; + }; + Theme.prototype.getIconClass = function (buttonName) { + var className = this.iconClasses[buttonName]; + if (className) { + return this.baseIconClass + ' ' + className; + } + return ''; + }; + Theme.prototype.getCustomButtonIconClass = function (customButtonProps) { + var className; + if (this.iconOverrideCustomButtonOption) { + className = customButtonProps[this.iconOverrideCustomButtonOption]; + if (className) { + return this.baseIconClass + ' ' + this.applyIconOverridePrefix(className); + } + } + return ''; + }; + return Theme; +}()); +exports.default = Theme; +Theme.prototype.classes = {}; +Theme.prototype.iconClasses = {}; +Theme.prototype.baseIconClass = ''; +Theme.prototype.iconOverridePrefix = ''; + + +/***/ }), +/* 20 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var PromiseStub = { + construct: function (executor) { + var deferred = $.Deferred(); + var promise = deferred.promise(); + if (typeof executor === 'function') { + executor(function (val) { + deferred.resolve(val); + attachImmediatelyResolvingThen(promise, val); + }, function () { + deferred.reject(); + attachImmediatelyRejectingThen(promise); + }); + } + return promise; + }, + resolve: function (val) { + var deferred = $.Deferred().resolve(val); + var promise = deferred.promise(); + attachImmediatelyResolvingThen(promise, val); + return promise; + }, + reject: function () { + var deferred = $.Deferred().reject(); + var promise = deferred.promise(); + attachImmediatelyRejectingThen(promise); + return promise; + } +}; +exports.default = PromiseStub; +function attachImmediatelyResolvingThen(promise, val) { + promise.then = function (onResolve) { + if (typeof onResolve === 'function') { + return PromiseStub.resolve(onResolve(val)); + } + return promise; + }; +} +function attachImmediatelyRejectingThen(promise) { + promise.then = function (onResolve, onReject) { + if (typeof onReject === 'function') { + onReject(); + } + return promise; + }; +} + + +/***/ }), +/* 21 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var exportHooks = __webpack_require__(16); +var EmitterMixin_1 = __webpack_require__(11); +var ListenerMixin_1 = __webpack_require__(7); +exportHooks.touchMouseIgnoreWait = 500; +var globalEmitter = null; +var neededCount = 0; +/* +Listens to document and window-level user-interaction events, like touch events and mouse events, +and fires these events as-is to whoever is observing a GlobalEmitter. +Best when used as a singleton via GlobalEmitter.get() + +Normalizes mouse/touch events. For examples: +- ignores the the simulated mouse events that happen after a quick tap: mousemove+mousedown+mouseup+click +- compensates for various buggy scenarios where a touchend does not fire +*/ +var GlobalEmitter = /** @class */ (function () { + function GlobalEmitter() { + this.isTouching = false; + this.mouseIgnoreDepth = 0; + } + // gets the singleton + GlobalEmitter.get = function () { + if (!globalEmitter) { + globalEmitter = new GlobalEmitter(); + globalEmitter.bind(); + } + return globalEmitter; + }; + // called when an object knows it will need a GlobalEmitter in the near future. + GlobalEmitter.needed = function () { + GlobalEmitter.get(); // ensures globalEmitter + neededCount++; + }; + // called when the object that originally called needed() doesn't need a GlobalEmitter anymore. + GlobalEmitter.unneeded = function () { + neededCount--; + if (!neededCount) { + globalEmitter.unbind(); + globalEmitter = null; + } + }; + GlobalEmitter.prototype.bind = function () { + var _this = this; + this.listenTo($(document), { + touchstart: this.handleTouchStart, + touchcancel: this.handleTouchCancel, + touchend: this.handleTouchEnd, + mousedown: this.handleMouseDown, + mousemove: this.handleMouseMove, + mouseup: this.handleMouseUp, + click: this.handleClick, + selectstart: this.handleSelectStart, + contextmenu: this.handleContextMenu + }); + // because we need to call preventDefault + // because https://www.chromestatus.com/features/5093566007214080 + // TODO: investigate performance because this is a global handler + window.addEventListener('touchmove', this.handleTouchMoveProxy = function (ev) { + _this.handleTouchMove($.Event(ev)); + }, { passive: false } // allows preventDefault() + ); + // attach a handler to get called when ANY scroll action happens on the page. + // this was impossible to do with normal on/off because 'scroll' doesn't bubble. + // http://stackoverflow.com/a/32954565/96342 + window.addEventListener('scroll', this.handleScrollProxy = function (ev) { + _this.handleScroll($.Event(ev)); + }, true // useCapture + ); + }; + GlobalEmitter.prototype.unbind = function () { + this.stopListeningTo($(document)); + window.removeEventListener('touchmove', this.handleTouchMoveProxy); + window.removeEventListener('scroll', this.handleScrollProxy, true // useCapture + ); + }; + // Touch Handlers + // ----------------------------------------------------------------------------------------------------------------- + GlobalEmitter.prototype.handleTouchStart = function (ev) { + // if a previous touch interaction never ended with a touchend, then implicitly end it, + // but since a new touch interaction is about to begin, don't start the mouse ignore period. + this.stopTouch(ev, true); // skipMouseIgnore=true + this.isTouching = true; + this.trigger('touchstart', ev); + }; + GlobalEmitter.prototype.handleTouchMove = function (ev) { + if (this.isTouching) { + this.trigger('touchmove', ev); + } + }; + GlobalEmitter.prototype.handleTouchCancel = function (ev) { + if (this.isTouching) { + this.trigger('touchcancel', ev); + // Have touchcancel fire an artificial touchend. That way, handlers won't need to listen to both. + // If touchend fires later, it won't have any effect b/c isTouching will be false. + this.stopTouch(ev); + } + }; + GlobalEmitter.prototype.handleTouchEnd = function (ev) { + this.stopTouch(ev); + }; + // Mouse Handlers + // ----------------------------------------------------------------------------------------------------------------- + GlobalEmitter.prototype.handleMouseDown = function (ev) { + if (!this.shouldIgnoreMouse()) { + this.trigger('mousedown', ev); + } + }; + GlobalEmitter.prototype.handleMouseMove = function (ev) { + if (!this.shouldIgnoreMouse()) { + this.trigger('mousemove', ev); + } + }; + GlobalEmitter.prototype.handleMouseUp = function (ev) { + if (!this.shouldIgnoreMouse()) { + this.trigger('mouseup', ev); + } + }; + GlobalEmitter.prototype.handleClick = function (ev) { + if (!this.shouldIgnoreMouse()) { + this.trigger('click', ev); + } + }; + // Misc Handlers + // ----------------------------------------------------------------------------------------------------------------- + GlobalEmitter.prototype.handleSelectStart = function (ev) { + this.trigger('selectstart', ev); + }; + GlobalEmitter.prototype.handleContextMenu = function (ev) { + this.trigger('contextmenu', ev); + }; + GlobalEmitter.prototype.handleScroll = function (ev) { + this.trigger('scroll', ev); + }; + // Utils + // ----------------------------------------------------------------------------------------------------------------- + GlobalEmitter.prototype.stopTouch = function (ev, skipMouseIgnore) { + if (skipMouseIgnore === void 0) { skipMouseIgnore = false; } + if (this.isTouching) { + this.isTouching = false; + this.trigger('touchend', ev); + if (!skipMouseIgnore) { + this.startTouchMouseIgnore(); + } + } + }; + GlobalEmitter.prototype.startTouchMouseIgnore = function () { + var _this = this; + var wait = exportHooks.touchMouseIgnoreWait; + if (wait) { + this.mouseIgnoreDepth++; + setTimeout(function () { + _this.mouseIgnoreDepth--; + }, wait); + } + }; + GlobalEmitter.prototype.shouldIgnoreMouse = function () { + return this.isTouching || Boolean(this.mouseIgnoreDepth); + }; + return GlobalEmitter; +}()); +exports.default = GlobalEmitter; +ListenerMixin_1.default.mixInto(GlobalEmitter); +EmitterMixin_1.default.mixInto(GlobalEmitter); + + +/***/ }), +/* 22 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var exportHooks = __webpack_require__(16); +exports.viewHash = {}; +exportHooks.views = exports.viewHash; +function defineView(viewName, viewConfig) { + exports.viewHash[viewName] = viewConfig; +} +exports.defineView = defineView; +function getViewConfig(viewName) { + return exports.viewHash[viewName]; +} +exports.getViewConfig = getViewConfig; + + +/***/ }), +/* 23 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var util_1 = __webpack_require__(4); +var DragListener_1 = __webpack_require__(54); +/* Tracks mouse movements over a component and raises events about which hit the mouse is over. +------------------------------------------------------------------------------------------------------------------------ +options: +- subjectEl +- subjectCenter +*/ +var HitDragListener = /** @class */ (function (_super) { + tslib_1.__extends(HitDragListener, _super); + function HitDragListener(component, options) { + var _this = _super.call(this, options) || this; + _this.component = component; + return _this; + } + // Called when drag listening starts (but a real drag has not necessarily began). + // ev might be undefined if dragging was started manually. + HitDragListener.prototype.handleInteractionStart = function (ev) { + var subjectEl = this.subjectEl; + var subjectRect; + var origPoint; + var point; + this.component.hitsNeeded(); + this.computeScrollBounds(); // for autoscroll + if (ev) { + origPoint = { left: util_1.getEvX(ev), top: util_1.getEvY(ev) }; + point = origPoint; + // constrain the point to bounds of the element being dragged + if (subjectEl) { + subjectRect = util_1.getOuterRect(subjectEl); // used for centering as well + point = util_1.constrainPoint(point, subjectRect); + } + this.origHit = this.queryHit(point.left, point.top); + // treat the center of the subject as the collision point? + if (subjectEl && this.options.subjectCenter) { + // only consider the area the subject overlaps the hit. best for large subjects. + // TODO: skip this if hit didn't supply left/right/top/bottom + if (this.origHit) { + subjectRect = util_1.intersectRects(this.origHit, subjectRect) || + subjectRect; // in case there is no intersection + } + point = util_1.getRectCenter(subjectRect); + } + this.coordAdjust = util_1.diffPoints(point, origPoint); // point - origPoint + } + else { + this.origHit = null; + this.coordAdjust = null; + } + // call the super-method. do it after origHit has been computed + _super.prototype.handleInteractionStart.call(this, ev); + }; + // Called when the actual drag has started + HitDragListener.prototype.handleDragStart = function (ev) { + var hit; + _super.prototype.handleDragStart.call(this, ev); + // might be different from this.origHit if the min-distance is large + hit = this.queryHit(util_1.getEvX(ev), util_1.getEvY(ev)); + // report the initial hit the mouse is over + // especially important if no min-distance and drag starts immediately + if (hit) { + this.handleHitOver(hit); + } + }; + // Called when the drag moves + HitDragListener.prototype.handleDrag = function (dx, dy, ev) { + var hit; + _super.prototype.handleDrag.call(this, dx, dy, ev); + hit = this.queryHit(util_1.getEvX(ev), util_1.getEvY(ev)); + if (!isHitsEqual(hit, this.hit)) { + if (this.hit) { + this.handleHitOut(); + } + if (hit) { + this.handleHitOver(hit); + } + } + }; + // Called when dragging has been stopped + HitDragListener.prototype.handleDragEnd = function (ev) { + this.handleHitDone(); + _super.prototype.handleDragEnd.call(this, ev); + }; + // Called when a the mouse has just moved over a new hit + HitDragListener.prototype.handleHitOver = function (hit) { + var isOrig = isHitsEqual(hit, this.origHit); + this.hit = hit; + this.trigger('hitOver', this.hit, isOrig, this.origHit); + }; + // Called when the mouse has just moved out of a hit + HitDragListener.prototype.handleHitOut = function () { + if (this.hit) { + this.trigger('hitOut', this.hit); + this.handleHitDone(); + this.hit = null; + } + }; + // Called after a hitOut. Also called before a dragStop + HitDragListener.prototype.handleHitDone = function () { + if (this.hit) { + this.trigger('hitDone', this.hit); + } + }; + // Called when the interaction ends, whether there was a real drag or not + HitDragListener.prototype.handleInteractionEnd = function (ev, isCancelled) { + _super.prototype.handleInteractionEnd.call(this, ev, isCancelled); + this.origHit = null; + this.hit = null; + this.component.hitsNotNeeded(); + }; + // Called when scrolling has stopped, whether through auto scroll, or the user scrolling + HitDragListener.prototype.handleScrollEnd = function () { + _super.prototype.handleScrollEnd.call(this); + // hits' absolute positions will be in new places after a user's scroll. + // HACK for recomputing. + if (this.isDragging) { + this.component.releaseHits(); + this.component.prepareHits(); + } + }; + // Gets the hit underneath the coordinates for the given mouse event + HitDragListener.prototype.queryHit = function (left, top) { + if (this.coordAdjust) { + left += this.coordAdjust.left; + top += this.coordAdjust.top; + } + return this.component.queryHit(left, top); + }; + return HitDragListener; +}(DragListener_1.default)); +exports.default = HitDragListener; +// Returns `true` if the hits are identically equal. `false` otherwise. Must be from the same component. +// Two null values will be considered equal, as two "out of the component" states are the same. +function isHitsEqual(hit0, hit1) { + if (!hit0 && !hit1) { + return true; + } + if (hit0 && hit1) { + return hit0.component === hit1.component && + isHitPropsWithin(hit0, hit1) && + isHitPropsWithin(hit1, hit0); // ensures all props are identical + } + return false; +} +// Returns true if all of subHit's non-standard properties are within superHit +function isHitPropsWithin(subHit, superHit) { + for (var propName in subHit) { + if (!/^(component|left|right|top|bottom)$/.test(propName)) { + if (subHit[propName] !== superHit[propName]) { + return false; + } + } + } + return true; +} + + +/***/ }), +/* 24 */, +/* 25 */, +/* 26 */, +/* 27 */, +/* 28 */, +/* 29 */, +/* 30 */, +/* 31 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var moment = __webpack_require__(0); +var exportHooks = __webpack_require__(16); +var options_1 = __webpack_require__(32); +var util_1 = __webpack_require__(4); +exports.localeOptionHash = {}; +exportHooks.locales = exports.localeOptionHash; +// NOTE: can't guarantee any of these computations will run because not every locale has datepicker +// configs, so make sure there are English fallbacks for these in the defaults file. +var dpComputableOptions = { + buttonText: function (dpOptions) { + return { + // the translations sometimes wrongly contain HTML entities + prev: util_1.stripHtmlEntities(dpOptions.prevText), + next: util_1.stripHtmlEntities(dpOptions.nextText), + today: util_1.stripHtmlEntities(dpOptions.currentText) + }; + }, + // Produces format strings like "MMMM YYYY" -> "September 2014" + monthYearFormat: function (dpOptions) { + return dpOptions.showMonthAfterYear ? + 'YYYY[' + dpOptions.yearSuffix + '] MMMM' : + 'MMMM YYYY[' + dpOptions.yearSuffix + ']'; + } +}; +var momComputableOptions = { + // Produces format strings like "ddd M/D" -> "Fri 9/15" + dayOfMonthFormat: function (momOptions, fcOptions) { + var format = momOptions.longDateFormat('l'); // for the format like "M/D/YYYY" + // strip the year off the edge, as well as other misc non-whitespace chars + format = format.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g, ''); + if (fcOptions.isRTL) { + format += ' ddd'; // for RTL, add day-of-week to end + } + else { + format = 'ddd ' + format; // for LTR, add day-of-week to beginning + } + return format; + }, + // Produces format strings like "h:mma" -> "6:00pm" + mediumTimeFormat: function (momOptions) { + return momOptions.longDateFormat('LT') + .replace(/\s*a$/i, 'a'); // convert AM/PM/am/pm to lowercase. remove any spaces beforehand + }, + // Produces format strings like "h(:mm)a" -> "6pm" / "6:30pm" + smallTimeFormat: function (momOptions) { + return momOptions.longDateFormat('LT') + .replace(':mm', '(:mm)') + .replace(/(\Wmm)$/, '($1)') // like above, but for foreign locales + .replace(/\s*a$/i, 'a'); // convert AM/PM/am/pm to lowercase. remove any spaces beforehand + }, + // Produces format strings like "h(:mm)t" -> "6p" / "6:30p" + extraSmallTimeFormat: function (momOptions) { + return momOptions.longDateFormat('LT') + .replace(':mm', '(:mm)') + .replace(/(\Wmm)$/, '($1)') // like above, but for foreign locales + .replace(/\s*a$/i, 't'); // convert to AM/PM/am/pm to lowercase one-letter. remove any spaces beforehand + }, + // Produces format strings like "ha" / "H" -> "6pm" / "18" + hourFormat: function (momOptions) { + return momOptions.longDateFormat('LT') + .replace(':mm', '') + .replace(/(\Wmm)$/, '') // like above, but for foreign locales + .replace(/\s*a$/i, 'a'); // convert AM/PM/am/pm to lowercase. remove any spaces beforehand + }, + // Produces format strings like "h:mm" -> "6:30" (with no AM/PM) + noMeridiemTimeFormat: function (momOptions) { + return momOptions.longDateFormat('LT') + .replace(/\s*a$/i, ''); // remove trailing AM/PM + } +}; +// options that should be computed off live calendrier options (considers override options) +// TODO: best place for this? related to locale? +// TODO: flipping text based on isRTL is a bad idea because the CSS `direction` might want to handle it +var instanceComputableOptions = { + // Produces format strings for results like "Mo 16" + smallDayDateFormat: function (options) { + return options.isRTL ? + 'D dd' : + 'dd D'; + }, + // Produces format strings for results like "Wk 5" + weekFormat: function (options) { + return options.isRTL ? + 'w[ ' + options.weekNumberTitle + ']' : + '[' + options.weekNumberTitle + ' ]w'; + }, + // Produces format strings for results like "Wk5" + smallWeekFormat: function (options) { + return options.isRTL ? + 'w[' + options.weekNumberTitle + ']' : + '[' + options.weekNumberTitle + ']w'; + } +}; +// TODO: make these computable properties in optionsManager +function populateInstanceComputableOptions(options) { + $.each(instanceComputableOptions, function (name, func) { + if (options[name] == null) { + options[name] = func(options); + } + }); +} +exports.populateInstanceComputableOptions = populateInstanceComputableOptions; +// Initialize jQuery UI datepicker translations while using some of the translations +// Will set this as the default locales for datepicker. +function datepickerLocale(localeCode, dpLocaleCode, dpOptions) { + // get the FullCalendar internal option hash for this locale. create if necessary + var fcOptions = exports.localeOptionHash[localeCode] || (exports.localeOptionHash[localeCode] = {}); + // transfer some simple options from datepicker to fc + fcOptions.isRTL = dpOptions.isRTL; + fcOptions.weekNumberTitle = dpOptions.weekHeader; + // compute some more complex options from datepicker + $.each(dpComputableOptions, function (name, func) { + fcOptions[name] = func(dpOptions); + }); + var jqDatePicker = $.datepicker; + // is jQuery UI Datepicker is on the page? + if (jqDatePicker) { + // Register the locale data. + // FullCalendar and MomentJS use locale codes like "pt-br" but Datepicker + // does it like "pt-BR" or if it doesn't have the locale, maybe just "pt". + // Make an alias so the locale can be referenced either way. + jqDatePicker.regional[dpLocaleCode] = + jqDatePicker.regional[localeCode] = // alias + dpOptions; + // Alias 'en' to the default locale data. Do this every time. + jqDatePicker.regional.en = jqDatePicker.regional['']; + // Set as Datepicker's global defaults. + jqDatePicker.setDefaults(dpOptions); + } +} +exports.datepickerLocale = datepickerLocale; +// Sets FullCalendar-specific translations. Will set the locales as the global default. +function locale(localeCode, newFcOptions) { + var fcOptions; + var momOptions; + // get the FullCalendar internal option hash for this locale. create if necessary + fcOptions = exports.localeOptionHash[localeCode] || (exports.localeOptionHash[localeCode] = {}); + // provided new options for this locales? merge them in + if (newFcOptions) { + fcOptions = exports.localeOptionHash[localeCode] = options_1.mergeOptions([fcOptions, newFcOptions]); + } + // compute locale options that weren't defined. + // always do this. newFcOptions can be undefined when initializing from i18n file, + // so no way to tell if this is an initialization or a default-setting. + momOptions = getMomentLocaleData(localeCode); // will fall back to en + $.each(momComputableOptions, function (name, func) { + if (fcOptions[name] == null) { + fcOptions[name] = (func)(momOptions, fcOptions); + } + }); + // set it as the default locale for FullCalendar + options_1.globalDefaults.locale = localeCode; +} +exports.locale = locale; +// Returns moment's internal locale data. If doesn't exist, returns English. +function getMomentLocaleData(localeCode) { + return moment.localeData(localeCode) || moment.localeData('en'); +} +exports.getMomentLocaleData = getMomentLocaleData; +// Initialize English by forcing computation of moment-derived options. +// Also, sets it as the default. +locale('en', options_1.englishDefaults); + + +/***/ }), +/* 32 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var util_1 = __webpack_require__(4); +exports.globalDefaults = { + titleRangeSeparator: ' \u2013 ', + monthYearFormat: 'MMMM YYYY', + defaultTimedEventDuration: '02:00:00', + defaultAllDayEventDuration: { days: 1 }, + forceEventDuration: false, + nextDayThreshold: '09:00:00', + // display + columnHeader: true, + defaultView: 'month', + aspectRatio: 1.35, + header: { + left: 'title', + center: '', + right: 'today prev,next' + }, + weekends: true, + weekNumbers: false, + weekNumberTitle: 'W', + weekNumberCalculation: 'local', + // editable: false, + // nowIndicator: false, + scrollTime: '06:00:00', + minTime: '00:00:00', + maxTime: '24:00:00', + showNonCurrentDates: true, + // event ajax + lazyFetching: true, + startParam: 'start', + endParam: 'end', + timezoneParam: 'timezone', + timezone: false, + // allDayDefault: undefined, + // locale + locale: null, + isRTL: false, + buttonText: { + prev: 'prev', + next: 'next', + prevYear: 'prev year', + nextYear: 'next year', + year: 'year', + today: 'today', + month: 'month', + week: 'week', + day: 'day' + }, + // buttonIcons: null, + allDayText: 'all-day', + // allows setting a min-height to the event segment to prevent short events overlapping each other + agendaEventMinHeight: 0, + // jquery-ui theming + theme: false, + // themeButtonIcons: null, + // eventResizableFromStart: false, + dragOpacity: .75, + dragRevertDuration: 500, + dragScroll: true, + // selectable: false, + unselectAuto: true, + // selectMinDistance: 0, + dropAccept: '*', + eventOrder: 'title', + // eventRenderWait: null, + eventLimit: false, + eventLimitText: 'more', + eventLimitClick: 'popover', + dayPopoverFormat: 'LL', + handleWindowResize: true, + windowResizeDelay: 100, + longPressDelay: 1000 +}; +exports.englishDefaults = { + dayPopoverFormat: 'dddd, MMMM D' +}; +exports.rtlDefaults = { + header: { + left: 'next,prev today', + center: '', + right: 'title' + }, + buttonIcons: { + prev: 'right-single-arrow', + next: 'left-single-arrow', + prevYear: 'right-double-arrow', + nextYear: 'left-double-arrow' + }, + themeButtonIcons: { + prev: 'circle-triangle-e', + next: 'circle-triangle-w', + nextYear: 'seek-prev', + prevYear: 'seek-next' + } +}; +var complexOptions = [ + 'header', + 'footer', + 'buttonText', + 'buttonIcons', + 'themeButtonIcons' +]; +// Merges an array of option objects into a single object +function mergeOptions(optionObjs) { + return util_1.mergeProps(optionObjs, complexOptions); +} +exports.mergeOptions = mergeOptions; + + +/***/ }), +/* 33 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var util_1 = __webpack_require__(4); +// Class that all other classes will inherit from +var Class = /** @class */ (function () { + function Class() { + } + // Called on a class to create a subclass. + // LIMITATION: cannot provide a constructor! + Class.extend = function (members) { + var SubClass = /** @class */ (function (_super) { + tslib_1.__extends(SubClass, _super); + function SubClass() { + return _super !== null && _super.apply(this, arguments) || this; + } + return SubClass; + }(this)); + util_1.copyOwnProps(members, SubClass.prototype); + return SubClass; + }; + // Adds new member variables/methods to the class's prototype. + // Can be called with another class, or a plain object hash containing new members. + Class.mixin = function (members) { + util_1.copyOwnProps(members, this.prototype); + }; + return Class; +}()); +exports.default = Class; + + +/***/ }), +/* 34 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var ParsableModelMixin_1 = __webpack_require__(208); +var EventDef = /** @class */ (function () { + function EventDef(source) { + this.source = source; + this.className = []; + this.miscProps = {}; + } + EventDef.parse = function (rawInput, source) { + var def = new this(source); + if (def.applyProps(rawInput)) { + return def; + } + return false; + }; + EventDef.normalizeId = function (id) { + return String(id); + }; + EventDef.generateId = function () { + return '_fc' + (EventDef.uuid++); + }; + EventDef.prototype.clone = function () { + var copy = new this.constructor(this.source); + copy.id = this.id; + copy.rawId = this.rawId; + copy.uid = this.uid; // not really unique anymore :( + EventDef.copyVerbatimStandardProps(this, copy); + copy.className = this.className.slice(); // copy + copy.miscProps = $.extend({}, this.miscProps); + return copy; + }; + EventDef.prototype.hasInverseRendering = function () { + return this.getRendering() === 'inverse-background'; + }; + EventDef.prototype.hasBgRendering = function () { + var rendering = this.getRendering(); + return rendering === 'inverse-background' || rendering === 'background'; + }; + EventDef.prototype.getRendering = function () { + if (this.rendering != null) { + return this.rendering; + } + return this.source.rendering; + }; + EventDef.prototype.getConstraint = function () { + if (this.constraint != null) { + return this.constraint; + } + if (this.source.constraint != null) { + return this.source.constraint; + } + return this.source.calendar.opt('eventConstraint'); // what about View option? + }; + EventDef.prototype.getOverlap = function () { + if (this.overlap != null) { + return this.overlap; + } + if (this.source.overlap != null) { + return this.source.overlap; + } + return this.source.calendar.opt('eventOverlap'); // what about View option? + }; + EventDef.prototype.isStartExplicitlyEditable = function () { + if (this.startEditable != null) { + return this.startEditable; + } + return this.source.startEditable; + }; + EventDef.prototype.isDurationExplicitlyEditable = function () { + if (this.durationEditable != null) { + return this.durationEditable; + } + return this.source.durationEditable; + }; + EventDef.prototype.isExplicitlyEditable = function () { + if (this.editable != null) { + return this.editable; + } + return this.source.editable; + }; + EventDef.prototype.toLegacy = function () { + var obj = $.extend({}, this.miscProps); + obj._id = this.uid; + obj.source = this.source; + obj.className = this.className.slice(); // copy + obj.allDay = this.isAllDay(); + if (this.rawId != null) { + obj.id = this.rawId; + } + EventDef.copyVerbatimStandardProps(this, obj); + return obj; + }; + EventDef.prototype.applyManualStandardProps = function (rawProps) { + if (rawProps.id != null) { + this.id = EventDef.normalizeId((this.rawId = rawProps.id)); + } + else { + this.id = EventDef.generateId(); + } + if (rawProps._id != null) { + this.uid = String(rawProps._id); + } + else { + this.uid = EventDef.generateId(); + } + // TODO: converge with EventSource + if ($.isArray(rawProps.className)) { + this.className = rawProps.className; + } + if (typeof rawProps.className === 'string') { + this.className = rawProps.className.split(/\s+/); + } + return true; + }; + EventDef.prototype.applyMiscProps = function (rawProps) { + $.extend(this.miscProps, rawProps); + }; + EventDef.uuid = 0; + EventDef.defineStandardProps = ParsableModelMixin_1.default.defineStandardProps; + EventDef.copyVerbatimStandardProps = ParsableModelMixin_1.default.copyVerbatimStandardProps; + return EventDef; +}()); +exports.default = EventDef; +ParsableModelMixin_1.default.mixInto(EventDef); +EventDef.defineStandardProps({ + // not automatically assigned (`false`) + _id: false, + id: false, + className: false, + source: false, + // automatically assigned (`true`) + title: true, + url: true, + rendering: true, + constraint: true, + overlap: true, + editable: true, + startEditable: true, + durationEditable: true, + color: true, + backgroundColor: true, + borderColor: true, + textColor: true +}); + + +/***/ }), +/* 35 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var EventRange_1 = __webpack_require__(211); +var EventFootprint_1 = __webpack_require__(36); +var ComponentFootprint_1 = __webpack_require__(12); +function eventDefsToEventInstances(eventDefs, unzonedRange) { + var eventInstances = []; + var i; + for (i = 0; i < eventDefs.length; i++) { + eventInstances.push.apply(eventInstances, // append + eventDefs[i].buildInstances(unzonedRange)); + } + return eventInstances; +} +exports.eventDefsToEventInstances = eventDefsToEventInstances; +function eventInstanceToEventRange(eventInstance) { + return new EventRange_1.default(eventInstance.dateProfile.unzonedRange, eventInstance.def, eventInstance); +} +exports.eventInstanceToEventRange = eventInstanceToEventRange; +function eventRangeToEventFootprint(eventRange) { + return new EventFootprint_1.default(new ComponentFootprint_1.default(eventRange.unzonedRange, eventRange.eventDef.isAllDay()), eventRange.eventDef, eventRange.eventInstance // might not exist + ); +} +exports.eventRangeToEventFootprint = eventRangeToEventFootprint; +function eventInstanceToUnzonedRange(eventInstance) { + return eventInstance.dateProfile.unzonedRange; +} +exports.eventInstanceToUnzonedRange = eventInstanceToUnzonedRange; +function eventFootprintToComponentFootprint(eventFootprint) { + return eventFootprint.componentFootprint; +} +exports.eventFootprintToComponentFootprint = eventFootprintToComponentFootprint; + + +/***/ }), +/* 36 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var EventFootprint = /** @class */ (function () { + function EventFootprint(componentFootprint, eventDef, eventInstance) { + this.componentFootprint = componentFootprint; + this.eventDef = eventDef; + if (eventInstance) { + this.eventInstance = eventInstance; + } + } + EventFootprint.prototype.getEventLegacy = function () { + return (this.eventInstance || this.eventDef).toLegacy(); + }; + return EventFootprint; +}()); +exports.default = EventFootprint; + + +/***/ }), +/* 37 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var util_1 = __webpack_require__(4); +var EventDateProfile_1 = __webpack_require__(17); +var EventDef_1 = __webpack_require__(34); +var EventDefDateMutation_1 = __webpack_require__(50); +var SingleEventDef_1 = __webpack_require__(13); +var EventDefMutation = /** @class */ (function () { + function EventDefMutation() { + } + EventDefMutation.createFromRawProps = function (eventInstance, rawProps, largeUnit) { + var eventDef = eventInstance.def; + var dateProps = {}; + var standardProps = {}; + var miscProps = {}; + var verbatimStandardProps = {}; + var eventDefId = null; + var className = null; + var propName; + var dateProfile; + var dateMutation; + var defMutation; + for (propName in rawProps) { + if (EventDateProfile_1.default.isStandardProp(propName)) { + dateProps[propName] = rawProps[propName]; + } + else if (eventDef.isStandardProp(propName)) { + standardProps[propName] = rawProps[propName]; + } + else if (eventDef.miscProps[propName] !== rawProps[propName]) { + miscProps[propName] = rawProps[propName]; + } + } + dateProfile = EventDateProfile_1.default.parse(dateProps, eventDef.source); + if (dateProfile) { + dateMutation = EventDefDateMutation_1.default.createFromDiff(eventInstance.dateProfile, dateProfile, largeUnit); + } + if (standardProps.id !== eventDef.id) { + eventDefId = standardProps.id; // only apply if there's a change + } + if (!util_1.isArraysEqual(standardProps.className, eventDef.className)) { + className = standardProps.className; // only apply if there's a change + } + EventDef_1.default.copyVerbatimStandardProps(standardProps, // src + verbatimStandardProps // dest + ); + defMutation = new EventDefMutation(); + defMutation.eventDefId = eventDefId; + defMutation.className = className; + defMutation.verbatimStandardProps = verbatimStandardProps; + defMutation.miscProps = miscProps; + if (dateMutation) { + defMutation.dateMutation = dateMutation; + } + return defMutation; + }; + /* + eventDef assumed to be a SingleEventDef. + returns an undo function. + */ + EventDefMutation.prototype.mutateSingle = function (eventDef) { + var origDateProfile; + if (this.dateMutation) { + origDateProfile = eventDef.dateProfile; + eventDef.dateProfile = this.dateMutation.buildNewDateProfile(origDateProfile, eventDef.source.calendar); + } + // can't undo + // TODO: more DRY with EventDef::applyManualStandardProps + if (this.eventDefId != null) { + eventDef.id = EventDef_1.default.normalizeId((eventDef.rawId = this.eventDefId)); + } + // can't undo + // TODO: more DRY with EventDef::applyManualStandardProps + if (this.className) { + eventDef.className = this.className; + } + // can't undo + if (this.verbatimStandardProps) { + SingleEventDef_1.default.copyVerbatimStandardProps(this.verbatimStandardProps, // src + eventDef // dest + ); + } + // can't undo + if (this.miscProps) { + eventDef.applyMiscProps(this.miscProps); + } + if (origDateProfile) { + return function () { + eventDef.dateProfile = origDateProfile; + }; + } + else { + return function () { }; + } + }; + EventDefMutation.prototype.setDateMutation = function (dateMutation) { + if (dateMutation && !dateMutation.isEmpty()) { + this.dateMutation = dateMutation; + } + else { + this.dateMutation = null; + } + }; + EventDefMutation.prototype.isEmpty = function () { + return !this.dateMutation; + }; + return EventDefMutation; +}()); +exports.default = EventDefMutation; + + +/***/ }), +/* 38 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = { + sourceClasses: [], + registerClass: function (EventSourceClass) { + this.sourceClasses.unshift(EventSourceClass); // give highest priority + }, + parse: function (rawInput, calendar) { + var sourceClasses = this.sourceClasses; + var i; + var eventSource; + for (i = 0; i < sourceClasses.length; i++) { + eventSource = sourceClasses[i].parse(rawInput, calendar); + if (eventSource) { + return eventSource; + } + } + } +}; + + +/***/ }), +/* 39 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var Class_1 = __webpack_require__(33); +/* +Embodies a div that has potential scrollbars +*/ +var Scroller = /** @class */ (function (_super) { + tslib_1.__extends(Scroller, _super); + function Scroller(options) { + var _this = _super.call(this) || this; + options = options || {}; + _this.overflowX = options.overflowX || options.overflow || 'auto'; + _this.overflowY = options.overflowY || options.overflow || 'auto'; + return _this; + } + Scroller.prototype.render = function () { + this.el = this.renderEl(); + this.applyOverflow(); + }; + Scroller.prototype.renderEl = function () { + return (this.scrollEl = $('
')); + }; + // sets to natural height, unlocks overflow + Scroller.prototype.clear = function () { + this.setHeight('auto'); + this.applyOverflow(); + }; + Scroller.prototype.destroy = function () { + this.el.remove(); + }; + // Overflow + // ----------------------------------------------------------------------------------------------------------------- + Scroller.prototype.applyOverflow = function () { + this.scrollEl.css({ + 'overflow-x': this.overflowX, + 'overflow-y': this.overflowY + }); + }; + // Causes any 'auto' overflow values to resolves to 'scroll' or 'hidden'. + // Useful for preserving scrollbar widths regardless of future resizes. + // Can pass in scrollbarWidths for optimization. + Scroller.prototype.lockOverflow = function (scrollbarWidths) { + var overflowX = this.overflowX; + var overflowY = this.overflowY; + scrollbarWidths = scrollbarWidths || this.getScrollbarWidths(); + if (overflowX === 'auto') { + overflowX = (scrollbarWidths.top || scrollbarWidths.bottom || // horizontal scrollbars? + // OR scrolling pane with massless scrollbars? + this.scrollEl[0].scrollWidth - 1 > this.scrollEl[0].clientWidth) ? 'scroll' : 'hidden'; + } + if (overflowY === 'auto') { + overflowY = (scrollbarWidths.left || scrollbarWidths.right || // vertical scrollbars? + // OR scrolling pane with massless scrollbars? + this.scrollEl[0].scrollHeight - 1 > this.scrollEl[0].clientHeight) ? 'scroll' : 'hidden'; + } + this.scrollEl.css({ 'overflow-x': overflowX, 'overflow-y': overflowY }); + }; + // Getters / Setters + // ----------------------------------------------------------------------------------------------------------------- + Scroller.prototype.setHeight = function (height) { + this.scrollEl.height(height); + }; + Scroller.prototype.getScrollTop = function () { + return this.scrollEl.scrollTop(); + }; + Scroller.prototype.setScrollTop = function (top) { + this.scrollEl.scrollTop(top); + }; + Scroller.prototype.getClientWidth = function () { + return this.scrollEl[0].clientWidth; + }; + Scroller.prototype.getClientHeight = function () { + return this.scrollEl[0].clientHeight; + }; + Scroller.prototype.getScrollbarWidths = function () { + return util_1.getScrollbarWidths(this.scrollEl); + }; + return Scroller; +}(Class_1.default)); +exports.default = Scroller; + + +/***/ }), +/* 40 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var DateComponent_1 = __webpack_require__(219); +var GlobalEmitter_1 = __webpack_require__(21); +var InteractiveDateComponent = /** @class */ (function (_super) { + tslib_1.__extends(InteractiveDateComponent, _super); + function InteractiveDateComponent(_view, _options) { + var _this = _super.call(this, _view, _options) || this; + // self-config, overridable by subclasses + _this.segSelector = '.fc-event-container > *'; // what constitutes an event element? + if (_this.dateSelectingClass) { + _this.dateClicking = new _this.dateClickingClass(_this); + } + if (_this.dateSelectingClass) { + _this.dateSelecting = new _this.dateSelectingClass(_this); + } + if (_this.eventPointingClass) { + _this.eventPointing = new _this.eventPointingClass(_this); + } + if (_this.eventDraggingClass && _this.eventPointing) { + _this.eventDragging = new _this.eventDraggingClass(_this, _this.eventPointing); + } + if (_this.eventResizingClass && _this.eventPointing) { + _this.eventResizing = new _this.eventResizingClass(_this, _this.eventPointing); + } + if (_this.externalDroppingClass) { + _this.externalDropping = new _this.externalDroppingClass(_this); + } + return _this; + } + // Sets the container element that the view should render inside of, does global DOM-related initializations, + // and renders all the non-date-related content inside. + InteractiveDateComponent.prototype.setElement = function (el) { + _super.prototype.setElement.call(this, el); + if (this.dateClicking) { + this.dateClicking.bindToEl(el); + } + if (this.dateSelecting) { + this.dateSelecting.bindToEl(el); + } + this.bindAllSegHandlersToEl(el); + }; + InteractiveDateComponent.prototype.removeElement = function () { + this.endInteractions(); + _super.prototype.removeElement.call(this); + }; + InteractiveDateComponent.prototype.executeEventUnrender = function () { + this.endInteractions(); + _super.prototype.executeEventUnrender.call(this); + }; + InteractiveDateComponent.prototype.bindGlobalHandlers = function () { + _super.prototype.bindGlobalHandlers.call(this); + if (this.externalDropping) { + this.externalDropping.bindToDocument(); + } + }; + InteractiveDateComponent.prototype.unbindGlobalHandlers = function () { + _super.prototype.unbindGlobalHandlers.call(this); + if (this.externalDropping) { + this.externalDropping.unbindFromDocument(); + } + }; + InteractiveDateComponent.prototype.bindDateHandlerToEl = function (el, name, handler) { + var _this = this; + // attach a handler to the grid's root element. + // jQuery will take care of unregistering them when removeElement gets called. + this.el.on(name, function (ev) { + if (!$(ev.target).is(_this.segSelector + ':not(.fc-helper),' + // directly on an event element + _this.segSelector + ':not(.fc-helper) *,' + // within an event element + '.fc-more,' + // a "more.." link + 'a[data-goto]' // a clickable nav link + )) { + return handler.call(_this, ev); + } + }); + }; + InteractiveDateComponent.prototype.bindAllSegHandlersToEl = function (el) { + [ + this.eventPointing, + this.eventDragging, + this.eventResizing + ].forEach(function (eventInteraction) { + if (eventInteraction) { + eventInteraction.bindToEl(el); + } + }); + }; + InteractiveDateComponent.prototype.bindSegHandlerToEl = function (el, name, handler) { + var _this = this; + el.on(name, this.segSelector, function (ev) { + var segEl = $(ev.currentTarget); + if (!segEl.is('.fc-helper')) { + var seg = segEl.data('fc-seg'); // grab segment data. put there by View::renderEventsPayload + if (seg && !_this.shouldIgnoreEventPointing()) { + return handler.call(_this, seg, ev); // context will be the Grid + } + } + }); + }; + InteractiveDateComponent.prototype.shouldIgnoreMouse = function () { + // HACK + // This will still work even though bindDateHandlerToEl doesn't use GlobalEmitter. + return GlobalEmitter_1.default.get().shouldIgnoreMouse(); + }; + InteractiveDateComponent.prototype.shouldIgnoreTouch = function () { + var view = this._getView(); + // On iOS (and Android?) when a new selection is initiated overtop another selection, + // the touchend never fires because the elements gets removed mid-touch-interaction (my theory). + // HACK: simply don't allow this to happen. + // ALSO: prevent selection when an *event* is already raised. + return view.isSelected || view.selectedEvent; + }; + InteractiveDateComponent.prototype.shouldIgnoreEventPointing = function () { + // only call the handlers if there is not a drag/resize in progress + return (this.eventDragging && this.eventDragging.isDragging) || + (this.eventResizing && this.eventResizing.isResizing); + }; + InteractiveDateComponent.prototype.canStartSelection = function (seg, ev) { + return util_1.getEvIsTouch(ev) && + !this.canStartResize(seg, ev) && + (this.isEventDefDraggable(seg.footprint.eventDef) || + this.isEventDefResizable(seg.footprint.eventDef)); + }; + InteractiveDateComponent.prototype.canStartDrag = function (seg, ev) { + return !this.canStartResize(seg, ev) && + this.isEventDefDraggable(seg.footprint.eventDef); + }; + InteractiveDateComponent.prototype.canStartResize = function (seg, ev) { + var view = this._getView(); + var eventDef = seg.footprint.eventDef; + return (!util_1.getEvIsTouch(ev) || view.isEventDefSelected(eventDef)) && + this.isEventDefResizable(eventDef) && + $(ev.target).is('.fc-resizer'); + }; + // Kills all in-progress dragging. + // Useful for when public API methods that result in re-rendering are invoked during a drag. + // Also useful for when touch devices misbehave and don't fire their touchend. + InteractiveDateComponent.prototype.endInteractions = function () { + [ + this.dateClicking, + this.dateSelecting, + this.eventPointing, + this.eventDragging, + this.eventResizing + ].forEach(function (interaction) { + if (interaction) { + interaction.end(); + } + }); + }; + // Event Drag-n-Drop + // --------------------------------------------------------------------------------------------------------------- + // Computes if the given event is allowed to be dragged by the user + InteractiveDateComponent.prototype.isEventDefDraggable = function (eventDef) { + return this.isEventDefStartEditable(eventDef); + }; + InteractiveDateComponent.prototype.isEventDefStartEditable = function (eventDef) { + var isEditable = eventDef.isStartExplicitlyEditable(); + if (isEditable == null) { + isEditable = this.opt('eventStartEditable'); + if (isEditable == null) { + isEditable = this.isEventDefGenerallyEditable(eventDef); + } + } + return isEditable; + }; + InteractiveDateComponent.prototype.isEventDefGenerallyEditable = function (eventDef) { + var isEditable = eventDef.isExplicitlyEditable(); + if (isEditable == null) { + isEditable = this.opt('editable'); + } + return isEditable; + }; + // Event Resizing + // --------------------------------------------------------------------------------------------------------------- + // Computes if the given event is allowed to be resized from its starting edge + InteractiveDateComponent.prototype.isEventDefResizableFromStart = function (eventDef) { + return this.opt('eventResizableFromStart') && this.isEventDefResizable(eventDef); + }; + // Computes if the given event is allowed to be resized from its ending edge + InteractiveDateComponent.prototype.isEventDefResizableFromEnd = function (eventDef) { + return this.isEventDefResizable(eventDef); + }; + // Computes if the given event is allowed to be resized by the user at all + InteractiveDateComponent.prototype.isEventDefResizable = function (eventDef) { + var isResizable = eventDef.isDurationExplicitlyEditable(); + if (isResizable == null) { + isResizable = this.opt('eventDurationEditable'); + if (isResizable == null) { + isResizable = this.isEventDefGenerallyEditable(eventDef); + } + } + return isResizable; + }; + // Event Mutation / Constraints + // --------------------------------------------------------------------------------------------------------------- + // Diffs the two dates, returning a duration, based on granularity of the grid + // TODO: port isTimeScale into this system? + InteractiveDateComponent.prototype.diffDates = function (a, b) { + if (this.largeUnit) { + return util_1.diffByUnit(a, b, this.largeUnit); + } + else { + return util_1.diffDayTime(a, b); + } + }; + // is it allowed, in relation to the view's validRange? + // NOTE: very similar to isExternalInstanceGroupAllowed + InteractiveDateComponent.prototype.isEventInstanceGroupAllowed = function (eventInstanceGroup) { + var view = this._getView(); + var dateProfile = this.dateProfile; + var eventFootprints = this.eventRangesToEventFootprints(eventInstanceGroup.getAllEventRanges()); + var i; + for (i = 0; i < eventFootprints.length; i++) { + // TODO: just use getAllEventRanges directly + if (!dateProfile.validUnzonedRange.containsRange(eventFootprints[i].componentFootprint.unzonedRange)) { + return false; + } + } + return view.calendar.constraints.isEventInstanceGroupAllowed(eventInstanceGroup); + }; + // NOTE: very similar to isEventInstanceGroupAllowed + // when it's a completely anonymous external drag, no event. + InteractiveDateComponent.prototype.isExternalInstanceGroupAllowed = function (eventInstanceGroup) { + var view = this._getView(); + var dateProfile = this.dateProfile; + var eventFootprints = this.eventRangesToEventFootprints(eventInstanceGroup.getAllEventRanges()); + var i; + for (i = 0; i < eventFootprints.length; i++) { + if (!dateProfile.validUnzonedRange.containsRange(eventFootprints[i].componentFootprint.unzonedRange)) { + return false; + } + } + for (i = 0; i < eventFootprints.length; i++) { + // treat it as a selection + // TODO: pass in eventInstanceGroup instead + // because we don't want calendrier's constraint system to depend on a component's + // determination of footprints. + if (!view.calendar.constraints.isSelectionFootprintAllowed(eventFootprints[i].componentFootprint)) { + return false; + } + } + return true; + }; + return InteractiveDateComponent; +}(DateComponent_1.default)); +exports.default = InteractiveDateComponent; + + +/***/ }), +/* 41 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var moment = __webpack_require__(0); +var util_1 = __webpack_require__(4); +var RenderQueue_1 = __webpack_require__(218); +var DateProfileGenerator_1 = __webpack_require__(221); +var InteractiveDateComponent_1 = __webpack_require__(40); +var GlobalEmitter_1 = __webpack_require__(21); +var UnzonedRange_1 = __webpack_require__(5); +/* An abstract class from which other views inherit from +----------------------------------------------------------------------------------------------------------------------*/ +var View = /** @class */ (function (_super) { + tslib_1.__extends(View, _super); + function View(calendar, viewSpec) { + var _this = _super.call(this, null, viewSpec.options) || this; + _this.batchRenderDepth = 0; + _this.isSelected = false; // boolean whether a range of time is user-selected or not + _this.calendar = calendar; + _this.viewSpec = viewSpec; + // shortcuts + _this.type = viewSpec.type; + // .name is deprecated + _this.name = _this.type; + _this.initRenderQueue(); + _this.initHiddenDays(); + _this.dateProfileGenerator = new _this.dateProfileGeneratorClass(_this); + _this.bindBaseRenderHandlers(); + _this.eventOrderSpecs = util_1.parseFieldSpecs(_this.opt('eventOrder')); + // legacy + if (_this['initialize']) { + _this['initialize'](); + } + return _this; + } + View.prototype._getView = function () { + return this; + }; + // Retrieves an option with the given name + View.prototype.opt = function (name) { + return this.options[name]; + }; + /* Render Queue + ------------------------------------------------------------------------------------------------------------------*/ + View.prototype.initRenderQueue = function () { + this.renderQueue = new RenderQueue_1.default({ + event: this.opt('eventRenderWait') + }); + this.renderQueue.on('start', this.onRenderQueueStart.bind(this)); + this.renderQueue.on('stop', this.onRenderQueueStop.bind(this)); + this.on('before:change', this.startBatchRender); + this.on('change', this.stopBatchRender); + }; + View.prototype.onRenderQueueStart = function () { + this.calendar.freezeContentHeight(); + this.addScroll(this.queryScroll()); + }; + View.prototype.onRenderQueueStop = function () { + if (this.calendar.updateViewSize()) { + this.popScroll(); + } + this.calendar.thawContentHeight(); + }; + View.prototype.startBatchRender = function () { + if (!(this.batchRenderDepth++)) { + this.renderQueue.pause(); + } + }; + View.prototype.stopBatchRender = function () { + if (!(--this.batchRenderDepth)) { + this.renderQueue.resume(); + } + }; + View.prototype.requestRender = function (func, namespace, actionType) { + this.renderQueue.queue(func, namespace, actionType); + }; + // given func will auto-bind to `this` + View.prototype.whenSizeUpdated = function (func) { + if (this.renderQueue.isRunning) { + this.renderQueue.one('stop', func.bind(this)); + } + else { + func.call(this); + } + }; + /* Title and Date Formatting + ------------------------------------------------------------------------------------------------------------------*/ + // Computes what the title at the top of the calendrier should be for this view + View.prototype.computeTitle = function (dateProfile) { + var unzonedRange; + // for views that span a large unit of time, show the proper interval, ignoring stray days before and after + if (/^(year|month)$/.test(dateProfile.currentRangeUnit)) { + unzonedRange = dateProfile.currentUnzonedRange; + } + else { + unzonedRange = dateProfile.activeUnzonedRange; + } + return this.formatRange({ + start: this.calendar.msToMoment(unzonedRange.startMs, dateProfile.isRangeAllDay), + end: this.calendar.msToMoment(unzonedRange.endMs, dateProfile.isRangeAllDay) + }, dateProfile.isRangeAllDay, this.opt('titleFormat') || this.computeTitleFormat(dateProfile), this.opt('titleRangeSeparator')); + }; + // Generates the format string that should be used to generate the title for the current date range. + // Attempts to compute the most appropriate format if not explicitly specified with `titleFormat`. + View.prototype.computeTitleFormat = function (dateProfile) { + var currentRangeUnit = dateProfile.currentRangeUnit; + if (currentRangeUnit === 'year') { + return 'YYYY'; + } + else if (currentRangeUnit === 'month') { + return this.opt('monthYearFormat'); // like "September 2014" + } + else if (dateProfile.currentUnzonedRange.as('days') > 1) { + return 'll'; // multi-day range. shorter, like "Sep 9 - 10 2014" + } + else { + return 'LL'; // one day. longer, like "September 9 2014" + } + }; + // Date Setting/Unsetting + // ----------------------------------------------------------------------------------------------------------------- + View.prototype.setDate = function (date) { + var currentDateProfile = this.get('dateProfile'); + var newDateProfile = this.dateProfileGenerator.build(date, undefined, true); // forceToValid=true + if (!currentDateProfile || + !currentDateProfile.activeUnzonedRange.equals(newDateProfile.activeUnzonedRange)) { + this.set('dateProfile', newDateProfile); + } + }; + View.prototype.unsetDate = function () { + this.unset('dateProfile'); + }; + // Event Data + // ----------------------------------------------------------------------------------------------------------------- + View.prototype.fetchInitialEvents = function (dateProfile) { + var calendar = this.calendar; + var forceAllDay = dateProfile.isRangeAllDay && !this.usesMinMaxTime; + return calendar.requestEvents(calendar.msToMoment(dateProfile.activeUnzonedRange.startMs, forceAllDay), calendar.msToMoment(dateProfile.activeUnzonedRange.endMs, forceAllDay)); + }; + View.prototype.bindEventChanges = function () { + this.listenTo(this.calendar, 'eventsReset', this.resetEvents); // TODO: make this a real event + }; + View.prototype.unbindEventChanges = function () { + this.stopListeningTo(this.calendar, 'eventsReset'); + }; + View.prototype.setEvents = function (eventsPayload) { + this.set('currentEvents', eventsPayload); + this.set('hasEvents', true); + }; + View.prototype.unsetEvents = function () { + this.unset('currentEvents'); + this.unset('hasEvents'); + }; + View.prototype.resetEvents = function (eventsPayload) { + this.startBatchRender(); + this.unsetEvents(); + this.setEvents(eventsPayload); + this.stopBatchRender(); + }; + // Date High-level Rendering + // ----------------------------------------------------------------------------------------------------------------- + View.prototype.requestDateRender = function (dateProfile) { + var _this = this; + this.requestRender(function () { + _this.executeDateRender(dateProfile); + }, 'date', 'init'); + }; + View.prototype.requestDateUnrender = function () { + var _this = this; + this.requestRender(function () { + _this.executeDateUnrender(); + }, 'date', 'destroy'); + }; + // if dateProfile not specified, uses current + View.prototype.executeDateRender = function (dateProfile) { + _super.prototype.executeDateRender.call(this, dateProfile); + if (this['render']) { + this['render'](); // TODO: deprecate + } + this.trigger('datesRendered'); + this.addScroll({ isDateInit: true }); + this.startNowIndicator(); // shouldn't render yet because updateSize will be called soon + }; + View.prototype.executeDateUnrender = function () { + this.unselect(); + this.stopNowIndicator(); + this.trigger('before:datesUnrendered'); + if (this['destroy']) { + this['destroy'](); // TODO: deprecate + } + _super.prototype.executeDateUnrender.call(this); + }; + // "Base" rendering + // ----------------------------------------------------------------------------------------------------------------- + View.prototype.bindBaseRenderHandlers = function () { + var _this = this; + this.on('datesRendered', function () { + _this.whenSizeUpdated(_this.triggerViewRender); + }); + this.on('before:datesUnrendered', function () { + _this.triggerViewDestroy(); + }); + }; + View.prototype.triggerViewRender = function () { + this.publiclyTrigger('viewRender', { + context: this, + args: [this, this.el] + }); + }; + View.prototype.triggerViewDestroy = function () { + this.publiclyTrigger('viewDestroy', { + context: this, + args: [this, this.el] + }); + }; + // Event High-level Rendering + // ----------------------------------------------------------------------------------------------------------------- + View.prototype.requestEventsRender = function (eventsPayload) { + var _this = this; + this.requestRender(function () { + _this.executeEventRender(eventsPayload); + _this.whenSizeUpdated(_this.triggerAfterEventsRendered); + }, 'event', 'init'); + }; + View.prototype.requestEventsUnrender = function () { + var _this = this; + this.requestRender(function () { + _this.triggerBeforeEventsDestroyed(); + _this.executeEventUnrender(); + }, 'event', 'destroy'); + }; + // Business Hour High-level Rendering + // ----------------------------------------------------------------------------------------------------------------- + View.prototype.requestBusinessHoursRender = function (businessHourGenerator) { + var _this = this; + this.requestRender(function () { + _this.renderBusinessHours(businessHourGenerator); + }, 'businessHours', 'init'); + }; + View.prototype.requestBusinessHoursUnrender = function () { + var _this = this; + this.requestRender(function () { + _this.unrenderBusinessHours(); + }, 'businessHours', 'destroy'); + }; + // Misc view rendering utils + // ----------------------------------------------------------------------------------------------------------------- + // Binds DOM handlers to elements that reside outside the view container, such as the document + View.prototype.bindGlobalHandlers = function () { + _super.prototype.bindGlobalHandlers.call(this); + this.listenTo(GlobalEmitter_1.default.get(), { + touchstart: this.processUnselect, + mousedown: this.handleDocumentMousedown + }); + }; + // Unbinds DOM handlers from elements that reside outside the view container + View.prototype.unbindGlobalHandlers = function () { + _super.prototype.unbindGlobalHandlers.call(this); + this.stopListeningTo(GlobalEmitter_1.default.get()); + }; + /* Now Indicator + ------------------------------------------------------------------------------------------------------------------*/ + // Immediately render the current time indicator and begins re-rendering it at an interval, + // which is defined by this.getNowIndicatorUnit(). + // TODO: somehow do this for the current whole day's background too + View.prototype.startNowIndicator = function () { + var _this = this; + var unit; + var update; + var delay; // ms wait value + if (this.opt('nowIndicator')) { + unit = this.getNowIndicatorUnit(); + if (unit) { + update = util_1.proxy(this, 'updateNowIndicator'); // bind to `this` + this.initialNowDate = this.calendar.getNow(); + this.initialNowQueriedMs = new Date().valueOf(); + // wait until the beginning of the next interval + delay = this.initialNowDate.clone().startOf(unit).add(1, unit).valueOf() - this.initialNowDate.valueOf(); + this.nowIndicatorTimeoutID = setTimeout(function () { + _this.nowIndicatorTimeoutID = null; + update(); + delay = +moment.duration(1, unit); + delay = Math.max(100, delay); // prevent too frequent + _this.nowIndicatorIntervalID = setInterval(update, delay); // update every interval + }, delay); + } + // rendering will be initiated in updateSize + } + }; + // rerenders the now indicator, computing the new current time from the amount of time that has passed + // since the initial getNow call. + View.prototype.updateNowIndicator = function () { + if (this.isDatesRendered && + this.initialNowDate // activated before? + ) { + this.unrenderNowIndicator(); // won't unrender if unnecessary + this.renderNowIndicator(this.initialNowDate.clone().add(new Date().valueOf() - this.initialNowQueriedMs) // add ms + ); + this.isNowIndicatorRendered = true; + } + }; + // Immediately unrenders the view's current time indicator and stops any re-rendering timers. + // Won't cause side effects if indicator isn't rendered. + View.prototype.stopNowIndicator = function () { + if (this.isNowIndicatorRendered) { + if (this.nowIndicatorTimeoutID) { + clearTimeout(this.nowIndicatorTimeoutID); + this.nowIndicatorTimeoutID = null; + } + if (this.nowIndicatorIntervalID) { + clearInterval(this.nowIndicatorIntervalID); + this.nowIndicatorIntervalID = null; + } + this.unrenderNowIndicator(); + this.isNowIndicatorRendered = false; + } + }; + /* Dimensions + ------------------------------------------------------------------------------------------------------------------*/ + View.prototype.updateSize = function (totalHeight, isAuto, isResize) { + if (this['setHeight']) { + this['setHeight'](totalHeight, isAuto); + } + else { + _super.prototype.updateSize.call(this, totalHeight, isAuto, isResize); + } + this.updateNowIndicator(); + }; + /* Scroller + ------------------------------------------------------------------------------------------------------------------*/ + View.prototype.addScroll = function (scroll) { + var queuedScroll = this.queuedScroll || (this.queuedScroll = {}); + $.extend(queuedScroll, scroll); + }; + View.prototype.popScroll = function () { + this.applyQueuedScroll(); + this.queuedScroll = null; + }; + View.prototype.applyQueuedScroll = function () { + if (this.queuedScroll) { + this.applyScroll(this.queuedScroll); + } + }; + View.prototype.queryScroll = function () { + var scroll = {}; + if (this.isDatesRendered) { + $.extend(scroll, this.queryDateScroll()); + } + return scroll; + }; + View.prototype.applyScroll = function (scroll) { + if (scroll.isDateInit && this.isDatesRendered) { + $.extend(scroll, this.computeInitialDateScroll()); + } + if (this.isDatesRendered) { + this.applyDateScroll(scroll); + } + }; + View.prototype.computeInitialDateScroll = function () { + return {}; // subclasses must implement + }; + View.prototype.queryDateScroll = function () { + return {}; // subclasses must implement + }; + View.prototype.applyDateScroll = function (scroll) { + // subclasses must implement + }; + /* Event Drag-n-Drop + ------------------------------------------------------------------------------------------------------------------*/ + View.prototype.reportEventDrop = function (eventInstance, eventMutation, el, ev) { + var eventManager = this.calendar.eventManager; + var undoFunc = eventManager.mutateEventsWithId(eventInstance.def.id, eventMutation); + var dateMutation = eventMutation.dateMutation; + // update the EventInstance, for handlers + if (dateMutation) { + eventInstance.dateProfile = dateMutation.buildNewDateProfile(eventInstance.dateProfile, this.calendar); + } + this.triggerEventDrop(eventInstance, + // a drop doesn't necessarily mean a date mutation (ex: resource change) + (dateMutation && dateMutation.dateDelta) || moment.duration(), undoFunc, el, ev); + }; + // Triggers event-drop handlers that have subscribed via the API + View.prototype.triggerEventDrop = function (eventInstance, dateDelta, undoFunc, el, ev) { + this.publiclyTrigger('eventDrop', { + context: el[0], + args: [ + eventInstance.toLegacy(), + dateDelta, + undoFunc, + ev, + {}, + this + ] + }); + }; + /* External Element Drag-n-Drop + ------------------------------------------------------------------------------------------------------------------*/ + // Must be called when an external element, via jQuery UI, has been dropped onto the calendrier. + // `meta` is the parsed data that has been embedded into the dragging event. + // `dropLocation` is an object that contains the new zoned start/end/allDay values for the event. + View.prototype.reportExternalDrop = function (singleEventDef, isEvent, isSticky, el, ev, ui) { + if (isEvent) { + this.calendar.eventManager.addEventDef(singleEventDef, isSticky); + } + this.triggerExternalDrop(singleEventDef, isEvent, el, ev, ui); + }; + // Triggers external-drop handlers that have subscribed via the API + View.prototype.triggerExternalDrop = function (singleEventDef, isEvent, el, ev, ui) { + // trigger 'drop' regardless of whether element represents an event + this.publiclyTrigger('drop', { + context: el[0], + args: [ + singleEventDef.dateProfile.start.clone(), + ev, + ui, + this + ] + }); + if (isEvent) { + // signal an external event landed + this.publiclyTrigger('eventReceive', { + context: this, + args: [ + singleEventDef.buildInstance().toLegacy(), + this + ] + }); + } + }; + /* Event Resizing + ------------------------------------------------------------------------------------------------------------------*/ + // Must be called when an event in the view has been resized to a new length + View.prototype.reportEventResize = function (eventInstance, eventMutation, el, ev) { + var eventManager = this.calendar.eventManager; + var undoFunc = eventManager.mutateEventsWithId(eventInstance.def.id, eventMutation); + // update the EventInstance, for handlers + eventInstance.dateProfile = eventMutation.dateMutation.buildNewDateProfile(eventInstance.dateProfile, this.calendar); + this.triggerEventResize(eventInstance, eventMutation.dateMutation.endDelta, undoFunc, el, ev); + }; + // Triggers event-resize handlers that have subscribed via the API + View.prototype.triggerEventResize = function (eventInstance, durationDelta, undoFunc, el, ev) { + this.publiclyTrigger('eventResize', { + context: el[0], + args: [ + eventInstance.toLegacy(), + durationDelta, + undoFunc, + ev, + {}, + this + ] + }); + }; + /* Selection (time range) + ------------------------------------------------------------------------------------------------------------------*/ + // Selects a date span on the view. `start` and `end` are both Moments. + // `ev` is the native mouse event that begin the interaction. + View.prototype.select = function (footprint, ev) { + this.unselect(ev); + this.renderSelectionFootprint(footprint); + this.reportSelection(footprint, ev); + }; + View.prototype.renderSelectionFootprint = function (footprint) { + if (this['renderSelection']) { + this['renderSelection'](footprint.toLegacy(this.calendar)); + } + else { + _super.prototype.renderSelectionFootprint.call(this, footprint); + } + }; + // Called when a new selection is made. Updates internal state and triggers handlers. + View.prototype.reportSelection = function (footprint, ev) { + this.isSelected = true; + this.triggerSelect(footprint, ev); + }; + // Triggers handlers to 'select' + View.prototype.triggerSelect = function (footprint, ev) { + var dateProfile = this.calendar.footprintToDateProfile(footprint); // abuse of "Event"DateProfile? + this.publiclyTrigger('select', { + context: this, + args: [ + dateProfile.start, + dateProfile.end, + ev, + this + ] + }); + }; + // Undoes a selection. updates in the internal state and triggers handlers. + // `ev` is the native mouse event that began the interaction. + View.prototype.unselect = function (ev) { + if (this.isSelected) { + this.isSelected = false; + if (this['destroySelection']) { + this['destroySelection'](); // TODO: deprecate + } + this.unrenderSelection(); + this.publiclyTrigger('unselect', { + context: this, + args: [ev, this] + }); + } + }; + /* Event Selection + ------------------------------------------------------------------------------------------------------------------*/ + View.prototype.selectEventInstance = function (eventInstance) { + if (!this.selectedEventInstance || + this.selectedEventInstance !== eventInstance) { + this.unselectEventInstance(); + this.getEventSegs().forEach(function (seg) { + if (seg.footprint.eventInstance === eventInstance && + seg.el // necessary? + ) { + seg.el.addClass('fc-selected'); + } + }); + this.selectedEventInstance = eventInstance; + } + }; + View.prototype.unselectEventInstance = function () { + if (this.selectedEventInstance) { + this.getEventSegs().forEach(function (seg) { + if (seg.el) { + seg.el.removeClass('fc-selected'); + } + }); + this.selectedEventInstance = null; + } + }; + View.prototype.isEventDefSelected = function (eventDef) { + // event references might change on refetchEvents(), while selectedEventInstance doesn't, + // so compare IDs + return this.selectedEventInstance && this.selectedEventInstance.def.id === eventDef.id; + }; + /* Mouse / Touch Unselecting (time range & event unselection) + ------------------------------------------------------------------------------------------------------------------*/ + // TODO: move consistently to down/start or up/end? + // TODO: don't kill previous selection if touch scrolling + View.prototype.handleDocumentMousedown = function (ev) { + if (util_1.isPrimaryMouseButton(ev)) { + this.processUnselect(ev); + } + }; + View.prototype.processUnselect = function (ev) { + this.processRangeUnselect(ev); + this.processEventUnselect(ev); + }; + View.prototype.processRangeUnselect = function (ev) { + var ignore; + // is there a time-range selection? + if (this.isSelected && this.opt('unselectAuto')) { + // only unselect if the clicked element is not identical to or inside of an 'unselectCancel' element + ignore = this.opt('unselectCancel'); + if (!ignore || !$(ev.target).closest(ignore).length) { + this.unselect(ev); + } + } + }; + View.prototype.processEventUnselect = function (ev) { + if (this.selectedEventInstance) { + if (!$(ev.target).closest('.fc-selected').length) { + this.unselectEventInstance(); + } + } + }; + /* Triggers + ------------------------------------------------------------------------------------------------------------------*/ + View.prototype.triggerBaseRendered = function () { + this.publiclyTrigger('viewRender', { + context: this, + args: [this, this.el] + }); + }; + View.prototype.triggerBaseUnrendered = function () { + this.publiclyTrigger('viewDestroy', { + context: this, + args: [this, this.el] + }); + }; + // Triggers handlers to 'dayClick' + // Span has start/end of the clicked area. Only the start is useful. + View.prototype.triggerDayClick = function (footprint, dayEl, ev) { + var dateProfile = this.calendar.footprintToDateProfile(footprint); // abuse of "Event"DateProfile? + this.publiclyTrigger('dayClick', { + context: dayEl, + args: [dateProfile.start, ev, this] + }); + }; + /* Date Utils + ------------------------------------------------------------------------------------------------------------------*/ + // For DateComponent::getDayClasses + View.prototype.isDateInOtherMonth = function (date, dateProfile) { + return false; + }; + // Arguments after name will be forwarded to a hypothetical function value + // WARNING: passed-in arguments will be given to generator functions as-is and can cause side-effects. + // Always clone your objects if you fear mutation. + View.prototype.getUnzonedRangeOption = function (name) { + var val = this.opt(name); + if (typeof val === 'function') { + val = val.apply(null, Array.prototype.slice.call(arguments, 1)); + } + if (val) { + return this.calendar.parseUnzonedRange(val); + } + }; + /* Hidden Days + ------------------------------------------------------------------------------------------------------------------*/ + // Initializes internal variables related to calculating hidden days-of-week + View.prototype.initHiddenDays = function () { + var hiddenDays = this.opt('hiddenDays') || []; // array of day-of-week indices that are hidden + var isHiddenDayHash = []; // is the day-of-week hidden? (hash with day-of-week-index -> bool) + var dayCnt = 0; + var i; + if (this.opt('weekends') === false) { + hiddenDays.push(0, 6); // 0=sunday, 6=saturday + } + for (i = 0; i < 7; i++) { + if (!(isHiddenDayHash[i] = $.inArray(i, hiddenDays) !== -1)) { + dayCnt++; + } + } + if (!dayCnt) { + throw new Error('invalid hiddenDays'); // all days were hidden? bad. + } + this.isHiddenDayHash = isHiddenDayHash; + }; + // Remove days from the beginning and end of the range that are computed as hidden. + // If the whole range is trimmed off, returns null + View.prototype.trimHiddenDays = function (inputUnzonedRange) { + var start = inputUnzonedRange.getStart(); + var end = inputUnzonedRange.getEnd(); + if (start) { + start = this.skipHiddenDays(start); + } + if (end) { + end = this.skipHiddenDays(end, -1, true); + } + if (start === null || end === null || start < end) { + return new UnzonedRange_1.default(start, end); + } + return null; + }; + // Is the current day hidden? + // `day` is a day-of-week index (0-6), or a Moment + View.prototype.isHiddenDay = function (day) { + if (moment.isMoment(day)) { + day = day.day(); + } + return this.isHiddenDayHash[day]; + }; + // Incrementing the current day until it is no longer a hidden day, returning a copy. + // DOES NOT CONSIDER validUnzonedRange! + // If the initial value of `date` is not a hidden day, don't do anything. + // Pass `isExclusive` as `true` if you are dealing with an end date. + // `inc` defaults to `1` (increment one day forward each time) + View.prototype.skipHiddenDays = function (date, inc, isExclusive) { + if (inc === void 0) { inc = 1; } + if (isExclusive === void 0) { isExclusive = false; } + var out = date.clone(); + while (this.isHiddenDayHash[(out.day() + (isExclusive ? inc : 0) + 7) % 7]) { + out.add(inc, 'days'); + } + return out; + }; + return View; +}(InteractiveDateComponent_1.default)); +exports.default = View; +View.prototype.usesMinMaxTime = false; +View.prototype.dateProfileGeneratorClass = DateProfileGenerator_1.default; +View.watch('displayingDates', ['isInDom', 'dateProfile'], function (deps) { + this.requestDateRender(deps.dateProfile); +}, function () { + this.requestDateUnrender(); +}); +View.watch('displayingBusinessHours', ['displayingDates', 'businessHourGenerator'], function (deps) { + this.requestBusinessHoursRender(deps.businessHourGenerator); +}, function () { + this.requestBusinessHoursUnrender(); +}); +View.watch('initialEvents', ['dateProfile'], function (deps) { + return this.fetchInitialEvents(deps.dateProfile); +}); +View.watch('bindingEvents', ['initialEvents'], function (deps) { + this.setEvents(deps.initialEvents); + this.bindEventChanges(); +}, function () { + this.unbindEventChanges(); + this.unsetEvents(); +}); +View.watch('displayingEvents', ['displayingDates', 'hasEvents'], function () { + this.requestEventsRender(this.get('currentEvents')); +}, function () { + this.requestEventsUnrender(); +}); +View.watch('title', ['dateProfile'], function (deps) { + return (this.title = this.computeTitle(deps.dateProfile)); // assign to View for legacy reasons +}); +View.watch('legacyDateProps', ['dateProfile'], function (deps) { + var calendar = this.calendar; + var dateProfile = deps.dateProfile; + // DEPRECATED, but we need to keep it updated... + this.start = calendar.msToMoment(dateProfile.activeUnzonedRange.startMs, dateProfile.isRangeAllDay); + this.end = calendar.msToMoment(dateProfile.activeUnzonedRange.endMs, dateProfile.isRangeAllDay); + this.intervalStart = calendar.msToMoment(dateProfile.currentUnzonedRange.startMs, dateProfile.isRangeAllDay); + this.intervalEnd = calendar.msToMoment(dateProfile.currentUnzonedRange.endMs, dateProfile.isRangeAllDay); +}); + + +/***/ }), +/* 42 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var EventRenderer = /** @class */ (function () { + function EventRenderer(component, fillRenderer) { + this.view = component._getView(); + this.component = component; + this.fillRenderer = fillRenderer; + } + EventRenderer.prototype.opt = function (name) { + return this.view.opt(name); + }; + // Updates values that rely on options and also relate to range + EventRenderer.prototype.rangeUpdated = function () { + var displayEventTime; + var displayEventEnd; + this.eventTimeFormat = + this.opt('eventTimeFormat') || + this.opt('timeFormat') || // deprecated + this.computeEventTimeFormat(); + displayEventTime = this.opt('displayEventTime'); + if (displayEventTime == null) { + displayEventTime = this.computeDisplayEventTime(); // might be based off of range + } + displayEventEnd = this.opt('displayEventEnd'); + if (displayEventEnd == null) { + displayEventEnd = this.computeDisplayEventEnd(); // might be based off of range + } + this.displayEventTime = displayEventTime; + this.displayEventEnd = displayEventEnd; + }; + EventRenderer.prototype.render = function (eventsPayload) { + var dateProfile = this.component._getDateProfile(); + var eventDefId; + var instanceGroup; + var eventRanges; + var bgRanges = []; + var fgRanges = []; + for (eventDefId in eventsPayload) { + instanceGroup = eventsPayload[eventDefId]; + eventRanges = instanceGroup.sliceRenderRanges(dateProfile.activeUnzonedRange); + if (instanceGroup.getEventDef().hasBgRendering()) { + bgRanges.push.apply(bgRanges, eventRanges); + } + else { + fgRanges.push.apply(fgRanges, eventRanges); + } + } + this.renderBgRanges(bgRanges); + this.renderFgRanges(fgRanges); + }; + EventRenderer.prototype.unrender = function () { + this.unrenderBgRanges(); + this.unrenderFgRanges(); + }; + EventRenderer.prototype.renderFgRanges = function (eventRanges) { + var eventFootprints = this.component.eventRangesToEventFootprints(eventRanges); + var segs = this.component.eventFootprintsToSegs(eventFootprints); + // render an `.el` on each seg + // returns a subset of the segs. segs that were actually rendered + segs = this.renderFgSegEls(segs); + if (this.renderFgSegs(segs) !== false) { + this.fgSegs = segs; + } + }; + EventRenderer.prototype.unrenderFgRanges = function () { + this.unrenderFgSegs(this.fgSegs || []); + this.fgSegs = null; + }; + EventRenderer.prototype.renderBgRanges = function (eventRanges) { + var eventFootprints = this.component.eventRangesToEventFootprints(eventRanges); + var segs = this.component.eventFootprintsToSegs(eventFootprints); + if (this.renderBgSegs(segs) !== false) { + this.bgSegs = segs; + } + }; + EventRenderer.prototype.unrenderBgRanges = function () { + this.unrenderBgSegs(); + this.bgSegs = null; + }; + EventRenderer.prototype.getSegs = function () { + return (this.bgSegs || []).concat(this.fgSegs || []); + }; + // Renders foreground event segments onto the grid + EventRenderer.prototype.renderFgSegs = function (segs) { + // subclasses must implement + // segs already has rendered els, and has been filtered. + return false; // signal failure if not implemented + }; + // Unrenders all currently rendered foreground segments + EventRenderer.prototype.unrenderFgSegs = function (segs) { + // subclasses must implement + }; + EventRenderer.prototype.renderBgSegs = function (segs) { + var _this = this; + if (this.fillRenderer) { + this.fillRenderer.renderSegs('bgEvent', segs, { + getClasses: function (seg) { + return _this.getBgClasses(seg.footprint.eventDef); + }, + getCss: function (seg) { + return { + 'background-color': _this.getBgColor(seg.footprint.eventDef) + }; + }, + filterEl: function (seg, el) { + return _this.filterEventRenderEl(seg.footprint, el); + } + }); + } + else { + return false; // signal failure if no fillRenderer + } + }; + EventRenderer.prototype.unrenderBgSegs = function () { + if (this.fillRenderer) { + this.fillRenderer.unrender('bgEvent'); + } + }; + // Renders and assigns an `el` property for each foreground event segment. + // Only returns segments that successfully rendered. + EventRenderer.prototype.renderFgSegEls = function (segs, disableResizing) { + var _this = this; + if (disableResizing === void 0) { disableResizing = false; } + var hasEventRenderHandlers = this.view.hasPublicHandlers('eventRender'); + var html = ''; + var renderedSegs = []; + var i; + if (segs.length) { + // build a large concatenation of event segment HTML + for (i = 0; i < segs.length; i++) { + this.beforeFgSegHtml(segs[i]); + html += this.fgSegHtml(segs[i], disableResizing); + } + // Grab individual elements from the combined HTML string. Use each as the default rendering. + // Then, compute the 'el' for each segment. An el might be null if the eventRender callback returned false. + $(html).each(function (i, node) { + var seg = segs[i]; + var el = $(node); + if (hasEventRenderHandlers) { + el = _this.filterEventRenderEl(seg.footprint, el); + } + if (el) { + el.data('fc-seg', seg); // used by handlers + seg.el = el; + renderedSegs.push(seg); + } + }); + } + return renderedSegs; + }; + EventRenderer.prototype.beforeFgSegHtml = function (seg) { + }; + // Generates the HTML for the default rendering of a foreground event segment. Used by renderFgSegEls() + EventRenderer.prototype.fgSegHtml = function (seg, disableResizing) { + // subclasses should implement + }; + // Generic utility for generating the HTML classNames for an event segment's element + EventRenderer.prototype.getSegClasses = function (seg, isDraggable, isResizable) { + var classes = [ + 'fc-event', + seg.isStart ? 'fc-start' : 'fc-not-start', + seg.isEnd ? 'fc-end' : 'fc-not-end' + ].concat(this.getClasses(seg.footprint.eventDef)); + if (isDraggable) { + classes.push('fc-draggable'); + } + if (isResizable) { + classes.push('fc-resizable'); + } + // event is currently selected? attach a className. + if (this.view.isEventDefSelected(seg.footprint.eventDef)) { + classes.push('fc-selected'); + } + return classes; + }; + // Given an event and the default element used for rendering, returns the element that should actually be used. + // Basically runs events and elements through the eventRender hook. + EventRenderer.prototype.filterEventRenderEl = function (eventFootprint, el) { + var legacy = eventFootprint.getEventLegacy(); + var custom = this.view.publiclyTrigger('eventRender', { + context: legacy, + args: [legacy, el, this.view] + }); + if (custom === false) { + el = null; + } + else if (custom && custom !== true) { + el = $(custom); + } + return el; + }; + // Compute the text that should be displayed on an event's element. + // `range` can be the Event object itself, or something range-like, with at least a `start`. + // If event times are disabled, or the event has no time, will return a blank string. + // If not specified, formatStr will default to the eventTimeFormat setting, + // and displayEnd will default to the displayEventEnd setting. + EventRenderer.prototype.getTimeText = function (eventFootprint, formatStr, displayEnd) { + return this._getTimeText(eventFootprint.eventInstance.dateProfile.start, eventFootprint.eventInstance.dateProfile.end, eventFootprint.componentFootprint.isAllDay, formatStr, displayEnd); + }; + EventRenderer.prototype._getTimeText = function (start, end, isAllDay, formatStr, displayEnd) { + if (formatStr == null) { + formatStr = this.eventTimeFormat; + } + if (displayEnd == null) { + displayEnd = this.displayEventEnd; + } + if (this.displayEventTime && !isAllDay) { + if (displayEnd && end) { + return this.view.formatRange({ start: start, end: end }, false, // allDay + formatStr); + } + else { + return start.format(formatStr); + } + } + return ''; + }; + EventRenderer.prototype.computeEventTimeFormat = function () { + return this.opt('smallTimeFormat'); + }; + EventRenderer.prototype.computeDisplayEventTime = function () { + return true; + }; + EventRenderer.prototype.computeDisplayEventEnd = function () { + return true; + }; + EventRenderer.prototype.getBgClasses = function (eventDef) { + var classNames = this.getClasses(eventDef); + classNames.push('fc-bgevent'); + return classNames; + }; + EventRenderer.prototype.getClasses = function (eventDef) { + var objs = this.getStylingObjs(eventDef); + var i; + var classNames = []; + for (i = 0; i < objs.length; i++) { + classNames.push.apply(// append + classNames, objs[i].eventClassName || objs[i].className || []); + } + return classNames; + }; + // Utility for generating event skin-related CSS properties + EventRenderer.prototype.getSkinCss = function (eventDef) { + return { + 'background-color': this.getBgColor(eventDef), + 'border-color': this.getBorderColor(eventDef), + color: this.getTextColor(eventDef) + }; + }; + // Queries for caller-specified color, then falls back to default + EventRenderer.prototype.getBgColor = function (eventDef) { + var objs = this.getStylingObjs(eventDef); + var i; + var val; + for (i = 0; i < objs.length && !val; i++) { + val = objs[i].eventBackgroundColor || objs[i].eventColor || + objs[i].backgroundColor || objs[i].color; + } + if (!val) { + val = this.opt('eventBackgroundColor') || this.opt('eventColor'); + } + return val; + }; + // Queries for caller-specified color, then falls back to default + EventRenderer.prototype.getBorderColor = function (eventDef) { + var objs = this.getStylingObjs(eventDef); + var i; + var val; + for (i = 0; i < objs.length && !val; i++) { + val = objs[i].eventBorderColor || objs[i].eventColor || + objs[i].borderColor || objs[i].color; + } + if (!val) { + val = this.opt('eventBorderColor') || this.opt('eventColor'); + } + return val; + }; + // Queries for caller-specified color, then falls back to default + EventRenderer.prototype.getTextColor = function (eventDef) { + var objs = this.getStylingObjs(eventDef); + var i; + var val; + for (i = 0; i < objs.length && !val; i++) { + val = objs[i].eventTextColor || + objs[i].textColor; + } + if (!val) { + val = this.opt('eventTextColor'); + } + return val; + }; + EventRenderer.prototype.getStylingObjs = function (eventDef) { + var objs = this.getFallbackStylingObjs(eventDef); + objs.unshift(eventDef); + return objs; + }; + EventRenderer.prototype.getFallbackStylingObjs = function (eventDef) { + return [eventDef.source]; + }; + EventRenderer.prototype.sortEventSegs = function (segs) { + segs.sort(util_1.proxy(this, 'compareEventSegs')); + }; + // A cmp function for determining which segments should take visual priority + EventRenderer.prototype.compareEventSegs = function (seg1, seg2) { + var f1 = seg1.footprint; + var f2 = seg2.footprint; + var cf1 = f1.componentFootprint; + var cf2 = f2.componentFootprint; + var r1 = cf1.unzonedRange; + var r2 = cf2.unzonedRange; + return r1.startMs - r2.startMs || // earlier events go first + (r2.endMs - r2.startMs) - (r1.endMs - r1.startMs) || // tie? longer events go first + cf2.isAllDay - cf1.isAllDay || // tie? put all-day events first (booleans cast to 0/1) + util_1.compareByFieldSpecs(f1.eventDef, f2.eventDef, this.view.eventOrderSpecs, f1.eventDef.miscProps, f2.eventDef.miscProps); + }; + return EventRenderer; +}()); +exports.default = EventRenderer; + + +/***/ }), +/* 43 */, +/* 44 */, +/* 45 */, +/* 46 */, +/* 47 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var moment_ext_1 = __webpack_require__(10); +// Plugin +// ------------------------------------------------------------------------------------------------- +moment_ext_1.newMomentProto.format = function () { + if (this._fullCalendar && arguments[0]) { + return formatDate(this, arguments[0]); // our extended formatting + } + if (this._ambigTime) { + return moment_ext_1.oldMomentFormat(englishMoment(this), 'YYYY-MM-DD'); + } + if (this._ambigZone) { + return moment_ext_1.oldMomentFormat(englishMoment(this), 'YYYY-MM-DD[T]HH:mm:ss'); + } + if (this._fullCalendar) { + // moment.format() doesn't ensure english, but we want to. + return moment_ext_1.oldMomentFormat(englishMoment(this)); + } + return moment_ext_1.oldMomentProto.format.apply(this, arguments); +}; +moment_ext_1.newMomentProto.toISOString = function () { + if (this._ambigTime) { + return moment_ext_1.oldMomentFormat(englishMoment(this), 'YYYY-MM-DD'); + } + if (this._ambigZone) { + return moment_ext_1.oldMomentFormat(englishMoment(this), 'YYYY-MM-DD[T]HH:mm:ss'); + } + if (this._fullCalendar) { + // depending on browser, moment might not output english. ensure english. + // https://github.com/moment/moment/blob/2.18.1/src/lib/moment/format.js#L22 + return moment_ext_1.oldMomentProto.toISOString.apply(englishMoment(this), arguments); + } + return moment_ext_1.oldMomentProto.toISOString.apply(this, arguments); +}; +function englishMoment(mom) { + if (mom.locale() !== 'en') { + return mom.clone().locale('en'); + } + return mom; +} +// Config +// --------------------------------------------------------------------------------------------------------------------- +/* +Inserted between chunks in the fake ("intermediate") formatting string. +Important that it passes as whitespace (\s) because moment often identifies non-standalone months +via a regexp with an \s. +*/ +var PART_SEPARATOR = '\u000b'; // vertical tab +/* +Inserted as the first character of a literal-text chunk to indicate that the literal text is not actually literal text, +but rather, a "special" token that has custom rendering (see specialTokens map). +*/ +var SPECIAL_TOKEN_MARKER = '\u001f'; // information separator 1 +/* +Inserted at the beginning and end of a span of text that must have non-zero numeric characters. +Handling of these markers is done in a post-processing step at the very end of text rendering. +*/ +var MAYBE_MARKER = '\u001e'; // information separator 2 +var MAYBE_REGEXP = new RegExp(MAYBE_MARKER + '([^' + MAYBE_MARKER + ']*)' + MAYBE_MARKER, 'g'); // must be global +/* +Addition formatting tokens we want recognized +*/ +var specialTokens = { + t: function (date) { + return moment_ext_1.oldMomentFormat(date, 'a').charAt(0); + }, + T: function (date) { + return moment_ext_1.oldMomentFormat(date, 'A').charAt(0); + } +}; +/* +The first characters of formatting tokens for units that are 1 day or larger. +`value` is for ranking relative size (lower means bigger). +`unit` is a normalized unit, used for comparing moments. +*/ +var largeTokenMap = { + Y: { value: 1, unit: 'year' }, + M: { value: 2, unit: 'month' }, + W: { value: 3, unit: 'week' }, + w: { value: 3, unit: 'week' }, + D: { value: 4, unit: 'day' }, + d: { value: 4, unit: 'day' } // day of week +}; +// Single Date Formatting +// --------------------------------------------------------------------------------------------------------------------- +/* +Formats `date` with a Moment formatting string, but allow our non-zero areas and special token +*/ +function formatDate(date, formatStr) { + return renderFakeFormatString(getParsedFormatString(formatStr).fakeFormatString, date); +} +exports.formatDate = formatDate; +// Date Range Formatting +// ------------------------------------------------------------------------------------------------- +// TODO: make it work with timezone offset +/* +Using a formatting string meant for a single date, generate a range string, like +"Sep 2 - 9 2013", that intelligently inserts a separator where the dates differ. +If the dates are the same as far as the format string is concerned, just return a single +rendering of one date, without any separator. +*/ +function formatRange(date1, date2, formatStr, separator, isRTL) { + var localeData; + date1 = moment_ext_1.default.parseZone(date1); + date2 = moment_ext_1.default.parseZone(date2); + localeData = date1.localeData(); + // Expand localized format strings, like "LL" -> "MMMM D YYYY". + // BTW, this is not important for `formatDate` because it is impossible to put custom tokens + // or non-zero areas in Moment's localized format strings. + formatStr = localeData.longDateFormat(formatStr) || formatStr; + return renderParsedFormat(getParsedFormatString(formatStr), date1, date2, separator || ' - ', isRTL); +} +exports.formatRange = formatRange; +/* +Renders a range with an already-parsed format string. +*/ +function renderParsedFormat(parsedFormat, date1, date2, separator, isRTL) { + var sameUnits = parsedFormat.sameUnits; + var unzonedDate1 = date1.clone().stripZone(); // for same-unit comparisons + var unzonedDate2 = date2.clone().stripZone(); // " + var renderedParts1 = renderFakeFormatStringParts(parsedFormat.fakeFormatString, date1); + var renderedParts2 = renderFakeFormatStringParts(parsedFormat.fakeFormatString, date2); + var leftI; + var leftStr = ''; + var rightI; + var rightStr = ''; + var middleI; + var middleStr1 = ''; + var middleStr2 = ''; + var middleStr = ''; + // Start at the leftmost side of the formatting string and continue until you hit a token + // that is not the same between dates. + for (leftI = 0; leftI < sameUnits.length && (!sameUnits[leftI] || unzonedDate1.isSame(unzonedDate2, sameUnits[leftI])); leftI++) { + leftStr += renderedParts1[leftI]; + } + // Similarly, start at the rightmost side of the formatting string and move left + for (rightI = sameUnits.length - 1; rightI > leftI && (!sameUnits[rightI] || unzonedDate1.isSame(unzonedDate2, sameUnits[rightI])); rightI--) { + // If current chunk is on the boundary of unique date-content, and is a special-case + // date-formatting postfix character, then don't consume it. Consider it unique date-content. + // TODO: make configurable + if (rightI - 1 === leftI && renderedParts1[rightI] === '.') { + break; + } + rightStr = renderedParts1[rightI] + rightStr; + } + // The area in the middle is different for both of the dates. + // Collect them distinctly so we can jam them together later. + for (middleI = leftI; middleI <= rightI; middleI++) { + middleStr1 += renderedParts1[middleI]; + middleStr2 += renderedParts2[middleI]; + } + if (middleStr1 || middleStr2) { + if (isRTL) { + middleStr = middleStr2 + separator + middleStr1; + } + else { + middleStr = middleStr1 + separator + middleStr2; + } + } + return processMaybeMarkers(leftStr + middleStr + rightStr); +} +// Format String Parsing +// --------------------------------------------------------------------------------------------------------------------- +var parsedFormatStrCache = {}; +/* +Returns a parsed format string, leveraging a cache. +*/ +function getParsedFormatString(formatStr) { + return parsedFormatStrCache[formatStr] || + (parsedFormatStrCache[formatStr] = parseFormatString(formatStr)); +} +/* +Parses a format string into the following: +- fakeFormatString: a momentJS formatting string, littered with special control characters that get post-processed. +- sameUnits: for every part in fakeFormatString, if the part is a token, the value will be a unit string (like "day"), + that indicates how similar a range's start & end must be in order to share the same formatted text. + If not a token, then the value is null. + Always a flat array (not nested liked "chunks"). +*/ +function parseFormatString(formatStr) { + var chunks = chunkFormatString(formatStr); + return { + fakeFormatString: buildFakeFormatString(chunks), + sameUnits: buildSameUnits(chunks) + }; +} +/* +Break the formatting string into an array of chunks. +A 'maybe' chunk will have nested chunks. +*/ +function chunkFormatString(formatStr) { + var chunks = []; + var match; + // TODO: more descrimination + // \4 is a backreference to the first character of a multi-character set. + var chunker = /\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g; + while ((match = chunker.exec(formatStr))) { + if (match[1]) { + chunks.push.apply(chunks, // append + splitStringLiteral(match[1])); + } + else if (match[2]) { + chunks.push({ maybe: chunkFormatString(match[2]) }); + } + else if (match[3]) { + chunks.push({ token: match[3] }); + } + else if (match[5]) { + chunks.push.apply(chunks, // append + splitStringLiteral(match[5])); + } + } + return chunks; +} +/* +Potentially splits a literal-text string into multiple parts. For special cases. +*/ +function splitStringLiteral(s) { + if (s === '. ') { + return ['.', ' ']; // for locales with periods bound to the end of each year/month/date + } + else { + return [s]; + } +} +/* +Given chunks parsed from a real format string, generate a fake (aka "intermediate") format string with special control +characters that will eventually be given to moment for formatting, and then post-processed. +*/ +function buildFakeFormatString(chunks) { + var parts = []; + var i; + var chunk; + for (i = 0; i < chunks.length; i++) { + chunk = chunks[i]; + if (typeof chunk === 'string') { + parts.push('[' + chunk + ']'); + } + else if (chunk.token) { + if (chunk.token in specialTokens) { + parts.push(SPECIAL_TOKEN_MARKER + // useful during post-processing + '[' + chunk.token + ']' // preserve as literal text + ); + } + else { + parts.push(chunk.token); // unprotected text implies a format string + } + } + else if (chunk.maybe) { + parts.push(MAYBE_MARKER + // useful during post-processing + buildFakeFormatString(chunk.maybe) + + MAYBE_MARKER); + } + } + return parts.join(PART_SEPARATOR); +} +/* +Given parsed chunks from a real formatting string, generates an array of unit strings (like "day") that indicate +in which regard two dates must be similar in order to share range formatting text. +The `chunks` can be nested (because of "maybe" chunks), however, the returned array will be flat. +*/ +function buildSameUnits(chunks) { + var units = []; + var i; + var chunk; + var tokenInfo; + for (i = 0; i < chunks.length; i++) { + chunk = chunks[i]; + if (chunk.token) { + tokenInfo = largeTokenMap[chunk.token.charAt(0)]; + units.push(tokenInfo ? tokenInfo.unit : 'second'); // default to a very strict same-second + } + else if (chunk.maybe) { + units.push.apply(units, // append + buildSameUnits(chunk.maybe)); + } + else { + units.push(null); + } + } + return units; +} +// Rendering to text +// --------------------------------------------------------------------------------------------------------------------- +/* +Formats a date with a fake format string, post-processes the control characters, then returns. +*/ +function renderFakeFormatString(fakeFormatString, date) { + return processMaybeMarkers(renderFakeFormatStringParts(fakeFormatString, date).join('')); +} +/* +Formats a date into parts that will have been post-processed, EXCEPT for the "maybe" markers. +*/ +function renderFakeFormatStringParts(fakeFormatString, date) { + var parts = []; + var fakeRender = moment_ext_1.oldMomentFormat(date, fakeFormatString); + var fakeParts = fakeRender.split(PART_SEPARATOR); + var i; + var fakePart; + for (i = 0; i < fakeParts.length; i++) { + fakePart = fakeParts[i]; + if (fakePart.charAt(0) === SPECIAL_TOKEN_MARKER) { + parts.push( + // the literal string IS the token's name. + // call special token's registered function. + specialTokens[fakePart.substring(1)](date)); + } + else { + parts.push(fakePart); + } + } + return parts; +} +/* +Accepts an almost-finally-formatted string and processes the "maybe" control characters, returning a new string. +*/ +function processMaybeMarkers(s) { + return s.replace(MAYBE_REGEXP, function (m0, m1) { + if (m1.match(/[1-9]/)) { + return m1; + } + else { + return ''; + } + }); +} +// Misc Utils +// ------------------------------------------------------------------------------------------------- +/* +Returns a unit string, either 'year', 'month', 'day', or null for the most granular formatting token in the string. +*/ +function queryMostGranularFormatUnit(formatStr) { + var chunks = chunkFormatString(formatStr); + var i; + var chunk; + var candidate; + var best; + for (i = 0; i < chunks.length; i++) { + chunk = chunks[i]; + if (chunk.token) { + candidate = largeTokenMap[chunk.token.charAt(0)]; + if (candidate) { + if (!best || candidate.value > best.value) { + best = candidate; + } + } + } + } + if (best) { + return best.unit; + } + return null; +} +exports.queryMostGranularFormatUnit = queryMostGranularFormatUnit; + + +/***/ }), +/* 48 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var Class_1 = __webpack_require__(33); +var EmitterMixin_1 = __webpack_require__(11); +var ListenerMixin_1 = __webpack_require__(7); +var Model = /** @class */ (function (_super) { + tslib_1.__extends(Model, _super); + function Model() { + var _this = _super.call(this) || this; + _this._watchers = {}; + _this._props = {}; + _this.applyGlobalWatchers(); + _this.constructed(); + return _this; + } + Model.watch = function (name) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + // subclasses should make a masked-copy of the superclass's map + // TODO: write test + if (!this.prototype.hasOwnProperty('_globalWatchArgs')) { + this.prototype._globalWatchArgs = Object.create(this.prototype._globalWatchArgs); + } + this.prototype._globalWatchArgs[name] = args; + }; + Model.prototype.constructed = function () { + // useful for monkeypatching. TODO: BaseClass? + }; + Model.prototype.applyGlobalWatchers = function () { + var map = this._globalWatchArgs; + var name; + for (name in map) { + this.watch.apply(this, [name].concat(map[name])); + } + }; + Model.prototype.has = function (name) { + return name in this._props; + }; + Model.prototype.get = function (name) { + if (name === undefined) { + return this._props; + } + return this._props[name]; + }; + Model.prototype.set = function (name, val) { + var newProps; + if (typeof name === 'string') { + newProps = {}; + newProps[name] = val === undefined ? null : val; + } + else { + newProps = name; + } + this.setProps(newProps); + }; + Model.prototype.reset = function (newProps) { + var oldProps = this._props; + var changeset = {}; // will have undefined's to signal unsets + var name; + for (name in oldProps) { + changeset[name] = undefined; + } + for (name in newProps) { + changeset[name] = newProps[name]; + } + this.setProps(changeset); + }; + Model.prototype.unset = function (name) { + var newProps = {}; + var names; + var i; + if (typeof name === 'string') { + names = [name]; + } + else { + names = name; + } + for (i = 0; i < names.length; i++) { + newProps[names[i]] = undefined; + } + this.setProps(newProps); + }; + Model.prototype.setProps = function (newProps) { + var changedProps = {}; + var changedCnt = 0; + var name; + var val; + for (name in newProps) { + val = newProps[name]; + // a change in value? + // if an object, don't check equality, because might have been mutated internally. + // TODO: eventually enforce immutability. + if (typeof val === 'object' || + val !== this._props[name]) { + changedProps[name] = val; + changedCnt++; + } + } + if (changedCnt) { + this.trigger('before:batchChange', changedProps); + for (name in changedProps) { + val = changedProps[name]; + this.trigger('before:change', name, val); + this.trigger('before:change:' + name, val); + } + for (name in changedProps) { + val = changedProps[name]; + if (val === undefined) { + delete this._props[name]; + } + else { + this._props[name] = val; + } + this.trigger('change:' + name, val); + this.trigger('change', name, val); + } + this.trigger('batchChange', changedProps); + } + }; + Model.prototype.watch = function (name, depList, startFunc, stopFunc) { + var _this = this; + this.unwatch(name); + this._watchers[name] = this._watchDeps(depList, function (deps) { + var res = startFunc.call(_this, deps); + if (res && res.then) { + _this.unset(name); // put in an unset state while resolving + res.then(function (val) { + _this.set(name, val); + }); + } + else { + _this.set(name, res); + } + }, function (deps) { + _this.unset(name); + if (stopFunc) { + stopFunc.call(_this, deps); + } + }); + }; + Model.prototype.unwatch = function (name) { + var watcher = this._watchers[name]; + if (watcher) { + delete this._watchers[name]; + watcher.teardown(); + } + }; + Model.prototype._watchDeps = function (depList, startFunc, stopFunc) { + var _this = this; + var queuedChangeCnt = 0; + var depCnt = depList.length; + var satisfyCnt = 0; + var values = {}; // what's passed as the `deps` arguments + var bindTuples = []; // array of [ eventName, handlerFunc ] arrays + var isCallingStop = false; + var onBeforeDepChange = function (depName, val, isOptional) { + queuedChangeCnt++; + if (queuedChangeCnt === 1) { + if (satisfyCnt === depCnt) { + isCallingStop = true; + stopFunc(values); + isCallingStop = false; + } + } + }; + var onDepChange = function (depName, val, isOptional) { + if (val === undefined) { + // required dependency that was previously set? + if (!isOptional && values[depName] !== undefined) { + satisfyCnt--; + } + delete values[depName]; + } + else { + // required dependency that was previously unset? + if (!isOptional && values[depName] === undefined) { + satisfyCnt++; + } + values[depName] = val; + } + queuedChangeCnt--; + if (!queuedChangeCnt) { + // now finally satisfied or satisfied all along? + if (satisfyCnt === depCnt) { + // if the stopFunc initiated another value change, ignore it. + // it will be processed by another change event anyway. + if (!isCallingStop) { + startFunc(values); + } + } + } + }; + // intercept for .on() that remembers handlers + var bind = function (eventName, handler) { + _this.on(eventName, handler); + bindTuples.push([eventName, handler]); + }; + // listen to dependency changes + depList.forEach(function (depName) { + var isOptional = false; + if (depName.charAt(0) === '?') { + depName = depName.substring(1); + isOptional = true; + } + bind('before:change:' + depName, function (val) { + onBeforeDepChange(depName, val, isOptional); + }); + bind('change:' + depName, function (val) { + onDepChange(depName, val, isOptional); + }); + }); + // process current dependency values + depList.forEach(function (depName) { + var isOptional = false; + if (depName.charAt(0) === '?') { + depName = depName.substring(1); + isOptional = true; + } + if (_this.has(depName)) { + values[depName] = _this.get(depName); + satisfyCnt++; + } + else if (isOptional) { + satisfyCnt++; + } + }); + // initially satisfied + if (satisfyCnt === depCnt) { + startFunc(values); + } + return { + teardown: function () { + // remove all handlers + for (var i = 0; i < bindTuples.length; i++) { + _this.off(bindTuples[i][0], bindTuples[i][1]); + } + bindTuples = null; + // was satisfied, so call stopFunc + if (satisfyCnt === depCnt) { + stopFunc(); + } + }, + flash: function () { + if (satisfyCnt === depCnt) { + stopFunc(); + startFunc(values); + } + } + }; + }; + Model.prototype.flash = function (name) { + var watcher = this._watchers[name]; + if (watcher) { + watcher.flash(); + } + }; + return Model; +}(Class_1.default)); +exports.default = Model; +Model.prototype._globalWatchArgs = {}; // mutation protection in Model.watch +EmitterMixin_1.default.mixInto(Model); +ListenerMixin_1.default.mixInto(Model); + + +/***/ }), +/* 49 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var moment = __webpack_require__(0); +var util_1 = __webpack_require__(4); +var SingleEventDef_1 = __webpack_require__(13); +var RecurringEventDef_1 = __webpack_require__(210); +exports.default = { + parse: function (eventInput, source) { + if (util_1.isTimeString(eventInput.start) || moment.isDuration(eventInput.start) || + util_1.isTimeString(eventInput.end) || moment.isDuration(eventInput.end)) { + return RecurringEventDef_1.default.parse(eventInput, source); + } + else { + return SingleEventDef_1.default.parse(eventInput, source); + } + } +}; + + +/***/ }), +/* 50 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var util_1 = __webpack_require__(4); +var EventDateProfile_1 = __webpack_require__(17); +var EventDefDateMutation = /** @class */ (function () { + function EventDefDateMutation() { + this.clearEnd = false; + this.forceTimed = false; + this.forceAllDay = false; + } + EventDefDateMutation.createFromDiff = function (dateProfile0, dateProfile1, largeUnit) { + var clearEnd = dateProfile0.end && !dateProfile1.end; + var forceTimed = dateProfile0.isAllDay() && !dateProfile1.isAllDay(); + var forceAllDay = !dateProfile0.isAllDay() && dateProfile1.isAllDay(); + var dateDelta; + var endDiff; + var endDelta; + var mutation; + // subtracts the dates in the appropriate way, returning a duration + function subtractDates(date1, date0) { + if (largeUnit) { + return util_1.diffByUnit(date1, date0, largeUnit); // poorly named + } + else if (dateProfile1.isAllDay()) { + return util_1.diffDay(date1, date0); // poorly named + } + else { + return util_1.diffDayTime(date1, date0); // poorly named + } + } + dateDelta = subtractDates(dateProfile1.start, dateProfile0.start); + if (dateProfile1.end) { + // use unzonedRanges because dateProfile0.end might be null + endDiff = subtractDates(dateProfile1.unzonedRange.getEnd(), dateProfile0.unzonedRange.getEnd()); + endDelta = endDiff.subtract(dateDelta); + } + mutation = new EventDefDateMutation(); + mutation.clearEnd = clearEnd; + mutation.forceTimed = forceTimed; + mutation.forceAllDay = forceAllDay; + mutation.setDateDelta(dateDelta); + mutation.setEndDelta(endDelta); + return mutation; + }; + /* + returns an undo function. + */ + EventDefDateMutation.prototype.buildNewDateProfile = function (eventDateProfile, calendar) { + var start = eventDateProfile.start.clone(); + var end = null; + var shouldRezone = false; + if (eventDateProfile.end && !this.clearEnd) { + end = eventDateProfile.end.clone(); + } + else if (this.endDelta && !end) { + end = calendar.getDefaultEventEnd(eventDateProfile.isAllDay(), start); + } + if (this.forceTimed) { + shouldRezone = true; + if (!start.hasTime()) { + start.time(0); + } + if (end && !end.hasTime()) { + end.time(0); + } + } + else if (this.forceAllDay) { + if (start.hasTime()) { + start.stripTime(); + } + if (end && end.hasTime()) { + end.stripTime(); + } + } + if (this.dateDelta) { + shouldRezone = true; + start.add(this.dateDelta); + if (end) { + end.add(this.dateDelta); + } + } + // do this before adding startDelta to start, so we can work off of start + if (this.endDelta) { + shouldRezone = true; + end.add(this.endDelta); + } + if (this.startDelta) { + shouldRezone = true; + start.add(this.startDelta); + } + if (shouldRezone) { + start = calendar.applyTimezone(start); + if (end) { + end = calendar.applyTimezone(end); + } + } + // TODO: okay to access calendrier option? + if (!end && calendar.opt('forceEventDuration')) { + end = calendar.getDefaultEventEnd(eventDateProfile.isAllDay(), start); + } + return new EventDateProfile_1.default(start, end, calendar); + }; + EventDefDateMutation.prototype.setDateDelta = function (dateDelta) { + if (dateDelta && dateDelta.valueOf()) { + this.dateDelta = dateDelta; + } + else { + this.dateDelta = null; + } + }; + EventDefDateMutation.prototype.setStartDelta = function (startDelta) { + if (startDelta && startDelta.valueOf()) { + this.startDelta = startDelta; + } + else { + this.startDelta = null; + } + }; + EventDefDateMutation.prototype.setEndDelta = function (endDelta) { + if (endDelta && endDelta.valueOf()) { + this.endDelta = endDelta; + } + else { + this.endDelta = null; + } + }; + EventDefDateMutation.prototype.isEmpty = function () { + return !this.clearEnd && !this.forceTimed && !this.forceAllDay && + !this.dateDelta && !this.startDelta && !this.endDelta; + }; + return EventDefDateMutation; +}()); +exports.default = EventDefDateMutation; + + +/***/ }), +/* 51 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var StandardTheme_1 = __webpack_require__(213); +var JqueryUiTheme_1 = __webpack_require__(214); +var themeClassHash = {}; +function defineThemeSystem(themeName, themeClass) { + themeClassHash[themeName] = themeClass; +} +exports.defineThemeSystem = defineThemeSystem; +function getThemeSystemClass(themeSetting) { + if (!themeSetting) { + return StandardTheme_1.default; + } + else if (themeSetting === true) { + return JqueryUiTheme_1.default; + } + else { + return themeClassHash[themeSetting]; + } +} +exports.getThemeSystemClass = getThemeSystemClass; + + +/***/ }), +/* 52 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var Promise_1 = __webpack_require__(20); +var EventSource_1 = __webpack_require__(6); +var SingleEventDef_1 = __webpack_require__(13); +var ArrayEventSource = /** @class */ (function (_super) { + tslib_1.__extends(ArrayEventSource, _super); + function ArrayEventSource(calendar) { + var _this = _super.call(this, calendar) || this; + _this.eventDefs = []; // for if setRawEventDefs is never called + return _this; + } + ArrayEventSource.parse = function (rawInput, calendar) { + var rawProps; + // normalize raw input + if ($.isArray(rawInput.events)) { + rawProps = rawInput; + } + else if ($.isArray(rawInput)) { + rawProps = { events: rawInput }; + } + if (rawProps) { + return EventSource_1.default.parse.call(this, rawProps, calendar); + } + return false; + }; + ArrayEventSource.prototype.setRawEventDefs = function (rawEventDefs) { + this.rawEventDefs = rawEventDefs; + this.eventDefs = this.parseEventDefs(rawEventDefs); + }; + ArrayEventSource.prototype.fetch = function (start, end, timezone) { + var eventDefs = this.eventDefs; + var i; + if (this.currentTimezone != null && + this.currentTimezone !== timezone) { + for (i = 0; i < eventDefs.length; i++) { + if (eventDefs[i] instanceof SingleEventDef_1.default) { + eventDefs[i].rezone(); + } + } + } + this.currentTimezone = timezone; + return Promise_1.default.resolve(eventDefs); + }; + ArrayEventSource.prototype.addEventDef = function (eventDef) { + this.eventDefs.push(eventDef); + }; + /* + eventDefId already normalized to a string + */ + ArrayEventSource.prototype.removeEventDefsById = function (eventDefId) { + return util_1.removeMatching(this.eventDefs, function (eventDef) { + return eventDef.id === eventDefId; + }); + }; + ArrayEventSource.prototype.removeAllEventDefs = function () { + this.eventDefs = []; + }; + ArrayEventSource.prototype.getPrimitive = function () { + return this.rawEventDefs; + }; + ArrayEventSource.prototype.applyManualStandardProps = function (rawProps) { + var superSuccess = _super.prototype.applyManualStandardProps.call(this, rawProps); + this.setRawEventDefs(rawProps.events); + return superSuccess; + }; + return ArrayEventSource; +}(EventSource_1.default)); +exports.default = ArrayEventSource; +ArrayEventSource.defineStandardProps({ + events: false // don't automatically transfer +}); + + +/***/ }), +/* 53 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +/* +A cache for the left/right/top/bottom/width/height values for one or more elements. +Works with both offset (from topleft document) and position (from offsetParent). + +options: +- els +- isHorizontal +- isVertical +*/ +var CoordCache = /** @class */ (function () { + function CoordCache(options) { + this.isHorizontal = false; // whether to query for left/right/width + this.isVertical = false; // whether to query for top/bottom/height + this.els = $(options.els); + this.isHorizontal = options.isHorizontal; + this.isVertical = options.isVertical; + this.forcedOffsetParentEl = options.offsetParent ? $(options.offsetParent) : null; + } + // Queries the els for coordinates and stores them. + // Call this method before using and of the get* methods below. + CoordCache.prototype.build = function () { + var offsetParentEl = this.forcedOffsetParentEl; + if (!offsetParentEl && this.els.length > 0) { + offsetParentEl = this.els.eq(0).offsetParent(); + } + this.origin = offsetParentEl ? + offsetParentEl.offset() : + null; + this.boundingRect = this.queryBoundingRect(); + if (this.isHorizontal) { + this.buildElHorizontals(); + } + if (this.isVertical) { + this.buildElVerticals(); + } + }; + // Destroys all internal data about coordinates, freeing memory + CoordCache.prototype.clear = function () { + this.origin = null; + this.boundingRect = null; + this.lefts = null; + this.rights = null; + this.tops = null; + this.bottoms = null; + }; + // When called, if coord caches aren't built, builds them + CoordCache.prototype.ensureBuilt = function () { + if (!this.origin) { + this.build(); + } + }; + // Populates the left/right internal coordinate arrays + CoordCache.prototype.buildElHorizontals = function () { + var lefts = []; + var rights = []; + this.els.each(function (i, node) { + var el = $(node); + var left = el.offset().left; + var width = el.outerWidth(); + lefts.push(left); + rights.push(left + width); + }); + this.lefts = lefts; + this.rights = rights; + }; + // Populates the top/bottom internal coordinate arrays + CoordCache.prototype.buildElVerticals = function () { + var tops = []; + var bottoms = []; + this.els.each(function (i, node) { + var el = $(node); + var top = el.offset().top; + var height = el.outerHeight(); + tops.push(top); + bottoms.push(top + height); + }); + this.tops = tops; + this.bottoms = bottoms; + }; + // Given a left offset (from document left), returns the index of the el that it horizontally intersects. + // If no intersection is made, returns undefined. + CoordCache.prototype.getHorizontalIndex = function (leftOffset) { + this.ensureBuilt(); + var lefts = this.lefts; + var rights = this.rights; + var len = lefts.length; + var i; + for (i = 0; i < len; i++) { + if (leftOffset >= lefts[i] && leftOffset < rights[i]) { + return i; + } + } + }; + // Given a top offset (from document top), returns the index of the el that it vertically intersects. + // If no intersection is made, returns undefined. + CoordCache.prototype.getVerticalIndex = function (topOffset) { + this.ensureBuilt(); + var tops = this.tops; + var bottoms = this.bottoms; + var len = tops.length; + var i; + for (i = 0; i < len; i++) { + if (topOffset >= tops[i] && topOffset < bottoms[i]) { + return i; + } + } + }; + // Gets the left offset (from document left) of the element at the given index + CoordCache.prototype.getLeftOffset = function (leftIndex) { + this.ensureBuilt(); + return this.lefts[leftIndex]; + }; + // Gets the left position (from offsetParent left) of the element at the given index + CoordCache.prototype.getLeftPosition = function (leftIndex) { + this.ensureBuilt(); + return this.lefts[leftIndex] - this.origin.left; + }; + // Gets the right offset (from document left) of the element at the given index. + // This value is NOT relative to the document's right edge, like the CSS concept of "right" would be. + CoordCache.prototype.getRightOffset = function (leftIndex) { + this.ensureBuilt(); + return this.rights[leftIndex]; + }; + // Gets the right position (from offsetParent left) of the element at the given index. + // This value is NOT relative to the offsetParent's right edge, like the CSS concept of "right" would be. + CoordCache.prototype.getRightPosition = function (leftIndex) { + this.ensureBuilt(); + return this.rights[leftIndex] - this.origin.left; + }; + // Gets the width of the element at the given index + CoordCache.prototype.getWidth = function (leftIndex) { + this.ensureBuilt(); + return this.rights[leftIndex] - this.lefts[leftIndex]; + }; + // Gets the top offset (from document top) of the element at the given index + CoordCache.prototype.getTopOffset = function (topIndex) { + this.ensureBuilt(); + return this.tops[topIndex]; + }; + // Gets the top position (from offsetParent top) of the element at the given position + CoordCache.prototype.getTopPosition = function (topIndex) { + this.ensureBuilt(); + return this.tops[topIndex] - this.origin.top; + }; + // Gets the bottom offset (from the document top) of the element at the given index. + // This value is NOT relative to the offsetParent's bottom edge, like the CSS concept of "bottom" would be. + CoordCache.prototype.getBottomOffset = function (topIndex) { + this.ensureBuilt(); + return this.bottoms[topIndex]; + }; + // Gets the bottom position (from the offsetParent top) of the element at the given index. + // This value is NOT relative to the offsetParent's bottom edge, like the CSS concept of "bottom" would be. + CoordCache.prototype.getBottomPosition = function (topIndex) { + this.ensureBuilt(); + return this.bottoms[topIndex] - this.origin.top; + }; + // Gets the height of the element at the given index + CoordCache.prototype.getHeight = function (topIndex) { + this.ensureBuilt(); + return this.bottoms[topIndex] - this.tops[topIndex]; + }; + // Bounding Rect + // TODO: decouple this from CoordCache + // Compute and return what the elements' bounding rectangle is, from the user's perspective. + // Right now, only returns a rectangle if constrained by an overflow:scroll element. + // Returns null if there are no elements + CoordCache.prototype.queryBoundingRect = function () { + var scrollParentEl; + if (this.els.length > 0) { + scrollParentEl = util_1.getScrollParent(this.els.eq(0)); + if (!scrollParentEl.is(document)) { + return util_1.getClientRect(scrollParentEl); + } + } + return null; + }; + CoordCache.prototype.isPointInBounds = function (leftOffset, topOffset) { + return this.isLeftInBounds(leftOffset) && this.isTopInBounds(topOffset); + }; + CoordCache.prototype.isLeftInBounds = function (leftOffset) { + return !this.boundingRect || (leftOffset >= this.boundingRect.left && leftOffset < this.boundingRect.right); + }; + CoordCache.prototype.isTopInBounds = function (topOffset) { + return !this.boundingRect || (topOffset >= this.boundingRect.top && topOffset < this.boundingRect.bottom); + }; + return CoordCache; +}()); +exports.default = CoordCache; + + +/***/ }), +/* 54 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var ListenerMixin_1 = __webpack_require__(7); +var GlobalEmitter_1 = __webpack_require__(21); +/* Tracks a drag's mouse movement, firing various handlers +----------------------------------------------------------------------------------------------------------------------*/ +// TODO: use Emitter +var DragListener = /** @class */ (function () { + function DragListener(options) { + this.isInteracting = false; + this.isDistanceSurpassed = false; + this.isDelayEnded = false; + this.isDragging = false; + this.isTouch = false; + this.isGeneric = false; // initiated by 'dragstart' (jqui) + this.shouldCancelTouchScroll = true; + this.scrollAlwaysKills = false; + this.isAutoScroll = false; + // defaults + this.scrollSensitivity = 30; // pixels from edge for scrolling to start + this.scrollSpeed = 200; // pixels per second, at maximum speed + this.scrollIntervalMs = 50; // millisecond wait between scroll increment + this.options = options || {}; + } + // Interaction (high-level) + // ----------------------------------------------------------------------------------------------------------------- + DragListener.prototype.startInteraction = function (ev, extraOptions) { + if (extraOptions === void 0) { extraOptions = {}; } + if (ev.type === 'mousedown') { + if (GlobalEmitter_1.default.get().shouldIgnoreMouse()) { + return; + } + else if (!util_1.isPrimaryMouseButton(ev)) { + return; + } + else { + ev.preventDefault(); // prevents native selection in most browsers + } + } + if (!this.isInteracting) { + // process options + this.delay = util_1.firstDefined(extraOptions.delay, this.options.delay, 0); + this.minDistance = util_1.firstDefined(extraOptions.distance, this.options.distance, 0); + this.subjectEl = this.options.subjectEl; + util_1.preventSelection($('body')); + this.isInteracting = true; + this.isTouch = util_1.getEvIsTouch(ev); + this.isGeneric = ev.type === 'dragstart'; + this.isDelayEnded = false; + this.isDistanceSurpassed = false; + this.originX = util_1.getEvX(ev); + this.originY = util_1.getEvY(ev); + this.scrollEl = util_1.getScrollParent($(ev.target)); + this.bindHandlers(); + this.initAutoScroll(); + this.handleInteractionStart(ev); + this.startDelay(ev); + if (!this.minDistance) { + this.handleDistanceSurpassed(ev); + } + } + }; + DragListener.prototype.handleInteractionStart = function (ev) { + this.trigger('interactionStart', ev); + }; + DragListener.prototype.endInteraction = function (ev, isCancelled) { + if (this.isInteracting) { + this.endDrag(ev); + if (this.delayTimeoutId) { + clearTimeout(this.delayTimeoutId); + this.delayTimeoutId = null; + } + this.destroyAutoScroll(); + this.unbindHandlers(); + this.isInteracting = false; + this.handleInteractionEnd(ev, isCancelled); + util_1.allowSelection($('body')); + } + }; + DragListener.prototype.handleInteractionEnd = function (ev, isCancelled) { + this.trigger('interactionEnd', ev, isCancelled || false); + }; + // Binding To DOM + // ----------------------------------------------------------------------------------------------------------------- + DragListener.prototype.bindHandlers = function () { + // some browsers (Safari in iOS 10) don't allow preventDefault on touch events that are bound after touchstart, + // so listen to the GlobalEmitter singleton, which is always bound, instead of the document directly. + var globalEmitter = GlobalEmitter_1.default.get(); + if (this.isGeneric) { + this.listenTo($(document), { + drag: this.handleMove, + dragstop: this.endInteraction + }); + } + else if (this.isTouch) { + this.listenTo(globalEmitter, { + touchmove: this.handleTouchMove, + touchend: this.endInteraction, + scroll: this.handleTouchScroll + }); + } + else { + this.listenTo(globalEmitter, { + mousemove: this.handleMouseMove, + mouseup: this.endInteraction + }); + } + this.listenTo(globalEmitter, { + selectstart: util_1.preventDefault, + contextmenu: util_1.preventDefault // long taps would open menu on Chrome dev tools + }); + }; + DragListener.prototype.unbindHandlers = function () { + this.stopListeningTo(GlobalEmitter_1.default.get()); + this.stopListeningTo($(document)); // for isGeneric + }; + // Drag (high-level) + // ----------------------------------------------------------------------------------------------------------------- + // extraOptions ignored if drag already started + DragListener.prototype.startDrag = function (ev, extraOptions) { + this.startInteraction(ev, extraOptions); // ensure interaction began + if (!this.isDragging) { + this.isDragging = true; + this.handleDragStart(ev); + } + }; + DragListener.prototype.handleDragStart = function (ev) { + this.trigger('dragStart', ev); + }; + DragListener.prototype.handleMove = function (ev) { + var dx = util_1.getEvX(ev) - this.originX; + var dy = util_1.getEvY(ev) - this.originY; + var minDistance = this.minDistance; + var distanceSq; // current distance from the origin, squared + if (!this.isDistanceSurpassed) { + distanceSq = dx * dx + dy * dy; + if (distanceSq >= minDistance * minDistance) { + this.handleDistanceSurpassed(ev); + } + } + if (this.isDragging) { + this.handleDrag(dx, dy, ev); + } + }; + // Called while the mouse is being moved and when we know a legitimate drag is taking place + DragListener.prototype.handleDrag = function (dx, dy, ev) { + this.trigger('drag', dx, dy, ev); + this.updateAutoScroll(ev); // will possibly cause scrolling + }; + DragListener.prototype.endDrag = function (ev) { + if (this.isDragging) { + this.isDragging = false; + this.handleDragEnd(ev); + } + }; + DragListener.prototype.handleDragEnd = function (ev) { + this.trigger('dragEnd', ev); + }; + // Delay + // ----------------------------------------------------------------------------------------------------------------- + DragListener.prototype.startDelay = function (initialEv) { + var _this = this; + if (this.delay) { + this.delayTimeoutId = setTimeout(function () { + _this.handleDelayEnd(initialEv); + }, this.delay); + } + else { + this.handleDelayEnd(initialEv); + } + }; + DragListener.prototype.handleDelayEnd = function (initialEv) { + this.isDelayEnded = true; + if (this.isDistanceSurpassed) { + this.startDrag(initialEv); + } + }; + // Distance + // ----------------------------------------------------------------------------------------------------------------- + DragListener.prototype.handleDistanceSurpassed = function (ev) { + this.isDistanceSurpassed = true; + if (this.isDelayEnded) { + this.startDrag(ev); + } + }; + // Mouse / Touch + // ----------------------------------------------------------------------------------------------------------------- + DragListener.prototype.handleTouchMove = function (ev) { + // prevent inertia and touchmove-scrolling while dragging + if (this.isDragging && this.shouldCancelTouchScroll) { + ev.preventDefault(); + } + this.handleMove(ev); + }; + DragListener.prototype.handleMouseMove = function (ev) { + this.handleMove(ev); + }; + // Scrolling (unrelated to auto-scroll) + // ----------------------------------------------------------------------------------------------------------------- + DragListener.prototype.handleTouchScroll = function (ev) { + // if the drag is being initiated by touch, but a scroll happens before + // the drag-initiating delay is over, cancel the drag + if (!this.isDragging || this.scrollAlwaysKills) { + this.endInteraction(ev, true); // isCancelled=true + } + }; + // Utils + // ----------------------------------------------------------------------------------------------------------------- + // Triggers a callback. Calls a function in the option hash of the same name. + // Arguments beyond the first `name` are forwarded on. + DragListener.prototype.trigger = function (name) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + if (this.options[name]) { + this.options[name].apply(this, args); + } + // makes _methods callable by event name. TODO: kill this + if (this['_' + name]) { + this['_' + name].apply(this, args); + } + }; + // Auto-scroll + // ----------------------------------------------------------------------------------------------------------------- + DragListener.prototype.initAutoScroll = function () { + var scrollEl = this.scrollEl; + this.isAutoScroll = + this.options.scroll && + scrollEl && + !scrollEl.is(window) && + !scrollEl.is(document); + if (this.isAutoScroll) { + // debounce makes sure rapid calls don't happen + this.listenTo(scrollEl, 'scroll', util_1.debounce(this.handleDebouncedScroll, 100)); + } + }; + DragListener.prototype.destroyAutoScroll = function () { + this.endAutoScroll(); // kill any animation loop + // remove the scroll handler if there is a scrollEl + if (this.isAutoScroll) { + this.stopListeningTo(this.scrollEl, 'scroll'); // will probably get removed by unbindHandlers too :( + } + }; + // Computes and stores the bounding rectangle of scrollEl + DragListener.prototype.computeScrollBounds = function () { + if (this.isAutoScroll) { + this.scrollBounds = util_1.getOuterRect(this.scrollEl); + // TODO: use getClientRect in future. but prevents auto scrolling when on top of scrollbars + } + }; + // Called when the dragging is in progress and scrolling should be updated + DragListener.prototype.updateAutoScroll = function (ev) { + var sensitivity = this.scrollSensitivity; + var bounds = this.scrollBounds; + var topCloseness; + var bottomCloseness; + var leftCloseness; + var rightCloseness; + var topVel = 0; + var leftVel = 0; + if (bounds) { + // compute closeness to edges. valid range is from 0.0 - 1.0 + topCloseness = (sensitivity - (util_1.getEvY(ev) - bounds.top)) / sensitivity; + bottomCloseness = (sensitivity - (bounds.bottom - util_1.getEvY(ev))) / sensitivity; + leftCloseness = (sensitivity - (util_1.getEvX(ev) - bounds.left)) / sensitivity; + rightCloseness = (sensitivity - (bounds.right - util_1.getEvX(ev))) / sensitivity; + // translate vertical closeness into velocity. + // mouse must be completely in bounds for velocity to happen. + if (topCloseness >= 0 && topCloseness <= 1) { + topVel = topCloseness * this.scrollSpeed * -1; // negative. for scrolling up + } + else if (bottomCloseness >= 0 && bottomCloseness <= 1) { + topVel = bottomCloseness * this.scrollSpeed; + } + // translate horizontal closeness into velocity + if (leftCloseness >= 0 && leftCloseness <= 1) { + leftVel = leftCloseness * this.scrollSpeed * -1; // negative. for scrolling left + } + else if (rightCloseness >= 0 && rightCloseness <= 1) { + leftVel = rightCloseness * this.scrollSpeed; + } + } + this.setScrollVel(topVel, leftVel); + }; + // Sets the speed-of-scrolling for the scrollEl + DragListener.prototype.setScrollVel = function (topVel, leftVel) { + this.scrollTopVel = topVel; + this.scrollLeftVel = leftVel; + this.constrainScrollVel(); // massages into realistic values + // if there is non-zero velocity, and an animation loop hasn't already started, then START + if ((this.scrollTopVel || this.scrollLeftVel) && !this.scrollIntervalId) { + this.scrollIntervalId = setInterval(util_1.proxy(this, 'scrollIntervalFunc'), // scope to `this` + this.scrollIntervalMs); + } + }; + // Forces scrollTopVel and scrollLeftVel to be zero if scrolling has already gone all the way + DragListener.prototype.constrainScrollVel = function () { + var el = this.scrollEl; + if (this.scrollTopVel < 0) { + if (el.scrollTop() <= 0) { + this.scrollTopVel = 0; + } + } + else if (this.scrollTopVel > 0) { + if (el.scrollTop() + el[0].clientHeight >= el[0].scrollHeight) { + this.scrollTopVel = 0; + } + } + if (this.scrollLeftVel < 0) { + if (el.scrollLeft() <= 0) { + this.scrollLeftVel = 0; + } + } + else if (this.scrollLeftVel > 0) { + if (el.scrollLeft() + el[0].clientWidth >= el[0].scrollWidth) { + this.scrollLeftVel = 0; + } + } + }; + // This function gets called during every iteration of the scrolling animation loop + DragListener.prototype.scrollIntervalFunc = function () { + var el = this.scrollEl; + var frac = this.scrollIntervalMs / 1000; // considering animation frequency, what the vel should be mult'd by + // change the value of scrollEl's scroll + if (this.scrollTopVel) { + el.scrollTop(el.scrollTop() + this.scrollTopVel * frac); + } + if (this.scrollLeftVel) { + el.scrollLeft(el.scrollLeft() + this.scrollLeftVel * frac); + } + this.constrainScrollVel(); // since the scroll values changed, recompute the velocities + // if scrolled all the way, which causes the vels to be zero, stop the animation loop + if (!this.scrollTopVel && !this.scrollLeftVel) { + this.endAutoScroll(); + } + }; + // Kills any existing scrolling animation loop + DragListener.prototype.endAutoScroll = function () { + if (this.scrollIntervalId) { + clearInterval(this.scrollIntervalId); + this.scrollIntervalId = null; + this.handleScrollEnd(); + } + }; + // Get called when the scrollEl is scrolled (NOTE: this is delayed via debounce) + DragListener.prototype.handleDebouncedScroll = function () { + // recompute all coordinates, but *only* if this is *not* part of our scrolling animation + if (!this.scrollIntervalId) { + this.handleScrollEnd(); + } + }; + DragListener.prototype.handleScrollEnd = function () { + // Called when scrolling has stopped, whether through auto scroll, or the user scrolling + }; + return DragListener; +}()); +exports.default = DragListener; +ListenerMixin_1.default.mixInto(DragListener); + + +/***/ }), +/* 55 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var util_1 = __webpack_require__(4); +var Mixin_1 = __webpack_require__(14); +/* +A set of rendering and date-related methods for a visual component comprised of one or more rows of day columns. +Prerequisite: the object being mixed into needs to be a *Grid* +*/ +var DayTableMixin = /** @class */ (function (_super) { + tslib_1.__extends(DayTableMixin, _super); + function DayTableMixin() { + return _super !== null && _super.apply(this, arguments) || this; + } + // Populates internal variables used for date calculation and rendering + DayTableMixin.prototype.updateDayTable = function () { + var t = this; + var view = t.view; + var calendar = view.calendar; + var date = calendar.msToUtcMoment(t.dateProfile.renderUnzonedRange.startMs, true); + var end = calendar.msToUtcMoment(t.dateProfile.renderUnzonedRange.endMs, true); + var dayIndex = -1; + var dayIndices = []; + var dayDates = []; + var daysPerRow; + var firstDay; + var rowCnt; + while (date.isBefore(end)) { + if (view.isHiddenDay(date)) { + dayIndices.push(dayIndex + 0.5); // mark that it's between indices + } + else { + dayIndex++; + dayIndices.push(dayIndex); + dayDates.push(date.clone()); + } + date.add(1, 'days'); + } + if (this.breakOnWeeks) { + // count columns until the day-of-week repeats + firstDay = dayDates[0].day(); + for (daysPerRow = 1; daysPerRow < dayDates.length; daysPerRow++) { + if (dayDates[daysPerRow].day() === firstDay) { + break; + } + } + rowCnt = Math.ceil(dayDates.length / daysPerRow); + } + else { + rowCnt = 1; + daysPerRow = dayDates.length; + } + this.dayDates = dayDates; + this.dayIndices = dayIndices; + this.daysPerRow = daysPerRow; + this.rowCnt = rowCnt; + this.updateDayTableCols(); + }; + // Computes and assigned the colCnt property and updates any options that may be computed from it + DayTableMixin.prototype.updateDayTableCols = function () { + this.colCnt = this.computeColCnt(); + this.colHeadFormat = + this.opt('columnHeaderFormat') || + this.opt('columnFormat') || // deprecated + this.computeColHeadFormat(); + }; + // Determines how many columns there should be in the table + DayTableMixin.prototype.computeColCnt = function () { + return this.daysPerRow; + }; + // Computes the ambiguously-timed moment for the given cell + DayTableMixin.prototype.getCellDate = function (row, col) { + return this.dayDates[this.getCellDayIndex(row, col)].clone(); + }; + // Computes the ambiguously-timed date range for the given cell + DayTableMixin.prototype.getCellRange = function (row, col) { + var start = this.getCellDate(row, col); + var end = start.clone().add(1, 'days'); + return { start: start, end: end }; + }; + // Returns the number of day cells, chronologically, from the first of the grid (0-based) + DayTableMixin.prototype.getCellDayIndex = function (row, col) { + return row * this.daysPerRow + this.getColDayIndex(col); + }; + // Returns the numner of day cells, chronologically, from the first cell in *any given row* + DayTableMixin.prototype.getColDayIndex = function (col) { + if (this.isRTL) { + return this.colCnt - 1 - col; + } + else { + return col; + } + }; + // Given a date, returns its chronolocial cell-index from the first cell of the grid. + // If the date lies between cells (because of hiddenDays), returns a floating-point value between offsets. + // If before the first offset, returns a negative number. + // If after the last offset, returns an offset past the last cell offset. + // Only works for *start* dates of cells. Will not work for exclusive end dates for cells. + DayTableMixin.prototype.getDateDayIndex = function (date) { + var dayIndices = this.dayIndices; + var dayOffset = date.diff(this.dayDates[0], 'days'); + if (dayOffset < 0) { + return dayIndices[0] - 1; + } + else if (dayOffset >= dayIndices.length) { + return dayIndices[dayIndices.length - 1] + 1; + } + else { + return dayIndices[dayOffset]; + } + }; + /* Options + ------------------------------------------------------------------------------------------------------------------*/ + // Computes a default column header formatting string if `colFormat` is not explicitly defined + DayTableMixin.prototype.computeColHeadFormat = function () { + // if more than one week row, or if there are a lot of columns with not much space, + // put just the day numbers will be in each cell + if (this.rowCnt > 1 || this.colCnt > 10) { + return 'ddd'; // "Sat" + } + else if (this.colCnt > 1) { + return this.opt('dayOfMonthFormat'); // "Sat 12/10" + } + else { + return 'dddd'; // "Saturday" + } + }; + /* Slicing + ------------------------------------------------------------------------------------------------------------------*/ + // Slices up a date range into a segment for every week-row it intersects with + DayTableMixin.prototype.sliceRangeByRow = function (unzonedRange) { + var daysPerRow = this.daysPerRow; + var normalRange = this.view.computeDayRange(unzonedRange); // make whole-day range, considering nextDayThreshold + var rangeFirst = this.getDateDayIndex(normalRange.start); // inclusive first index + var rangeLast = this.getDateDayIndex(normalRange.end.clone().subtract(1, 'days')); // inclusive last index + var segs = []; + var row; + var rowFirst; + var rowLast; // inclusive day-index range for current row + var segFirst; + var segLast; // inclusive day-index range for segment + for (row = 0; row < this.rowCnt; row++) { + rowFirst = row * daysPerRow; + rowLast = rowFirst + daysPerRow - 1; + // intersect segment's offset range with the row's + segFirst = Math.max(rangeFirst, rowFirst); + segLast = Math.min(rangeLast, rowLast); + // deal with in-between indices + segFirst = Math.ceil(segFirst); // in-between starts round to next cell + segLast = Math.floor(segLast); // in-between ends round to prev cell + if (segFirst <= segLast) { + segs.push({ + row: row, + // normalize to start of row + firstRowDayIndex: segFirst - rowFirst, + lastRowDayIndex: segLast - rowFirst, + // must be matching integers to be the segment's start/end + isStart: segFirst === rangeFirst, + isEnd: segLast === rangeLast + }); + } + } + return segs; + }; + // Slices up a date range into a segment for every day-cell it intersects with. + // TODO: make more DRY with sliceRangeByRow somehow. + DayTableMixin.prototype.sliceRangeByDay = function (unzonedRange) { + var daysPerRow = this.daysPerRow; + var normalRange = this.view.computeDayRange(unzonedRange); // make whole-day range, considering nextDayThreshold + var rangeFirst = this.getDateDayIndex(normalRange.start); // inclusive first index + var rangeLast = this.getDateDayIndex(normalRange.end.clone().subtract(1, 'days')); // inclusive last index + var segs = []; + var row; + var rowFirst; + var rowLast; // inclusive day-index range for current row + var i; + var segFirst; + var segLast; // inclusive day-index range for segment + for (row = 0; row < this.rowCnt; row++) { + rowFirst = row * daysPerRow; + rowLast = rowFirst + daysPerRow - 1; + for (i = rowFirst; i <= rowLast; i++) { + // intersect segment's offset range with the row's + segFirst = Math.max(rangeFirst, i); + segLast = Math.min(rangeLast, i); + // deal with in-between indices + segFirst = Math.ceil(segFirst); // in-between starts round to next cell + segLast = Math.floor(segLast); // in-between ends round to prev cell + if (segFirst <= segLast) { + segs.push({ + row: row, + // normalize to start of row + firstRowDayIndex: segFirst - rowFirst, + lastRowDayIndex: segLast - rowFirst, + // must be matching integers to be the segment's start/end + isStart: segFirst === rangeFirst, + isEnd: segLast === rangeLast + }); + } + } + } + return segs; + }; + /* Header Rendering + ------------------------------------------------------------------------------------------------------------------*/ + DayTableMixin.prototype.renderHeadHtml = function () { + var theme = this.view.calendar.theme; + return '' + + '
' + + '' + + '' + + this.renderHeadTrHtml() + + '' + + '
' + + '
'; + }; + DayTableMixin.prototype.renderHeadIntroHtml = function () { + return this.renderIntroHtml(); // fall back to generic + }; + DayTableMixin.prototype.renderHeadTrHtml = function () { + return '' + + '' + + (this.isRTL ? '' : this.renderHeadIntroHtml()) + + this.renderHeadDateCellsHtml() + + (this.isRTL ? this.renderHeadIntroHtml() : '') + + ''; + }; + DayTableMixin.prototype.renderHeadDateCellsHtml = function () { + var htmls = []; + var col; + var date; + for (col = 0; col < this.colCnt; col++) { + date = this.getCellDate(0, col); + htmls.push(this.renderHeadDateCellHtml(date)); + } + return htmls.join(''); + }; + // TODO: when internalApiVersion, accept an object for HTML attributes + // (colspan should be no different) + DayTableMixin.prototype.renderHeadDateCellHtml = function (date, colspan, otherAttrs) { + var t = this; + var view = t.view; + var isDateValid = t.dateProfile.activeUnzonedRange.containsDate(date); // TODO: called too frequently. cache somehow. + var classNames = [ + 'fc-day-header', + view.calendar.theme.getClass('widgetHeader') + ]; + var innerHtml; + if (typeof t.opt('columnHeaderHtml') === 'function') { + innerHtml = t.opt('columnHeaderHtml')(date); + } + else if (typeof t.opt('columnHeaderText') === 'function') { + innerHtml = util_1.htmlEscape(t.opt('columnHeaderText')(date)); + } + else { + innerHtml = util_1.htmlEscape(date.format(t.colHeadFormat)); + } + // if only one row of days, the classNames on the header can represent the specific days beneath + if (t.rowCnt === 1) { + classNames = classNames.concat( + // includes the day-of-week class + // noThemeHighlight=true (don't highlight the header) + t.getDayClasses(date, true)); + } + else { + classNames.push('fc-' + util_1.dayIDs[date.day()]); // only add the day-of-week class + } + return '' + + ' 1 ? + ' colspan="' + colspan + '"' : + '') + + (otherAttrs ? + ' ' + otherAttrs : + '') + + '>' + + (isDateValid ? + // don't make a link if the heading could represent multiple days, or if there's only one day (forceOff) + view.buildGotoAnchorHtml({ date: date, forceOff: t.rowCnt > 1 || t.colCnt === 1 }, innerHtml) : + // if not valid, display text, but no link + innerHtml) + + ''; + }; + /* Background Rendering + ------------------------------------------------------------------------------------------------------------------*/ + DayTableMixin.prototype.renderBgTrHtml = function (row) { + return '' + + '' + + (this.isRTL ? '' : this.renderBgIntroHtml(row)) + + this.renderBgCellsHtml(row) + + (this.isRTL ? this.renderBgIntroHtml(row) : '') + + ''; + }; + DayTableMixin.prototype.renderBgIntroHtml = function (row) { + return this.renderIntroHtml(); // fall back to generic + }; + DayTableMixin.prototype.renderBgCellsHtml = function (row) { + var htmls = []; + var col; + var date; + for (col = 0; col < this.colCnt; col++) { + date = this.getCellDate(row, col); + htmls.push(this.renderBgCellHtml(date)); + } + return htmls.join(''); + }; + DayTableMixin.prototype.renderBgCellHtml = function (date, otherAttrs) { + var t = this; + var view = t.view; + var isDateValid = t.dateProfile.activeUnzonedRange.containsDate(date); // TODO: called too frequently. cache somehow. + var classes = t.getDayClasses(date); + classes.unshift('fc-day', view.calendar.theme.getClass('widgetContent')); + return ''; + }; + /* Generic + ------------------------------------------------------------------------------------------------------------------*/ + DayTableMixin.prototype.renderIntroHtml = function () { + // Generates the default HTML intro for any row. User classes should override + }; + // TODO: a generic method for dealing with , RTL, intro + // when increment internalApiVersion + // wrapTr (scheduler) + /* Utils + ------------------------------------------------------------------------------------------------------------------*/ + // Applies the generic "intro" and "outro" HTML to the given cells. + // Intro means the leftmost cell when the calendrier is LTR and the rightmost cell when RTL. Vice-versa for outro. + DayTableMixin.prototype.bookendCells = function (trEl) { + var introHtml = this.renderIntroHtml(); + if (introHtml) { + if (this.isRTL) { + trEl.append(introHtml); + } + else { + trEl.prepend(introHtml); + } + } + }; + return DayTableMixin; +}(Mixin_1.default)); +exports.default = DayTableMixin; + + +/***/ }), +/* 56 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var BusinessHourRenderer = /** @class */ (function () { + /* + component implements: + - eventRangesToEventFootprints + - eventFootprintsToSegs + */ + function BusinessHourRenderer(component, fillRenderer) { + this.component = component; + this.fillRenderer = fillRenderer; + } + BusinessHourRenderer.prototype.render = function (businessHourGenerator) { + var component = this.component; + var unzonedRange = component._getDateProfile().activeUnzonedRange; + var eventInstanceGroup = businessHourGenerator.buildEventInstanceGroup(component.hasAllDayBusinessHours, unzonedRange); + var eventFootprints = eventInstanceGroup ? + component.eventRangesToEventFootprints(eventInstanceGroup.sliceRenderRanges(unzonedRange)) : + []; + this.renderEventFootprints(eventFootprints); + }; + BusinessHourRenderer.prototype.renderEventFootprints = function (eventFootprints) { + var segs = this.component.eventFootprintsToSegs(eventFootprints); + this.renderSegs(segs); + this.segs = segs; + }; + BusinessHourRenderer.prototype.renderSegs = function (segs) { + if (this.fillRenderer) { + this.fillRenderer.renderSegs('businessHours', segs, { + getClasses: function (seg) { + return ['fc-nonbusiness', 'fc-bgevent']; + } + }); + } + }; + BusinessHourRenderer.prototype.unrender = function () { + if (this.fillRenderer) { + this.fillRenderer.unrender('businessHours'); + } + this.segs = null; + }; + BusinessHourRenderer.prototype.getSegs = function () { + return this.segs || []; + }; + return BusinessHourRenderer; +}()); +exports.default = BusinessHourRenderer; + + +/***/ }), +/* 57 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var FillRenderer = /** @class */ (function () { + function FillRenderer(component) { + this.fillSegTag = 'div'; + this.component = component; + this.elsByFill = {}; + } + FillRenderer.prototype.renderFootprint = function (type, componentFootprint, props) { + this.renderSegs(type, this.component.componentFootprintToSegs(componentFootprint), props); + }; + FillRenderer.prototype.renderSegs = function (type, segs, props) { + var els; + segs = this.buildSegEls(type, segs, props); // assignes `.el` to each seg. returns successfully rendered segs + els = this.attachSegEls(type, segs); + if (els) { + this.reportEls(type, els); + } + return segs; + }; + // Unrenders a specific type of fill that is currently rendered on the grid + FillRenderer.prototype.unrender = function (type) { + var el = this.elsByFill[type]; + if (el) { + el.remove(); + delete this.elsByFill[type]; + } + }; + // Renders and assigns an `el` property for each fill segment. Generic enough to work with different types. + // Only returns segments that successfully rendered. + FillRenderer.prototype.buildSegEls = function (type, segs, props) { + var _this = this; + var html = ''; + var renderedSegs = []; + var i; + if (segs.length) { + // build a large concatenation of segment HTML + for (i = 0; i < segs.length; i++) { + html += this.buildSegHtml(type, segs[i], props); + } + // Grab individual elements from the combined HTML string. Use each as the default rendering. + // Then, compute the 'el' for each segment. + $(html).each(function (i, node) { + var seg = segs[i]; + var el = $(node); + // allow custom filter methods per-type + if (props.filterEl) { + el = props.filterEl(seg, el); + } + if (el) { + el = $(el); // allow custom filter to return raw DOM node + // correct element type? (would be bad if a non-TD were inserted into a table for example) + if (el.is(_this.fillSegTag)) { + seg.el = el; + renderedSegs.push(seg); + } + } + }); + } + return renderedSegs; + }; + // Builds the HTML needed for one fill segment. Generic enough to work with different types. + FillRenderer.prototype.buildSegHtml = function (type, seg, props) { + // custom hooks per-type + var classes = props.getClasses ? props.getClasses(seg) : []; + var css = util_1.cssToStr(props.getCss ? props.getCss(seg) : {}); + return '<' + this.fillSegTag + + (classes.length ? ' class="' + classes.join(' ') + '"' : '') + + (css ? ' style="' + css + '"' : '') + + ' />'; + }; + // Should return wrapping DOM structure + FillRenderer.prototype.attachSegEls = function (type, segs) { + // subclasses must implement + }; + FillRenderer.prototype.reportEls = function (type, nodes) { + if (this.elsByFill[type]) { + this.elsByFill[type] = this.elsByFill[type].add(nodes); + } + else { + this.elsByFill[type] = $(nodes); + } + }; + return FillRenderer; +}()); +exports.default = FillRenderer; + + +/***/ }), +/* 58 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var SingleEventDef_1 = __webpack_require__(13); +var EventFootprint_1 = __webpack_require__(36); +var EventSource_1 = __webpack_require__(6); +var HelperRenderer = /** @class */ (function () { + function HelperRenderer(component, eventRenderer) { + this.view = component._getView(); + this.component = component; + this.eventRenderer = eventRenderer; + } + HelperRenderer.prototype.renderComponentFootprint = function (componentFootprint) { + this.renderEventFootprints([ + this.fabricateEventFootprint(componentFootprint) + ]); + }; + HelperRenderer.prototype.renderEventDraggingFootprints = function (eventFootprints, sourceSeg, isTouch) { + this.renderEventFootprints(eventFootprints, sourceSeg, 'fc-dragging', isTouch ? null : this.view.opt('dragOpacity')); + }; + HelperRenderer.prototype.renderEventResizingFootprints = function (eventFootprints, sourceSeg, isTouch) { + this.renderEventFootprints(eventFootprints, sourceSeg, 'fc-resizing'); + }; + HelperRenderer.prototype.renderEventFootprints = function (eventFootprints, sourceSeg, extraClassNames, opacity) { + var segs = this.component.eventFootprintsToSegs(eventFootprints); + var classNames = 'fc-helper ' + (extraClassNames || ''); + var i; + // assigns each seg's el and returns a subset of segs that were rendered + segs = this.eventRenderer.renderFgSegEls(segs); + for (i = 0; i < segs.length; i++) { + segs[i].el.addClass(classNames); + } + if (opacity != null) { + for (i = 0; i < segs.length; i++) { + segs[i].el.css('opacity', opacity); + } + } + this.helperEls = this.renderSegs(segs, sourceSeg); + }; + /* + Must return all mock event elements + */ + HelperRenderer.prototype.renderSegs = function (segs, sourceSeg) { + // Subclasses must implement + }; + HelperRenderer.prototype.unrender = function () { + if (this.helperEls) { + this.helperEls.remove(); + this.helperEls = null; + } + }; + HelperRenderer.prototype.fabricateEventFootprint = function (componentFootprint) { + var calendar = this.view.calendar; + var eventDateProfile = calendar.footprintToDateProfile(componentFootprint); + var dummyEvent = new SingleEventDef_1.default(new EventSource_1.default(calendar)); + var dummyInstance; + dummyEvent.dateProfile = eventDateProfile; + dummyInstance = dummyEvent.buildInstance(); + return new EventFootprint_1.default(componentFootprint, dummyEvent, dummyInstance); + }; + return HelperRenderer; +}()); +exports.default = HelperRenderer; + + +/***/ }), +/* 59 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var GlobalEmitter_1 = __webpack_require__(21); +var Interaction_1 = __webpack_require__(15); +var EventPointing = /** @class */ (function (_super) { + tslib_1.__extends(EventPointing, _super); + function EventPointing() { + return _super !== null && _super.apply(this, arguments) || this; + } + /* + component must implement: + - publiclyTrigger + */ + EventPointing.prototype.bindToEl = function (el) { + var component = this.component; + component.bindSegHandlerToEl(el, 'click', this.handleClick.bind(this)); + component.bindSegHandlerToEl(el, 'mouseenter', this.handleMouseover.bind(this)); + component.bindSegHandlerToEl(el, 'mouseleave', this.handleMouseout.bind(this)); + }; + EventPointing.prototype.handleClick = function (seg, ev) { + var res = this.component.publiclyTrigger('eventClick', { + context: seg.el[0], + args: [seg.footprint.getEventLegacy(), ev, this.view] + }); + if (res === false) { + ev.preventDefault(); + } + }; + // Updates internal state and triggers handlers for when an event element is moused over + EventPointing.prototype.handleMouseover = function (seg, ev) { + if (!GlobalEmitter_1.default.get().shouldIgnoreMouse() && + !this.mousedOverSeg) { + this.mousedOverSeg = seg; + // TODO: move to EventSelecting's responsibility + if (this.view.isEventDefResizable(seg.footprint.eventDef)) { + seg.el.addClass('fc-allow-mouse-resize'); + } + this.component.publiclyTrigger('eventMouseover', { + context: seg.el[0], + args: [seg.footprint.getEventLegacy(), ev, this.view] + }); + } + }; + // Updates internal state and triggers handlers for when an event element is moused out. + // Can be given no arguments, in which case it will mouseout the segment that was previously moused over. + EventPointing.prototype.handleMouseout = function (seg, ev) { + if (this.mousedOverSeg) { + this.mousedOverSeg = null; + // TODO: move to EventSelecting's responsibility + if (this.view.isEventDefResizable(seg.footprint.eventDef)) { + seg.el.removeClass('fc-allow-mouse-resize'); + } + this.component.publiclyTrigger('eventMouseout', { + context: seg.el[0], + args: [ + seg.footprint.getEventLegacy(), + ev || {}, + this.view + ] + }); + } + }; + EventPointing.prototype.end = function () { + if (this.mousedOverSeg) { + this.handleMouseout(this.mousedOverSeg); + } + }; + return EventPointing; +}(Interaction_1.default)); +exports.default = EventPointing; + + +/***/ }), +/* 60 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var Mixin_1 = __webpack_require__(14); +var DateClicking_1 = __webpack_require__(245); +var DateSelecting_1 = __webpack_require__(225); +var EventPointing_1 = __webpack_require__(59); +var EventDragging_1 = __webpack_require__(224); +var EventResizing_1 = __webpack_require__(223); +var ExternalDropping_1 = __webpack_require__(222); +var StandardInteractionsMixin = /** @class */ (function (_super) { + tslib_1.__extends(StandardInteractionsMixin, _super); + function StandardInteractionsMixin() { + return _super !== null && _super.apply(this, arguments) || this; + } + return StandardInteractionsMixin; +}(Mixin_1.default)); +exports.default = StandardInteractionsMixin; +StandardInteractionsMixin.prototype.dateClickingClass = DateClicking_1.default; +StandardInteractionsMixin.prototype.dateSelectingClass = DateSelecting_1.default; +StandardInteractionsMixin.prototype.eventPointingClass = EventPointing_1.default; +StandardInteractionsMixin.prototype.eventDraggingClass = EventDragging_1.default; +StandardInteractionsMixin.prototype.eventResizingClass = EventResizing_1.default; +StandardInteractionsMixin.prototype.externalDroppingClass = ExternalDropping_1.default; + + +/***/ }), +/* 61 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var CoordCache_1 = __webpack_require__(53); +var Popover_1 = __webpack_require__(249); +var UnzonedRange_1 = __webpack_require__(5); +var ComponentFootprint_1 = __webpack_require__(12); +var EventFootprint_1 = __webpack_require__(36); +var BusinessHourRenderer_1 = __webpack_require__(56); +var StandardInteractionsMixin_1 = __webpack_require__(60); +var InteractiveDateComponent_1 = __webpack_require__(40); +var DayTableMixin_1 = __webpack_require__(55); +var DayGridEventRenderer_1 = __webpack_require__(250); +var DayGridHelperRenderer_1 = __webpack_require__(251); +var DayGridFillRenderer_1 = __webpack_require__(252); +/* A component that renders a grid of whole-days that runs horizontally. There can be multiple rows, one per week. +----------------------------------------------------------------------------------------------------------------------*/ +var DayGrid = /** @class */ (function (_super) { + tslib_1.__extends(DayGrid, _super); + function DayGrid(view) { + var _this = _super.call(this, view) || this; + _this.cellWeekNumbersVisible = false; // display week numbers in day cell? + _this.bottomCoordPadding = 0; // hack for extending the hit area for the last row of the coordinate grid + // isRigid determines whether the individual rows should ignore the contents and be a constant height. + // Relies on the view's colCnt and rowCnt. In the future, this component should probably be self-sufficient. + _this.isRigid = false; + _this.hasAllDayBusinessHours = true; + return _this; + } + // Slices up the given span (unzoned start/end with other misc data) into an array of segments + DayGrid.prototype.componentFootprintToSegs = function (componentFootprint) { + var segs = this.sliceRangeByRow(componentFootprint.unzonedRange); + var i; + var seg; + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + if (this.isRTL) { + seg.leftCol = this.daysPerRow - 1 - seg.lastRowDayIndex; + seg.rightCol = this.daysPerRow - 1 - seg.firstRowDayIndex; + } + else { + seg.leftCol = seg.firstRowDayIndex; + seg.rightCol = seg.lastRowDayIndex; + } + } + return segs; + }; + /* Date Rendering + ------------------------------------------------------------------------------------------------------------------*/ + DayGrid.prototype.renderDates = function (dateProfile) { + this.dateProfile = dateProfile; + this.updateDayTable(); + this.renderGrid(); + }; + DayGrid.prototype.unrenderDates = function () { + this.removeSegPopover(); + }; + // Renders the rows and columns into the component's `this.el`, which should already be assigned. + DayGrid.prototype.renderGrid = function () { + var view = this.view; + var rowCnt = this.rowCnt; + var colCnt = this.colCnt; + var html = ''; + var row; + var col; + if (this.headContainerEl) { + this.headContainerEl.html(this.renderHeadHtml()); + } + for (row = 0; row < rowCnt; row++) { + html += this.renderDayRowHtml(row, this.isRigid); + } + this.el.html(html); + this.rowEls = this.el.find('.fc-row'); + this.cellEls = this.el.find('.fc-day, .fc-disabled-day'); + this.rowCoordCache = new CoordCache_1.default({ + els: this.rowEls, + isVertical: true + }); + this.colCoordCache = new CoordCache_1.default({ + els: this.cellEls.slice(0, this.colCnt), + isHorizontal: true + }); + // trigger dayRender with each cell's element + for (row = 0; row < rowCnt; row++) { + for (col = 0; col < colCnt; col++) { + this.publiclyTrigger('dayRender', { + context: view, + args: [ + this.getCellDate(row, col), + this.getCellEl(row, col), + view + ] + }); + } + } + }; + // Generates the HTML for a single row, which is a div that wraps a table. + // `row` is the row number. + DayGrid.prototype.renderDayRowHtml = function (row, isRigid) { + var theme = this.view.calendar.theme; + var classes = ['fc-row', 'fc-week', theme.getClass('dayRow')]; + if (isRigid) { + classes.push('fc-rigid'); + } + return '' + + '
' + + '
' + + '' + + this.renderBgTrHtml(row) + + '
' + + '
' + + '
' + + '' + + (this.getIsNumbersVisible() ? + '' + + this.renderNumberTrHtml(row) + + '' : + '') + + '
' + + '
' + + '
'; + }; + DayGrid.prototype.getIsNumbersVisible = function () { + return this.getIsDayNumbersVisible() || this.cellWeekNumbersVisible; + }; + DayGrid.prototype.getIsDayNumbersVisible = function () { + return this.rowCnt > 1; + }; + /* Grid Number Rendering + ------------------------------------------------------------------------------------------------------------------*/ + DayGrid.prototype.renderNumberTrHtml = function (row) { + return '' + + '' + + (this.isRTL ? '' : this.renderNumberIntroHtml(row)) + + this.renderNumberCellsHtml(row) + + (this.isRTL ? this.renderNumberIntroHtml(row) : '') + + ''; + }; + DayGrid.prototype.renderNumberIntroHtml = function (row) { + return this.renderIntroHtml(); + }; + DayGrid.prototype.renderNumberCellsHtml = function (row) { + var htmls = []; + var col; + var date; + for (col = 0; col < this.colCnt; col++) { + date = this.getCellDate(row, col); + htmls.push(this.renderNumberCellHtml(date)); + } + return htmls.join(''); + }; + // Generates the HTML for the s of the "number" row in the DayGrid's content skeleton. + // The number row will only exist if either day numbers or week numbers are turned on. + DayGrid.prototype.renderNumberCellHtml = function (date) { + var view = this.view; + var html = ''; + var isDateValid = this.dateProfile.activeUnzonedRange.containsDate(date); // TODO: called too frequently. cache somehow. + var isDayNumberVisible = this.getIsDayNumbersVisible() && isDateValid; + var classes; + var weekCalcFirstDoW; + if (!isDayNumberVisible && !this.cellWeekNumbersVisible) { + // no numbers in day cell (week number must be along the side) + return ''; // will create an empty space above events :( + } + classes = this.getDayClasses(date); + classes.unshift('fc-day-top'); + if (this.cellWeekNumbersVisible) { + // To determine the day of week number change under ISO, we cannot + // rely on moment.js methods such as firstDayOfWeek() or weekday(), + // because they rely on the locale's dow (possibly overridden by + // our firstDay option), which may not be Monday. We cannot change + // dow, because that would affect the calendrier start day as well. + if (date._locale._fullCalendar_weekCalc === 'ISO') { + weekCalcFirstDoW = 1; // Monday by ISO 8601 definition + } + else { + weekCalcFirstDoW = date._locale.firstDayOfWeek(); + } + } + html += ''; + if (this.cellWeekNumbersVisible && (date.day() === weekCalcFirstDoW)) { + html += view.buildGotoAnchorHtml({ date: date, type: 'week' }, { 'class': 'fc-week-number' }, date.format('w') // inner HTML + ); + } + if (isDayNumberVisible) { + html += view.buildGotoAnchorHtml(date, { 'class': 'fc-day-number' }, date.format('D') // inner HTML + ); + } + html += ''; + return html; + }; + /* Hit System + ------------------------------------------------------------------------------------------------------------------*/ + DayGrid.prototype.prepareHits = function () { + this.colCoordCache.build(); + this.rowCoordCache.build(); + this.rowCoordCache.bottoms[this.rowCnt - 1] += this.bottomCoordPadding; // hack + }; + DayGrid.prototype.releaseHits = function () { + this.colCoordCache.clear(); + this.rowCoordCache.clear(); + }; + DayGrid.prototype.queryHit = function (leftOffset, topOffset) { + if (this.colCoordCache.isLeftInBounds(leftOffset) && this.rowCoordCache.isTopInBounds(topOffset)) { + var col = this.colCoordCache.getHorizontalIndex(leftOffset); + var row = this.rowCoordCache.getVerticalIndex(topOffset); + if (row != null && col != null) { + return this.getCellHit(row, col); + } + } + }; + DayGrid.prototype.getHitFootprint = function (hit) { + var range = this.getCellRange(hit.row, hit.col); + return new ComponentFootprint_1.default(new UnzonedRange_1.default(range.start, range.end), true // all-day? + ); + }; + DayGrid.prototype.getHitEl = function (hit) { + return this.getCellEl(hit.row, hit.col); + }; + /* Cell System + ------------------------------------------------------------------------------------------------------------------*/ + // FYI: the first column is the leftmost column, regardless of date + DayGrid.prototype.getCellHit = function (row, col) { + return { + row: row, + col: col, + component: this, + left: this.colCoordCache.getLeftOffset(col), + right: this.colCoordCache.getRightOffset(col), + top: this.rowCoordCache.getTopOffset(row), + bottom: this.rowCoordCache.getBottomOffset(row) + }; + }; + DayGrid.prototype.getCellEl = function (row, col) { + return this.cellEls.eq(row * this.colCnt + col); + }; + /* Event Rendering + ------------------------------------------------------------------------------------------------------------------*/ + // Unrenders all events currently rendered on the grid + DayGrid.prototype.executeEventUnrender = function () { + this.removeSegPopover(); // removes the "more.." events popover + _super.prototype.executeEventUnrender.call(this); + }; + // Retrieves all rendered segment objects currently rendered on the grid + DayGrid.prototype.getOwnEventSegs = function () { + // append the segments from the "more..." popover + return _super.prototype.getOwnEventSegs.call(this).concat(this.popoverSegs || []); + }; + /* Event Drag Visualization + ------------------------------------------------------------------------------------------------------------------*/ + // Renders a visual indication of an event or external element being dragged. + // `eventLocation` has zoned start and end (optional) + DayGrid.prototype.renderDrag = function (eventFootprints, seg, isTouch) { + var i; + for (i = 0; i < eventFootprints.length; i++) { + this.renderHighlight(eventFootprints[i].componentFootprint); + } + // render drags from OTHER components as helpers + if (eventFootprints.length && seg && seg.component !== this) { + this.helperRenderer.renderEventDraggingFootprints(eventFootprints, seg, isTouch); + return true; // signal helpers rendered + } + }; + // Unrenders any visual indication of a hovering event + DayGrid.prototype.unrenderDrag = function () { + this.unrenderHighlight(); + this.helperRenderer.unrender(); + }; + /* Event Resize Visualization + ------------------------------------------------------------------------------------------------------------------*/ + // Renders a visual indication of an event being resized + DayGrid.prototype.renderEventResize = function (eventFootprints, seg, isTouch) { + var i; + for (i = 0; i < eventFootprints.length; i++) { + this.renderHighlight(eventFootprints[i].componentFootprint); + } + this.helperRenderer.renderEventResizingFootprints(eventFootprints, seg, isTouch); + }; + // Unrenders a visual indication of an event being resized + DayGrid.prototype.unrenderEventResize = function () { + this.unrenderHighlight(); + this.helperRenderer.unrender(); + }; + /* More+ Link Popover + ------------------------------------------------------------------------------------------------------------------*/ + DayGrid.prototype.removeSegPopover = function () { + if (this.segPopover) { + this.segPopover.hide(); // in handler, will call segPopover's removeElement + } + }; + // Limits the number of "levels" (vertically stacking layers of events) for each row of the grid. + // `levelLimit` can be false (don't limit), a number, or true (should be computed). + DayGrid.prototype.limitRows = function (levelLimit) { + var rowStructs = this.eventRenderer.rowStructs || []; + var row; // row # + var rowLevelLimit; + for (row = 0; row < rowStructs.length; row++) { + this.unlimitRow(row); + if (!levelLimit) { + rowLevelLimit = false; + } + else if (typeof levelLimit === 'number') { + rowLevelLimit = levelLimit; + } + else { + rowLevelLimit = this.computeRowLevelLimit(row); + } + if (rowLevelLimit !== false) { + this.limitRow(row, rowLevelLimit); + } + } + }; + // Computes the number of levels a row will accomodate without going outside its bounds. + // Assumes the row is "rigid" (maintains a constant height regardless of what is inside). + // `row` is the row number. + DayGrid.prototype.computeRowLevelLimit = function (row) { + var rowEl = this.rowEls.eq(row); // the containing "fake" row div + var rowHeight = rowEl.height(); // TODO: cache somehow? + var trEls = this.eventRenderer.rowStructs[row].tbodyEl.children(); + var i; + var trEl; + var trHeight; + function iterInnerHeights(i, childNode) { + trHeight = Math.max(trHeight, $(childNode).outerHeight()); + } + // Reveal one level at a time and stop when we find one out of bounds + for (i = 0; i < trEls.length; i++) { + trEl = trEls.eq(i).removeClass('fc-limited'); // reset to original state (reveal) + // with rowspans>1 and IE8, trEl.outerHeight() would return the height of the largest cell, + // so instead, find the tallest inner content element. + trHeight = 0; + trEl.find('> td > :first-child').each(iterInnerHeights); + if (trEl.position().top + trHeight > rowHeight) { + return i; + } + } + return false; // should not limit at all + }; + // Limits the given grid row to the maximum number of levels and injects "more" links if necessary. + // `row` is the row number. + // `levelLimit` is a number for the maximum (inclusive) number of levels allowed. + DayGrid.prototype.limitRow = function (row, levelLimit) { + var _this = this; + var rowStruct = this.eventRenderer.rowStructs[row]; + var moreNodes = []; // array of "more" links and DOM nodes + var col = 0; // col #, left-to-right (not chronologically) + var levelSegs; // array of segment objects in the last allowable level, ordered left-to-right + var cellMatrix; // a matrix (by level, then column) of all jQuery elements in the row + var limitedNodes; // array of temporarily hidden level and segment DOM nodes + var i; + var seg; + var segsBelow; // array of segment objects below `seg` in the current `col` + var totalSegsBelow; // total number of segments below `seg` in any of the columns `seg` occupies + var colSegsBelow; // array of segment arrays, below seg, one for each column (offset from segs's first column) + var td; + var rowspan; + var segMoreNodes; // array of "more" cells that will stand-in for the current seg's cell + var j; + var moreTd; + var moreWrap; + var moreLink; + // Iterates through empty level cells and places "more" links inside if need be + var emptyCellsUntil = function (endCol) { + while (col < endCol) { + segsBelow = _this.getCellSegs(row, col, levelLimit); + if (segsBelow.length) { + td = cellMatrix[levelLimit - 1][col]; + moreLink = _this.renderMoreLink(row, col, segsBelow); + moreWrap = $('
').append(moreLink); + td.append(moreWrap); + moreNodes.push(moreWrap[0]); + } + col++; + } + }; + if (levelLimit && levelLimit < rowStruct.segLevels.length) { + levelSegs = rowStruct.segLevels[levelLimit - 1]; + cellMatrix = rowStruct.cellMatrix; + limitedNodes = rowStruct.tbodyEl.children().slice(levelLimit) // get level elements past the limit + .addClass('fc-limited').get(); // hide elements and get a simple DOM-nodes array + // iterate though segments in the last allowable level + for (i = 0; i < levelSegs.length; i++) { + seg = levelSegs[i]; + emptyCellsUntil(seg.leftCol); // process empty cells before the segment + // determine *all* segments below `seg` that occupy the same columns + colSegsBelow = []; + totalSegsBelow = 0; + while (col <= seg.rightCol) { + segsBelow = this.getCellSegs(row, col, levelLimit); + colSegsBelow.push(segsBelow); + totalSegsBelow += segsBelow.length; + col++; + } + if (totalSegsBelow) { + td = cellMatrix[levelLimit - 1][seg.leftCol]; // the segment's parent cell + rowspan = td.attr('rowspan') || 1; + segMoreNodes = []; + // make a replacement for each column the segment occupies. will be one for each colspan + for (j = 0; j < colSegsBelow.length; j++) { + moreTd = $('').attr('rowspan', rowspan); + segsBelow = colSegsBelow[j]; + moreLink = this.renderMoreLink(row, seg.leftCol + j, [seg].concat(segsBelow) // count seg as hidden too + ); + moreWrap = $('
').append(moreLink); + moreTd.append(moreWrap); + segMoreNodes.push(moreTd[0]); + moreNodes.push(moreTd[0]); + } + td.addClass('fc-limited').after($(segMoreNodes)); // hide original and inject replacements + limitedNodes.push(td[0]); + } + } + emptyCellsUntil(this.colCnt); // finish off the level + rowStruct.moreEls = $(moreNodes); // for easy undoing later + rowStruct.limitedEls = $(limitedNodes); // for easy undoing later + } + }; + // Reveals all levels and removes all "more"-related elements for a grid's row. + // `row` is a row number. + DayGrid.prototype.unlimitRow = function (row) { + var rowStruct = this.eventRenderer.rowStructs[row]; + if (rowStruct.moreEls) { + rowStruct.moreEls.remove(); + rowStruct.moreEls = null; + } + if (rowStruct.limitedEls) { + rowStruct.limitedEls.removeClass('fc-limited'); + rowStruct.limitedEls = null; + } + }; + // Renders an element that represents hidden event element for a cell. + // Responsible for attaching click handler as well. + DayGrid.prototype.renderMoreLink = function (row, col, hiddenSegs) { + var _this = this; + var view = this.view; + return $('') + .text(this.getMoreLinkText(hiddenSegs.length)) + .on('click', function (ev) { + var clickOption = _this.opt('eventLimitClick'); + var date = _this.getCellDate(row, col); + var moreEl = $(ev.currentTarget); + var dayEl = _this.getCellEl(row, col); + var allSegs = _this.getCellSegs(row, col); + // rescope the segments to be within the cell's date + var reslicedAllSegs = _this.resliceDaySegs(allSegs, date); + var reslicedHiddenSegs = _this.resliceDaySegs(hiddenSegs, date); + if (typeof clickOption === 'function') { + // the returned value can be an atomic option + clickOption = _this.publiclyTrigger('eventLimitClick', { + context: view, + args: [ + { + date: date.clone(), + dayEl: dayEl, + moreEl: moreEl, + segs: reslicedAllSegs, + hiddenSegs: reslicedHiddenSegs + }, + ev, + view + ] + }); + } + if (clickOption === 'popover') { + _this.showSegPopover(row, col, moreEl, reslicedAllSegs); + } + else if (typeof clickOption === 'string') { + view.calendar.zoomTo(date, clickOption); + } + }); + }; + // Reveals the popover that displays all events within a cell + DayGrid.prototype.showSegPopover = function (row, col, moreLink, segs) { + var _this = this; + var view = this.view; + var moreWrap = moreLink.parent(); // the
wrapper around the + var topEl; // the element we want to match the top coordinate of + var options; + if (this.rowCnt === 1) { + topEl = view.el; // will cause the popover to cover any sort of header + } + else { + topEl = this.rowEls.eq(row); // will align with top of row + } + options = { + className: 'fc-more-popover ' + view.calendar.theme.getClass('popover'), + content: this.renderSegPopoverContent(row, col, segs), + parentEl: view.el, + top: topEl.offset().top, + autoHide: true, + viewportConstrain: this.opt('popoverViewportConstrain'), + hide: function () { + // kill everything when the popover is hidden + // notify events to be removed + if (_this.popoverSegs) { + _this.triggerBeforeEventSegsDestroyed(_this.popoverSegs); + } + _this.segPopover.removeElement(); + _this.segPopover = null; + _this.popoverSegs = null; + } + }; + // Determine horizontal coordinate. + // We use the moreWrap instead of the to avoid border confusion. + if (this.isRTL) { + options.right = moreWrap.offset().left + moreWrap.outerWidth() + 1; // +1 to be over cell border + } + else { + options.left = moreWrap.offset().left - 1; // -1 to be over cell border + } + this.segPopover = new Popover_1.default(options); + this.segPopover.show(); + // the popover doesn't live within the grid's container element, and thus won't get the event + // delegated-handlers for free. attach event-related handlers to the popover. + this.bindAllSegHandlersToEl(this.segPopover.el); + this.triggerAfterEventSegsRendered(segs); + }; + // Builds the inner DOM contents of the segment popover + DayGrid.prototype.renderSegPopoverContent = function (row, col, segs) { + var view = this.view; + var theme = view.calendar.theme; + var title = this.getCellDate(row, col).format(this.opt('dayPopoverFormat')); + var content = $('
' + + '' + + '' + + util_1.htmlEscape(title) + + '' + + '
' + + '
' + + '
' + + '
' + + '
'); + var segContainer = content.find('.fc-event-container'); + var i; + // render each seg's `el` and only return the visible segs + segs = this.eventRenderer.renderFgSegEls(segs, true); // disableResizing=true + this.popoverSegs = segs; + for (i = 0; i < segs.length; i++) { + // because segments in the popover are not part of a grid coordinate system, provide a hint to any + // grids that want to do drag-n-drop about which cell it came from + this.hitsNeeded(); + segs[i].hit = this.getCellHit(row, col); + this.hitsNotNeeded(); + segContainer.append(segs[i].el); + } + return content; + }; + // Given the events within an array of segment objects, reslice them to be in a single day + DayGrid.prototype.resliceDaySegs = function (segs, dayDate) { + var dayStart = dayDate.clone(); + var dayEnd = dayStart.clone().add(1, 'days'); + var dayRange = new UnzonedRange_1.default(dayStart, dayEnd); + var newSegs = []; + var i; + var seg; + var slicedRange; + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + slicedRange = seg.footprint.componentFootprint.unzonedRange.intersect(dayRange); + if (slicedRange) { + newSegs.push($.extend({}, seg, { + footprint: new EventFootprint_1.default(new ComponentFootprint_1.default(slicedRange, seg.footprint.componentFootprint.isAllDay), seg.footprint.eventDef, seg.footprint.eventInstance), + isStart: seg.isStart && slicedRange.isStart, + isEnd: seg.isEnd && slicedRange.isEnd + })); + } + } + // force an order because eventsToSegs doesn't guarantee one + // TODO: research if still needed + this.eventRenderer.sortEventSegs(newSegs); + return newSegs; + }; + // Generates the text that should be inside a "more" link, given the number of events it represents + DayGrid.prototype.getMoreLinkText = function (num) { + var opt = this.opt('eventLimitText'); + if (typeof opt === 'function') { + return opt(num); + } + else { + return '+' + num + ' ' + opt; + } + }; + // Returns segments within a given cell. + // If `startLevel` is specified, returns only events including and below that level. Otherwise returns all segs. + DayGrid.prototype.getCellSegs = function (row, col, startLevel) { + var segMatrix = this.eventRenderer.rowStructs[row].segMatrix; + var level = startLevel || 0; + var segs = []; + var seg; + while (level < segMatrix.length) { + seg = segMatrix[level][col]; + if (seg) { + segs.push(seg); + } + level++; + } + return segs; + }; + return DayGrid; +}(InteractiveDateComponent_1.default)); +exports.default = DayGrid; +DayGrid.prototype.eventRendererClass = DayGridEventRenderer_1.default; +DayGrid.prototype.businessHourRendererClass = BusinessHourRenderer_1.default; +DayGrid.prototype.helperRendererClass = DayGridHelperRenderer_1.default; +DayGrid.prototype.fillRendererClass = DayGridFillRenderer_1.default; +StandardInteractionsMixin_1.default.mixInto(DayGrid); +DayTableMixin_1.default.mixInto(DayGrid); + + +/***/ }), +/* 62 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var Scroller_1 = __webpack_require__(39); +var View_1 = __webpack_require__(41); +var BasicViewDateProfileGenerator_1 = __webpack_require__(228); +var DayGrid_1 = __webpack_require__(61); +/* An abstract class for the "basic" views, as well as month view. Renders one or more rows of day cells. +----------------------------------------------------------------------------------------------------------------------*/ +// It is a manager for a DayGrid subcomponent, which does most of the heavy lifting. +// It is responsible for managing width/height. +var BasicView = /** @class */ (function (_super) { + tslib_1.__extends(BasicView, _super); + function BasicView(calendar, viewSpec) { + var _this = _super.call(this, calendar, viewSpec) || this; + _this.dayGrid = _this.instantiateDayGrid(); + _this.dayGrid.isRigid = _this.hasRigidRows(); + if (_this.opt('weekNumbers')) { + if (_this.opt('weekNumbersWithinDays')) { + _this.dayGrid.cellWeekNumbersVisible = true; + _this.dayGrid.colWeekNumbersVisible = false; + } + else { + _this.dayGrid.cellWeekNumbersVisible = false; + _this.dayGrid.colWeekNumbersVisible = true; + } + } + _this.addChild(_this.dayGrid); + _this.scroller = new Scroller_1.default({ + overflowX: 'hidden', + overflowY: 'auto' + }); + return _this; + } + // Generates the DayGrid object this view needs. Draws from this.dayGridClass + BasicView.prototype.instantiateDayGrid = function () { + // generate a subclass on the fly with BasicView-specific behavior + // TODO: cache this subclass + var subclass = makeDayGridSubclass(this.dayGridClass); + return new subclass(this); + }; + BasicView.prototype.executeDateRender = function (dateProfile) { + this.dayGrid.breakOnWeeks = /year|month|week/.test(dateProfile.currentRangeUnit); + _super.prototype.executeDateRender.call(this, dateProfile); + }; + BasicView.prototype.renderSkeleton = function () { + var dayGridContainerEl; + var dayGridEl; + this.el.addClass('fc-basic-view').html(this.renderSkeletonHtml()); + this.scroller.render(); + dayGridContainerEl = this.scroller.el.addClass('fc-day-grid-container'); + dayGridEl = $('
').appendTo(dayGridContainerEl); + this.el.find('.fc-body > tr > td').append(dayGridContainerEl); + this.dayGrid.headContainerEl = this.el.find('.fc-head-container'); + this.dayGrid.setElement(dayGridEl); + }; + BasicView.prototype.unrenderSkeleton = function () { + this.dayGrid.removeElement(); + this.scroller.destroy(); + }; + // Builds the HTML skeleton for the view. + // The day-grid component will render inside of a container defined by this HTML. + BasicView.prototype.renderSkeletonHtml = function () { + var theme = this.calendar.theme; + return '' + + '' + + (this.opt('columnHeader') ? + '' + + '' + + '' + + '' + + '' : + '') + + '' + + '' + + '' + + '' + + '' + + '
 
'; + }; + // Generates an HTML attribute string for setting the width of the week number column, if it is known + BasicView.prototype.weekNumberStyleAttr = function () { + if (this.weekNumberWidth != null) { + return 'style="width:' + this.weekNumberWidth + 'px"'; + } + return ''; + }; + // Determines whether each row should have a constant height + BasicView.prototype.hasRigidRows = function () { + var eventLimit = this.opt('eventLimit'); + return eventLimit && typeof eventLimit !== 'number'; + }; + /* Dimensions + ------------------------------------------------------------------------------------------------------------------*/ + // Refreshes the horizontal dimensions of the view + BasicView.prototype.updateSize = function (totalHeight, isAuto, isResize) { + var eventLimit = this.opt('eventLimit'); + var headRowEl = this.dayGrid.headContainerEl.find('.fc-row'); + var scrollerHeight; + var scrollbarWidths; + // hack to give the view some height prior to dayGrid's columns being rendered + // TODO: separate setting height from scroller VS dayGrid. + if (!this.dayGrid.rowEls) { + if (!isAuto) { + scrollerHeight = this.computeScrollerHeight(totalHeight); + this.scroller.setHeight(scrollerHeight); + } + return; + } + _super.prototype.updateSize.call(this, totalHeight, isAuto, isResize); + if (this.dayGrid.colWeekNumbersVisible) { + // Make sure all week number cells running down the side have the same width. + // Record the width for cells created later. + this.weekNumberWidth = util_1.matchCellWidths(this.el.find('.fc-week-number')); + } + // reset all heights to be natural + this.scroller.clear(); + util_1.uncompensateScroll(headRowEl); + this.dayGrid.removeSegPopover(); // kill the "more" popover if displayed + // is the event limit a constant level number? + if (eventLimit && typeof eventLimit === 'number') { + this.dayGrid.limitRows(eventLimit); // limit the levels first so the height can redistribute after + } + // distribute the height to the rows + // (totalHeight is a "recommended" value if isAuto) + scrollerHeight = this.computeScrollerHeight(totalHeight); + this.setGridHeight(scrollerHeight, isAuto); + // is the event limit dynamically calculated? + if (eventLimit && typeof eventLimit !== 'number') { + this.dayGrid.limitRows(eventLimit); // limit the levels after the grid's row heights have been set + } + if (!isAuto) { + this.scroller.setHeight(scrollerHeight); + scrollbarWidths = this.scroller.getScrollbarWidths(); + if (scrollbarWidths.left || scrollbarWidths.right) { + util_1.compensateScroll(headRowEl, scrollbarWidths); + // doing the scrollbar compensation might have created text overflow which created more height. redo + scrollerHeight = this.computeScrollerHeight(totalHeight); + this.scroller.setHeight(scrollerHeight); + } + // guarantees the same scrollbar widths + this.scroller.lockOverflow(scrollbarWidths); + } + }; + // given a desired total height of the view, returns what the height of the scroller should be + BasicView.prototype.computeScrollerHeight = function (totalHeight) { + return totalHeight - + util_1.subtractInnerElHeight(this.el, this.scroller.el); // everything that's NOT the scroller + }; + // Sets the height of just the DayGrid component in this view + BasicView.prototype.setGridHeight = function (height, isAuto) { + if (isAuto) { + util_1.undistributeHeight(this.dayGrid.rowEls); // let the rows be their natural height with no expanding + } + else { + util_1.distributeHeight(this.dayGrid.rowEls, height, true); // true = compensate for height-hogging rows + } + }; + /* Scroll + ------------------------------------------------------------------------------------------------------------------*/ + BasicView.prototype.computeInitialDateScroll = function () { + return { top: 0 }; + }; + BasicView.prototype.queryDateScroll = function () { + return { top: this.scroller.getScrollTop() }; + }; + BasicView.prototype.applyDateScroll = function (scroll) { + if (scroll.top !== undefined) { + this.scroller.setScrollTop(scroll.top); + } + }; + return BasicView; +}(View_1.default)); +exports.default = BasicView; +BasicView.prototype.dateProfileGeneratorClass = BasicViewDateProfileGenerator_1.default; +BasicView.prototype.dayGridClass = DayGrid_1.default; +// customize the rendering behavior of BasicView's dayGrid +function makeDayGridSubclass(SuperClass) { + return /** @class */ (function (_super) { + tslib_1.__extends(SubClass, _super); + function SubClass() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.colWeekNumbersVisible = false; // display week numbers along the side? + return _this; + } + // Generates the HTML that will go before the day-of week header cells + SubClass.prototype.renderHeadIntroHtml = function () { + var view = this.view; + if (this.colWeekNumbersVisible) { + return '' + + '' + + '' + // needed for matchCellWidths + util_1.htmlEscape(this.opt('weekNumberTitle')) + + '' + + ''; + } + return ''; + }; + // Generates the HTML that will go before content-skeleton cells that display the day/week numbers + SubClass.prototype.renderNumberIntroHtml = function (row) { + var view = this.view; + var weekStart = this.getCellDate(row, 0); + if (this.colWeekNumbersVisible) { + return '' + + '' + + view.buildGotoAnchorHtml(// aside from link, important for matchCellWidths + { date: weekStart, type: 'week', forceOff: this.colCnt === 1 }, weekStart.format('w') // inner HTML + ) + + ''; + } + return ''; + }; + // Generates the HTML that goes before the day bg cells for each day-row + SubClass.prototype.renderBgIntroHtml = function () { + var view = this.view; + if (this.colWeekNumbersVisible) { + return ''; + } + return ''; + }; + // Generates the HTML that goes before every other type of row generated by DayGrid. + // Affects helper-skeleton and highlight-skeleton rows. + SubClass.prototype.renderIntroHtml = function () { + var view = this.view; + if (this.colWeekNumbersVisible) { + return ''; + } + return ''; + }; + SubClass.prototype.getIsNumbersVisible = function () { + return DayGrid_1.default.prototype.getIsNumbersVisible.apply(this, arguments) || this.colWeekNumbersVisible; + }; + return SubClass; + }(SuperClass)); +} + + +/***/ }), +/* 63 */, +/* 64 */, +/* 65 */, +/* 66 */, +/* 67 */, +/* 68 */, +/* 69 */, +/* 70 */, +/* 71 */, +/* 72 */, +/* 73 */, +/* 74 */, +/* 75 */, +/* 76 */, +/* 77 */, +/* 78 */, +/* 79 */, +/* 80 */, +/* 81 */, +/* 82 */, +/* 83 */, +/* 84 */, +/* 85 */, +/* 86 */, +/* 87 */, +/* 88 */, +/* 89 */, +/* 90 */, +/* 91 */, +/* 92 */, +/* 93 */, +/* 94 */, +/* 95 */, +/* 96 */, +/* 97 */, +/* 98 */, +/* 99 */, +/* 100 */, +/* 101 */, +/* 102 */, +/* 103 */, +/* 104 */, +/* 105 */, +/* 106 */, +/* 107 */, +/* 108 */, +/* 109 */, +/* 110 */, +/* 111 */, +/* 112 */, +/* 113 */, +/* 114 */, +/* 115 */, +/* 116 */, +/* 117 */, +/* 118 */, +/* 119 */, +/* 120 */, +/* 121 */, +/* 122 */, +/* 123 */, +/* 124 */, +/* 125 */, +/* 126 */, +/* 127 */, +/* 128 */, +/* 129 */, +/* 130 */, +/* 131 */, +/* 132 */, +/* 133 */, +/* 134 */, +/* 135 */, +/* 136 */, +/* 137 */, +/* 138 */, +/* 139 */, +/* 140 */, +/* 141 */, +/* 142 */, +/* 143 */, +/* 144 */, +/* 145 */, +/* 146 */, +/* 147 */, +/* 148 */, +/* 149 */, +/* 150 */, +/* 151 */, +/* 152 */, +/* 153 */, +/* 154 */, +/* 155 */, +/* 156 */, +/* 157 */, +/* 158 */, +/* 159 */, +/* 160 */, +/* 161 */, +/* 162 */, +/* 163 */, +/* 164 */, +/* 165 */, +/* 166 */, +/* 167 */, +/* 168 */, +/* 169 */, +/* 170 */, +/* 171 */, +/* 172 */, +/* 173 */, +/* 174 */, +/* 175 */, +/* 176 */, +/* 177 */, +/* 178 */, +/* 179 */, +/* 180 */, +/* 181 */, +/* 182 */, +/* 183 */, +/* 184 */, +/* 185 */, +/* 186 */, +/* 187 */, +/* 188 */, +/* 189 */, +/* 190 */, +/* 191 */, +/* 192 */, +/* 193 */, +/* 194 */, +/* 195 */, +/* 196 */, +/* 197 */, +/* 198 */, +/* 199 */, +/* 200 */, +/* 201 */, +/* 202 */, +/* 203 */, +/* 204 */, +/* 205 */, +/* 206 */, +/* 207 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var UnzonedRange_1 = __webpack_require__(5); +var ComponentFootprint_1 = __webpack_require__(12); +var EventDefParser_1 = __webpack_require__(49); +var EventSource_1 = __webpack_require__(6); +var util_1 = __webpack_require__(35); +var Constraints = /** @class */ (function () { + function Constraints(eventManager, _calendar) { + this.eventManager = eventManager; + this._calendar = _calendar; + } + Constraints.prototype.opt = function (name) { + return this._calendar.opt(name); + }; + /* + determines if eventInstanceGroup is allowed, + in relation to other EVENTS and business hours. + */ + Constraints.prototype.isEventInstanceGroupAllowed = function (eventInstanceGroup) { + var eventDef = eventInstanceGroup.getEventDef(); + var eventFootprints = this.eventRangesToEventFootprints(eventInstanceGroup.getAllEventRanges()); + var i; + var peerEventInstances = this.getPeerEventInstances(eventDef); + var peerEventRanges = peerEventInstances.map(util_1.eventInstanceToEventRange); + var peerEventFootprints = this.eventRangesToEventFootprints(peerEventRanges); + var constraintVal = eventDef.getConstraint(); + var overlapVal = eventDef.getOverlap(); + var eventAllowFunc = this.opt('eventAllow'); + for (i = 0; i < eventFootprints.length; i++) { + if (!this.isFootprintAllowed(eventFootprints[i].componentFootprint, peerEventFootprints, constraintVal, overlapVal, eventFootprints[i].eventInstance)) { + return false; + } + } + if (eventAllowFunc) { + for (i = 0; i < eventFootprints.length; i++) { + if (eventAllowFunc(eventFootprints[i].componentFootprint.toLegacy(this._calendar), eventFootprints[i].getEventLegacy()) === false) { + return false; + } + } + } + return true; + }; + Constraints.prototype.getPeerEventInstances = function (eventDef) { + return this.eventManager.getEventInstancesWithoutId(eventDef.id); + }; + Constraints.prototype.isSelectionFootprintAllowed = function (componentFootprint) { + var peerEventInstances = this.eventManager.getEventInstances(); + var peerEventRanges = peerEventInstances.map(util_1.eventInstanceToEventRange); + var peerEventFootprints = this.eventRangesToEventFootprints(peerEventRanges); + var selectAllowFunc; + if (this.isFootprintAllowed(componentFootprint, peerEventFootprints, this.opt('selectConstraint'), this.opt('selectOverlap'))) { + selectAllowFunc = this.opt('selectAllow'); + if (selectAllowFunc) { + return selectAllowFunc(componentFootprint.toLegacy(this._calendar)) !== false; + } + else { + return true; + } + } + return false; + }; + Constraints.prototype.isFootprintAllowed = function (componentFootprint, peerEventFootprints, constraintVal, overlapVal, subjectEventInstance // optional + ) { + var constraintFootprints; // ComponentFootprint[] + var overlapEventFootprints; // EventFootprint[] + if (constraintVal != null) { + constraintFootprints = this.constraintValToFootprints(constraintVal, componentFootprint.isAllDay); + if (!this.isFootprintWithinConstraints(componentFootprint, constraintFootprints)) { + return false; + } + } + overlapEventFootprints = this.collectOverlapEventFootprints(peerEventFootprints, componentFootprint); + if (overlapVal === false) { + if (overlapEventFootprints.length) { + return false; + } + } + else if (typeof overlapVal === 'function') { + if (!isOverlapsAllowedByFunc(overlapEventFootprints, overlapVal, subjectEventInstance)) { + return false; + } + } + if (subjectEventInstance) { + if (!isOverlapEventInstancesAllowed(overlapEventFootprints, subjectEventInstance)) { + return false; + } + } + return true; + }; + // Constraint + // ------------------------------------------------------------------------------------------------ + Constraints.prototype.isFootprintWithinConstraints = function (componentFootprint, constraintFootprints) { + var i; + for (i = 0; i < constraintFootprints.length; i++) { + if (this.footprintContainsFootprint(constraintFootprints[i], componentFootprint)) { + return true; + } + } + return false; + }; + Constraints.prototype.constraintValToFootprints = function (constraintVal, isAllDay) { + var eventInstances; + if (constraintVal === 'businessHours') { + return this.buildCurrentBusinessFootprints(isAllDay); + } + else if (typeof constraintVal === 'object') { + eventInstances = this.parseEventDefToInstances(constraintVal); // handles recurring events + if (!eventInstances) { + return this.parseFootprints(constraintVal); + } + else { + return this.eventInstancesToFootprints(eventInstances); + } + } + else if (constraintVal != null) { + eventInstances = this.eventManager.getEventInstancesWithId(constraintVal); + return this.eventInstancesToFootprints(eventInstances); + } + }; + // returns ComponentFootprint[] + // uses current view's range + Constraints.prototype.buildCurrentBusinessFootprints = function (isAllDay) { + var view = this._calendar.view; + var businessHourGenerator = view.get('businessHourGenerator'); + var unzonedRange = view.dateProfile.activeUnzonedRange; + var eventInstanceGroup = businessHourGenerator.buildEventInstanceGroup(isAllDay, unzonedRange); + if (eventInstanceGroup) { + return this.eventInstancesToFootprints(eventInstanceGroup.eventInstances); + } + else { + return []; + } + }; + // conversion util + Constraints.prototype.eventInstancesToFootprints = function (eventInstances) { + var eventRanges = eventInstances.map(util_1.eventInstanceToEventRange); + var eventFootprints = this.eventRangesToEventFootprints(eventRanges); + return eventFootprints.map(util_1.eventFootprintToComponentFootprint); + }; + // Overlap + // ------------------------------------------------------------------------------------------------ + Constraints.prototype.collectOverlapEventFootprints = function (peerEventFootprints, targetFootprint) { + var overlapEventFootprints = []; + var i; + for (i = 0; i < peerEventFootprints.length; i++) { + if (this.footprintsIntersect(targetFootprint, peerEventFootprints[i].componentFootprint)) { + overlapEventFootprints.push(peerEventFootprints[i]); + } + } + return overlapEventFootprints; + }; + // Conversion: eventDefs -> eventInstances -> eventRanges -> eventFootprints -> componentFootprints + // ------------------------------------------------------------------------------------------------ + // NOTE: this might seem like repetitive code with the Grid class, however, this code is related to + // constraints whereas the Grid code is related to rendering. Each approach might want to convert + // eventRanges -> eventFootprints in a different way. Regardless, there are opportunities to make + // this more DRY. + /* + Returns false on invalid input. + */ + Constraints.prototype.parseEventDefToInstances = function (eventInput) { + var eventManager = this.eventManager; + var eventDef = EventDefParser_1.default.parse(eventInput, new EventSource_1.default(this._calendar)); + if (!eventDef) { + return false; + } + return eventDef.buildInstances(eventManager.currentPeriod.unzonedRange); + }; + Constraints.prototype.eventRangesToEventFootprints = function (eventRanges) { + var i; + var eventFootprints = []; + for (i = 0; i < eventRanges.length; i++) { + eventFootprints.push.apply(// footprints + eventFootprints, this.eventRangeToEventFootprints(eventRanges[i])); + } + return eventFootprints; + }; + Constraints.prototype.eventRangeToEventFootprints = function (eventRange) { + return [util_1.eventRangeToEventFootprint(eventRange)]; + }; + /* + Parses footprints directly. + Very similar to EventDateProfile::parse :( + */ + Constraints.prototype.parseFootprints = function (rawInput) { + var start; + var end; + if (rawInput.start) { + start = this._calendar.moment(rawInput.start); + if (!start.isValid()) { + start = null; + } + } + if (rawInput.end) { + end = this._calendar.moment(rawInput.end); + if (!end.isValid()) { + end = null; + } + } + return [ + new ComponentFootprint_1.default(new UnzonedRange_1.default(start, end), (start && !start.hasTime()) || (end && !end.hasTime()) // isAllDay + ) + ]; + }; + // Footprint Utils + // ---------------------------------------------------------------------------------------- + Constraints.prototype.footprintContainsFootprint = function (outerFootprint, innerFootprint) { + return outerFootprint.unzonedRange.containsRange(innerFootprint.unzonedRange); + }; + Constraints.prototype.footprintsIntersect = function (footprint0, footprint1) { + return footprint0.unzonedRange.intersectsWith(footprint1.unzonedRange); + }; + return Constraints; +}()); +exports.default = Constraints; +// optional subjectEventInstance +function isOverlapsAllowedByFunc(overlapEventFootprints, overlapFunc, subjectEventInstance) { + var i; + for (i = 0; i < overlapEventFootprints.length; i++) { + if (!overlapFunc(overlapEventFootprints[i].eventInstance.toLegacy(), subjectEventInstance ? subjectEventInstance.toLegacy() : null)) { + return false; + } + } + return true; +} +function isOverlapEventInstancesAllowed(overlapEventFootprints, subjectEventInstance) { + var subjectLegacyInstance = subjectEventInstance.toLegacy(); + var i; + var overlapEventInstance; + var overlapEventDef; + var overlapVal; + for (i = 0; i < overlapEventFootprints.length; i++) { + overlapEventInstance = overlapEventFootprints[i].eventInstance; + overlapEventDef = overlapEventInstance.def; + // don't need to pass in calendrier, because don't want to consider global eventOverlap property, + // because we already considered that earlier in the process. + overlapVal = overlapEventDef.getOverlap(); + if (overlapVal === false) { + return false; + } + else if (typeof overlapVal === 'function') { + if (!overlapVal(overlapEventInstance.toLegacy(), subjectLegacyInstance)) { + return false; + } + } + } + return true; +} + + +/***/ }), +/* 208 */ +/***/ (function(module, exports, __webpack_require__) { + +/* +USAGE: + import { default as ParsableModelMixin, ParsableModelInterface } from './ParsableModelMixin' +in class: + applyProps: ParsableModelInterface['applyProps'] + applyManualStandardProps: ParsableModelInterface['applyManualStandardProps'] + applyMiscProps: ParsableModelInterface['applyMiscProps'] + isStandardProp: ParsableModelInterface['isStandardProp'] + static defineStandardProps = ParsableModelMixin.defineStandardProps + static copyVerbatimStandardProps = ParsableModelMixin.copyVerbatimStandardProps +after class: + ParsableModelMixin.mixInto(TheClass) +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var util_1 = __webpack_require__(4); +var Mixin_1 = __webpack_require__(14); +var ParsableModelMixin = /** @class */ (function (_super) { + tslib_1.__extends(ParsableModelMixin, _super); + function ParsableModelMixin() { + return _super !== null && _super.apply(this, arguments) || this; + } + ParsableModelMixin.defineStandardProps = function (propDefs) { + var proto = this.prototype; + if (!proto.hasOwnProperty('standardPropMap')) { + proto.standardPropMap = Object.create(proto.standardPropMap); + } + util_1.copyOwnProps(propDefs, proto.standardPropMap); + }; + ParsableModelMixin.copyVerbatimStandardProps = function (src, dest) { + var map = this.prototype.standardPropMap; + var propName; + for (propName in map) { + if (src[propName] != null && // in the src object? + map[propName] === true // false means "copy verbatim" + ) { + dest[propName] = src[propName]; + } + } + }; + /* + Returns true/false for success. + Meant to be only called ONCE, at object creation. + */ + ParsableModelMixin.prototype.applyProps = function (rawProps) { + var standardPropMap = this.standardPropMap; + var manualProps = {}; + var miscProps = {}; + var propName; + for (propName in rawProps) { + if (standardPropMap[propName] === true) { + this[propName] = rawProps[propName]; + } + else if (standardPropMap[propName] === false) { + manualProps[propName] = rawProps[propName]; + } + else { + miscProps[propName] = rawProps[propName]; + } + } + this.applyMiscProps(miscProps); + return this.applyManualStandardProps(manualProps); + }; + /* + If subclasses override, they must call this supermethod and return the boolean response. + Meant to be only called ONCE, at object creation. + */ + ParsableModelMixin.prototype.applyManualStandardProps = function (rawProps) { + return true; + }; + /* + Can be called even after initial object creation. + */ + ParsableModelMixin.prototype.applyMiscProps = function (rawProps) { + // subclasses can implement + }; + /* + TODO: why is this a method when defineStandardProps is static + */ + ParsableModelMixin.prototype.isStandardProp = function (propName) { + return propName in this.standardPropMap; + }; + return ParsableModelMixin; +}(Mixin_1.default)); +exports.default = ParsableModelMixin; +ParsableModelMixin.prototype.standardPropMap = {}; // will be cloned by defineStandardProps + + +/***/ }), +/* 209 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var EventInstance = /** @class */ (function () { + function EventInstance(def, dateProfile) { + this.def = def; + this.dateProfile = dateProfile; + } + EventInstance.prototype.toLegacy = function () { + var dateProfile = this.dateProfile; + var obj = this.def.toLegacy(); + obj.start = dateProfile.start.clone(); + obj.end = dateProfile.end ? dateProfile.end.clone() : null; + return obj; + }; + return EventInstance; +}()); +exports.default = EventInstance; + + +/***/ }), +/* 210 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var moment = __webpack_require__(0); +var EventDef_1 = __webpack_require__(34); +var EventInstance_1 = __webpack_require__(209); +var EventDateProfile_1 = __webpack_require__(17); +var RecurringEventDef = /** @class */ (function (_super) { + tslib_1.__extends(RecurringEventDef, _super); + function RecurringEventDef() { + return _super !== null && _super.apply(this, arguments) || this; + } + RecurringEventDef.prototype.isAllDay = function () { + return !this.startTime && !this.endTime; + }; + RecurringEventDef.prototype.buildInstances = function (unzonedRange) { + var calendar = this.source.calendar; + var unzonedDate = unzonedRange.getStart(); + var unzonedEnd = unzonedRange.getEnd(); + var zonedDayStart; + var instanceStart; + var instanceEnd; + var instances = []; + while (unzonedDate.isBefore(unzonedEnd)) { + // if everyday, or this particular day-of-week + if (!this.dowHash || this.dowHash[unzonedDate.day()]) { + zonedDayStart = calendar.applyTimezone(unzonedDate); + instanceStart = zonedDayStart.clone(); + instanceEnd = null; + if (this.startTime) { + instanceStart.time(this.startTime); + } + else { + instanceStart.stripTime(); + } + if (this.endTime) { + instanceEnd = zonedDayStart.clone().time(this.endTime); + } + instances.push(new EventInstance_1.default(this, // definition + new EventDateProfile_1.default(instanceStart, instanceEnd, calendar))); + } + unzonedDate.add(1, 'days'); + } + return instances; + }; + RecurringEventDef.prototype.setDow = function (dowNumbers) { + if (!this.dowHash) { + this.dowHash = {}; + } + for (var i = 0; i < dowNumbers.length; i++) { + this.dowHash[dowNumbers[i]] = true; + } + }; + RecurringEventDef.prototype.clone = function () { + var def = _super.prototype.clone.call(this); + if (def.startTime) { + def.startTime = moment.duration(this.startTime); + } + if (def.endTime) { + def.endTime = moment.duration(this.endTime); + } + if (this.dowHash) { + def.dowHash = $.extend({}, this.dowHash); + } + return def; + }; + return RecurringEventDef; +}(EventDef_1.default)); +exports.default = RecurringEventDef; +/* +HACK to work with TypeScript mixins +NOTE: if super-method fails, should still attempt to apply +*/ +RecurringEventDef.prototype.applyProps = function (rawProps) { + var superSuccess = EventDef_1.default.prototype.applyProps.call(this, rawProps); + if (rawProps.start) { + this.startTime = moment.duration(rawProps.start); + } + if (rawProps.end) { + this.endTime = moment.duration(rawProps.end); + } + if (rawProps.dow) { + this.setDow(rawProps.dow); + } + return superSuccess; +}; +// Parsing +// --------------------------------------------------------------------------------------------------------------------- +RecurringEventDef.defineStandardProps({ + start: false, + end: false, + dow: false +}); + + +/***/ }), +/* 211 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var EventRange = /** @class */ (function () { + function EventRange(unzonedRange, eventDef, eventInstance) { + this.unzonedRange = unzonedRange; + this.eventDef = eventDef; + if (eventInstance) { + this.eventInstance = eventInstance; + } + } + return EventRange; +}()); +exports.default = EventRange; + + +/***/ }), +/* 212 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(35); +var EventInstanceGroup_1 = __webpack_require__(18); +var RecurringEventDef_1 = __webpack_require__(210); +var EventSource_1 = __webpack_require__(6); +var BUSINESS_HOUR_EVENT_DEFAULTS = { + start: '09:00', + end: '17:00', + dow: [1, 2, 3, 4, 5], + rendering: 'inverse-background' + // classNames are defined in businessHoursSegClasses +}; +var BusinessHourGenerator = /** @class */ (function () { + function BusinessHourGenerator(rawComplexDef, calendar) { + this.rawComplexDef = rawComplexDef; + this.calendar = calendar; + } + BusinessHourGenerator.prototype.buildEventInstanceGroup = function (isAllDay, unzonedRange) { + var eventDefs = this.buildEventDefs(isAllDay); + var eventInstanceGroup; + if (eventDefs.length) { + eventInstanceGroup = new EventInstanceGroup_1.default(util_1.eventDefsToEventInstances(eventDefs, unzonedRange)); + // so that inverse-background rendering can happen even when no eventRanges in view + eventInstanceGroup.explicitEventDef = eventDefs[0]; + return eventInstanceGroup; + } + }; + BusinessHourGenerator.prototype.buildEventDefs = function (isAllDay) { + var rawComplexDef = this.rawComplexDef; + var rawDefs = []; + var requireDow = false; + var i; + var defs = []; + if (rawComplexDef === true) { + rawDefs = [{}]; // will get BUSINESS_HOUR_EVENT_DEFAULTS verbatim + } + else if ($.isPlainObject(rawComplexDef)) { + rawDefs = [rawComplexDef]; + } + else if ($.isArray(rawComplexDef)) { + rawDefs = rawComplexDef; + requireDow = true; // every sub-definition NEEDS a day-of-week + } + for (i = 0; i < rawDefs.length; i++) { + if (!requireDow || rawDefs[i].dow) { + defs.push(this.buildEventDef(isAllDay, rawDefs[i])); + } + } + return defs; + }; + BusinessHourGenerator.prototype.buildEventDef = function (isAllDay, rawDef) { + var fullRawDef = $.extend({}, BUSINESS_HOUR_EVENT_DEFAULTS, rawDef); + if (isAllDay) { + fullRawDef.start = null; + fullRawDef.end = null; + } + return RecurringEventDef_1.default.parse(fullRawDef, new EventSource_1.default(this.calendar) // dummy source + ); + }; + return BusinessHourGenerator; +}()); +exports.default = BusinessHourGenerator; + + +/***/ }), +/* 213 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var Theme_1 = __webpack_require__(19); +var StandardTheme = /** @class */ (function (_super) { + tslib_1.__extends(StandardTheme, _super); + function StandardTheme() { + return _super !== null && _super.apply(this, arguments) || this; + } + return StandardTheme; +}(Theme_1.default)); +exports.default = StandardTheme; +StandardTheme.prototype.classes = { + widget: 'fc-unthemed', + widgetHeader: 'fc-widget-header', + widgetContent: 'fc-widget-content', + buttonGroup: 'fc-button-group', + button: 'fc-button', + cornerLeft: 'fc-corner-left', + cornerRight: 'fc-corner-right', + stateDefault: 'fc-state-default', + stateActive: 'fc-state-active', + stateDisabled: 'fc-state-disabled', + stateHover: 'fc-state-hover', + stateDown: 'fc-state-down', + popoverHeader: 'fc-widget-header', + popoverContent: 'fc-widget-content', + // day grid + headerRow: 'fc-widget-header', + dayRow: 'fc-widget-content', + // list view + listView: 'fc-widget-content' +}; +StandardTheme.prototype.baseIconClass = 'fc-icon'; +StandardTheme.prototype.iconClasses = { + close: 'fc-icon-x', + prev: 'fc-icon-left-single-arrow', + next: 'fc-icon-right-single-arrow', + prevYear: 'fc-icon-left-double-arrow', + nextYear: 'fc-icon-right-double-arrow' +}; +StandardTheme.prototype.iconOverrideOption = 'buttonIcons'; +StandardTheme.prototype.iconOverrideCustomButtonOption = 'icon'; +StandardTheme.prototype.iconOverridePrefix = 'fc-icon-'; + + +/***/ }), +/* 214 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var Theme_1 = __webpack_require__(19); +var JqueryUiTheme = /** @class */ (function (_super) { + tslib_1.__extends(JqueryUiTheme, _super); + function JqueryUiTheme() { + return _super !== null && _super.apply(this, arguments) || this; + } + return JqueryUiTheme; +}(Theme_1.default)); +exports.default = JqueryUiTheme; +JqueryUiTheme.prototype.classes = { + widget: 'ui-widget', + widgetHeader: 'ui-widget-header', + widgetContent: 'ui-widget-content', + buttonGroup: 'fc-button-group', + button: 'ui-button', + cornerLeft: 'ui-corner-left', + cornerRight: 'ui-corner-right', + stateDefault: 'ui-state-default', + stateActive: 'ui-state-active', + stateDisabled: 'ui-state-disabled', + stateHover: 'ui-state-hover', + stateDown: 'ui-state-down', + today: 'ui-state-highlight', + popoverHeader: 'ui-widget-header', + popoverContent: 'ui-widget-content', + // day grid + headerRow: 'ui-widget-header', + dayRow: 'ui-widget-content', + // list view + listView: 'ui-widget-content' +}; +JqueryUiTheme.prototype.baseIconClass = 'ui-icon'; +JqueryUiTheme.prototype.iconClasses = { + close: 'ui-icon-closethick', + prev: 'ui-icon-circle-triangle-w', + next: 'ui-icon-circle-triangle-e', + prevYear: 'ui-icon-seek-prev', + nextYear: 'ui-icon-seek-next' +}; +JqueryUiTheme.prototype.iconOverrideOption = 'themeButtonIcons'; +JqueryUiTheme.prototype.iconOverrideCustomButtonOption = 'themeIcon'; +JqueryUiTheme.prototype.iconOverridePrefix = 'ui-icon-'; + + +/***/ }), +/* 215 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var Promise_1 = __webpack_require__(20); +var EventSource_1 = __webpack_require__(6); +var FuncEventSource = /** @class */ (function (_super) { + tslib_1.__extends(FuncEventSource, _super); + function FuncEventSource() { + return _super !== null && _super.apply(this, arguments) || this; + } + FuncEventSource.parse = function (rawInput, calendar) { + var rawProps; + // normalize raw input + if ($.isFunction(rawInput.events)) { + rawProps = rawInput; + } + else if ($.isFunction(rawInput)) { + rawProps = { events: rawInput }; + } + if (rawProps) { + return EventSource_1.default.parse.call(this, rawProps, calendar); + } + return false; + }; + FuncEventSource.prototype.fetch = function (start, end, timezone) { + var _this = this; + this.calendar.pushLoading(); + return Promise_1.default.construct(function (onResolve) { + _this.func.call(_this.calendar, start.clone(), end.clone(), timezone, function (rawEventDefs) { + _this.calendar.popLoading(); + onResolve(_this.parseEventDefs(rawEventDefs)); + }); + }); + }; + FuncEventSource.prototype.getPrimitive = function () { + return this.func; + }; + FuncEventSource.prototype.applyManualStandardProps = function (rawProps) { + var superSuccess = _super.prototype.applyManualStandardProps.call(this, rawProps); + this.func = rawProps.events; + return superSuccess; + }; + return FuncEventSource; +}(EventSource_1.default)); +exports.default = FuncEventSource; +FuncEventSource.defineStandardProps({ + events: false // don't automatically transfer +}); + + +/***/ }), +/* 216 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var Promise_1 = __webpack_require__(20); +var EventSource_1 = __webpack_require__(6); +var JsonFeedEventSource = /** @class */ (function (_super) { + tslib_1.__extends(JsonFeedEventSource, _super); + function JsonFeedEventSource() { + return _super !== null && _super.apply(this, arguments) || this; + } + JsonFeedEventSource.parse = function (rawInput, calendar) { + var rawProps; + // normalize raw input + if (typeof rawInput.url === 'string') { + rawProps = rawInput; + } + else if (typeof rawInput === 'string') { + rawProps = { url: rawInput }; + } + if (rawProps) { + return EventSource_1.default.parse.call(this, rawProps, calendar); + } + return false; + }; + JsonFeedEventSource.prototype.fetch = function (start, end, timezone) { + var _this = this; + var ajaxSettings = this.ajaxSettings; + var onSuccess = ajaxSettings.success; + var onError = ajaxSettings.error; + var requestParams = this.buildRequestParams(start, end, timezone); + // todo: eventually handle the promise's then, + // don't intercept success/error + // tho will be a breaking API change + this.calendar.pushLoading(); + return Promise_1.default.construct(function (onResolve, onReject) { + $.ajax($.extend({}, // destination + JsonFeedEventSource.AJAX_DEFAULTS, ajaxSettings, { + url: _this.url, + data: requestParams, + success: function (rawEventDefs, status, xhr) { + var callbackRes; + _this.calendar.popLoading(); + if (rawEventDefs) { + callbackRes = util_1.applyAll(onSuccess, _this, [rawEventDefs, status, xhr]); // redirect `this` + if ($.isArray(callbackRes)) { + rawEventDefs = callbackRes; + } + onResolve(_this.parseEventDefs(rawEventDefs)); + } + else { + onReject(); + } + }, + error: function (xhr, statusText, errorThrown) { + _this.calendar.popLoading(); + util_1.applyAll(onError, _this, [xhr, statusText, errorThrown]); // redirect `this` + onReject(); + } + })); + }); + }; + JsonFeedEventSource.prototype.buildRequestParams = function (start, end, timezone) { + var calendar = this.calendar; + var ajaxSettings = this.ajaxSettings; + var startParam; + var endParam; + var timezoneParam; + var customRequestParams; + var params = {}; + startParam = this.startParam; + if (startParam == null) { + startParam = calendar.opt('startParam'); + } + endParam = this.endParam; + if (endParam == null) { + endParam = calendar.opt('endParam'); + } + timezoneParam = this.timezoneParam; + if (timezoneParam == null) { + timezoneParam = calendar.opt('timezoneParam'); + } + // retrieve any outbound GET/POST $.ajax data from the options + if ($.isFunction(ajaxSettings.data)) { + // supplied as a function that returns a key/value object + customRequestParams = ajaxSettings.data(); + } + else { + // probably supplied as a straight key/value object + customRequestParams = ajaxSettings.data || {}; + } + $.extend(params, customRequestParams); + params[startParam] = start.format(); + params[endParam] = end.format(); + if (timezone && timezone !== 'local') { + params[timezoneParam] = timezone; + } + return params; + }; + JsonFeedEventSource.prototype.getPrimitive = function () { + return this.url; + }; + JsonFeedEventSource.prototype.applyMiscProps = function (rawProps) { + this.ajaxSettings = rawProps; + }; + JsonFeedEventSource.AJAX_DEFAULTS = { + dataType: 'json', + cache: false + }; + return JsonFeedEventSource; +}(EventSource_1.default)); +exports.default = JsonFeedEventSource; +JsonFeedEventSource.defineStandardProps({ + // automatically transfer (true)... + url: true, + startParam: true, + endParam: true, + timezoneParam: true +}); + + +/***/ }), +/* 217 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var EmitterMixin_1 = __webpack_require__(11); +var TaskQueue = /** @class */ (function () { + function TaskQueue() { + this.q = []; + this.isPaused = false; + this.isRunning = false; + } + TaskQueue.prototype.queue = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + this.q.push.apply(this.q, args); // append + this.tryStart(); + }; + TaskQueue.prototype.pause = function () { + this.isPaused = true; + }; + TaskQueue.prototype.resume = function () { + this.isPaused = false; + this.tryStart(); + }; + TaskQueue.prototype.getIsIdle = function () { + return !this.isRunning && !this.isPaused; + }; + TaskQueue.prototype.tryStart = function () { + if (!this.isRunning && this.canRunNext()) { + this.isRunning = true; + this.trigger('start'); + this.runRemaining(); + } + }; + TaskQueue.prototype.canRunNext = function () { + return !this.isPaused && this.q.length; + }; + TaskQueue.prototype.runRemaining = function () { + var _this = this; + var task; + var res; + do { + task = this.q.shift(); // always freshly reference q. might have been reassigned. + res = this.runTask(task); + if (res && res.then) { + res.then(function () { + if (_this.canRunNext()) { + _this.runRemaining(); + } + }); + return; // prevent marking as stopped + } + } while (this.canRunNext()); + this.trigger('stop'); // not really a 'stop' ... more of a 'drained' + this.isRunning = false; + // if 'stop' handler added more tasks.... TODO: write test for this + this.tryStart(); + }; + TaskQueue.prototype.runTask = function (task) { + return task(); // task *is* the function, but subclasses can change the format of a task + }; + return TaskQueue; +}()); +exports.default = TaskQueue; +EmitterMixin_1.default.mixInto(TaskQueue); + + +/***/ }), +/* 218 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var TaskQueue_1 = __webpack_require__(217); +var RenderQueue = /** @class */ (function (_super) { + tslib_1.__extends(RenderQueue, _super); + function RenderQueue(waitsByNamespace) { + var _this = _super.call(this) || this; + _this.waitsByNamespace = waitsByNamespace || {}; + return _this; + } + RenderQueue.prototype.queue = function (taskFunc, namespace, type) { + var task = { + func: taskFunc, + namespace: namespace, + type: type + }; + var waitMs; + if (namespace) { + waitMs = this.waitsByNamespace[namespace]; + } + if (this.waitNamespace) { + if (namespace === this.waitNamespace && waitMs != null) { + this.delayWait(waitMs); + } + else { + this.clearWait(); + this.tryStart(); + } + } + if (this.compoundTask(task)) { + if (!this.waitNamespace && waitMs != null) { + this.startWait(namespace, waitMs); + } + else { + this.tryStart(); + } + } + }; + RenderQueue.prototype.startWait = function (namespace, waitMs) { + this.waitNamespace = namespace; + this.spawnWait(waitMs); + }; + RenderQueue.prototype.delayWait = function (waitMs) { + clearTimeout(this.waitId); + this.spawnWait(waitMs); + }; + RenderQueue.prototype.spawnWait = function (waitMs) { + var _this = this; + this.waitId = setTimeout(function () { + _this.waitNamespace = null; + _this.tryStart(); + }, waitMs); + }; + RenderQueue.prototype.clearWait = function () { + if (this.waitNamespace) { + clearTimeout(this.waitId); + this.waitId = null; + this.waitNamespace = null; + } + }; + RenderQueue.prototype.canRunNext = function () { + if (!_super.prototype.canRunNext.call(this)) { + return false; + } + // waiting for a certain namespace to stop receiving tasks? + if (this.waitNamespace) { + var q = this.q; + // if there was a different namespace task in the meantime, + // that forces all previously-waiting tasks to suddenly execute. + // TODO: find a way to do this in constant time. + for (var i = 0; i < q.length; i++) { + if (q[i].namespace !== this.waitNamespace) { + return true; // allow execution + } + } + return false; + } + return true; + }; + RenderQueue.prototype.runTask = function (task) { + task.func(); + }; + RenderQueue.prototype.compoundTask = function (newTask) { + var q = this.q; + var shouldAppend = true; + var i; + var task; + if (newTask.namespace && newTask.type === 'destroy') { + // remove all init/add/remove ops with same namespace, regardless of order + for (i = q.length - 1; i >= 0; i--) { + task = q[i]; + switch (task.type) { + case 'init': + shouldAppend = false; + // the latest destroy is cancelled out by not doing the init + /* falls through */ + case 'add': + /* falls through */ + case 'remove': + q.splice(i, 1); // remove task + } + } + } + if (shouldAppend) { + q.push(newTask); + } + return shouldAppend; + }; + return RenderQueue; +}(TaskQueue_1.default)); +exports.default = RenderQueue; + + +/***/ }), +/* 219 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var moment = __webpack_require__(0); +var util_1 = __webpack_require__(4); +var moment_ext_1 = __webpack_require__(10); +var date_formatting_1 = __webpack_require__(47); +var Component_1 = __webpack_require__(237); +var util_2 = __webpack_require__(35); +var DateComponent = /** @class */ (function (_super) { + tslib_1.__extends(DateComponent, _super); + function DateComponent(_view, _options) { + var _this = _super.call(this) || this; + _this.isRTL = false; // frequently accessed options + _this.hitsNeededDepth = 0; // necessary because multiple callers might need the same hits + _this.hasAllDayBusinessHours = false; // TODO: unify with largeUnit and isTimeScale? + _this.isDatesRendered = false; + // hack to set options prior to the this.opt calls + if (_view) { + _this['view'] = _view; + } + if (_options) { + _this['options'] = _options; + } + _this.uid = String(DateComponent.guid++); + _this.childrenByUid = {}; + _this.nextDayThreshold = moment.duration(_this.opt('nextDayThreshold')); + _this.isRTL = _this.opt('isRTL'); + if (_this.fillRendererClass) { + _this.fillRenderer = new _this.fillRendererClass(_this); + } + if (_this.eventRendererClass) { + _this.eventRenderer = new _this.eventRendererClass(_this, _this.fillRenderer); + } + if (_this.helperRendererClass && _this.eventRenderer) { + _this.helperRenderer = new _this.helperRendererClass(_this, _this.eventRenderer); + } + if (_this.businessHourRendererClass && _this.fillRenderer) { + _this.businessHourRenderer = new _this.businessHourRendererClass(_this, _this.fillRenderer); + } + return _this; + } + DateComponent.prototype.addChild = function (child) { + if (!this.childrenByUid[child.uid]) { + this.childrenByUid[child.uid] = child; + return true; + } + return false; + }; + DateComponent.prototype.removeChild = function (child) { + if (this.childrenByUid[child.uid]) { + delete this.childrenByUid[child.uid]; + return true; + } + return false; + }; + // TODO: only do if isInDom? + // TODO: make part of Component, along with children/batch-render system? + DateComponent.prototype.updateSize = function (totalHeight, isAuto, isResize) { + this.callChildren('updateSize', arguments); + }; + // Options + // ----------------------------------------------------------------------------------------------------------------- + DateComponent.prototype.opt = function (name) { + return this._getView().opt(name); // default implementation + }; + DateComponent.prototype.publiclyTrigger = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var calendar = this._getCalendar(); + return calendar.publiclyTrigger.apply(calendar, args); + }; + DateComponent.prototype.hasPublicHandlers = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var calendar = this._getCalendar(); + return calendar.hasPublicHandlers.apply(calendar, args); + }; + // Date + // ----------------------------------------------------------------------------------------------------------------- + DateComponent.prototype.executeDateRender = function (dateProfile) { + this.dateProfile = dateProfile; // for rendering + this.renderDates(dateProfile); + this.isDatesRendered = true; + this.callChildren('executeDateRender', arguments); + }; + DateComponent.prototype.executeDateUnrender = function () { + this.callChildren('executeDateUnrender', arguments); + this.dateProfile = null; + this.unrenderDates(); + this.isDatesRendered = false; + }; + // date-cell content only + DateComponent.prototype.renderDates = function (dateProfile) { + // subclasses should implement + }; + // date-cell content only + DateComponent.prototype.unrenderDates = function () { + // subclasses should override + }; + // Now-Indicator + // ----------------------------------------------------------------------------------------------------------------- + // Returns a string unit, like 'second' or 'minute' that defined how often the current time indicator + // should be refreshed. If something falsy is returned, no time indicator is rendered at all. + DateComponent.prototype.getNowIndicatorUnit = function () { + // subclasses should implement + }; + // Renders a current time indicator at the given datetime + DateComponent.prototype.renderNowIndicator = function (date) { + this.callChildren('renderNowIndicator', arguments); + }; + // Undoes the rendering actions from renderNowIndicator + DateComponent.prototype.unrenderNowIndicator = function () { + this.callChildren('unrenderNowIndicator', arguments); + }; + // Business Hours + // --------------------------------------------------------------------------------------------------------------- + DateComponent.prototype.renderBusinessHours = function (businessHourGenerator) { + if (this.businessHourRenderer) { + this.businessHourRenderer.render(businessHourGenerator); + } + this.callChildren('renderBusinessHours', arguments); + }; + // Unrenders previously-rendered business-hours + DateComponent.prototype.unrenderBusinessHours = function () { + this.callChildren('unrenderBusinessHours', arguments); + if (this.businessHourRenderer) { + this.businessHourRenderer.unrender(); + } + }; + // Event Displaying + // ----------------------------------------------------------------------------------------------------------------- + DateComponent.prototype.executeEventRender = function (eventsPayload) { + if (this.eventRenderer) { + this.eventRenderer.rangeUpdated(); // poorly named now + this.eventRenderer.render(eventsPayload); + } + else if (this['renderEvents']) { + this['renderEvents'](convertEventsPayloadToLegacyArray(eventsPayload)); + } + this.callChildren('executeEventRender', arguments); + }; + DateComponent.prototype.executeEventUnrender = function () { + this.callChildren('executeEventUnrender', arguments); + if (this.eventRenderer) { + this.eventRenderer.unrender(); + } + else if (this['destroyEvents']) { + this['destroyEvents'](); + } + }; + DateComponent.prototype.getBusinessHourSegs = function () { + var segs = this.getOwnBusinessHourSegs(); + this.iterChildren(function (child) { + segs.push.apply(segs, child.getBusinessHourSegs()); + }); + return segs; + }; + DateComponent.prototype.getOwnBusinessHourSegs = function () { + if (this.businessHourRenderer) { + return this.businessHourRenderer.getSegs(); + } + return []; + }; + DateComponent.prototype.getEventSegs = function () { + var segs = this.getOwnEventSegs(); + this.iterChildren(function (child) { + segs.push.apply(segs, child.getEventSegs()); + }); + return segs; + }; + DateComponent.prototype.getOwnEventSegs = function () { + if (this.eventRenderer) { + return this.eventRenderer.getSegs(); + } + return []; + }; + // Event Rendering Triggering + // ----------------------------------------------------------------------------------------------------------------- + DateComponent.prototype.triggerAfterEventsRendered = function () { + this.triggerAfterEventSegsRendered(this.getEventSegs()); + this.publiclyTrigger('eventAfterAllRender', { + context: this, + args: [this] + }); + }; + DateComponent.prototype.triggerAfterEventSegsRendered = function (segs) { + var _this = this; + // an optimization, because getEventLegacy is expensive + if (this.hasPublicHandlers('eventAfterRender')) { + segs.forEach(function (seg) { + var legacy; + if (seg.el) { + legacy = seg.footprint.getEventLegacy(); + _this.publiclyTrigger('eventAfterRender', { + context: legacy, + args: [legacy, seg.el, _this] + }); + } + }); + } + }; + DateComponent.prototype.triggerBeforeEventsDestroyed = function () { + this.triggerBeforeEventSegsDestroyed(this.getEventSegs()); + }; + DateComponent.prototype.triggerBeforeEventSegsDestroyed = function (segs) { + var _this = this; + if (this.hasPublicHandlers('eventDestroy')) { + segs.forEach(function (seg) { + var legacy; + if (seg.el) { + legacy = seg.footprint.getEventLegacy(); + _this.publiclyTrigger('eventDestroy', { + context: legacy, + args: [legacy, seg.el, _this] + }); + } + }); + } + }; + // Event Rendering Utils + // ----------------------------------------------------------------------------------------------------------------- + // Hides all rendered event segments linked to the given event + // RECURSIVE with subcomponents + DateComponent.prototype.showEventsWithId = function (eventDefId) { + this.getEventSegs().forEach(function (seg) { + if (seg.footprint.eventDef.id === eventDefId && + seg.el // necessary? + ) { + seg.el.css('visibility', ''); + } + }); + this.callChildren('showEventsWithId', arguments); + }; + // Shows all rendered event segments linked to the given event + // RECURSIVE with subcomponents + DateComponent.prototype.hideEventsWithId = function (eventDefId) { + this.getEventSegs().forEach(function (seg) { + if (seg.footprint.eventDef.id === eventDefId && + seg.el // necessary? + ) { + seg.el.css('visibility', 'hidden'); + } + }); + this.callChildren('hideEventsWithId', arguments); + }; + // Drag-n-Drop Rendering (for both events and external elements) + // --------------------------------------------------------------------------------------------------------------- + // Renders a visual indication of a event or external-element drag over the given drop zone. + // If an external-element, seg will be `null`. + // Must return elements used for any mock events. + DateComponent.prototype.renderDrag = function (eventFootprints, seg, isTouch) { + var renderedHelper = false; + this.iterChildren(function (child) { + if (child.renderDrag(eventFootprints, seg, isTouch)) { + renderedHelper = true; + } + }); + return renderedHelper; + }; + // Unrenders a visual indication of an event or external-element being dragged. + DateComponent.prototype.unrenderDrag = function () { + this.callChildren('unrenderDrag', arguments); + }; + // Event Resizing + // --------------------------------------------------------------------------------------------------------------- + // Renders a visual indication of an event being resized. + DateComponent.prototype.renderEventResize = function (eventFootprints, seg, isTouch) { + this.callChildren('renderEventResize', arguments); + }; + // Unrenders a visual indication of an event being resized. + DateComponent.prototype.unrenderEventResize = function () { + this.callChildren('unrenderEventResize', arguments); + }; + // Selection + // --------------------------------------------------------------------------------------------------------------- + // Renders a visual indication of the selection + // TODO: rename to `renderSelection` after legacy is gone + DateComponent.prototype.renderSelectionFootprint = function (componentFootprint) { + this.renderHighlight(componentFootprint); + this.callChildren('renderSelectionFootprint', arguments); + }; + // Unrenders a visual indication of selection + DateComponent.prototype.unrenderSelection = function () { + this.unrenderHighlight(); + this.callChildren('unrenderSelection', arguments); + }; + // Highlight + // --------------------------------------------------------------------------------------------------------------- + // Renders an emphasis on the given date range. Given a span (unzoned start/end and other misc data) + DateComponent.prototype.renderHighlight = function (componentFootprint) { + if (this.fillRenderer) { + this.fillRenderer.renderFootprint('highlight', componentFootprint, { + getClasses: function () { + return ['fc-highlight']; + } + }); + } + this.callChildren('renderHighlight', arguments); + }; + // Unrenders the emphasis on a date range + DateComponent.prototype.unrenderHighlight = function () { + if (this.fillRenderer) { + this.fillRenderer.unrender('highlight'); + } + this.callChildren('unrenderHighlight', arguments); + }; + // Hit Areas + // --------------------------------------------------------------------------------------------------------------- + // just because all DateComponents support this interface + // doesn't mean they need to have their own internal coord system. they can defer to sub-components. + DateComponent.prototype.hitsNeeded = function () { + if (!(this.hitsNeededDepth++)) { + this.prepareHits(); + } + this.callChildren('hitsNeeded', arguments); + }; + DateComponent.prototype.hitsNotNeeded = function () { + if (this.hitsNeededDepth && !(--this.hitsNeededDepth)) { + this.releaseHits(); + } + this.callChildren('hitsNotNeeded', arguments); + }; + DateComponent.prototype.prepareHits = function () { + // subclasses can implement + }; + DateComponent.prototype.releaseHits = function () { + // subclasses can implement + }; + // Given coordinates from the topleft of the document, return data about the date-related area underneath. + // Can return an object with arbitrary properties (although top/right/left/bottom are encouraged). + // Must have a `grid` property, a reference to this current grid. TODO: avoid this + // The returned object will be processed by getHitFootprint and getHitEl. + DateComponent.prototype.queryHit = function (leftOffset, topOffset) { + var childrenByUid = this.childrenByUid; + var uid; + var hit; + for (uid in childrenByUid) { + hit = childrenByUid[uid].queryHit(leftOffset, topOffset); + if (hit) { + break; + } + } + return hit; + }; + DateComponent.prototype.getSafeHitFootprint = function (hit) { + var footprint = this.getHitFootprint(hit); + if (!this.dateProfile.activeUnzonedRange.containsRange(footprint.unzonedRange)) { + return null; + } + return footprint; + }; + DateComponent.prototype.getHitFootprint = function (hit) { + // what about being abstract!? + }; + // Given position-level information about a date-related area within the grid, + // should return a jQuery element that best represents it. passed to dayClick callback. + DateComponent.prototype.getHitEl = function (hit) { + // what about being abstract!? + }; + /* Converting eventRange -> eventFootprint + ------------------------------------------------------------------------------------------------------------------*/ + DateComponent.prototype.eventRangesToEventFootprints = function (eventRanges) { + var eventFootprints = []; + var i; + for (i = 0; i < eventRanges.length; i++) { + eventFootprints.push.apply(// append + eventFootprints, this.eventRangeToEventFootprints(eventRanges[i])); + } + return eventFootprints; + }; + DateComponent.prototype.eventRangeToEventFootprints = function (eventRange) { + return [util_2.eventRangeToEventFootprint(eventRange)]; + }; + /* Converting componentFootprint/eventFootprint -> segs + ------------------------------------------------------------------------------------------------------------------*/ + DateComponent.prototype.eventFootprintsToSegs = function (eventFootprints) { + var segs = []; + var i; + for (i = 0; i < eventFootprints.length; i++) { + segs.push.apply(segs, this.eventFootprintToSegs(eventFootprints[i])); + } + return segs; + }; + // Given an event's span (unzoned start/end and other misc data), and the event itself, + // slices into segments and attaches event-derived properties to them. + // eventSpan - { start, end, isStart, isEnd, otherthings... } + DateComponent.prototype.eventFootprintToSegs = function (eventFootprint) { + var unzonedRange = eventFootprint.componentFootprint.unzonedRange; + var segs; + var i; + var seg; + segs = this.componentFootprintToSegs(eventFootprint.componentFootprint); + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + if (!unzonedRange.isStart) { + seg.isStart = false; + } + if (!unzonedRange.isEnd) { + seg.isEnd = false; + } + seg.footprint = eventFootprint; + // TODO: rename to seg.eventFootprint + } + return segs; + }; + DateComponent.prototype.componentFootprintToSegs = function (componentFootprint) { + return []; + }; + // Utils + // --------------------------------------------------------------------------------------------------------------- + DateComponent.prototype.callChildren = function (methodName, args) { + this.iterChildren(function (child) { + child[methodName].apply(child, args); + }); + }; + DateComponent.prototype.iterChildren = function (func) { + var childrenByUid = this.childrenByUid; + var uid; + for (uid in childrenByUid) { + func(childrenByUid[uid]); + } + }; + DateComponent.prototype._getCalendar = function () { + var t = this; + return t.calendar || t.view.calendar; + }; + DateComponent.prototype._getView = function () { + return this.view; + }; + DateComponent.prototype._getDateProfile = function () { + return this._getView().get('dateProfile'); + }; + // Generates HTML for an anchor to another view into the calendrier. + // Will either generate an
tag or a non-clickable tag, depending on enabled settings. + // `gotoOptions` can either be a moment input, or an object with the form: + // { date, type, forceOff } + // `type` is a view-type like "day" or "week". default value is "day". + // `attrs` and `innerHtml` are use to generate the rest of the HTML tag. + DateComponent.prototype.buildGotoAnchorHtml = function (gotoOptions, attrs, innerHtml) { + var date; + var type; + var forceOff; + var finalOptions; + if ($.isPlainObject(gotoOptions)) { + date = gotoOptions.date; + type = gotoOptions.type; + forceOff = gotoOptions.forceOff; + } + else { + date = gotoOptions; // a single moment input + } + date = moment_ext_1.default(date); // if a string, parse it + finalOptions = { + date: date.format('YYYY-MM-DD'), + type: type || 'day' + }; + if (typeof attrs === 'string') { + innerHtml = attrs; + attrs = null; + } + attrs = attrs ? ' ' + util_1.attrsToStr(attrs) : ''; // will have a leading space + innerHtml = innerHtml || ''; + if (!forceOff && this.opt('navLinks')) { + return '' + + innerHtml + + ''; + } + else { + return '' + + innerHtml + + ''; + } + }; + DateComponent.prototype.getAllDayHtml = function () { + return this.opt('allDayHtml') || util_1.htmlEscape(this.opt('allDayText')); + }; + // Computes HTML classNames for a single-day element + DateComponent.prototype.getDayClasses = function (date, noThemeHighlight) { + var view = this._getView(); + var classes = []; + var today; + if (!this.dateProfile.activeUnzonedRange.containsDate(date)) { + classes.push('fc-disabled-day'); // TODO: jQuery UI theme? + } + else { + classes.push('fc-' + util_1.dayIDs[date.day()]); + if (view.isDateInOtherMonth(date, this.dateProfile)) { + classes.push('fc-other-month'); + } + today = view.calendar.getNow(); + if (date.isSame(today, 'day')) { + classes.push('fc-today'); + if (noThemeHighlight !== true) { + classes.push(view.calendar.theme.getClass('today')); + } + } + else if (date < today) { + classes.push('fc-past'); + } + else { + classes.push('fc-future'); + } + } + return classes; + }; + // Utility for formatting a range. Accepts a range object, formatting string, and optional separator. + // Displays all-day ranges naturally, with an inclusive end. Takes the current isRTL into account. + // The timezones of the dates within `range` will be respected. + DateComponent.prototype.formatRange = function (range, isAllDay, formatStr, separator) { + var end = range.end; + if (isAllDay) { + end = end.clone().subtract(1); // convert to inclusive. last ms of previous day + } + return date_formatting_1.formatRange(range.start, end, formatStr, separator, this.isRTL); + }; + // Compute the number of the give units in the "current" range. + // Will return a floating-point number. Won't round. + DateComponent.prototype.currentRangeAs = function (unit) { + return this._getDateProfile().currentUnzonedRange.as(unit); + }; + // Returns the date range of the full days the given range visually appears to occupy. + // Returns a plain object with start/end, NOT an UnzonedRange! + DateComponent.prototype.computeDayRange = function (unzonedRange) { + var calendar = this._getCalendar(); + var startDay = calendar.msToUtcMoment(unzonedRange.startMs, true); // the beginning of the day the range starts + var end = calendar.msToUtcMoment(unzonedRange.endMs); + var endTimeMS = +end.time(); // # of milliseconds into `endDay` + var endDay = end.clone().stripTime(); // the beginning of the day the range exclusively ends + // If the end time is actually inclusively part of the next day and is equal to or + // beyond the next day threshold, adjust the end to be the exclusive end of `endDay`. + // Otherwise, leaving it as inclusive will cause it to exclude `endDay`. + if (endTimeMS && endTimeMS >= this.nextDayThreshold) { + endDay.add(1, 'days'); + } + // If end is within `startDay` but not past nextDayThreshold, assign the default duration of one day. + if (endDay <= startDay) { + endDay = startDay.clone().add(1, 'days'); + } + return { start: startDay, end: endDay }; + }; + // Does the given range visually appear to occupy more than one day? + DateComponent.prototype.isMultiDayRange = function (unzonedRange) { + var dayRange = this.computeDayRange(unzonedRange); + return dayRange.end.diff(dayRange.start, 'days') > 1; + }; + DateComponent.guid = 0; // TODO: better system for this? + return DateComponent; +}(Component_1.default)); +exports.default = DateComponent; +// legacy +function convertEventsPayloadToLegacyArray(eventsPayload) { + var eventDefId; + var eventInstances; + var legacyEvents = []; + var i; + for (eventDefId in eventsPayload) { + eventInstances = eventsPayload[eventDefId].eventInstances; + for (i = 0; i < eventInstances.length; i++) { + legacyEvents.push(eventInstances[i].toLegacy()); + } + } + return legacyEvents; +} + + +/***/ }), +/* 220 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var moment = __webpack_require__(0); +var util_1 = __webpack_require__(4); +var options_1 = __webpack_require__(32); +var Iterator_1 = __webpack_require__(238); +var GlobalEmitter_1 = __webpack_require__(21); +var EmitterMixin_1 = __webpack_require__(11); +var ListenerMixin_1 = __webpack_require__(7); +var Toolbar_1 = __webpack_require__(239); +var OptionsManager_1 = __webpack_require__(240); +var ViewSpecManager_1 = __webpack_require__(241); +var Constraints_1 = __webpack_require__(207); +var locale_1 = __webpack_require__(31); +var moment_ext_1 = __webpack_require__(10); +var UnzonedRange_1 = __webpack_require__(5); +var ComponentFootprint_1 = __webpack_require__(12); +var EventDateProfile_1 = __webpack_require__(17); +var EventManager_1 = __webpack_require__(242); +var BusinessHourGenerator_1 = __webpack_require__(212); +var EventSourceParser_1 = __webpack_require__(38); +var EventDefParser_1 = __webpack_require__(49); +var SingleEventDef_1 = __webpack_require__(13); +var EventDefMutation_1 = __webpack_require__(37); +var EventSource_1 = __webpack_require__(6); +var ThemeRegistry_1 = __webpack_require__(51); +var Calendar = /** @class */ (function () { + function Calendar(el, overrides) { + this.loadingLevel = 0; // number of simultaneous loading tasks + this.ignoreUpdateViewSize = 0; + this.freezeContentHeightDepth = 0; + // declare the current calendrier instance relies on GlobalEmitter. needed for garbage collection. + // unneeded() is called in destroy. + GlobalEmitter_1.default.needed(); + this.el = el; + this.viewsByType = {}; + this.optionsManager = new OptionsManager_1.default(this, overrides); + this.viewSpecManager = new ViewSpecManager_1.default(this.optionsManager, this); + this.initMomentInternals(); // needs to happen after options hash initialized + this.initCurrentDate(); + this.initEventManager(); + this.constraints = new Constraints_1.default(this.eventManager, this); + this.constructed(); + } + Calendar.prototype.constructed = function () { + // useful for monkeypatching. used? + }; + Calendar.prototype.getView = function () { + return this.view; + }; + Calendar.prototype.publiclyTrigger = function (name, triggerInfo) { + var optHandler = this.opt(name); + var context; + var args; + if ($.isPlainObject(triggerInfo)) { + context = triggerInfo.context; + args = triggerInfo.args; + } + else if ($.isArray(triggerInfo)) { + args = triggerInfo; + } + if (context == null) { + context = this.el[0]; // fallback context + } + if (!args) { + args = []; + } + this.triggerWith(name, context, args); // Emitter's method + if (optHandler) { + return optHandler.apply(context, args); + } + }; + Calendar.prototype.hasPublicHandlers = function (name) { + return this.hasHandlers(name) || + this.opt(name); // handler specified in options + }; + // Options Public API + // ----------------------------------------------------------------------------------------------------------------- + // public getter/setter + Calendar.prototype.option = function (name, value) { + var newOptionHash; + if (typeof name === 'string') { + if (value === undefined) { + return this.optionsManager.get(name); + } + else { + newOptionHash = {}; + newOptionHash[name] = value; + this.optionsManager.add(newOptionHash); + } + } + else if (typeof name === 'object') { + this.optionsManager.add(name); + } + }; + // private getter + Calendar.prototype.opt = function (name) { + return this.optionsManager.get(name); + }; + // View + // ----------------------------------------------------------------------------------------------------------------- + // Given a view name for a custom view or a standard view, creates a ready-to-go View object + Calendar.prototype.instantiateView = function (viewType) { + var spec = this.viewSpecManager.getViewSpec(viewType); + if (!spec) { + throw new Error("View type \"" + viewType + "\" is not valid"); + } + return new spec['class'](this, spec); + }; + // Returns a boolean about whether the view is okay to instantiate at some point + Calendar.prototype.isValidViewType = function (viewType) { + return Boolean(this.viewSpecManager.getViewSpec(viewType)); + }; + Calendar.prototype.changeView = function (viewName, dateOrRange) { + if (dateOrRange) { + if (dateOrRange.start && dateOrRange.end) { + this.optionsManager.recordOverrides({ + visibleRange: dateOrRange + }); + } + else { + this.currentDate = this.moment(dateOrRange).stripZone(); // just like gotoDate + } + } + this.renderView(viewName); + }; + // Forces navigation to a view for the given date. + // `viewType` can be a specific view name or a generic one like "week" or "day". + Calendar.prototype.zoomTo = function (newDate, viewType) { + var spec; + viewType = viewType || 'day'; // day is default zoom + spec = this.viewSpecManager.getViewSpec(viewType) || + this.viewSpecManager.getUnitViewSpec(viewType); + this.currentDate = newDate.clone(); + this.renderView(spec ? spec.type : null); + }; + // Current Date + // ----------------------------------------------------------------------------------------------------------------- + Calendar.prototype.initCurrentDate = function () { + var defaultDateInput = this.opt('defaultDate'); + // compute the initial ambig-timezone date + if (defaultDateInput != null) { + this.currentDate = this.moment(defaultDateInput).stripZone(); + } + else { + this.currentDate = this.getNow(); // getNow already returns unzoned + } + }; + Calendar.prototype.prev = function () { + var view = this.view; + var prevInfo = view.dateProfileGenerator.buildPrev(view.get('dateProfile')); + if (prevInfo.isValid) { + this.currentDate = prevInfo.date; + this.renderView(); + } + }; + Calendar.prototype.next = function () { + var view = this.view; + var nextInfo = view.dateProfileGenerator.buildNext(view.get('dateProfile')); + if (nextInfo.isValid) { + this.currentDate = nextInfo.date; + this.renderView(); + } + }; + Calendar.prototype.prevYear = function () { + this.currentDate.add(-1, 'years'); + this.renderView(); + }; + Calendar.prototype.nextYear = function () { + this.currentDate.add(1, 'years'); + this.renderView(); + }; + Calendar.prototype.today = function () { + this.currentDate = this.getNow(); // should deny like prev/next? + this.renderView(); + }; + Calendar.prototype.gotoDate = function (zonedDateInput) { + this.currentDate = this.moment(zonedDateInput).stripZone(); + this.renderView(); + }; + Calendar.prototype.incrementDate = function (delta) { + this.currentDate.add(moment.duration(delta)); + this.renderView(); + }; + // for external API + Calendar.prototype.getDate = function () { + return this.applyTimezone(this.currentDate); // infuse the calendrier's timezone + }; + // Loading Triggering + // ----------------------------------------------------------------------------------------------------------------- + // Should be called when any type of async data fetching begins + Calendar.prototype.pushLoading = function () { + if (!(this.loadingLevel++)) { + this.publiclyTrigger('loading', [true, this.view]); + } + }; + // Should be called when any type of async data fetching completes + Calendar.prototype.popLoading = function () { + if (!(--this.loadingLevel)) { + this.publiclyTrigger('loading', [false, this.view]); + } + }; + // High-level Rendering + // ----------------------------------------------------------------------------------- + Calendar.prototype.render = function () { + if (!this.contentEl) { + this.initialRender(); + } + else if (this.elementVisible()) { + // mainly for the public API + this.calcSize(); + this.updateViewSize(); + } + }; + Calendar.prototype.initialRender = function () { + var _this = this; + var el = this.el; + el.addClass('fc'); + // event delegation for nav links + el.on('click.fc', 'a[data-goto]', function (ev) { + var anchorEl = $(ev.currentTarget); + var gotoOptions = anchorEl.data('goto'); // will automatically parse JSON + var date = _this.moment(gotoOptions.date); + var viewType = gotoOptions.type; + // property like "navLinkDayClick". might be a string or a function + var customAction = _this.view.opt('navLink' + util_1.capitaliseFirstLetter(viewType) + 'Click'); + if (typeof customAction === 'function') { + customAction(date, ev); + } + else { + if (typeof customAction === 'string') { + viewType = customAction; + } + _this.zoomTo(date, viewType); + } + }); + // called immediately, and upon option change + this.optionsManager.watch('settingTheme', ['?theme', '?themeSystem'], function (opts) { + var themeClass = ThemeRegistry_1.getThemeSystemClass(opts.themeSystem || opts.theme); + var theme = new themeClass(_this.optionsManager); + var widgetClass = theme.getClass('widget'); + _this.theme = theme; + if (widgetClass) { + el.addClass(widgetClass); + } + }, function () { + var widgetClass = _this.theme.getClass('widget'); + _this.theme = null; + if (widgetClass) { + el.removeClass(widgetClass); + } + }); + this.optionsManager.watch('settingBusinessHourGenerator', ['?businessHours'], function (deps) { + _this.businessHourGenerator = new BusinessHourGenerator_1.default(deps.businessHours, _this); + if (_this.view) { + _this.view.set('businessHourGenerator', _this.businessHourGenerator); + } + }, function () { + _this.businessHourGenerator = null; + }); + // called immediately, and upon option change. + // HACK: locale often affects isRTL, so we explicitly listen to that too. + this.optionsManager.watch('applyingDirClasses', ['?isRTL', '?locale'], function (opts) { + el.toggleClass('fc-ltr', !opts.isRTL); + el.toggleClass('fc-rtl', opts.isRTL); + }); + this.contentEl = $("
").prependTo(el); + this.initToolbars(); + this.renderHeader(); + this.renderFooter(); + this.renderView(this.opt('defaultView')); + if (this.opt('handleWindowResize')) { + $(window).resize(this.windowResizeProxy = util_1.debounce(// prevents rapid calls + this.windowResize.bind(this), this.opt('windowResizeDelay'))); + } + }; + Calendar.prototype.destroy = function () { + if (this.view) { + this.clearView(); + } + this.toolbarsManager.proxyCall('removeElement'); + this.contentEl.remove(); + this.el.removeClass('fc fc-ltr fc-rtl'); + // removes theme-related root className + this.optionsManager.unwatch('settingTheme'); + this.optionsManager.unwatch('settingBusinessHourGenerator'); + this.el.off('.fc'); // unbind nav link handlers + if (this.windowResizeProxy) { + $(window).unbind('resize', this.windowResizeProxy); + this.windowResizeProxy = null; + } + GlobalEmitter_1.default.unneeded(); + }; + Calendar.prototype.elementVisible = function () { + return this.el.is(':visible'); + }; + // Render Queue + // ----------------------------------------------------------------------------------------------------------------- + Calendar.prototype.bindViewHandlers = function (view) { + var _this = this; + view.watch('titleForCalendar', ['title'], function (deps) { + if (view === _this.view) { + _this.setToolbarsTitle(deps.title); + } + }); + view.watch('dateProfileForCalendar', ['dateProfile'], function (deps) { + if (view === _this.view) { + _this.currentDate = deps.dateProfile.date; // might have been constrained by view dates + _this.updateToolbarButtons(deps.dateProfile); + } + }); + }; + Calendar.prototype.unbindViewHandlers = function (view) { + view.unwatch('titleForCalendar'); + view.unwatch('dateProfileForCalendar'); + }; + // View Rendering + // ----------------------------------------------------------------------------------- + // Renders a view because of a date change, view-type change, or for the first time. + // If not given a viewType, keep the current view but render different dates. + // Accepts an optional scroll state to restore to. + Calendar.prototype.renderView = function (viewType) { + var oldView = this.view; + var newView; + this.freezeContentHeight(); + if (oldView && viewType && oldView.type !== viewType) { + this.clearView(); + } + // if viewType changed, or the view was never created, create a fresh view + if (!this.view && viewType) { + newView = this.view = + this.viewsByType[viewType] || + (this.viewsByType[viewType] = this.instantiateView(viewType)); + this.bindViewHandlers(newView); + newView.startBatchRender(); // so that setElement+setDate rendering are joined + newView.setElement($("
").appendTo(this.contentEl)); + this.toolbarsManager.proxyCall('activateButton', viewType); + } + if (this.view) { + // prevent unnecessary change firing + if (this.view.get('businessHourGenerator') !== this.businessHourGenerator) { + this.view.set('businessHourGenerator', this.businessHourGenerator); + } + this.view.setDate(this.currentDate); + if (newView) { + newView.stopBatchRender(); + } + } + this.thawContentHeight(); + }; + // Unrenders the current view and reflects this change in the Header. + // Unregsiters the `view`, but does not remove from viewByType hash. + Calendar.prototype.clearView = function () { + var currentView = this.view; + this.toolbarsManager.proxyCall('deactivateButton', currentView.type); + this.unbindViewHandlers(currentView); + currentView.removeElement(); + currentView.unsetDate(); // so bindViewHandlers doesn't fire with old values next time + this.view = null; + }; + // Destroys the view, including the view object. Then, re-instantiates it and renders it. + // Maintains the same scroll state. + // TODO: maintain any other user-manipulated state. + Calendar.prototype.reinitView = function () { + var oldView = this.view; + var scroll = oldView.queryScroll(); // wouldn't be so complicated if Calendar owned the scroll + this.freezeContentHeight(); + this.clearView(); + this.calcSize(); + this.renderView(oldView.type); // needs the type to freshly render + this.view.applyScroll(scroll); + this.thawContentHeight(); + }; + // Resizing + // ----------------------------------------------------------------------------------- + Calendar.prototype.getSuggestedViewHeight = function () { + if (this.suggestedViewHeight == null) { + this.calcSize(); + } + return this.suggestedViewHeight; + }; + Calendar.prototype.isHeightAuto = function () { + return this.opt('contentHeight') === 'auto' || this.opt('height') === 'auto'; + }; + Calendar.prototype.updateViewSize = function (isResize) { + if (isResize === void 0) { isResize = false; } + var view = this.view; + var scroll; + if (!this.ignoreUpdateViewSize && view) { + if (isResize) { + this.calcSize(); + scroll = view.queryScroll(); + } + this.ignoreUpdateViewSize++; + view.updateSize(this.getSuggestedViewHeight(), this.isHeightAuto(), isResize); + this.ignoreUpdateViewSize--; + if (isResize) { + view.applyScroll(scroll); + } + return true; // signal success + } + }; + Calendar.prototype.calcSize = function () { + if (this.elementVisible()) { + this._calcSize(); + } + }; + Calendar.prototype._calcSize = function () { + var contentHeightInput = this.opt('contentHeight'); + var heightInput = this.opt('height'); + if (typeof contentHeightInput === 'number') { + this.suggestedViewHeight = contentHeightInput; + } + else if (typeof contentHeightInput === 'function') { + this.suggestedViewHeight = contentHeightInput(); + } + else if (typeof heightInput === 'number') { + this.suggestedViewHeight = heightInput - this.queryToolbarsHeight(); + } + else if (typeof heightInput === 'function') { + this.suggestedViewHeight = heightInput() - this.queryToolbarsHeight(); + } + else if (heightInput === 'parent') { + this.suggestedViewHeight = this.el.parent().height() - this.queryToolbarsHeight(); + } + else { + this.suggestedViewHeight = Math.round(this.contentEl.width() / + Math.max(this.opt('aspectRatio'), .5)); + } + }; + Calendar.prototype.windowResize = function (ev) { + if ( + // the purpose: so we don't process jqui "resize" events that have bubbled up + // cast to any because .target, which is Element, can't be compared to window for some reason. + ev.target === window && + this.view && + this.view.isDatesRendered) { + if (this.updateViewSize(true)) { + this.publiclyTrigger('windowResize', [this.view]); + } + } + }; + /* Height "Freezing" + -----------------------------------------------------------------------------*/ + Calendar.prototype.freezeContentHeight = function () { + if (!(this.freezeContentHeightDepth++)) { + this.forceFreezeContentHeight(); + } + }; + Calendar.prototype.forceFreezeContentHeight = function () { + this.contentEl.css({ + width: '100%', + height: this.contentEl.height(), + overflow: 'hidden' + }); + }; + Calendar.prototype.thawContentHeight = function () { + this.freezeContentHeightDepth--; + // always bring back to natural height + this.contentEl.css({ + width: '', + height: '', + overflow: '' + }); + // but if there are future thaws, re-freeze + if (this.freezeContentHeightDepth) { + this.forceFreezeContentHeight(); + } + }; + // Toolbar + // ----------------------------------------------------------------------------------------------------------------- + Calendar.prototype.initToolbars = function () { + this.header = new Toolbar_1.default(this, this.computeHeaderOptions()); + this.footer = new Toolbar_1.default(this, this.computeFooterOptions()); + this.toolbarsManager = new Iterator_1.default([this.header, this.footer]); + }; + Calendar.prototype.computeHeaderOptions = function () { + return { + extraClasses: 'fc-header-toolbar', + layout: this.opt('header') + }; + }; + Calendar.prototype.computeFooterOptions = function () { + return { + extraClasses: 'fc-footer-toolbar', + layout: this.opt('footer') + }; + }; + // can be called repeatedly and Header will rerender + Calendar.prototype.renderHeader = function () { + var header = this.header; + header.setToolbarOptions(this.computeHeaderOptions()); + header.render(); + if (header.el) { + this.el.prepend(header.el); + } + }; + // can be called repeatedly and Footer will rerender + Calendar.prototype.renderFooter = function () { + var footer = this.footer; + footer.setToolbarOptions(this.computeFooterOptions()); + footer.render(); + if (footer.el) { + this.el.append(footer.el); + } + }; + Calendar.prototype.setToolbarsTitle = function (title) { + this.toolbarsManager.proxyCall('updateTitle', title); + }; + Calendar.prototype.updateToolbarButtons = function (dateProfile) { + var now = this.getNow(); + var view = this.view; + var todayInfo = view.dateProfileGenerator.build(now); + var prevInfo = view.dateProfileGenerator.buildPrev(view.get('dateProfile')); + var nextInfo = view.dateProfileGenerator.buildNext(view.get('dateProfile')); + this.toolbarsManager.proxyCall((todayInfo.isValid && !dateProfile.currentUnzonedRange.containsDate(now)) ? + 'enableButton' : + 'disableButton', 'today'); + this.toolbarsManager.proxyCall(prevInfo.isValid ? + 'enableButton' : + 'disableButton', 'prev'); + this.toolbarsManager.proxyCall(nextInfo.isValid ? + 'enableButton' : + 'disableButton', 'next'); + }; + Calendar.prototype.queryToolbarsHeight = function () { + return this.toolbarsManager.items.reduce(function (accumulator, toolbar) { + var toolbarHeight = toolbar.el ? toolbar.el.outerHeight(true) : 0; // includes margin + return accumulator + toolbarHeight; + }, 0); + }; + // Selection + // ----------------------------------------------------------------------------------------------------------------- + // this public method receives start/end dates in any format, with any timezone + Calendar.prototype.select = function (zonedStartInput, zonedEndInput) { + this.view.select(this.buildSelectFootprint.apply(this, arguments)); + }; + Calendar.prototype.unselect = function () { + if (this.view) { + this.view.unselect(); + } + }; + // Given arguments to the select method in the API, returns a span (unzoned start/end and other info) + Calendar.prototype.buildSelectFootprint = function (zonedStartInput, zonedEndInput) { + var start = this.moment(zonedStartInput).stripZone(); + var end; + if (zonedEndInput) { + end = this.moment(zonedEndInput).stripZone(); + } + else if (start.hasTime()) { + end = start.clone().add(this.defaultTimedEventDuration); + } + else { + end = start.clone().add(this.defaultAllDayEventDuration); + } + return new ComponentFootprint_1.default(new UnzonedRange_1.default(start, end), !start.hasTime()); + }; + // Date Utils + // ----------------------------------------------------------------------------------------------------------------- + Calendar.prototype.initMomentInternals = function () { + var _this = this; + this.defaultAllDayEventDuration = moment.duration(this.opt('defaultAllDayEventDuration')); + this.defaultTimedEventDuration = moment.duration(this.opt('defaultTimedEventDuration')); + // Called immediately, and when any of the options change. + // Happens before any internal objects rebuild or rerender, because this is very core. + this.optionsManager.watch('buildingMomentLocale', [ + '?locale', '?monthNames', '?monthNamesShort', '?dayNames', '?dayNamesShort', + '?firstDay', '?weekNumberCalculation' + ], function (opts) { + var weekNumberCalculation = opts.weekNumberCalculation; + var firstDay = opts.firstDay; + var _week; + // normalize + if (weekNumberCalculation === 'iso') { + weekNumberCalculation = 'ISO'; // normalize + } + var localeData = Object.create(// make a cheap copy + locale_1.getMomentLocaleData(opts.locale) // will fall back to en + ); + if (opts.monthNames) { + localeData._months = opts.monthNames; + } + if (opts.monthNamesShort) { + localeData._monthsShort = opts.monthNamesShort; + } + if (opts.dayNames) { + localeData._weekdays = opts.dayNames; + } + if (opts.dayNamesShort) { + localeData._weekdaysShort = opts.dayNamesShort; + } + if (firstDay == null && weekNumberCalculation === 'ISO') { + firstDay = 1; + } + if (firstDay != null) { + _week = Object.create(localeData._week); // _week: { dow: # } + _week.dow = firstDay; + localeData._week = _week; + } + if (weekNumberCalculation === 'ISO' || + weekNumberCalculation === 'local' || + typeof weekNumberCalculation === 'function') { + localeData._fullCalendar_weekCalc = weekNumberCalculation; // moment-ext will know what to do with it + } + _this.localeData = localeData; + // If the internal current date object already exists, move to new locale. + // We do NOT need to do this technique for event dates, because this happens when converting to "segments". + if (_this.currentDate) { + _this.localizeMoment(_this.currentDate); // sets to localeData + } + }); + }; + // Builds a moment using the settings of the current calendrier: timezone and locale. + // Accepts anything the vanilla moment() constructor accepts. + Calendar.prototype.moment = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var mom; + if (this.opt('timezone') === 'local') { + mom = moment_ext_1.default.apply(null, args); + // Force the moment to be local, because momentExt doesn't guarantee it. + if (mom.hasTime()) { + mom.local(); + } + } + else if (this.opt('timezone') === 'UTC') { + mom = moment_ext_1.default.utc.apply(null, args); // process as UTC + } + else { + mom = moment_ext_1.default.parseZone.apply(null, args); // let the input decide the zone + } + this.localizeMoment(mom); // TODO + return mom; + }; + Calendar.prototype.msToMoment = function (ms, forceAllDay) { + var mom = moment_ext_1.default.utc(ms); // TODO: optimize by using Date.UTC + if (forceAllDay) { + mom.stripTime(); + } + else { + mom = this.applyTimezone(mom); // may or may not apply locale + } + this.localizeMoment(mom); + return mom; + }; + Calendar.prototype.msToUtcMoment = function (ms, forceAllDay) { + var mom = moment_ext_1.default.utc(ms); // TODO: optimize by using Date.UTC + if (forceAllDay) { + mom.stripTime(); + } + this.localizeMoment(mom); + return mom; + }; + // Updates the given moment's locale settings to the current calendrier locale settings. + Calendar.prototype.localizeMoment = function (mom) { + mom._locale = this.localeData; + }; + // Returns a boolean about whether or not the calendrier knows how to calculate + // the timezone offset of arbitrary dates in the current timezone. + Calendar.prototype.getIsAmbigTimezone = function () { + return this.opt('timezone') !== 'local' && this.opt('timezone') !== 'UTC'; + }; + // Returns a copy of the given date in the current timezone. Has no effect on dates without times. + Calendar.prototype.applyTimezone = function (date) { + if (!date.hasTime()) { + return date.clone(); + } + var zonedDate = this.moment(date.toArray()); + var timeAdjust = date.time().asMilliseconds() - zonedDate.time().asMilliseconds(); + var adjustedZonedDate; + // Safari sometimes has problems with this coersion when near DST. Adjust if necessary. (bug #2396) + if (timeAdjust) { + adjustedZonedDate = zonedDate.clone().add(timeAdjust); // add milliseconds + if (date.time().asMilliseconds() - adjustedZonedDate.time().asMilliseconds() === 0) { + zonedDate = adjustedZonedDate; + } + } + return zonedDate; + }; + /* + Assumes the footprint is non-open-ended. + */ + Calendar.prototype.footprintToDateProfile = function (componentFootprint, ignoreEnd) { + if (ignoreEnd === void 0) { ignoreEnd = false; } + var start = moment_ext_1.default.utc(componentFootprint.unzonedRange.startMs); + var end; + if (!ignoreEnd) { + end = moment_ext_1.default.utc(componentFootprint.unzonedRange.endMs); + } + if (componentFootprint.isAllDay) { + start.stripTime(); + if (end) { + end.stripTime(); + } + } + else { + start = this.applyTimezone(start); + if (end) { + end = this.applyTimezone(end); + } + } + return new EventDateProfile_1.default(start, end, this); + }; + // Returns a moment for the current date, as defined by the client's computer or from the `now` option. + // Will return an moment with an ambiguous timezone. + Calendar.prototype.getNow = function () { + var now = this.opt('now'); + if (typeof now === 'function') { + now = now(); + } + return this.moment(now).stripZone(); + }; + // Produces a human-readable string for the given duration. + // Side-effect: changes the locale of the given duration. + Calendar.prototype.humanizeDuration = function (duration) { + return duration.locale(this.opt('locale')).humanize(); + }; + // will return `null` if invalid range + Calendar.prototype.parseUnzonedRange = function (rangeInput) { + var start = null; + var end = null; + if (rangeInput.start) { + start = this.moment(rangeInput.start).stripZone(); + } + if (rangeInput.end) { + end = this.moment(rangeInput.end).stripZone(); + } + if (!start && !end) { + return null; + } + if (start && end && end.isBefore(start)) { + return null; + } + return new UnzonedRange_1.default(start, end); + }; + // Event-Date Utilities + // ----------------------------------------------------------------------------------------------------------------- + Calendar.prototype.initEventManager = function () { + var _this = this; + var eventManager = new EventManager_1.default(this); + var rawSources = this.opt('eventSources') || []; + var singleRawSource = this.opt('events'); + this.eventManager = eventManager; + if (singleRawSource) { + rawSources.unshift(singleRawSource); + } + eventManager.on('release', function (eventsPayload) { + _this.trigger('eventsReset', eventsPayload); + }); + eventManager.freeze(); + rawSources.forEach(function (rawSource) { + var source = EventSourceParser_1.default.parse(rawSource, _this); + if (source) { + eventManager.addSource(source); + } + }); + eventManager.thaw(); + }; + Calendar.prototype.requestEvents = function (start, end) { + return this.eventManager.requestEvents(start, end, this.opt('timezone'), !this.opt('lazyFetching')); + }; + // Get an event's normalized end date. If not present, calculate it from the defaults. + Calendar.prototype.getEventEnd = function (event) { + if (event.end) { + return event.end.clone(); + } + else { + return this.getDefaultEventEnd(event.allDay, event.start); + } + }; + // Given an event's allDay status and start date, return what its fallback end date should be. + // TODO: rename to computeDefaultEventEnd + Calendar.prototype.getDefaultEventEnd = function (allDay, zonedStart) { + var end = zonedStart.clone(); + if (allDay) { + end.stripTime().add(this.defaultAllDayEventDuration); + } + else { + end.add(this.defaultTimedEventDuration); + } + if (this.getIsAmbigTimezone()) { + end.stripZone(); // we don't know what the tzo should be + } + return end; + }; + // Public Events API + // ----------------------------------------------------------------------------------------------------------------- + Calendar.prototype.rerenderEvents = function () { + this.view.flash('displayingEvents'); + }; + Calendar.prototype.refetchEvents = function () { + this.eventManager.refetchAllSources(); + }; + Calendar.prototype.renderEvents = function (eventInputs, isSticky) { + this.eventManager.freeze(); + for (var i = 0; i < eventInputs.length; i++) { + this.renderEvent(eventInputs[i], isSticky); + } + this.eventManager.thaw(); + }; + Calendar.prototype.renderEvent = function (eventInput, isSticky) { + if (isSticky === void 0) { isSticky = false; } + var eventManager = this.eventManager; + var eventDef = EventDefParser_1.default.parse(eventInput, eventInput.source || eventManager.stickySource); + if (eventDef) { + eventManager.addEventDef(eventDef, isSticky); + } + }; + // legacyQuery operates on legacy event instance objects + Calendar.prototype.removeEvents = function (legacyQuery) { + var eventManager = this.eventManager; + var legacyInstances = []; + var idMap = {}; + var eventDef; + var i; + if (legacyQuery == null) { + eventManager.removeAllEventDefs(); // persist=true + } + else { + eventManager.getEventInstances().forEach(function (eventInstance) { + legacyInstances.push(eventInstance.toLegacy()); + }); + legacyInstances = filterLegacyEventInstances(legacyInstances, legacyQuery); + // compute unique IDs + for (i = 0; i < legacyInstances.length; i++) { + eventDef = this.eventManager.getEventDefByUid(legacyInstances[i]._id); + idMap[eventDef.id] = true; + } + eventManager.freeze(); + for (i in idMap) { + eventManager.removeEventDefsById(i); // persist=true + } + eventManager.thaw(); + } + }; + // legacyQuery operates on legacy event instance objects + Calendar.prototype.clientEvents = function (legacyQuery) { + var legacyEventInstances = []; + this.eventManager.getEventInstances().forEach(function (eventInstance) { + legacyEventInstances.push(eventInstance.toLegacy()); + }); + return filterLegacyEventInstances(legacyEventInstances, legacyQuery); + }; + Calendar.prototype.updateEvents = function (eventPropsArray) { + this.eventManager.freeze(); + for (var i = 0; i < eventPropsArray.length; i++) { + this.updateEvent(eventPropsArray[i]); + } + this.eventManager.thaw(); + }; + Calendar.prototype.updateEvent = function (eventProps) { + var eventDef = this.eventManager.getEventDefByUid(eventProps._id); + var eventInstance; + var eventDefMutation; + if (eventDef instanceof SingleEventDef_1.default) { + eventInstance = eventDef.buildInstance(); + eventDefMutation = EventDefMutation_1.default.createFromRawProps(eventInstance, eventProps, // raw props + null // largeUnit -- who uses it? + ); + this.eventManager.mutateEventsWithId(eventDef.id, eventDefMutation); // will release + } + }; + // Public Event Sources API + // ------------------------------------------------------------------------------------ + Calendar.prototype.getEventSources = function () { + return this.eventManager.otherSources.slice(); // clone + }; + Calendar.prototype.getEventSourceById = function (id) { + return this.eventManager.getSourceById(EventSource_1.default.normalizeId(id)); + }; + Calendar.prototype.addEventSource = function (sourceInput) { + var source = EventSourceParser_1.default.parse(sourceInput, this); + if (source) { + this.eventManager.addSource(source); + } + }; + Calendar.prototype.removeEventSources = function (sourceMultiQuery) { + var eventManager = this.eventManager; + var sources; + var i; + if (sourceMultiQuery == null) { + this.eventManager.removeAllSources(); + } + else { + sources = eventManager.multiQuerySources(sourceMultiQuery); + eventManager.freeze(); + for (i = 0; i < sources.length; i++) { + eventManager.removeSource(sources[i]); + } + eventManager.thaw(); + } + }; + Calendar.prototype.removeEventSource = function (sourceQuery) { + var eventManager = this.eventManager; + var sources = eventManager.querySources(sourceQuery); + var i; + eventManager.freeze(); + for (i = 0; i < sources.length; i++) { + eventManager.removeSource(sources[i]); + } + eventManager.thaw(); + }; + Calendar.prototype.refetchEventSources = function (sourceMultiQuery) { + var eventManager = this.eventManager; + var sources = eventManager.multiQuerySources(sourceMultiQuery); + var i; + eventManager.freeze(); + for (i = 0; i < sources.length; i++) { + eventManager.refetchSource(sources[i]); + } + eventManager.thaw(); + }; + // not for internal use. use options module directly instead. + Calendar.defaults = options_1.globalDefaults; + Calendar.englishDefaults = options_1.englishDefaults; + Calendar.rtlDefaults = options_1.rtlDefaults; + return Calendar; +}()); +exports.default = Calendar; +EmitterMixin_1.default.mixInto(Calendar); +ListenerMixin_1.default.mixInto(Calendar); +function filterLegacyEventInstances(legacyEventInstances, legacyQuery) { + if (legacyQuery == null) { + return legacyEventInstances; + } + else if ($.isFunction(legacyQuery)) { + return legacyEventInstances.filter(legacyQuery); + } + else { + legacyQuery += ''; // normalize to string + return legacyEventInstances.filter(function (legacyEventInstance) { + // soft comparison because id not be normalized to string + // tslint:disable-next-line + return legacyEventInstance.id == legacyQuery || + legacyEventInstance._id === legacyQuery; // can specify internal id, but must exactly match + }); + } +} + + +/***/ }), +/* 221 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var moment = __webpack_require__(0); +var util_1 = __webpack_require__(4); +var UnzonedRange_1 = __webpack_require__(5); +var DateProfileGenerator = /** @class */ (function () { + function DateProfileGenerator(_view) { + this._view = _view; + } + DateProfileGenerator.prototype.opt = function (name) { + return this._view.opt(name); + }; + DateProfileGenerator.prototype.trimHiddenDays = function (unzonedRange) { + return this._view.trimHiddenDays(unzonedRange); + }; + DateProfileGenerator.prototype.msToUtcMoment = function (ms, forceAllDay) { + return this._view.calendar.msToUtcMoment(ms, forceAllDay); + }; + /* Date Range Computation + ------------------------------------------------------------------------------------------------------------------*/ + // Builds a structure with info about what the dates/ranges will be for the "prev" view. + DateProfileGenerator.prototype.buildPrev = function (currentDateProfile) { + var prevDate = currentDateProfile.date.clone() + .startOf(currentDateProfile.currentRangeUnit) + .subtract(currentDateProfile.dateIncrement); + return this.build(prevDate, -1); + }; + // Builds a structure with info about what the dates/ranges will be for the "next" view. + DateProfileGenerator.prototype.buildNext = function (currentDateProfile) { + var nextDate = currentDateProfile.date.clone() + .startOf(currentDateProfile.currentRangeUnit) + .add(currentDateProfile.dateIncrement); + return this.build(nextDate, 1); + }; + // Builds a structure holding dates/ranges for rendering around the given date. + // Optional direction param indicates whether the date is being incremented/decremented + // from its previous value. decremented = -1, incremented = 1 (default). + DateProfileGenerator.prototype.build = function (date, direction, forceToValid) { + if (forceToValid === void 0) { forceToValid = false; } + var isDateAllDay = !date.hasTime(); + var validUnzonedRange; + var minTime = null; + var maxTime = null; + var currentInfo; + var isRangeAllDay; + var renderUnzonedRange; + var activeUnzonedRange; + var isValid; + validUnzonedRange = this.buildValidRange(); + validUnzonedRange = this.trimHiddenDays(validUnzonedRange); + if (forceToValid) { + date = this.msToUtcMoment(validUnzonedRange.constrainDate(date), // returns MS + isDateAllDay); + } + currentInfo = this.buildCurrentRangeInfo(date, direction); + isRangeAllDay = /^(year|month|week|day)$/.test(currentInfo.unit); + renderUnzonedRange = this.buildRenderRange(this.trimHiddenDays(currentInfo.unzonedRange), currentInfo.unit, isRangeAllDay); + renderUnzonedRange = this.trimHiddenDays(renderUnzonedRange); + activeUnzonedRange = renderUnzonedRange.clone(); + if (!this.opt('showNonCurrentDates')) { + activeUnzonedRange = activeUnzonedRange.intersect(currentInfo.unzonedRange); + } + minTime = moment.duration(this.opt('minTime')); + maxTime = moment.duration(this.opt('maxTime')); + activeUnzonedRange = this.adjustActiveRange(activeUnzonedRange, minTime, maxTime); + activeUnzonedRange = activeUnzonedRange.intersect(validUnzonedRange); // might return null + if (activeUnzonedRange) { + date = this.msToUtcMoment(activeUnzonedRange.constrainDate(date), // returns MS + isDateAllDay); + } + // it's invalid if the originally requested date is not contained, + // or if the range is completely outside of the valid range. + isValid = currentInfo.unzonedRange.intersectsWith(validUnzonedRange); + return { + // constraint for where prev/next operations can go and where events can be dragged/resized to. + // an object with optional start and end properties. + validUnzonedRange: validUnzonedRange, + // range the view is formally responsible for. + // for example, a month view might have 1st-31st, excluding padded dates + currentUnzonedRange: currentInfo.unzonedRange, + // name of largest unit being displayed, like "month" or "week" + currentRangeUnit: currentInfo.unit, + isRangeAllDay: isRangeAllDay, + // dates that display events and accept drag-n-drop + // will be `null` if no dates accept events + activeUnzonedRange: activeUnzonedRange, + // date range with a rendered skeleton + // includes not-active days that need some sort of DOM + renderUnzonedRange: renderUnzonedRange, + // Duration object that denotes the first visible time of any given day + minTime: minTime, + // Duration object that denotes the exclusive visible end time of any given day + maxTime: maxTime, + isValid: isValid, + date: date, + // how far the current date will move for a prev/next operation + dateIncrement: this.buildDateIncrement(currentInfo.duration) + // pass a fallback (might be null) ^ + }; + }; + // Builds an object with optional start/end properties. + // Indicates the minimum/maximum dates to display. + // not responsible for trimming hidden days. + DateProfileGenerator.prototype.buildValidRange = function () { + return this._view.getUnzonedRangeOption('validRange', this._view.calendar.getNow()) || + new UnzonedRange_1.default(); // completely open-ended + }; + // Builds a structure with info about the "current" range, the range that is + // highlighted as being the current month for example. + // See build() for a description of `direction`. + // Guaranteed to have `range` and `unit` properties. `duration` is optional. + // TODO: accept a MS-time instead of a moment `date`? + DateProfileGenerator.prototype.buildCurrentRangeInfo = function (date, direction) { + var viewSpec = this._view.viewSpec; + var duration = null; + var unit = null; + var unzonedRange = null; + var dayCount; + if (viewSpec.duration) { + duration = viewSpec.duration; + unit = viewSpec.durationUnit; + unzonedRange = this.buildRangeFromDuration(date, direction, duration, unit); + } + else if ((dayCount = this.opt('dayCount'))) { + unit = 'day'; + unzonedRange = this.buildRangeFromDayCount(date, direction, dayCount); + } + else if ((unzonedRange = this.buildCustomVisibleRange(date))) { + unit = util_1.computeGreatestUnit(unzonedRange.getStart(), unzonedRange.getEnd()); + } + else { + duration = this.getFallbackDuration(); + unit = util_1.computeGreatestUnit(duration); + unzonedRange = this.buildRangeFromDuration(date, direction, duration, unit); + } + return { duration: duration, unit: unit, unzonedRange: unzonedRange }; + }; + DateProfileGenerator.prototype.getFallbackDuration = function () { + return moment.duration({ days: 1 }); + }; + // Returns a new activeUnzonedRange to have time values (un-ambiguate) + // minTime or maxTime causes the range to expand. + DateProfileGenerator.prototype.adjustActiveRange = function (unzonedRange, minTime, maxTime) { + var start = unzonedRange.getStart(); + var end = unzonedRange.getEnd(); + if (this._view.usesMinMaxTime) { + if (minTime < 0) { + start.time(0).add(minTime); + } + if (maxTime > 24 * 60 * 60 * 1000) { + end.time(maxTime - (24 * 60 * 60 * 1000)); + } + } + return new UnzonedRange_1.default(start, end); + }; + // Builds the "current" range when it is specified as an explicit duration. + // `unit` is the already-computed computeGreatestUnit value of duration. + // TODO: accept a MS-time instead of a moment `date`? + DateProfileGenerator.prototype.buildRangeFromDuration = function (date, direction, duration, unit) { + var alignment = this.opt('dateAlignment'); + var dateIncrementInput; + var dateIncrementDuration; + var start; + var end; + var res; + // compute what the alignment should be + if (!alignment) { + dateIncrementInput = this.opt('dateIncrement'); + if (dateIncrementInput) { + dateIncrementDuration = moment.duration(dateIncrementInput); + // use the smaller of the two units + if (dateIncrementDuration < duration) { + alignment = util_1.computeDurationGreatestUnit(dateIncrementDuration, dateIncrementInput); + } + else { + alignment = unit; + } + } + else { + alignment = unit; + } + } + // if the view displays a single day or smaller + if (duration.as('days') <= 1) { + if (this._view.isHiddenDay(start)) { + start = this._view.skipHiddenDays(start, direction); + start.startOf('day'); + } + } + function computeRes() { + start = date.clone().startOf(alignment); + end = start.clone().add(duration); + res = new UnzonedRange_1.default(start, end); + } + computeRes(); + // if range is completely enveloped by hidden days, go past the hidden days + if (!this.trimHiddenDays(res)) { + date = this._view.skipHiddenDays(date, direction); + computeRes(); + } + return res; + }; + // Builds the "current" range when a dayCount is specified. + // TODO: accept a MS-time instead of a moment `date`? + DateProfileGenerator.prototype.buildRangeFromDayCount = function (date, direction, dayCount) { + var customAlignment = this.opt('dateAlignment'); + var runningCount = 0; + var start = date.clone(); + var end; + if (customAlignment) { + start.startOf(customAlignment); + } + start.startOf('day'); + start = this._view.skipHiddenDays(start, direction); + end = start.clone(); + do { + end.add(1, 'day'); + if (!this._view.isHiddenDay(end)) { + runningCount++; + } + } while (runningCount < dayCount); + return new UnzonedRange_1.default(start, end); + }; + // Builds a normalized range object for the "visible" range, + // which is a way to define the currentUnzonedRange and activeUnzonedRange at the same time. + // TODO: accept a MS-time instead of a moment `date`? + DateProfileGenerator.prototype.buildCustomVisibleRange = function (date) { + var visibleUnzonedRange = this._view.getUnzonedRangeOption('visibleRange', this._view.calendar.applyTimezone(date) // correct zone. also generates new obj that avoids mutations + ); + if (visibleUnzonedRange && (visibleUnzonedRange.startMs == null || visibleUnzonedRange.endMs == null)) { + return null; + } + return visibleUnzonedRange; + }; + // Computes the range that will represent the element/cells for *rendering*, + // but which may have voided days/times. + // not responsible for trimming hidden days. + DateProfileGenerator.prototype.buildRenderRange = function (currentUnzonedRange, currentRangeUnit, isRangeAllDay) { + return currentUnzonedRange.clone(); + }; + // Compute the duration value that should be added/substracted to the current date + // when a prev/next operation happens. + DateProfileGenerator.prototype.buildDateIncrement = function (fallback) { + var dateIncrementInput = this.opt('dateIncrement'); + var customAlignment; + if (dateIncrementInput) { + return moment.duration(dateIncrementInput); + } + else if ((customAlignment = this.opt('dateAlignment'))) { + return moment.duration(1, customAlignment); + } + else if (fallback) { + return fallback; + } + else { + return moment.duration({ days: 1 }); + } + }; + return DateProfileGenerator; +}()); +exports.default = DateProfileGenerator; + + +/***/ }), +/* 222 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var moment = __webpack_require__(0); +var exportHooks = __webpack_require__(16); +var util_1 = __webpack_require__(4); +var moment_ext_1 = __webpack_require__(10); +var ListenerMixin_1 = __webpack_require__(7); +var HitDragListener_1 = __webpack_require__(23); +var SingleEventDef_1 = __webpack_require__(13); +var EventInstanceGroup_1 = __webpack_require__(18); +var EventSource_1 = __webpack_require__(6); +var Interaction_1 = __webpack_require__(15); +var ExternalDropping = /** @class */ (function (_super) { + tslib_1.__extends(ExternalDropping, _super); + function ExternalDropping() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.isDragging = false; // jqui-dragging an external element? boolean + return _this; + } + /* + component impements: + - eventRangesToEventFootprints + - isEventInstanceGroupAllowed + - isExternalInstanceGroupAllowed + - renderDrag + - unrenderDrag + */ + ExternalDropping.prototype.end = function () { + if (this.dragListener) { + this.dragListener.endInteraction(); + } + }; + ExternalDropping.prototype.bindToDocument = function () { + this.listenTo($(document), { + dragstart: this.handleDragStart, + sortstart: this.handleDragStart // jqui + }); + }; + ExternalDropping.prototype.unbindFromDocument = function () { + this.stopListeningTo($(document)); + }; + // Called when a jQuery UI drag is initiated anywhere in the DOM + ExternalDropping.prototype.handleDragStart = function (ev, ui) { + var el; + var accept; + if (this.opt('droppable')) { + el = $((ui ? ui.item : null) || ev.target); + // Test that the dragged element passes the dropAccept selector or filter function. + // FYI, the default is "*" (matches all) + accept = this.opt('dropAccept'); + if ($.isFunction(accept) ? accept.call(el[0], el) : el.is(accept)) { + if (!this.isDragging) { + this.listenToExternalDrag(el, ev, ui); + } + } + } + }; + // Called when a jQuery UI drag starts and it needs to be monitored for dropping + ExternalDropping.prototype.listenToExternalDrag = function (el, ev, ui) { + var _this = this; + var component = this.component; + var view = this.view; + var meta = getDraggedElMeta(el); // extra data about event drop, including possible event to create + var singleEventDef; // a null value signals an unsuccessful drag + // listener that tracks mouse movement over date-associated pixel regions + var dragListener = this.dragListener = new HitDragListener_1.default(component, { + interactionStart: function () { + _this.isDragging = true; + }, + hitOver: function (hit) { + var isAllowed = true; + var hitFootprint = hit.component.getSafeHitFootprint(hit); // hit might not belong to this grid + var mutatedEventInstanceGroup; + if (hitFootprint) { + singleEventDef = _this.computeExternalDrop(hitFootprint, meta); + if (singleEventDef) { + mutatedEventInstanceGroup = new EventInstanceGroup_1.default(singleEventDef.buildInstances()); + isAllowed = meta.eventProps ? // isEvent? + component.isEventInstanceGroupAllowed(mutatedEventInstanceGroup) : + component.isExternalInstanceGroupAllowed(mutatedEventInstanceGroup); + } + else { + isAllowed = false; + } + } + else { + isAllowed = false; + } + if (!isAllowed) { + singleEventDef = null; + util_1.disableCursor(); + } + if (singleEventDef) { + component.renderDrag(// called without a seg parameter + component.eventRangesToEventFootprints(mutatedEventInstanceGroup.sliceRenderRanges(component.dateProfile.renderUnzonedRange, view.calendar))); + } + }, + hitOut: function () { + singleEventDef = null; // signal unsuccessful + }, + hitDone: function () { + util_1.enableCursor(); + component.unrenderDrag(); + }, + interactionEnd: function (ev) { + if (singleEventDef) { + view.reportExternalDrop(singleEventDef, Boolean(meta.eventProps), // isEvent + Boolean(meta.stick), // isSticky + el, ev, ui); + } + _this.isDragging = false; + _this.dragListener = null; + } + }); + dragListener.startDrag(ev); // start listening immediately + }; + // Given a hit to be dropped upon, and misc data associated with the jqui drag (guaranteed to be a plain object), + // returns the zoned start/end dates for the event that would result from the hypothetical drop. end might be null. + // Returning a null value signals an invalid drop hit. + // DOES NOT consider overlap/constraint. + // Assumes both footprints are non-open-ended. + ExternalDropping.prototype.computeExternalDrop = function (componentFootprint, meta) { + var calendar = this.view.calendar; + var start = moment_ext_1.default.utc(componentFootprint.unzonedRange.startMs).stripZone(); + var end; + var eventDef; + if (componentFootprint.isAllDay) { + // if dropped on an all-day span, and element's metadata specified a time, set it + if (meta.startTime) { + start.time(meta.startTime); + } + else { + start.stripTime(); + } + } + if (meta.duration) { + end = start.clone().add(meta.duration); + } + start = calendar.applyTimezone(start); + if (end) { + end = calendar.applyTimezone(end); + } + eventDef = SingleEventDef_1.default.parse($.extend({}, meta.eventProps, { + start: start, + end: end + }), new EventSource_1.default(calendar)); + return eventDef; + }; + return ExternalDropping; +}(Interaction_1.default)); +exports.default = ExternalDropping; +ListenerMixin_1.default.mixInto(ExternalDropping); +/* External-Dragging-Element Data +----------------------------------------------------------------------------------------------------------------------*/ +// Require all HTML5 data-* attributes used by FullCalendar to have this prefix. +// A value of '' will query attributes like data-event. A value of 'fc' will query attributes like data-fc-event. +exportHooks.dataAttrPrefix = ''; +// Given a jQuery element that might represent a dragged FullCalendar event, returns an intermediate data structure +// to be used for Event Object creation. +// A defined `.eventProps`, even when empty, indicates that an event should be created. +function getDraggedElMeta(el) { + var prefix = exportHooks.dataAttrPrefix; + var eventProps; // properties for creating the event, not related to date/time + var startTime; // a Duration + var duration; + var stick; + if (prefix) { + prefix += '-'; + } + eventProps = el.data(prefix + 'event') || null; + if (eventProps) { + if (typeof eventProps === 'object') { + eventProps = $.extend({}, eventProps); // make a copy + } + else { + eventProps = {}; + } + // pluck special-cased date/time properties + startTime = eventProps.start; + if (startTime == null) { + startTime = eventProps.time; + } // accept 'time' as well + duration = eventProps.duration; + stick = eventProps.stick; + delete eventProps.start; + delete eventProps.time; + delete eventProps.duration; + delete eventProps.stick; + } + // fallback to standalone attribute values for each of the date/time properties + if (startTime == null) { + startTime = el.data(prefix + 'start'); + } + if (startTime == null) { + startTime = el.data(prefix + 'time'); + } // accept 'time' as well + if (duration == null) { + duration = el.data(prefix + 'duration'); + } + if (stick == null) { + stick = el.data(prefix + 'stick'); + } + // massage into correct data types + startTime = startTime != null ? moment.duration(startTime) : null; + duration = duration != null ? moment.duration(duration) : null; + stick = Boolean(stick); + return { eventProps: eventProps, startTime: startTime, duration: duration, stick: stick }; +} + + +/***/ }), +/* 223 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var EventDefMutation_1 = __webpack_require__(37); +var EventDefDateMutation_1 = __webpack_require__(50); +var HitDragListener_1 = __webpack_require__(23); +var Interaction_1 = __webpack_require__(15); +var EventResizing = /** @class */ (function (_super) { + tslib_1.__extends(EventResizing, _super); + /* + component impements: + - bindSegHandlerToEl + - publiclyTrigger + - diffDates + - eventRangesToEventFootprints + - isEventInstanceGroupAllowed + - getSafeHitFootprint + */ + function EventResizing(component, eventPointing) { + var _this = _super.call(this, component) || this; + _this.isResizing = false; + _this.eventPointing = eventPointing; + return _this; + } + EventResizing.prototype.end = function () { + if (this.dragListener) { + this.dragListener.endInteraction(); + } + }; + EventResizing.prototype.bindToEl = function (el) { + var component = this.component; + component.bindSegHandlerToEl(el, 'mousedown', this.handleMouseDown.bind(this)); + component.bindSegHandlerToEl(el, 'touchstart', this.handleTouchStart.bind(this)); + }; + EventResizing.prototype.handleMouseDown = function (seg, ev) { + if (this.component.canStartResize(seg, ev)) { + this.buildDragListener(seg, $(ev.target).is('.fc-start-resizer')) + .startInteraction(ev, { distance: 5 }); + } + }; + EventResizing.prototype.handleTouchStart = function (seg, ev) { + if (this.component.canStartResize(seg, ev)) { + this.buildDragListener(seg, $(ev.target).is('.fc-start-resizer')) + .startInteraction(ev); + } + }; + // Creates a listener that tracks the user as they resize an event segment. + // Generic enough to work with any type of Grid. + EventResizing.prototype.buildDragListener = function (seg, isStart) { + var _this = this; + var component = this.component; + var view = this.view; + var calendar = view.calendar; + var eventManager = calendar.eventManager; + var el = seg.el; + var eventDef = seg.footprint.eventDef; + var eventInstance = seg.footprint.eventInstance; + var isDragging; + var resizeMutation; // zoned event date properties. falsy if invalid resize + // Tracks mouse movement over the *grid's* coordinate map + var dragListener = this.dragListener = new HitDragListener_1.default(component, { + scroll: this.opt('dragScroll'), + subjectEl: el, + interactionStart: function () { + isDragging = false; + }, + dragStart: function (ev) { + isDragging = true; + // ensure a mouseout on the manipulated event has been reported + _this.eventPointing.handleMouseout(seg, ev); + _this.segResizeStart(seg, ev); + }, + hitOver: function (hit, isOrig, origHit) { + var isAllowed = true; + var origHitFootprint = component.getSafeHitFootprint(origHit); + var hitFootprint = component.getSafeHitFootprint(hit); + var mutatedEventInstanceGroup; + if (origHitFootprint && hitFootprint) { + resizeMutation = isStart ? + _this.computeEventStartResizeMutation(origHitFootprint, hitFootprint, seg.footprint) : + _this.computeEventEndResizeMutation(origHitFootprint, hitFootprint, seg.footprint); + if (resizeMutation) { + mutatedEventInstanceGroup = eventManager.buildMutatedEventInstanceGroup(eventDef.id, resizeMutation); + isAllowed = component.isEventInstanceGroupAllowed(mutatedEventInstanceGroup); + } + else { + isAllowed = false; + } + } + else { + isAllowed = false; + } + if (!isAllowed) { + resizeMutation = null; + util_1.disableCursor(); + } + else if (resizeMutation.isEmpty()) { + // no change. (FYI, event dates might have zones) + resizeMutation = null; + } + if (resizeMutation) { + view.hideEventsWithId(seg.footprint.eventDef.id); + view.renderEventResize(component.eventRangesToEventFootprints(mutatedEventInstanceGroup.sliceRenderRanges(component.dateProfile.renderUnzonedRange, calendar)), seg); + } + }, + hitOut: function () { + resizeMutation = null; + }, + hitDone: function () { + view.unrenderEventResize(seg); + view.showEventsWithId(seg.footprint.eventDef.id); + util_1.enableCursor(); + }, + interactionEnd: function (ev) { + if (isDragging) { + _this.segResizeStop(seg, ev); + } + if (resizeMutation) { + // no need to re-show original, will rerender all anyways. esp important if eventRenderWait + view.reportEventResize(eventInstance, resizeMutation, el, ev); + } + _this.dragListener = null; + } + }); + return dragListener; + }; + // Called before event segment resizing starts + EventResizing.prototype.segResizeStart = function (seg, ev) { + this.isResizing = true; + this.component.publiclyTrigger('eventResizeStart', { + context: seg.el[0], + args: [ + seg.footprint.getEventLegacy(), + ev, + {}, + this.view + ] + }); + }; + // Called after event segment resizing stops + EventResizing.prototype.segResizeStop = function (seg, ev) { + this.isResizing = false; + this.component.publiclyTrigger('eventResizeStop', { + context: seg.el[0], + args: [ + seg.footprint.getEventLegacy(), + ev, + {}, + this.view + ] + }); + }; + // Returns new date-information for an event segment being resized from its start + EventResizing.prototype.computeEventStartResizeMutation = function (startFootprint, endFootprint, origEventFootprint) { + var origRange = origEventFootprint.componentFootprint.unzonedRange; + var startDelta = this.component.diffDates(endFootprint.unzonedRange.getStart(), startFootprint.unzonedRange.getStart()); + var dateMutation; + var eventDefMutation; + if (origRange.getStart().add(startDelta) < origRange.getEnd()) { + dateMutation = new EventDefDateMutation_1.default(); + dateMutation.setStartDelta(startDelta); + eventDefMutation = new EventDefMutation_1.default(); + eventDefMutation.setDateMutation(dateMutation); + return eventDefMutation; + } + return false; + }; + // Returns new date-information for an event segment being resized from its end + EventResizing.prototype.computeEventEndResizeMutation = function (startFootprint, endFootprint, origEventFootprint) { + var origRange = origEventFootprint.componentFootprint.unzonedRange; + var endDelta = this.component.diffDates(endFootprint.unzonedRange.getEnd(), startFootprint.unzonedRange.getEnd()); + var dateMutation; + var eventDefMutation; + if (origRange.getEnd().add(endDelta) > origRange.getStart()) { + dateMutation = new EventDefDateMutation_1.default(); + dateMutation.setEndDelta(endDelta); + eventDefMutation = new EventDefMutation_1.default(); + eventDefMutation.setDateMutation(dateMutation); + return eventDefMutation; + } + return false; + }; + return EventResizing; +}(Interaction_1.default)); +exports.default = EventResizing; + + +/***/ }), +/* 224 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var util_1 = __webpack_require__(4); +var EventDefMutation_1 = __webpack_require__(37); +var EventDefDateMutation_1 = __webpack_require__(50); +var DragListener_1 = __webpack_require__(54); +var HitDragListener_1 = __webpack_require__(23); +var MouseFollower_1 = __webpack_require__(244); +var Interaction_1 = __webpack_require__(15); +var EventDragging = /** @class */ (function (_super) { + tslib_1.__extends(EventDragging, _super); + /* + component implements: + - bindSegHandlerToEl + - publiclyTrigger + - diffDates + - eventRangesToEventFootprints + - isEventInstanceGroupAllowed + */ + function EventDragging(component, eventPointing) { + var _this = _super.call(this, component) || this; + _this.isDragging = false; + _this.eventPointing = eventPointing; + return _this; + } + EventDragging.prototype.end = function () { + if (this.dragListener) { + this.dragListener.endInteraction(); + } + }; + EventDragging.prototype.getSelectionDelay = function () { + var delay = this.opt('eventLongPressDelay'); + if (delay == null) { + delay = this.opt('longPressDelay'); // fallback + } + return delay; + }; + EventDragging.prototype.bindToEl = function (el) { + var component = this.component; + component.bindSegHandlerToEl(el, 'mousedown', this.handleMousedown.bind(this)); + component.bindSegHandlerToEl(el, 'touchstart', this.handleTouchStart.bind(this)); + }; + EventDragging.prototype.handleMousedown = function (seg, ev) { + if (!this.component.shouldIgnoreMouse() && + this.component.canStartDrag(seg, ev)) { + this.buildDragListener(seg).startInteraction(ev, { distance: 5 }); + } + }; + EventDragging.prototype.handleTouchStart = function (seg, ev) { + var component = this.component; + var settings = { + delay: this.view.isEventDefSelected(seg.footprint.eventDef) ? // already selected? + 0 : this.getSelectionDelay() + }; + if (component.canStartDrag(seg, ev)) { + this.buildDragListener(seg).startInteraction(ev, settings); + } + else if (component.canStartSelection(seg, ev)) { + this.buildSelectListener(seg).startInteraction(ev, settings); + } + }; + // seg isn't draggable, but let's use a generic DragListener + // simply for the delay, so it can be selected. + // Has side effect of setting/unsetting `dragListener` + EventDragging.prototype.buildSelectListener = function (seg) { + var _this = this; + var view = this.view; + var eventDef = seg.footprint.eventDef; + var eventInstance = seg.footprint.eventInstance; // null for inverse-background events + if (this.dragListener) { + return this.dragListener; + } + var dragListener = this.dragListener = new DragListener_1.default({ + dragStart: function (ev) { + if (dragListener.isTouch && + !view.isEventDefSelected(eventDef) && + eventInstance) { + // if not previously selected, will fire after a delay. then, select the event + view.selectEventInstance(eventInstance); + } + }, + interactionEnd: function (ev) { + _this.dragListener = null; + } + }); + return dragListener; + }; + // Builds a listener that will track user-dragging on an event segment. + // Generic enough to work with any type of Grid. + // Has side effect of setting/unsetting `dragListener` + EventDragging.prototype.buildDragListener = function (seg) { + var _this = this; + var component = this.component; + var view = this.view; + var calendar = view.calendar; + var eventManager = calendar.eventManager; + var el = seg.el; + var eventDef = seg.footprint.eventDef; + var eventInstance = seg.footprint.eventInstance; // null for inverse-background events + var isDragging; + var mouseFollower; // A clone of the original element that will move with the mouse + var eventDefMutation; + if (this.dragListener) { + return this.dragListener; + } + // Tracks mouse movement over the *view's* coordinate map. Allows dragging and dropping between subcomponents + // of the view. + var dragListener = this.dragListener = new HitDragListener_1.default(view, { + scroll: this.opt('dragScroll'), + subjectEl: el, + subjectCenter: true, + interactionStart: function (ev) { + seg.component = component; // for renderDrag + isDragging = false; + mouseFollower = new MouseFollower_1.default(seg.el, { + additionalClass: 'fc-dragging', + parentEl: view.el, + opacity: dragListener.isTouch ? null : _this.opt('dragOpacity'), + revertDuration: _this.opt('dragRevertDuration'), + zIndex: 2 // one above the .fc-view + }); + mouseFollower.hide(); // don't show until we know this is a real drag + mouseFollower.start(ev); + }, + dragStart: function (ev) { + if (dragListener.isTouch && + !view.isEventDefSelected(eventDef) && + eventInstance) { + // if not previously selected, will fire after a delay. then, select the event + view.selectEventInstance(eventInstance); + } + isDragging = true; + // ensure a mouseout on the manipulated event has been reported + _this.eventPointing.handleMouseout(seg, ev); + _this.segDragStart(seg, ev); + view.hideEventsWithId(seg.footprint.eventDef.id); + }, + hitOver: function (hit, isOrig, origHit) { + var isAllowed = true; + var origFootprint; + var footprint; + var mutatedEventInstanceGroup; + // starting hit could be forced (DayGrid.limit) + if (seg.hit) { + origHit = seg.hit; + } + // hit might not belong to this grid, so query origin grid + origFootprint = origHit.component.getSafeHitFootprint(origHit); + footprint = hit.component.getSafeHitFootprint(hit); + if (origFootprint && footprint) { + eventDefMutation = _this.computeEventDropMutation(origFootprint, footprint, eventDef); + if (eventDefMutation) { + mutatedEventInstanceGroup = eventManager.buildMutatedEventInstanceGroup(eventDef.id, eventDefMutation); + isAllowed = component.isEventInstanceGroupAllowed(mutatedEventInstanceGroup); + } + else { + isAllowed = false; + } + } + else { + isAllowed = false; + } + if (!isAllowed) { + eventDefMutation = null; + util_1.disableCursor(); + } + // if a valid drop location, have the subclass render a visual indication + if (eventDefMutation && + view.renderDrag(// truthy if rendered something + component.eventRangesToEventFootprints(mutatedEventInstanceGroup.sliceRenderRanges(component.dateProfile.renderUnzonedRange, calendar)), seg, dragListener.isTouch)) { + mouseFollower.hide(); // if the subclass is already using a mock event "helper", hide our own + } + else { + mouseFollower.show(); // otherwise, have the helper follow the mouse (no snapping) + } + if (isOrig) { + // needs to have moved hits to be a valid drop + eventDefMutation = null; + } + }, + hitOut: function () { + view.unrenderDrag(seg); // unrender whatever was done in renderDrag + mouseFollower.show(); // show in case we are moving out of all hits + eventDefMutation = null; + }, + hitDone: function () { + util_1.enableCursor(); + }, + interactionEnd: function (ev) { + delete seg.component; // prevent side effects + // do revert animation if hasn't changed. calls a callback when finished (whether animation or not) + mouseFollower.stop(!eventDefMutation, function () { + if (isDragging) { + view.unrenderDrag(seg); + _this.segDragStop(seg, ev); + } + view.showEventsWithId(seg.footprint.eventDef.id); + if (eventDefMutation) { + // no need to re-show original, will rerender all anyways. esp important if eventRenderWait + view.reportEventDrop(eventInstance, eventDefMutation, el, ev); + } + }); + _this.dragListener = null; + } + }); + return dragListener; + }; + // Called before event segment dragging starts + EventDragging.prototype.segDragStart = function (seg, ev) { + this.isDragging = true; + this.component.publiclyTrigger('eventDragStart', { + context: seg.el[0], + args: [ + seg.footprint.getEventLegacy(), + ev, + {}, + this.view + ] + }); + }; + // Called after event segment dragging stops + EventDragging.prototype.segDragStop = function (seg, ev) { + this.isDragging = false; + this.component.publiclyTrigger('eventDragStop', { + context: seg.el[0], + args: [ + seg.footprint.getEventLegacy(), + ev, + {}, + this.view + ] + }); + }; + // DOES NOT consider overlap/constraint + EventDragging.prototype.computeEventDropMutation = function (startFootprint, endFootprint, eventDef) { + var eventDefMutation = new EventDefMutation_1.default(); + eventDefMutation.setDateMutation(this.computeEventDateMutation(startFootprint, endFootprint)); + return eventDefMutation; + }; + EventDragging.prototype.computeEventDateMutation = function (startFootprint, endFootprint) { + var date0 = startFootprint.unzonedRange.getStart(); + var date1 = endFootprint.unzonedRange.getStart(); + var clearEnd = false; + var forceTimed = false; + var forceAllDay = false; + var dateDelta; + var dateMutation; + if (startFootprint.isAllDay !== endFootprint.isAllDay) { + clearEnd = true; + if (endFootprint.isAllDay) { + forceAllDay = true; + date0.stripTime(); + } + else { + forceTimed = true; + } + } + dateDelta = this.component.diffDates(date1, date0); + dateMutation = new EventDefDateMutation_1.default(); + dateMutation.clearEnd = clearEnd; + dateMutation.forceTimed = forceTimed; + dateMutation.forceAllDay = forceAllDay; + dateMutation.setDateDelta(dateDelta); + return dateMutation; + }; + return EventDragging; +}(Interaction_1.default)); +exports.default = EventDragging; + + +/***/ }), +/* 225 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var util_1 = __webpack_require__(4); +var HitDragListener_1 = __webpack_require__(23); +var ComponentFootprint_1 = __webpack_require__(12); +var UnzonedRange_1 = __webpack_require__(5); +var Interaction_1 = __webpack_require__(15); +var DateSelecting = /** @class */ (function (_super) { + tslib_1.__extends(DateSelecting, _super); + /* + component must implement: + - bindDateHandlerToEl + - getSafeHitFootprint + - renderHighlight + - unrenderHighlight + */ + function DateSelecting(component) { + var _this = _super.call(this, component) || this; + _this.dragListener = _this.buildDragListener(); + return _this; + } + DateSelecting.prototype.end = function () { + this.dragListener.endInteraction(); + }; + DateSelecting.prototype.getDelay = function () { + var delay = this.opt('selectLongPressDelay'); + if (delay == null) { + delay = this.opt('longPressDelay'); // fallback + } + return delay; + }; + DateSelecting.prototype.bindToEl = function (el) { + var _this = this; + var component = this.component; + var dragListener = this.dragListener; + component.bindDateHandlerToEl(el, 'mousedown', function (ev) { + if (_this.opt('selectable') && !component.shouldIgnoreMouse()) { + dragListener.startInteraction(ev, { + distance: _this.opt('selectMinDistance') + }); + } + }); + component.bindDateHandlerToEl(el, 'touchstart', function (ev) { + if (_this.opt('selectable') && !component.shouldIgnoreTouch()) { + dragListener.startInteraction(ev, { + delay: _this.getDelay() + }); + } + }); + util_1.preventSelection(el); + }; + // Creates a listener that tracks the user's drag across day elements, for day selecting. + DateSelecting.prototype.buildDragListener = function () { + var _this = this; + var component = this.component; + var selectionFootprint; // null if invalid selection + var dragListener = new HitDragListener_1.default(component, { + scroll: this.opt('dragScroll'), + interactionStart: function () { + selectionFootprint = null; + }, + dragStart: function (ev) { + _this.view.unselect(ev); // since we could be rendering a new selection, we want to clear any old one + }, + hitOver: function (hit, isOrig, origHit) { + var origHitFootprint; + var hitFootprint; + if (origHit) { + origHitFootprint = component.getSafeHitFootprint(origHit); + hitFootprint = component.getSafeHitFootprint(hit); + if (origHitFootprint && hitFootprint) { + selectionFootprint = _this.computeSelection(origHitFootprint, hitFootprint); + } + else { + selectionFootprint = null; + } + if (selectionFootprint) { + component.renderSelectionFootprint(selectionFootprint); + } + else if (selectionFootprint === false) { + util_1.disableCursor(); + } + } + }, + hitOut: function () { + selectionFootprint = null; + component.unrenderSelection(); + }, + hitDone: function () { + util_1.enableCursor(); + }, + interactionEnd: function (ev, isCancelled) { + if (!isCancelled && selectionFootprint) { + // the selection will already have been rendered. just report it + _this.view.reportSelection(selectionFootprint, ev); + } + } + }); + return dragListener; + }; + // Given the first and last date-spans of a selection, returns another date-span object. + // Subclasses can override and provide additional data in the span object. Will be passed to renderSelectionFootprint(). + // Will return false if the selection is invalid and this should be indicated to the user. + // Will return null/undefined if a selection invalid but no error should be reported. + DateSelecting.prototype.computeSelection = function (footprint0, footprint1) { + var wholeFootprint = this.computeSelectionFootprint(footprint0, footprint1); + if (wholeFootprint && !this.isSelectionFootprintAllowed(wholeFootprint)) { + return false; + } + return wholeFootprint; + }; + // Given two spans, must return the combination of the two. + // TODO: do this separation of concerns (combining VS validation) for event dnd/resize too. + // Assumes both footprints are non-open-ended. + DateSelecting.prototype.computeSelectionFootprint = function (footprint0, footprint1) { + var ms = [ + footprint0.unzonedRange.startMs, + footprint0.unzonedRange.endMs, + footprint1.unzonedRange.startMs, + footprint1.unzonedRange.endMs + ]; + ms.sort(util_1.compareNumbers); + return new ComponentFootprint_1.default(new UnzonedRange_1.default(ms[0], ms[3]), footprint0.isAllDay); + }; + DateSelecting.prototype.isSelectionFootprintAllowed = function (componentFootprint) { + return this.component.dateProfile.validUnzonedRange.containsRange(componentFootprint.unzonedRange) && + this.view.calendar.constraints.isSelectionFootprintAllowed(componentFootprint); + }; + return DateSelecting; +}(Interaction_1.default)); +exports.default = DateSelecting; + + +/***/ }), +/* 226 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var moment = __webpack_require__(0); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var Scroller_1 = __webpack_require__(39); +var View_1 = __webpack_require__(41); +var TimeGrid_1 = __webpack_require__(227); +var DayGrid_1 = __webpack_require__(61); +var AGENDA_ALL_DAY_EVENT_LIMIT = 5; +var agendaTimeGridMethods; +var agendaDayGridMethods; +/* An abstract class for all agenda-related views. Displays one more columns with time slots running vertically. +----------------------------------------------------------------------------------------------------------------------*/ +// Is a manager for the TimeGrid subcomponent and possibly the DayGrid subcomponent (if allDaySlot is on). +// Responsible for managing width/height. +var AgendaView = /** @class */ (function (_super) { + tslib_1.__extends(AgendaView, _super); + function AgendaView(calendar, viewSpec) { + var _this = _super.call(this, calendar, viewSpec) || this; + _this.usesMinMaxTime = true; // indicates that minTime/maxTime affects rendering + _this.timeGrid = _this.instantiateTimeGrid(); + _this.addChild(_this.timeGrid); + if (_this.opt('allDaySlot')) { + _this.dayGrid = _this.instantiateDayGrid(); // the all-day subcomponent of this view + _this.addChild(_this.dayGrid); + } + _this.scroller = new Scroller_1.default({ + overflowX: 'hidden', + overflowY: 'auto' + }); + return _this; + } + // Instantiates the TimeGrid object this view needs. Draws from this.timeGridClass + AgendaView.prototype.instantiateTimeGrid = function () { + var timeGrid = new this.timeGridClass(this); + util_1.copyOwnProps(agendaTimeGridMethods, timeGrid); + return timeGrid; + }; + // Instantiates the DayGrid object this view might need. Draws from this.dayGridClass + AgendaView.prototype.instantiateDayGrid = function () { + var dayGrid = new this.dayGridClass(this); + util_1.copyOwnProps(agendaDayGridMethods, dayGrid); + return dayGrid; + }; + /* Rendering + ------------------------------------------------------------------------------------------------------------------*/ + AgendaView.prototype.renderSkeleton = function () { + var timeGridWrapEl; + var timeGridEl; + this.el.addClass('fc-agenda-view').html(this.renderSkeletonHtml()); + this.scroller.render(); + timeGridWrapEl = this.scroller.el.addClass('fc-time-grid-container'); + timeGridEl = $('
').appendTo(timeGridWrapEl); + this.el.find('.fc-body > tr > td').append(timeGridWrapEl); + this.timeGrid.headContainerEl = this.el.find('.fc-head-container'); + this.timeGrid.setElement(timeGridEl); + if (this.dayGrid) { + this.dayGrid.setElement(this.el.find('.fc-day-grid')); + // have the day-grid extend it's coordinate area over the
dividing the two grids + this.dayGrid.bottomCoordPadding = this.dayGrid.el.next('hr').outerHeight(); + } + }; + AgendaView.prototype.unrenderSkeleton = function () { + this.timeGrid.removeElement(); + if (this.dayGrid) { + this.dayGrid.removeElement(); + } + this.scroller.destroy(); + }; + // Builds the HTML skeleton for the view. + // The day-grid and time-grid components will render inside containers defined by this HTML. + AgendaView.prototype.renderSkeletonHtml = function () { + var theme = this.calendar.theme; + return '' + + '' + + (this.opt('columnHeader') ? + '' + + '' + + '' + + '' + + '' : + '') + + '' + + '' + + '' + + '' + + '' + + '
 
' + + (this.dayGrid ? + '
' + + '
' : + '') + + '
'; + }; + // Generates an HTML attribute string for setting the width of the axis, if it is known + AgendaView.prototype.axisStyleAttr = function () { + if (this.axisWidth != null) { + return 'style="width:' + this.axisWidth + 'px"'; + } + return ''; + }; + /* Now Indicator + ------------------------------------------------------------------------------------------------------------------*/ + AgendaView.prototype.getNowIndicatorUnit = function () { + return this.timeGrid.getNowIndicatorUnit(); + }; + /* Dimensions + ------------------------------------------------------------------------------------------------------------------*/ + // Adjusts the vertical dimensions of the view to the specified values + AgendaView.prototype.updateSize = function (totalHeight, isAuto, isResize) { + var eventLimit; + var scrollerHeight; + var scrollbarWidths; + _super.prototype.updateSize.call(this, totalHeight, isAuto, isResize); + // make all axis cells line up, and record the width so newly created axis cells will have it + this.axisWidth = util_1.matchCellWidths(this.el.find('.fc-axis')); + // hack to give the view some height prior to timeGrid's columns being rendered + // TODO: separate setting height from scroller VS timeGrid. + if (!this.timeGrid.colEls) { + if (!isAuto) { + scrollerHeight = this.computeScrollerHeight(totalHeight); + this.scroller.setHeight(scrollerHeight); + } + return; + } + // set of fake row elements that must compensate when scroller has scrollbars + var noScrollRowEls = this.el.find('.fc-row:not(.fc-scroller *)'); + // reset all dimensions back to the original state + this.timeGrid.bottomRuleEl.hide(); // .show() will be called later if this
is necessary + this.scroller.clear(); // sets height to 'auto' and clears overflow + util_1.uncompensateScroll(noScrollRowEls); + // limit number of events in the all-day area + if (this.dayGrid) { + this.dayGrid.removeSegPopover(); // kill the "more" popover if displayed + eventLimit = this.opt('eventLimit'); + if (eventLimit && typeof eventLimit !== 'number') { + eventLimit = AGENDA_ALL_DAY_EVENT_LIMIT; // make sure "auto" goes to a real number + } + if (eventLimit) { + this.dayGrid.limitRows(eventLimit); + } + } + if (!isAuto) { + scrollerHeight = this.computeScrollerHeight(totalHeight); + this.scroller.setHeight(scrollerHeight); + scrollbarWidths = this.scroller.getScrollbarWidths(); + if (scrollbarWidths.left || scrollbarWidths.right) { + // make the all-day and header rows lines up + util_1.compensateScroll(noScrollRowEls, scrollbarWidths); + // the scrollbar compensation might have changed text flow, which might affect height, so recalculate + // and reapply the desired height to the scroller. + scrollerHeight = this.computeScrollerHeight(totalHeight); + this.scroller.setHeight(scrollerHeight); + } + // guarantees the same scrollbar widths + this.scroller.lockOverflow(scrollbarWidths); + // if there's any space below the slats, show the horizontal rule. + // this won't cause any new overflow, because lockOverflow already called. + if (this.timeGrid.getTotalSlatHeight() < scrollerHeight) { + this.timeGrid.bottomRuleEl.show(); + } + } + }; + // given a desired total height of the view, returns what the height of the scroller should be + AgendaView.prototype.computeScrollerHeight = function (totalHeight) { + return totalHeight - + util_1.subtractInnerElHeight(this.el, this.scroller.el); // everything that's NOT the scroller + }; + /* Scroll + ------------------------------------------------------------------------------------------------------------------*/ + // Computes the initial pre-configured scroll state prior to allowing the user to change it + AgendaView.prototype.computeInitialDateScroll = function () { + var scrollTime = moment.duration(this.opt('scrollTime')); + var top = this.timeGrid.computeTimeTop(scrollTime); + // zoom can give weird floating-point values. rather scroll a little bit further + top = Math.ceil(top); + if (top) { + top++; // to overcome top border that slots beyond the first have. looks better + } + return { top: top }; + }; + AgendaView.prototype.queryDateScroll = function () { + return { top: this.scroller.getScrollTop() }; + }; + AgendaView.prototype.applyDateScroll = function (scroll) { + if (scroll.top !== undefined) { + this.scroller.setScrollTop(scroll.top); + } + }; + /* Hit Areas + ------------------------------------------------------------------------------------------------------------------*/ + // forward all hit-related method calls to the grids (dayGrid might not be defined) + AgendaView.prototype.getHitFootprint = function (hit) { + // TODO: hit.component is set as a hack to identify where the hit came from + return hit.component.getHitFootprint(hit); + }; + AgendaView.prototype.getHitEl = function (hit) { + // TODO: hit.component is set as a hack to identify where the hit came from + return hit.component.getHitEl(hit); + }; + /* Event Rendering + ------------------------------------------------------------------------------------------------------------------*/ + AgendaView.prototype.executeEventRender = function (eventsPayload) { + var dayEventsPayload = {}; + var timedEventsPayload = {}; + var id; + var eventInstanceGroup; + // separate the events into all-day and timed + for (id in eventsPayload) { + eventInstanceGroup = eventsPayload[id]; + if (eventInstanceGroup.getEventDef().isAllDay()) { + dayEventsPayload[id] = eventInstanceGroup; + } + else { + timedEventsPayload[id] = eventInstanceGroup; + } + } + this.timeGrid.executeEventRender(timedEventsPayload); + if (this.dayGrid) { + this.dayGrid.executeEventRender(dayEventsPayload); + } + }; + /* Dragging/Resizing Routing + ------------------------------------------------------------------------------------------------------------------*/ + // A returned value of `true` signals that a mock "helper" event has been rendered. + AgendaView.prototype.renderDrag = function (eventFootprints, seg, isTouch) { + var groups = groupEventFootprintsByAllDay(eventFootprints); + var renderedHelper = false; + renderedHelper = this.timeGrid.renderDrag(groups.timed, seg, isTouch); + if (this.dayGrid) { + renderedHelper = this.dayGrid.renderDrag(groups.allDay, seg, isTouch) || renderedHelper; + } + return renderedHelper; + }; + AgendaView.prototype.renderEventResize = function (eventFootprints, seg, isTouch) { + var groups = groupEventFootprintsByAllDay(eventFootprints); + this.timeGrid.renderEventResize(groups.timed, seg, isTouch); + if (this.dayGrid) { + this.dayGrid.renderEventResize(groups.allDay, seg, isTouch); + } + }; + /* Selection + ------------------------------------------------------------------------------------------------------------------*/ + // Renders a visual indication of a selection + AgendaView.prototype.renderSelectionFootprint = function (componentFootprint) { + if (!componentFootprint.isAllDay) { + this.timeGrid.renderSelectionFootprint(componentFootprint); + } + else if (this.dayGrid) { + this.dayGrid.renderSelectionFootprint(componentFootprint); + } + }; + return AgendaView; +}(View_1.default)); +exports.default = AgendaView; +AgendaView.prototype.timeGridClass = TimeGrid_1.default; +AgendaView.prototype.dayGridClass = DayGrid_1.default; +// Will customize the rendering behavior of the AgendaView's timeGrid +agendaTimeGridMethods = { + // Generates the HTML that will go before the day-of week header cells + renderHeadIntroHtml: function () { + var view = this.view; + var calendar = view.calendar; + var weekStart = calendar.msToUtcMoment(this.dateProfile.renderUnzonedRange.startMs, true); + var weekText; + if (this.opt('weekNumbers')) { + weekText = weekStart.format(this.opt('smallWeekFormat')); + return '' + + '' + + view.buildGotoAnchorHtml(// aside from link, important for matchCellWidths + { date: weekStart, type: 'week', forceOff: this.colCnt > 1 }, util_1.htmlEscape(weekText) // inner HTML + ) + + ''; + } + else { + return ''; + } + }, + // Generates the HTML that goes before the bg of the TimeGrid slot area. Long vertical column. + renderBgIntroHtml: function () { + var view = this.view; + return ''; + }, + // Generates the HTML that goes before all other types of cells. + // Affects content-skeleton, helper-skeleton, highlight-skeleton for both the time-grid and day-grid. + renderIntroHtml: function () { + var view = this.view; + return ''; + } +}; +// Will customize the rendering behavior of the AgendaView's dayGrid +agendaDayGridMethods = { + // Generates the HTML that goes before the all-day cells + renderBgIntroHtml: function () { + var view = this.view; + return '' + + '' + + '' + // needed for matchCellWidths + view.getAllDayHtml() + + '' + + ''; + }, + // Generates the HTML that goes before all other types of cells. + // Affects content-skeleton, helper-skeleton, highlight-skeleton for both the time-grid and day-grid. + renderIntroHtml: function () { + var view = this.view; + return ''; + } +}; +function groupEventFootprintsByAllDay(eventFootprints) { + var allDay = []; + var timed = []; + var i; + for (i = 0; i < eventFootprints.length; i++) { + if (eventFootprints[i].componentFootprint.isAllDay) { + allDay.push(eventFootprints[i]); + } + else { + timed.push(eventFootprints[i]); + } + } + return { allDay: allDay, timed: timed }; +} + + +/***/ }), +/* 227 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var moment = __webpack_require__(0); +var util_1 = __webpack_require__(4); +var InteractiveDateComponent_1 = __webpack_require__(40); +var BusinessHourRenderer_1 = __webpack_require__(56); +var StandardInteractionsMixin_1 = __webpack_require__(60); +var DayTableMixin_1 = __webpack_require__(55); +var CoordCache_1 = __webpack_require__(53); +var UnzonedRange_1 = __webpack_require__(5); +var ComponentFootprint_1 = __webpack_require__(12); +var TimeGridEventRenderer_1 = __webpack_require__(246); +var TimeGridHelperRenderer_1 = __webpack_require__(247); +var TimeGridFillRenderer_1 = __webpack_require__(248); +/* A component that renders one or more columns of vertical time slots +----------------------------------------------------------------------------------------------------------------------*/ +// We mixin DayTable, even though there is only a single row of days +// potential nice values for the slot-duration and interval-duration +// from largest to smallest +var AGENDA_STOCK_SUB_DURATIONS = [ + { hours: 1 }, + { minutes: 30 }, + { minutes: 15 }, + { seconds: 30 }, + { seconds: 15 } +]; +var TimeGrid = /** @class */ (function (_super) { + tslib_1.__extends(TimeGrid, _super); + function TimeGrid(view) { + var _this = _super.call(this, view) || this; + _this.processOptions(); + return _this; + } + // Slices up the given span (unzoned start/end with other misc data) into an array of segments + TimeGrid.prototype.componentFootprintToSegs = function (componentFootprint) { + var segs = this.sliceRangeByTimes(componentFootprint.unzonedRange); + var i; + for (i = 0; i < segs.length; i++) { + if (this.isRTL) { + segs[i].col = this.daysPerRow - 1 - segs[i].dayIndex; + } + else { + segs[i].col = segs[i].dayIndex; + } + } + return segs; + }; + /* Date Handling + ------------------------------------------------------------------------------------------------------------------*/ + TimeGrid.prototype.sliceRangeByTimes = function (unzonedRange) { + var segs = []; + var segRange; + var dayIndex; + for (dayIndex = 0; dayIndex < this.daysPerRow; dayIndex++) { + segRange = unzonedRange.intersect(this.dayRanges[dayIndex]); + if (segRange) { + segs.push({ + startMs: segRange.startMs, + endMs: segRange.endMs, + isStart: segRange.isStart, + isEnd: segRange.isEnd, + dayIndex: dayIndex + }); + } + } + return segs; + }; + /* Options + ------------------------------------------------------------------------------------------------------------------*/ + // Parses various options into properties of this object + TimeGrid.prototype.processOptions = function () { + var slotDuration = this.opt('slotDuration'); + var snapDuration = this.opt('snapDuration'); + var input; + slotDuration = moment.duration(slotDuration); + snapDuration = snapDuration ? moment.duration(snapDuration) : slotDuration; + this.slotDuration = slotDuration; + this.snapDuration = snapDuration; + this.snapsPerSlot = slotDuration / snapDuration; // TODO: ensure an integer multiple? + // might be an array value (for TimelineView). + // if so, getting the most granular entry (the last one probably). + input = this.opt('slotLabelFormat'); + if ($.isArray(input)) { + input = input[input.length - 1]; + } + this.labelFormat = input || + this.opt('smallTimeFormat'); // the computed default + input = this.opt('slotLabelInterval'); + this.labelInterval = input ? + moment.duration(input) : + this.computeLabelInterval(slotDuration); + }; + // Computes an automatic value for slotLabelInterval + TimeGrid.prototype.computeLabelInterval = function (slotDuration) { + var i; + var labelInterval; + var slotsPerLabel; + // find the smallest stock label interval that results in more than one slots-per-label + for (i = AGENDA_STOCK_SUB_DURATIONS.length - 1; i >= 0; i--) { + labelInterval = moment.duration(AGENDA_STOCK_SUB_DURATIONS[i]); + slotsPerLabel = util_1.divideDurationByDuration(labelInterval, slotDuration); + if (util_1.isInt(slotsPerLabel) && slotsPerLabel > 1) { + return labelInterval; + } + } + return moment.duration(slotDuration); // fall back. clone + }; + /* Date Rendering + ------------------------------------------------------------------------------------------------------------------*/ + TimeGrid.prototype.renderDates = function (dateProfile) { + this.dateProfile = dateProfile; + this.updateDayTable(); + this.renderSlats(); + this.renderColumns(); + }; + TimeGrid.prototype.unrenderDates = function () { + // this.unrenderSlats(); // don't need this because repeated .html() calls clear + this.unrenderColumns(); + }; + TimeGrid.prototype.renderSkeleton = function () { + var theme = this.view.calendar.theme; + this.el.html('
' + + '
' + + ''); + this.bottomRuleEl = this.el.find('hr'); + }; + TimeGrid.prototype.renderSlats = function () { + var theme = this.view.calendar.theme; + this.slatContainerEl = this.el.find('> .fc-slats') + .html(// avoids needing ::unrenderSlats() + '' + + this.renderSlatRowHtml() + + '
'); + this.slatEls = this.slatContainerEl.find('tr'); + this.slatCoordCache = new CoordCache_1.default({ + els: this.slatEls, + isVertical: true + }); + }; + // Generates the HTML for the horizontal "slats" that run width-wise. Has a time axis on a side. Depends on RTL. + TimeGrid.prototype.renderSlatRowHtml = function () { + var view = this.view; + var calendar = view.calendar; + var theme = calendar.theme; + var isRTL = this.isRTL; + var dateProfile = this.dateProfile; + var html = ''; + var slotTime = moment.duration(+dateProfile.minTime); // wish there was .clone() for durations + var slotIterator = moment.duration(0); + var slotDate; // will be on the view's first day, but we only care about its time + var isLabeled; + var axisHtml; + // Calculate the time for each slot + while (slotTime < dateProfile.maxTime) { + slotDate = calendar.msToUtcMoment(dateProfile.renderUnzonedRange.startMs).time(slotTime); + isLabeled = util_1.isInt(util_1.divideDurationByDuration(slotIterator, this.labelInterval)); + axisHtml = + '' + + (isLabeled ? + '' + // for matchCellWidths + util_1.htmlEscape(slotDate.format(this.labelFormat)) + + '' : + '') + + ''; + html += + '' + + (!isRTL ? axisHtml : '') + + '' + + (isRTL ? axisHtml : '') + + ''; + slotTime.add(this.slotDuration); + slotIterator.add(this.slotDuration); + } + return html; + }; + TimeGrid.prototype.renderColumns = function () { + var dateProfile = this.dateProfile; + var theme = this.view.calendar.theme; + this.dayRanges = this.dayDates.map(function (dayDate) { + return new UnzonedRange_1.default(dayDate.clone().add(dateProfile.minTime), dayDate.clone().add(dateProfile.maxTime)); + }); + if (this.headContainerEl) { + this.headContainerEl.html(this.renderHeadHtml()); + } + this.el.find('> .fc-bg').html('' + + this.renderBgTrHtml(0) + // row=0 + '
'); + this.colEls = this.el.find('.fc-day, .fc-disabled-day'); + this.colCoordCache = new CoordCache_1.default({ + els: this.colEls, + isHorizontal: true + }); + this.renderContentSkeleton(); + }; + TimeGrid.prototype.unrenderColumns = function () { + this.unrenderContentSkeleton(); + }; + /* Content Skeleton + ------------------------------------------------------------------------------------------------------------------*/ + // Renders the DOM that the view's content will live in + TimeGrid.prototype.renderContentSkeleton = function () { + var cellHtml = ''; + var i; + var skeletonEl; + for (i = 0; i < this.colCnt; i++) { + cellHtml += + '' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + ''; + } + skeletonEl = this.contentSkeletonEl = $('
' + + '' + + '' + cellHtml + '' + + '
' + + '
'); + this.colContainerEls = skeletonEl.find('.fc-content-col'); + this.helperContainerEls = skeletonEl.find('.fc-helper-container'); + this.fgContainerEls = skeletonEl.find('.fc-event-container:not(.fc-helper-container)'); + this.bgContainerEls = skeletonEl.find('.fc-bgevent-container'); + this.highlightContainerEls = skeletonEl.find('.fc-highlight-container'); + this.businessContainerEls = skeletonEl.find('.fc-business-container'); + this.bookendCells(skeletonEl.find('tr')); // TODO: do this on string level + this.el.append(skeletonEl); + }; + TimeGrid.prototype.unrenderContentSkeleton = function () { + if (this.contentSkeletonEl) { + this.contentSkeletonEl.remove(); + this.contentSkeletonEl = null; + this.colContainerEls = null; + this.helperContainerEls = null; + this.fgContainerEls = null; + this.bgContainerEls = null; + this.highlightContainerEls = null; + this.businessContainerEls = null; + } + }; + // Given a flat array of segments, return an array of sub-arrays, grouped by each segment's col + TimeGrid.prototype.groupSegsByCol = function (segs) { + var segsByCol = []; + var i; + for (i = 0; i < this.colCnt; i++) { + segsByCol.push([]); + } + for (i = 0; i < segs.length; i++) { + segsByCol[segs[i].col].push(segs[i]); + } + return segsByCol; + }; + // Given segments grouped by column, insert the segments' elements into a parallel array of container + // elements, each living within a column. + TimeGrid.prototype.attachSegsByCol = function (segsByCol, containerEls) { + var col; + var segs; + var i; + for (col = 0; col < this.colCnt; col++) { + segs = segsByCol[col]; + for (i = 0; i < segs.length; i++) { + containerEls.eq(col).append(segs[i].el); + } + } + }; + /* Now Indicator + ------------------------------------------------------------------------------------------------------------------*/ + TimeGrid.prototype.getNowIndicatorUnit = function () { + return 'minute'; // will refresh on the minute + }; + TimeGrid.prototype.renderNowIndicator = function (date) { + // HACK: if date columns not ready for some reason (scheduler) + if (!this.colContainerEls) { + return; + } + // seg system might be overkill, but it handles scenario where line needs to be rendered + // more than once because of columns with the same date (resources columns for example) + var segs = this.componentFootprintToSegs(new ComponentFootprint_1.default(new UnzonedRange_1.default(date, date.valueOf() + 1), // protect against null range + false // all-day + )); + var top = this.computeDateTop(date, date); + var nodes = []; + var i; + // render lines within the columns + for (i = 0; i < segs.length; i++) { + nodes.push($('
') + .css('top', top) + .appendTo(this.colContainerEls.eq(segs[i].col))[0]); + } + // render an arrow over the axis + if (segs.length > 0) { + nodes.push($('
') + .css('top', top) + .appendTo(this.el.find('.fc-content-skeleton'))[0]); + } + this.nowIndicatorEls = $(nodes); + }; + TimeGrid.prototype.unrenderNowIndicator = function () { + if (this.nowIndicatorEls) { + this.nowIndicatorEls.remove(); + this.nowIndicatorEls = null; + } + }; + /* Coordinates + ------------------------------------------------------------------------------------------------------------------*/ + TimeGrid.prototype.updateSize = function (totalHeight, isAuto, isResize) { + _super.prototype.updateSize.call(this, totalHeight, isAuto, isResize); + this.slatCoordCache.build(); + if (isResize) { + this.updateSegVerticals([].concat(this.eventRenderer.getSegs(), this.businessSegs || [])); + } + }; + TimeGrid.prototype.getTotalSlatHeight = function () { + return this.slatContainerEl.outerHeight(); + }; + // Computes the top coordinate, relative to the bounds of the grid, of the given date. + // `ms` can be a millisecond UTC time OR a UTC moment. + // A `startOfDayDate` must be given for avoiding ambiguity over how to treat midnight. + TimeGrid.prototype.computeDateTop = function (ms, startOfDayDate) { + return this.computeTimeTop(moment.duration(ms - startOfDayDate.clone().stripTime())); + }; + // Computes the top coordinate, relative to the bounds of the grid, of the given time (a Duration). + TimeGrid.prototype.computeTimeTop = function (time) { + var len = this.slatEls.length; + var dateProfile = this.dateProfile; + var slatCoverage = (time - dateProfile.minTime) / this.slotDuration; // floating-point value of # of slots covered + var slatIndex; + var slatRemainder; + // compute a floating-point number for how many slats should be progressed through. + // from 0 to number of slats (inclusive) + // constrained because minTime/maxTime might be customized. + slatCoverage = Math.max(0, slatCoverage); + slatCoverage = Math.min(len, slatCoverage); + // an integer index of the furthest whole slat + // from 0 to number slats (*exclusive*, so len-1) + slatIndex = Math.floor(slatCoverage); + slatIndex = Math.min(slatIndex, len - 1); + // how much further through the slatIndex slat (from 0.0-1.0) must be covered in addition. + // could be 1.0 if slatCoverage is covering *all* the slots + slatRemainder = slatCoverage - slatIndex; + return this.slatCoordCache.getTopPosition(slatIndex) + + this.slatCoordCache.getHeight(slatIndex) * slatRemainder; + }; + // Refreshes the CSS top/bottom coordinates for each segment element. + // Works when called after initial render, after a window resize/zoom for example. + TimeGrid.prototype.updateSegVerticals = function (segs) { + this.computeSegVerticals(segs); + this.assignSegVerticals(segs); + }; + // For each segment in an array, computes and assigns its top and bottom properties + TimeGrid.prototype.computeSegVerticals = function (segs) { + var eventMinHeight = this.opt('agendaEventMinHeight'); + var i; + var seg; + var dayDate; + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + dayDate = this.dayDates[seg.dayIndex]; + seg.top = this.computeDateTop(seg.startMs, dayDate); + seg.bottom = Math.max(seg.top + eventMinHeight, this.computeDateTop(seg.endMs, dayDate)); + } + }; + // Given segments that already have their top/bottom properties computed, applies those values to + // the segments' elements. + TimeGrid.prototype.assignSegVerticals = function (segs) { + var i; + var seg; + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + seg.el.css(this.generateSegVerticalCss(seg)); + } + }; + // Generates an object with CSS properties for the top/bottom coordinates of a segment element + TimeGrid.prototype.generateSegVerticalCss = function (seg) { + return { + top: seg.top, + bottom: -seg.bottom // flipped because needs to be space beyond bottom edge of event container + }; + }; + /* Hit System + ------------------------------------------------------------------------------------------------------------------*/ + TimeGrid.prototype.prepareHits = function () { + this.colCoordCache.build(); + this.slatCoordCache.build(); + }; + TimeGrid.prototype.releaseHits = function () { + this.colCoordCache.clear(); + // NOTE: don't clear slatCoordCache because we rely on it for computeTimeTop + }; + TimeGrid.prototype.queryHit = function (leftOffset, topOffset) { + var snapsPerSlot = this.snapsPerSlot; + var colCoordCache = this.colCoordCache; + var slatCoordCache = this.slatCoordCache; + if (colCoordCache.isLeftInBounds(leftOffset) && slatCoordCache.isTopInBounds(topOffset)) { + var colIndex = colCoordCache.getHorizontalIndex(leftOffset); + var slatIndex = slatCoordCache.getVerticalIndex(topOffset); + if (colIndex != null && slatIndex != null) { + var slatTop = slatCoordCache.getTopOffset(slatIndex); + var slatHeight = slatCoordCache.getHeight(slatIndex); + var partial = (topOffset - slatTop) / slatHeight; // floating point number between 0 and 1 + var localSnapIndex = Math.floor(partial * snapsPerSlot); // the snap # relative to start of slat + var snapIndex = slatIndex * snapsPerSlot + localSnapIndex; + var snapTop = slatTop + (localSnapIndex / snapsPerSlot) * slatHeight; + var snapBottom = slatTop + ((localSnapIndex + 1) / snapsPerSlot) * slatHeight; + return { + col: colIndex, + snap: snapIndex, + component: this, + left: colCoordCache.getLeftOffset(colIndex), + right: colCoordCache.getRightOffset(colIndex), + top: snapTop, + bottom: snapBottom + }; + } + } + }; + TimeGrid.prototype.getHitFootprint = function (hit) { + var start = this.getCellDate(0, hit.col); // row=0 + var time = this.computeSnapTime(hit.snap); // pass in the snap-index + var end; + start.time(time); + end = start.clone().add(this.snapDuration); + return new ComponentFootprint_1.default(new UnzonedRange_1.default(start, end), false // all-day? + ); + }; + // Given a row number of the grid, representing a "snap", returns a time (Duration) from its start-of-day + TimeGrid.prototype.computeSnapTime = function (snapIndex) { + return moment.duration(this.dateProfile.minTime + this.snapDuration * snapIndex); + }; + TimeGrid.prototype.getHitEl = function (hit) { + return this.colEls.eq(hit.col); + }; + /* Event Drag Visualization + ------------------------------------------------------------------------------------------------------------------*/ + // Renders a visual indication of an event being dragged over the specified date(s). + // A returned value of `true` signals that a mock "helper" event has been rendered. + TimeGrid.prototype.renderDrag = function (eventFootprints, seg, isTouch) { + var i; + if (seg) { + if (eventFootprints.length) { + this.helperRenderer.renderEventDraggingFootprints(eventFootprints, seg, isTouch); + // signal that a helper has been rendered + return true; + } + } + else { + for (i = 0; i < eventFootprints.length; i++) { + this.renderHighlight(eventFootprints[i].componentFootprint); + } + } + }; + // Unrenders any visual indication of an event being dragged + TimeGrid.prototype.unrenderDrag = function () { + this.unrenderHighlight(); + this.helperRenderer.unrender(); + }; + /* Event Resize Visualization + ------------------------------------------------------------------------------------------------------------------*/ + // Renders a visual indication of an event being resized + TimeGrid.prototype.renderEventResize = function (eventFootprints, seg, isTouch) { + this.helperRenderer.renderEventResizingFootprints(eventFootprints, seg, isTouch); + }; + // Unrenders any visual indication of an event being resized + TimeGrid.prototype.unrenderEventResize = function () { + this.helperRenderer.unrender(); + }; + /* Selection + ------------------------------------------------------------------------------------------------------------------*/ + // Renders a visual indication of a selection. Overrides the default, which was to simply render a highlight. + TimeGrid.prototype.renderSelectionFootprint = function (componentFootprint) { + if (this.opt('selectHelper')) { + this.helperRenderer.renderComponentFootprint(componentFootprint); + } + else { + this.renderHighlight(componentFootprint); + } + }; + // Unrenders any visual indication of a selection + TimeGrid.prototype.unrenderSelection = function () { + this.helperRenderer.unrender(); + this.unrenderHighlight(); + }; + return TimeGrid; +}(InteractiveDateComponent_1.default)); +exports.default = TimeGrid; +TimeGrid.prototype.eventRendererClass = TimeGridEventRenderer_1.default; +TimeGrid.prototype.businessHourRendererClass = BusinessHourRenderer_1.default; +TimeGrid.prototype.helperRendererClass = TimeGridHelperRenderer_1.default; +TimeGrid.prototype.fillRendererClass = TimeGridFillRenderer_1.default; +StandardInteractionsMixin_1.default.mixInto(TimeGrid); +DayTableMixin_1.default.mixInto(TimeGrid); + + +/***/ }), +/* 228 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var UnzonedRange_1 = __webpack_require__(5); +var DateProfileGenerator_1 = __webpack_require__(221); +var BasicViewDateProfileGenerator = /** @class */ (function (_super) { + tslib_1.__extends(BasicViewDateProfileGenerator, _super); + function BasicViewDateProfileGenerator() { + return _super !== null && _super.apply(this, arguments) || this; + } + // Computes the date range that will be rendered. + BasicViewDateProfileGenerator.prototype.buildRenderRange = function (currentUnzonedRange, currentRangeUnit, isRangeAllDay) { + var renderUnzonedRange = _super.prototype.buildRenderRange.call(this, currentUnzonedRange, currentRangeUnit, isRangeAllDay); // an UnzonedRange + var start = this.msToUtcMoment(renderUnzonedRange.startMs, isRangeAllDay); + var end = this.msToUtcMoment(renderUnzonedRange.endMs, isRangeAllDay); + // year and month views should be aligned with weeks. this is already done for week + if (/^(year|month)$/.test(currentRangeUnit)) { + start.startOf('week'); + // make end-of-week if not already + if (end.weekday()) { + end.add(1, 'week').startOf('week'); // exclusively move backwards + } + } + return new UnzonedRange_1.default(start, end); + }; + return BasicViewDateProfileGenerator; +}(DateProfileGenerator_1.default)); +exports.default = BasicViewDateProfileGenerator; + + +/***/ }), +/* 229 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var moment = __webpack_require__(0); +var util_1 = __webpack_require__(4); +var BasicView_1 = __webpack_require__(62); +var MonthViewDateProfileGenerator_1 = __webpack_require__(253); +/* A month view with day cells running in rows (one-per-week) and columns +----------------------------------------------------------------------------------------------------------------------*/ +var MonthView = /** @class */ (function (_super) { + tslib_1.__extends(MonthView, _super); + function MonthView() { + return _super !== null && _super.apply(this, arguments) || this; + } + // Overrides the default BasicView behavior to have special multi-week auto-height logic + MonthView.prototype.setGridHeight = function (height, isAuto) { + // if auto, make the height of each row the height that it would be if there were 6 weeks + if (isAuto) { + height *= this.dayGrid.rowCnt / 6; + } + util_1.distributeHeight(this.dayGrid.rowEls, height, !isAuto); // if auto, don't compensate for height-hogging rows + }; + MonthView.prototype.isDateInOtherMonth = function (date, dateProfile) { + return date.month() !== moment.utc(dateProfile.currentUnzonedRange.startMs).month(); // TODO: optimize + }; + return MonthView; +}(BasicView_1.default)); +exports.default = MonthView; +MonthView.prototype.dateProfileGeneratorClass = MonthViewDateProfileGenerator_1.default; + + +/***/ }), +/* 230 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var UnzonedRange_1 = __webpack_require__(5); +var View_1 = __webpack_require__(41); +var Scroller_1 = __webpack_require__(39); +var ListEventRenderer_1 = __webpack_require__(254); +var ListEventPointing_1 = __webpack_require__(255); +/* +Responsible for the scroller, and forwarding event-related actions into the "grid". +*/ +var ListView = /** @class */ (function (_super) { + tslib_1.__extends(ListView, _super); + function ListView(calendar, viewSpec) { + var _this = _super.call(this, calendar, viewSpec) || this; + _this.segSelector = '.fc-list-item'; // which elements accept event actions + _this.scroller = new Scroller_1.default({ + overflowX: 'hidden', + overflowY: 'auto' + }); + return _this; + } + ListView.prototype.renderSkeleton = function () { + this.el.addClass('fc-list-view ' + + this.calendar.theme.getClass('listView')); + this.scroller.render(); + this.scroller.el.appendTo(this.el); + this.contentEl = this.scroller.scrollEl; // shortcut + }; + ListView.prototype.unrenderSkeleton = function () { + this.scroller.destroy(); // will remove the Grid too + }; + ListView.prototype.updateSize = function (totalHeight, isAuto, isResize) { + _super.prototype.updateSize.call(this, totalHeight, isAuto, isResize); + this.scroller.clear(); // sets height to 'auto' and clears overflow + if (!isAuto) { + this.scroller.setHeight(this.computeScrollerHeight(totalHeight)); + } + }; + ListView.prototype.computeScrollerHeight = function (totalHeight) { + return totalHeight - + util_1.subtractInnerElHeight(this.el, this.scroller.el); // everything that's NOT the scroller + }; + ListView.prototype.renderDates = function (dateProfile) { + var calendar = this.calendar; + var dayStart = calendar.msToUtcMoment(dateProfile.renderUnzonedRange.startMs, true); + var viewEnd = calendar.msToUtcMoment(dateProfile.renderUnzonedRange.endMs, true); + var dayDates = []; + var dayRanges = []; + while (dayStart < viewEnd) { + dayDates.push(dayStart.clone()); + dayRanges.push(new UnzonedRange_1.default(dayStart, dayStart.clone().add(1, 'day'))); + dayStart.add(1, 'day'); + } + this.dayDates = dayDates; + this.dayRanges = dayRanges; + // all real rendering happens in EventRenderer + }; + // slices by day + ListView.prototype.componentFootprintToSegs = function (footprint) { + var dayRanges = this.dayRanges; + var dayIndex; + var segRange; + var seg; + var segs = []; + for (dayIndex = 0; dayIndex < dayRanges.length; dayIndex++) { + segRange = footprint.unzonedRange.intersect(dayRanges[dayIndex]); + if (segRange) { + seg = { + startMs: segRange.startMs, + endMs: segRange.endMs, + isStart: segRange.isStart, + isEnd: segRange.isEnd, + dayIndex: dayIndex + }; + segs.push(seg); + // detect when footprint won't go fully into the next day, + // and mutate the latest seg to the be the end. + if (!seg.isEnd && !footprint.isAllDay && + dayIndex + 1 < dayRanges.length && + footprint.unzonedRange.endMs < dayRanges[dayIndex + 1].startMs + this.nextDayThreshold) { + seg.endMs = footprint.unzonedRange.endMs; + seg.isEnd = true; + break; + } + } + } + return segs; + }; + ListView.prototype.renderEmptyMessage = function () { + this.contentEl.html('
' + // TODO: try less wraps + '
' + + '
' + + util_1.htmlEscape(this.opt('noEventsMessage')) + + '
' + + '
' + + '
'); + }; + // render the event segments in the view + ListView.prototype.renderSegList = function (allSegs) { + var segsByDay = this.groupSegsByDay(allSegs); // sparse array + var dayIndex; + var daySegs; + var i; + var tableEl = $('
'); + var tbodyEl = tableEl.find('tbody'); + for (dayIndex = 0; dayIndex < segsByDay.length; dayIndex++) { + daySegs = segsByDay[dayIndex]; + if (daySegs) { + // append a day header + tbodyEl.append(this.dayHeaderHtml(this.dayDates[dayIndex])); + this.eventRenderer.sortEventSegs(daySegs); + for (i = 0; i < daySegs.length; i++) { + tbodyEl.append(daySegs[i].el); // append event row + } + } + } + this.contentEl.empty().append(tableEl); + }; + // Returns a sparse array of arrays, segs grouped by their dayIndex + ListView.prototype.groupSegsByDay = function (segs) { + var segsByDay = []; // sparse array + var i; + var seg; + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + (segsByDay[seg.dayIndex] || (segsByDay[seg.dayIndex] = [])) + .push(seg); + } + return segsByDay; + }; + // generates the HTML for the day headers that live amongst the event rows + ListView.prototype.dayHeaderHtml = function (dayDate) { + var mainFormat = this.opt('listDayFormat'); + var altFormat = this.opt('listDayAltFormat'); + return '' + + '' + + (mainFormat ? + this.buildGotoAnchorHtml(dayDate, { 'class': 'fc-list-heading-main' }, util_1.htmlEscape(dayDate.format(mainFormat)) // inner HTML + ) : + '') + + (altFormat ? + this.buildGotoAnchorHtml(dayDate, { 'class': 'fc-list-heading-alt' }, util_1.htmlEscape(dayDate.format(altFormat)) // inner HTML + ) : + '') + + '' + + ''; + }; + return ListView; +}(View_1.default)); +exports.default = ListView; +ListView.prototype.eventRendererClass = ListEventRenderer_1.default; +ListView.prototype.eventPointingClass = ListEventPointing_1.default; + + +/***/ }), +/* 231 */, +/* 232 */, +/* 233 */, +/* 234 */, +/* 235 */, +/* 236 */ +/***/ (function(module, exports, __webpack_require__) { + +var $ = __webpack_require__(3); +var exportHooks = __webpack_require__(16); +var util_1 = __webpack_require__(4); +var Calendar_1 = __webpack_require__(220); +// for intentional side-effects +__webpack_require__(10); +__webpack_require__(47); +__webpack_require__(256); +__webpack_require__(257); +__webpack_require__(260); +__webpack_require__(261); +__webpack_require__(262); +__webpack_require__(263); +$.fullCalendar = exportHooks; +$.fn.fullCalendar = function (options) { + var args = Array.prototype.slice.call(arguments, 1); // for a possible method call + var res = this; // what this function will return (this jQuery object by default) + this.each(function (i, _element) { + var element = $(_element); + var calendar = element.data('fullCalendar'); // get the existing calendrier object (if any) + var singleRes; // the returned value of this single method call + // a method call + if (typeof options === 'string') { + if (options === 'getCalendar') { + if (!i) { + res = calendar; + } + } + else if (options === 'destroy') { + if (calendar) { + calendar.destroy(); + element.removeData('fullCalendar'); + } + } + else if (!calendar) { + util_1.warn('Attempting to call a FullCalendar method on an element with no calendrier.'); + } + else if ($.isFunction(calendar[options])) { + singleRes = calendar[options].apply(calendar, args); + if (!i) { + res = singleRes; // record the first method call result + } + if (options === 'destroy') { + element.removeData('fullCalendar'); + } + } + else { + util_1.warn("'" + options + "' is an unknown FullCalendar method."); + } + } + else if (!calendar) { + calendar = new Calendar_1.default(element, options); + element.data('fullCalendar', calendar); + calendar.render(); + } + }); + return res; +}; +module.exports = exportHooks; + + +/***/ }), +/* 237 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var Model_1 = __webpack_require__(48); +var Component = /** @class */ (function (_super) { + tslib_1.__extends(Component, _super); + function Component() { + return _super !== null && _super.apply(this, arguments) || this; + } + Component.prototype.setElement = function (el) { + this.el = el; + this.bindGlobalHandlers(); + this.renderSkeleton(); + this.set('isInDom', true); + }; + Component.prototype.removeElement = function () { + this.unset('isInDom'); + this.unrenderSkeleton(); + this.unbindGlobalHandlers(); + this.el.remove(); + // NOTE: don't null-out this.el in case the View was destroyed within an API callback. + // We don't null-out the View's other jQuery element references upon destroy, + // so we shouldn't kill this.el either. + }; + Component.prototype.bindGlobalHandlers = function () { + // subclasses can override + }; + Component.prototype.unbindGlobalHandlers = function () { + // subclasses can override + }; + /* + NOTE: Can't have a `render` method. Read the deprecation notice in View::executeDateRender + */ + // Renders the basic structure of the view before any content is rendered + Component.prototype.renderSkeleton = function () { + // subclasses should implement + }; + // Unrenders the basic structure of the view + Component.prototype.unrenderSkeleton = function () { + // subclasses should implement + }; + return Component; +}(Model_1.default)); +exports.default = Component; + + +/***/ }), +/* 238 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var Iterator = /** @class */ (function () { + function Iterator(items) { + this.items = items || []; + } + /* Calls a method on every item passing the arguments through */ + Iterator.prototype.proxyCall = function (methodName) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var results = []; + this.items.forEach(function (item) { + results.push(item[methodName].apply(item, args)); + }); + return results; + }; + return Iterator; +}()); +exports.default = Iterator; + + +/***/ }), +/* 239 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +/* Toolbar with buttons and title +----------------------------------------------------------------------------------------------------------------------*/ +var Toolbar = /** @class */ (function () { + function Toolbar(calendar, toolbarOptions) { + this.el = null; // mirrors local `el` + this.viewsWithButtons = []; + this.calendar = calendar; + this.toolbarOptions = toolbarOptions; + } + // method to update toolbar-specific options, not calendrier-wide options + Toolbar.prototype.setToolbarOptions = function (newToolbarOptions) { + this.toolbarOptions = newToolbarOptions; + }; + // can be called repeatedly and will rerender + Toolbar.prototype.render = function () { + var sections = this.toolbarOptions.layout; + var el = this.el; + if (sections) { + if (!el) { + el = this.el = $("
"); + } + else { + el.empty(); + } + el.append(this.renderSection('left')) + .append(this.renderSection('right')) + .append(this.renderSection('center')) + .append('
'); + } + else { + this.removeElement(); + } + }; + Toolbar.prototype.removeElement = function () { + if (this.el) { + this.el.remove(); + this.el = null; + } + }; + Toolbar.prototype.renderSection = function (position) { + var _this = this; + var calendar = this.calendar; + var theme = calendar.theme; + var optionsManager = calendar.optionsManager; + var viewSpecManager = calendar.viewSpecManager; + var sectionEl = $('
'); + var buttonStr = this.toolbarOptions.layout[position]; + var calendarCustomButtons = optionsManager.get('customButtons') || {}; + var calendarButtonTextOverrides = optionsManager.overrides.buttonText || {}; + var calendarButtonText = optionsManager.get('buttonText') || {}; + if (buttonStr) { + $.each(buttonStr.split(' '), function (i, buttonGroupStr) { + var groupChildren = $(); + var isOnlyButtons = true; + var groupEl; + $.each(buttonGroupStr.split(','), function (j, buttonName) { + var customButtonProps; + var viewSpec; + var buttonClick; + var buttonIcon; // only one of these will be set + var buttonText; // " + var buttonInnerHtml; + var buttonClasses; + var buttonEl; + var buttonAriaAttr; + if (buttonName === 'title') { + groupChildren = groupChildren.add($('

 

')); // we always want it to take up height + isOnlyButtons = false; + } + else { + if ((customButtonProps = calendarCustomButtons[buttonName])) { + buttonClick = function (ev) { + if (customButtonProps.click) { + customButtonProps.click.call(buttonEl[0], ev); + } + }; + (buttonIcon = theme.getCustomButtonIconClass(customButtonProps)) || + (buttonIcon = theme.getIconClass(buttonName)) || + (buttonText = customButtonProps.text); + } + else if ((viewSpec = viewSpecManager.getViewSpec(buttonName))) { + _this.viewsWithButtons.push(buttonName); + buttonClick = function () { + calendar.changeView(buttonName); + }; + (buttonText = viewSpec.buttonTextOverride) || + (buttonIcon = theme.getIconClass(buttonName)) || + (buttonText = viewSpec.buttonTextDefault); + } + else if (calendar[buttonName]) { + buttonClick = function () { + calendar[buttonName](); + }; + (buttonText = calendarButtonTextOverrides[buttonName]) || + (buttonIcon = theme.getIconClass(buttonName)) || + (buttonText = calendarButtonText[buttonName]); + // ^ everything else is considered default + } + if (buttonClick) { + buttonClasses = [ + 'fc-' + buttonName + '-button', + theme.getClass('button'), + theme.getClass('stateDefault') + ]; + if (buttonText) { + buttonInnerHtml = util_1.htmlEscape(buttonText); + buttonAriaAttr = ''; + } + else if (buttonIcon) { + buttonInnerHtml = ""; + buttonAriaAttr = ' aria-label="' + buttonName + '"'; + } + buttonEl = $(// type="button" so that it doesn't submit a form + '') + .click(function (ev) { + // don't process clicks for disabled buttons + if (!buttonEl.hasClass(theme.getClass('stateDisabled'))) { + buttonClick(ev); + // after the click action, if the button becomes the "active" tab, or disabled, + // it should never have a hover class, so remove it now. + if (buttonEl.hasClass(theme.getClass('stateActive')) || + buttonEl.hasClass(theme.getClass('stateDisabled'))) { + buttonEl.removeClass(theme.getClass('stateHover')); + } + } + }) + .mousedown(function () { + // the *down* effect (mouse pressed in). + // only on buttons that are not the "active" tab, or disabled + buttonEl + .not('.' + theme.getClass('stateActive')) + .not('.' + theme.getClass('stateDisabled')) + .addClass(theme.getClass('stateDown')); + }) + .mouseup(function () { + // undo the *down* effect + buttonEl.removeClass(theme.getClass('stateDown')); + }) + .hover(function () { + // the *hover* effect. + // only on buttons that are not the "active" tab, or disabled + buttonEl + .not('.' + theme.getClass('stateActive')) + .not('.' + theme.getClass('stateDisabled')) + .addClass(theme.getClass('stateHover')); + }, function () { + // undo the *hover* effect + buttonEl + .removeClass(theme.getClass('stateHover')) + .removeClass(theme.getClass('stateDown')); // if mouseleave happens before mouseup + }); + groupChildren = groupChildren.add(buttonEl); + } + } + }); + if (isOnlyButtons) { + groupChildren + .first().addClass(theme.getClass('cornerLeft')).end() + .last().addClass(theme.getClass('cornerRight')).end(); + } + if (groupChildren.length > 1) { + groupEl = $('
'); + if (isOnlyButtons) { + groupEl.addClass(theme.getClass('buttonGroup')); + } + groupEl.append(groupChildren); + sectionEl.append(groupEl); + } + else { + sectionEl.append(groupChildren); // 1 or 0 children + } + }); + } + return sectionEl; + }; + Toolbar.prototype.updateTitle = function (text) { + if (this.el) { + this.el.find('h2').text(text); + } + }; + Toolbar.prototype.activateButton = function (buttonName) { + if (this.el) { + this.el.find('.fc-' + buttonName + '-button') + .addClass(this.calendar.theme.getClass('stateActive')); + } + }; + Toolbar.prototype.deactivateButton = function (buttonName) { + if (this.el) { + this.el.find('.fc-' + buttonName + '-button') + .removeClass(this.calendar.theme.getClass('stateActive')); + } + }; + Toolbar.prototype.disableButton = function (buttonName) { + if (this.el) { + this.el.find('.fc-' + buttonName + '-button') + .prop('disabled', true) + .addClass(this.calendar.theme.getClass('stateDisabled')); + } + }; + Toolbar.prototype.enableButton = function (buttonName) { + if (this.el) { + this.el.find('.fc-' + buttonName + '-button') + .prop('disabled', false) + .removeClass(this.calendar.theme.getClass('stateDisabled')); + } + }; + Toolbar.prototype.getViewsWithButtons = function () { + return this.viewsWithButtons; + }; + return Toolbar; +}()); +exports.default = Toolbar; + + +/***/ }), +/* 240 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var options_1 = __webpack_require__(32); +var locale_1 = __webpack_require__(31); +var Model_1 = __webpack_require__(48); +var OptionsManager = /** @class */ (function (_super) { + tslib_1.__extends(OptionsManager, _super); + function OptionsManager(_calendar, overrides) { + var _this = _super.call(this) || this; + _this._calendar = _calendar; + _this.overrides = $.extend({}, overrides); // make a copy + _this.dynamicOverrides = {}; + _this.compute(); + return _this; + } + OptionsManager.prototype.add = function (newOptionHash) { + var optionCnt = 0; + var optionName; + this.recordOverrides(newOptionHash); // will trigger this model's watchers + for (optionName in newOptionHash) { + optionCnt++; + } + // special-case handling of single option change. + // if only one option change, `optionName` will be its name. + if (optionCnt === 1) { + if (optionName === 'height' || optionName === 'contentHeight' || optionName === 'aspectRatio') { + this._calendar.updateViewSize(true); // isResize=true + return; + } + else if (optionName === 'defaultDate') { + return; // can't change date this way. use gotoDate instead + } + else if (optionName === 'businessHours') { + return; // this model already reacts to this + } + else if (/^(event|select)(Overlap|Constraint|Allow)$/.test(optionName)) { + return; // doesn't affect rendering. only interactions. + } + else if (optionName === 'timezone') { + this._calendar.view.flash('initialEvents'); + return; + } + } + // catch-all. rerender the header and footer and rebuild/rerender the current view + this._calendar.renderHeader(); + this._calendar.renderFooter(); + // even non-current views will be affected by this option change. do before rerender + // TODO: detangle + this._calendar.viewsByType = {}; + this._calendar.reinitView(); + }; + // Computes the flattened options hash for the calendrier and assigns to `this.options`. + // Assumes this.overrides and this.dynamicOverrides have already been initialized. + OptionsManager.prototype.compute = function () { + var locale; + var localeDefaults; + var isRTL; + var dirDefaults; + var rawOptions; + locale = util_1.firstDefined(// explicit locale option given? + this.dynamicOverrides.locale, this.overrides.locale); + localeDefaults = locale_1.localeOptionHash[locale]; + if (!localeDefaults) { + locale = options_1.globalDefaults.locale; + localeDefaults = locale_1.localeOptionHash[locale] || {}; + } + isRTL = util_1.firstDefined(// based on options computed so far, is direction RTL? + this.dynamicOverrides.isRTL, this.overrides.isRTL, localeDefaults.isRTL, options_1.globalDefaults.isRTL); + dirDefaults = isRTL ? options_1.rtlDefaults : {}; + this.dirDefaults = dirDefaults; + this.localeDefaults = localeDefaults; + rawOptions = options_1.mergeOptions([ + options_1.globalDefaults, + dirDefaults, + localeDefaults, + this.overrides, + this.dynamicOverrides + ]); + locale_1.populateInstanceComputableOptions(rawOptions); // fill in gaps with computed options + this.reset(rawOptions); + }; + // stores the new options internally, but does not rerender anything. + OptionsManager.prototype.recordOverrides = function (newOptionHash) { + var optionName; + for (optionName in newOptionHash) { + this.dynamicOverrides[optionName] = newOptionHash[optionName]; + } + this._calendar.viewSpecManager.clearCache(); // the dynamic override invalidates the options in this cache, so just clear it + this.compute(); // this.options needs to be recomputed after the dynamic override + }; + return OptionsManager; +}(Model_1.default)); +exports.default = OptionsManager; + + +/***/ }), +/* 241 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var moment = __webpack_require__(0); +var $ = __webpack_require__(3); +var ViewRegistry_1 = __webpack_require__(22); +var util_1 = __webpack_require__(4); +var options_1 = __webpack_require__(32); +var locale_1 = __webpack_require__(31); +var ViewSpecManager = /** @class */ (function () { + function ViewSpecManager(optionsManager, _calendar) { + this.optionsManager = optionsManager; + this._calendar = _calendar; + this.clearCache(); + } + ViewSpecManager.prototype.clearCache = function () { + this.viewSpecCache = {}; + }; + // Gets information about how to create a view. Will use a cache. + ViewSpecManager.prototype.getViewSpec = function (viewType) { + var cache = this.viewSpecCache; + return cache[viewType] || (cache[viewType] = this.buildViewSpec(viewType)); + }; + // Given a duration singular unit, like "week" or "day", finds a matching view spec. + // Preference is given to views that have corresponding buttons. + ViewSpecManager.prototype.getUnitViewSpec = function (unit) { + var viewTypes; + var i; + var spec; + if ($.inArray(unit, util_1.unitsDesc) !== -1) { + // put views that have buttons first. there will be duplicates, but oh well + viewTypes = this._calendar.header.getViewsWithButtons(); // TODO: include footer as well? + $.each(ViewRegistry_1.viewHash, function (viewType) { + viewTypes.push(viewType); + }); + for (i = 0; i < viewTypes.length; i++) { + spec = this.getViewSpec(viewTypes[i]); + if (spec) { + if (spec.singleUnit === unit) { + return spec; + } + } + } + } + }; + // Builds an object with information on how to create a given view + ViewSpecManager.prototype.buildViewSpec = function (requestedViewType) { + var viewOverrides = this.optionsManager.overrides.views || {}; + var specChain = []; // for the view. lowest to highest priority + var defaultsChain = []; // for the view. lowest to highest priority + var overridesChain = []; // for the view. lowest to highest priority + var viewType = requestedViewType; + var spec; // for the view + var overrides; // for the view + var durationInput; + var duration; + var unit; + // iterate from the specific view definition to a more general one until we hit an actual View class + while (viewType) { + spec = ViewRegistry_1.viewHash[viewType]; + overrides = viewOverrides[viewType]; + viewType = null; // clear. might repopulate for another iteration + if (typeof spec === 'function') { + spec = { 'class': spec }; + } + if (spec) { + specChain.unshift(spec); + defaultsChain.unshift(spec.defaults || {}); + durationInput = durationInput || spec.duration; + viewType = viewType || spec.type; + } + if (overrides) { + overridesChain.unshift(overrides); // view-specific option hashes have options at zero-level + durationInput = durationInput || overrides.duration; + viewType = viewType || overrides.type; + } + } + spec = util_1.mergeProps(specChain); + spec.type = requestedViewType; + if (!spec['class']) { + return false; + } + // fall back to top-level `duration` option + durationInput = durationInput || + this.optionsManager.dynamicOverrides.duration || + this.optionsManager.overrides.duration; + if (durationInput) { + duration = moment.duration(durationInput); + if (duration.valueOf()) { + unit = util_1.computeDurationGreatestUnit(duration, durationInput); + spec.duration = duration; + spec.durationUnit = unit; + // view is a single-unit duration, like "week" or "day" + // incorporate options for this. lowest priority + if (duration.as(unit) === 1) { + spec.singleUnit = unit; + overridesChain.unshift(viewOverrides[unit] || {}); + } + } + } + spec.defaults = options_1.mergeOptions(defaultsChain); + spec.overrides = options_1.mergeOptions(overridesChain); + this.buildViewSpecOptions(spec); + this.buildViewSpecButtonText(spec, requestedViewType); + return spec; + }; + // Builds and assigns a view spec's options object from its already-assigned defaults and overrides + ViewSpecManager.prototype.buildViewSpecOptions = function (spec) { + var optionsManager = this.optionsManager; + spec.options = options_1.mergeOptions([ + options_1.globalDefaults, + spec.defaults, + optionsManager.dirDefaults, + optionsManager.localeDefaults, + optionsManager.overrides, + spec.overrides, + optionsManager.dynamicOverrides // dynamically set via setter. highest precedence + ]); + locale_1.populateInstanceComputableOptions(spec.options); + }; + // Computes and assigns a view spec's buttonText-related options + ViewSpecManager.prototype.buildViewSpecButtonText = function (spec, requestedViewType) { + var optionsManager = this.optionsManager; + // given an options object with a possible `buttonText` hash, lookup the buttonText for the + // requested view, falling back to a generic unit entry like "week" or "day" + function queryButtonText(options) { + var buttonText = options.buttonText || {}; + return buttonText[requestedViewType] || + // view can decide to look up a certain key + (spec.buttonTextKey ? buttonText[spec.buttonTextKey] : null) || + // a key like "month" + (spec.singleUnit ? buttonText[spec.singleUnit] : null); + } + // highest to lowest priority + spec.buttonTextOverride = + queryButtonText(optionsManager.dynamicOverrides) || + queryButtonText(optionsManager.overrides) || // constructor-specified buttonText lookup hash takes precedence + spec.overrides.buttonText; // `buttonText` for view-specific options is a string + // highest to lowest priority. mirrors buildViewSpecOptions + spec.buttonTextDefault = + queryButtonText(optionsManager.localeDefaults) || + queryButtonText(optionsManager.dirDefaults) || + spec.defaults.buttonText || // a single string. from ViewSubclass.defaults + queryButtonText(options_1.globalDefaults) || + (spec.duration ? this._calendar.humanizeDuration(spec.duration) : null) || // like "3 days" + requestedViewType; // fall back to given view name + }; + return ViewSpecManager; +}()); +exports.default = ViewSpecManager; + + +/***/ }), +/* 242 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var EventPeriod_1 = __webpack_require__(243); +var ArrayEventSource_1 = __webpack_require__(52); +var EventSource_1 = __webpack_require__(6); +var EventSourceParser_1 = __webpack_require__(38); +var SingleEventDef_1 = __webpack_require__(13); +var EventInstanceGroup_1 = __webpack_require__(18); +var EmitterMixin_1 = __webpack_require__(11); +var ListenerMixin_1 = __webpack_require__(7); +var EventManager = /** @class */ (function () { + function EventManager(calendar) { + this.calendar = calendar; + this.stickySource = new ArrayEventSource_1.default(calendar); + this.otherSources = []; + } + EventManager.prototype.requestEvents = function (start, end, timezone, force) { + if (force || + !this.currentPeriod || + !this.currentPeriod.isWithinRange(start, end) || + timezone !== this.currentPeriod.timezone) { + this.setPeriod(// will change this.currentPeriod + new EventPeriod_1.default(start, end, timezone)); + } + return this.currentPeriod.whenReleased(); + }; + // Source Adding/Removing + // ----------------------------------------------------------------------------------------------------------------- + EventManager.prototype.addSource = function (eventSource) { + this.otherSources.push(eventSource); + if (this.currentPeriod) { + this.currentPeriod.requestSource(eventSource); // might release + } + }; + EventManager.prototype.removeSource = function (doomedSource) { + util_1.removeExact(this.otherSources, doomedSource); + if (this.currentPeriod) { + this.currentPeriod.purgeSource(doomedSource); // might release + } + }; + EventManager.prototype.removeAllSources = function () { + this.otherSources = []; + if (this.currentPeriod) { + this.currentPeriod.purgeAllSources(); // might release + } + }; + // Source Refetching + // ----------------------------------------------------------------------------------------------------------------- + EventManager.prototype.refetchSource = function (eventSource) { + var currentPeriod = this.currentPeriod; + if (currentPeriod) { + currentPeriod.freeze(); + currentPeriod.purgeSource(eventSource); + currentPeriod.requestSource(eventSource); + currentPeriod.thaw(); + } + }; + EventManager.prototype.refetchAllSources = function () { + var currentPeriod = this.currentPeriod; + if (currentPeriod) { + currentPeriod.freeze(); + currentPeriod.purgeAllSources(); + currentPeriod.requestSources(this.getSources()); + currentPeriod.thaw(); + } + }; + // Source Querying + // ----------------------------------------------------------------------------------------------------------------- + EventManager.prototype.getSources = function () { + return [this.stickySource].concat(this.otherSources); + }; + // like querySources, but accepts multple match criteria (like multiple IDs) + EventManager.prototype.multiQuerySources = function (matchInputs) { + // coerce into an array + if (!matchInputs) { + matchInputs = []; + } + else if (!$.isArray(matchInputs)) { + matchInputs = [matchInputs]; + } + var matchingSources = []; + var i; + // resolve raw inputs to real event source objects + for (i = 0; i < matchInputs.length; i++) { + matchingSources.push.apply(// append + matchingSources, this.querySources(matchInputs[i])); + } + return matchingSources; + }; + // matchInput can either by a real event source object, an ID, or the function/URL for the source. + // returns an array of matching source objects. + EventManager.prototype.querySources = function (matchInput) { + var sources = this.otherSources; + var i; + var source; + // given a proper event source object + for (i = 0; i < sources.length; i++) { + source = sources[i]; + if (source === matchInput) { + return [source]; + } + } + // an ID match + source = this.getSourceById(EventSource_1.default.normalizeId(matchInput)); + if (source) { + return [source]; + } + // parse as an event source + matchInput = EventSourceParser_1.default.parse(matchInput, this.calendar); + if (matchInput) { + return $.grep(sources, function (source) { + return isSourcesEquivalent(matchInput, source); + }); + } + }; + /* + ID assumed to already be normalized + */ + EventManager.prototype.getSourceById = function (id) { + return $.grep(this.otherSources, function (source) { + return source.id && source.id === id; + })[0]; + }; + // Event-Period + // ----------------------------------------------------------------------------------------------------------------- + EventManager.prototype.setPeriod = function (eventPeriod) { + if (this.currentPeriod) { + this.unbindPeriod(this.currentPeriod); + this.currentPeriod = null; + } + this.currentPeriod = eventPeriod; + this.bindPeriod(eventPeriod); + eventPeriod.requestSources(this.getSources()); + }; + EventManager.prototype.bindPeriod = function (eventPeriod) { + this.listenTo(eventPeriod, 'release', function (eventsPayload) { + this.trigger('release', eventsPayload); + }); + }; + EventManager.prototype.unbindPeriod = function (eventPeriod) { + this.stopListeningTo(eventPeriod); + }; + // Event Getting/Adding/Removing + // ----------------------------------------------------------------------------------------------------------------- + EventManager.prototype.getEventDefByUid = function (uid) { + if (this.currentPeriod) { + return this.currentPeriod.getEventDefByUid(uid); + } + }; + EventManager.prototype.addEventDef = function (eventDef, isSticky) { + if (isSticky) { + this.stickySource.addEventDef(eventDef); + } + if (this.currentPeriod) { + this.currentPeriod.addEventDef(eventDef); // might release + } + }; + EventManager.prototype.removeEventDefsById = function (eventId) { + this.getSources().forEach(function (eventSource) { + eventSource.removeEventDefsById(eventId); + }); + if (this.currentPeriod) { + this.currentPeriod.removeEventDefsById(eventId); // might release + } + }; + EventManager.prototype.removeAllEventDefs = function () { + this.getSources().forEach(function (eventSource) { + eventSource.removeAllEventDefs(); + }); + if (this.currentPeriod) { + this.currentPeriod.removeAllEventDefs(); + } + }; + // Event Mutating + // ----------------------------------------------------------------------------------------------------------------- + /* + Returns an undo function. + */ + EventManager.prototype.mutateEventsWithId = function (eventDefId, eventDefMutation) { + var currentPeriod = this.currentPeriod; + var eventDefs; + var undoFuncs = []; + if (currentPeriod) { + currentPeriod.freeze(); + eventDefs = currentPeriod.getEventDefsById(eventDefId); + eventDefs.forEach(function (eventDef) { + // add/remove esp because id might change + currentPeriod.removeEventDef(eventDef); + undoFuncs.push(eventDefMutation.mutateSingle(eventDef)); + currentPeriod.addEventDef(eventDef); + }); + currentPeriod.thaw(); + return function () { + currentPeriod.freeze(); + for (var i = 0; i < eventDefs.length; i++) { + currentPeriod.removeEventDef(eventDefs[i]); + undoFuncs[i](); + currentPeriod.addEventDef(eventDefs[i]); + } + currentPeriod.thaw(); + }; + } + return function () { }; + }; + /* + copies and then mutates + */ + EventManager.prototype.buildMutatedEventInstanceGroup = function (eventDefId, eventDefMutation) { + var eventDefs = this.getEventDefsById(eventDefId); + var i; + var defCopy; + var allInstances = []; + for (i = 0; i < eventDefs.length; i++) { + defCopy = eventDefs[i].clone(); + if (defCopy instanceof SingleEventDef_1.default) { + eventDefMutation.mutateSingle(defCopy); + allInstances.push.apply(allInstances, // append + defCopy.buildInstances()); + } + } + return new EventInstanceGroup_1.default(allInstances); + }; + // Freezing + // ----------------------------------------------------------------------------------------------------------------- + EventManager.prototype.freeze = function () { + if (this.currentPeriod) { + this.currentPeriod.freeze(); + } + }; + EventManager.prototype.thaw = function () { + if (this.currentPeriod) { + this.currentPeriod.thaw(); + } + }; + // methods that simply forward to EventPeriod + EventManager.prototype.getEventDefsById = function (eventDefId) { + return this.currentPeriod.getEventDefsById(eventDefId); + }; + EventManager.prototype.getEventInstances = function () { + return this.currentPeriod.getEventInstances(); + }; + EventManager.prototype.getEventInstancesWithId = function (eventDefId) { + return this.currentPeriod.getEventInstancesWithId(eventDefId); + }; + EventManager.prototype.getEventInstancesWithoutId = function (eventDefId) { + return this.currentPeriod.getEventInstancesWithoutId(eventDefId); + }; + return EventManager; +}()); +exports.default = EventManager; +EmitterMixin_1.default.mixInto(EventManager); +ListenerMixin_1.default.mixInto(EventManager); +function isSourcesEquivalent(source0, source1) { + return source0.getPrimitive() === source1.getPrimitive(); +} + + +/***/ }), +/* 243 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var Promise_1 = __webpack_require__(20); +var EmitterMixin_1 = __webpack_require__(11); +var UnzonedRange_1 = __webpack_require__(5); +var EventInstanceGroup_1 = __webpack_require__(18); +var EventPeriod = /** @class */ (function () { + function EventPeriod(start, end, timezone) { + this.pendingCnt = 0; + this.freezeDepth = 0; + this.stuntedReleaseCnt = 0; + this.releaseCnt = 0; + this.start = start; + this.end = end; + this.timezone = timezone; + this.unzonedRange = new UnzonedRange_1.default(start.clone().stripZone(), end.clone().stripZone()); + this.requestsByUid = {}; + this.eventDefsByUid = {}; + this.eventDefsById = {}; + this.eventInstanceGroupsById = {}; + } + EventPeriod.prototype.isWithinRange = function (start, end) { + // TODO: use a range util function? + return !start.isBefore(this.start) && !end.isAfter(this.end); + }; + // Requesting and Purging + // ----------------------------------------------------------------------------------------------------------------- + EventPeriod.prototype.requestSources = function (sources) { + this.freeze(); + for (var i = 0; i < sources.length; i++) { + this.requestSource(sources[i]); + } + this.thaw(); + }; + EventPeriod.prototype.requestSource = function (source) { + var _this = this; + var request = { source: source, status: 'pending', eventDefs: null }; + this.requestsByUid[source.uid] = request; + this.pendingCnt += 1; + source.fetch(this.start, this.end, this.timezone).then(function (eventDefs) { + if (request.status !== 'cancelled') { + request.status = 'completed'; + request.eventDefs = eventDefs; + _this.addEventDefs(eventDefs); + _this.pendingCnt--; + _this.tryRelease(); + } + }, function () { + if (request.status !== 'cancelled') { + request.status = 'failed'; + _this.pendingCnt--; + _this.tryRelease(); + } + }); + }; + EventPeriod.prototype.purgeSource = function (source) { + var request = this.requestsByUid[source.uid]; + if (request) { + delete this.requestsByUid[source.uid]; + if (request.status === 'pending') { + request.status = 'cancelled'; + this.pendingCnt--; + this.tryRelease(); + } + else if (request.status === 'completed') { + request.eventDefs.forEach(this.removeEventDef.bind(this)); + } + } + }; + EventPeriod.prototype.purgeAllSources = function () { + var requestsByUid = this.requestsByUid; + var uid; + var request; + var completedCnt = 0; + for (uid in requestsByUid) { + request = requestsByUid[uid]; + if (request.status === 'pending') { + request.status = 'cancelled'; + } + else if (request.status === 'completed') { + completedCnt++; + } + } + this.requestsByUid = {}; + this.pendingCnt = 0; + if (completedCnt) { + this.removeAllEventDefs(); // might release + } + }; + // Event Definitions + // ----------------------------------------------------------------------------------------------------------------- + EventPeriod.prototype.getEventDefByUid = function (eventDefUid) { + return this.eventDefsByUid[eventDefUid]; + }; + EventPeriod.prototype.getEventDefsById = function (eventDefId) { + var a = this.eventDefsById[eventDefId]; + if (a) { + return a.slice(); // clone + } + return []; + }; + EventPeriod.prototype.addEventDefs = function (eventDefs) { + for (var i = 0; i < eventDefs.length; i++) { + this.addEventDef(eventDefs[i]); + } + }; + EventPeriod.prototype.addEventDef = function (eventDef) { + var eventDefsById = this.eventDefsById; + var eventDefId = eventDef.id; + var eventDefs = eventDefsById[eventDefId] || (eventDefsById[eventDefId] = []); + var eventInstances = eventDef.buildInstances(this.unzonedRange); + var i; + eventDefs.push(eventDef); + this.eventDefsByUid[eventDef.uid] = eventDef; + for (i = 0; i < eventInstances.length; i++) { + this.addEventInstance(eventInstances[i], eventDefId); + } + }; + EventPeriod.prototype.removeEventDefsById = function (eventDefId) { + var _this = this; + this.getEventDefsById(eventDefId).forEach(function (eventDef) { + _this.removeEventDef(eventDef); + }); + }; + EventPeriod.prototype.removeAllEventDefs = function () { + var isEmpty = $.isEmptyObject(this.eventDefsByUid); + this.eventDefsByUid = {}; + this.eventDefsById = {}; + this.eventInstanceGroupsById = {}; + if (!isEmpty) { + this.tryRelease(); + } + }; + EventPeriod.prototype.removeEventDef = function (eventDef) { + var eventDefsById = this.eventDefsById; + var eventDefs = eventDefsById[eventDef.id]; + delete this.eventDefsByUid[eventDef.uid]; + if (eventDefs) { + util_1.removeExact(eventDefs, eventDef); + if (!eventDefs.length) { + delete eventDefsById[eventDef.id]; + } + this.removeEventInstancesForDef(eventDef); + } + }; + // Event Instances + // ----------------------------------------------------------------------------------------------------------------- + EventPeriod.prototype.getEventInstances = function () { + var eventInstanceGroupsById = this.eventInstanceGroupsById; + var eventInstances = []; + var id; + for (id in eventInstanceGroupsById) { + eventInstances.push.apply(eventInstances, // append + eventInstanceGroupsById[id].eventInstances); + } + return eventInstances; + }; + EventPeriod.prototype.getEventInstancesWithId = function (eventDefId) { + var eventInstanceGroup = this.eventInstanceGroupsById[eventDefId]; + if (eventInstanceGroup) { + return eventInstanceGroup.eventInstances.slice(); // clone + } + return []; + }; + EventPeriod.prototype.getEventInstancesWithoutId = function (eventDefId) { + var eventInstanceGroupsById = this.eventInstanceGroupsById; + var matchingInstances = []; + var id; + for (id in eventInstanceGroupsById) { + if (id !== eventDefId) { + matchingInstances.push.apply(matchingInstances, // append + eventInstanceGroupsById[id].eventInstances); + } + } + return matchingInstances; + }; + EventPeriod.prototype.addEventInstance = function (eventInstance, eventDefId) { + var eventInstanceGroupsById = this.eventInstanceGroupsById; + var eventInstanceGroup = eventInstanceGroupsById[eventDefId] || + (eventInstanceGroupsById[eventDefId] = new EventInstanceGroup_1.default()); + eventInstanceGroup.eventInstances.push(eventInstance); + this.tryRelease(); + }; + EventPeriod.prototype.removeEventInstancesForDef = function (eventDef) { + var eventInstanceGroupsById = this.eventInstanceGroupsById; + var eventInstanceGroup = eventInstanceGroupsById[eventDef.id]; + var removeCnt; + if (eventInstanceGroup) { + removeCnt = util_1.removeMatching(eventInstanceGroup.eventInstances, function (currentEventInstance) { + return currentEventInstance.def === eventDef; + }); + if (!eventInstanceGroup.eventInstances.length) { + delete eventInstanceGroupsById[eventDef.id]; + } + if (removeCnt) { + this.tryRelease(); + } + } + }; + // Releasing and Freezing + // ----------------------------------------------------------------------------------------------------------------- + EventPeriod.prototype.tryRelease = function () { + if (!this.pendingCnt) { + if (!this.freezeDepth) { + this.release(); + } + else { + this.stuntedReleaseCnt++; + } + } + }; + EventPeriod.prototype.release = function () { + this.releaseCnt++; + this.trigger('release', this.eventInstanceGroupsById); + }; + EventPeriod.prototype.whenReleased = function () { + var _this = this; + if (this.releaseCnt) { + return Promise_1.default.resolve(this.eventInstanceGroupsById); + } + else { + return Promise_1.default.construct(function (onResolve) { + _this.one('release', onResolve); + }); + } + }; + EventPeriod.prototype.freeze = function () { + if (!(this.freezeDepth++)) { + this.stuntedReleaseCnt = 0; + } + }; + EventPeriod.prototype.thaw = function () { + if (!(--this.freezeDepth) && this.stuntedReleaseCnt && !this.pendingCnt) { + this.release(); + } + }; + return EventPeriod; +}()); +exports.default = EventPeriod; +EmitterMixin_1.default.mixInto(EventPeriod); + + +/***/ }), +/* 244 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var ListenerMixin_1 = __webpack_require__(7); +/* Creates a clone of an element and lets it track the mouse as it moves +----------------------------------------------------------------------------------------------------------------------*/ +var MouseFollower = /** @class */ (function () { + function MouseFollower(sourceEl, options) { + this.isFollowing = false; + this.isHidden = false; + this.isAnimating = false; // doing the revert animation? + this.options = options = options || {}; + this.sourceEl = sourceEl; + this.parentEl = options.parentEl ? $(options.parentEl) : sourceEl.parent(); // default to sourceEl's parent + } + // Causes the element to start following the mouse + MouseFollower.prototype.start = function (ev) { + if (!this.isFollowing) { + this.isFollowing = true; + this.y0 = util_1.getEvY(ev); + this.x0 = util_1.getEvX(ev); + this.topDelta = 0; + this.leftDelta = 0; + if (!this.isHidden) { + this.updatePosition(); + } + if (util_1.getEvIsTouch(ev)) { + this.listenTo($(document), 'touchmove', this.handleMove); + } + else { + this.listenTo($(document), 'mousemove', this.handleMove); + } + } + }; + // Causes the element to stop following the mouse. If shouldRevert is true, will animate back to original position. + // `callback` gets invoked when the animation is complete. If no animation, it is invoked immediately. + MouseFollower.prototype.stop = function (shouldRevert, callback) { + var _this = this; + var revertDuration = this.options.revertDuration; + var complete = function () { + _this.isAnimating = false; + _this.removeElement(); + _this.top0 = _this.left0 = null; // reset state for future updatePosition calls + if (callback) { + callback(); + } + }; + if (this.isFollowing && !this.isAnimating) { + this.isFollowing = false; + this.stopListeningTo($(document)); + if (shouldRevert && revertDuration && !this.isHidden) { + this.isAnimating = true; + this.el.animate({ + top: this.top0, + left: this.left0 + }, { + duration: revertDuration, + complete: complete + }); + } + else { + complete(); + } + } + }; + // Gets the tracking element. Create it if necessary + MouseFollower.prototype.getEl = function () { + var el = this.el; + if (!el) { + el = this.el = this.sourceEl.clone() + .addClass(this.options.additionalClass || '') + .css({ + position: 'absolute', + visibility: '', + display: this.isHidden ? 'none' : '', + margin: 0, + right: 'auto', + bottom: 'auto', + width: this.sourceEl.width(), + height: this.sourceEl.height(), + opacity: this.options.opacity || '', + zIndex: this.options.zIndex + }); + // we don't want long taps or any mouse interaction causing selection/menus. + // would use preventSelection(), but that prevents selectstart, causing problems. + el.addClass('fc-unselectable'); + el.appendTo(this.parentEl); + } + return el; + }; + // Removes the tracking element if it has already been created + MouseFollower.prototype.removeElement = function () { + if (this.el) { + this.el.remove(); + this.el = null; + } + }; + // Update the CSS position of the tracking element + MouseFollower.prototype.updatePosition = function () { + var sourceOffset; + var origin; + this.getEl(); // ensure this.el + // make sure origin info was computed + if (this.top0 == null) { + sourceOffset = this.sourceEl.offset(); + origin = this.el.offsetParent().offset(); + this.top0 = sourceOffset.top - origin.top; + this.left0 = sourceOffset.left - origin.left; + } + this.el.css({ + top: this.top0 + this.topDelta, + left: this.left0 + this.leftDelta + }); + }; + // Gets called when the user moves the mouse + MouseFollower.prototype.handleMove = function (ev) { + this.topDelta = util_1.getEvY(ev) - this.y0; + this.leftDelta = util_1.getEvX(ev) - this.x0; + if (!this.isHidden) { + this.updatePosition(); + } + }; + // Temporarily makes the tracking element invisible. Can be called before following starts + MouseFollower.prototype.hide = function () { + if (!this.isHidden) { + this.isHidden = true; + if (this.el) { + this.el.hide(); + } + } + }; + // Show the tracking element after it has been temporarily hidden + MouseFollower.prototype.show = function () { + if (this.isHidden) { + this.isHidden = false; + this.updatePosition(); + this.getEl().show(); + } + }; + return MouseFollower; +}()); +exports.default = MouseFollower; +ListenerMixin_1.default.mixInto(MouseFollower); + + +/***/ }), +/* 245 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var HitDragListener_1 = __webpack_require__(23); +var Interaction_1 = __webpack_require__(15); +var DateClicking = /** @class */ (function (_super) { + tslib_1.__extends(DateClicking, _super); + /* + component must implement: + - bindDateHandlerToEl + - getSafeHitFootprint + - getHitEl + */ + function DateClicking(component) { + var _this = _super.call(this, component) || this; + _this.dragListener = _this.buildDragListener(); + return _this; + } + DateClicking.prototype.end = function () { + this.dragListener.endInteraction(); + }; + DateClicking.prototype.bindToEl = function (el) { + var component = this.component; + var dragListener = this.dragListener; + component.bindDateHandlerToEl(el, 'mousedown', function (ev) { + if (!component.shouldIgnoreMouse()) { + dragListener.startInteraction(ev); + } + }); + component.bindDateHandlerToEl(el, 'touchstart', function (ev) { + if (!component.shouldIgnoreTouch()) { + dragListener.startInteraction(ev); + } + }); + }; + // Creates a listener that tracks the user's drag across day elements, for day clicking. + DateClicking.prototype.buildDragListener = function () { + var _this = this; + var component = this.component; + var dayClickHit; // null if invalid dayClick + var dragListener = new HitDragListener_1.default(component, { + scroll: this.opt('dragScroll'), + interactionStart: function () { + dayClickHit = dragListener.origHit; + }, + hitOver: function (hit, isOrig, origHit) { + // if user dragged to another cell at any point, it can no longer be a dayClick + if (!isOrig) { + dayClickHit = null; + } + }, + hitOut: function () { + dayClickHit = null; + }, + interactionEnd: function (ev, isCancelled) { + var componentFootprint; + if (!isCancelled && dayClickHit) { + componentFootprint = component.getSafeHitFootprint(dayClickHit); + if (componentFootprint) { + _this.view.triggerDayClick(componentFootprint, component.getHitEl(dayClickHit), ev); + } + } + } + }); + // because dragListener won't be called with any time delay, "dragging" will begin immediately, + // which will kill any touchmoving/scrolling. Prevent this. + dragListener.shouldCancelTouchScroll = false; + dragListener.scrollAlwaysKills = true; + return dragListener; + }; + return DateClicking; +}(Interaction_1.default)); +exports.default = DateClicking; + + +/***/ }), +/* 246 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var util_1 = __webpack_require__(4); +var EventRenderer_1 = __webpack_require__(42); +/* +Only handles foreground segs. +Does not own rendering. Use for low-level util methods by TimeGrid. +*/ +var TimeGridEventRenderer = /** @class */ (function (_super) { + tslib_1.__extends(TimeGridEventRenderer, _super); + function TimeGridEventRenderer(timeGrid, fillRenderer) { + var _this = _super.call(this, timeGrid, fillRenderer) || this; + _this.timeGrid = timeGrid; + return _this; + } + TimeGridEventRenderer.prototype.renderFgSegs = function (segs) { + this.renderFgSegsIntoContainers(segs, this.timeGrid.fgContainerEls); + }; + // Given an array of foreground segments, render a DOM element for each, computes position, + // and attaches to the column inner-container elements. + TimeGridEventRenderer.prototype.renderFgSegsIntoContainers = function (segs, containerEls) { + var segsByCol; + var col; + segsByCol = this.timeGrid.groupSegsByCol(segs); + for (col = 0; col < this.timeGrid.colCnt; col++) { + this.updateFgSegCoords(segsByCol[col]); + } + this.timeGrid.attachSegsByCol(segsByCol, containerEls); + }; + TimeGridEventRenderer.prototype.unrenderFgSegs = function () { + if (this.fgSegs) { + this.fgSegs.forEach(function (seg) { + seg.el.remove(); + }); + } + }; + // Computes a default event time formatting string if `timeFormat` is not explicitly defined + TimeGridEventRenderer.prototype.computeEventTimeFormat = function () { + return this.opt('noMeridiemTimeFormat'); // like "6:30" (no AM/PM) + }; + // Computes a default `displayEventEnd` value if one is not expliclty defined + TimeGridEventRenderer.prototype.computeDisplayEventEnd = function () { + return true; + }; + // Renders the HTML for a single event segment's default rendering + TimeGridEventRenderer.prototype.fgSegHtml = function (seg, disableResizing) { + var view = this.view; + var calendar = view.calendar; + var componentFootprint = seg.footprint.componentFootprint; + var isAllDay = componentFootprint.isAllDay; + var eventDef = seg.footprint.eventDef; + var isDraggable = view.isEventDefDraggable(eventDef); + var isResizableFromStart = !disableResizing && seg.isStart && view.isEventDefResizableFromStart(eventDef); + var isResizableFromEnd = !disableResizing && seg.isEnd && view.isEventDefResizableFromEnd(eventDef); + var classes = this.getSegClasses(seg, isDraggable, isResizableFromStart || isResizableFromEnd); + var skinCss = util_1.cssToStr(this.getSkinCss(eventDef)); + var timeText; + var fullTimeText; // more verbose time text. for the print stylesheet + var startTimeText; // just the start time text + classes.unshift('fc-time-grid-event', 'fc-v-event'); + // if the event appears to span more than one day... + if (view.isMultiDayRange(componentFootprint.unzonedRange)) { + // Don't display time text on segments that run entirely through a day. + // That would appear as midnight-midnight and would look dumb. + // Otherwise, display the time text for the *segment's* times (like 6pm-midnight or midnight-10am) + if (seg.isStart || seg.isEnd) { + var zonedStart = calendar.msToMoment(seg.startMs); + var zonedEnd = calendar.msToMoment(seg.endMs); + timeText = this._getTimeText(zonedStart, zonedEnd, isAllDay); + fullTimeText = this._getTimeText(zonedStart, zonedEnd, isAllDay, 'LT'); + startTimeText = this._getTimeText(zonedStart, zonedEnd, isAllDay, null, false); // displayEnd=false + } + } + else { + // Display the normal time text for the *event's* times + timeText = this.getTimeText(seg.footprint); + fullTimeText = this.getTimeText(seg.footprint, 'LT'); + startTimeText = this.getTimeText(seg.footprint, null, false); // displayEnd=false + } + return '' + + '
' + + (timeText ? + '
' + + '' + util_1.htmlEscape(timeText) + '' + + '
' : + '') + + (eventDef.title ? + '
' + + util_1.htmlEscape(eventDef.title) + + '
' : + '') + + '
' + + '
' + + /* TODO: write CSS for this + (isResizableFromStart ? + '
' : + '' + ) + + */ + (isResizableFromEnd ? + '
' : + '') + + ''; + }; + // Given segments that are assumed to all live in the *same column*, + // compute their verical/horizontal coordinates and assign to their elements. + TimeGridEventRenderer.prototype.updateFgSegCoords = function (segs) { + this.timeGrid.computeSegVerticals(segs); // horizontals relies on this + this.computeFgSegHorizontals(segs); // compute horizontal coordinates, z-index's, and reorder the array + this.timeGrid.assignSegVerticals(segs); + this.assignFgSegHorizontals(segs); + }; + // Given an array of segments that are all in the same column, sets the backwardCoord and forwardCoord on each. + // NOTE: Also reorders the given array by date! + TimeGridEventRenderer.prototype.computeFgSegHorizontals = function (segs) { + var levels; + var level0; + var i; + this.sortEventSegs(segs); // order by certain criteria + levels = buildSlotSegLevels(segs); + computeForwardSlotSegs(levels); + if ((level0 = levels[0])) { + for (i = 0; i < level0.length; i++) { + computeSlotSegPressures(level0[i]); + } + for (i = 0; i < level0.length; i++) { + this.computeFgSegForwardBack(level0[i], 0, 0); + } + } + }; + // Calculate seg.forwardCoord and seg.backwardCoord for the segment, where both values range + // from 0 to 1. If the calendrier is left-to-right, the seg.backwardCoord maps to "left" and + // seg.forwardCoord maps to "right" (via percentage). Vice-versa if the calendrier is right-to-left. + // + // The segment might be part of a "series", which means consecutive segments with the same pressure + // who's width is unknown until an edge has been hit. `seriesBackwardPressure` is the number of + // segments behind this one in the current series, and `seriesBackwardCoord` is the starting + // coordinate of the first segment in the series. + TimeGridEventRenderer.prototype.computeFgSegForwardBack = function (seg, seriesBackwardPressure, seriesBackwardCoord) { + var forwardSegs = seg.forwardSegs; + var i; + if (seg.forwardCoord === undefined) { + if (!forwardSegs.length) { + // if there are no forward segments, this segment should butt up against the edge + seg.forwardCoord = 1; + } + else { + // sort highest pressure first + this.sortForwardSegs(forwardSegs); + // this segment's forwardCoord will be calculated from the backwardCoord of the + // highest-pressure forward segment. + this.computeFgSegForwardBack(forwardSegs[0], seriesBackwardPressure + 1, seriesBackwardCoord); + seg.forwardCoord = forwardSegs[0].backwardCoord; + } + // calculate the backwardCoord from the forwardCoord. consider the series + seg.backwardCoord = seg.forwardCoord - + (seg.forwardCoord - seriesBackwardCoord) / // available width for series + (seriesBackwardPressure + 1); // # of segments in the series + // use this segment's coordinates to computed the coordinates of the less-pressurized + // forward segments + for (i = 0; i < forwardSegs.length; i++) { + this.computeFgSegForwardBack(forwardSegs[i], 0, seg.forwardCoord); + } + } + }; + TimeGridEventRenderer.prototype.sortForwardSegs = function (forwardSegs) { + forwardSegs.sort(util_1.proxy(this, 'compareForwardSegs')); + }; + // A cmp function for determining which forward segment to rely on more when computing coordinates. + TimeGridEventRenderer.prototype.compareForwardSegs = function (seg1, seg2) { + // put higher-pressure first + return seg2.forwardPressure - seg1.forwardPressure || + // put segments that are closer to initial edge first (and favor ones with no coords yet) + (seg1.backwardCoord || 0) - (seg2.backwardCoord || 0) || + // do normal sorting... + this.compareEventSegs(seg1, seg2); + }; + // Given foreground event segments that have already had their position coordinates computed, + // assigns position-related CSS values to their elements. + TimeGridEventRenderer.prototype.assignFgSegHorizontals = function (segs) { + var i; + var seg; + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + seg.el.css(this.generateFgSegHorizontalCss(seg)); + // if the height is short, add a className for alternate styling + if (seg.bottom - seg.top < 30) { + seg.el.addClass('fc-short'); + } + } + }; + // Generates an object with CSS properties/values that should be applied to an event segment element. + // Contains important positioning-related properties that should be applied to any event element, customized or not. + TimeGridEventRenderer.prototype.generateFgSegHorizontalCss = function (seg) { + var shouldOverlap = this.opt('slotEventOverlap'); + var backwardCoord = seg.backwardCoord; // the left side if LTR. the right side if RTL. floating-point + var forwardCoord = seg.forwardCoord; // the right side if LTR. the left side if RTL. floating-point + var props = this.timeGrid.generateSegVerticalCss(seg); // get top/bottom first + var isRTL = this.timeGrid.isRTL; + var left; // amount of space from left edge, a fraction of the total width + var right; // amount of space from right edge, a fraction of the total width + if (shouldOverlap) { + // double the width, but don't go beyond the maximum forward coordinate (1.0) + forwardCoord = Math.min(1, backwardCoord + (forwardCoord - backwardCoord) * 2); + } + if (isRTL) { + left = 1 - forwardCoord; + right = backwardCoord; + } + else { + left = backwardCoord; + right = 1 - forwardCoord; + } + props.zIndex = seg.level + 1; // convert from 0-base to 1-based + props.left = left * 100 + '%'; + props.right = right * 100 + '%'; + if (shouldOverlap && seg.forwardPressure) { + // add padding to the edge so that forward stacked events don't cover the resizer's icon + props[isRTL ? 'marginLeft' : 'marginRight'] = 10 * 2; // 10 is a guesstimate of the icon's width + } + return props; + }; + return TimeGridEventRenderer; +}(EventRenderer_1.default)); +exports.default = TimeGridEventRenderer; +// Builds an array of segments "levels". The first level will be the leftmost tier of segments if the calendrier is +// left-to-right, or the rightmost if the calendrier is right-to-left. Assumes the segments are already ordered by date. +function buildSlotSegLevels(segs) { + var levels = []; + var i; + var seg; + var j; + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + // go through all the levels and stop on the first level where there are no collisions + for (j = 0; j < levels.length; j++) { + if (!computeSlotSegCollisions(seg, levels[j]).length) { + break; + } + } + seg.level = j; + (levels[j] || (levels[j] = [])).push(seg); + } + return levels; +} +// For every segment, figure out the other segments that are in subsequent +// levels that also occupy the same vertical space. Accumulate in seg.forwardSegs +function computeForwardSlotSegs(levels) { + var i; + var level; + var j; + var seg; + var k; + for (i = 0; i < levels.length; i++) { + level = levels[i]; + for (j = 0; j < level.length; j++) { + seg = level[j]; + seg.forwardSegs = []; + for (k = i + 1; k < levels.length; k++) { + computeSlotSegCollisions(seg, levels[k], seg.forwardSegs); + } + } + } +} +// Figure out which path forward (via seg.forwardSegs) results in the longest path until +// the furthest edge is reached. The number of segments in this path will be seg.forwardPressure +function computeSlotSegPressures(seg) { + var forwardSegs = seg.forwardSegs; + var forwardPressure = 0; + var i; + var forwardSeg; + if (seg.forwardPressure === undefined) { + for (i = 0; i < forwardSegs.length; i++) { + forwardSeg = forwardSegs[i]; + // figure out the child's maximum forward path + computeSlotSegPressures(forwardSeg); + // either use the existing maximum, or use the child's forward pressure + // plus one (for the forwardSeg itself) + forwardPressure = Math.max(forwardPressure, 1 + forwardSeg.forwardPressure); + } + seg.forwardPressure = forwardPressure; + } +} +// Find all the segments in `otherSegs` that vertically collide with `seg`. +// Append into an optionally-supplied `results` array and return. +function computeSlotSegCollisions(seg, otherSegs, results) { + if (results === void 0) { results = []; } + for (var i = 0; i < otherSegs.length; i++) { + if (isSlotSegCollision(seg, otherSegs[i])) { + results.push(otherSegs[i]); + } + } + return results; +} +// Do these segments occupy the same vertical space? +function isSlotSegCollision(seg1, seg2) { + return seg1.bottom > seg2.top && seg1.top < seg2.bottom; +} + + +/***/ }), +/* 247 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var HelperRenderer_1 = __webpack_require__(58); +var TimeGridHelperRenderer = /** @class */ (function (_super) { + tslib_1.__extends(TimeGridHelperRenderer, _super); + function TimeGridHelperRenderer() { + return _super !== null && _super.apply(this, arguments) || this; + } + TimeGridHelperRenderer.prototype.renderSegs = function (segs, sourceSeg) { + var helperNodes = []; + var i; + var seg; + var sourceEl; + // TODO: not good to call eventRenderer this way + this.eventRenderer.renderFgSegsIntoContainers(segs, this.component.helperContainerEls); + // Try to make the segment that is in the same row as sourceSeg look the same + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + if (sourceSeg && sourceSeg.col === seg.col) { + sourceEl = sourceSeg.el; + seg.el.css({ + left: sourceEl.css('left'), + right: sourceEl.css('right'), + 'margin-left': sourceEl.css('margin-left'), + 'margin-right': sourceEl.css('margin-right') + }); + } + helperNodes.push(seg.el[0]); + } + return $(helperNodes); // must return the elements rendered + }; + return TimeGridHelperRenderer; +}(HelperRenderer_1.default)); +exports.default = TimeGridHelperRenderer; + + +/***/ }), +/* 248 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var FillRenderer_1 = __webpack_require__(57); +var TimeGridFillRenderer = /** @class */ (function (_super) { + tslib_1.__extends(TimeGridFillRenderer, _super); + function TimeGridFillRenderer() { + return _super !== null && _super.apply(this, arguments) || this; + } + TimeGridFillRenderer.prototype.attachSegEls = function (type, segs) { + var timeGrid = this.component; + var containerEls; + // TODO: more efficient lookup + if (type === 'bgEvent') { + containerEls = timeGrid.bgContainerEls; + } + else if (type === 'businessHours') { + containerEls = timeGrid.businessContainerEls; + } + else if (type === 'highlight') { + containerEls = timeGrid.highlightContainerEls; + } + timeGrid.updateSegVerticals(segs); + timeGrid.attachSegsByCol(timeGrid.groupSegsByCol(segs), containerEls); + return segs.map(function (seg) { + return seg.el[0]; + }); + }; + return TimeGridFillRenderer; +}(FillRenderer_1.default)); +exports.default = TimeGridFillRenderer; + + +/***/ }), +/* 249 */ +/***/ (function(module, exports, __webpack_require__) { + +/* A rectangular panel that is absolutely positioned over other content +------------------------------------------------------------------------------------------------------------------------ +Options: + - className (string) + - content (HTML string or jQuery element set) + - parentEl + - top + - left + - right (the x coord of where the right edge should be. not a "CSS" right) + - autoHide (boolean) + - show (callback) + - hide (callback) +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var ListenerMixin_1 = __webpack_require__(7); +var Popover = /** @class */ (function () { + function Popover(options) { + this.isHidden = true; + this.margin = 10; // the space required between the popover and the edges of the scroll container + this.options = options || {}; + } + // Shows the popover on the specified position. Renders it if not already + Popover.prototype.show = function () { + if (this.isHidden) { + if (!this.el) { + this.render(); + } + this.el.show(); + this.position(); + this.isHidden = false; + this.trigger('show'); + } + }; + // Hides the popover, through CSS, but does not remove it from the DOM + Popover.prototype.hide = function () { + if (!this.isHidden) { + this.el.hide(); + this.isHidden = true; + this.trigger('hide'); + } + }; + // Creates `this.el` and renders content inside of it + Popover.prototype.render = function () { + var _this = this; + var options = this.options; + this.el = $('
') + .addClass(options.className || '') + .css({ + // position initially to the top left to avoid creating scrollbars + top: 0, + left: 0 + }) + .append(options.content) + .appendTo(options.parentEl); + // when a click happens on anything inside with a 'fc-close' className, hide the popover + this.el.on('click', '.fc-close', function () { + _this.hide(); + }); + if (options.autoHide) { + this.listenTo($(document), 'mousedown', this.documentMousedown); + } + }; + // Triggered when the user clicks *anywhere* in the document, for the autoHide feature + Popover.prototype.documentMousedown = function (ev) { + // only hide the popover if the click happened outside the popover + if (this.el && !$(ev.target).closest(this.el).length) { + this.hide(); + } + }; + // Hides and unregisters any handlers + Popover.prototype.removeElement = function () { + this.hide(); + if (this.el) { + this.el.remove(); + this.el = null; + } + this.stopListeningTo($(document), 'mousedown'); + }; + // Positions the popover optimally, using the top/left/right options + Popover.prototype.position = function () { + var options = this.options; + var origin = this.el.offsetParent().offset(); + var width = this.el.outerWidth(); + var height = this.el.outerHeight(); + var windowEl = $(window); + var viewportEl = util_1.getScrollParent(this.el); + var viewportTop; + var viewportLeft; + var viewportOffset; + var top; // the "position" (not "offset") values for the popover + var left; // + // compute top and left + top = options.top || 0; + if (options.left !== undefined) { + left = options.left; + } + else if (options.right !== undefined) { + left = options.right - width; // derive the left value from the right value + } + else { + left = 0; + } + if (viewportEl.is(window) || viewportEl.is(document)) { + viewportEl = windowEl; + viewportTop = 0; // the window is always at the top left + viewportLeft = 0; // (and .offset() won't work if called here) + } + else { + viewportOffset = viewportEl.offset(); + viewportTop = viewportOffset.top; + viewportLeft = viewportOffset.left; + } + // if the window is scrolled, it causes the visible area to be further down + viewportTop += windowEl.scrollTop(); + viewportLeft += windowEl.scrollLeft(); + // constrain to the view port. if constrained by two edges, give precedence to top/left + if (options.viewportConstrain !== false) { + top = Math.min(top, viewportTop + viewportEl.outerHeight() - height - this.margin); + top = Math.max(top, viewportTop + this.margin); + left = Math.min(left, viewportLeft + viewportEl.outerWidth() - width - this.margin); + left = Math.max(left, viewportLeft + this.margin); + } + this.el.css({ + top: top - origin.top, + left: left - origin.left + }); + }; + // Triggers a callback. Calls a function in the option hash of the same name. + // Arguments beyond the first `name` are forwarded on. + // TODO: better code reuse for this. Repeat code + Popover.prototype.trigger = function (name) { + if (this.options[name]) { + this.options[name].apply(this, Array.prototype.slice.call(arguments, 1)); + } + }; + return Popover; +}()); +exports.default = Popover; +ListenerMixin_1.default.mixInto(Popover); + + +/***/ }), +/* 250 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var util_1 = __webpack_require__(4); +var EventRenderer_1 = __webpack_require__(42); +/* Event-rendering methods for the DayGrid class +----------------------------------------------------------------------------------------------------------------------*/ +var DayGridEventRenderer = /** @class */ (function (_super) { + tslib_1.__extends(DayGridEventRenderer, _super); + function DayGridEventRenderer(dayGrid, fillRenderer) { + var _this = _super.call(this, dayGrid, fillRenderer) || this; + _this.dayGrid = dayGrid; + return _this; + } + DayGridEventRenderer.prototype.renderBgRanges = function (eventRanges) { + // don't render timed background events + eventRanges = $.grep(eventRanges, function (eventRange) { + return eventRange.eventDef.isAllDay(); + }); + _super.prototype.renderBgRanges.call(this, eventRanges); + }; + // Renders the given foreground event segments onto the grid + DayGridEventRenderer.prototype.renderFgSegs = function (segs) { + var rowStructs = this.rowStructs = this.renderSegRows(segs); + // append to each row's content skeleton + this.dayGrid.rowEls.each(function (i, rowNode) { + $(rowNode).find('.fc-content-skeleton > table').append(rowStructs[i].tbodyEl); + }); + }; + // Unrenders all currently rendered foreground event segments + DayGridEventRenderer.prototype.unrenderFgSegs = function () { + var rowStructs = this.rowStructs || []; + var rowStruct; + while ((rowStruct = rowStructs.pop())) { + rowStruct.tbodyEl.remove(); + } + this.rowStructs = null; + }; + // Uses the given events array to generate elements that should be appended to each row's content skeleton. + // Returns an array of rowStruct objects (see the bottom of `renderSegRow`). + // PRECONDITION: each segment shoud already have a rendered and assigned `.el` + DayGridEventRenderer.prototype.renderSegRows = function (segs) { + var rowStructs = []; + var segRows; + var row; + segRows = this.groupSegRows(segs); // group into nested arrays + // iterate each row of segment groupings + for (row = 0; row < segRows.length; row++) { + rowStructs.push(this.renderSegRow(row, segRows[row])); + } + return rowStructs; + }; + // Given a row # and an array of segments all in the same row, render a element, a skeleton that contains + // the segments. Returns object with a bunch of internal data about how the render was calculated. + // NOTE: modifies rowSegs + DayGridEventRenderer.prototype.renderSegRow = function (row, rowSegs) { + var colCnt = this.dayGrid.colCnt; + var segLevels = this.buildSegLevels(rowSegs); // group into sub-arrays of levels + var levelCnt = Math.max(1, segLevels.length); // ensure at least one level + var tbody = $(''); + var segMatrix = []; // lookup for which segments are rendered into which level+col cells + var cellMatrix = []; // lookup for all elements of the level+col matrix + var loneCellMatrix = []; // lookup for elements that only take up a single column + var i; + var levelSegs; + var col; + var tr; + var j; + var seg; + var td; + // populates empty cells from the current column (`col`) to `endCol` + function emptyCellsUntil(endCol) { + while (col < endCol) { + // try to grab a cell from the level above and extend its rowspan. otherwise, create a fresh cell + td = (loneCellMatrix[i - 1] || [])[col]; + if (td) { + td.attr('rowspan', parseInt(td.attr('rowspan') || 1, 10) + 1); + } + else { + td = $(''); + tr.append(td); + } + cellMatrix[i][col] = td; + loneCellMatrix[i][col] = td; + col++; + } + } + for (i = 0; i < levelCnt; i++) { + levelSegs = segLevels[i]; + col = 0; + tr = $(''); + segMatrix.push([]); + cellMatrix.push([]); + loneCellMatrix.push([]); + // levelCnt might be 1 even though there are no actual levels. protect against this. + // this single empty row is useful for styling. + if (levelSegs) { + for (j = 0; j < levelSegs.length; j++) { + seg = levelSegs[j]; + emptyCellsUntil(seg.leftCol); + // create a container that occupies or more columns. append the event element. + td = $('').append(seg.el); + if (seg.leftCol !== seg.rightCol) { + td.attr('colspan', seg.rightCol - seg.leftCol + 1); + } + else { + loneCellMatrix[i][col] = td; + } + while (col <= seg.rightCol) { + cellMatrix[i][col] = td; + segMatrix[i][col] = seg; + col++; + } + tr.append(td); + } + } + emptyCellsUntil(colCnt); // finish off the row + this.dayGrid.bookendCells(tr); + tbody.append(tr); + } + return { + row: row, + tbodyEl: tbody, + cellMatrix: cellMatrix, + segMatrix: segMatrix, + segLevels: segLevels, + segs: rowSegs + }; + }; + // Stacks a flat array of segments, which are all assumed to be in the same row, into subarrays of vertical levels. + // NOTE: modifies segs + DayGridEventRenderer.prototype.buildSegLevels = function (segs) { + var levels = []; + var i; + var seg; + var j; + // Give preference to elements with certain criteria, so they have + // a chance to be closer to the top. + this.sortEventSegs(segs); + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + // loop through levels, starting with the topmost, until the segment doesn't collide with other segments + for (j = 0; j < levels.length; j++) { + if (!isDaySegCollision(seg, levels[j])) { + break; + } + } + // `j` now holds the desired subrow index + seg.level = j; + // create new level array if needed and append segment + (levels[j] || (levels[j] = [])).push(seg); + } + // order segments left-to-right. very important if calendrier is RTL + for (j = 0; j < levels.length; j++) { + levels[j].sort(compareDaySegCols); + } + return levels; + }; + // Given a flat array of segments, return an array of sub-arrays, grouped by each segment's row + DayGridEventRenderer.prototype.groupSegRows = function (segs) { + var segRows = []; + var i; + for (i = 0; i < this.dayGrid.rowCnt; i++) { + segRows.push([]); + } + for (i = 0; i < segs.length; i++) { + segRows[segs[i].row].push(segs[i]); + } + return segRows; + }; + // Computes a default event time formatting string if `timeFormat` is not explicitly defined + DayGridEventRenderer.prototype.computeEventTimeFormat = function () { + return this.opt('extraSmallTimeFormat'); // like "6p" or "6:30p" + }; + // Computes a default `displayEventEnd` value if one is not expliclty defined + DayGridEventRenderer.prototype.computeDisplayEventEnd = function () { + return this.dayGrid.colCnt === 1; // we'll likely have space if there's only one day + }; + // Builds the HTML to be used for the default element for an individual segment + DayGridEventRenderer.prototype.fgSegHtml = function (seg, disableResizing) { + var view = this.view; + var eventDef = seg.footprint.eventDef; + var isAllDay = seg.footprint.componentFootprint.isAllDay; + var isDraggable = view.isEventDefDraggable(eventDef); + var isResizableFromStart = !disableResizing && isAllDay && + seg.isStart && view.isEventDefResizableFromStart(eventDef); + var isResizableFromEnd = !disableResizing && isAllDay && + seg.isEnd && view.isEventDefResizableFromEnd(eventDef); + var classes = this.getSegClasses(seg, isDraggable, isResizableFromStart || isResizableFromEnd); + var skinCss = util_1.cssToStr(this.getSkinCss(eventDef)); + var timeHtml = ''; + var timeText; + var titleHtml; + classes.unshift('fc-day-grid-event', 'fc-h-event'); + // Only display a timed events time if it is the starting segment + if (seg.isStart) { + timeText = this.getTimeText(seg.footprint); + if (timeText) { + timeHtml = '' + util_1.htmlEscape(timeText) + ''; + } + } + titleHtml = + '' + + (util_1.htmlEscape(eventDef.title || '') || ' ') + // we always want one line of height + ''; + return '' + + '
' + + (this.dayGrid.isRTL ? + titleHtml + ' ' + timeHtml : // put a natural space in between + timeHtml + ' ' + titleHtml // + ) + + '
' + + (isResizableFromStart ? + '
' : + '') + + (isResizableFromEnd ? + '
' : + '') + + ''; + }; + return DayGridEventRenderer; +}(EventRenderer_1.default)); +exports.default = DayGridEventRenderer; +// Computes whether two segments' columns collide. They are assumed to be in the same row. +function isDaySegCollision(seg, otherSegs) { + var i; + var otherSeg; + for (i = 0; i < otherSegs.length; i++) { + otherSeg = otherSegs[i]; + if (otherSeg.leftCol <= seg.rightCol && + otherSeg.rightCol >= seg.leftCol) { + return true; + } + } + return false; +} +// A cmp function for determining the leftmost event +function compareDaySegCols(a, b) { + return a.leftCol - b.leftCol; +} + + +/***/ }), +/* 251 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var HelperRenderer_1 = __webpack_require__(58); +var DayGridHelperRenderer = /** @class */ (function (_super) { + tslib_1.__extends(DayGridHelperRenderer, _super); + function DayGridHelperRenderer() { + return _super !== null && _super.apply(this, arguments) || this; + } + // Renders a mock "helper" event. `sourceSeg` is the associated internal segment object. It can be null. + DayGridHelperRenderer.prototype.renderSegs = function (segs, sourceSeg) { + var helperNodes = []; + var rowStructs; + // TODO: not good to call eventRenderer this way + rowStructs = this.eventRenderer.renderSegRows(segs); + // inject each new event skeleton into each associated row + this.component.rowEls.each(function (row, rowNode) { + var rowEl = $(rowNode); // the .fc-row + var skeletonEl = $('
'); // will be absolutely positioned + var skeletonTopEl; + var skeletonTop; + // If there is an original segment, match the top position. Otherwise, put it at the row's top level + if (sourceSeg && sourceSeg.row === row) { + skeletonTop = sourceSeg.el.position().top; + } + else { + skeletonTopEl = rowEl.find('.fc-content-skeleton tbody'); + if (!skeletonTopEl.length) { + skeletonTopEl = rowEl.find('.fc-content-skeleton table'); + } + skeletonTop = skeletonTopEl.position().top; + } + skeletonEl.css('top', skeletonTop) + .find('table') + .append(rowStructs[row].tbodyEl); + rowEl.append(skeletonEl); + helperNodes.push(skeletonEl[0]); + }); + return $(helperNodes); // must return the elements rendered + }; + return DayGridHelperRenderer; +}(HelperRenderer_1.default)); +exports.default = DayGridHelperRenderer; + + +/***/ }), +/* 252 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var FillRenderer_1 = __webpack_require__(57); +var DayGridFillRenderer = /** @class */ (function (_super) { + tslib_1.__extends(DayGridFillRenderer, _super); + function DayGridFillRenderer() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.fillSegTag = 'td'; // override the default tag name + return _this; + } + DayGridFillRenderer.prototype.attachSegEls = function (type, segs) { + var nodes = []; + var i; + var seg; + var skeletonEl; + for (i = 0; i < segs.length; i++) { + seg = segs[i]; + skeletonEl = this.renderFillRow(type, seg); + this.component.rowEls.eq(seg.row).append(skeletonEl); + nodes.push(skeletonEl[0]); + } + return nodes; + }; + // Generates the HTML needed for one row of a fill. Requires the seg's el to be rendered. + DayGridFillRenderer.prototype.renderFillRow = function (type, seg) { + var colCnt = this.component.colCnt; + var startCol = seg.leftCol; + var endCol = seg.rightCol + 1; + var className; + var skeletonEl; + var trEl; + if (type === 'businessHours') { + className = 'bgevent'; + } + else { + className = type.toLowerCase(); + } + skeletonEl = $('
' + + '
' + + '
'); + trEl = skeletonEl.find('tr'); + if (startCol > 0) { + trEl.append(''); + } + trEl.append(seg.el.attr('colspan', endCol - startCol)); + if (endCol < colCnt) { + trEl.append(''); + } + this.component.bookendCells(trEl); + return skeletonEl; + }; + return DayGridFillRenderer; +}(FillRenderer_1.default)); +exports.default = DayGridFillRenderer; + + +/***/ }), +/* 253 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var BasicViewDateProfileGenerator_1 = __webpack_require__(228); +var UnzonedRange_1 = __webpack_require__(5); +var MonthViewDateProfileGenerator = /** @class */ (function (_super) { + tslib_1.__extends(MonthViewDateProfileGenerator, _super); + function MonthViewDateProfileGenerator() { + return _super !== null && _super.apply(this, arguments) || this; + } + // Computes the date range that will be rendered. + MonthViewDateProfileGenerator.prototype.buildRenderRange = function (currentUnzonedRange, currentRangeUnit, isRangeAllDay) { + var renderUnzonedRange = _super.prototype.buildRenderRange.call(this, currentUnzonedRange, currentRangeUnit, isRangeAllDay); + var start = this.msToUtcMoment(renderUnzonedRange.startMs, isRangeAllDay); + var end = this.msToUtcMoment(renderUnzonedRange.endMs, isRangeAllDay); + var rowCnt; + // ensure 6 weeks + if (this.opt('fixedWeekCount')) { + rowCnt = Math.ceil(// could be partial weeks due to hiddenDays + end.diff(start, 'weeks', true) // dontRound=true + ); + end.add(6 - rowCnt, 'weeks'); + } + return new UnzonedRange_1.default(start, end); + }; + return MonthViewDateProfileGenerator; +}(BasicViewDateProfileGenerator_1.default)); +exports.default = MonthViewDateProfileGenerator; + + +/***/ }), +/* 254 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var util_1 = __webpack_require__(4); +var EventRenderer_1 = __webpack_require__(42); +var ListEventRenderer = /** @class */ (function (_super) { + tslib_1.__extends(ListEventRenderer, _super); + function ListEventRenderer() { + return _super !== null && _super.apply(this, arguments) || this; + } + ListEventRenderer.prototype.renderFgSegs = function (segs) { + if (!segs.length) { + this.component.renderEmptyMessage(); + } + else { + this.component.renderSegList(segs); + } + }; + // generates the HTML for a single event row + ListEventRenderer.prototype.fgSegHtml = function (seg) { + var view = this.view; + var calendar = view.calendar; + var theme = calendar.theme; + var eventFootprint = seg.footprint; + var eventDef = eventFootprint.eventDef; + var componentFootprint = eventFootprint.componentFootprint; + var url = eventDef.url; + var classes = ['fc-list-item'].concat(this.getClasses(eventDef)); + var bgColor = this.getBgColor(eventDef); + var timeHtml; + if (componentFootprint.isAllDay) { + timeHtml = view.getAllDayHtml(); + } + else if (view.isMultiDayRange(componentFootprint.unzonedRange)) { + if (seg.isStart || seg.isEnd) { + timeHtml = util_1.htmlEscape(this._getTimeText(calendar.msToMoment(seg.startMs), calendar.msToMoment(seg.endMs), componentFootprint.isAllDay)); + } + else { + timeHtml = view.getAllDayHtml(); + } + } + else { + // Display the normal time text for the *event's* times + timeHtml = util_1.htmlEscape(this.getTimeText(eventFootprint)); + } + if (url) { + classes.push('fc-has-url'); + } + return '' + + (this.displayEventTime ? + '' + + (timeHtml || '') + + '' : + '') + + '' + + '' + + '' + + '' + + '' + + util_1.htmlEscape(eventDef.title || '') + + '' + + '' + + ''; + }; + // like "4:00am" + ListEventRenderer.prototype.computeEventTimeFormat = function () { + return this.opt('mediumTimeFormat'); + }; + return ListEventRenderer; +}(EventRenderer_1.default)); +exports.default = ListEventRenderer; + + +/***/ }), +/* 255 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var $ = __webpack_require__(3); +var EventPointing_1 = __webpack_require__(59); +var ListEventPointing = /** @class */ (function (_super) { + tslib_1.__extends(ListEventPointing, _super); + function ListEventPointing() { + return _super !== null && _super.apply(this, arguments) || this; + } + // for events with a url, the whole should be clickable, + // but it's impossible to wrap with an tag. simulate this. + ListEventPointing.prototype.handleClick = function (seg, ev) { + var url; + _super.prototype.handleClick.call(this, seg, ev); // might prevent the default action + // not clicking on or within an with an href + if (!$(ev.target).closest('a[href]').length) { + url = seg.footprint.eventDef.url; + if (url && !ev.isDefaultPrevented()) { + window.location.href = url; // simulate link click + } + } + }; + return ListEventPointing; +}(EventPointing_1.default)); +exports.default = ListEventPointing; + + +/***/ }), +/* 256 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var EventSourceParser_1 = __webpack_require__(38); +var ArrayEventSource_1 = __webpack_require__(52); +var FuncEventSource_1 = __webpack_require__(215); +var JsonFeedEventSource_1 = __webpack_require__(216); +EventSourceParser_1.default.registerClass(ArrayEventSource_1.default); +EventSourceParser_1.default.registerClass(FuncEventSource_1.default); +EventSourceParser_1.default.registerClass(JsonFeedEventSource_1.default); + + +/***/ }), +/* 257 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var ThemeRegistry_1 = __webpack_require__(51); +var StandardTheme_1 = __webpack_require__(213); +var JqueryUiTheme_1 = __webpack_require__(214); +var Bootstrap3Theme_1 = __webpack_require__(258); +var Bootstrap4Theme_1 = __webpack_require__(259); +ThemeRegistry_1.defineThemeSystem('standard', StandardTheme_1.default); +ThemeRegistry_1.defineThemeSystem('jquery-ui', JqueryUiTheme_1.default); +ThemeRegistry_1.defineThemeSystem('bootstrap3', Bootstrap3Theme_1.default); +ThemeRegistry_1.defineThemeSystem('bootstrap4', Bootstrap4Theme_1.default); + + +/***/ }), +/* 258 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var Theme_1 = __webpack_require__(19); +var Bootstrap3Theme = /** @class */ (function (_super) { + tslib_1.__extends(Bootstrap3Theme, _super); + function Bootstrap3Theme() { + return _super !== null && _super.apply(this, arguments) || this; + } + return Bootstrap3Theme; +}(Theme_1.default)); +exports.default = Bootstrap3Theme; +Bootstrap3Theme.prototype.classes = { + widget: 'fc-bootstrap3', + tableGrid: 'table-bordered', + tableList: 'table', + tableListHeading: 'active', + buttonGroup: 'btn-group', + button: 'btn btn-default', + stateActive: 'active', + stateDisabled: 'disabled', + today: 'alert alert-info', + popover: 'panel panel-default', + popoverHeader: 'panel-heading', + popoverContent: 'panel-body', + // day grid + // for left/right border color when border is inset from edges (all-day in agenda view) + // avoid `panel` class b/c don't want margins/radius. only border color. + headerRow: 'panel-default', + dayRow: 'panel-default', + // list view + listView: 'panel panel-default' +}; +Bootstrap3Theme.prototype.baseIconClass = 'glyphicon'; +Bootstrap3Theme.prototype.iconClasses = { + close: 'glyphicon-remove', + prev: 'glyphicon-chevron-left', + next: 'glyphicon-chevron-right', + prevYear: 'glyphicon-backward', + nextYear: 'glyphicon-forward' +}; +Bootstrap3Theme.prototype.iconOverrideOption = 'bootstrapGlyphicons'; +Bootstrap3Theme.prototype.iconOverrideCustomButtonOption = 'bootstrapGlyphicon'; +Bootstrap3Theme.prototype.iconOverridePrefix = 'glyphicon-'; + + +/***/ }), +/* 259 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(2); +var Theme_1 = __webpack_require__(19); +var Bootstrap4Theme = /** @class */ (function (_super) { + tslib_1.__extends(Bootstrap4Theme, _super); + function Bootstrap4Theme() { + return _super !== null && _super.apply(this, arguments) || this; + } + return Bootstrap4Theme; +}(Theme_1.default)); +exports.default = Bootstrap4Theme; +Bootstrap4Theme.prototype.classes = { + widget: 'fc-bootstrap4', + tableGrid: 'table-bordered', + tableList: 'table', + tableListHeading: 'table-active', + buttonGroup: 'btn-group', + button: 'btn btn-primary', + stateActive: 'active', + stateDisabled: 'disabled', + today: 'alert alert-info', + popover: 'card card-primary', + popoverHeader: 'card-header', + popoverContent: 'card-body', + // day grid + // for left/right border color when border is inset from edges (all-day in agenda view) + // avoid `table` class b/c don't want margins/padding/structure. only border color. + headerRow: 'table-bordered', + dayRow: 'table-bordered', + // list view + listView: 'card card-primary' +}; +Bootstrap4Theme.prototype.baseIconClass = 'fa'; +Bootstrap4Theme.prototype.iconClasses = { + close: 'fa-times', + prev: 'fa-chevron-left', + next: 'fa-chevron-right', + prevYear: 'fa-angle-double-left', + nextYear: 'fa-angle-double-right' +}; +Bootstrap4Theme.prototype.iconOverrideOption = 'bootstrapFontAwesome'; +Bootstrap4Theme.prototype.iconOverrideCustomButtonOption = 'bootstrapFontAwesome'; +Bootstrap4Theme.prototype.iconOverridePrefix = 'fa-'; + + +/***/ }), +/* 260 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var ViewRegistry_1 = __webpack_require__(22); +var BasicView_1 = __webpack_require__(62); +var MonthView_1 = __webpack_require__(229); +ViewRegistry_1.defineView('basic', { + 'class': BasicView_1.default +}); +ViewRegistry_1.defineView('basicDay', { + type: 'basic', + duration: { days: 1 } +}); +ViewRegistry_1.defineView('basicWeek', { + type: 'basic', + duration: { weeks: 1 } +}); +ViewRegistry_1.defineView('month', { + 'class': MonthView_1.default, + duration: { months: 1 }, + defaults: { + fixedWeekCount: true + } +}); + + +/***/ }), +/* 261 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var ViewRegistry_1 = __webpack_require__(22); +var AgendaView_1 = __webpack_require__(226); +ViewRegistry_1.defineView('agenda', { + 'class': AgendaView_1.default, + defaults: { + allDaySlot: true, + slotDuration: '00:30:00', + slotEventOverlap: true // a bad name. confused with overlap/constraint system + } +}); +ViewRegistry_1.defineView('agendaDay', { + type: 'agenda', + duration: { days: 1 } +}); +ViewRegistry_1.defineView('agendaWeek', { + type: 'agenda', + duration: { weeks: 1 } +}); + + +/***/ }), +/* 262 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { value: true }); +var ViewRegistry_1 = __webpack_require__(22); +var ListView_1 = __webpack_require__(230); +ViewRegistry_1.defineView('list', { + 'class': ListView_1.default, + buttonTextKey: 'list', + defaults: { + buttonText: 'list', + listDayFormat: 'LL', + noEventsMessage: 'No events to display' + } +}); +ViewRegistry_1.defineView('listDay', { + type: 'list', + duration: { days: 1 }, + defaults: { + listDayFormat: 'dddd' // day-of-week is all we need. full date is probably in header + } +}); +ViewRegistry_1.defineView('listWeek', { + type: 'list', + duration: { weeks: 1 }, + defaults: { + listDayFormat: 'dddd', + listDayAltFormat: 'LL' + } +}); +ViewRegistry_1.defineView('listMonth', { + type: 'list', + duration: { month: 1 }, + defaults: { + listDayAltFormat: 'dddd' // day-of-week is nice-to-have + } +}); +ViewRegistry_1.defineView('listYear', { + type: 'list', + duration: { year: 1 }, + defaults: { + listDayAltFormat: 'dddd' // day-of-week is nice-to-have + } +}); + + +/***/ }), +/* 263 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { value: true }); + + +/***/ }) +/******/ ]); +}); \ No newline at end of file diff --git a/src/js/fullcalendar.min.js b/src/js/fullcalendar.min.js new file mode 100644 index 0000000..5c3cce2 --- /dev/null +++ b/src/js/fullcalendar.min.js @@ -0,0 +1,9 @@ +/*! + * FullCalendar v2.6.1 + * Docs & License: http://fullcalendar.io/ + * (c) 2015 Adam Shaw + */ +!function(a){"function"==typeof define&&define.amd?define(["jquery","moment"],a):"object"==typeof exports?module.exports=a(require("jquery"),require("moment")):a(jQuery,moment)}(function(a,b){function c(a){return Q(a,Ra)}function d(b){var c,d={views:b.views||{}};return a.each(b,function(b,e){"views"!=b&&(a.isPlainObject(e)&&!/(time|duration|interval)$/i.test(b)&&-1==a.inArray(b,Ra)?(c=null,a.each(e,function(a,e){/^(month|week|day|default|basic(Week|Day)?|agenda(Week|Day)?)$/.test(a)?(d.views[a]||(d.views[a]={}),d.views[a][b]=e):(c||(c={}),c[a]=e)}),c&&(d[b]=c)):d[b]=e)}),d}function e(a,b){b.left&&a.css({"border-left-width":1,"margin-left":b.left-1}),b.right&&a.css({"border-right-width":1,"margin-right":b.right-1})}function f(a){a.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function g(){a("body").addClass("fc-not-allowed")}function h(){a("body").removeClass("fc-not-allowed")}function i(b,c,d){var e=Math.floor(c/b.length),f=Math.floor(c-e*(b.length-1)),g=[],h=[],i=[],k=0;j(b),b.each(function(c,d){var j=c===b.length-1?f:e,l=a(d).outerHeight(!0);j>l?(g.push(d),h.push(l),i.push(a(d).height())):k+=l}),d&&(c-=k,e=Math.floor(c/g.length),f=Math.floor(c-e*(g.length-1))),a(g).each(function(b,c){var d=b===g.length-1?f:e,j=h[b],k=i[b],l=d-(j-k);d>j&&a(c).height(l)})}function j(a){a.height("")}function k(b){var c=0;return b.find("> span").each(function(b,d){var e=a(d).outerWidth();e>c&&(c=e)}),c++,b.width(c),c}function l(a,b){return a.height(b).addClass("fc-scroller"),a[0].scrollHeight-1>a[0].clientHeight?!0:(m(a),!1)}function m(a){a.height("").removeClass("fc-scroller")}function n(b){var c=b.css("position"),d=b.parents().filter(function(){var b=a(this);return/(auto|scroll)/.test(b.css("overflow")+b.css("overflow-y")+b.css("overflow-x"))}).eq(0);return"fixed"!==c&&d.length?d:a(b[0].ownerDocument||document)}function o(a){var b=a.offset();return{left:b.left,right:b.left+a.outerWidth(),top:b.top,bottom:b.top+a.outerHeight()}}function p(a){var b=a.offset(),c=r(a),d=b.left+u(a,"border-left-width")+c.left,e=b.top+u(a,"border-top-width")+c.top;return{left:d,right:d+a[0].clientWidth,top:e,bottom:e+a[0].clientHeight}}function q(a){var b=a.offset(),c=b.left+u(a,"border-left-width")+u(a,"padding-left"),d=b.top+u(a,"border-top-width")+u(a,"padding-top");return{left:c,right:c+a.width(),top:d,bottom:d+a.height()}}function r(a){var b=a.innerWidth()-a[0].clientWidth,c={left:0,right:0,top:0,bottom:a.innerHeight()-a[0].clientHeight};return s()&&"rtl"==a.css("direction")?c.left=b:c.right=b,c}function s(){return null===Sa&&(Sa=t()),Sa}function t(){var b=a("
").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),c=b.children(),d=c.offset().left>b.offset().left;return b.remove(),d}function u(a,b){return parseFloat(a.css(b))||0}function v(a){return 1==a.which&&!a.ctrlKey}function w(a,b){var c={left:Math.max(a.left,b.left),right:Math.min(a.right,b.right),top:Math.max(a.top,b.top),bottom:Math.min(a.bottom,b.bottom)};return c.lefti&&j>g?(g>=i?(c=g.clone(),e=!0):(c=i.clone(),e=!1),j>=h?(d=h.clone(),f=!0):(d=j.clone(),f=!1),{start:c,end:d,isStart:e,isEnd:f}):void 0}function F(a,c){return b.duration({days:a.clone().stripTime().diff(c.clone().stripTime(),"days"),ms:a.time()-c.time()})}function G(a,c){return b.duration({days:a.clone().stripTime().diff(c.clone().stripTime(),"days")})}function H(a,c,d){return b.duration(Math.round(a.diff(c,d,!0)),d)}function I(a,b){var c,d,e;for(c=0;c=1&&ba(e)));c++);return d}function J(a,c,d){return null!=d?d.diff(c,a,!0):b.isDuration(c)?c.as(a):c.end.diff(c.start,a,!0)}function K(a,b,c){var d;return N(c)?(b-a)/c:(d=c.asMonths(),Math.abs(d)>=1&&ba(d)?b.diff(a,"months",!0)/d:b.diff(a,"days",!0)/c.asDays())}function L(a,b){var c,d;return N(a)||N(b)?a/b:(c=a.asMonths(),d=b.asMonths(),Math.abs(c)>=1&&ba(c)&&Math.abs(d)>=1&&ba(d)?c/d:a.asDays()/b.asDays())}function M(a,c){var d;return N(a)?b.duration(a*c):(d=a.asMonths(),Math.abs(d)>=1&&ba(d)?b.duration({months:d*c}):b.duration({days:a.asDays()*c}))}function N(a){return Boolean(a.hours()||a.minutes()||a.seconds()||a.milliseconds())}function O(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function P(a){return/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(a)}function Q(a,b){var c,d,e,f,g,h,i={};if(b)for(c=0;c=0;f--)if(g=a[f][d],"object"==typeof g)e.unshift(g);else if(void 0!==g){i[d]=g;break}e.length&&(i[d]=Q(e))}for(c=a.length-1;c>=0;c--){h=a[c];for(d in h)d in i||(i[d]=h[d])}return i}function R(a){var b=function(){};return b.prototype=a,new b}function S(a,b){for(var c in a)U(a,c)&&(b[c]=a[c])}function T(a,b){var c,d,e=["constructor","toString","valueOf"];for(c=0;c/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"
")}function Z(a){return a.replace(/&.*?;/g,"")}function $(b){var c=[];return a.each(b,function(a,b){null!=b&&c.push(a+":"+b)}),c.join(";")}function _(a){return a.charAt(0).toUpperCase()+a.slice(1)}function aa(a,b){return a-b}function ba(a){return a%1===0}function ca(a,b){var c=a[b];return function(){return c.apply(a,arguments)}}function da(a,b){var c,d,e,f,g=function(){var h=+new Date-f;b>h&&h>0?c=setTimeout(g,b-h):(c=null,a.apply(e,d),c||(e=d=null))};return function(){e=this,d=arguments,f=+new Date,c||(c=setTimeout(g,b))}}function ea(c,d,e){var f,g,h,i,j=c[0],k=1==c.length&&"string"==typeof j;return b.isMoment(j)?(i=b.apply(null,c),ga(j,i)):O(j)||void 0===j?i=b.apply(null,c):(f=!1,g=!1,k?Za.test(j)?(j+="-01",c=[j],f=!0,g=!0):(h=$a.exec(j))&&(f=!h[5],g=!0):a.isArray(j)&&(g=!0),i=d||f?b.utc.apply(b,c):b.apply(null,c),f?(i._ambigTime=!0,i._ambigZone=!0):e&&(g?i._ambigZone=!0:k&&(i.utcOffset?i.utcOffset(j):i.zone(j)))),i._fullCalendar=!0,i}function fa(a,c){var d,e,f=!1,g=!1,h=a.length,i=[];for(d=0;h>d;d++)e=a[d],b.isMoment(e)||(e=Pa.moment.parseZone(e)),f=f||e._ambigTime,g=g||e._ambigZone,i.push(e);for(d=0;h>d;d++)e=i[d],c||!f||e._ambigTime?g&&!e._ambigZone&&(i[d]=e.clone().stripZone()):i[d]=e.clone().stripTime();return i}function ga(a,b){a._ambigTime?b._ambigTime=!0:b._ambigTime&&(b._ambigTime=!1),a._ambigZone?b._ambigZone=!0:b._ambigZone&&(b._ambigZone=!1)}function ha(a,b){a.year(b[0]||0).month(b[1]||0).date(b[2]||0).hours(b[3]||0).minutes(b[4]||0).seconds(b[5]||0).milliseconds(b[6]||0)}function ia(a,b){return ab.format.call(a,b)}function ja(a,b){return ka(a,pa(b))}function ka(a,b){var c,d="";for(c=0;cg&&(f=oa(a,b,j,k,c[h]),f!==!1);h--)m=f+m;for(i=g;h>=i;i++)n+=la(a,c[i]),o+=la(b,c[i]);return(n||o)&&(p=e?o+d+n:n+d+o),l+p+m}function oa(a,b,c,d,e){var f,g;return"string"==typeof e?e:(f=e.token)&&(g=cb[f.charAt(0)],g&&c.isSame(d,g))?ia(a,f):!1}function pa(a){return a in db?db[a]:db[a]=qa(a)}function qa(a){for(var b,c=[],d=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;b=d.exec(a);)b[1]?c.push(b[1]):b[2]?c.push({maybe:qa(b[2])}):b[3]?c.push({token:b[3]}):b[5]&&c.push(b[5]);return c}function ra(){}function sa(a,b){var c;return U(b,"constructor")&&(c=b.constructor),"function"!=typeof c&&(c=b.constructor=function(){a.apply(this,arguments)}),c.prototype=R(a.prototype),S(b,c.prototype),T(b,c.prototype),S(a,c),c}function ta(a,b){S(b.prototype||b,a.prototype)}function ua(a,b){return a||b?a&&b?a.component===b.component&&va(a,b)&&va(b,a):!1:!0}function va(a,b){for(var c in a)if(!/^(component|left|right|top|bottom)$/.test(c)&&a[c]!==b[c])return!1;return!0}function wa(a){var b=ya(a);return"background"===b||"inverse-background"===b}function xa(a){return"inverse-background"===ya(a)}function ya(a){return X((a.source||{}).rendering,a.rendering)}function za(a){var b,c,d={};for(b=0;b=a.leftCol)return!0;return!1}function Da(a,b){return a.leftCol-b.leftCol}function Ea(a){var b,c,d,e=[];for(b=0;bb.top&&a.top").prependTo(c),S=N.header=new Ma(N,O),T=S.render(),T&&c.prepend(T),i(O.defaultView),O.handleWindowResize&&(Y=da(m,O.windowResizeDelay),a(window).resize(Y))}function g(){W&&W.removeElement(),S.removeElement(),U.remove(),c.removeClass("fc fc-ltr fc-rtl fc-unthemed ui-widget"),Y&&a(window).unbind("resize",Y)}function h(){return c.is(":visible")}function i(b){ca++,W&&b&&W.type!==b&&(S.deactivateButton(W.type),H(),W.removeElement(),W=N.view=null),!W&&b&&(W=N.view=ba[b]||(ba[b]=N.instantiateView(b)),W.setElement(a("
").appendTo(U)),S.activateButton(b)),W&&(Z=W.massageCurrentDate(Z),W.displaying&&Z.isWithin(W.intervalStart,W.intervalEnd)||h()&&(W.display(Z),I(),u(),v(),q())),I(),ca--}function j(a){return h()?(a&&l(),ca++,W.updateSize(!0),ca--,!0):void 0}function k(){h()&&l()}function l(){X="number"==typeof O.contentHeight?O.contentHeight:"number"==typeof O.height?O.height-(T?T.outerHeight(!0):0):Math.round(U.width()/Math.max(O.aspectRatio,.5))}function m(a){!ca&&a.target===window&&W.start&&j(!0)&&W.trigger("windowResize",aa)}function n(){p(),r()}function o(){h()&&(H(),W.displayEvents(ea),I())}function p(){H(),W.clearEvents(),I()}function q(){!O.lazyFetching||$(W.start,W.end)?r():o()}function r(){_(W.start,W.end)}function s(a){ea=a,o()}function t(){o()}function u(){S.updateTitle(W.title)}function v(){var a=N.getNow();a.isWithin(W.intervalStart,W.intervalEnd)?S.disableButton("today"):S.enableButton("today")}function w(a,b){W.select(N.buildSelectSpan.apply(N,arguments))}function x(){W&&W.unselect()}function y(){Z=W.computePrevDate(Z),i()}function z(){Z=W.computeNextDate(Z),i()}function A(){Z.add(-1,"years"),i()}function B(){Z.add(1,"years"),i()}function C(){Z=N.getNow(),i()}function D(a){Z=N.moment(a).stripZone(),i()}function E(a){Z.add(b.duration(a)),i()}function F(a,b){var c;b=b||"day",c=N.getViewSpec(b)||N.getUnitViewSpec(b),Z=a.clone(),i(c?c.type:null)}function G(){return N.applyTimezone(Z)}function H(){U.css({width:"100%",height:U.height(),overflow:"hidden"})}function I(){U.css({width:"",height:"",overflow:""})}function J(){return N}function K(){return W}function L(a,b){return void 0===b?O[a]:void(("height"==a||"contentHeight"==a||"aspectRatio"==a)&&(O[a]=b,j(!0)))}function M(a,b){var c=Array.prototype.slice.call(arguments,2);return b=b||aa,this.triggerWith(a,b,c),O[a]?O[a].apply(b,c):void 0}var N=this;N.initOptions(d||{});var O=this.options;N.render=e,N.destroy=g,N.refetchEvents=n,N.reportEvents=s,N.reportEventChange=t,N.rerenderEvents=o,N.changeView=i,N.select=w,N.unselect=x,N.prev=y,N.next=z,N.prevYear=A,N.nextYear=B,N.today=C,N.gotoDate=D,N.incrementDate=E,N.zoomTo=F,N.getDate=G,N.getCalendar=J,N.getView=K,N.option=L,N.trigger=M;var P=R(La(O.lang));if(O.monthNames&&(P._months=O.monthNames),O.monthNamesShort&&(P._monthsShort=O.monthNamesShort),O.dayNames&&(P._weekdays=O.dayNames),O.dayNamesShort&&(P._weekdaysShort=O.dayNamesShort),null!=O.firstDay){var Q=R(P._week);Q.dow=O.firstDay,P._week=Q}P._fullCalendar_weekCalc=function(a){return"function"==typeof a?a:"local"===a?a:"iso"===a||"ISO"===a?"ISO":void 0}(O.weekNumberCalculation),N.defaultAllDayEventDuration=b.duration(O.defaultAllDayEventDuration),N.defaultTimedEventDuration=b.duration(O.defaultTimedEventDuration),N.moment=function(){var a;return"local"===O.timezone?(a=Pa.moment.apply(null,arguments),a.hasTime()&&a.local()):a="UTC"===O.timezone?Pa.moment.utc.apply(null,arguments):Pa.moment.parseZone.apply(null,arguments),"_locale"in a?a._locale=P:a._lang=P,a},N.getIsAmbigTimezone=function(){return"local"!==O.timezone&&"UTC"!==O.timezone},N.applyTimezone=function(a){if(!a.hasTime())return a.clone();var b,c=N.moment(a.toArray()),d=a.time()-c.time();return d&&(b=c.clone().add(d),a.time()-b.time()===0&&(c=b)),c},N.getNow=function(){var a=O.now;return"function"==typeof a&&(a=a()),N.moment(a).stripZone()},N.getEventEnd=function(a){return a.end?a.end.clone():N.getDefaultEventEnd(a.allDay,a.start)},N.getDefaultEventEnd=function(a,b){var c=b.clone();return a?c.stripTime().add(N.defaultAllDayEventDuration):c.add(N.defaultTimedEventDuration),N.getIsAmbigTimezone()&&c.stripZone(),c},N.humanizeDuration=function(a){return(a.locale||a.lang).call(a,O.lang).humanize()},Na.call(N,O);var S,T,U,V,W,X,Y,Z,$=N.isFetchNeeded,_=N.fetchEvents,aa=c[0],ba={},ca=0,ea=[];Z=null!=O.defaultDate?N.moment(O.defaultDate).stripZone():N.getNow(),N.getSuggestedViewHeight=function(){return void 0===X&&k(),X},N.isHeightAuto=function(){return"auto"===O.contentHeight||"auto"===O.height},N.freezeContentHeight=H,N.unfreezeContentHeight=I,N.initialize()}function Ka(b){a.each(tb,function(a,c){null==b[a]&&(b[a]=c(b))})}function La(a){var c=b.localeData||b.langData;return c.call(b,a)||c.call(b,"en")}function Ma(b,c){function d(){var b=c.header;return n=c.theme?"ui":"fc",b?o=a("
").append(f("left")).append(f("right")).append(f("center")).append('
'):void 0}function e(){o.remove(),o=a()}function f(d){var e=a('
'),f=c.header[d];return f&&a.each(f.split(" "),function(d){var f,g=a(),h=!0;a.each(this.split(","),function(d,e){var f,i,j,k,l,m,o,q,r,s;"title"==e?(g=g.add(a("

 

")),h=!1):((f=(b.options.customButtons||{})[e])?(j=function(a){f.click&&f.click.call(s[0],a)},k="",l=f.text):(i=b.getViewSpec(e))?(j=function(){b.changeView(e)},p.push(e),k=i.buttonTextOverride,l=i.buttonTextDefault):b[e]&&(j=function(){b[e]()},k=(b.overrides.buttonText||{})[e],l=c.buttonText[e]),j&&(m=f?f.themeIcon:c.themeButtonIcons[e],o=f?f.icon:c.buttonIcons[e],q=k?Y(k):m&&c.theme?"":o&&!c.theme?"":Y(l),r=["fc-"+e+"-button",n+"-button",n+"-state-default"],s=a('").click(function(a){s.hasClass(n+"-state-disabled")||(j(a),(s.hasClass(n+"-state-active")||s.hasClass(n+"-state-disabled"))&&s.removeClass(n+"-state-hover"))}).mousedown(function(){s.not("."+n+"-state-active").not("."+n+"-state-disabled").addClass(n+"-state-down")}).mouseup(function(){s.removeClass(n+"-state-down")}).hover(function(){s.not("."+n+"-state-active").not("."+n+"-state-disabled").addClass(n+"-state-hover")},function(){s.removeClass(n+"-state-hover").removeClass(n+"-state-down")}),g=g.add(s)))}),h&&g.first().addClass(n+"-corner-left").end().last().addClass(n+"-corner-right").end(),g.length>1?(f=a("
"),h&&f.addClass("fc-button-group"),f.append(g),e.append(f)):e.append(g)}),e}function g(a){o.find("h2").text(a)}function h(a){o.find(".fc-"+a+"-button").addClass(n+"-state-active")}function i(a){o.find(".fc-"+a+"-button").removeClass(n+"-state-active")}function j(a){o.find(".fc-"+a+"-button").attr("disabled","disabled").addClass(n+"-state-disabled")}function k(a){o.find(".fc-"+a+"-button").removeAttr("disabled").removeClass(n+"-state-disabled")}function l(){return p}var m=this;m.render=d,m.removeElement=e,m.updateTitle=g,m.activateButton=h,m.deactivateButton=i,m.disableButton=j,m.enableButton=k,m.getViewsWithButtons=l;var n,o=a(),p=[]}function Na(c){function d(a,b){return!L||L>a||b>M}function e(a,b){L=a,M=b,T=[];var c=++R,d=Q.length;S=d;for(var e=0;d>e;e++)f(Q[e],c)}function f(b,c){g(b,function(d){var e,f,g,h=a.isArray(b.events);if(c==R){if(d)for(e=0;e=c&&b.end<=d}function J(a,b){var c=a.start.clone().stripZone(),d=K.getEventEnd(a).stripZone();return b.startc}var K=this;K.isFetchNeeded=d,K.fetchEvents=e,K.addEventSource=h,K.removeEventSource=j,K.updateEvent=m,K.renderEvent=p,K.removeEvents=q,K.clientEvents=r,K.mutateEvent=x,K.normalizeEventDates=u,K.normalizeEventTimes=v;var L,M,N=K.reportEvents,O={events:[]},Q=[O],R=0,S=0,T=[];a.each((c.events?[c.events]:[]).concat(c.eventSources||[]),function(a,b){var c=i(b);c&&Q.push(c)}),K.getBusinessHoursEvents=z,K.isEventSpanAllowed=A,K.isExternalSpanAllowed=B,K.isSelectionSpanAllowed=C,K.getEventCache=function(){return T}}function Oa(a){a._allDay=a.allDay,a._start=a.start.clone(),a._end=a.end?a.end.clone():null}var Pa=a.fullCalendar={version:"2.6.1",internalApiVersion:3},Qa=Pa.views={};a.fn.fullCalendar=function(b){var c=Array.prototype.slice.call(arguments,1),d=this;return this.each(function(e,f){var g,h=a(f),i=h.data("fullCalendar");"string"==typeof b?i&&a.isFunction(i[b])&&(g=i[b].apply(i,c),e||(d=g),"destroy"===b&&h.removeData("fullCalendar")):i||(i=new pb(h,b),h.data("fullCalendar",i),i.render())}),d};var Ra=["header","buttonText","buttonIcons","themeButtonIcons"];Pa.intersectRanges=E,Pa.applyAll=W,Pa.debounce=da,Pa.isInt=ba,Pa.htmlEscape=Y,Pa.cssToStr=$,Pa.proxy=ca,Pa.capitaliseFirstLetter=_,Pa.getOuterRect=o,Pa.getClientRect=p,Pa.getContentRect=q,Pa.getScrollbarWidths=r;var Sa=null;Pa.intersectRects=w,Pa.parseFieldSpecs=A,Pa.compareByFieldSpecs=B,Pa.compareByFieldSpec=C,Pa.flexibleCompare=D,Pa.computeIntervalUnit=I,Pa.divideRangeByDuration=K,Pa.divideDurationByDuration=L,Pa.multiplyDuration=M,Pa.durationHasTime=N;var Ta=["sun","mon","tue","wed","thu","fri","sat"],Ua=["year","month","week","day","hour","minute","second","millisecond"];Pa.log=function(){var a=window.console;return a&&a.log?a.log.apply(a,arguments):void 0},Pa.warn=function(){var a=window.console;return a&&a.warn?a.warn.apply(a,arguments):Pa.log.apply(Pa,arguments)};var Va,Wa,Xa,Ya={}.hasOwnProperty,Za=/^\s*\d{4}-\d\d$/,$a=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,_a=b.fn,ab=a.extend({},_a);Pa.moment=function(){return ea(arguments)},Pa.moment.utc=function(){var a=ea(arguments,!0);return a.hasTime()&&a.utc(),a},Pa.moment.parseZone=function(){return ea(arguments,!0,!0)},_a.clone=function(){var a=ab.clone.apply(this,arguments);return ga(this,a),this._fullCalendar&&(a._fullCalendar=!0),a},_a.week=_a.weeks=function(a){var b=(this._locale||this._lang)._fullCalendar_weekCalc;return null==a&&"function"==typeof b?b(this):"ISO"===b?ab.isoWeek.apply(this,arguments):ab.week.apply(this,arguments)},_a.time=function(a){if(!this._fullCalendar)return ab.time.apply(this,arguments);if(null==a)return b.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,b.isDuration(a)||b.isMoment(a)||(a=b.duration(a));var c=0;return b.isDuration(a)&&(c=24*Math.floor(a.asDays())),this.hours(c+a.hours()).minutes(a.minutes()).seconds(a.seconds()).milliseconds(a.milliseconds())},_a.stripTime=function(){var a;return this._ambigTime||(a=this.toArray(),this.utc(),Wa(this,a.slice(0,3)),this._ambigTime=!0,this._ambigZone=!0),this},_a.hasTime=function(){return!this._ambigTime},_a.stripZone=function(){var a,b;return this._ambigZone||(a=this.toArray(),b=this._ambigTime,this.utc(),Wa(this,a),this._ambigTime=b||!1,this._ambigZone=!0),this},_a.hasZone=function(){return!this._ambigZone},_a.local=function(){var a=this.toArray(),b=this._ambigZone;return ab.local.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,b&&Xa(this,a),this},_a.utc=function(){return ab.utc.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,this},a.each(["zone","utcOffset"],function(a,b){ab[b]&&(_a[b]=function(a){return null!=a&&(this._ambigTime=!1,this._ambigZone=!1),ab[b].apply(this,arguments)})}),_a.format=function(){return this._fullCalendar&&arguments[0]?ja(this,arguments[0]):this._ambigTime?ia(this,"YYYY-MM-DD"):this._ambigZone?ia(this,"YYYY-MM-DD[T]HH:mm:ss"):ab.format.apply(this,arguments)},_a.toISOString=function(){return this._ambigTime?ia(this,"YYYY-MM-DD"):this._ambigZone?ia(this,"YYYY-MM-DD[T]HH:mm:ss"):ab.toISOString.apply(this,arguments)},_a.isWithin=function(a,b){var c=fa([this,a,b]);return c[0]>=c[1]&&c[0]a;a++)b=arguments[a],c-1>a&&ta(this,b);return sa(this,b||{})},ra.mixin=function(a){ta(this,a)};var eb=Pa.Emitter=ra.extend({callbackHash:null,on:function(a,b){return this.getCallbacks(a).add(b),this},off:function(a,b){return this.getCallbacks(a).remove(b),this},trigger:function(a){var b=Array.prototype.slice.call(arguments,1);return this.triggerWith(a,this,b),this},triggerWith:function(a,b,c){var d=this.getCallbacks(a);return d.fireWith(b,c),this},getCallbacks:function(b){var c;return this.callbackHash||(this.callbackHash={}),c=this.callbackHash[b],c||(c=this.callbackHash[b]=a.Callbacks()),c}}),fb=ra.extend({isHidden:!0,options:null,el:null,documentMousedownProxy:null,margin:10,constructor:function(a){this.options=a||{}},show:function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},hide:function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},render:function(){var b=this,c=this.options;this.el=a('
').addClass(c.className||"").css({top:0,left:0}).append(c.content).appendTo(c.parentEl),this.el.on("click",".fc-close",function(){b.hide()}),c.autoHide&&a(document).on("mousedown",this.documentMousedownProxy=ca(this,"documentMousedown"))},documentMousedown:function(b){this.el&&!a(b.target).closest(this.el).length&&this.hide()},removeElement:function(){this.hide(),this.el&&(this.el.remove(),this.el=null),a(document).off("mousedown",this.documentMousedownProxy)},position:function(){var b,c,d,e,f,g=this.options,h=this.el.offsetParent().offset(),i=this.el.outerWidth(),j=this.el.outerHeight(),k=a(window),l=n(this.el);e=g.top||0,f=void 0!==g.left?g.left:void 0!==g.right?g.right-i:0,l.is(window)||l.is(document)?(l=k,b=0,c=0):(d=l.offset(),b=d.top,c=d.left),b+=k.scrollTop(),c+=k.scrollLeft(),g.viewportConstrain!==!1&&(e=Math.min(e,b+l.outerHeight()-j-this.margin),e=Math.max(e,b+this.margin),f=Math.min(f,c+l.outerWidth()-i-this.margin), +f=Math.max(f,c+this.margin)),this.el.css({top:e-h.top,left:f-h.left})},trigger:function(a){this.options[a]&&this.options[a].apply(this,Array.prototype.slice.call(arguments,1))}}),gb=Pa.CoordCache=ra.extend({els:null,forcedOffsetParentEl:null,origin:null,boundingRect:null,isHorizontal:!1,isVertical:!1,lefts:null,rights:null,tops:null,bottoms:null,constructor:function(b){this.els=a(b.els),this.isHorizontal=b.isHorizontal,this.isVertical=b.isVertical,this.forcedOffsetParentEl=b.offsetParent?a(b.offsetParent):null},build:function(){var a=this.forcedOffsetParentEl||this.els.eq(0).offsetParent();this.origin=a.offset(),this.boundingRect=this.queryBoundingRect(),this.isHorizontal&&this.buildElHorizontals(),this.isVertical&&this.buildElVerticals()},clear:function(){this.origin=null,this.boundingRect=null,this.lefts=null,this.rights=null,this.tops=null,this.bottoms=null},ensureBuilt:function(){this.origin||this.build()},queryBoundingRect:function(){var a=n(this.els.eq(0));return a.is(document)?void 0:p(a)},buildElHorizontals:function(){var b=[],c=[];this.els.each(function(d,e){var f=a(e),g=f.offset().left,h=f.outerWidth();b.push(g),c.push(g+h)}),this.lefts=b,this.rights=c},buildElVerticals:function(){var b=[],c=[];this.els.each(function(d,e){var f=a(e),g=f.offset().top,h=f.outerHeight();b.push(g),c.push(g+h)}),this.tops=b,this.bottoms=c},getHorizontalIndex:function(a){this.ensureBuilt();var b,c=this.boundingRect,d=this.lefts,e=this.rights,f=d.length;if(!c||a>=c.left&&ab;b++)if(a>=d[b]&&a=c.top&&ab;b++)if(a>=d[b]&&a=b*b&&this.startDrag(a)),this.isDragging&&this.drag(d,e,a)},startDrag:function(a){this.isListening||this.startListening(),this.isDragging||(this.isDragging=!0,this.dragStart(a))},dragStart:function(a){var b=this.subjectEl;this.trigger("dragStart",a),(this.subjectHref=b?b.attr("href"):null)&&b.removeAttr("href")},drag:function(a,b,c){this.trigger("drag",a,b,c),this.updateScroll(c)},mouseup:function(a){this.stopListening(a)},stopDrag:function(a){this.isDragging&&(this.stopScrolling(),this.dragStop(a),this.isDragging=!1)},dragStop:function(a){var b=this;this.trigger("dragStop",a),setTimeout(function(){b.subjectHref&&b.subjectEl.attr("href",b.subjectHref)},0)},stopListening:function(b){this.stopDrag(b),this.isListening&&(this.scrollEl&&(this.scrollEl.off("scroll",this.scrollHandlerProxy),this.scrollHandlerProxy=null),a(document).off("mousemove",this.mousemoveProxy).off("mouseup",this.mouseupProxy).off("selectstart",this.preventDefault),this.mousemoveProxy=null,this.mouseupProxy=null,this.isListening=!1,this.listenStop(b))},listenStop:function(a){this.trigger("listenStop",a)},trigger:function(a){this.options[a]&&this.options[a].apply(this,Array.prototype.slice.call(arguments,1))},preventDefault:function(a){a.preventDefault()},computeScrollBounds:function(){var a=this.scrollEl;this.scrollBounds=a?o(a):null},updateScroll:function(a){var b,c,d,e,f=this.scrollSensitivity,g=this.scrollBounds,h=0,i=0;g&&(b=(f-(a.pageY-g.top))/f,c=(f-(g.bottom-a.pageY))/f,d=(f-(a.pageX-g.left))/f,e=(f-(g.right-a.pageX))/f,b>=0&&1>=b?h=b*this.scrollSpeed*-1:c>=0&&1>=c&&(h=c*this.scrollSpeed),d>=0&&1>=d?i=d*this.scrollSpeed*-1:e>=0&&1>=e&&(i=e*this.scrollSpeed)),this.setScrollVel(h,i)},setScrollVel:function(a,b){this.scrollTopVel=a,this.scrollLeftVel=b,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(ca(this,"scrollIntervalFunc"),this.scrollIntervalMs))},constrainScrollVel:function(){var a=this.scrollEl;this.scrollTopVel<0?a.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&a.scrollTop()+a[0].clientHeight>=a[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?a.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&a.scrollLeft()+a[0].clientWidth>=a[0].scrollWidth&&(this.scrollLeftVel=0)},scrollIntervalFunc:function(){var a=this.scrollEl,b=this.scrollIntervalMs/1e3;this.scrollTopVel&&a.scrollTop(a.scrollTop()+this.scrollTopVel*b),this.scrollLeftVel&&a.scrollLeft(a.scrollLeft()+this.scrollLeftVel*b),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.stopScrolling()},stopScrolling:function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.scrollStop())},scrollHandler:function(){this.scrollIntervalId||this.scrollStop()},scrollStop:function(){}}),ib=hb.extend({component:null,origHit:null,hit:null,coordAdjust:null,constructor:function(a,b){hb.call(this,b),this.component=a},listenStart:function(a){var b,c,d,e=this.subjectEl;hb.prototype.listenStart.apply(this,arguments),this.computeCoords(),a?(c={left:a.pageX,top:a.pageY},d=c,e&&(b=o(e),d=x(d,b)),this.origHit=this.queryHit(d.left,d.top),e&&this.options.subjectCenter&&(this.origHit&&(b=w(this.origHit,b)||b),d=y(b)),this.coordAdjust=z(d,c)):(this.origHit=null,this.coordAdjust=null)},computeCoords:function(){this.component.prepareHits(),this.computeScrollBounds()},dragStart:function(a){var b;hb.prototype.dragStart.apply(this,arguments),b=this.queryHit(a.pageX,a.pageY),b&&this.hitOver(b)},drag:function(a,b,c){var d;hb.prototype.drag.apply(this,arguments),d=this.queryHit(c.pageX,c.pageY),ua(d,this.hit)||(this.hit&&this.hitOut(),d&&this.hitOver(d))},dragStop:function(){this.hitDone(),hb.prototype.dragStop.apply(this,arguments)},hitOver:function(a){var b=ua(a,this.origHit);this.hit=a,this.trigger("hitOver",this.hit,b,this.origHit)},hitOut:function(){this.hit&&(this.trigger("hitOut",this.hit),this.hitDone(),this.hit=null)},hitDone:function(){this.hit&&this.trigger("hitDone",this.hit)},listenStop:function(){hb.prototype.listenStop.apply(this,arguments),this.origHit=null,this.hit=null,this.component.releaseHits()},scrollStop:function(){hb.prototype.scrollStop.apply(this,arguments),this.computeCoords()},queryHit:function(a,b){return this.coordAdjust&&(a+=this.coordAdjust.left,b+=this.coordAdjust.top),this.component.queryHit(a,b)}}),jb=ra.extend({options:null,sourceEl:null,el:null,parentEl:null,top0:null,left0:null,mouseY0:null,mouseX0:null,topDelta:null,leftDelta:null,mousemoveProxy:null,isFollowing:!1,isHidden:!1,isAnimating:!1,constructor:function(b,c){this.options=c=c||{},this.sourceEl=b,this.parentEl=c.parentEl?a(c.parentEl):b.parent()},start:function(b){this.isFollowing||(this.isFollowing=!0,this.mouseY0=b.pageY,this.mouseX0=b.pageX,this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),a(document).on("mousemove",this.mousemoveProxy=ca(this,"mousemove")))},stop:function(b,c){function d(){this.isAnimating=!1,e.removeElement(),this.top0=this.left0=null,c&&c()}var e=this,f=this.options.revertDuration;this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,a(document).off("mousemove",this.mousemoveProxy),b&&f&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:f,complete:d})):d())},getEl:function(){var a=this.el;return a||(this.sourceEl.width(),a=this.el=this.sourceEl.clone().css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex}).appendTo(this.parentEl)),a},removeElement:function(){this.el&&(this.el.remove(),this.el=null)},updatePosition:function(){var a,b;this.getEl(),null===this.top0&&(this.sourceEl.width(),a=this.sourceEl.offset(),b=this.el.offsetParent().offset(),this.top0=a.top-b.top,this.left0=a.left-b.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},mousemove:function(a){this.topDelta=a.pageY-this.mouseY0,this.leftDelta=a.pageX-this.mouseX0,this.isHidden||this.updatePosition()},hide:function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},show:function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())}}),kb=Pa.Grid=ra.extend({view:null,isRTL:null,start:null,end:null,el:null,elsByFill:null,externalDragStartProxy:null,eventTimeFormat:null,displayEventTime:null,displayEventEnd:null,minResizeDuration:null,largeUnit:null,constructor:function(a){this.view=a,this.isRTL=a.opt("isRTL"),this.elsByFill={},this.externalDragStartProxy=ca(this,"externalDragStart")},computeEventTimeFormat:function(){return this.view.opt("smallTimeFormat")},computeDisplayEventTime:function(){return!0},computeDisplayEventEnd:function(){return!0},setRange:function(a){this.start=a.start.clone(),this.end=a.end.clone(),this.rangeUpdated(),this.processRangeOptions()},rangeUpdated:function(){},processRangeOptions:function(){var a,b,c=this.view;this.eventTimeFormat=c.opt("eventTimeFormat")||c.opt("timeFormat")||this.computeEventTimeFormat(),a=c.opt("displayEventTime"),null==a&&(a=this.computeDisplayEventTime()),b=c.opt("displayEventEnd"),null==b&&(b=this.computeDisplayEventEnd()),this.displayEventTime=a,this.displayEventEnd=b},spanToSegs:function(a){},diffDates:function(a,b){return this.largeUnit?H(a,b,this.largeUnit):F(a,b)},prepareHits:function(){},releaseHits:function(){},queryHit:function(a,b){},getHitSpan:function(a){},getHitEl:function(a){},setElement:function(b){var c=this;this.el=b,b.on("mousedown",function(b){a(b.target).is(".fc-event-container *, .fc-more")||a(b.target).closest(".fc-popover").length||c.dayMousedown(b)}),this.bindSegHandlers(),this.bindGlobalHandlers()},removeElement:function(){this.unbindGlobalHandlers(),this.el.remove()},renderSkeleton:function(){},renderDates:function(){},unrenderDates:function(){},bindGlobalHandlers:function(){a(document).on("dragstart sortstart",this.externalDragStartProxy)},unbindGlobalHandlers:function(){a(document).off("dragstart sortstart",this.externalDragStartProxy)},dayMousedown:function(a){var b,c,d=this,e=this.view,f=e.opt("selectable"),i=new ib(this,{scroll:e.opt("dragScroll"),dragStart:function(){e.unselect()},hitOver:function(a,e,h){h&&(b=e?a:null,f&&(c=d.computeSelection(d.getHitSpan(h),d.getHitSpan(a)),c?d.renderSelection(c):c===!1&&g()))},hitOut:function(){b=null,c=null,d.unrenderSelection(),h()},listenStop:function(a){b&&e.triggerDayClick(d.getHitSpan(b),d.getHitEl(b),a),c&&e.reportSelection(c,a),h()}});i.mousedown(a)},renderEventLocationHelper:function(a,b){var c=this.fabricateHelperEvent(a,b);this.renderHelper(c,b)},fabricateHelperEvent:function(a,b){var c=b?R(b.event):{};return c.start=a.start.clone(),c.end=a.end?a.end.clone():null,c.allDay=null,this.view.calendar.normalizeEventDates(c),c.className=(c.className||[]).concat("fc-helper"),b||(c.editable=!1),c},renderHelper:function(a,b){},unrenderHelper:function(){},renderSelection:function(a){this.renderHighlight(a)},unrenderSelection:function(){this.unrenderHighlight()},computeSelection:function(a,b){var c=this.computeSelectionSpan(a,b);return c&&!this.view.calendar.isSelectionSpanAllowed(c)?!1:c},computeSelectionSpan:function(a,b){var c=[a.start,a.end,b.start,b.end];return c.sort(aa),{start:c[0].clone(),end:c[3].clone()}},renderHighlight:function(a){this.renderFill("highlight",this.spanToSegs(a))},unrenderHighlight:function(){this.unrenderFill("highlight")},highlightSegClasses:function(){return["fc-highlight"]},renderBusinessHours:function(){},unrenderBusinessHours:function(){},getNowIndicatorUnit:function(){},renderNowIndicator:function(a){},unrenderNowIndicator:function(){},renderFill:function(a,b){},unrenderFill:function(a){var b=this.elsByFill[a];b&&(b.remove(),delete this.elsByFill[a])},renderFillSegEls:function(b,c){var d,e=this,f=this[b+"SegEl"],g="",h=[];if(c.length){for(d=0;d"},getDayClasses:function(a){var b=this.view,c=b.calendar.getNow(),d=["fc-"+Ta[a.day()]];return 1==b.intervalDuration.as("months")&&a.month()!=b.intervalStart.month()&&d.push("fc-other-month"),a.isSame(c,"day")?d.push("fc-today",b.highlightStateClass):c>a?d.push("fc-past"):d.push("fc-future"),d}});kb.mixin({mousedOverSeg:null,isDraggingSeg:!1,isResizingSeg:!1,isDraggingExternal:!1,segs:null,renderEvents:function(a){var b,c=[],d=[];for(b=0;b *",function(c){var e=a(this).data("fc-seg");return!e||b.isDraggingSeg||b.isResizingSeg?void 0:d.call(this,e,c)})})},triggerSegMouseover:function(a,b){this.mousedOverSeg||(this.mousedOverSeg=a,this.view.trigger("eventMouseover",a.el[0],a.event,b))},triggerSegMouseout:function(a,b){b=b||{},this.mousedOverSeg&&(a=a||this.mousedOverSeg,this.mousedOverSeg=null,this.view.trigger("eventMouseout",a.el[0],a.event,b))},segDragMousedown:function(a,b){var c,d=this,e=this.view,f=e.calendar,i=a.el,j=a.event,k=new jb(a.el,{parentEl:e.el,opacity:e.opt("dragOpacity"),revertDuration:e.opt("dragRevertDuration"),zIndex:2}),l=new ib(e,{distance:5,scroll:e.opt("dragScroll"),subjectEl:i,subjectCenter:!0,listenStart:function(a){k.hide(),k.start(a)},dragStart:function(b){d.triggerSegMouseout(a,b),d.segDragStart(a,b),e.hideEvent(j)},hitOver:function(b,h,i){a.hit&&(i=a.hit),c=d.computeEventDrop(i.component.getHitSpan(i),b.component.getHitSpan(b),j),c&&!f.isEventSpanAllowed(d.eventToSpan(c),j)&&(g(),c=null),c&&e.renderDrag(c,a)?k.hide():k.show(),h&&(c=null)},hitOut:function(){e.unrenderDrag(),k.show(),c=null},hitDone:function(){h()},dragStop:function(b){k.stop(!c,function(){e.unrenderDrag(),e.showEvent(j),d.segDragStop(a,b),c&&e.reportEventDrop(j,c,this.largeUnit,i,b)})},listenStop:function(){k.stop()}});l.mousedown(b)},segDragStart:function(a,b){this.isDraggingSeg=!0,this.view.trigger("eventDragStart",a.el[0],a.event,b,{})},segDragStop:function(a,b){this.isDraggingSeg=!1,this.view.trigger("eventDragStop",a.el[0],a.event,b,{})},computeEventDrop:function(a,b,c){var d,e,f=this.view.calendar,g=a.start,h=b.start;return g.hasTime()===h.hasTime()?(d=this.diffDates(h,g),c.allDay&&N(d)?(e={start:c.start.clone(),end:f.getEventEnd(c),allDay:!1},f.normalizeEventTimes(e)):e={start:c.start.clone(),end:c.end?c.end.clone():null,allDay:c.allDay},e.start.add(d),e.end&&e.end.add(d)):e={start:h.clone(),end:null,allDay:!h.hasTime()},e},applyDragOpacity:function(a){var b=this.view.opt("dragOpacity");null!=b&&a.each(function(a,c){c.style.opacity=b})},externalDragStart:function(b,c){var d,e,f=this.view;f.opt("droppable")&&(d=a((c?c.item:null)||b.target),e=f.opt("dropAccept"),(a.isFunction(e)?e.call(d[0],d):d.is(e))&&(this.isDraggingExternal||this.listenToExternalDrag(d,b,c)))},listenToExternalDrag:function(a,b,c){var d,e=this,f=this.view.calendar,i=Ba(a),j=new ib(this,{listenStart:function(){e.isDraggingExternal=!0},hitOver:function(a){d=e.computeExternalDrop(a.component.getHitSpan(a),i),d&&!f.isExternalSpanAllowed(e.eventToSpan(d),d,i.eventProps)&&(g(),d=null),d&&e.renderDrag(d)},hitOut:function(){d=null},hitDone:function(){h(),e.unrenderDrag()},dragStop:function(){d&&e.view.reportExternalDrop(i,d,a,b,c)},listenStop:function(){e.isDraggingExternal=!1}});j.startDrag(b)},computeExternalDrop:function(a,b){var c=this.view.calendar,d={start:c.applyTimezone(a.start),end:null};return b.startTime&&!d.start.hasTime()&&d.start.time(b.startTime),b.duration&&(d.end=d.start.clone().add(b.duration)),d},renderDrag:function(a,b){},unrenderDrag:function(){},segResizeMousedown:function(a,b,c){var d,e=this,f=this.view,i=f.calendar,j=a.el,k=a.event,l=i.getEventEnd(k),m=new ib(this,{distance:5,scroll:f.opt("dragScroll"),subjectEl:j,dragStart:function(b){e.triggerSegMouseout(a,b),e.segResizeStart(a,b)},hitOver:function(b,h,j){var m=e.getHitSpan(j),n=e.getHitSpan(b);d=c?e.computeEventStartResize(m,n,k):e.computeEventEndResize(m,n,k),d&&(i.isEventSpanAllowed(e.eventToSpan(d),k)?d.start.isSame(k.start)&&d.end.isSame(l)&&(d=null):(g(),d=null)),d&&(f.hideEvent(k),e.renderEventResize(d,a))},hitOut:function(){d=null},hitDone:function(){e.unrenderEventResize(),f.showEvent(k),h()},dragStop:function(b){e.segResizeStop(a,b),d&&f.reportEventResize(k,d,this.largeUnit,j,b)}});m.mousedown(b)},segResizeStart:function(a,b){this.isResizingSeg=!0,this.view.trigger("eventResizeStart",a.el[0],a.event,b,{})},segResizeStop:function(a,b){this.isResizingSeg=!1,this.view.trigger("eventResizeStop",a.el[0],a.event,b,{})},computeEventStartResize:function(a,b,c){return this.computeEventResize("start",a,b,c)},computeEventEndResize:function(a,b,c){return this.computeEventResize("end",a,b,c)},computeEventResize:function(a,b,c,d){var e,f,g=this.view.calendar,h=this.diffDates(c[a],b[a]);return e={start:d.start.clone(),end:g.getEventEnd(d),allDay:d.allDay},e.allDay&&N(h)&&(e.allDay=!1,g.normalizeEventTimes(e)),e[a].add(h),e.start.isBefore(e.end)||(f=this.minResizeDuration||(d.allDay?g.defaultAllDayEventDuration:g.defaultTimedEventDuration),"start"==a?e.start=e.end.clone().subtract(f):e.end=e.start.clone().add(f)),e},renderEventResize:function(a,b){},unrenderEventResize:function(){},getEventTimeText:function(a,b,c){return null==b&&(b=this.eventTimeFormat),null==c&&(c=this.displayEventEnd),this.displayEventTime&&a.start.hasTime()?c&&a.end?this.view.formatRange(a,b):a.start.format(b):""},getSegClasses:function(a,b,c){var d=a.event,e=["fc-event",a.isStart?"fc-start":"fc-not-start",a.isEnd?"fc-end":"fc-not-end"].concat(d.className,d.source?d.source.className:[]);return b&&e.push("fc-draggable"),c&&e.push("fc-resizable"),e},getSegSkinCss:function(a){var b=a.event,c=this.view,d=b.source||{},e=b.color,f=d.color,g=c.opt("eventColor");return{"background-color":b.backgroundColor||e||d.backgroundColor||f||c.opt("eventBackgroundColor")||g,"border-color":b.borderColor||e||d.borderColor||f||c.opt("eventBorderColor")||g,color:b.textColor||d.textColor||c.opt("eventTextColor")}},eventToSegs:function(a){return this.eventsToSegs([a])},eventToSpan:function(a){return this.eventToSpans(a)[0]},eventToSpans:function(a){var b=this.eventToRange(a);return this.eventRangeToSpans(b,a)},eventsToSegs:function(b,c){var d=this,e=za(b),f=[];return a.each(e,function(a,b){var e,g=[];for(e=0;eh&&g.push({start:h,end:c.start}),h=c.end;return f>h&&g.push({start:h,end:f}),g},sortEventSegs:function(a){a.sort(ca(this,"compareEventSegs"))},compareEventSegs:function(a,b){return a.eventStartMS-b.eventStartMS||b.eventDurationMS-a.eventDurationMS||b.event.allDay-a.event.allDay||B(a.event,b.event,this.view.eventOrderSpecs)}}),Pa.isBgEvent=wa,Pa.dataAttrPrefix="";var lb=Pa.DayTableMixin={breakOnWeeks:!1,dayDates:null,dayIndices:null,daysPerRow:null,rowCnt:null,colCnt:null,colHeadFormat:null,updateDayTable:function(){for(var a,b,c,d=this.view,e=this.start.clone(),f=-1,g=[],h=[];e.isBefore(this.end);)d.isHiddenDay(e)?g.push(f+.5):(f++,g.push(f),h.push(e.clone())),e.add(1,"days");if(this.breakOnWeeks){for(b=h[0].day(),a=1;ac?b[0]-1:c>=b.length?b[b.length-1]+1:b[c]},computeColHeadFormat:function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.view.opt("dayOfMonthFormat"):"dddd"},sliceRangeByRow:function(a){var b,c,d,e,f,g=this.daysPerRow,h=this.view.computeDayRange(a),i=this.getDateDayIndex(h.start),j=this.getDateDayIndex(h.end.clone().subtract(1,"days")),k=[];for(b=0;b=e&&k.push({row:b,firstRowDayIndex:e-c,lastRowDayIndex:f-c,isStart:e===i,isEnd:f===j});return k},sliceRangeByDay:function(a){var b,c,d,e,f,g,h=this.daysPerRow,i=this.view.computeDayRange(a),j=this.getDateDayIndex(i.start),k=this.getDateDayIndex(i.end.clone().subtract(1,"days")),l=[];for(b=0;b=e;e++)f=Math.max(j,e),g=Math.min(k,e),f=Math.ceil(f),g=Math.floor(g),g>=f&&l.push({row:b,firstRowDayIndex:f-c,lastRowDayIndex:g-c,isStart:f===j,isEnd:g===k});return l},renderHeadHtml:function(){var a=this.view;return'
'+this.renderHeadTrHtml()+"
"},renderHeadIntroHtml:function(){return this.renderIntroHtml()},renderHeadTrHtml:function(){return""+(this.isRTL?"":this.renderHeadIntroHtml())+this.renderHeadDateCellsHtml()+(this.isRTL?this.renderHeadIntroHtml():"")+""},renderHeadDateCellsHtml:function(){var a,b,c=[];for(a=0;a1?' colspan="'+b+'"':"")+(c?" "+c:"")+">"+Y(a.format(this.colHeadFormat))+""},renderBgTrHtml:function(a){return""+(this.isRTL?"":this.renderBgIntroHtml(a))+this.renderBgCellsHtml(a)+(this.isRTL?this.renderBgIntroHtml(a):"")+""},renderBgIntroHtml:function(a){return this.renderIntroHtml()},renderBgCellsHtml:function(a){var b,c,d=[];for(b=0;b"},renderIntroHtml:function(){},bookendCells:function(a){var b=this.renderIntroHtml();b&&(this.isRTL?a.append(b):a.prepend(b))}},mb=Pa.DayGrid=kb.extend(lb,{numbersVisible:!1,bottomCoordPadding:0,rowEls:null,cellEls:null,helperEls:null,rowCoordCache:null,colCoordCache:null,renderDates:function(a){var b,c,d=this.view,e=this.rowCnt,f=this.colCnt,g="";for(b=0;e>b;b++)g+=this.renderDayRowHtml(b,a);for(this.el.html(g),this.rowEls=this.el.find(".fc-row"),this.cellEls=this.el.find(".fc-day"),this.rowCoordCache=new gb({els:this.rowEls,isVertical:!0}),this.colCoordCache=new gb({els:this.cellEls.slice(0,this.colCnt),isHorizontal:!0}),b=0;e>b;b++)for(c=0;f>c;c++)d.trigger("dayRender",null,this.getCellDate(b,c),this.getCellEl(b,c))},unrenderDates:function(){this.removeSegPopover()},renderBusinessHours:function(){var a=this.view.calendar.getBusinessHoursEvents(!0),b=this.eventsToSegs(a);this.renderFill("businessHours",b,"bgevent")},renderDayRowHtml:function(a,b){var c=this.view,d=["fc-row","fc-week",c.widgetContentClass];return b&&d.push("fc-rigid"),'
'+this.renderBgTrHtml(a)+'
'+(this.numbersVisible?""+this.renderNumberTrHtml(a)+"":"")+"
"},renderNumberTrHtml:function(a){return""+(this.isRTL?"":this.renderNumberIntroHtml(a))+this.renderNumberCellsHtml(a)+(this.isRTL?this.renderNumberIntroHtml(a):"")+""},renderNumberIntroHtml:function(a){return this.renderIntroHtml()},renderNumberCellsHtml:function(a){var b,c,d=[];for(b=0;b'+a.date()+""):""},computeEventTimeFormat:function(){return this.view.opt("extraSmallTimeFormat")},computeDisplayEventEnd:function(){return 1==this.colCnt},rangeUpdated:function(){this.updateDayTable()},spanToSegs:function(a){var b,c,d=this.sliceRangeByRow(a);for(b=0;b');g=c&&c.row===b?c.el.position().top:h.find(".fc-content-skeleton tbody").position().top,i.css("top",g).find("table").append(d[b].tbodyEl),h.append(i),e.push(i[0])}),this.helperEls=a(e)},unrenderHelper:function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},fillSegTag:"td",renderFill:function(b,c,d){var e,f,g,h=[];for(c=this.renderFillSegEls(b,c),e=0;e
'),f=e.find("tr"),h>0&&f.append(''),f.append(c.el.attr("colspan",i-h)),g>i&&f.append(''),this.bookendCells(f),e}});mb.mixin({rowStructs:null,unrenderEvents:function(){this.removeSegPopover(),kb.prototype.unrenderEvents.apply(this,arguments)},getEventSegs:function(){return kb.prototype.getEventSegs.call(this).concat(this.popoverSegs||[])},renderBgSegs:function(b){var c=a.grep(b,function(a){return a.event.allDay});return kb.prototype.renderBgSegs.call(this,c)},renderFgSegs:function(b){var c;return b=this.renderFgSegEls(b),c=this.rowStructs=this.renderSegRows(b),this.rowEls.each(function(b,d){a(d).find(".fc-content-skeleton > table").append(c[b].tbodyEl)}),b},unrenderFgSegs:function(){for(var a,b=this.rowStructs||[];a=b.pop();)a.tbodyEl.remove(); +this.rowStructs=null},renderSegRows:function(a){var b,c,d=[];for(b=this.groupSegRows(a),c=0;c'+Y(c)+"")),d=''+(Y(f.title||"")||" ")+"",'
'+(this.isRTL?d+" "+l:l+" "+d)+"
"+(h?'
':"")+(i?'
':"")+""},renderSegRow:function(b,c){function d(b){for(;b>g;)k=(r[e-1]||[])[g],k?k.attr("rowspan",parseInt(k.attr("rowspan")||1,10)+1):(k=a(""),h.append(k)),q[e][g]=k,r[e][g]=k,g++}var e,f,g,h,i,j,k,l=this.colCnt,m=this.buildSegLevels(c),n=Math.max(1,m.length),o=a(""),p=[],q=[],r=[];for(e=0;n>e;e++){if(f=m[e],g=0,h=a(""),p.push([]),q.push([]),r.push([]),f)for(i=0;i').append(j.el),j.leftCol!=j.rightCol?k.attr("colspan",j.rightCol-j.leftCol+1):r[e][g]=k;g<=j.rightCol;)q[e][g]=k,p[e][g]=j,g++;h.append(k)}d(l),this.bookendCells(h),o.append(h)}return{row:b,tbodyEl:o,cellMatrix:q,segMatrix:p,segLevels:m,segs:c}},buildSegLevels:function(a){var b,c,d,e=[];for(this.sortEventSegs(a),b=0;b td > :first-child").each(c),e.position().top+f>h)return d;return!1},limitRow:function(b,c){function d(d){for(;d>w;)j=t.getCellSegs(b,w,c),j.length&&(m=f[c-1][w],s=t.renderMoreLink(b,w,j),r=a("
").append(s),m.append(r),v.push(r[0])),w++}var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=this,u=this.rowStructs[b],v=[],w=0;if(c&&c').attr("rowspan",n),j=l[p],s=this.renderMoreLink(b,i.leftCol+p,[i].concat(j)),r=a("
").append(s),q.append(r),o.push(q[0]),v.push(q[0]);m.addClass("fc-limited").after(a(o)),g.push(m[0])}}d(this.colCnt),u.moreEls=a(v),u.limitedEls=a(g)}},unlimitRow:function(a){var b=this.rowStructs[a];b.moreEls&&(b.moreEls.remove(),b.moreEls=null),b.limitedEls&&(b.limitedEls.removeClass("fc-limited"),b.limitedEls=null)},renderMoreLink:function(b,c,d){var e=this,f=this.view;return a('').text(this.getMoreLinkText(d.length)).on("click",function(g){var h=f.opt("eventLimitClick"),i=e.getCellDate(b,c),j=a(this),k=e.getCellEl(b,c),l=e.getCellSegs(b,c),m=e.resliceDaySegs(l,i),n=e.resliceDaySegs(d,i);"function"==typeof h&&(h=f.trigger("eventLimitClick",null,{date:i,dayEl:k,moreEl:j,segs:m,hiddenSegs:n},g)),"popover"===h?e.showSegPopover(b,c,j,m):"string"==typeof h&&f.calendar.zoomTo(i,h)})},showSegPopover:function(a,b,c,d){var e,f,g=this,h=this.view,i=c.parent();e=1==this.rowCnt?h.el:this.rowEls.eq(a),f={className:"fc-more-popover",content:this.renderSegPopoverContent(a,b,d),parentEl:this.el,top:e.offset().top,autoHide:!0,viewportConstrain:h.opt("popoverViewportConstrain"),hide:function(){g.segPopover.removeElement(),g.segPopover=null,g.popoverSegs=null}},this.isRTL?f.right=i.offset().left+i.outerWidth()+1:f.left=i.offset().left-1,this.segPopover=new fb(f),this.segPopover.show()},renderSegPopoverContent:function(b,c,d){var e,f=this.view,g=f.opt("theme"),h=this.getCellDate(b,c).format(f.opt("dayPopoverFormat")),i=a('
'+Y(h)+'
'),j=i.find(".fc-event-container");for(d=this.renderFgSegEls(d,!0),this.popoverSegs=d,e=0;e'+this.renderBgTrHtml(0)+'
'+this.renderSlatRowHtml()+"
"},renderSlatRowHtml:function(){for(var a,c,d,e=this.view,f=this.isRTL,g="",h=b.duration(+this.minTime);h"+(c?""+Y(a.format(this.labelFormat))+"":"")+"",g+='"+(f?"":d)+''+(f?d:"")+"",h.add(this.slotDuration);return g},processOptions:function(){var c,d=this.view,e=d.opt("slotDuration"),f=d.opt("snapDuration");e=b.duration(e),f=f?b.duration(f):e,this.slotDuration=e,this.snapDuration=f,this.snapsPerSlot=e/f,this.minResizeDuration=f,this.minTime=b.duration(d.opt("minTime")),this.maxTime=b.duration(d.opt("maxTime")),c=d.opt("slotLabelFormat"),a.isArray(c)&&(c=c[c.length-1]),this.labelFormat=c||d.opt("axisFormat")||d.opt("smallTimeFormat"),c=d.opt("slotLabelInterval"),this.labelInterval=c?b.duration(c):this.computeLabelInterval(e)},computeLabelInterval:function(a){var c,d,e;for(c=Db.length-1;c>=0;c--)if(d=b.duration(Db[c]),e=L(d,a),ba(e)&&e>1)return d;return b.duration(a)},computeEventTimeFormat:function(){return this.view.opt("noMeridiemTimeFormat")},computeDisplayEventEnd:function(){return!0},prepareHits:function(){this.colCoordCache.build(),this.slatCoordCache.build()},releaseHits:function(){this.colCoordCache.clear()},queryHit:function(a,b){var c=this.snapsPerSlot,d=this.colCoordCache,e=this.slatCoordCache,f=d.getHorizontalIndex(a),g=e.getVerticalIndex(b);if(null!=f&&null!=g){var h=e.getTopOffset(g),i=e.getHeight(g),j=(b-h)/i,k=Math.floor(j*c),l=g*c+k,m=h+k/c*i,n=h+(k+1)/c*i;return{col:f,snap:l,component:this,left:d.getLeftOffset(f),right:d.getRightOffset(f),top:m,bottom:n}}},getHitSpan:function(a){var b,c=this.getCellDate(0,a.col),d=this.computeSnapTime(a.snap);return c.time(d),b=c.clone().add(this.snapDuration),{start:c,end:b}},getHitEl:function(a){return this.colEls.eq(a.col)},rangeUpdated:function(){this.updateDayTable()},computeSnapTime:function(a){return b.duration(this.minTime+this.snapDuration*a)},spanToSegs:function(a){var b,c=this.sliceRangeByTimes(a);for(b=0;b
').css("top",e).appendTo(this.colContainerEls.eq(d[c].col))[0]);d.length>0&&f.push(a('
').css("top",e).appendTo(this.el.find(".fc-content-skeleton"))[0]),this.nowIndicatorEls=a(f)},unrenderNowIndicator:function(){this.nowIndicatorEls&&(this.nowIndicatorEls.remove(),this.nowIndicatorEls=null)},renderSelection:function(a){this.view.opt("selectHelper")?this.renderEventLocationHelper(a):this.renderHighlight(a)},unrenderSelection:function(){this.unrenderHelper(),this.unrenderHighlight()},renderHighlight:function(a){this.renderHighlightSegs(this.spanToSegs(a))},unrenderHighlight:function(){this.unrenderHighlightSegs()}});nb.mixin({colContainerEls:null,fgContainerEls:null,bgContainerEls:null,helperContainerEls:null,highlightContainerEls:null,businessContainerEls:null,fgSegs:null,bgSegs:null,helperSegs:null,highlightSegs:null,businessSegs:null,renderContentSkeleton:function(){var b,c,d="";for(b=0;b
';c=a('
'+d+"
"),this.colContainerEls=c.find(".fc-content-col"),this.helperContainerEls=c.find(".fc-helper-container"),this.fgContainerEls=c.find(".fc-event-container:not(.fc-helper-container)"),this.bgContainerEls=c.find(".fc-bgevent-container"),this.highlightContainerEls=c.find(".fc-highlight-container"),this.businessContainerEls=c.find(".fc-business-container"),this.bookendCells(c.find("tr")),this.el.append(c)},renderFgSegs:function(a){return a=this.renderFgSegsIntoContainers(a,this.fgContainerEls),this.fgSegs=a,a},unrenderFgSegs:function(){this.unrenderNamedSegs("fgSegs")},renderHelperSegs:function(a,b){var c,d,e;for(a=this.renderFgSegsIntoContainers(a,this.helperContainerEls),c=0;c
'+(c?'
'+Y(c)+"
":"")+(g.title?'
'+Y(g.title)+"
":"")+'
'+(j?'
':"")+""},updateSegVerticals:function(a){this.computeSegVerticals(a),this.assignSegVerticals(a)},computeSegVerticals:function(a){var b,c;for(b=0;b1?"ll":"LL"},formatRange:function(a,b,c){var d=a.end;return d.hasTime()||(d=d.clone().subtract(1)),ma(a.start,d,b,c,this.opt("isRTL"))},setElement:function(a){this.el=a,this.bindGlobalHandlers()},removeElement:function(){this.clear(),this.isSkeletonRendered&&(this.unrenderSkeleton(),this.isSkeletonRendered=!1),this.unbindGlobalHandlers(),this.el.remove()},display:function(b){var c=this,d=null;return this.displaying&&(d=this.queryScroll()),this.calendar.freezeContentHeight(),this.clear().then(function(){return c.displaying=a.when(c.displayView(b)).then(function(){c.forceScroll(c.computeInitialScroll(d)),c.calendar.unfreezeContentHeight(),c.triggerRender()})})},clear:function(){var b=this,c=this.displaying;return c?c.then(function(){return b.displaying=null,b.clearEvents(),b.clearView()}):a.when()},displayView:function(a){this.isSkeletonRendered||(this.renderSkeleton(),this.isSkeletonRendered=!0),a&&this.setDate(a),this.render&&this.render(),this.renderDates(),this.updateSize(),this.renderBusinessHours(),this.startNowIndicator()},clearView:function(){this.unselect(),this.stopNowIndicator(),this.triggerUnrender(),this.unrenderBusinessHours(),this.unrenderDates(),this.destroy&&this.destroy()},renderSkeleton:function(){},unrenderSkeleton:function(){},renderDates:function(){},unrenderDates:function(){},triggerRender:function(){this.trigger("viewRender",this,this,this.el)},triggerUnrender:function(){this.trigger("viewDestroy",this,this,this.el)},bindGlobalHandlers:function(){a(document).on("mousedown",this.documentMousedownProxy)},unbindGlobalHandlers:function(){a(document).off("mousedown",this.documentMousedownProxy)},initThemingProps:function(){var a=this.opt("theme")?"ui":"fc";this.widgetHeaderClass=a+"-widget-header",this.widgetContentClass=a+"-widget-content",this.highlightStateClass=a+"-state-highlight"},renderBusinessHours:function(){},unrenderBusinessHours:function(){},startNowIndicator:function(){var a,c,d,e=this;this.opt("nowIndicator")&&(a=this.getNowIndicatorUnit(),a&&(c=ca(this,"updateNowIndicator"),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=+new Date,this.renderNowIndicator(this.initialNowDate),this.isNowIndicatorRendered=!0,d=this.initialNowDate.clone().startOf(a).add(1,a)-this.initialNowDate,this.nowIndicatorTimeoutID=setTimeout(function(){e.nowIndicatorTimeoutID=null,c(),d=+b.duration(1,a),d=Math.max(100,d),e.nowIndicatorIntervalID=setInterval(c,d)},d)))},updateNowIndicator:function(){this.isNowIndicatorRendered&&(this.unrenderNowIndicator(),this.renderNowIndicator(this.initialNowDate.clone().add(new Date-this.initialNowQueriedMs)))},stopNowIndicator:function(){this.isNowIndicatorRendered&&(this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearTimeout(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},getNowIndicatorUnit:function(){},renderNowIndicator:function(a){},unrenderNowIndicator:function(){},updateSize:function(a){var b;a&&(b=this.queryScroll()),this.updateHeight(a),this.updateWidth(a),this.updateNowIndicator(),a&&this.setScroll(b)},updateWidth:function(a){},updateHeight:function(a){var b=this.calendar;this.setHeight(b.getSuggestedViewHeight(),b.isHeightAuto())},setHeight:function(a,b){},computeScrollerHeight:function(a){var b,c,d=this.scrollerEl;return b=this.el.add(d),b.css({position:"relative",left:-1}),c=this.el.outerHeight()-d.height(),b.css({position:"",left:""}),a-c},computeInitialScroll:function(a){return 0},queryScroll:function(){return this.scrollerEl?this.scrollerEl.scrollTop():void 0},setScroll:function(a){return this.scrollerEl?this.scrollerEl.scrollTop(a):void 0},forceScroll:function(a){var b=this;this.setScroll(a),setTimeout(function(){b.setScroll(a)},0)},displayEvents:function(a){var b=this.queryScroll();this.clearEvents(),this.renderEvents(a),this.isEventsRendered=!0,this.setScroll(b),this.triggerEventRender()},clearEvents:function(){var a;this.isEventsRendered&&(a=this.queryScroll(),this.triggerEventUnrender(),this.destroyEvents&&this.destroyEvents(),this.unrenderEvents(),this.setScroll(a),this.isEventsRendered=!1)},renderEvents:function(a){},unrenderEvents:function(){},triggerEventRender:function(){this.renderedEventSegEach(function(a){this.trigger("eventAfterRender",a.event,a.event,a.el)}),this.trigger("eventAfterAllRender")},triggerEventUnrender:function(){this.renderedEventSegEach(function(a){this.trigger("eventDestroy",a.event,a.event,a.el)})},resolveEventEl:function(b,c){var d=this.trigger("eventRender",b,b,c);return d===!1?c=null:d&&d!==!0&&(c=a(d)),c},showEvent:function(a){this.renderedEventSegEach(function(a){a.el.css("visibility","")},a)},hideEvent:function(a){this.renderedEventSegEach(function(a){a.el.css("visibility","hidden")},a)},renderedEventSegEach:function(a,b){var c,d=this.getEventSegs();for(c=0;cb;b++)(d[b]=-1!==a.inArray(b,c))||e++;if(!e)throw"invalid hiddenDays";this.isHiddenDayHash=d},isHiddenDay:function(a){return b.isMoment(a)&&(a=a.day()),this.isHiddenDayHash[a]},skipHiddenDays:function(a,b,c){var d=a.clone();for(b=b||1;this.isHiddenDayHash[(d.day()+(c?b:0)+7)%7];)d.add(b,"days");return d},computeDayRange:function(a){var b,c=a.start.clone().stripTime(),d=a.end,e=null;return d&&(e=d.clone().stripTime(),b=+d.time(),b&&b>=this.nextDayThreshold&&e.add(1,"days")),(!d||c>=e)&&(e=c.clone().add(1,"days")),{start:c,end:e}},isMultiDayEvent:function(a){var b=this.computeDayRange(a);return b.end.diff(b.start,"days")>1}}),pb=Pa.Calendar=ra.extend({dirDefaults:null,langDefaults:null,overrides:null,options:null,viewSpecCache:null,view:null,header:null,loadingLevel:0,constructor:Ja,initialize:function(){},initOptions:function(a){var b,e,f,g;a=d(a),b=a.lang,e=qb[b],e||(b=pb.defaults.lang,e=qb[b]||{}),f=X(a.isRTL,e.isRTL,pb.defaults.isRTL),g=f?pb.rtlDefaults:{},this.dirDefaults=g,this.langDefaults=e,this.overrides=a,this.options=c([pb.defaults,g,e,a]),Ka(this.options),this.viewSpecCache={}},getViewSpec:function(a){var b=this.viewSpecCache;return b[a]||(b[a]=this.buildViewSpec(a))},getUnitViewSpec:function(b){var c,d,e;if(-1!=a.inArray(b,Ua))for(c=this.header.getViewsWithButtons(),a.each(Pa.views,function(a){c.push(a)}),d=0;d1,this.weekNumbersVisible=this.opt("weekNumbers"),this.dayGrid.numbersVisible=this.dayNumbersVisible||this.weekNumbersVisible,this.el.addClass("fc-basic-view").html(this.renderSkeletonHtml()),this.renderHead(),this.scrollerEl=this.el.find(".fc-day-grid-container"),this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.renderDates(this.hasRigidRows())},renderHead:function(){this.headContainerEl=this.el.find(".fc-head-container").html(this.dayGrid.renderHeadHtml()),this.headRowEl=this.headContainerEl.find(".fc-row")},unrenderDates:function(){this.dayGrid.unrenderDates(),this.dayGrid.removeElement()},renderBusinessHours:function(){this.dayGrid.renderBusinessHours()},renderSkeletonHtml:function(){return'
'},weekNumberStyleAttr:function(){return null!==this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},hasRigidRows:function(){var a=this.opt("eventLimit");return a&&"number"!=typeof a},updateWidth:function(){this.weekNumbersVisible&&(this.weekNumberWidth=k(this.el.find(".fc-week-number")))},setHeight:function(a,b){var c,d=this.opt("eventLimit");m(this.scrollerEl),f(this.headRowEl),this.dayGrid.removeSegPopover(),d&&"number"==typeof d&&this.dayGrid.limitRows(d),c=this.computeScrollerHeight(a),this.setGridHeight(c,b),d&&"number"!=typeof d&&this.dayGrid.limitRows(d),!b&&l(this.scrollerEl,c)&&(e(this.headRowEl,r(this.scrollerEl)),c=this.computeScrollerHeight(a),this.scrollerEl.height(c))},setGridHeight:function(a,b){b?j(this.dayGrid.rowEls):i(this.dayGrid.rowEls,a,!0)},prepareHits:function(){this.dayGrid.prepareHits()},releaseHits:function(){this.dayGrid.releaseHits()},queryHit:function(a,b){return this.dayGrid.queryHit(a,b)},getHitSpan:function(a){return this.dayGrid.getHitSpan(a)},getHitEl:function(a){return this.dayGrid.getHitEl(a)},renderEvents:function(a){this.dayGrid.renderEvents(a),this.updateHeight()},getEventSegs:function(){return this.dayGrid.getEventSegs()},unrenderEvents:function(){this.dayGrid.unrenderEvents()},renderDrag:function(a,b){return this.dayGrid.renderDrag(a,b)},unrenderDrag:function(){this.dayGrid.unrenderDrag()},renderSelection:function(a){this.dayGrid.renderSelection(a)},unrenderSelection:function(){this.dayGrid.unrenderSelection()}}),xb={renderHeadIntroHtml:function(){var a=this.view;return a.weekNumbersVisible?'"+Y(a.opt("weekNumberTitle"))+"":""},renderNumberIntroHtml:function(a){var b=this.view;return b.weekNumbersVisible?'"+this.getCellDate(a,0).format("w")+"":""},renderBgIntroHtml:function(){var a=this.view;return a.weekNumbersVisible?'":""},renderIntroHtml:function(){var a=this.view;return a.weekNumbersVisible?'":""}},yb=Pa.MonthView=wb.extend({computeRange:function(a){var b,c=wb.prototype.computeRange.call(this,a);return this.isFixedWeeks()&&(b=Math.ceil(c.end.diff(c.start,"weeks",!0)),c.end.add(6-b,"weeks")),c},setGridHeight:function(a,b){b=b||"variable"===this.opt("weekMode"),b&&(a*=this.rowCnt/6),i(this.dayGrid.rowEls,a,!b)},isFixedWeeks:function(){var a=this.opt("weekMode");return a?"fixed"===a:this.opt("fixedWeekCount")}});Qa.basic={"class":wb},Qa.basicDay={type:"basic",duration:{days:1}},Qa.basicWeek={type:"basic",duration:{weeks:1}},Qa.month={"class":yb,duration:{months:1},defaults:{fixedWeekCount:!0}};var zb=Pa.AgendaView=ob.extend({timeGridClass:nb,timeGrid:null,dayGridClass:mb,dayGrid:null,axisWidth:null,headContainerEl:null,noScrollRowEls:null,bottomRuleEl:null,bottomRuleHeight:null,initialize:function(){this.timeGrid=this.instantiateTimeGrid(),this.opt("allDaySlot")&&(this.dayGrid=this.instantiateDayGrid())},instantiateTimeGrid:function(){var a=this.timeGridClass.extend(Ab);return new a(this)},instantiateDayGrid:function(){var a=this.dayGridClass.extend(Bb);return new a(this)},setRange:function(a){ob.prototype.setRange.call(this,a),this.timeGrid.setRange(a),this.dayGrid&&this.dayGrid.setRange(a)},renderDates:function(){this.el.addClass("fc-agenda-view").html(this.renderSkeletonHtml()),this.renderHead(),this.scrollerEl=this.el.find(".fc-time-grid-container"),this.timeGrid.setElement(this.el.find(".fc-time-grid")),this.timeGrid.renderDates(),this.bottomRuleEl=a('
').appendTo(this.timeGrid.el),this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.renderDates(),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight()),this.noScrollRowEls=this.el.find(".fc-row:not(.fc-scroller *)")},renderHead:function(){this.headContainerEl=this.el.find(".fc-head-container").html(this.timeGrid.renderHeadHtml())},unrenderDates:function(){this.timeGrid.unrenderDates(),this.timeGrid.removeElement(),this.dayGrid&&(this.dayGrid.unrenderDates(),this.dayGrid.removeElement())},renderSkeletonHtml:function(){return'
'+(this.dayGrid?'

':"")+'
'},axisStyleAttr:function(){return null!==this.axisWidth?'style="width:'+this.axisWidth+'px"':""},renderBusinessHours:function(){this.timeGrid.renderBusinessHours(),this.dayGrid&&this.dayGrid.renderBusinessHours()},unrenderBusinessHours:function(){this.timeGrid.unrenderBusinessHours(),this.dayGrid&&this.dayGrid.unrenderBusinessHours()},getNowIndicatorUnit:function(){return this.timeGrid.getNowIndicatorUnit()},renderNowIndicator:function(a){this.timeGrid.renderNowIndicator(a)},unrenderNowIndicator:function(){this.timeGrid.unrenderNowIndicator()},updateSize:function(a){this.timeGrid.updateSize(a),ob.prototype.updateSize.call(this,a)},updateWidth:function(){this.axisWidth=k(this.el.find(".fc-axis"))},setHeight:function(a,b){var c,d;null===this.bottomRuleHeight&&(this.bottomRuleHeight=this.bottomRuleEl.outerHeight()),this.bottomRuleEl.hide(),this.scrollerEl.css("overflow",""),m(this.scrollerEl),f(this.noScrollRowEls),this.dayGrid&&(this.dayGrid.removeSegPopover(),c=this.opt("eventLimit"),c&&"number"!=typeof c&&(c=Cb),c&&this.dayGrid.limitRows(c)),b||(d=this.computeScrollerHeight(a),l(this.scrollerEl,d)?(e(this.noScrollRowEls,r(this.scrollerEl)),d=this.computeScrollerHeight(a),this.scrollerEl.height(d)):(this.scrollerEl.height(d).css("overflow","hidden"),this.bottomRuleEl.show()))},computeInitialScroll:function(){var a=b.duration(this.opt("scrollTime")),c=this.timeGrid.computeTimeTop(a);return c=Math.ceil(c),c&&c++,c},prepareHits:function(){this.timeGrid.prepareHits(),this.dayGrid&&this.dayGrid.prepareHits()},releaseHits:function(){this.timeGrid.releaseHits(),this.dayGrid&&this.dayGrid.releaseHits()},queryHit:function(a,b){var c=this.timeGrid.queryHit(a,b);return!c&&this.dayGrid&&(c=this.dayGrid.queryHit(a,b)),c},getHitSpan:function(a){return a.component.getHitSpan(a)},getHitEl:function(a){return a.component.getHitEl(a)},renderEvents:function(a){var b,c,d=[],e=[],f=[];for(c=0;c"+Y(a)+""):'"},renderBgIntroHtml:function(){var a=this.view;return'"},renderIntroHtml:function(){var a=this.view;return'"}},Bb={renderBgIntroHtml:function(){var a=this.view;return'"+(a.opt("allDayHtml")||Y(a.opt("allDayText")))+""},renderIntroHtml:function(){var a=this.view;return'"}},Cb=5,Db=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];return Qa.agenda={"class":zb,defaults:{allDaySlot:!0,allDayText:"all-day",slotDuration:"00:30:00",minTime:"00:00:00",maxTime:"24:00:00",slotEventOverlap:!0}},Qa.agendaDay={type:"agenda",duration:{days:1}},Qa.agendaWeek={type:"agenda",duration:{weeks:1}},Pa}); \ No newline at end of file diff --git a/src/js/jquery-1.11.1.js b/src/js/jquery-1.11.1.js new file mode 100644 index 0000000..1c9b82e --- /dev/null +++ b/src/js/jquery-1.11.1.js @@ -0,0 +1,2678 @@ +/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function (a, b) { + "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) { + if (!a.document) throw new Error("jQuery requires a window with a document"); + return b(a) + } : b(a) +}("undefined" != typeof window ? window : this, function (a, b) { + var c = [], d = c.slice, e = c.concat, f = c.push, g = c.indexOf, h = {}, i = h.toString, j = h.hasOwnProperty, + k = {}, l = "1.11.1", m = function (a, b) { + return new m.fn.init(a, b) + }, n = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, o = /^-ms-/, p = /-([\da-z])/gi, q = function (a, b) { + return b.toUpperCase() + }; + m.fn = m.prototype = { + jquery: l, constructor: m, selector: "", length: 0, toArray: function () { + return d.call(this) + }, get: function (a) { + return null != a ? 0 > a ? this[a + this.length] : this[a] : d.call(this) + }, pushStack: function (a) { + var b = m.merge(this.constructor(), a); + return b.prevObject = this, b.context = this.context, b + }, each: function (a, b) { + return m.each(this, a, b) + }, map: function (a) { + return this.pushStack(m.map(this, function (b, c) { + return a.call(b, c, b) + })) + }, slice: function () { + return this.pushStack(d.apply(this, arguments)) + }, first: function () { + return this.eq(0) + }, last: function () { + return this.eq(-1) + }, eq: function (a) { + var b = this.length, c = +a + (0 > a ? b : 0); + return this.pushStack(c >= 0 && b > c ? [this[c]] : []) + }, end: function () { + return this.prevObject || this.constructor(null) + }, push: f, sort: c.sort, splice: c.splice + }, m.extend = m.fn.extend = function () { + var a, b, c, d, e, f, g = arguments[0] || {}, h = 1, i = arguments.length, j = !1; + for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || m.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++) if (null != (e = arguments[h])) for (d in e) a = g[d], c = e[d], g !== c && (j && c && (m.isPlainObject(c) || (b = m.isArray(c))) ? (b ? (b = !1, f = a && m.isArray(a) ? a : []) : f = a && m.isPlainObject(a) ? a : {}, g[d] = m.extend(j, f, c)) : void 0 !== c && (g[d] = c)); + return g + }, m.extend({ + expando: "jQuery" + (l + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (a) { + throw new Error(a) + }, noop: function () { + }, isFunction: function (a) { + return "function" === m.type(a) + }, isArray: Array.isArray || function (a) { + return "array" === m.type(a) + }, isWindow: function (a) { + return null != a && a == a.window + }, isNumeric: function (a) { + return !m.isArray(a) && a - parseFloat(a) >= 0 + }, isEmptyObject: function (a) { + var b; + for (b in a) return !1; + return !0 + }, isPlainObject: function (a) { + var b; + if (!a || "object" !== m.type(a) || a.nodeType || m.isWindow(a)) return !1; + try { + if (a.constructor && !j.call(a, "constructor") && !j.call(a.constructor.prototype, "isPrototypeOf")) return !1 + } catch (c) { + return !1 + } + if (k.ownLast) for (b in a) return j.call(a, b); + for (b in a) ; + return void 0 === b || j.call(a, b) + }, type: function (a) { + return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? h[i.call(a)] || "object" : typeof a + }, globalEval: function (b) { + b && m.trim(b) && (a.execScript || function (b) { + a.eval.call(a, b) + })(b) + }, camelCase: function (a) { + return a.replace(o, "ms-").replace(p, q) + }, nodeName: function (a, b) { + return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase() + }, each: function (a, b, c) { + var d, e = 0, f = a.length, g = r(a); + if (c) { + if (g) { + for (; f > e; e++) if (d = b.apply(a[e], c), d === !1) break + } else for (e in a) if (d = b.apply(a[e], c), d === !1) break + } else if (g) { + for (; f > e; e++) if (d = b.call(a[e], e, a[e]), d === !1) break + } else for (e in a) if (d = b.call(a[e], e, a[e]), d === !1) break; + return a + }, trim: function (a) { + return null == a ? "" : (a + "").replace(n, "") + }, makeArray: function (a, b) { + var c = b || []; + return null != a && (r(Object(a)) ? m.merge(c, "string" == typeof a ? [a] : a) : f.call(c, a)), c + }, inArray: function (a, b, c) { + var d; + if (b) { + if (g) return g.call(b, a, c); + for (d = b.length, c = c ? 0 > c ? Math.max(0, d + c) : c : 0; d > c; c++) if (c in b && b[c] === a) return c + } + return -1 + }, merge: function (a, b) { + var c = +b.length, d = 0, e = a.length; + while (c > d) a[e++] = b[d++]; + if (c !== c) while (void 0 !== b[d]) a[e++] = b[d++]; + return a.length = e, a + }, grep: function (a, b, c) { + for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++) d = !b(a[f], f), d !== h && e.push(a[f]); + return e + }, map: function (a, b, c) { + var d, f = 0, g = a.length, h = r(a), i = []; + if (h) for (; g > f; f++) d = b(a[f], f, c), null != d && i.push(d); else for (f in a) d = b(a[f], f, c), null != d && i.push(d); + return e.apply([], i) + }, guid: 1, proxy: function (a, b) { + var c, e, f; + return "string" == typeof b && (f = a[b], b = a, a = f), m.isFunction(a) ? (c = d.call(arguments, 2), e = function () { + return a.apply(b || this, c.concat(d.call(arguments))) + }, e.guid = a.guid = a.guid || m.guid++, e) : void 0 + }, now: function () { + return +new Date + }, support: k + }), m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (a, b) { + h["[object " + b + "]"] = b.toLowerCase() + }); + + function r(a) { + var b = a.length, c = m.type(a); + return "function" === c || m.isWindow(a) ? !1 : 1 === a.nodeType && b ? !0 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a + } + + var s = function (a) { + var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u = "sizzle" + -new Date, v = a.document, w = 0, + x = 0, y = gb(), z = gb(), A = gb(), B = function (a, b) { + return a === b && (l = !0), 0 + }, C = "undefined", D = 1 << 31, E = {}.hasOwnProperty, F = [], G = F.pop, H = F.push, I = F.push, J = F.slice, + K = F.indexOf || function (a) { + for (var b = 0, c = this.length; c > b; b++) if (this[b] === a) return b; + return -1 + }, + L = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + M = "[\\x20\\t\\r\\n\\f]", N = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", O = N.replace("w", "w#"), + P = "\\[" + M + "*(" + N + ")(?:" + M + "*([*^$|!~]?=)" + M + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + O + "))|)" + M + "*\\]", + Q = ":(" + N + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + P + ")*)|.*)\\)|)", + R = new RegExp("^" + M + "+|((?:^|[^\\\\])(?:\\\\.)*)" + M + "+$", "g"), + S = new RegExp("^" + M + "*," + M + "*"), T = new RegExp("^" + M + "*([>+~]|" + M + ")" + M + "*"), + U = new RegExp("=" + M + "*([^\\]'\"]*?)" + M + "*\\]", "g"), V = new RegExp(Q), + W = new RegExp("^" + O + "$"), X = { + ID: new RegExp("^#(" + N + ")"), + CLASS: new RegExp("^\\.(" + N + ")"), + TAG: new RegExp("^(" + N.replace("w", "w*") + ")"), + ATTR: new RegExp("^" + P), + PSEUDO: new RegExp("^" + Q), + CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + M + "*(even|odd|(([+-]|)(\\d*)n|)" + M + "*(?:([+-]|)" + M + "*(\\d+)|))" + M + "*\\)|)", "i"), + bool: new RegExp("^(?:" + L + ")$", "i"), + needsContext: new RegExp("^" + M + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + M + "*((?:-\\d)?\\d*)" + M + "*\\)|)(?=[^-]|$)", "i") + }, Y = /^(?:input|select|textarea|button)$/i, Z = /^h\d$/i, $ = /^[^{]+\{\s*\[native \w/, + _ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ab = /[+~]/, bb = /'|\\/g, + cb = new RegExp("\\\\([\\da-f]{1,6}" + M + "?|(" + M + ")|.)", "ig"), db = function (a, b, c) { + var d = "0x" + b - 65536; + return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320) + }; + try { + I.apply(F = J.call(v.childNodes), v.childNodes), F[v.childNodes.length].nodeType + } catch (eb) { + I = { + apply: F.length ? function (a, b) { + H.apply(a, J.call(b)) + } : function (a, b) { + var c = a.length, d = 0; + while (a[c++] = b[d++]) ; + a.length = c - 1 + } + } + } + + function fb(a, b, d, e) { + var f, h, j, k, l, o, r, s, w, x; + if ((b ? b.ownerDocument || b : v) !== n && m(b), b = b || n, d = d || [], !a || "string" != typeof a) return d; + if (1 !== (k = b.nodeType) && 9 !== k) return []; + if (p && !e) { + if (f = _.exec(a)) if (j = f[1]) { + if (9 === k) { + if (h = b.getElementById(j), !h || !h.parentNode) return d; + if (h.id === j) return d.push(h), d + } else if (b.ownerDocument && (h = b.ownerDocument.getElementById(j)) && t(b, h) && h.id === j) return d.push(h), d + } else { + if (f[2]) return I.apply(d, b.getElementsByTagName(a)), d; + if ((j = f[3]) && c.getElementsByClassName && b.getElementsByClassName) return I.apply(d, b.getElementsByClassName(j)), d + } + if (c.qsa && (!q || !q.test(a))) { + if (s = r = u, w = b, x = 9 === k && a, 1 === k && "object" !== b.nodeName.toLowerCase()) { + o = g(a), (r = b.getAttribute("id")) ? s = r.replace(bb, "\\$&") : b.setAttribute("id", s), s = "[id='" + s + "'] ", l = o.length; + while (l--) o[l] = s + qb(o[l]); + w = ab.test(a) && ob(b.parentNode) || b, x = o.join(",") + } + if (x) try { + return I.apply(d, w.querySelectorAll(x)), d + } catch (y) { + } finally { + r || b.removeAttribute("id") + } + } + } + return i(a.replace(R, "$1"), b, d, e) + } + + function gb() { + var a = []; + + function b(c, e) { + return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e + } + + return b + } + + function hb(a) { + return a[u] = !0, a + } + + function ib(a) { + var b = n.createElement("div"); + try { + return !!a(b) + } catch (c) { + return !1 + } finally { + b.parentNode && b.parentNode.removeChild(b), b = null + } + } + + function jb(a, b) { + var c = a.split("|"), e = a.length; + while (e--) d.attrHandle[c[e]] = b + } + + function kb(a, b) { + var c = b && a, + d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || D) - (~a.sourceIndex || D); + if (d) return d; + if (c) while (c = c.nextSibling) if (c === b) return -1; + return a ? 1 : -1 + } + + function lb(a) { + return function (b) { + var c = b.nodeName.toLowerCase(); + return "input" === c && b.type === a + } + } + + function mb(a) { + return function (b) { + var c = b.nodeName.toLowerCase(); + return ("input" === c || "button" === c) && b.type === a + } + } + + function nb(a) { + return hb(function (b) { + return b = +b, hb(function (c, d) { + var e, f = a([], c.length, b), g = f.length; + while (g--) c[e = f[g]] && (c[e] = !(d[e] = c[e])) + }) + }) + } + + function ob(a) { + return a && typeof a.getElementsByTagName !== C && a + } + + c = fb.support = {}, f = fb.isXML = function (a) { + var b = a && (a.ownerDocument || a).documentElement; + return b ? "HTML" !== b.nodeName : !1 + }, m = fb.setDocument = function (a) { + var b, e = a ? a.ownerDocument || a : v, g = e.defaultView; + return e !== n && 9 === e.nodeType && e.documentElement ? (n = e, o = e.documentElement, p = !f(e), g && g !== g.top && (g.addEventListener ? g.addEventListener("unload", function () { + m() + }, !1) : g.attachEvent && g.attachEvent("onunload", function () { + m() + })), c.attributes = ib(function (a) { + return a.className = "i", !a.getAttribute("className") + }), c.getElementsByTagName = ib(function (a) { + return a.appendChild(e.createComment("")), !a.getElementsByTagName("*").length + }), c.getElementsByClassName = $.test(e.getElementsByClassName) && ib(function (a) { + return a.innerHTML = "
", a.firstChild.className = "i", 2 === a.getElementsByClassName("i").length + }), c.getById = ib(function (a) { + return o.appendChild(a).id = u, !e.getElementsByName || !e.getElementsByName(u).length + }), c.getById ? (d.find.ID = function (a, b) { + if (typeof b.getElementById !== C && p) { + var c = b.getElementById(a); + return c && c.parentNode ? [c] : [] + } + }, d.filter.ID = function (a) { + var b = a.replace(cb, db); + return function (a) { + return a.getAttribute("id") === b + } + }) : (delete d.find.ID, d.filter.ID = function (a) { + var b = a.replace(cb, db); + return function (a) { + var c = typeof a.getAttributeNode !== C && a.getAttributeNode("id"); + return c && c.value === b + } + }), d.find.TAG = c.getElementsByTagName ? function (a, b) { + return typeof b.getElementsByTagName !== C ? b.getElementsByTagName(a) : void 0 + } : function (a, b) { + var c, d = [], e = 0, f = b.getElementsByTagName(a); + if ("*" === a) { + while (c = f[e++]) 1 === c.nodeType && d.push(c); + return d + } + return f + }, d.find.CLASS = c.getElementsByClassName && function (a, b) { + return typeof b.getElementsByClassName !== C && p ? b.getElementsByClassName(a) : void 0 + }, r = [], q = [], (c.qsa = $.test(e.querySelectorAll)) && (ib(function (a) { + a.innerHTML = "", a.querySelectorAll("[msallowclip^='']").length && q.push("[*^$]=" + M + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || q.push("\\[" + M + "*(?:value|" + L + ")"), a.querySelectorAll(":checked").length || q.push(":checked") + }), ib(function (a) { + var b = e.createElement("input"); + b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && q.push("name" + M + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), q.push(",.*:") + })), (c.matchesSelector = $.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && ib(function (a) { + c.disconnectedMatch = s.call(a, "div"), s.call(a, "[s!='']:x"), r.push("!=", Q) + }), q = q.length && new RegExp(q.join("|")), r = r.length && new RegExp(r.join("|")), b = $.test(o.compareDocumentPosition), t = b || $.test(o.contains) ? function (a, b) { + var c = 9 === a.nodeType ? a.documentElement : a, d = b && b.parentNode; + return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d))) + } : function (a, b) { + if (b) while (b = b.parentNode) if (b === a) return !0; + return !1 + }, B = b ? function (a, b) { + if (a === b) return l = !0, 0; + var d = !a.compareDocumentPosition - !b.compareDocumentPosition; + return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === e || a.ownerDocument === v && t(v, a) ? -1 : b === e || b.ownerDocument === v && t(v, b) ? 1 : k ? K.call(k, a) - K.call(k, b) : 0 : 4 & d ? -1 : 1) + } : function (a, b) { + if (a === b) return l = !0, 0; + var c, d = 0, f = a.parentNode, g = b.parentNode, h = [a], i = [b]; + if (!f || !g) return a === e ? -1 : b === e ? 1 : f ? -1 : g ? 1 : k ? K.call(k, a) - K.call(k, b) : 0; + if (f === g) return kb(a, b); + c = a; + while (c = c.parentNode) h.unshift(c); + c = b; + while (c = c.parentNode) i.unshift(c); + while (h[d] === i[d]) d++; + return d ? kb(h[d], i[d]) : h[d] === v ? -1 : i[d] === v ? 1 : 0 + }, e) : n + }, fb.matches = function (a, b) { + return fb(a, null, null, b) + }, fb.matchesSelector = function (a, b) { + if ((a.ownerDocument || a) !== n && m(a), b = b.replace(U, "='$1']"), !(!c.matchesSelector || !p || r && r.test(b) || q && q.test(b))) try { + var d = s.call(a, b); + if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType) return d + } catch (e) { + } + return fb(b, n, null, [a]).length > 0 + }, fb.contains = function (a, b) { + return (a.ownerDocument || a) !== n && m(a), t(a, b) + }, fb.attr = function (a, b) { + (a.ownerDocument || a) !== n && m(a); + var e = d.attrHandle[b.toLowerCase()], + f = e && E.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0; + return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null + }, fb.error = function (a) { + throw new Error("Syntax error, unrecognized expression: " + a) + }, fb.uniqueSort = function (a) { + var b, d = [], e = 0, f = 0; + if (l = !c.detectDuplicates, k = !c.sortStable && a.slice(0), a.sort(B), l) { + while (b = a[f++]) b === a[f] && (e = d.push(f)); + while (e--) a.splice(d[e], 1) + } + return k = null, a + }, e = fb.getText = function (a) { + var b, c = "", d = 0, f = a.nodeType; + if (f) { + if (1 === f || 9 === f || 11 === f) { + if ("string" == typeof a.textContent) return a.textContent; + for (a = a.firstChild; a; a = a.nextSibling) c += e(a) + } else if (3 === f || 4 === f) return a.nodeValue + } else while (b = a[d++]) c += e(b); + return c + }, d = fb.selectors = { + cacheLength: 50, + createPseudo: hb, + match: X, + attrHandle: {}, + find: {}, + relative: { + ">": {dir: "parentNode", first: !0}, + " ": {dir: "parentNode"}, + "+": {dir: "previousSibling", first: !0}, + "~": {dir: "previousSibling"} + }, + preFilter: { + ATTR: function (a) { + return a[1] = a[1].replace(cb, db), a[3] = (a[3] || a[4] || a[5] || "").replace(cb, db), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4) + }, CHILD: function (a) { + return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || fb.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])), a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && fb.error(a[0]), a + }, PSEUDO: function (a) { + var b, c = !a[6] && a[2]; + return X.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && V.test(c) && (b = g(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3)) + } + }, + filter: { + TAG: function (a) { + var b = a.replace(cb, db).toLowerCase(); + return "*" === a ? function () { + return !0 + } : function (a) { + return a.nodeName && a.nodeName.toLowerCase() === b + } + }, CLASS: function (a) { + var b = y[a + " "]; + return b || (b = new RegExp("(^|" + M + ")" + a + "(" + M + "|$)")) && y(a, function (a) { + return b.test("string" == typeof a.className && a.className || typeof a.getAttribute !== C && a.getAttribute("class") || "") + }) + }, ATTR: function (a, b, c) { + return function (d) { + var e = fb.attr(d, a); + return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0 + } + }, CHILD: function (a, b, c, d, e) { + var f = "nth" !== a.slice(0, 3), g = "last" !== a.slice(-4), h = "of-type" === b; + return 1 === d && 0 === e ? function (a) { + return !!a.parentNode + } : function (b, c, i) { + var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling", q = b.parentNode, + r = h && b.nodeName.toLowerCase(), s = !i && !h; + if (q) { + if (f) { + while (p) { + l = b; + while (l = l[p]) if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) return !1; + o = p = "only" === a && !o && "nextSibling" + } + return !0 + } + if (o = [g ? q.firstChild : q.lastChild], g && s) { + k = q[u] || (q[u] = {}), j = k[a] || [], n = j[0] === w && j[1], m = j[0] === w && j[2], l = n && q.childNodes[n]; + while (l = ++n && l && l[p] || (m = n = 0) || o.pop()) if (1 === l.nodeType && ++m && l === b) { + k[a] = [w, n, m]; + break + } + } else if (s && (j = (b[u] || (b[u] = {}))[a]) && j[0] === w) m = j[1]; else while (l = ++n && l && l[p] || (m = n = 0) || o.pop()) if ((h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) && ++m && (s && ((l[u] || (l[u] = {}))[a] = [w, m]), l === b)) break; + return m -= e, m === d || m % d === 0 && m / d >= 0 + } + } + }, PSEUDO: function (a, b) { + var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || fb.error("unsupported pseudo: " + a); + return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? hb(function (a, c) { + var d, f = e(a, b), g = f.length; + while (g--) d = K.call(a, f[g]), a[d] = !(c[d] = f[g]) + }) : function (a) { + return e(a, 0, c) + }) : e + } + }, + pseudos: { + not: hb(function (a) { + var b = [], c = [], d = h(a.replace(R, "$1")); + return d[u] ? hb(function (a, b, c, e) { + var f, g = d(a, null, e, []), h = a.length; + while (h--) (f = g[h]) && (a[h] = !(b[h] = f)) + }) : function (a, e, f) { + return b[0] = a, d(b, null, f, c), !c.pop() + } + }), has: hb(function (a) { + return function (b) { + return fb(a, b).length > 0 + } + }), contains: hb(function (a) { + return function (b) { + return (b.textContent || b.innerText || e(b)).indexOf(a) > -1 + } + }), lang: hb(function (a) { + return W.test(a || "") || fb.error("unsupported lang: " + a), a = a.replace(cb, db).toLowerCase(), function (b) { + var c; + do if (c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang")) return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-"); while ((b = b.parentNode) && 1 === b.nodeType); + return !1 + } + }), target: function (b) { + var c = a.location && a.location.hash; + return c && c.slice(1) === b.id + }, root: function (a) { + return a === o + }, focus: function (a) { + return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex) + }, enabled: function (a) { + return a.disabled === !1 + }, disabled: function (a) { + return a.disabled === !0 + }, checked: function (a) { + var b = a.nodeName.toLowerCase(); + return "input" === b && !!a.checked || "option" === b && !!a.selected + }, selected: function (a) { + return a.parentNode && a.parentNode.selectedIndex, a.selected === !0 + }, empty: function (a) { + for (a = a.firstChild; a; a = a.nextSibling) if (a.nodeType < 6) return !1; + return !0 + }, parent: function (a) { + return !d.pseudos.empty(a) + }, header: function (a) { + return Z.test(a.nodeName) + }, input: function (a) { + return Y.test(a.nodeName) + }, button: function (a) { + var b = a.nodeName.toLowerCase(); + return "input" === b && "button" === a.type || "button" === b + }, text: function (a) { + var b; + return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase()) + }, first: nb(function () { + return [0] + }), last: nb(function (a, b) { + return [b - 1] + }), eq: nb(function (a, b, c) { + return [0 > c ? c + b : c] + }), even: nb(function (a, b) { + for (var c = 0; b > c; c += 2) a.push(c); + return a + }), odd: nb(function (a, b) { + for (var c = 1; b > c; c += 2) a.push(c); + return a + }), lt: nb(function (a, b, c) { + for (var d = 0 > c ? c + b : c; --d >= 0;) a.push(d); + return a + }), gt: nb(function (a, b, c) { + for (var d = 0 > c ? c + b : c; ++d < b;) a.push(d); + return a + }) + } + }, d.pseudos.nth = d.pseudos.eq; + for (b in{radio: !0, checkbox: !0, file: !0, password: !0, image: !0}) d.pseudos[b] = lb(b); + for (b in{submit: !0, reset: !0}) d.pseudos[b] = mb(b); + + function pb() { + } + + pb.prototype = d.filters = d.pseudos, d.setFilters = new pb, g = fb.tokenize = function (a, b) { + var c, e, f, g, h, i, j, k = z[a + " "]; + if (k) return b ? 0 : k.slice(0); + h = a, i = [], j = d.preFilter; + while (h) { + (!c || (e = S.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = T.exec(h)) && (c = e.shift(), f.push({ + value: c, + type: e[0].replace(R, " ") + }), h = h.slice(c.length)); + for (g in d.filter) !(e = X[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({ + value: c, + type: g, + matches: e + }), h = h.slice(c.length)); + if (!c) break + } + return b ? h.length : h ? fb.error(a) : z(a, i).slice(0) + }; + + function qb(a) { + for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value; + return d + } + + function rb(a, b, c) { + var d = b.dir, e = c && "parentNode" === d, f = x++; + return b.first ? function (b, c, f) { + while (b = b[d]) if (1 === b.nodeType || e) return a(b, c, f) + } : function (b, c, g) { + var h, i, j = [w, f]; + if (g) { + while (b = b[d]) if ((1 === b.nodeType || e) && a(b, c, g)) return !0 + } else while (b = b[d]) if (1 === b.nodeType || e) { + if (i = b[u] || (b[u] = {}), (h = i[d]) && h[0] === w && h[1] === f) return j[2] = h[2]; + if (i[d] = j, j[2] = a(b, c, g)) return !0 + } + } + } + + function sb(a) { + return a.length > 1 ? function (b, c, d) { + var e = a.length; + while (e--) if (!a[e](b, c, d)) return !1; + return !0 + } : a[0] + } + + function tb(a, b, c) { + for (var d = 0, e = b.length; e > d; d++) fb(a, b[d], c); + return c + } + + function ub(a, b, c, d, e) { + for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++) (f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h)); + return g + } + + function vb(a, b, c, d, e, f) { + return d && !d[u] && (d = vb(d)), e && !e[u] && (e = vb(e, f)), hb(function (f, g, h, i) { + var j, k, l, m = [], n = [], o = g.length, p = f || tb(b || "*", h.nodeType ? [h] : h, []), + q = !a || !f && b ? p : ub(p, m, a, h, i), r = c ? e || (f ? a : o || d) ? [] : g : q; + if (c && c(q, r, h, i), d) { + j = ub(r, n), d(j, [], h, i), k = j.length; + while (k--) (l = j[k]) && (r[n[k]] = !(q[n[k]] = l)) + } + if (f) { + if (e || a) { + if (e) { + j = [], k = r.length; + while (k--) (l = r[k]) && j.push(q[k] = l); + e(null, r = [], j, i) + } + k = r.length; + while (k--) (l = r[k]) && (j = e ? K.call(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l)) + } + } else r = ub(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : I.apply(g, r) + }) + } + + function wb(a) { + for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = rb(function (a) { + return a === b + }, h, !0), l = rb(function (a) { + return K.call(b, a) > -1 + }, h, !0), m = [function (a, c, d) { + return !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d)) + }]; f > i; i++) if (c = d.relative[a[i].type]) m = [rb(sb(m), c)]; else { + if (c = d.filter[a[i].type].apply(null, a[i].matches), c[u]) { + for (e = ++i; f > e; e++) if (d.relative[a[e].type]) break; + return vb(i > 1 && sb(m), i > 1 && qb(a.slice(0, i - 1).concat({value: " " === a[i - 2].type ? "*" : ""})).replace(R, "$1"), c, e > i && wb(a.slice(i, e)), f > e && wb(a = a.slice(e)), f > e && qb(a)) + } + m.push(c) + } + return sb(m) + } + + function xb(a, b) { + var c = b.length > 0, e = a.length > 0, f = function (f, g, h, i, k) { + var l, m, o, p = 0, q = "0", r = f && [], s = [], t = j, u = f || e && d.find.TAG("*", k), + v = w += null == t ? 1 : Math.random() || .1, x = u.length; + for (k && (j = g !== n && g); q !== x && null != (l = u[q]); q++) { + if (e && l) { + m = 0; + while (o = a[m++]) if (o(l, g, h)) { + i.push(l); + break + } + k && (w = v) + } + c && ((l = !o && l) && p--, f && r.push(l)) + } + if (p += q, c && q !== p) { + m = 0; + while (o = b[m++]) o(r, s, g, h); + if (f) { + if (p > 0) while (q--) r[q] || s[q] || (s[q] = G.call(i)); + s = ub(s) + } + I.apply(i, s), k && !f && s.length > 0 && p + b.length > 1 && fb.uniqueSort(i) + } + return k && (w = v, j = t), r + }; + return c ? hb(f) : f + } + + return h = fb.compile = function (a, b) { + var c, d = [], e = [], f = A[a + " "]; + if (!f) { + b || (b = g(a)), c = b.length; + while (c--) f = wb(b[c]), f[u] ? d.push(f) : e.push(f); + f = A(a, xb(e, d)), f.selector = a + } + return f + }, i = fb.select = function (a, b, e, f) { + var i, j, k, l, m, n = "function" == typeof a && a, o = !f && g(a = n.selector || a); + if (e = e || [], 1 === o.length) { + if (j = o[0] = o[0].slice(0), j.length > 2 && "ID" === (k = j[0]).type && c.getById && 9 === b.nodeType && p && d.relative[j[1].type]) { + if (b = (d.find.ID(k.matches[0].replace(cb, db), b) || [])[0], !b) return e; + n && (b = b.parentNode), a = a.slice(j.shift().value.length) + } + i = X.needsContext.test(a) ? 0 : j.length; + while (i--) { + if (k = j[i], d.relative[l = k.type]) break; + if ((m = d.find[l]) && (f = m(k.matches[0].replace(cb, db), ab.test(j[0].type) && ob(b.parentNode) || b))) { + if (j.splice(i, 1), a = f.length && qb(j), !a) return I.apply(e, f), e; + break + } + } + } + return (n || h(a, o))(f, b, !p, e, ab.test(a) && ob(b.parentNode) || b), e + }, c.sortStable = u.split("").sort(B).join("") === u, c.detectDuplicates = !!l, m(), c.sortDetached = ib(function (a) { + return 1 & a.compareDocumentPosition(n.createElement("div")) + }), ib(function (a) { + return a.innerHTML = "", "#" === a.firstChild.getAttribute("href") + }) || jb("type|href|height|width", function (a, b, c) { + return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2) + }), c.attributes && ib(function (a) { + return a.innerHTML = "", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value") + }) || jb("value", function (a, b, c) { + return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue + }), ib(function (a) { + return null == a.getAttribute("disabled") + }) || jb(L, function (a, b, c) { + var d; + return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null + }), fb + }(a); + m.find = s, m.expr = s.selectors, m.expr[":"] = m.expr.pseudos, m.unique = s.uniqueSort, m.text = s.getText, m.isXMLDoc = s.isXML, m.contains = s.contains; + var t = m.expr.match.needsContext, u = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, v = /^.[^:#\[\.,]*$/; + + function w(a, b, c) { + if (m.isFunction(b)) return m.grep(a, function (a, d) { + return !!b.call(a, d, a) !== c + }); + if (b.nodeType) return m.grep(a, function (a) { + return a === b !== c + }); + if ("string" == typeof b) { + if (v.test(b)) return m.filter(b, a, c); + b = m.filter(b, a) + } + return m.grep(a, function (a) { + return m.inArray(a, b) >= 0 !== c + }) + } + + m.filter = function (a, b, c) { + var d = b[0]; + return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? m.find.matchesSelector(d, a) ? [d] : [] : m.find.matches(a, m.grep(b, function (a) { + return 1 === a.nodeType + })) + }, m.fn.extend({ + find: function (a) { + var b, c = [], d = this, e = d.length; + if ("string" != typeof a) return this.pushStack(m(a).filter(function () { + for (b = 0; e > b; b++) if (m.contains(d[b], this)) return !0 + })); + for (b = 0; e > b; b++) m.find(a, d[b], c); + return c = this.pushStack(e > 1 ? m.unique(c) : c), c.selector = this.selector ? this.selector + " " + a : a, c + }, filter: function (a) { + return this.pushStack(w(this, a || [], !1)) + }, not: function (a) { + return this.pushStack(w(this, a || [], !0)) + }, is: function (a) { + return !!w(this, "string" == typeof a && t.test(a) ? m(a) : a || [], !1).length + } + }); + var x, y = a.document, z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, A = m.fn.init = function (a, b) { + var c, d; + if (!a) return this; + if ("string" == typeof a) { + if (c = "<" === a.charAt(0) && ">" === a.charAt(a.length - 1) && a.length >= 3 ? [null, a, null] : z.exec(a), !c || !c[1] && b) return !b || b.jquery ? (b || x).find(a) : this.constructor(b).find(a); + if (c[1]) { + if (b = b instanceof m ? b[0] : b, m.merge(this, m.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : y, !0)), u.test(c[1]) && m.isPlainObject(b)) for (c in b) m.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]); + return this + } + if (d = y.getElementById(c[2]), d && d.parentNode) { + if (d.id !== c[2]) return x.find(a); + this.length = 1, this[0] = d + } + return this.context = y, this.selector = a, this + } + return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : m.isFunction(a) ? "undefined" != typeof x.ready ? x.ready(a) : a(m) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), m.makeArray(a, this)) + }; + A.prototype = m.fn, x = m(y); + var B = /^(?:parents|prev(?:Until|All))/, C = {children: !0, contents: !0, next: !0, prev: !0}; + m.extend({ + dir: function (a, b, c) { + var d = [], e = a[b]; + while (e && 9 !== e.nodeType && (void 0 === c || 1 !== e.nodeType || !m(e).is(c))) 1 === e.nodeType && d.push(e), e = e[b]; + return d + }, sibling: function (a, b) { + for (var c = []; a; a = a.nextSibling) 1 === a.nodeType && a !== b && c.push(a); + return c + } + }), m.fn.extend({ + has: function (a) { + var b, c = m(a, this), d = c.length; + return this.filter(function () { + for (b = 0; d > b; b++) if (m.contains(this, c[b])) return !0 + }) + }, closest: function (a, b) { + for (var c, d = 0, e = this.length, f = [], g = t.test(a) || "string" != typeof a ? m(a, b || this.context) : 0; e > d; d++) for (c = this[d]; c && c !== b; c = c.parentNode) if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && m.find.matchesSelector(c, a))) { + f.push(c); + break + } + return this.pushStack(f.length > 1 ? m.unique(f) : f) + }, index: function (a) { + return a ? "string" == typeof a ? m.inArray(this[0], m(a)) : m.inArray(a.jquery ? a[0] : a, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1 + }, add: function (a, b) { + return this.pushStack(m.unique(m.merge(this.get(), m(a, b)))) + }, addBack: function (a) { + return this.add(null == a ? this.prevObject : this.prevObject.filter(a)) + } + }); + + function D(a, b) { + do a = a[b]; while (a && 1 !== a.nodeType); + return a + } + + m.each({ + parent: function (a) { + var b = a.parentNode; + return b && 11 !== b.nodeType ? b : null + }, parents: function (a) { + return m.dir(a, "parentNode") + }, parentsUntil: function (a, b, c) { + return m.dir(a, "parentNode", c) + }, next: function (a) { + return D(a, "nextSibling") + }, prev: function (a) { + return D(a, "previousSibling") + }, nextAll: function (a) { + return m.dir(a, "nextSibling") + }, prevAll: function (a) { + return m.dir(a, "previousSibling") + }, nextUntil: function (a, b, c) { + return m.dir(a, "nextSibling", c) + }, prevUntil: function (a, b, c) { + return m.dir(a, "previousSibling", c) + }, siblings: function (a) { + return m.sibling((a.parentNode || {}).firstChild, a) + }, children: function (a) { + return m.sibling(a.firstChild) + }, contents: function (a) { + return m.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : m.merge([], a.childNodes) + } + }, function (a, b) { + m.fn[a] = function (c, d) { + var e = m.map(this, b, c); + return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = m.filter(d, e)), this.length > 1 && (C[a] || (e = m.unique(e)), B.test(a) && (e = e.reverse())), this.pushStack(e) + } + }); + var E = /\S+/g, F = {}; + + function G(a) { + var b = F[a] = {}; + return m.each(a.match(E) || [], function (a, c) { + b[c] = !0 + }), b + } + + m.Callbacks = function (a) { + a = "string" == typeof a ? F[a] || G(a) : m.extend({}, a); + var b, c, d, e, f, g, h = [], i = !a.once && [], j = function (l) { + for (c = a.memory && l, d = !0, f = g || 0, g = 0, e = h.length, b = !0; h && e > f; f++) if (h[f].apply(l[0], l[1]) === !1 && a.stopOnFalse) { + c = !1; + break + } + b = !1, h && (i ? i.length && j(i.shift()) : c ? h = [] : k.disable()) + }, k = { + add: function () { + if (h) { + var d = h.length; + !function f(b) { + m.each(b, function (b, c) { + var d = m.type(c); + "function" === d ? a.unique && k.has(c) || h.push(c) : c && c.length && "string" !== d && f(c) + }) + }(arguments), b ? e = h.length : c && (g = d, j(c)) + } + return this + }, remove: function () { + return h && m.each(arguments, function (a, c) { + var d; + while ((d = m.inArray(c, h, d)) > -1) h.splice(d, 1), b && (e >= d && e--, f >= d && f--) + }), this + }, has: function (a) { + return a ? m.inArray(a, h) > -1 : !(!h || !h.length) + }, empty: function () { + return h = [], e = 0, this + }, disable: function () { + return h = i = c = void 0, this + }, disabled: function () { + return !h + }, lock: function () { + return i = void 0, c || k.disable(), this + }, locked: function () { + return !i + }, fireWith: function (a, c) { + return !h || d && !i || (c = c || [], c = [a, c.slice ? c.slice() : c], b ? i.push(c) : j(c)), this + }, fire: function () { + return k.fireWith(this, arguments), this + }, fired: function () { + return !!d + } + }; + return k + }, m.extend({ + Deferred: function (a) { + var b = [["resolve", "done", m.Callbacks("once memory"), "resolved"], ["reject", "fail", m.Callbacks("once memory"), "rejected"], ["notify", "progress", m.Callbacks("memory")]], + c = "pending", d = { + state: function () { + return c + }, always: function () { + return e.done(arguments).fail(arguments), this + }, then: function () { + var a = arguments; + return m.Deferred(function (c) { + m.each(b, function (b, f) { + var g = m.isFunction(a[b]) && a[b]; + e[f[1]](function () { + var a = g && g.apply(this, arguments); + a && m.isFunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments) + }) + }), a = null + }).promise() + }, promise: function (a) { + return null != a ? m.extend(a, d) : d + } + }, e = {}; + return d.pipe = d.then, m.each(b, function (a, f) { + var g = f[2], h = f[3]; + d[f[1]] = g.add, h && g.add(function () { + c = h + }, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function () { + return e[f[0] + "With"](this === e ? d : this, arguments), this + }, e[f[0] + "With"] = g.fireWith + }), d.promise(e), a && a.call(e, e), e + }, when: function (a) { + var b = 0, c = d.call(arguments), e = c.length, f = 1 !== e || a && m.isFunction(a.promise) ? e : 0, + g = 1 === f ? a : m.Deferred(), h = function (a, b, c) { + return function (e) { + b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c) + } + }, i, j, k; + if (e > 1) for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++) c[b] && m.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f; + return f || g.resolveWith(k, c), g.promise() + } + }); + var H; + m.fn.ready = function (a) { + return m.ready.promise().done(a), this + }, m.extend({ + isReady: !1, readyWait: 1, holdReady: function (a) { + a ? m.readyWait++ : m.ready(!0) + }, ready: function (a) { + if (a === !0 ? !--m.readyWait : !m.isReady) { + if (!y.body) return setTimeout(m.ready); + m.isReady = !0, a !== !0 && --m.readyWait > 0 || (H.resolveWith(y, [m]), m.fn.triggerHandler && (m(y).triggerHandler("ready"), m(y).off("ready"))) + } + } + }); + + function I() { + y.addEventListener ? (y.removeEventListener("DOMContentLoaded", J, !1), a.removeEventListener("load", J, !1)) : (y.detachEvent("onreadystatechange", J), a.detachEvent("onload", J)) + } + + function J() { + (y.addEventListener || "load" === event.type || "complete" === y.readyState) && (I(), m.ready()) + } + + m.ready.promise = function (b) { + if (!H) if (H = m.Deferred(), "complete" === y.readyState) setTimeout(m.ready); else if (y.addEventListener) y.addEventListener("DOMContentLoaded", J, !1), a.addEventListener("load", J, !1); else { + y.attachEvent("onreadystatechange", J), a.attachEvent("onload", J); + var c = !1; + try { + c = null == a.frameElement && y.documentElement + } catch (d) { + } + c && c.doScroll && !function e() { + if (!m.isReady) { + try { + c.doScroll("left") + } catch (a) { + return setTimeout(e, 50) + } + I(), m.ready() + } + }() + } + return H.promise(b) + }; + var K = "undefined", L; + for (L in m(k)) break; + k.ownLast = "0" !== L, k.inlineBlockNeedsLayout = !1, m(function () { + var a, b, c, d; + c = y.getElementsByTagName("body")[0], c && c.style && (b = y.createElement("div"), d = y.createElement("div"), d.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", c.appendChild(d).appendChild(b), typeof b.style.zoom !== K && (b.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1", k.inlineBlockNeedsLayout = a = 3 === b.offsetWidth, a && (c.style.zoom = 1)), c.removeChild(d)) + }), function () { + var a = y.createElement("div"); + if (null == k.deleteExpando) { + k.deleteExpando = !0; + try { + delete a.test + } catch (b) { + k.deleteExpando = !1 + } + } + a = null + }(), m.acceptData = function (a) { + var b = m.noData[(a.nodeName + " ").toLowerCase()], c = +a.nodeType || 1; + return 1 !== c && 9 !== c ? !1 : !b || b !== !0 && a.getAttribute("classid") === b + }; + var M = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, N = /([A-Z])/g; + + function O(a, b, c) { + if (void 0 === c && 1 === a.nodeType) { + var d = "data-" + b.replace(N, "-$1").toLowerCase(); + if (c = a.getAttribute(d), "string" == typeof c) { + try { + c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : M.test(c) ? m.parseJSON(c) : c + } catch (e) { + } + m.data(a, b, c) + } else c = void 0 + } + return c + } + + function P(a) { + var b; + for (b in a) if (("data" !== b || !m.isEmptyObject(a[b])) && "toJSON" !== b) return !1; + return !0 + } + + function Q(a, b, d, e) { + if (m.acceptData(a)) { + var f, g, h = m.expando, i = a.nodeType, j = i ? m.cache : a, k = i ? a[h] : a[h] && h; + if (k && j[k] && (e || j[k].data) || void 0 !== d || "string" != typeof b) return k || (k = i ? a[h] = c.pop() || m.guid++ : h), j[k] || (j[k] = i ? {} : {toJSON: m.noop}), ("object" == typeof b || "function" == typeof b) && (e ? j[k] = m.extend(j[k], b) : j[k].data = m.extend(j[k].data, b)), g = j[k], e || (g.data || (g.data = {}), g = g.data), void 0 !== d && (g[m.camelCase(b)] = d), "string" == typeof b ? (f = g[b], null == f && (f = g[m.camelCase(b)])) : f = g, f + } + } + + function R(a, b, c) { + if (m.acceptData(a)) { + var d, e, f = a.nodeType, g = f ? m.cache : a, h = f ? a[m.expando] : m.expando; + if (g[h]) { + if (b && (d = c ? g[h] : g[h].data)) { + m.isArray(b) ? b = b.concat(m.map(b, m.camelCase)) : b in d ? b = [b] : (b = m.camelCase(b), b = b in d ? [b] : b.split(" ")), e = b.length; + while (e--) delete d[b[e]]; + if (c ? !P(d) : !m.isEmptyObject(d)) return + } + (c || (delete g[h].data, P(g[h]))) && (f ? m.cleanData([a], !0) : k.deleteExpando || g != g.window ? delete g[h] : g[h] = null) + } + } + } + + m.extend({ + cache: {}, + noData: {"applet ": !0, "embed ": !0, "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"}, + hasData: function (a) { + return a = a.nodeType ? m.cache[a[m.expando]] : a[m.expando], !!a && !P(a) + }, + data: function (a, b, c) { + return Q(a, b, c) + }, + removeData: function (a, b) { + return R(a, b) + }, + _data: function (a, b, c) { + return Q(a, b, c, !0) + }, + _removeData: function (a, b) { + return R(a, b, !0) + } + }), m.fn.extend({ + data: function (a, b) { + var c, d, e, f = this[0], g = f && f.attributes; + if (void 0 === a) { + if (this.length && (e = m.data(f), 1 === f.nodeType && !m._data(f, "parsedAttrs"))) { + c = g.length; + while (c--) g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = m.camelCase(d.slice(5)), O(f, d, e[d]))); + m._data(f, "parsedAttrs", !0) + } + return e + } + return "object" == typeof a ? this.each(function () { + m.data(this, a) + }) : arguments.length > 1 ? this.each(function () { + m.data(this, a, b) + }) : f ? O(f, a, m.data(f, a)) : void 0 + }, removeData: function (a) { + return this.each(function () { + m.removeData(this, a) + }) + } + }), m.extend({ + queue: function (a, b, c) { + var d; + return a ? (b = (b || "fx") + "queue", d = m._data(a, b), c && (!d || m.isArray(c) ? d = m._data(a, b, m.makeArray(c)) : d.push(c)), d || []) : void 0 + }, dequeue: function (a, b) { + b = b || "fx"; + var c = m.queue(a, b), d = c.length, e = c.shift(), f = m._queueHooks(a, b), g = function () { + m.dequeue(a, b) + }; + "inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire() + }, _queueHooks: function (a, b) { + var c = b + "queueHooks"; + return m._data(a, c) || m._data(a, c, { + empty: m.Callbacks("once memory").add(function () { + m._removeData(a, b + "queue"), m._removeData(a, c) + }) + }) + } + }), m.fn.extend({ + queue: function (a, b) { + var c = 2; + return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? m.queue(this[0], a) : void 0 === b ? this : this.each(function () { + var c = m.queue(this, a, b); + m._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && m.dequeue(this, a) + }) + }, dequeue: function (a) { + return this.each(function () { + m.dequeue(this, a) + }) + }, clearQueue: function (a) { + return this.queue(a || "fx", []) + }, promise: function (a, b) { + var c, d = 1, e = m.Deferred(), f = this, g = this.length, h = function () { + --d || e.resolveWith(f, [f]) + }; + "string" != typeof a && (b = a, a = void 0), a = a || "fx"; + while (g--) c = m._data(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h)); + return h(), e.promise(b) + } + }); + var S = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, T = ["Top", "Right", "Bottom", "Left"], U = function (a, b) { + return a = b || a, "none" === m.css(a, "display") || !m.contains(a.ownerDocument, a) + }, V = m.access = function (a, b, c, d, e, f, g) { + var h = 0, i = a.length, j = null == c; + if ("object" === m.type(c)) { + e = !0; + for (h in c) m.access(a, b, h, c[h], !0, f, g) + } else if (void 0 !== d && (e = !0, m.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function (a, b, c) { + return j.call(m(a), c) + })), b)) for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c))); + return e ? a : j ? b.call(a) : i ? b(a[0], c) : f + }, W = /^(?:checkbox|radio)$/i; + !function () { + var a = y.createElement("input"), b = y.createElement("div"), c = y.createDocumentFragment(); + if (b.innerHTML = "
a", k.leadingWhitespace = 3 === b.firstChild.nodeType, k.tbody = !b.getElementsByTagName("tbody").length, k.htmlSerialize = !!b.getElementsByTagName("link").length, k.html5Clone = "<:nav>" !== y.createElement("nav").cloneNode(!0).outerHTML, a.type = "checkbox", a.checked = !0, c.appendChild(a), k.appendChecked = a.checked, b.innerHTML = "", k.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue, c.appendChild(b), b.innerHTML = "", k.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, k.noCloneEvent = !0, b.attachEvent && (b.attachEvent("onclick", function () { + k.noCloneEvent = !1 + }), b.cloneNode(!0).click()), null == k.deleteExpando) { + k.deleteExpando = !0; + try { + delete b.test + } catch (d) { + k.deleteExpando = !1 + } + } + }(), function () { + var b, c, d = y.createElement("div"); + for (b in{ + submit: !0, + change: !0, + focusin: !0 + }) c = "on" + b, (k[b + "Bubbles"] = c in a) || (d.setAttribute(c, "t"), k[b + "Bubbles"] = d.attributes[c].expando === !1); + d = null + }(); + var X = /^(?:input|select|textarea)$/i, Y = /^key/, Z = /^(?:mouse|pointer|contextmenu)|click/, + $ = /^(?:focusinfocus|focusoutblur)$/, _ = /^([^.]*)(?:\.(.+)|)$/; + + function ab() { + return !0 + } + + function bb() { + return !1 + } + + function cb() { + try { + return y.activeElement + } catch (a) { + } + } + + m.event = { + global: {}, + add: function (a, b, c, d, e) { + var f, g, h, i, j, k, l, n, o, p, q, r = m._data(a); + if (r) { + c.handler && (i = c, c = i.handler, e = i.selector), c.guid || (c.guid = m.guid++), (g = r.events) || (g = r.events = {}), (k = r.handle) || (k = r.handle = function (a) { + return typeof m === K || a && m.event.triggered === a.type ? void 0 : m.event.dispatch.apply(k.elem, arguments) + }, k.elem = a), b = (b || "").match(E) || [""], h = b.length; + while (h--) f = _.exec(b[h]) || [], o = q = f[1], p = (f[2] || "").split(".").sort(), o && (j = m.event.special[o] || {}, o = (e ? j.delegateType : j.bindType) || o, j = m.event.special[o] || {}, l = m.extend({ + type: o, + origType: q, + data: d, + handler: c, + guid: c.guid, + selector: e, + needsContext: e && m.expr.match.needsContext.test(e), + namespace: p.join(".") + }, i), (n = g[o]) || (n = g[o] = [], n.delegateCount = 0, j.setup && j.setup.call(a, d, p, k) !== !1 || (a.addEventListener ? a.addEventListener(o, k, !1) : a.attachEvent && a.attachEvent("on" + o, k))), j.add && (j.add.call(a, l), l.handler.guid || (l.handler.guid = c.guid)), e ? n.splice(n.delegateCount++, 0, l) : n.push(l), m.event.global[o] = !0); + a = null + } + }, + remove: function (a, b, c, d, e) { + var f, g, h, i, j, k, l, n, o, p, q, r = m.hasData(a) && m._data(a); + if (r && (k = r.events)) { + b = (b || "").match(E) || [""], j = b.length; + while (j--) if (h = _.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) { + l = m.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, n = k[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), i = f = n.length; + while (f--) g = n[f], !e && q !== g.origType || c && c.guid !== g.guid || h && !h.test(g.namespace) || d && d !== g.selector && ("**" !== d || !g.selector) || (n.splice(f, 1), g.selector && n.delegateCount--, l.remove && l.remove.call(a, g)); + i && !n.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || m.removeEvent(a, o, r.handle), delete k[o]) + } else for (o in k) m.event.remove(a, o + b[j], c, d, !0); + m.isEmptyObject(k) && (delete r.handle, m._removeData(a, "events")) + } + }, + trigger: function (b, c, d, e) { + var f, g, h, i, k, l, n, o = [d || y], p = j.call(b, "type") ? b.type : b, + q = j.call(b, "namespace") ? b.namespace.split(".") : []; + if (h = l = d = d || y, 3 !== d.nodeType && 8 !== d.nodeType && !$.test(p + m.event.triggered) && (p.indexOf(".") >= 0 && (q = p.split("."), p = q.shift(), q.sort()), g = p.indexOf(":") < 0 && "on" + p, b = b[m.expando] ? b : new m.Event(p, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = q.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + q.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : m.makeArray(c, [b]), k = m.event.special[p] || {}, e || !k.trigger || k.trigger.apply(d, c) !== !1)) { + if (!e && !k.noBubble && !m.isWindow(d)) { + for (i = k.delegateType || p, $.test(i + p) || (h = h.parentNode); h; h = h.parentNode) o.push(h), l = h; + l === (d.ownerDocument || y) && o.push(l.defaultView || l.parentWindow || a) + } + n = 0; + while ((h = o[n++]) && !b.isPropagationStopped()) b.type = n > 1 ? i : k.bindType || p, f = (m._data(h, "events") || {})[b.type] && m._data(h, "handle"), f && f.apply(h, c), f = g && h[g], f && f.apply && m.acceptData(h) && (b.result = f.apply(h, c), b.result === !1 && b.preventDefault()); + if (b.type = p, !e && !b.isDefaultPrevented() && (!k._default || k._default.apply(o.pop(), c) === !1) && m.acceptData(d) && g && d[p] && !m.isWindow(d)) { + l = d[g], l && (d[g] = null), m.event.triggered = p; + try { + d[p]() + } catch (r) { + } + m.event.triggered = void 0, l && (d[g] = l) + } + return b.result + } + }, + dispatch: function (a) { + a = m.event.fix(a); + var b, c, e, f, g, h = [], i = d.call(arguments), j = (m._data(this, "events") || {})[a.type] || [], + k = m.event.special[a.type] || {}; + if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) { + h = m.event.handlers.call(this, a, j), b = 0; + while ((f = h[b++]) && !a.isPropagationStopped()) { + a.currentTarget = f.elem, g = 0; + while ((e = f.handlers[g++]) && !a.isImmediatePropagationStopped()) (!a.namespace_re || a.namespace_re.test(e.namespace)) && (a.handleObj = e, a.data = e.data, c = ((m.event.special[e.origType] || {}).handle || e.handler).apply(f.elem, i), void 0 !== c && (a.result = c) === !1 && (a.preventDefault(), a.stopPropagation())) + } + return k.postDispatch && k.postDispatch.call(this, a), a.result + } + }, + handlers: function (a, b) { + var c, d, e, f, g = [], h = b.delegateCount, i = a.target; + if (h && i.nodeType && (!a.button || "click" !== a.type)) for (; i != this; i = i.parentNode || this) if (1 === i.nodeType && (i.disabled !== !0 || "click" !== a.type)) { + for (e = [], f = 0; h > f; f++) d = b[f], c = d.selector + " ", void 0 === e[c] && (e[c] = d.needsContext ? m(c, this).index(i) >= 0 : m.find(c, this, null, [i]).length), e[c] && e.push(d); + e.length && g.push({elem: i, handlers: e}) + } + return h < b.length && g.push({elem: this, handlers: b.slice(h)}), g + }, + fix: function (a) { + if (a[m.expando]) return a; + var b, c, d, e = a.type, f = a, g = this.fixHooks[e]; + g || (this.fixHooks[e] = g = Z.test(e) ? this.mouseHooks : Y.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new m.Event(f), b = d.length; + while (b--) c = d[b], a[c] = f[c]; + return a.target || (a.target = f.srcElement || y), 3 === a.target.nodeType && (a.target = a.target.parentNode), a.metaKey = !!a.metaKey, g.filter ? g.filter(a, f) : a + }, + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + fixHooks: {}, + keyHooks: { + props: "char charCode key keyCode".split(" "), filter: function (a, b) { + return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a + } + }, + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function (a, b) { + var c, d, e, f = b.button, g = b.fromElement; + return null == a.pageX && null != b.clientX && (d = a.target.ownerDocument || y, e = d.documentElement, c = d.body, a.pageX = b.clientX + (e && e.scrollLeft || c && c.scrollLeft || 0) - (e && e.clientLeft || c && c.clientLeft || 0), a.pageY = b.clientY + (e && e.scrollTop || c && c.scrollTop || 0) - (e && e.clientTop || c && c.clientTop || 0)), !a.relatedTarget && g && (a.relatedTarget = g === a.target ? b.toElement : g), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a + } + }, + special: { + load: {noBubble: !0}, focus: { + trigger: function () { + if (this !== cb() && this.focus) try { + return this.focus(), !1 + } catch (a) { + } + }, delegateType: "focusin" + }, blur: { + trigger: function () { + return this === cb() && this.blur ? (this.blur(), !1) : void 0 + }, delegateType: "focusout" + }, click: { + trigger: function () { + return m.nodeName(this, "input") && "checkbox" === this.type && this.click ? (this.click(), !1) : void 0 + }, _default: function (a) { + return m.nodeName(a.target, "a") + } + }, beforeunload: { + postDispatch: function (a) { + void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result) + } + } + }, + simulate: function (a, b, c, d) { + var e = m.extend(new m.Event, c, {type: a, isSimulated: !0, originalEvent: {}}); + d ? m.event.trigger(e, null, b) : m.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault() + } + }, m.removeEvent = y.removeEventListener ? function (a, b, c) { + a.removeEventListener && a.removeEventListener(b, c, !1) + } : function (a, b, c) { + var d = "on" + b; + a.detachEvent && (typeof a[d] === K && (a[d] = null), a.detachEvent(d, c)) + }, m.Event = function (a, b) { + return this instanceof m.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? ab : bb) : this.type = a, b && m.extend(this, b), this.timeStamp = a && a.timeStamp || m.now(), void(this[m.expando] = !0)) : new m.Event(a, b) + }, m.Event.prototype = { + isDefaultPrevented: bb, + isPropagationStopped: bb, + isImmediatePropagationStopped: bb, + preventDefault: function () { + var a = this.originalEvent; + this.isDefaultPrevented = ab, a && (a.preventDefault ? a.preventDefault() : a.returnValue = !1) + }, + stopPropagation: function () { + var a = this.originalEvent; + this.isPropagationStopped = ab, a && (a.stopPropagation && a.stopPropagation(), a.cancelBubble = !0) + }, + stopImmediatePropagation: function () { + var a = this.originalEvent; + this.isImmediatePropagationStopped = ab, a && a.stopImmediatePropagation && a.stopImmediatePropagation(), this.stopPropagation() + } + }, m.each({ + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" + }, function (a, b) { + m.event.special[a] = { + delegateType: b, bindType: b, handle: function (a) { + var c, d = this, e = a.relatedTarget, f = a.handleObj; + return (!e || e !== d && !m.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c + } + } + }), k.submitBubbles || (m.event.special.submit = { + setup: function () { + return m.nodeName(this, "form") ? !1 : void m.event.add(this, "click._submit keypress._submit", function (a) { + var b = a.target, c = m.nodeName(b, "input") || m.nodeName(b, "button") ? b.form : void 0; + c && !m._data(c, "submitBubbles") && (m.event.add(c, "submit._submit", function (a) { + a._submit_bubble = !0 + }), m._data(c, "submitBubbles", !0)) + }) + }, postDispatch: function (a) { + a._submit_bubble && (delete a._submit_bubble, this.parentNode && !a.isTrigger && m.event.simulate("submit", this.parentNode, a, !0)) + }, teardown: function () { + return m.nodeName(this, "form") ? !1 : void m.event.remove(this, "._submit") + } + }), k.changeBubbles || (m.event.special.change = { + setup: function () { + return X.test(this.nodeName) ? (("checkbox" === this.type || "radio" === this.type) && (m.event.add(this, "propertychange._change", function (a) { + "checked" === a.originalEvent.propertyName && (this._just_changed = !0) + }), m.event.add(this, "click._change", function (a) { + this._just_changed && !a.isTrigger && (this._just_changed = !1), m.event.simulate("change", this, a, !0) + })), !1) : void m.event.add(this, "beforeactivate._change", function (a) { + var b = a.target; + X.test(b.nodeName) && !m._data(b, "changeBubbles") && (m.event.add(b, "change._change", function (a) { + !this.parentNode || a.isSimulated || a.isTrigger || m.event.simulate("change", this.parentNode, a, !0) + }), m._data(b, "changeBubbles", !0)) + }) + }, handle: function (a) { + var b = a.target; + return this !== b || a.isSimulated || a.isTrigger || "radio" !== b.type && "checkbox" !== b.type ? a.handleObj.handler.apply(this, arguments) : void 0 + }, teardown: function () { + return m.event.remove(this, "._change"), !X.test(this.nodeName) + } + }), k.focusinBubbles || m.each({focus: "focusin", blur: "focusout"}, function (a, b) { + var c = function (a) { + m.event.simulate(b, a.target, m.event.fix(a), !0) + }; + m.event.special[b] = { + setup: function () { + var d = this.ownerDocument || this, e = m._data(d, b); + e || d.addEventListener(a, c, !0), m._data(d, b, (e || 0) + 1) + }, teardown: function () { + var d = this.ownerDocument || this, e = m._data(d, b) - 1; + e ? m._data(d, b, e) : (d.removeEventListener(a, c, !0), m._removeData(d, b)) + } + } + }), m.fn.extend({ + on: function (a, b, c, d, e) { + var f, g; + if ("object" == typeof a) { + "string" != typeof b && (c = c || b, b = void 0); + for (f in a) this.on(f, b, c, a[f], e); + return this + } + if (null == c && null == d ? (d = b, c = b = void 0) : null == d && ("string" == typeof b ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1) d = bb; else if (!d) return this; + return 1 === e && (g = d, d = function (a) { + return m().off(a), g.apply(this, arguments) + }, d.guid = g.guid || (g.guid = m.guid++)), this.each(function () { + m.event.add(this, a, d, c, b) + }) + }, one: function (a, b, c, d) { + return this.on(a, b, c, d, 1) + }, off: function (a, b, c) { + var d, e; + if (a && a.preventDefault && a.handleObj) return d = a.handleObj, m(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this; + if ("object" == typeof a) { + for (e in a) this.off(e, b, a[e]); + return this + } + return (b === !1 || "function" == typeof b) && (c = b, b = void 0), c === !1 && (c = bb), this.each(function () { + m.event.remove(this, a, c, b) + }) + }, trigger: function (a, b) { + return this.each(function () { + m.event.trigger(a, b, this) + }) + }, triggerHandler: function (a, b) { + var c = this[0]; + return c ? m.event.trigger(a, b, c, !0) : void 0 + } + }); + + function db(a) { + var b = eb.split("|"), c = a.createDocumentFragment(); + if (c.createElement) while (b.length) c.createElement(b.pop()); + return c + } + + var eb = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + fb = / jQuery\d+="(?:null|\d+)"/g, gb = new RegExp("<(?:" + eb + ")[\\s/>]", "i"), hb = /^\s+/, + ib = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, jb = /<([\w:]+)/, + kb = /\s*$/g, rb = { + option: [1, ""], + legend: [1, "
", "
"], + area: [1, "", ""], + param: [1, "", ""], + thead: [1, "", "
"], + tr: [2, "", "
"], + col: [2, "", "
"], + td: [3, "", "
"], + _default: k.htmlSerialize ? [0, "", ""] : [1, "X
", "
"] + }, sb = db(y), tb = sb.appendChild(y.createElement("div")); + rb.optgroup = rb.option, rb.tbody = rb.tfoot = rb.colgroup = rb.caption = rb.thead, rb.th = rb.td; + + function ub(a, b) { + var c, d, e = 0, + f = typeof a.getElementsByTagName !== K ? a.getElementsByTagName(b || "*") : typeof a.querySelectorAll !== K ? a.querySelectorAll(b || "*") : void 0; + if (!f) for (f = [], c = a.childNodes || a; null != (d = c[e]); e++) !b || m.nodeName(d, b) ? f.push(d) : m.merge(f, ub(d, b)); + return void 0 === b || b && m.nodeName(a, b) ? m.merge([a], f) : f + } + + function vb(a) { + W.test(a.type) && (a.defaultChecked = a.checked) + } + + function wb(a, b) { + return m.nodeName(a, "table") && m.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a + } + + function xb(a) { + return a.type = (null !== m.find.attr(a, "type")) + "/" + a.type, a + } + + function yb(a) { + var b = pb.exec(a.type); + return b ? a.type = b[1] : a.removeAttribute("type"), a + } + + function zb(a, b) { + for (var c, d = 0; null != (c = a[d]); d++) m._data(c, "globalEval", !b || m._data(b[d], "globalEval")) + } + + function Ab(a, b) { + if (1 === b.nodeType && m.hasData(a)) { + var c, d, e, f = m._data(a), g = m._data(b, f), h = f.events; + if (h) { + delete g.handle, g.events = {}; + for (c in h) for (d = 0, e = h[c].length; e > d; d++) m.event.add(b, c, h[c][d]) + } + g.data && (g.data = m.extend({}, g.data)) + } + } + + function Bb(a, b) { + var c, d, e; + if (1 === b.nodeType) { + if (c = b.nodeName.toLowerCase(), !k.noCloneEvent && b[m.expando]) { + e = m._data(b); + for (d in e.events) m.removeEvent(b, d, e.handle); + b.removeAttribute(m.expando) + } + "script" === c && b.text !== a.text ? (xb(b).text = a.text, yb(b)) : "object" === c ? (b.parentNode && (b.outerHTML = a.outerHTML), k.html5Clone && a.innerHTML && !m.trim(b.innerHTML) && (b.innerHTML = a.innerHTML)) : "input" === c && W.test(a.type) ? (b.defaultChecked = b.checked = a.checked, b.value !== a.value && (b.value = a.value)) : "option" === c ? b.defaultSelected = b.selected = a.defaultSelected : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue) + } + } + + m.extend({ + clone: function (a, b, c) { + var d, e, f, g, h, i = m.contains(a.ownerDocument, a); + if (k.html5Clone || m.isXMLDoc(a) || !gb.test("<" + a.nodeName + ">") ? f = a.cloneNode(!0) : (tb.innerHTML = a.outerHTML, tb.removeChild(f = tb.firstChild)), !(k.noCloneEvent && k.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || m.isXMLDoc(a))) for (d = ub(f), h = ub(a), g = 0; null != (e = h[g]); ++g) d[g] && Bb(e, d[g]); + if (b) if (c) for (h = h || ub(a), d = d || ub(f), g = 0; null != (e = h[g]); g++) Ab(e, d[g]); else Ab(a, f); + return d = ub(f, "script"), d.length > 0 && zb(d, !i && ub(a, "script")), d = h = e = null, f + }, buildFragment: function (a, b, c, d) { + for (var e, f, g, h, i, j, l, n = a.length, o = db(b), p = [], q = 0; n > q; q++) if (f = a[q], f || 0 === f) if ("object" === m.type(f)) m.merge(p, f.nodeType ? [f] : f); else if (lb.test(f)) { + h = h || o.appendChild(b.createElement("div")), i = (jb.exec(f) || ["", ""])[1].toLowerCase(), l = rb[i] || rb._default, h.innerHTML = l[1] + f.replace(ib, "<$1>") + l[2], e = l[0]; + while (e--) h = h.lastChild; + if (!k.leadingWhitespace && hb.test(f) && p.push(b.createTextNode(hb.exec(f)[0])), !k.tbody) { + f = "table" !== i || kb.test(f) ? "" !== l[1] || kb.test(f) ? 0 : h : h.firstChild, e = f && f.childNodes.length; + while (e--) m.nodeName(j = f.childNodes[e], "tbody") && !j.childNodes.length && f.removeChild(j) + } + m.merge(p, h.childNodes), h.textContent = ""; + while (h.firstChild) h.removeChild(h.firstChild); + h = o.lastChild + } else p.push(b.createTextNode(f)); + h && o.removeChild(h), k.appendChecked || m.grep(ub(p, "input"), vb), q = 0; + while (f = p[q++]) if ((!d || -1 === m.inArray(f, d)) && (g = m.contains(f.ownerDocument, f), h = ub(o.appendChild(f), "script"), g && zb(h), c)) { + e = 0; + while (f = h[e++]) ob.test(f.type || "") && c.push(f) + } + return h = null, o + }, cleanData: function (a, b) { + for (var d, e, f, g, h = 0, i = m.expando, j = m.cache, l = k.deleteExpando, n = m.event.special; null != (d = a[h]); h++) if ((b || m.acceptData(d)) && (f = d[i], g = f && j[f])) { + if (g.events) for (e in g.events) n[e] ? m.event.remove(d, e) : m.removeEvent(d, e, g.handle); + j[f] && (delete j[f], l ? delete d[i] : typeof d.removeAttribute !== K ? d.removeAttribute(i) : d[i] = null, c.push(f)) + } + } + }), m.fn.extend({ + text: function (a) { + return V(this, function (a) { + return void 0 === a ? m.text(this) : this.empty().append((this[0] && this[0].ownerDocument || y).createTextNode(a)) + }, null, a, arguments.length) + }, append: function () { + return this.domManip(arguments, function (a) { + if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { + var b = wb(this, a); + b.appendChild(a) + } + }) + }, prepend: function () { + return this.domManip(arguments, function (a) { + if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { + var b = wb(this, a); + b.insertBefore(a, b.firstChild) + } + }) + }, before: function () { + return this.domManip(arguments, function (a) { + this.parentNode && this.parentNode.insertBefore(a, this) + }) + }, after: function () { + return this.domManip(arguments, function (a) { + this.parentNode && this.parentNode.insertBefore(a, this.nextSibling) + }) + }, remove: function (a, b) { + for (var c, d = a ? m.filter(a, this) : this, e = 0; null != (c = d[e]); e++) b || 1 !== c.nodeType || m.cleanData(ub(c)), c.parentNode && (b && m.contains(c.ownerDocument, c) && zb(ub(c, "script")), c.parentNode.removeChild(c)); + return this + }, empty: function () { + for (var a, b = 0; null != (a = this[b]); b++) { + 1 === a.nodeType && m.cleanData(ub(a, !1)); + while (a.firstChild) a.removeChild(a.firstChild); + a.options && m.nodeName(a, "select") && (a.options.length = 0) + } + return this + }, clone: function (a, b) { + return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function () { + return m.clone(this, a, b) + }) + }, html: function (a) { + return V(this, function (a) { + var b = this[0] || {}, c = 0, d = this.length; + if (void 0 === a) return 1 === b.nodeType ? b.innerHTML.replace(fb, "") : void 0; + if (!("string" != typeof a || mb.test(a) || !k.htmlSerialize && gb.test(a) || !k.leadingWhitespace && hb.test(a) || rb[(jb.exec(a) || ["", ""])[1].toLowerCase()])) { + a = a.replace(ib, "<$1>"); + try { + for (; d > c; c++) b = this[c] || {}, 1 === b.nodeType && (m.cleanData(ub(b, !1)), b.innerHTML = a); + b = 0 + } catch (e) { + } + } + b && this.empty().append(a) + }, null, a, arguments.length) + }, replaceWith: function () { + var a = arguments[0]; + return this.domManip(arguments, function (b) { + a = this.parentNode, m.cleanData(ub(this)), a && a.replaceChild(b, this) + }), a && (a.length || a.nodeType) ? this : this.remove() + }, detach: function (a) { + return this.remove(a, !0) + }, domManip: function (a, b) { + a = e.apply([], a); + var c, d, f, g, h, i, j = 0, l = this.length, n = this, o = l - 1, p = a[0], q = m.isFunction(p); + if (q || l > 1 && "string" == typeof p && !k.checkClone && nb.test(p)) return this.each(function (c) { + var d = n.eq(c); + q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b) + }); + if (l && (i = m.buildFragment(a, this[0].ownerDocument, !1, this), c = i.firstChild, 1 === i.childNodes.length && (i = c), c)) { + for (g = m.map(ub(i, "script"), xb), f = g.length; l > j; j++) d = i, j !== o && (d = m.clone(d, !0, !0), f && m.merge(g, ub(d, "script"))), b.call(this[j], d, j); + if (f) for (h = g[g.length - 1].ownerDocument, m.map(g, yb), j = 0; f > j; j++) d = g[j], ob.test(d.type || "") && !m._data(d, "globalEval") && m.contains(h, d) && (d.src ? m._evalUrl && m._evalUrl(d.src) : m.globalEval((d.text || d.textContent || d.innerHTML || "").replace(qb, ""))); + i = c = null + } + return this + } + }), m.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" + }, function (a, b) { + m.fn[a] = function (a) { + for (var c, d = 0, e = [], g = m(a), h = g.length - 1; h >= d; d++) c = d === h ? this : this.clone(!0), m(g[d])[b](c), f.apply(e, c.get()); + return this.pushStack(e) + } + }); + var Cb, Db = {}; + + function Eb(b, c) { + var d, e = m(c.createElement(b)).appendTo(c.body), + f = a.getDefaultComputedStyle && (d = a.getDefaultComputedStyle(e[0])) ? d.display : m.css(e[0], "display"); + return e.detach(), f + } + + function Fb(a) { + var b = y, c = Db[a]; + return c || (c = Eb(a, b), "none" !== c && c || (Cb = (Cb || m("