diff --git a/ATM interface/README.md b/ATM interface/README.md deleted file mode 100644 index e7caef61..00000000 --- a/ATM interface/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ATM interface program using Java - -A Java program can be written to simulate ATM transactions. The user must choose an option from the possibilities shown on the screen. The choices include those to withdraw money, deposit money, check your balance, and leave. diff --git a/ATM interface/atm.class b/ATM interface/atm.class deleted file mode 100644 index 28e450d3..00000000 Binary files a/ATM interface/atm.class and /dev/null differ diff --git a/ATM interface/atm.java b/ATM interface/atm.java deleted file mode 100644 index 460a04db..00000000 --- a/ATM interface/atm.java +++ /dev/null @@ -1,75 +0,0 @@ -//import required classes and packages -import java.util.Scanner; - -//create ATMExample class to implement the ATM functionality -public class atm -{ - //main method starts - public static void main(String args[] ) - { - //declare and initialize balance, withdraw, and deposit - int balance = 100000, withdraw, deposit; - - //create scanner class object to get choice of user - Scanner sc = new Scanner(System.in); - - while(true) - { - System.out.println("Automated Teller Machine"); - System.out.println("Choose 1 for Withdraw"); - System.out.println("Choose 2 for Deposit"); - System.out.println("Choose 3 for Check Balance"); - System.out.println("Choose 4 for EXIT"); - System.out.print("Choose the operation you want to perform:"); - - //get choice from user - int choice = sc.nextInt(); - switch(choice) - { - case 1: - System.out.print("Enter money to be withdrawn:"); - - //get the withdrawl money from user - withdraw = sc.nextInt(); - - //check whether the balance is greater than or equal to the withdrawal amount - if(balance >= withdraw) - { - //remove the withdrawl amount from the total balance - balance = balance - withdraw; - System.out.println("Please collect your money"); - } - else - { - //show custom error message - System.out.println("Insufficient Balance"); - } - System.out.println(""); - break; - - case 2: - - System.out.print("Enter money to be deposited:"); - - //get deposite amount from te user - deposit = sc.nextInt(); - - //add the deposit amount to the total balanace - balance = balance + deposit; - System.out.println("Your Money has been successfully depsited"); - System.out.println(""); - break; - - case 3: - //displaying the total balance of the user - System.out.println("Balance : "+balance); - System.out.println(""); - break; - - case 4: - //exit from the menu - System.exit(0); - } - } - } -} diff --git a/AddressBook.py b/AddressBook.py deleted file mode 100644 index b7ce5cbb..00000000 --- a/AddressBook.py +++ /dev/null @@ -1,124 +0,0 @@ -import pickle -import os.path -from tkinter import * # Import tkinter -import tkinter.messagebox - -class Address: - def __init__(self, name, street, city, state, zip): - self.name = name - self.street = street - self.city = city - self.state = state - self.zip = zip - -class AddressBook: - def __init__(self): - window = Tk() # Create a window - window.title("AddressBook") # Set title - - self.nameVar = StringVar() - self.streetVar = StringVar() - self.cityVar = StringVar() - self.stateVar = StringVar() - self.zipVar = StringVar() - - frame1 = Frame(window) - frame1.pack() - Label(frame1, text = "Name").grid(row = 1, - column = 1, sticky = W) - Entry(frame1, textvariable = self.nameVar, - width = 40).grid(row = 1, column = 2) - - frame2 = Frame(window) - frame2.pack() - Label(frame2, text = "Street").grid(row = 1, - column = 1, sticky = W) - Entry(frame2, textvariable = self.streetVar, - width = 40).grid(row = 1, column = 2) - - frame3 = Frame(window) - frame3.pack() - Label(frame3, text = "City", width = 5).grid(row = 1, - column = 1, sticky = W) - Entry(frame3, - textvariable = self.cityVar).grid(row = 1, column = 2) - Label(frame3, text = "State").grid(row = 1, - column = 3, sticky = W) - Entry(frame3, textvariable = self.stateVar, - width = 5).grid(row = 1, column = 4) - Label(frame3, text = "ZIP").grid(row = 1, - column = 5, sticky = W) - Entry(frame3, textvariable = self.zipVar, - width = 5).grid(row = 1, column = 6) - - frame4 = Frame(window) - frame4.pack() - Button(frame4, text = "Add", - command = self.processAdd).grid(row = 1, column = 1) - btFirst = Button(frame4, text = "First", - command = self.processFirst).grid(row = 1, column = 2) - btNext = Button(frame4, text = "Next", - command = self.processNext).grid(row = 1, column = 3) - btPrevious = Button(frame4, text = "Previous", command = - self.processPrevious).grid(row = 1, column = 4) - btLast = Button(frame4, text = "Last", - command = self.processLast).grid(row = 1, column = 5) - - self.addressList = self.loadAddress() - self.current = 0 - - if len(self.addressList) > 0: - self.setAddress() - - window.mainloop() # Create an event loop - - def saveAddress(self): - outfile = open("address.dat", "wb") - pickle.dump(self.addressList, outfile) - tkinter.messagebox.showinfo( - "Address saved", "A new address is saved") - outfile.close() - - def loadAddress(self): - if not os.path.isfile("address.dat"): - return [] # Return an empty list - - try: - infile = open("address.dat", "rb") - addressList = pickle.load(infile) - except EOFError: - addressList = [] - - infile.close() - return addressList - - def processAdd(self): - address = Address(self.nameVar.get(), - self.streetVar.get(), self.cityVar.get(), - self.stateVar.get(), self.zipVar.get()) - self.addressList.append(address) - self.saveAddress() - - def processFirst(self): - self.current = 0 - self.setAddress() - - def processNext(self): - if self.current < len(self.addressList) - 1: - self.current += 1 - self.setAddress() - - def processPrevious(self): - pass # Left as exercise - - def processLast(self): - pass # Left as exercise - - def setAddress(self): - self.nameVar.set(self.addressList[self.current].name) - self.streetVar.set(self.addressList[self.current].street) - self.cityVar.set(self.addressList[self.current].city) - self.stateVar.set(self.addressList[self.current].state) - self.zipVar.set(self.addressList[self.current].zip) - -AddressBook() # Create GUI diff --git a/AnimationDemo.py b/AnimationDemo.py deleted file mode 100644 index 1ecf6523..00000000 --- a/AnimationDemo.py +++ /dev/null @@ -1,33 +0,0 @@ -from tkinter import * # Import tkinter - -class AnimationDemo: - def __init__(self): - window = Tk() # Create a window - window.title("Animation Demo") # Set a title - - width = 250 # Width of the canvas - canvas = Canvas(window, bg = "white", - width = 250, height = 50) - canvas.pack() - - x = 0 # Starting x position - canvas.create_text(x, 30, - text = "Message moving?", tags = "text") - - dx = 3 - while True: - canvas.move("text", dx, 0) # Move text dx unit - canvas.after(100) # Sleep for 100 milliseconds - canvas.update() # Update canvas - if x < width: - x += dx # Get the current position for string - else: - x = 0 # Reset string position to the beginning - canvas.delete("text") - # Redraw text at the beginning - canvas.create_text(x, 30, text = "Message moving?", - tags = "text") - - window.mainloop() # Create an event loop - -AnimationDemo() # Create GUI \ No newline at end of file diff --git a/Ascii_art/README.md b/Ascii_art/README.md deleted file mode 100644 index b7bb3326..00000000 --- a/Ascii_art/README.md +++ /dev/null @@ -1,30 +0,0 @@ -# ascii-art - -## Description -This Project will take an image and print out an [ASCII-art](https://en.wikipedia.org/wiki/ASCII_art). - -## About this Project -This project uses [opencv](https://www.opencv.org) to process image and [numpy](https://numpy.org) to manipulate arrays. The Image is numerically coded for different threshold regions it comes under and for each coded regions , a symbol is used for printing it out in the stdout. - -## Usage -Use the Script [make_art.py](https://github.com/Shiny-Akash/python-mini-projects/blob/ascii-art/projects/asciiart/make_art.py) . -In the command line, Enter - -`python3 make_art.py [image_path]` - -Replace the `[image_path]` with the image you want to do ascii-art. By default it takes [sample_image.png](https://github.com/Shiny-Akash/python-mini-projects/blob/ascii-art/projects/asciiart/sample_image.png) - -## Customization -There are two things you can customize in [make_art.py](https://github.com/Shiny-Akash/python-mini-projects/blob/ascii-art/projects/asciiart/make_art.py). - -* `symbols_list` -* `threshold_list` - -Modify the threshold list to take **different threshold values** thereby changing the patterns in the printed image. -Modify the symbols list to substitute **different symbols** in the coded patterns. - -## Sample -Input Image : -![input_image](sample_image.png) -Output : -![output_image](sample_output.png) diff --git a/Ascii_art/make_art.py b/Ascii_art/make_art.py deleted file mode 100644 index f966d676..00000000 --- a/Ascii_art/make_art.py +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env python3 - -import cv2 -import numpy as np - -import sys - -symbols_list = ["#", "-", "*", ".", "+", "o"] -threshold_list = [0, 50, 100, 150, 200] - -def print_out_ascii(array): - """prints the coded image with symbols""" - - for row in array: - for e in row: - # select symbol based on the type of coding - print(symbols_list[int(e) % len(symbols_list)], end="") - print() - - -def img_to_ascii(image): - """returns the numeric coded image""" - - # resizing parameters - # adjust these parameters if the output doesn't fit to the screen - height, width = image.shape - new_width = int(width / 20) - new_height = int(height / 40) - - # resize image to fit the printing screen - resized_image = cv2.resize(image, (new_width, new_height),) - - thresh_image = np.zeros(resized_image.shape) - - for i, threshold in enumerate(threshold_list): - # assign corresponding values according to the index of threshold applied - thresh_image[resized_image > threshold] = i - return thresh_image - - -if __name__ == "__main__": - - if len(sys.argv) < 2: - print("Image Path not specified : Using sample_image.png\n") - image_path = "sample_image.png" # default image path - - if len(sys.argv) == 2: - print("Using {} as Image Path\n".format(sys.argv[1])) - image_path = sys.argv[1] - - image = cv2.imread(image_path, 0) # read image - - ascii_art = img_to_ascii(image) - print_out_ascii(ascii_art) diff --git a/Ascii_art/requirements.txt b/Ascii_art/requirements.txt deleted file mode 100644 index eeb7194f..00000000 --- a/Ascii_art/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -opencv-python==4.3.0.36 -numpy==1.19.1 diff --git a/Ascii_art/sample_image.png b/Ascii_art/sample_image.png deleted file mode 100644 index 7a0af276..00000000 Binary files a/Ascii_art/sample_image.png and /dev/null differ diff --git a/Ascii_art/sample_output.png b/Ascii_art/sample_output.png deleted file mode 100644 index b3b20fee..00000000 Binary files a/Ascii_art/sample_output.png and /dev/null differ diff --git a/BMI.py b/BMI.py deleted file mode 100644 index 3668bb73..00000000 --- a/BMI.py +++ /dev/null @@ -1,37 +0,0 @@ -class BMI: - def __init__(self, name, age, weight, height): - self.__name = name - self.__age = age - self.__weight = weight - self.__height = height - - def getBMI(self): - KILOGRAMS_PER_POUND = 0.45359237 - METERS_PER_INCH = 0.0254 - bmi = self.__weight * KILOGRAMS_PER_POUND / \ - ((self.__height * METERS_PER_INCH) * \ - (self.__height * METERS_PER_INCH)) - return round(bmi * 100) / 100 - - def getStatus(self): - bmi = self.getBMI() - if bmi < 18.5: - return "Underweight" - elif bmi < 25: - return "Normal" - elif bmi < 30: - return "Overweight" - else: - return "Obese" - - def getName(self): - return self.__name - - def getAge(self): - return self.__age - - def getWeight(self): - return self.__weight - - def getHeight(self): - return self.__height diff --git a/BMI.pyc b/BMI.pyc deleted file mode 100644 index 56b34df0..00000000 Binary files a/BMI.pyc and /dev/null differ diff --git a/BSTVisualization.java b/BSTVisualization.java deleted file mode 100644 index 21a30550..00000000 --- a/BSTVisualization.java +++ /dev/null @@ -1,540 +0,0 @@ - -import java.util.*; -import javax.swing.*; -import java.awt.*; -import java.awt.event.*; - -public class BSTVisualization extends JFrame implements ActionListener, KeyListener { - // Tree Root Node. - private Node root; - - // private Color color; - private JPanel topPanel, treePanel, infoPanel; - private JPanel topLeftPanel, topRightPanel; - private JButton btnAdd, btnDelete; - private JTextField tf; - private int X = 300, Y = 75; - private Graphics2D g2; - private Rectangle size; - private JLabel labelInorder, labelPreorder, labelPostorder, labelHeight; - private JLabel ansInorder, ansPreorder, ansPostorder, ansHeight; - private FontMetrics fontMatrix; - - //Node Structure - private static class Node { - static int TEXT_WIDTH = 40; - static int TEXT_HEIGHT = 40; - - JLabel data; - Node left; - Node right; - Points p; - - Node(int info) { - data = new JLabel(info + "", SwingConstants.CENTER); - data.setFont(new Font("Arial", Font.BOLD, 20)); - data.setBorder(BorderFactory.createLineBorder(Color.black)); - data.setOpaque(true); - data.setBackground(Color.green); - p = null; - } - } - - //Points structure - private static class Points { - int x1 = 0, x2 = 0, y2 = 0, y1 = 0; - - Points(int x1, int y1, int x2, int y2) { - this.x1 = x1; - this.x2 = x2; - this.y2 = y2; - this.y1 = y1; - } - - public String toString() { - return "x1 = " + x1 + ", y1 = " + y1 + ", x2 = " + x2 + ", y2 = " + y2; - } - } - - // For storing the Height of the root,left and right child height. - private static class Height { - int root, left, right; - - Height() { - this.root = 0; - this.left = 0; - this.right = 0; - } - - Height(int left, int right) { - this.left = left; - this.right = right; - } - - @Override - public String toString() { - return Integer.toString(this.root); - } - } - - public void paint(Graphics g) { - super.paintComponents(g); - - g2 = (Graphics2D) g; - g2.setStroke(new BasicStroke(3.0f)); - - Stack s = new Stack<>(); - Node curr = root; - Points pts; - int offset = topPanel.getBounds().height; - while (!s.isEmpty() || curr != null) { - while (curr != null) { - s.push(curr); - curr = curr.left; - } - if (!s.isEmpty()) - curr = s.pop(); - pts = curr.p; - g2.drawLine(pts.x1 + 7, pts.y1 + 30 + offset, pts.x2 + 3, pts.y2 + 10 + offset); - curr = curr.right; - } - - // x1 = label.getX()+7 - // y1 = label.getY()+30 - } - - public BSTVisualization() { - // Initialize the frame. - initialize(); - } - - private void initialize() { - - // setLayout(null); // layout - setSize(1200, 700); //frame size - - size = getBounds(); - X = size.width / 2; - - topPanel = new JPanel(new BorderLayout()); - Rectangle top = topPanel.getBounds(); - - topLeftPanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 10, 10)); - topPanel.add(topLeftPanel, BorderLayout.WEST); - - topRightPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT)); - topPanel.add(topRightPanel, BorderLayout.EAST); - - treePanel = new JPanel(null); - treePanel.setPreferredSize(new Dimension(size.width, size.height - 300)); - - infoPanel = new JPanel(); - infoPanel.setLayout(new BoxLayout(infoPanel, BoxLayout.Y_AXIS)); - infoPanel.setPreferredSize(new Dimension(size.width, 200)); - - // Height of BST label - labelHeight = new JLabel("BST Height : "); - labelHeight.setFont(new Font("Calibri", Font.BOLD, 20)); - topLeftPanel.add(labelHeight); - - // Height of BST answer - ansHeight = new JLabel("0"); - ansHeight.setFont(new Font("Calibri", Font.BOLD, 20)); - ansHeight.setPreferredSize(new Dimension(50, 30)); - topLeftPanel.add(ansHeight); - - //For geting data. - tf = new JTextField(""); - tf.setFont(new Font("Arial", Font.BOLD, 20)); - tf.setPreferredSize(new Dimension(150, 30)); - tf.addKeyListener(this); - topRightPanel.add(tf); - - //Add Button - btnAdd = new JButton("Add"); - btnAdd.setFont(new Font("Arial", Font.BOLD, 20)); - // btnAdd.setBounds(size.width - 130, 20, 100, 30); - btnAdd.addActionListener(this); - topRightPanel.add(btnAdd); - - //Delete Button - btnDelete = new JButton("Delete"); - btnDelete.setFont(new Font("Arial", Font.BOLD, 20)); - // btnDelete.setBounds(size.width - 130, 60, 100, 30); - btnDelete.addActionListener(this); - topRightPanel.add(btnDelete); - - // Inorder label - labelInorder = new JLabel("Inorder :"); - labelInorder.setFont(new Font("Times New Roman", Font.BOLD, 20)); - infoPanel.add(labelInorder); - - infoPanel.add(Box.createRigidArea(new Dimension(7, 5))); - - // Inorder traversal answer - ansInorder = new JLabel("BST is empty."); - ansInorder.setFont(new Font("Arial", Font.PLAIN, 18)); - infoPanel.add(ansInorder); - - infoPanel.add(Box.createRigidArea(new Dimension(7, 15))); - - // Preorder label - labelPreorder = new JLabel("Preorder :"); - labelPreorder.setFont(new Font("Times New Roman", Font.BOLD, 20)); - infoPanel.add(labelPreorder); - - infoPanel.add(Box.createRigidArea(new Dimension(7, 5))); - - // Preorder traversal answer - ansPreorder = new JLabel("BST is empty."); - ansPreorder.setFont(new Font("Arial", Font.PLAIN, 18)); - infoPanel.add(ansPreorder); - - infoPanel.add(Box.createRigidArea(new Dimension(7, 15))); - - // Postorder label - labelPostorder = new JLabel("Postorder :"); - labelPostorder.setFont(new Font("Times New Roman", Font.BOLD, 20)); - infoPanel.add(labelPostorder); - - // Postorder traversal answer - ansPostorder = new JLabel("BST is empty."); - ansPostorder.setFont(new Font("Arial", Font.PLAIN, 18)); - infoPanel.add(ansPostorder); - - tf.requestFocusInWindow(); - - add(topPanel, BorderLayout.NORTH); - add(treePanel, BorderLayout.CENTER); - add(infoPanel, BorderLayout.SOUTH); - - setTitle("Binary Search Tree Visualization"); //Title Frame - setResizable(false); - setLocationRelativeTo(null); - setVisible(true); - setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - } - - @Override - public void actionPerformed(ActionEvent evt) { - if (tf.isEnabled()) { - try { - int data = Integer.parseInt(tf.getText()); - if (evt.getSource() == btnAdd) { - add(data); - } else { - delete(data); - } - tf.setText(""); - tf.requestFocusInWindow(); - } catch (Exception e) { - JOptionPane.showMessageDialog(null, "Please Enter Integer."); - } - } - } - - @Override - public void keyTyped(KeyEvent evt) { - char c = evt.getKeyChar(); - if (!tf.isEnabled()) { - return; - } else if (c == 'a' || c == 'A' || c == '\n') { - try { - String data = tf.getText(); - evt.consume(); // Not type 'a' or 'A' character in textfield - if (!data.isEmpty()) { - add(Integer.parseInt(data)); - } else { - throw new Exception(); - } - tf.requestFocusInWindow(); - } catch (Exception e) { - JOptionPane.showMessageDialog(null, "Please Enter Integer."); - } - tf.setText(""); - } else if (c == 'd' || c == 'D') { - try { - String data = tf.getText(); - evt.consume(); // Not type 'd' or 'D' character in textfield - if (!data.isEmpty()) { - delete(Integer.parseInt(data)); - } - tf.requestFocusInWindow(); - } catch (Exception e) { - JOptionPane.showMessageDialog(null, "Please Enter Integer."); - } - tf.setText(""); - } else if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') - evt.consume(); - } - - @Override - public void keyPressed(KeyEvent evt) { - } - - @Override - public void keyReleased(KeyEvent evt) { - } - - //Add element in BST. - public void add(int info) { - Node newNode = new Node(info); - int width = getWidth(newNode); - - if (root == null) { - root = newNode; - newNode.data.setBounds(treePanel.getBounds().width / 2, 10, width, 40); - newNode.p = new Points(0, 0, 0, 0); - } else { - Node curr = root, pre = root; - int currData; - X = treePanel.getBounds().width / 2; - while (curr != null) { - pre = curr; - currData = Integer.parseInt(curr.data.getText()); - if (info == currData) { - JOptionPane.showMessageDialog(null, info + " is already exist."); - return; - } else if (currData > info) { - curr = curr.left; - } else { - curr = curr.right; - } - X /= 2; - } - - currData = Integer.parseInt(pre.data.getText()); - int x = pre.data.getX(); - int y = pre.data.getY(); - Dimension preDimension = pre.data.getSize(); - Dimension currDimension = new Dimension(width, Node.TEXT_HEIGHT); - - if (currData > info) { - pre.left = newNode; - newNode.data.setBounds(x - X, y + Y, width, 40); - // x1=x;y1=y+20;x2=x-X+20;y2=y+Y+20; - newNode.p = new Points(x, y + preDimension.height / 2, x - X + currDimension.width / 2, y + Y + currDimension.height / 2); - } else { - pre.right = newNode; - newNode.data.setBounds(x + X, y + Y, width, 40); - // x1=x+40;y1=y+20;x2=x+X+20;y2=y+Y+20; - newNode.p = new Points(x + preDimension.width, y + preDimension.height / 2, x + X + currDimension.width / 2, y + Y + currDimension.height / 2); - } - } - - // Set all traversal and height of BST - setInfo(); - - // paint(treePanel.getGraphics()); - treePanel.add(newNode.data); - treePanel.validate(); - treePanel.repaint(); - - validate(); - repaint(); - } - - // Delete Node from BST - public void delete(int data) { - if (root == null) { - JOptionPane.showMessageDialog(null, "BST is empty."); - } else { - Node curr = root, pre = root; - - while (curr != null) { - int info = Integer.parseInt(curr.data.getText()); - if (info == data) { - break; - } else if (info > data) { - pre = curr; - curr = curr.left; - } else { - pre = curr; - curr = curr.right; - } - } - - if (curr == null) { // data is not find. - JOptionPane.showMessageDialog(null, data + " is not available."); - return; - } else if (curr.left == null || curr.right == null) { // data has 0 or 1 child - - treePanel.remove(curr.data); - treePanel.validate(); - treePanel.repaint(); - - validate(); - repaint(); - - if (curr != root) { - Node address = curr.left != null ? curr.left : curr.right; - // curr.data>pre.data - int preData = Integer.parseInt(pre.data.getText()); - int currData = Integer.parseInt(curr.data.getText()); - if (currData > preData) { - pre.right = address; - } else { - pre.left = address; - } - } else { - if (curr.left != null) { - root = curr.left; - } else { - root = curr.right; - } - } - - } else { // data has 2 child. - - treePanel.remove(curr.data); - treePanel.validate(); - treePanel.repaint(); - - validate(); - repaint(); - - /* - It set another node depending upon the height of left and right sub tree. - */ - Node nextRoot = null, preRoot = curr; - Height height = calculateHeight(curr); - - /* For taking maximum element from the left Side. */ - if (height.left > height.right) { - nextRoot = curr.left; - while (nextRoot.right != null) { - preRoot = nextRoot; - nextRoot = nextRoot.right; - } - - if (preRoot != curr) { - preRoot.right = nextRoot.left; - } else { - preRoot.left = nextRoot.left; - } - } else { /* For taking minimum element from the right Side.*/ - nextRoot = curr.right; - while (nextRoot.left != null) { - preRoot = nextRoot; - nextRoot = nextRoot.left; - } - - if (preRoot != curr) { - preRoot.left = nextRoot.right; - } else { - preRoot.right = nextRoot.right; - } - } - - curr.data = nextRoot.data; - } - reArrangeNode(root, root, treePanel.getBounds().width / 2); - } - - // Set all traversal and height of BST - setInfo(); - } - - // Set all traversal and height of BST - private void setInfo() { - Height height = calculateHeight(root); - - if (height.root == 0) { - ansInorder.setText("BST is empty."); - ansPostorder.setText("BST is empty."); - ansPreorder.setText("BST is empty."); - } else { - ansInorder.setText(inorder(root)); - ansPostorder.setText(postorder(root)); - ansPreorder.setText(preorder(root)); - } - - ansHeight.setText(height.root + ""); - } - - private int getWidth(Node node) { - fontMatrix = getFontMetrics(node.data.getFont()); - int width = fontMatrix.stringWidth(node.data.getText()); - return width < Node.TEXT_WIDTH ? Node.TEXT_WIDTH : (width + 5); - } - - //Inorder logic - private String inorder(Node root) { - if (root == null) - return ""; - - return inorder(root.left) + root.data.getText() + " " + inorder(root.right); - } - - //Preorder logic - public String preorder(Node root) { - if (root == null) - return ""; - - return root.data.getText() + " " + preorder(root.left) + preorder(root.right); - } - - //Postorder logic - public String postorder(Node root) { - if (root == null) - return ""; - - return postorder(root.left) + postorder(root.right) + root.data.getText() + " "; - } - - // Calculate Height of BST using recursive method. - private Height calculateHeight(Node root) { - if (root == null) { - return new Height(); - } - Height leftChild = calculateHeight(root.left); - Height rightChild = calculateHeight(root.right); - Height current = new Height(leftChild.root, rightChild.root); - current.root = 1 + Math.max(leftChild.root, rightChild.root); - return current; - } - - // Rearrange nodes - private void reArrangeNode(Node node, Node pre, int X) { - if (node == null) - return; - - int width = getWidth(node); - - if (root == node) { - node.data.setBounds(X, 10, width, Node.TEXT_HEIGHT); - } else { - int x = pre.data.getX(); - int y = pre.data.getY(); - Dimension preDimension = pre.data.getSize(); - Dimension currDimension = new Dimension(width, Node.TEXT_HEIGHT); - - int preData = Integer.parseInt(pre.data.getText()); - int nodeData = Integer.parseInt(node.data.getText()); - if (nodeData < preData) { - node.data.setBounds(x - X, y + Y, width, Node.TEXT_HEIGHT); - node.p = new Points(x, y + preDimension.height / 2, x - X + currDimension.width / 2, y + Y + currDimension.height / 2); - } else { - node.data.setBounds(x + X, y + Y, width, Node.TEXT_HEIGHT); - // node.p = new Points(x + 40, y + 20, x + X + 20, y + Y + 20); - node.p = new Points(x + preDimension.width, y + preDimension.height / 2, x + X + currDimension.width / 2, y + Y + currDimension.height / 2); - } - } - - reArrangeNode(node.left, node, X / 2); - reArrangeNode(node.right, node, X / 2); - } - - public static void main(String arg[]) { - BSTVisualization bst = new BSTVisualization(); - - bst.add(500); - bst.add(250); - bst.add(350); - bst.add(200); - bst.add(750); - bst.add(1000); - bst.add(700); - bst.add(740); - } -} diff --git a/Billing-System b/Billing-System deleted file mode 160000 index f2922f40..00000000 --- a/Billing-System +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f2922f40c6aa0adda09a51fb87c36a1d50d5af56 diff --git a/BounceBalls.py b/BounceBalls.py deleted file mode 100644 index 63a8abb0..00000000 --- a/BounceBalls.py +++ /dev/null @@ -1,94 +0,0 @@ -from tkinter import * # Import tkinter -from random import randint - -# Return a random color string in the form #RRGGBB -def getRandomColor(): - color = "#" - for j in range(6): - color += toHexChar(randint(0, 15)) # Add a random digit - return color - -# Convert an integer to a single hex digit in a character -def toHexChar(hexValue): - if 0 <= hexValue <= 9: - return chr(hexValue + ord('0')) - else: # 10 <= hexValue <= 15 - return chr(hexValue - 10 + ord('A')) - -# Define a Ball class -class Ball: - def __init__(self): - self.x = 0 # Starting center position - self.y = 0 - self.dx = 2 # Move right by default - self.dy = 2 # Move down by default - self.radius = 3 # The radius is fixed - self.color = getRandomColor() # Get random color - -class BounceBalls: - def __init__(self): - self.ballList = [] # Create a list for balls - - window = Tk() # Create a window - window.title("Bouncing Balls") # Set a title - - self.width = 350 # Width of the self.canvas - self.height = 150 # Width of the self.canvas - self.canvas = Canvas(window, bg = "white", - width = self.width, height = self.height) - self.canvas.pack() - - frame = Frame(window) - frame.pack() - btStop = Button(frame, text = "Stop", command = self.stop) - btStop.pack(side = LEFT) - btResume = Button(frame, text = "Resume", - command = self.resume) - btResume.pack(side = LEFT) - btAdd = Button(frame, text = "+", command = self.add) - btAdd.pack(side = LEFT) - btRemove = Button(frame, text = "-", command = self.remove) - btRemove.pack(side = LEFT) - - self.sleepTime = 100 # Set a sleep time - self.isStopped = False - self.animate() - - window.mainloop() # Create an event loop - - def stop(self): # Stop animation - self.isStopped = True - - def resume(self): # Resume animation - self.isStopped = False - self.animate() - - def add(self): # Add a new ball - self.ballList.append(Ball()) - - def remove(self): # Remove the last ball - self.ballList.pop() - - def animate(self): # Move the message - while not self.isStopped: - self.canvas.after(self.sleepTime) # Sleep - self.canvas.update() # Update self.canvas - self.canvas.delete("ball") - - for ball in self.ballList: - self.redisplayBall(ball) - - def redisplayBall(self, ball): - if ball.x > self.width or ball.x < 0: - ball.dx = -ball.dx - - if ball.y > self.height or ball.y < 0: - ball.dy = -ball.dy - - ball.x += ball.dx - ball.y += ball.dy - self.canvas.create_oval(ball.x - ball.radius, - ball.y - ball.radius, ball.x + ball.radius, - ball.y + ball.radius, fill = ball.color, tags = "ball") - -BounceBalls() # Create GUI diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 2e15de2e..00000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,128 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -We as members, contributors, and leaders pledge to make participation in our -community a harassment-free experience for everyone, regardless of age, body -size, visible or invisible disability, ethnicity, sex characteristics, gender -identity and expression, level of experience, education, socio-economic status, -nationality, personal appearance, race, religion, or sexual identity -and orientation. - -We pledge to act and interact in ways that contribute to an open, welcoming, -diverse, inclusive, and healthy community. - -## Our Standards - -Examples of behavior that contributes to a positive environment for our -community include: - -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, - and learning from the experience -* Focusing on what is best not just for us as individuals, but for the - overall community - -Examples of unacceptable behavior include: - -* The use of sexualized language or imagery, and sexual attention or - advances of any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email - address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Enforcement Responsibilities - -Community leaders are responsible for clarifying and enforcing our standards of -acceptable behavior and will take appropriate and fair corrective action in -response to any behavior that they deem inappropriate, threatening, offensive, -or harmful. - -Community leaders have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, and will communicate reasons for moderation -decisions when appropriate. - -## Scope - -This Code of Conduct applies within all community spaces, and also applies when -an individual is officially representing the community in public spaces. -Examples of representing our community include using an official e-mail address, -posting via an official social media account, or acting as an appointed -representative at an online or offline event. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported to the community leaders responsible for enforcement at -Kishan Rajput. -All complaints will be reviewed and investigated promptly and fairly. - -All community leaders are obligated to respect the privacy and security of the -reporter of any incident. - -## Enforcement Guidelines - -Community leaders will follow these Community Impact Guidelines in determining -the consequences for any action they deem in violation of this Code of Conduct: - -### 1. Correction - -**Community Impact**: Use of inappropriate language or other behavior deemed -unprofessional or unwelcome in the community. - -**Consequence**: A private, written warning from community leaders, providing -clarity around the nature of the violation and an explanation of why the -behavior was inappropriate. A public apology may be requested. - -### 2. Warning - -**Community Impact**: A violation through a single incident or series -of actions. - -**Consequence**: A warning with consequences for continued behavior. No -interaction with the people involved, including unsolicited interaction with -those enforcing the Code of Conduct, for a specified period of time. This -includes avoiding interactions in community spaces as well as external channels -like social media. Violating these terms may lead to a temporary or -permanent ban. - -### 3. Temporary Ban - -**Community Impact**: A serious violation of community standards, including -sustained inappropriate behavior. - -**Consequence**: A temporary ban from any sort of interaction or public -communication with the community for a specified period of time. No public or -private interaction with the people involved, including unsolicited interaction -with those enforcing the Code of Conduct, is allowed during this period. -Violating these terms may lead to a permanent ban. - -### 4. Permanent Ban - -**Community Impact**: Demonstrating a pattern of violation of community -standards, including sustained inappropriate behavior, harassment of an -individual, or aggression toward or disparagement of classes of individuals. - -**Consequence**: A permanent ban from any sort of public interaction within -the community. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], -version 2.0, available at -https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. - -Community Impact Guidelines were inspired by [Mozilla's code of conduct -enforcement ladder](https://github.com/mozilla/diversity). - -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see the FAQ at -https://www.contributor-covenant.org/faq. Translations are available at -https://www.contributor-covenant.org/translations. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 78fa5b74..00000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,20 +0,0 @@ -## Contributing Guidelines - - Thank you for considering to contribute to this project. - - This document specifies the guidelines that you should follow when contributing to this project. - - Please adhere to the guidelines in order for your PR's to get approved. - -### General Rules : -These are general rules that you should follow when contributing to an Open Source project : - -- Be Nice, Be Respectful (BNBR) -- Check if the issue you opened exists or not. If it exists do not reopen it. -- While opening a new issue, make sure you describe the issue clearly. -- Write proper commit messages and document your PR well. -- Always add comments in your code and explain it at points, if possible add Doctest. -- Always create a Pull Request from a new branch such as **feature**; do not create a PR from **main**. -- Write clean code and follow proper coding conventions. - -Thank you ❤ diff --git a/Calc.java b/Calc.java deleted file mode 100644 index 7c6e8c7b..00000000 --- a/Calc.java +++ /dev/null @@ -1,75 +0,0 @@ -// Java program for simple calculator - -import java.io.*; -import java.lang.*; -import java.lang.Math; -import java.util.Scanner; -public class BasicCalculator { - - public static void main(String[] args) - { - // stores two numbers - double num1, num2; - - // Take input from the user - Scanner sc = new Scanner(System.in); - - System.out.println("Enter the numbers"); - - // take the inputs - num1 = sc.nextDouble(); - - num2 = sc.nextDouble(); - - System.out.println("Enter the operator (+,-,*,/)"); - - char op = sc.next().charAt(0); - - double o = 0; - - switch (op) { - - // case to add two numbers - case '+': - - o = num1 + num2; - - break; - - // case to subtract two numbers - case '-': - - o = num1 - num2; - - break; - - // case to multiply two numbers - case '*': - - o = num1 * num2; - - break; - - // case to divide two numbers - case '/': - - o = num1 / num2; - - break; - - default: - - System.out.println("You enter wrong input"); - - break; - } - - System.out.println("The final result:"); - - System.out.println(); - - // print the final result - System.out.println(num1 + " " + op + " " + num2 - + " = " + o); - } -} diff --git a/Calculator using Java/Calculator.java b/Calculator using Java/Calculator.java deleted file mode 100644 index 880fe27a..00000000 --- a/Calculator using Java/Calculator.java +++ /dev/null @@ -1,183 +0,0 @@ -package simplejavacalculator; - -import static java.lang.Double.NaN; - -import static java.lang.Math.log; - -import static java.lang.Math.log10; - -import static java.lang.Math.pow; - -public class Calculator { - - public enum BiOperatorModes { - - normal, add, minus, multiply, divide , xpowerofy - - } - - public enum MonoOperatorModes { - - square, squareRoot, oneDividedBy, cos, sin, tan ,log , rate, abs - - } - - private Double num1, num2; - - private BiOperatorModes mode = BiOperatorModes.normal; - - private Double calculateBiImpl() { - - if (mode == BiOperatorModes.normal) { - - return num2; - - } - - if (mode == BiOperatorModes.add) { - - if (num2 != 0) { - - return num1 + num2; - - } - - return num1; - - } - - if (mode == BiOperatorModes.minus) { - - return num1 – num2; - - } - - if (mode == BiOperatorModes.multiply) { - - return num1 * num2; - - } - - if (mode == BiOperatorModes.divide) { - - return num1 / num2; - - } - - if (mode == BiOperatorModes.xpowerofy) { - - return pow(num1,num2); - - } - - // never reach - - throw new Error(); - - } - - public Double calculateBi(BiOperatorModes newMode, Double num) { - - if (mode == BiOperatorModes.normal) { - - num2 = 0.0; - - num1 = num; - - mode = newMode; - - return NaN; - - } else { - - num2 = num; - - num1 = calculateBiImpl(); - - mode = newMode; - - return num1; - - } - - } - - public Double calculateEqual(Double num) { - - return calculateBi(BiOperatorModes.normal, num); - - } - - public Double reset() { - - num2 = 0.0; - - num1 = 0.0; - - mode = BiOperatorModes.normal; - - return NaN; - - } - - public Double calculateMono(MonoOperatorModes newMode, Double num) { - - if (newMode == MonoOperatorModes.square) { - - return num * num; - - } - - if (newMode == MonoOperatorModes.squareRoot) { - - return Math.sqrt(num); - - } - - if (newMode == MonoOperatorModes.oneDividedBy) { - - return 1 / num; - - } - - if (newMode == MonoOperatorModes.cos) { - - return Math.cos(Math.toRadians(num)); - - } - - if (newMode == MonoOperatorModes.sin) { - - return Math.sin(Math.toRadians(num)); - - } - - if (newMode == MonoOperatorModes.tan) { - - if (num == 0 || num % 180 == 0) { - - return 0.0; - - } - - if (num % 90 == 0 && num % 180 != 0) { - - return NaN; - - } - - return Math.tan(Math.toRadians(num)); - - } - - if (newMode == MonoOperatorModes.log) { - - return log10(num); - - } - - if (newMode == MonoOperatorModes.rate) { - - return num / 100; - - } diff --git a/Calculator-project/.classpath b/Calculator-project/.classpath deleted file mode 100644 index f0257c5a..00000000 --- a/Calculator-project/.classpath +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Calculator-project/.gitignore b/Calculator-project/.gitignore deleted file mode 100644 index 7667d29a..00000000 --- a/Calculator-project/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -# Intellij -.idea/ -out/ -*.iml - -# Maven -target/ \ No newline at end of file diff --git a/Calculator-project/.project b/Calculator-project/.project deleted file mode 100644 index 70fea0ab..00000000 --- a/Calculator-project/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - Calculator - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - - - - 1665915642182 - - 30 - - org.eclipse.core.resources.regexFilterMatcher - node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ - - - - diff --git a/Calculator-project/LICENSE b/Calculator-project/LICENSE deleted file mode 100644 index 879af7cc..00000000 --- a/Calculator-project/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Houari Zegai - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Calculator-project/README.md b/Calculator-project/README.md deleted file mode 100644 index eaaef01e..00000000 --- a/Calculator-project/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# Calculator App -A very basic calculator application created with Java **Swing**. - -[![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) - -## Thank You! -Please ⭐️ this repo and share it with others - -### Screenshots -Scientific / Dark | Standard / Colored -:------------------:|:------------------- -![Calculator - screenshot](screenshots/dark.PNG) | ![Calculator - screenshot](screenshots/colored.PNG) - -### Requirements 🔧 -* Java version 8 or higher. - -### Installation 🔌 -1. Press the **Fork** button (top right the page) to save copy of this project on your account. - -2. Download the repository files (project) from the download section or clone this project by typing in the bash the following command: - - git clone https://github.com/HouariZegai/Calculator.git -3. Imported it in Intellij IDEA or any other Java IDE. -4. Run the application :D - -### Contributing 💡 -If you want to contribute to this project and make it better with new ideas, your pull request is very welcomed. -If you find any issue just put it in the repository issue section, thank you. diff --git a/Calculator-project/pom.xml b/Calculator-project/pom.xml deleted file mode 100644 index 738bf59c..00000000 --- a/Calculator-project/pom.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - 4.0.0 - - com.houari - Calculator - 1.0-SNAPSHOT - - - 8 - 8 - - - - - org.junit.jupiter - junit-jupiter-api - 5.7.0 - test - - - \ No newline at end of file diff --git a/Calculator-project/screenshots/colored.PNG b/Calculator-project/screenshots/colored.PNG deleted file mode 100644 index a30cba6d..00000000 Binary files a/Calculator-project/screenshots/colored.PNG and /dev/null differ diff --git a/Calculator-project/screenshots/dark.PNG b/Calculator-project/screenshots/dark.PNG deleted file mode 100644 index c4765a71..00000000 Binary files a/Calculator-project/screenshots/dark.PNG and /dev/null differ diff --git a/Calculator-project/screenshots/simple.PNG b/Calculator-project/screenshots/simple.PNG deleted file mode 100644 index db749b39..00000000 Binary files a/Calculator-project/screenshots/simple.PNG and /dev/null differ diff --git a/Calculator-project/src/main/java/com/houarizegai/calculator/Calculator.java b/Calculator-project/src/main/java/com/houarizegai/calculator/Calculator.java deleted file mode 100644 index 8e0ad559..00000000 --- a/Calculator-project/src/main/java/com/houarizegai/calculator/Calculator.java +++ /dev/null @@ -1,626 +0,0 @@ -package com.houarizegai.calculator; - -import java.awt.Cursor; -import java.awt.Font; -import java.awt.event.ActionListener; -import java.awt.event.ItemEvent; -import java.util.function.Consumer; -import java.util.regex.Pattern; -import java.awt.Color; -import javax.swing.*; -import java.lang.Math; - -public class Calculator { - - private static final int WINDOW_WIDTH = 410; - private static final int WINDOW_HEIGHT = 600; - private static final int BUTTON_WIDTH = 80; - private static final int BUTTON_HEIGHT = 70; - private static final int MARGIN_X = 20; - private static final int MARGIN_Y = 60; - - private JFrame window; // Main window - private JComboBox comboCalcType, comboTheme; - private JTextField inText; // Input - private JButton btnC, btnBack, btnMod, btnDiv, btnMul, btnSub, btnAdd, - btn0, btn1, btn2, btn3, btn4, btn5, btn6, btn7, btn8, btn9, - btnPoint, btnEqual, btnRoot, btnPower, btnLog; - - private char opt = ' '; // Save the operator - private boolean go = true; // For calculate with Opt != (=) - private boolean addWrite = true; // Connect numbers in display - private double val = 0; // Save the value typed for calculation - - /* - Mx Calculator: - X = Row - Y = Column - - +-------------------+ - | +-----------+ | y[0] - | | | | - | +-----------+ | - | | - | C <- % / | y[1] - | 7 8 9 * | y[2] - | 4 5 6 - | y[3] - | 1 2 3 + | y[4] - | . 0 = | y[5] - +-------------------+ - x[0] x[1] x[2] x[3] - - */ - - /* - +-------------------+ - | +-----------+ | y[0] - | | | | - | +-----------+ | - | | - | 0 1 1 3 | y[1] - | 4 5 6 7 | y[2] - | 8 9 10 11 | y[3] - | 12 13 14 15 | y[4] - | 16 17 18 | y[5] - +-------------------+ - x[0] x[1] x[2] x[3] - - */ - - public Calculator() { - window = new JFrame("Calculator"); - window.setSize(WINDOW_WIDTH, WINDOW_HEIGHT); - window.setLocationRelativeTo(null); // Move window to center - - comboTheme = initCombo(new String[]{"Simple", "Colored", "DarkTheme"}, 230, 30, "Theme", themeSwitchEventConsumer); - - comboCalcType = initCombo(new String[]{"Standard", "Scientific"}, 20, 30, "Calculator type", calcTypeSwitchEventConsumer); - - int[] x = {MARGIN_X, MARGIN_X + 90, 200, 290, 380}; - int[] y = {MARGIN_Y, MARGIN_Y + 100, MARGIN_Y + 180, MARGIN_Y + 260, MARGIN_Y + 340, MARGIN_Y + 420}; - - inText = new JTextField("0"); - inText.setBounds(x[0], y[0], 350, 70); - inText.setEditable(false); - inText.setBackground(Color.WHITE); - inText.setFont(new Font("Comic Sans MS", Font.PLAIN, 33)); - window.add(inText); - - btnC = initBtn("C", x[0], y[1], event -> { - repaintFont(); - inText.setText("0"); - opt = ' '; - val = 0; - }); - - btnBack = initBtn("<-", x[1], y[1], event -> { - repaintFont(); - String str = inText.getText(); - StringBuilder str2 = new StringBuilder(); - for (int i = 0; i < (str.length() - 1); i++) { - str2.append(str.charAt(i)); - } - if (str2.toString().equals("")) { - inText.setText("0"); - } else { - inText.setText(str2.toString()); - } - }); - - btnMod = initBtn("%", x[2], y[1], event -> { - repaintFont(); - if (Pattern.matches("([-]?\\d+[.]\\d*)|(\\d+)", inText.getText())) - if (go) { - val = calc(val, inText.getText(), opt); - if (Pattern.matches("[-]?[\\d]+[.][0]*", String.valueOf(val))) { - inText.setText(String.valueOf((int) val)); - } else { - inText.setText(String.valueOf(val)); - } - opt = '%'; - go = false; - addWrite = false; - } - }); - - btnDiv = initBtn("/", x[3], y[1], event -> { - repaintFont(); - if (Pattern.matches("([-]?\\d+[.]\\d*)|(\\d+)", inText.getText())) - if (go) { - val = calc(val, inText.getText(), opt); - if (Pattern.matches("[-]?[\\d]+[.][0]*", String.valueOf(val))) { - inText.setText(String.valueOf((int) val)); - } else { - inText.setText(String.valueOf(val)); - } - opt = '/'; - go = false; - addWrite = false; - } else { - opt = '/'; - } - }); - - btn7 = initBtn("7", x[0], y[2], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("7"); - } else { - inText.setText(inText.getText() + "7"); - } - } else { - inText.setText("7"); - addWrite = true; - } - go = true; - }); - - btn8 = initBtn("8", x[1], y[2], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("8"); - } else { - inText.setText(inText.getText() + "8"); - } - } else { - inText.setText("8"); - addWrite = true; - } - go = true; - }); - - btn9 = initBtn("9", x[2], y[2], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("9"); - } else { - inText.setText(inText.getText() + "9"); - } - } else { - inText.setText("9"); - addWrite = true; - } - go = true; - }); - - btnMul = initBtn("*", x[3], y[2], event -> { - repaintFont(); - if (Pattern.matches("([-]?\\d+[.]\\d*)|(\\d+)", inText.getText())) - if (go) { - val = calc(val, inText.getText(), opt); - if (Pattern.matches("[-]?[\\d]+[.][0]*", String.valueOf(val))) { - inText.setText(String.valueOf((int) val)); - } else { - inText.setText(String.valueOf(val)); - } - opt = '*'; - go = false; - addWrite = false; - } else { - opt = '*'; - } - }); - - btn4 = initBtn("4", x[0], y[3], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("4"); - } else { - inText.setText(inText.getText() + "4"); - } - } else { - inText.setText("4"); - addWrite = true; - } - go = true; - }); - - btn5 = initBtn("5", x[1], y[3], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("5"); - } else { - inText.setText(inText.getText() + "5"); - } - } else { - inText.setText("5"); - addWrite = true; - } - go = true; - }); - - btn6 = initBtn("6", x[2], y[3], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("6"); - } else { - inText.setText(inText.getText() + "6"); - } - } else { - inText.setText("6"); - addWrite = true; - } - go = true; - }); - - btnSub = initBtn("-", x[3], y[3], event -> { - repaintFont(); - if (Pattern.matches("([-]?\\d+[.]\\d*)|(\\d+)", inText.getText())) - if (go) { - val = calc(val, inText.getText(), opt); - if (Pattern.matches("[-]?[\\d]+[.][0]*", String.valueOf(val))) { - inText.setText(String.valueOf((int) val)); - } else { - inText.setText(String.valueOf(val)); - } - - opt = '-'; - go = false; - addWrite = false; - } else { - opt = '-'; - } - }); - - btn1 = initBtn("1", x[0], y[4], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("1"); - } else { - inText.setText(inText.getText() + "1"); - } - } else { - inText.setText("1"); - addWrite = true; - } - go = true; - }); - - btn2 = initBtn("2", x[1], y[4], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("2"); - } else { - inText.setText(inText.getText() + "2"); - } - } else { - inText.setText("2"); - addWrite = true; - } - go = true; - }); - - btn3 = initBtn("3", x[2], y[4], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("3"); - } else { - inText.setText(inText.getText() + "3"); - } - } else { - inText.setText("3"); - addWrite = true; - } - go = true; - }); - - btnAdd = initBtn("+", x[3], y[4], event -> { - repaintFont(); - if (Pattern.matches("([-]?\\d+[.]\\d*)|(\\d+)", inText.getText())) - if (go) { - val = calc(val, inText.getText(), opt); - if (Pattern.matches("[-]?[\\d]+[.][0]*", String.valueOf(val))) { - inText.setText(String.valueOf((int) val)); - } else { - inText.setText(String.valueOf(val)); - } - opt = '+'; - go = false; - addWrite = false; - } else { - opt = '+'; - } - }); - - btnPoint = initBtn(".", x[0], y[5], event -> { - repaintFont(); - if (addWrite) { - if (!inText.getText().contains(".")) { - inText.setText(inText.getText() + "."); - } - } else { - inText.setText("0."); - addWrite = true; - } - go = true; - }); - - btn0 = initBtn("0", x[1], y[5], event -> { - repaintFont(); - if (addWrite) { - if (Pattern.matches("[0]*", inText.getText())) { - inText.setText("0"); - } else { - inText.setText(inText.getText() + "0"); - } - } else { - inText.setText("0"); - addWrite = true; - } - go = true; - }); - - btnEqual = initBtn("=", x[2], y[5], event -> { - if (Pattern.matches("([-]?\\d+[.]\\d*)|(\\d+)", inText.getText())) - if (go) { - val = calc(val, inText.getText(), opt); - if (Pattern.matches("[-]?[\\d]+[.][0]*", String.valueOf(val))) { - inText.setText(String.valueOf((int) val)); - } else { - inText.setText(String.valueOf(val)); - } - opt = '='; - addWrite = false; - } - }); - btnEqual.setSize(2 * BUTTON_WIDTH + 10, BUTTON_HEIGHT); - - btnRoot = initBtn("√", x[4], y[1], event -> { - if (Pattern.matches("([-]?\\d+[.]\\d*)|(\\d+)", inText.getText())) - if (go) { - val = Math.sqrt(Double.parseDouble(inText.getText())); - if (Pattern.matches("[-]?[\\d]+[.][0]*", String.valueOf(val))) { - inText.setText(String.valueOf((int) val)); - } else { - inText.setText(String.valueOf(val)); - } - opt = '√'; - addWrite = false; - } - }); - btnRoot.setVisible(false); - - btnPower = initBtn("pow", x[4], y[2], event -> { - repaintFont(); - if (Pattern.matches("([-]?\\d+[.]\\d*)|(\\d+)", inText.getText())) - if (go) { - val = calc(val, inText.getText(), opt); - if (Pattern.matches("[-]?[\\d]+[.][0]*", String.valueOf(val))) { - inText.setText(String.valueOf((int) val)); - } else { - inText.setText(String.valueOf(val)); - } - opt = '^'; - go = false; - addWrite = false; - } else { - opt = '^'; - } - }); - btnPower.setFont(new Font("Comic Sans MS", Font.PLAIN, 24)); - btnPower.setVisible(false); - - btnLog = initBtn("ln", x[4], y[3], event -> { - if (Pattern.matches("([-]?\\d+[.]\\d*)|(\\d+)", inText.getText())) - if (go) { - val = Math.log(Double.parseDouble(inText.getText())); - if (Pattern.matches("[-]?[\\d]+[.][0]*", String.valueOf(val))) { - inText.setText(String.valueOf((int) val)); - } else { - inText.setText(String.valueOf(val)); - } - opt = 'l'; - addWrite = false; - } - }); - btnLog.setVisible(false); - - window.setLayout(null); - window.setResizable(false); - window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // Close button clicked? = End The process - window.setVisible(true); - } - - private JComboBox initCombo(String[] items, int x, int y, String toolTip, Consumer consumerEvent) { - JComboBox combo = new JComboBox<>(items); - combo.setBounds(x, y, 140, 25); - combo.setToolTipText(toolTip); - combo.setCursor(new Cursor(Cursor.HAND_CURSOR)); - combo.addItemListener(consumerEvent::accept); - window.add(combo); - - return combo; - } - - private JButton initBtn(String label, int x, int y, ActionListener event) { - JButton btn = new JButton(label); - btn.setBounds(x, y, BUTTON_WIDTH, BUTTON_HEIGHT); - btn.setFont(new Font("Comic Sans MS", Font.PLAIN, 28)); - btn.setCursor(new Cursor(Cursor.HAND_CURSOR)); - btn.addActionListener(event); - btn.setFocusable(false); - window.add(btn); - - return btn; - } - - public double calc(double x, String input, char opt) { - inText.setFont(inText.getFont().deriveFont(Font.PLAIN)); - double y = Double.parseDouble(input); - switch (opt) { - case '+': - return x + y; - case '-': - return x - y; - case '*': - return x * y; - case '/': - return x / y; - case '%': - return x % y; - case '^': - return Math.pow(x, y); - default: - inText.setFont(inText.getFont().deriveFont(Font.PLAIN)); - return y; - } - } - - private void repaintFont() { - inText.setFont(inText.getFont().deriveFont(Font.PLAIN)); - } - - private Consumer calcTypeSwitchEventConsumer = event -> { - if (event.getStateChange() != ItemEvent.SELECTED) return; - - String selectedItem = (String) event.getItem(); - switch (selectedItem) { - case "Standard": - window.setSize(WINDOW_WIDTH, WINDOW_HEIGHT); - btnRoot.setVisible(false); - btnPower.setVisible(false); - btnLog.setVisible(false); - break; - case "Scientific": - window.setSize(WINDOW_WIDTH + 80, WINDOW_HEIGHT); - btnRoot.setVisible(true); - btnPower.setVisible(true); - btnLog.setVisible(true); - break; - } - }; - - private Consumer themeSwitchEventConsumer = event -> { - if (event.getStateChange() != ItemEvent.SELECTED) return; - - String selectedTheme = (String) event.getItem(); - switch (selectedTheme) { - case "Simple": - window.getContentPane().setBackground(null); - btnC.setBackground(null); - btnBack.setBackground(null); - btnMod.setBackground(null); - btnDiv.setBackground(null); - btnMul.setBackground(null); - btnSub.setBackground(null); - btnAdd.setBackground(null); - btnRoot.setBackground(null); - btnLog.setBackground(null); - btnPower.setBackground(null); - btnEqual.setBackground(null); - btn0.setBackground(null); - btn1.setBackground(null); - btn2.setBackground(null); - btn3.setBackground(null); - btn4.setBackground(null); - btn5.setBackground(null); - btn6.setBackground(null); - btn7.setBackground(null); - btn8.setBackground(null); - btn9.setBackground(null); - btnPoint.setBackground(null); - - btnC.setForeground(Color.BLACK); - btnBack.setForeground(Color.BLACK); - btnMod.setForeground(Color.BLACK); - btnDiv.setForeground(Color.BLACK); - btnMul.setForeground(Color.BLACK); - btnSub.setForeground(Color.BLACK); - btnAdd.setForeground(Color.BLACK); - btnEqual.setForeground(Color.BLACK); - btnLog.setForeground(Color.BLACK); - btnPower.setForeground(Color.BLACK); - btnRoot.setForeground(Color.BLACK); - break; - case "Colored": - window.getContentPane().setBackground(null); - btnC.setBackground(Color.RED); - btnBack.setBackground(Color.ORANGE); - btnMod.setBackground(Color.GREEN); - btnDiv.setBackground(Color.PINK); - btnMul.setBackground(Color.PINK); - btnSub.setBackground(Color.PINK); - btnAdd.setBackground(Color.PINK); - btnRoot.setBackground(Color.PINK); - btnLog.setBackground(Color.PINK); - btnPower.setBackground(Color.PINK); - btnEqual.setBackground(Color.BLUE); - btn0.setBackground(Color.WHITE); - btn1.setBackground(Color.WHITE); - btn2.setBackground(Color.WHITE); - btn3.setBackground(Color.WHITE); - btn4.setBackground(Color.WHITE); - btn5.setBackground(Color.WHITE); - btn6.setBackground(Color.WHITE); - btn7.setBackground(Color.WHITE); - btn8.setBackground(Color.WHITE); - btn9.setBackground(Color.WHITE); - btnPoint.setBackground(Color.WHITE); - - btnC.setForeground(Color.WHITE); - btnBack.setForeground(Color.WHITE); - btnMod.setForeground(Color.WHITE); - btnDiv.setForeground(Color.WHITE); - btnMul.setForeground(Color.WHITE); - btnSub.setForeground(Color.WHITE); - btnAdd.setForeground(Color.WHITE); - btnEqual.setForeground(Color.WHITE); - btnLog.setForeground(Color.WHITE); - btnPower.setForeground(Color.WHITE); - btnRoot.setForeground(Color.WHITE); - break; - case "DarkTheme": - final Color primaryDarkColor = new Color(141, 38, 99); - final Color secondaryDarkColor = new Color(171, 171, 171); - - window.getContentPane().setBackground(new Color(68, 68, 68)); - btn0.setBackground(secondaryDarkColor); - btn1.setBackground(secondaryDarkColor); - btn2.setBackground(secondaryDarkColor); - btn3.setBackground(secondaryDarkColor); - btn4.setBackground(secondaryDarkColor); - btn5.setBackground(secondaryDarkColor); - btn6.setBackground(secondaryDarkColor); - btn7.setBackground(secondaryDarkColor); - btn8.setBackground(secondaryDarkColor); - btn9.setBackground(secondaryDarkColor); - btnPoint.setBackground(secondaryDarkColor); - - btnC.setForeground(secondaryDarkColor); - btnBack.setForeground(secondaryDarkColor); - btnMod.setForeground(secondaryDarkColor); - btnDiv.setForeground(secondaryDarkColor); - btnMul.setForeground(secondaryDarkColor); - btnSub.setForeground(secondaryDarkColor); - btnAdd.setForeground(secondaryDarkColor); - btnEqual.setForeground(secondaryDarkColor); - btnLog.setForeground(secondaryDarkColor); - btnPower.setForeground(secondaryDarkColor); - btnRoot.setForeground(secondaryDarkColor); - btnC.setBackground(primaryDarkColor); - btnBack.setBackground(primaryDarkColor); - btnMod.setBackground(primaryDarkColor); - btnDiv.setBackground(primaryDarkColor); - btnMul.setBackground(primaryDarkColor); - btnSub.setBackground(primaryDarkColor); - btnAdd.setBackground(primaryDarkColor); - btnRoot.setBackground(primaryDarkColor); - btnLog.setBackground(primaryDarkColor); - btnPower.setBackground(primaryDarkColor); - btnEqual.setBackground(primaryDarkColor); - } - }; - - public static void main(String[] args) { - new Calculator(); - } -} \ No newline at end of file diff --git a/Calculator-project/src/test/java/com/houarizegai/calculator/CalculatorTest.java b/Calculator-project/src/test/java/com/houarizegai/calculator/CalculatorTest.java deleted file mode 100644 index 7ec01158..00000000 --- a/Calculator-project/src/test/java/com/houarizegai/calculator/CalculatorTest.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.houarizegai.calculator; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; - -class CalculatorTest { - - private Calculator calculator; - - @BeforeEach - void setUp() { // Create object before compilation - calculator = new Calculator(); - } - - /* - * testCalc() test method - */ - @Test - void testCalc() { - double first = 3; - String second = "5"; - - try { - Assertions.assertEquals(8, calculator.calc(first, second, '+')); - Assertions.assertEquals(-2, calculator.calc(first, second, '-')); - Assertions.assertEquals(15, calculator.calc(first, second, '*')); - Assertions.assertEquals(0.6, calculator.calc(first, second, '/')); - Assertions.assertEquals(3d, calculator.calc(first, second, '%')); - Assertions.assertEquals(243, calculator.calc(first, second, '^')); - } catch (Exception e) { - e.printStackTrace(); - } - - } -} diff --git a/Calculator.py b/Calculator.py deleted file mode 100644 index 455c6270..00000000 --- a/Calculator.py +++ /dev/null @@ -1,19 +0,0 @@ -import sys - -# Check number of strings passed -if len(sys.argv) != 4: - print("Usage: python Calculator.py operand1 operator operand2") - sys.exit() - -# Determine the operator -if sys.argv[2][0] == '+': - result = eval(sys.argv[1]) + eval(sys.argv[3]) -elif sys.argv[2][0] == '-': - result = eval(sys.argv[1]) - eval(sys.argv[3]) -elif sys.argv[2][0] == '*': - result = eval(sys.argv[1]) * eval(sys.argv[3]) -elif sys.argv[2][0] == '/': - result = eval(sys.argv[1]) / eval(sys.argv[3]) - -# Display result -print(sys.argv[1], sys.argv[2], sys.argv[3], "=", result) diff --git a/CanvasDemo.py b/CanvasDemo.py deleted file mode 100644 index 568a9706..00000000 --- a/CanvasDemo.py +++ /dev/null @@ -1,76 +0,0 @@ -from tkinter import * # Import tkinter - -class CanvasDemo: - def __init__(self): - window = Tk() # Create a window - window.title("Canvas Demo") # Set title - - # Place self.canvas in the window - self.canvas = Canvas(window, width = 200, height = 100, - bg = "white") - self.canvas.pack() - - # Place buttons in frame - frame = Frame(window) - frame.pack() - btRectangle = Button(frame, text = "Rectangle", - command = self.displayRect) - btOval = Button(frame, text = "Oval", - command = self.displayOval) - btArc = Button(frame, text = "Arc", - command = self.displayArc) - btPolygon = Button(frame, text = "Polygon", - command = self.displayPolygon) - btLine = Button(frame, text = "Line", - command = self.displayLine) - btString = Button(frame, text = "String", - command = self.displayString) - btClear = Button(frame, text = "Clear", - command = self.clearCanvas) - btRectangle.grid(row = 1, column = 1) - btOval.grid(row = 1, column = 2) - btArc.grid(row = 1, column = 3) - btPolygon.grid(row = 1, column = 4) - btLine.grid(row = 1, column = 5) - btString.grid(row = 1, column = 6) - btClear.grid(row = 1, column = 7) - - window.mainloop() # Create an event loop - - # Display a rectangle - def displayRect(self): - self.canvas.create_rectangle(10, 10, 190, 90, tags = "rect") - - # Display an oval - def displayOval(self): - self.canvas.create_oval(10, 10, 190, 90, fill = "red", - tags = "oval") - - # Display an arc - def displayArc(self): - self.canvas.create_arc(10, 10, 190, 90, start = 0, - extent = 90, width = 8, fill = "red", tags = "arc") - - # Display a polygon - def displayPolygon(self): - self.canvas.create_polygon(10, 10, 190, 90, 30, 50, - tags = "polygon") - - # Display a line - def displayLine(self): - self.canvas.create_line(10, 10, 190, 90, fill = "red", - tags = "line") - self.canvas.create_line(10, 90, 190, 10, width = 9, - arrow = "last", activefill = "blue", tags = "line") - - # Display a string - def displayString(self): - self.canvas.create_text(60, 40, text = "Hi, I am a string", - font = "Times 10 bold underline", tags = "string") - - # Clear drawings - def clearCanvas(self): - self.canvas.delete("rect", "oval", "arc", "polygon", - "line", "string") - -CanvasDemo() # Create GUI \ No newline at end of file diff --git a/ChangeClockTime.py b/ChangeClockTime.py deleted file mode 100644 index d773624a..00000000 --- a/ChangeClockTime.py +++ /dev/null @@ -1,32 +0,0 @@ -from tkinter import * # Import tkinter -from StillClock import StillClock - -def setNewTime(): - clock.setHour(hour.get()) - clock.setMinute(minute.get()) - clock.setSecond(second.get()) - -window = Tk() # Create a window -window.title("Change Clock Time") # Set title - -clock = StillClock(window) # Create a clock -clock.pack() - -frame = Frame(window) -frame.pack() -Label(frame, text = "Hour: ").pack(side = LEFT) -hour = IntVar() -hour.set(clock.getHour()) -Entry(frame, textvariable = hour, width = 2).pack(side = LEFT) -Label(frame, text = "Minute: ").pack(side = LEFT) -minute = IntVar() -minute.set(clock.getMinute()) -Entry(frame, textvariable = minute, width = 2).pack(side = LEFT) -Label(frame, text = "Second: ").pack(side = LEFT) -second = IntVar() -second.set(clock.getMinute()) -Entry(frame, textvariable = second, width = 2).pack(side = LEFT) -Button(frame, text = "Set New Time", - command = setNewTime).pack(side = LEFT) - -window.mainloop() # Create an event loop \ No newline at end of file diff --git a/ChangeLabelDemo.py b/ChangeLabelDemo.py deleted file mode 100644 index 7d85e995..00000000 --- a/ChangeLabelDemo.py +++ /dev/null @@ -1,47 +0,0 @@ -from tkinter import * # Import tkinter - -class ChangeLabelDemo: - def __init__(self): - window = Tk() # Create a window - window.title("Change Label Demo") # Set a title - - # Add a label to frame1 - frame1 = Frame(window) # Create and add a frame to window - frame1.pack() - self.lbl = Label(frame1, text = "Programming is fun") - self.lbl.pack() - - # Add a label, an entry, a button, and two radio buttons to frame2 - frame2 = Frame(window) # Create and add a frame to window - frame2.pack() - label = Label(frame2, text = "Enter text: ") - self.msg = StringVar() - entry = Entry(frame2, textvariable = self.msg) - btChangeText = Button(frame2, text = "Change Text", - command = self.processButton) - self.v1 = StringVar() - rbRed = Radiobutton(frame2, text = "Red", bg = "red", - variable = self.v1, value = 'R', - command = self.processRadiobutton) - rbYellow = Radiobutton(frame2, text = "Yellow", - bg = "yellow", variable = self.v1, value = 'Y', - command = self.processRadiobutton) - - label.grid(row = 1, column = 1) - entry.grid(row = 1, column = 2) - btChangeText.grid(row = 1, column = 3) - rbRed.grid(row = 1, column = 4) - rbYellow.grid(row = 1, column = 5) - - window.mainloop() # Create an event loop - - def processRadiobutton(self): - if self.v1.get() == 'R': - self.lbl["fg"] = "red" - elif self.v1.get() == 'Y': - self.lbl["fg"] = "yellow" - - def processButton(self): - self.lbl["text"] = self.msg.get() # New text for the label - -ChangeLabelDemo() # Create GUI diff --git a/Chat Project/Client.java b/Chat Project/Client.java deleted file mode 100644 index 950fff35..00000000 --- a/Chat Project/Client.java +++ /dev/null @@ -1,90 +0,0 @@ -import java.net.Socket; - -import java.net.*; -import java.io.*; - -public class Client { - -Socket socket; - -BufferedReader br; -PrintWriter out; - - -public Client(){ - - - try{ - System.out.println("Sending request to server"); - socket=new Socket("127.0.0.1",7777); - System.out.println("Connection done!!"); - - br = new BufferedReader(new InputStreamReader(socket.getInputStream())); - - out = new PrintWriter(socket.getOutputStream()); - - startReading(); - startWriting(); - -} - catch(Exception e){} -} - -public void startReading(){ - Runnable r1=()->{ - System.out.println("reader started..."); - - try{ - while(true){ - - String msg = br.readLine(); - if(msg.equals("EXIT")){System.out.println("Server terminated the chatting!!"); - socket.close(); - break;} - - System.out.println("Server : "+msg); - - - } - }catch(Exception e){System.out.print("----Connection is Closed----");} - }; - - new Thread(r1).start(); - } - - - - public void startWriting(){ - Runnable r2=()->{ - System.out.println("Writer started..."); - - try{ - while(!socket.isClosed()){ - - BufferedReader br1 = new BufferedReader(new InputStreamReader(System.in)); - - String content=br1.readLine(); - out.println(content); - out.flush(); - - if(content.equals("EXIT")){ - socket.close(); - break; - } - - System.out.print("----Connection is Closed----"); - } - }catch(Exception e){}; - }; - - new Thread(r2).start(); - } - - - - public static void main(String[] args){ - - System.out.println("this is client..."); - new Client(); - } -} diff --git a/Chat Project/Server.java b/Chat Project/Server.java deleted file mode 100644 index 59fd32c5..00000000 --- a/Chat Project/Server.java +++ /dev/null @@ -1,97 +0,0 @@ -import java.net.*; - -import javax.sound.sampled.SourceDataLine; - -import java.io.*; - -class Server{ - -ServerSocket server; -Socket socket; - -BufferedReader br; -PrintWriter out; - - public Server(){ - try{server = new ServerSocket(7777); - System.out.println("Server is ready to accept connection"); - System.out.println("waiting..."); - socket=server.accept(); - - br = new BufferedReader(new InputStreamReader(socket.getInputStream())); - - out = new PrintWriter(socket.getOutputStream()); - - startReading(); - startWriting(); - - - - - } catch(Exception e ){};} - - -public void startReading(){ - Runnable r1=()->{ - System.out.println("reader started..."); - - try{ - while(true){ - - String msg = br.readLine(); - if(msg.equals("EXIT")){System.out.println("Client terminated the chatting"); - socket.close(); - break;} - - System.out.println("Client : "+msg); - - - } - } catch(Exception e){System.out.print("----Connection is Closed----");} - }; - - new Thread(r1).start(); -} - - - -public void startWriting(){ - Runnable r2=()->{ - System.out.println("Writer started..."); - - try{ - while(!socket.isClosed()){ - - BufferedReader br1 = new BufferedReader(new InputStreamReader(System.in)); - - String content=br1.readLine(); - - out.println(content); - out.flush(); - - if(content.equals("EXIT")){ - socket.close(); - break; - } - - } - } catch(Exception e){System.out.print("----Connection is Closed----");}; - - }; - - new Thread(r2).start(); -} - - - - - - -public static void main(String[] args){ - System.out.println("This is server..going to start server"); - new Server(); -} - - - -} diff --git a/Chat Project/mclient.java b/Chat Project/mclient.java deleted file mode 100644 index 18a543b0..00000000 --- a/Chat Project/mclient.java +++ /dev/null @@ -1,43 +0,0 @@ -import java.util.*; -import java.net.*; -import java.io.*; - -public class mclient { - - public static void main(String s[]) throws Exception { - Socket s1 = null; - String line = null; - DataInputStream br = null; - DataInputStream is = null; - PrintWriter os = null; - try { - s1 = new Socket("localhost", 9999); - br = new DataInputStream(System.in); - is = new DataInputStream(s1.getInputStream()); - os = new PrintWriter(s1.getOutputStream()); - - } catch (IOException e) { - System.err.print("IO Exception"); - - } - System.out.println("Enter data to server (enter QUIT to end) :-> "+s1.getRemoteSocketAddress().toString()); - String res = null; - try { - line = br.readLine(); - while (line.compareTo("QUIT") != 0) { - os.println(line); - os.flush(); - res = is.readLine(); - System.out.println("server response :-> " + res); - line = br.readLine(); - } - is.close(); - os.close(); - br.close(); - s1.close(); - System.out.println("close connection "); - } catch (IOException e) { - System.out.println("socket read error"); - } - } -} diff --git a/Chat Project/mserver.java b/Chat Project/mserver.java deleted file mode 100644 index 6b6d55e6..00000000 --- a/Chat Project/mserver.java +++ /dev/null @@ -1,63 +0,0 @@ -import java.util.*; -import java.net.*; -import java.io.*; - -public class mserver { - - public static void main(String s[]) throws Exception { - Socket sa = null; - ServerSocket ss2 = null; - System.out.println("Host starts accepting response "); - try { - ss2 = new ServerSocket(9999); - } catch (IOException e) { - System.out.println("server error"); - } - while (true) { - try { - sa = ss2.accept(); - System.out.println("connetion established by"+ ss2.getInetAddress()); - ServerThread st = new ServerThread(sa); - st.start(); - } catch (Exception e) { - System.out.println("connetion error"); - } - } - } -} - -class ServerThread extends Thread { - String line = null; - DataInputStream is = null; - PrintWriter od = null; - Socket s1 = null; - - public ServerThread(Socket s) { - s1 = s; - } -+ - public void run() { - try { - - is = new DataInputStream(s1.getInputStream()); - od = new PrintWriter(s1.getOutputStream()); - - line = is.readLine(); - - while (!line.equals("QUIT")) { - od.println(line); - od.flush(); - - System.out.println("response to client " + line); - line = is.readLine(); - - } - is.close(); - od.close(); - s1.close(); - - } catch (IOException ie) { - System.out.println("socket close error"); - } - } -} \ No newline at end of file diff --git a/CheckSudokuSolution.py b/CheckSudokuSolution.py deleted file mode 100644 index 3f83b10a..00000000 --- a/CheckSudokuSolution.py +++ /dev/null @@ -1,29 +0,0 @@ -# Check whether a solution is valid -def isValid(grid): - for i in range(9): - for j in range(9): - if grid[i][j] < 1 or grid[i][j] > 9 \ - or not isValidAt(i, j, grid): - return False - return True # The fixed cells are valid - -# Check whether grid[i][j] is valid in the grid -def isValidAt(i, j, grid): - # Check whether grid[i][j] is valid at the i's row - for column in range(9): - if column != j and grid[i][column] == grid[i][j]: - return False - - # Check whether grid[i][j] is valid at the j's column - for row in range(9): - if row != i and grid[row][j] == grid[i][j]: - return False - - # Check whether grid[i][j] is valid in the 3 by 3 box - for row in range((i // 3) * 3, (i // 3) * 3 + 3): - for col in range((j // 3) * 3, (j // 3) * 3 + 3): - if row != i and col != j and \ - grid[row][col] == grid[i][j]: - return False - - return True # The current value at grid[i][j] is valid diff --git a/CheckSudokuSolution.txt b/CheckSudokuSolution.txt deleted file mode 100644 index 2b118b43..00000000 --- a/CheckSudokuSolution.txt +++ /dev/null @@ -1,9 +0,0 @@ -9 6 3 1 7 4 2 5 8 -1 7 8 3 2 5 6 4 9 -2 5 4 6 8 9 7 3 1 -8 2 1 4 3 7 5 9 6 -4 9 6 8 5 2 3 1 7 -7 3 5 9 6 1 8 2 4 -5 8 9 7 1 3 4 6 2 -3 1 7 2 4 6 9 8 5 -6 4 2 5 9 8 1 7 3 \ No newline at end of file diff --git a/ChessBoard.py b/ChessBoard.py deleted file mode 100644 index 61987705..00000000 --- a/ChessBoard.py +++ /dev/null @@ -1,44 +0,0 @@ -import turtle - -# Draw chess board borders -turtle.pensize(3) # Set pen thickness to 3 pixels -turtle.penup() # Pull the pen up -turtle.goto(-120, -120) -turtle.pendown() # Pull the pen down -turtle.color("red") - -for i in range(4): - turtle.forward(240) # Draw a line - turtle.left(90) # Turn left 90 degrees - -# Draw chess board inside -turtle.color("black") -for j in range(-120, 90, 60): - for i in range(-120, 120, 60): - turtle.penup() - turtle.goto(i, j) - turtle.pendown() - - # Draw a small rectangle - turtle.begin_fill() - for k in range(4): - turtle.forward(30) # Draw a line - turtle.left(90) # Turn left 90 degrees - turtle.end_fill() - -for j in range(-90, 120, 60): - for i in range(-90, 120, 60): - turtle.penup() - turtle.goto(i, j) - turtle.pendown() - - # Draw a small rectangle - turtle.begin_fill() - for k in range(4): - turtle.forward(30) # Draw a line - turtle.left(90) # Turn left 90 degrees - turtle.end_fill() - -turtle.hideturtle() - -turtle.done() diff --git a/Clue Simulator/AssistantJack.class b/Clue Simulator/AssistantJack.class deleted file mode 100644 index 1ae7ee13..00000000 Binary files a/Clue Simulator/AssistantJack.class and /dev/null differ diff --git a/Clue Simulator/AssistantJack.java b/Clue Simulator/AssistantJack.java deleted file mode 100644 index 71315e25..00000000 --- a/Clue Simulator/AssistantJack.java +++ /dev/null @@ -1,138 +0,0 @@ - -/** - * AssistantJack.java : will be asked various theories by Detective Jill, - * AssistantJack will then refute the answer or will accept the answer. If - * AssistantJack refutes the answer, you will be notified of 1 part of your - * theory that is incorrect (there may be more than one). - * - * @author Nery Chapeton-Lamas (material from Kevin Lewis) - * @version 1.0 - * - */ - -import java.util.ArrayList; -import java.util.Random; - -public class AssistantJack { - - private int timesAsked; - private Theory correctTheory; - - /** - * The default constructor but will not be called from outside. - */ - private AssistantJack() { - this.timesAsked = 0; - this.correctTheory = null; - } - - /** - * The full constructor, specifying which assistant to use (answer set 1, - * answer set 2, or random). Depending on assistant, a different correct - * Theory object is created. - * - * @param answerSet - * 1 is a fixed answer of 1,1,1 and 2 is a fixed answer of 6,10,6 - * any other integer will be randomly assigned - */ - public AssistantJack(int answerSet) { - this(); - - if (answerSet == 1) { - this.correctTheory = new Theory(1, 1, 1); - } else if (answerSet == 2) { - this.correctTheory = new Theory(6, 10, 6); - } else { - Random random = new Random(); - int weapon = random.nextInt(6) + 1; - int location = random.nextInt(10) + 1; - int person = random.nextInt(6) + 1; - this.correctTheory = new Theory(weapon, location, person); - } - } - - /** - * Creates an assistant Jack with a theory that was passed in. - * - * @param theory - * deep copied object stored as correct theory - */ - public AssistantJack(Theory theory) { - this(); - this.correctTheory = new Theory(theory); - } - - /** - * Will report to the user whether their theory is correct. It will return a - * number that needs to be interpreted (see return). Also keeps track of - * times asked by incrementing every time this method is called - * - * @param weapon - * the weapon used 1 - 6 - * @param location - * the location where it was done 1 - 10 - * @param person - * the person who did it 1 - 6 - * @return 0 if all three are correct, 1 if the weapon is incorrect, 2 if - * the location is incorrect and 3 if the person is incorrect. If - * multiple are incorrect it will randomly select one of the - * incorrect parts and return that. - */ - public int checkAnswer(int weapon, int location, int person) { - ArrayList wrongItems = new ArrayList(); - - this.timesAsked++; - - // check each part and add to array list appropriately - if (this.correctTheory.getWeapon() != weapon) { - wrongItems.add(1); - } - - if (this.correctTheory.getLocation() != location) { - wrongItems.add(2); - } - - if (this.correctTheory.getPerson() != person) { - wrongItems.add(3); - } - - // return based on incorrect items, if any, in array list - if (wrongItems.size() == 0) { - return 0; - } else if (wrongItems.size() == 1) { - return wrongItems.get(0); - } else { - Random random = new Random(); - int randomSelected = random.nextInt(wrongItems.size()); - return wrongItems.get(randomSelected); - } - } - - /** - * Pass through (convenient) method that converts the theory to numbers and - * sends it to the overloaded method. - * - * @param theory - * a theory of the murder, weapon and location - * - * @return 0 if all three are correct, 1 if the weapon is incorrect, 2 if - * the location is incorrect and 3 if the person is incorrect. If - * multiple are incorrect it will randomly select one of the - * incorrect parts and return that. - */ - public int checkAnswer(Theory theory) { - return this.checkAnswer(theory.getWeapon(), theory.getLocation(), theory.getPerson()); - } - - /** - * Accessor for times your AssistantJack has been asked to check a theory - * - * @return number of times AssistantJack has checkAnswer() been called - */ - public int getTimesAsked() { - return this.timesAsked; - } - - - -} \ No newline at end of file diff --git a/Clue Simulator/DetectiveJill.class b/Clue Simulator/DetectiveJill.class deleted file mode 100644 index e4a343a9..00000000 Binary files a/Clue Simulator/DetectiveJill.class and /dev/null differ diff --git a/Clue Simulator/DetectiveJill.java b/Clue Simulator/DetectiveJill.java deleted file mode 100644 index 4b5cc608..00000000 --- a/Clue Simulator/DetectiveJill.java +++ /dev/null @@ -1,62 +0,0 @@ - -import java.util.Random; -import java.util.Scanner; - -public class DetectiveJill { - - public static void main() { - // DECLARATION + INITIALIZATION - int answerSet, solution, murder, weapon, location; - Theory answer; - AssistantJack jack; - Scanner keyboard = new Scanner(System.in); - Random random = new Random(); - - // INPUT - System.out.print("Which theory would like you like to test? (1, 2, 3[random]): "); - answerSet = keyboard.nextInt(); - keyboard.close(); - - // PROCESSING - jack = new AssistantJack(answerSet); -//START OUR WEAPON LOCATION AND MURDER AT 1 - int weapont = 1, locationt = 1, murdert = 1, total1 = 0; -//CHECK IF 1,1,1 IS CORRECT - solution = jack.checkAnswer(weapont, locationt, murdert); -//IF NOT CONTINUE WITH WHILE LOOP - while(solution != 0){ - //SWITCH BASED OF WHAT JACK SAYS IS WRONG - switch(solution){ - case 1: - //IF WEAPON IS WRONG - weapont++; - break; - case 2: - //IF LOCATION IS WRONG - locationt++; - break; - case 3: - //IF MURDER IS WRONG - murdert++; - break; - } - //CHECK SOLUTION AND IF WRONG, LOOP CONTINUES - solution = jack.checkAnswer(weapont, locationt, murdert); - } - - answer = new Theory(weapont, locationt, murdert); - - - // OUTPUT - System.out.println("Total Checks = " + jack.getTimesAsked() + ", Solution " + answer); - - if (jack.getTimesAsked() > 20) { - System.out.println("FAILED!! You're a horrible Detective...¯\\_(ツ)_/¯"); - } else { - System.out.println("WOW! You might as well be called Batman"); - - } - - } - -} \ No newline at end of file diff --git a/Clue Simulator/Main.class b/Clue Simulator/Main.class deleted file mode 100644 index df9c189b..00000000 Binary files a/Clue Simulator/Main.class and /dev/null differ diff --git a/Clue Simulator/Main.java b/Clue Simulator/Main.java deleted file mode 100644 index 787afb86..00000000 --- a/Clue Simulator/Main.java +++ /dev/null @@ -1,17 +0,0 @@ -// package edu.miracosta.cs113; -import java.util.Random; - -import java.util.Scanner; - -public class Main -{ - /** - * Driver method for random guessing approach - * - * @param args not used for driver - */ - public static void main(String[] args) { - DetectiveJill.main(); - - } -} diff --git a/Clue Simulator/RandomClue.class b/Clue Simulator/RandomClue.class deleted file mode 100644 index b3229fe7..00000000 Binary files a/Clue Simulator/RandomClue.class and /dev/null differ diff --git a/Clue Simulator/RandomClue.java b/Clue Simulator/RandomClue.java deleted file mode 100644 index cace3e97..00000000 --- a/Clue Simulator/RandomClue.java +++ /dev/null @@ -1,99 +0,0 @@ -/** - * RandomClue.java : Your job is to ask your AssistantJack and get the correct - * answer in <= 20 tries. RandomClue is ONE solution to the problem, - * where a set of random numbers is generated every attempt until all three - * random numbers match the solution from the AssistantJack object. - * - * This is a sample solution, a driver using random number implementation. - * You can use this file as a guide to create your own SEPARATE driver for - * your implementation that can solve it in <= 20 times consistently. - * - * @author Nery Chapeton-Lamas (material from Kevin Lewis) - * @version 1.0 - * - */ - -import java.util.Random; -import java.util.Scanner; - -public class RandomClue { - - /* - * ALGORITHM: - * - * PROMPT "Which theory to test? (1, 2, 3[random]): " - * READ answerSet - * INSTANTIATE jack = new AssistantJack(answerSet) - * DO - * weapon = random int between 1 and 6 - * location = random int between 1 and 10 - * murder = random int between 1 and 6 - * solution = jack.checkAnswer(weapon, location, murder) - * WHILE solution != 0 - * - * OUTPUT "Total checks = " + jack.getTimesAsked() - * IF jack.getTimesAsked() is greater than 20 THEN - * OUTPUT "FAILED" - * ELSE - * OUTPUT "PASSED" - * END IF - */ - - /** - * Driver method for random guessing approach - * - * @param args not used for driver - */ - public static void main() { - // DECLARATION + INITIALIZATION - int answerSet, solution, murder, weapon, location; - Theory answer; - AssistantJack jack; - Scanner keyboard = new Scanner(System.in); - Random random = new Random(); - - // INPUT - System.out.print("Which theory would like you like to test? (1, 2, 3[random]): "); - answerSet = keyboard.nextInt(); - keyboard.close(); - - // PROCESSING - jack = new AssistantJack(answerSet); -//START OUR WEAPON LOCATION AND MURDER AT 1 - int weapont = 1, locationt = 1, murdert = 1, total1 = 0; -//CHECK IF 1,1,1 IS CORRECT - solution = jack.checkAnswer(weapont, locationt, murdert); -//IF NOT CONTINUE WITH WHILE LOOP - while(solution != 0){ - //SWITCH BASED OF WHAT JACK SAYS IS WRONG - switch(solution){ - case 1: - weapont++; - break; - case 2: - locationt++; - break; - case 3: - murdert++; - break; - } - - solution = jack.checkAnswer(weapont, locationt, murdert); - } - - answer = new Theory(weapont, locationt, murdert); - - - // OUTPUT - System.out.println("Total Checks = " + jack.getTimesAsked() + ", Solution " + answer); - - if (jack.getTimesAsked() > 20) { - System.out.println("FAILED!! You're a horrible Detective...¯\\_(ツ)_/¯"); - } else { - System.out.println("WOW! You might as well be called Batman"); - - } - - } - -} \ No newline at end of file diff --git a/Clue Simulator/Theory.class b/Clue Simulator/Theory.class deleted file mode 100644 index efd12928..00000000 Binary files a/Clue Simulator/Theory.class and /dev/null differ diff --git a/Clue Simulator/Theory.java b/Clue Simulator/Theory.java deleted file mode 100644 index eded42b8..00000000 --- a/Clue Simulator/Theory.java +++ /dev/null @@ -1,130 +0,0 @@ -/** - * Theory.java : stores values for weapon, location, and person - * - * @author Nery Chapeton-Lamas (material from Kevin Lewis) - * @version 1.0 - * - */ - -public class Theory { - private int weapon; - private int location; - private int person; - - /** - * Full constructor, specifying each part of theory - * - * @param weapon - * integer representing weapon - * @param location - * integer representing location - * @param person - * integer representing person - * - * @see TheoryItem for values - */ - public Theory(int weapon, int location, int person) { - this.weapon = weapon; - this.location = location; - this.person = person; - } - - /** - * Copy constructor, deep copies Theory object - * - * @param other - * used to get all theory parts and deep copy - */ - public Theory(Theory other) { - this.weapon = other.weapon; - this.location = other.location; - this.person = other.person; - } - - /** - * Accessor for weapon value - * - * @return weapon integer value - */ - public int getWeapon() { - return weapon; - } - - /** - * Mutator for weapon value - * - * @param weapon - * integer value representing weapon - */ - public void setWeapon(int weapon) { - this.weapon = weapon; - } - - /** - * Accessor for location value - * - * @return location integer value - */ - public int getLocation() { - return location; - } - - /** - * Mutator for location value - * - * @param location - * integer value representing location - */ - public void setLocation(int location) { - this.location = location; - } - - /** - * Accessor for person value - * - * @return person integer value - */ - public int getPerson() { - return person; - } - - /** - * Mutator for person value - * - * @param person - * integer value representing person - */ - public void setPerson(int person) { - this.person = person; - } - - /** - * Equals method checks ALL instance variables are equal - * - * @see java.lang.Object#equals(java.lang.Object) - */ - @Override - public boolean equals(Object obj) { - if (obj == null || this.getClass() != obj.getClass()) { - return false; - } - - Theory other = (Theory) obj; - - return (this.weapon != other.weapon || this.person != other.person || this.location != other.location); - - } - - /** - * toString representing objects values - * - * @return formatted string of weapon, person, and location - */ - @Override - public String toString() { - return String.format("Theory is: Weapon = %s (%d), Person = %s (%d), Location = %s (%d)", - TheoryItem.getWeaponName(this.weapon), this.weapon, TheoryItem.getPersonName(this.person), this.person, - TheoryItem.getLocationName(this.location), this.location); - } - -} \ No newline at end of file diff --git a/Clue Simulator/TheoryItem.class b/Clue Simulator/TheoryItem.class deleted file mode 100644 index 28f69c08..00000000 Binary files a/Clue Simulator/TheoryItem.class and /dev/null differ diff --git a/Clue Simulator/TheoryItem.java b/Clue Simulator/TheoryItem.java deleted file mode 100644 index a1a72593..00000000 --- a/Clue Simulator/TheoryItem.java +++ /dev/null @@ -1,283 +0,0 @@ -/** - * TheoryItem.java : Convenient class helps to keep track of different kinds of - * murders, locations, and weapons. Constants can be used as limits (1 - - * constant value), static methods mostly used for error checking or translating - * between Strings and integers - * - * @author Nery Chapeton-Lamas (material from Kevin Lewis) - * @version 1.0 - * - */ - -public final class TheoryItem { - - public static final int TOTAL_MURDERS = 6; - public static final int TOTAL_LOCATIONS = 10; - public static final int TOTAL_WEAPONS = 6; - - /** - * Converts location integer to String: Kitchen (1), Ballroom (2), - * Conservatory (3), Billiard (4), Library (5), Study (6), Hall (7), Lounge - * (8), Dining (9), Cellar (10). - * - * @param location - * integer to convert to String - * @return String version of location number, null if invalid integer - */ - public static String getLocationName(int location) { - String locationName = null; - - switch (location) { - case 1: - locationName = "Kitchen"; - break; - case 2: - locationName = "Ballroom"; - break; - case 3: - locationName = "Conservatory"; - break; - case 4: - locationName = "Billiard"; - break; - case 5: - locationName = "Library"; - break; - case 6: - locationName = "Study"; - break; - case 7: - locationName = "Hall"; - break; - case 8: - locationName = "Lounge"; - break; - case 9: - locationName = "Dining"; - break; - case 10: - locationName = "Cellar"; - break; - } - return locationName; - } - - /** - * Converts location String to integer: Kitchen (1), Ballroom (2), - * Conservatory (3), Billiard (4), Library (5), Study (6), Hall (7), Lounge - * (8), Dining (9), Cellar (10). - * - * @param location - * String to convert to integer - * @return integer version of location String, 0 if invalid String - */ - public static int getLocationNumber(String location) { - int locationNumber = 0; - - switch (location.toLowerCase()) { - case "kitchen": - locationNumber = 1; - break; - case "ballroom": - locationNumber = 2; - break; - case "conservatory": - locationNumber = 3; - break; - case "billiard": - locationNumber = 4; - break; - case "library": - locationNumber = 5; - break; - case "study": - locationNumber = 6; - break; - case "hall": - locationNumber = 7; - break; - case "lounge": - locationNumber = 8; - break; - case "dining": - locationNumber = 9; - break; - case "cellar": - locationNumber = 10; - break; - } - return locationNumber; - } - - /** - * Checks validity of location number - * - * @param location - * integer representing location - * @return true if valid (1-10), false otherwise - */ - public static boolean validateLocationNumber(int location) { - return (location >= 1 && location <= 10); - } - - /** - * Converts person integer to String: Ms. Scarlet (1), Colonial Mustard (2), - * Mrs. White (3), Reverend Green (4), Mrs. Peacock (5), Professor Plum (6) - * - * @param person - * integer to convert to String - * @return String version of person number, null if invalid integer - */ - public static String getPersonName(int person) { - String personString = null; - - switch (person) { - case 1: - personString = "Ms. Scarlet"; - break; - case 2: - personString = "Colonial Mustard"; - break; - case 3: - personString = "Mrs. White"; - break; - case 4: - personString = "Reverend Green"; - break; - case 5: - personString = "Mrs. Peacock"; - break; - case 6: - personString = "Professor Plum"; - break; - } - return personString; - } - - /** - * Converts person String to integer: Ms. Scarlet (1), Colonial Mustard (2), - * Mrs. White (3), Reverend Green (4), Mrs. Peacock (5), Professor Plum (6) - * - * @param person - * String to convert to integer - * @return integer version of person String, 0 if invalid String - * - */ - public static int getPersonNumber(String person) { - int personNumber = 0; - - switch (person.toLowerCase()) { - case "ms. scarlet": - personNumber = 1; - break; - case "colonial mustard": - personNumber = 2; - break; - case "mrs. white": - personNumber = 3; - break; - case "reverend green": - personNumber = 4; - break; - case "mrs. peacock": - personNumber = 5; - break; - case "professor plum": - personNumber = 6; - break; - } - return personNumber; - } - - /** - * Checks validity of person number - * - * @param person - * integer representing person - * @return true if valid (1-6), false otherwise - */ - public static boolean validatePersonNumber(int person) { - return (person >= 1 && person <= 6); - } - - /** - * Converts weapon integer to String: rope (1), wrench (2), candlestick (3), - * revolver (4), knife (5), pipe (6) - * - * @param weapon - * integer to convert to String - * @return String version of weapon number, null if invalid integer - */ - public static String getWeaponName(int weapon) { - String weaponString = null; - - switch (weapon) { - case 1: - weaponString = "rope"; - break; - case 2: - weaponString = "wrench"; - break; - case 3: - weaponString = "candlestick"; - break; - case 4: - weaponString = "revolver"; - break; - case 5: - weaponString = "knife"; - break; - case 6: - weaponString = "pipe"; - break; - - } - return weaponString; - } - - /** - * Converts weapon String to integer: rope (1), wrench (2), candlestick (3), - * revolver (4), knife (5), pipe (6) - * - * @param weapon - * String to convert to integer - * @return integer version of weapon number, 0 if invalid String - * - */ - public static int getWeaponNumber(String weapon) { - int weaponNumber = 0; - - switch (weapon.toLowerCase()) { - case "rope": - weaponNumber = 1; - break; - case "wrench": - weaponNumber = 2; - break; - case "candlestick": - weaponNumber = 3; - break; - case "revolver": - weaponNumber = 4; - break; - case "knife": - weaponNumber = 5; - break; - case "pipe": - weaponNumber = 6; - break; - } - return weaponNumber; - } - - /** - * Checks validity of weapon number - * - * @param weapon - * integer representing weapon - * @return true if valid (1-6), false otherwise - */ - public static boolean validateWeaponNumber(int weapon) { - return (weapon >= 1 && weapon <= 6); - } -} diff --git a/Clue Simulator/pom.xml b/Clue Simulator/pom.xml deleted file mode 100644 index 56deae15..00000000 --- a/Clue Simulator/pom.xml +++ /dev/null @@ -1,53 +0,0 @@ - - 4.0.0 - mygroupid - myartifactid - 0.0-SNAPSHOT - - - com.googlecode.json-simple - json-simple - 1.1.1 - jar - - - org.hamcrest - hamcrest-core - 1.3 - jar - - - junit - junit - 4.12 - jar - - - - - - de.qaware.maven - go-offline-maven-plugin - 1.2.5 - - - - org.apache.maven.surefire - surefire-junit4 - 2.20.1 - - PLUGIN - - - com.querydsl - querydsl-apt - 4.2.1 - jpa - MAIN - - - - - - - \ No newline at end of file diff --git a/Clue Simulator/replit.nix b/Clue Simulator/replit.nix deleted file mode 100644 index 7f7e1291..00000000 --- a/Clue Simulator/replit.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ pkgs }: { - deps = [ - pkgs.graalvm17-ce - pkgs.maven - pkgs.replitPackages.jdt-language-server - pkgs.replitPackages.java-debug - ]; -} \ No newline at end of file diff --git a/Clue Simulator/target/dependency/hamcrest-core-1.3.jar b/Clue Simulator/target/dependency/hamcrest-core-1.3.jar deleted file mode 100644 index 9d5fe16e..00000000 Binary files a/Clue Simulator/target/dependency/hamcrest-core-1.3.jar and /dev/null differ diff --git a/Clue Simulator/target/dependency/json-simple-1.1.1.jar b/Clue Simulator/target/dependency/json-simple-1.1.1.jar deleted file mode 100644 index dfd5856d..00000000 Binary files a/Clue Simulator/target/dependency/json-simple-1.1.1.jar and /dev/null differ diff --git a/Clue Simulator/target/dependency/junit-4.12.jar b/Clue Simulator/target/dependency/junit-4.12.jar deleted file mode 100644 index 3a7fc266..00000000 Binary files a/Clue Simulator/target/dependency/junit-4.12.jar and /dev/null differ diff --git a/ColorShapes.py b/ColorShapes.py deleted file mode 100644 index 7693647a..00000000 --- a/ColorShapes.py +++ /dev/null @@ -1,52 +0,0 @@ -import turtle - -turtle.pensize(3) # Set pen thickness to 3 pixels -turtle.penup() # Pull the pen up -turtle.goto(-200, -50) -turtle.pendown() # Pull the pen down -turtle.begin_fill() # Begin to fill color in a shape -turtle.color("red") -turtle.circle(40, steps = 3) # Draw a triangle -turtle.end_fill() # Fill the shape - -turtle.penup() -turtle.goto(-100, -50) -turtle.pendown() -turtle.begin_fill() # Begin to fill color in a shape -turtle.color("blue") -turtle.circle(40, steps = 4) # Draw a square -turtle.end_fill() # Fill the shape - -turtle.penup() -turtle.goto(0, -50) -turtle.pendown() -turtle.begin_fill() # Begin to fill color in a shape -turtle.color("green") -turtle.circle(40, steps = 5) # Draw a pentagon -turtle.end_fill() # Fill the shape - -turtle.penup() -turtle.goto(100, -50) -turtle.pendown() -turtle.begin_fill() # Begin to fill color in a shape -turtle.color("yellow") -turtle.circle(40, steps = 6) # Draw a hexagon -turtle.end_fill() # Fill the shape - -turtle.penup() -turtle.goto(200, -50) -turtle.pendown() -turtle.begin_fill() # Begin to fill color in a shape -turtle.color("purple") -turtle.circle(40) # Draw a circle -turtle.end_fill() # Fill the shape - -turtle.color("green") -turtle.penup() -turtle.goto(-100, 50) -turtle.pendown() -turtle.write("Cool Colorful Shapes", - font = ("Times", 18, "bold")) -turtle.hideturtle() - -turtle.done() diff --git a/ComputeLoan.py b/ComputeLoan.py deleted file mode 100644 index bb371476..00000000 --- a/ComputeLoan.py +++ /dev/null @@ -1,20 +0,0 @@ -# Enter yearly interest rate -annualInterestRate = eval(input( - "Enter annual interest rate, e.g., 8.25: ")) -monthlyInterestRate = annualInterestRate / 1200 - -# Enter number of years -numberOfYears = eval(input( - "Enter number of years as an integer, e.g., 5: ")) - -# Enter loan amount -loanAmount = eval(input("Enter loan amount, e.g., 120000.95: ")) - -# Calculate payment -monthlyPayment = loanAmount * monthlyInterestRate / (1 - - 1 / (1 + monthlyInterestRate) ** (numberOfYears * 12)) -totalPayment = monthlyPayment * numberOfYears * 12 - -# Display results -print("The monthly payment is", int(monthlyPayment * 100) / 100) -print("The total payment is", int(totalPayment * 100) /100) diff --git a/Convert_JPEG_to_PNG/README.md b/Convert_JPEG_to_PNG/README.md deleted file mode 100644 index 76f0ae26..00000000 --- a/Convert_JPEG_to_PNG/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# CONVERT_JPEG_to_PNG - -This project contains a simply python script to change file extension from .jpeg to .png - -## Requirements -Pillow module - -`pip install pillow` - -## Two methods: - -I accomplished this task in two ways -### Using Terminal -- Add the image in jpeg format with name as 'input' in this folder. -- Run converter_terminal.py script -- output image will be generated in this folder - -### Using GUI -Just run the converter_GUI.py script and pick any jpeg image from any location and then press 'Convert Jpeg to Png' - - diff --git a/Convert_JPEG_to_PNG/converter_GUI.py b/Convert_JPEG_to_PNG/converter_GUI.py deleted file mode 100644 index a6d59613..00000000 --- a/Convert_JPEG_to_PNG/converter_GUI.py +++ /dev/null @@ -1,40 +0,0 @@ -import tkinter as tk -from tkinter import filedialog -from PIL import Image -root = tk.Tk() # Tkinter window initialized -root.title('Converter') # Title of the window -canvas1 = tk.Canvas(root, width=300, height=250, bg='orange', relief='raised') -canvas1.pack() -label1 = tk.Label(root, text='File Converter', bg='lightsteelblue2') # giving a title to the screen -label1.config(font=('helvetica', 20)) -canvas1.create_window(150, 60, window=label1) -im1 = None # variable to store path of image - - -def getJPG(): - '''Function to get image location and open it with pillow''' - global im1 - import_file_path = filedialog.askopenfilename() - im1 = Image.open(import_file_path) - - -font = ('helvetica', 12, 'bold') -bg = 'royalblue' -fg = 'white' -browseButton_JPG = tk.Button(text=" Import JPEG File ", command=getJPG, bg=bg, fg=fg, font=font) # Browse button -canvas1.create_window(150, 130, window=browseButton_JPG) - - -def convertToPNG(): - '''Function to change file extenstion to png and save it to User's prefered location ''' - global im1 - if im1 is None: - tk.messagebox.showerror("Error", "No File selected") - else: - export_file_path = filedialog.asksaveasfilename(defaultextension='.png') - im1.save(export_file_path) - - -saveAsButton_PNG = tk.Button(text='Convert JPEG to PNG', command=convertToPNG, bg=bg, fg=fg, font=font) # Convert button -canvas1.create_window(150, 180, window=saveAsButton_PNG) -root.mainloop() diff --git a/Convert_JPEG_to_PNG/converter_terminal.py b/Convert_JPEG_to_PNG/converter_terminal.py deleted file mode 100644 index 0168b7e1..00000000 --- a/Convert_JPEG_to_PNG/converter_terminal.py +++ /dev/null @@ -1,3 +0,0 @@ -from PIL import Image -im1 = Image.open('input.jpeg') # takes input image from present folder -im1.save('output.png') # output image is generated the folder diff --git a/Convert_JPEG_to_PNG/input.jpeg b/Convert_JPEG_to_PNG/input.jpeg deleted file mode 100644 index a850441a..00000000 Binary files a/Convert_JPEG_to_PNG/input.jpeg and /dev/null differ diff --git a/Convert_JPEG_to_PNG/output.png b/Convert_JPEG_to_PNG/output.png deleted file mode 100644 index 121bacc6..00000000 Binary files a/Convert_JPEG_to_PNG/output.png and /dev/null differ diff --git a/Correct Number Guess Game/Game.class b/Correct Number Guess Game/Game.class deleted file mode 100644 index 6e888ad7..00000000 Binary files a/Correct Number Guess Game/Game.class and /dev/null differ diff --git a/Correct Number Guess Game/Game.java b/Correct Number Guess Game/Game.java deleted file mode 100644 index aea14d24..00000000 --- a/Correct Number Guess Game/Game.java +++ /dev/null @@ -1,55 +0,0 @@ -import java.util.Random; -import java.util.Scanner; -class Game1{ - private int noofGuesses=0; - public int inputno; - private int Rando; - public Game1(){ - Random rand = new Random(); - int upperbound=100; - Rando= rand.nextInt(upperbound); - } - public void TakeUserinput(){ - System.out.print("Guess a no:"); - Scanner a1 = new Scanner(System.in); - inputno= a1.nextInt(); - a1.close(); //scanner closed - } - public void SetnoofGuesses(int Guesses){ - this.noofGuesses=Guesses; - } - public int GetnoofGuesses(){ - return noofGuesses; - } - - boolean NoofCorrectGuesses(){ - noofGuesses++; - if (inputno==Rando){ - System.out.printf("You guesses the no right: "+ "%d",Rando); - System.out.println(""); - System.out.printf("You guesses in " + "%d" +" attempts",noofGuesses); - System.out.println(""); - return true; - } - else if(inputno>Rando){ - System.out.println("No is greater"); - } - else if(inputno - - - - - - - - - - Builds, tests, and runs the project Crypto. - - - diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/.netbeans_automatic_build b/Crypto-Image and Text Encryption Decryption/build/classes/.netbeans_automatic_build deleted file mode 100644 index e69de29b..00000000 diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/.netbeans_update_resources b/Crypto-Image and Text Encryption Decryption/build/classes/.netbeans_update_resources deleted file mode 100644 index e69de29b..00000000 diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/Images/Home UI.jpg b/Crypto-Image and Text Encryption Decryption/build/classes/Images/Home UI.jpg deleted file mode 100644 index feee2d49..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/Images/Home UI.jpg and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/Images/icons8_back_64px.png b/Crypto-Image and Text Encryption Decryption/build/classes/Images/icons8_back_64px.png deleted file mode 100644 index 8208553b..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/Images/icons8_back_64px.png and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/Images/icons8_back_arrow_64px_1.png b/Crypto-Image and Text Encryption Decryption/build/classes/Images/icons8_back_arrow_64px_1.png deleted file mode 100644 index 13914376..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/Images/icons8_back_arrow_64px_1.png and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/Images/icons8_help_40px.png b/Crypto-Image and Text Encryption Decryption/build/classes/Images/icons8_help_40px.png deleted file mode 100644 index 84a3c50e..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/Images/icons8_help_40px.png and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/Images/imgencryptions.jpg b/Crypto-Image and Text Encryption Decryption/build/classes/Images/imgencryptions.jpg deleted file mode 100644 index 34d7671d..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/Images/imgencryptions.jpg and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/Images/textecy.jpg b/Crypto-Image and Text Encryption Decryption/build/classes/Images/textecy.jpg deleted file mode 100644 index 738691ee..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/Images/textecy.jpg and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Crypto.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Crypto.class deleted file mode 100644 index 878224b3..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Crypto.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$1.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$1.class deleted file mode 100644 index 745e5210..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$1.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$2.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$2.class deleted file mode 100644 index 16d0a093..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$2.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$3.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$3.class deleted file mode 100644 index f5614421..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$3.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$4.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$4.class deleted file mode 100644 index 8d73f4e9..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home$4.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home.class deleted file mode 100644 index 3647489d..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home.form b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home.form deleted file mode 100644 index 60ed9741..00000000 --- a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Home.form +++ /dev/null @@ -1,93 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$1.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$1.class deleted file mode 100644 index 9535f68d..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$1.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$2.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$2.class deleted file mode 100644 index e5943c09..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$2.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$3.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$3.class deleted file mode 100644 index 59b83717..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$3.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$4.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$4.class deleted file mode 100644 index 2569477c..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$4.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$5.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$5.class deleted file mode 100644 index 3ad50c1e..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$5.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$6.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$6.class deleted file mode 100644 index 7d028495..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$6.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$7.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$7.class deleted file mode 100644 index 39534a4c..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption$7.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption.class deleted file mode 100644 index aaaa7b48..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption.form b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption.form deleted file mode 100644 index 28d8b236..00000000 --- a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/Textencryption.form +++ /dev/null @@ -1,156 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/f.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/f.class deleted file mode 100644 index c34129f7..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/f.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/icon.png b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/icon.png deleted file mode 100644 index 527e7328..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/icon.png and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$1.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$1.class deleted file mode 100644 index 7190d4bc..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$1.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$2.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$2.class deleted file mode 100644 index b33eeb96..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$2.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$3.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$3.class deleted file mode 100644 index 37f43745..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$3.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$4.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$4.class deleted file mode 100644 index a24a081c..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$4.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$5.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$5.class deleted file mode 100644 index 91f01b48..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption$5.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption.class b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption.class deleted file mode 100644 index 69161ec6..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption.class and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption.form b/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption.form deleted file mode 100644 index 4878dc94..00000000 --- a/Crypto-Image and Text Encryption Decryption/build/classes/crypto/imagencryption.form +++ /dev/null @@ -1,134 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Crypto-Image and Text Encryption Decryption/manifest.mf b/Crypto-Image and Text Encryption Decryption/manifest.mf deleted file mode 100644 index 328e8e5b..00000000 --- a/Crypto-Image and Text Encryption Decryption/manifest.mf +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -X-COMMENT: Main-Class will be added automatically by build - diff --git a/Crypto-Image and Text Encryption Decryption/nbproject/build-impl.xml b/Crypto-Image and Text Encryption Decryption/nbproject/build-impl.xml deleted file mode 100644 index 3b21c9b5..00000000 --- a/Crypto-Image and Text Encryption Decryption/nbproject/build-impl.xml +++ /dev/null @@ -1,1771 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set test.src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Crypto-Image and Text Encryption Decryption/nbproject/genfiles.properties b/Crypto-Image and Text Encryption Decryption/nbproject/genfiles.properties deleted file mode 100644 index 9af22bf8..00000000 --- a/Crypto-Image and Text Encryption Decryption/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=7f90a431 -build.xml.script.CRC32=a2c5abf7 -build.xml.stylesheet.CRC32=f85dc8f2@1.100.0.48 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=7f90a431 -nbproject/build-impl.xml.script.CRC32=31a761c4 -nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.100.0.48 diff --git a/Crypto-Image and Text Encryption Decryption/nbproject/private/private.properties b/Crypto-Image and Text Encryption Decryption/nbproject/private/private.properties deleted file mode 100644 index 38f610ec..00000000 --- a/Crypto-Image and Text Encryption Decryption/nbproject/private/private.properties +++ /dev/null @@ -1,2 +0,0 @@ -compile.on.save=true -user.properties.file=C:\\Users\\hakay\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties diff --git a/Crypto-Image and Text Encryption Decryption/nbproject/private/private.xml b/Crypto-Image and Text Encryption Decryption/nbproject/private/private.xml deleted file mode 100644 index 6807a2ba..00000000 --- a/Crypto-Image and Text Encryption Decryption/nbproject/private/private.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/Crypto-Image and Text Encryption Decryption/nbproject/project.properties b/Crypto-Image and Text Encryption Decryption/nbproject/project.properties deleted file mode 100644 index 9252cc9d..00000000 --- a/Crypto-Image and Text Encryption Decryption/nbproject/project.properties +++ /dev/null @@ -1,87 +0,0 @@ -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processor.options= -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -# Uncomment to specify the preferred debugger connection transport: -#debug.transport=dt_socket -debug.classpath=\ - ${run.classpath} -debug.modulepath=\ - ${run.modulepath} -debug.test.classpath=\ - ${run.test.classpath} -debug.test.modulepath=\ - ${run.test.modulepath} -# Files in build.classes.dir which should be excluded from distribution jar -dist.archive.excludes= -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/Crypto.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${libs.absolutelayout.classpath} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.external.vm=true -javac.modulepath= -javac.processormodulepath= -javac.processorpath=\ - ${javac.classpath} -javac.source=1.8 -javac.target=1.8 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -javac.test.modulepath=\ - ${javac.modulepath} -javac.test.processorpath=\ - ${javac.test.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding=${source.encoding} -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class=crypto.Crypto -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project. -# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. -# To set system properties for unit tests define test-sys-prop.name=value: -run.jvmargs= -run.modulepath=\ - ${javac.modulepath} -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -run.test.modulepath=\ - ${javac.test.modulepath} -source.encoding=UTF-8 -src.dir=src -test.src.dir=test diff --git a/Crypto-Image and Text Encryption Decryption/nbproject/project.xml b/Crypto-Image and Text Encryption Decryption/nbproject/project.xml deleted file mode 100644 index 7af08779..00000000 --- a/Crypto-Image and Text Encryption Decryption/nbproject/project.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - org.netbeans.modules.java.j2seproject - - - Crypto - - - - - - - - - diff --git a/Crypto-Image and Text Encryption Decryption/src/Images/Home UI.jpg b/Crypto-Image and Text Encryption Decryption/src/Images/Home UI.jpg deleted file mode 100644 index feee2d49..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/src/Images/Home UI.jpg and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/src/Images/icons8_back_64px.png b/Crypto-Image and Text Encryption Decryption/src/Images/icons8_back_64px.png deleted file mode 100644 index 8208553b..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/src/Images/icons8_back_64px.png and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/src/Images/icons8_back_arrow_64px_1.png b/Crypto-Image and Text Encryption Decryption/src/Images/icons8_back_arrow_64px_1.png deleted file mode 100644 index 13914376..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/src/Images/icons8_back_arrow_64px_1.png and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/src/Images/icons8_help_40px.png b/Crypto-Image and Text Encryption Decryption/src/Images/icons8_help_40px.png deleted file mode 100644 index 84a3c50e..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/src/Images/icons8_help_40px.png and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/src/Images/imgencryptions.jpg b/Crypto-Image and Text Encryption Decryption/src/Images/imgencryptions.jpg deleted file mode 100644 index 34d7671d..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/src/Images/imgencryptions.jpg and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/src/Images/textecy.jpg b/Crypto-Image and Text Encryption Decryption/src/Images/textecy.jpg deleted file mode 100644 index 738691ee..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/src/Images/textecy.jpg and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/src/crypto/Crypto.java b/Crypto-Image and Text Encryption Decryption/src/crypto/Crypto.java deleted file mode 100644 index e3905f51..00000000 --- a/Crypto-Image and Text Encryption Decryption/src/crypto/Crypto.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ -package crypto; - -/** - * - * @author SP - */ -public class Crypto { - - /** - * @param args the command line arguments - */ - public static void main(String[] args) { - // TODO code application logic here - } - -} diff --git a/Crypto-Image and Text Encryption Decryption/src/crypto/Home.form b/Crypto-Image and Text Encryption Decryption/src/crypto/Home.form deleted file mode 100644 index 60ed9741..00000000 --- a/Crypto-Image and Text Encryption Decryption/src/crypto/Home.form +++ /dev/null @@ -1,93 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Crypto-Image and Text Encryption Decryption/src/crypto/Home.java b/Crypto-Image and Text Encryption Decryption/src/crypto/Home.java deleted file mode 100644 index 38291ddf..00000000 --- a/Crypto-Image and Text Encryption Decryption/src/crypto/Home.java +++ /dev/null @@ -1,138 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ -package crypto; - -import java.awt.Frame; -import java.awt.Image; -import java.awt.Toolkit; -import javax.swing.JOptionPane; - -/** - * - * @author SP - */ -public class Home extends javax.swing.JFrame { - - /** - * Creates new form Home - */ - public Home() { - initComponents(); - Frame f=new Frame(); - setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("icon.png"))); - this.setLocationRelativeTo(null); - } - - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is always - * regenerated by the Form Editor. - */ - @SuppressWarnings("unchecked") - // //GEN-BEGIN:initComponents - private void initComponents() { - - jButton1 = new javax.swing.JButton(); - jButton3 = new javax.swing.JButton(); - jButton2 = new javax.swing.JButton(); - jLabel1 = new javax.swing.JLabel(); - - setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); - setTitle("Crypto"); - setResizable(false); - getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); - - jButton1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N - jButton1.setText("Text Encryption & Decryption"); - jButton1.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton1ActionPerformed(evt); - } - }); - getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 340, 240, 60)); - - jButton3.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N - jButton3.setText("Image Encryption & Decryption"); - jButton3.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton3ActionPerformed(evt); - } - }); - getContentPane().add(jButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 340, 260, 60)); - - jButton2.setBackground(new java.awt.Color(5, 116, 232)); - jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/icons8_help_40px.png"))); // NOI18N - jButton2.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton2ActionPerformed(evt); - } - }); - getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(590, 0, -1, -1)); - - jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/Home UI.jpg"))); // NOI18N - getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1)); - - pack(); - }// //GEN-END:initComponents - - private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed - - new Textencryption().setVisible(true); - - }//GEN-LAST:event_jButton1ActionPerformed - - private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed - new imagencryption().setVisible(true); - }//GEN-LAST:event_jButton3ActionPerformed - - private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed - JOptionPane.showMessageDialog(null, "This project, Crypto (Text Encryption and Decryption Software) is developed using NetBeans.\n This project is written in java language. \n The aim of this system was to create a Graphical User Interface program which can \n help user to Encrypt or Decrypt message or Image."); - }//GEN-LAST:event_jButton2ActionPerformed - - /** - * @param args the command line arguments - */ - public static void main(String args[]) { - /* Set the Nimbus look and feel */ - // - /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. - * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html - */ - try { - for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { - if ("Nimbus".equals(info.getName())) { - javax.swing.UIManager.setLookAndFeel(info.getClassName()); - break; - } - } - } catch (ClassNotFoundException ex) { - java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (InstantiationException ex) { - java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (IllegalAccessException ex) { - java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (javax.swing.UnsupportedLookAndFeelException ex) { - java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } - // - - /* Create and display the form */ - java.awt.EventQueue.invokeLater(new Runnable() { - public void run() { - new Home().setVisible(true); - } - }); - } - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JButton jButton1; - private javax.swing.JButton jButton2; - private javax.swing.JButton jButton3; - private javax.swing.JLabel jLabel1; - // End of variables declaration//GEN-END:variables - - -} diff --git a/Crypto-Image and Text Encryption Decryption/src/crypto/Textencryption.form b/Crypto-Image and Text Encryption Decryption/src/crypto/Textencryption.form deleted file mode 100644 index 28d8b236..00000000 --- a/Crypto-Image and Text Encryption Decryption/src/crypto/Textencryption.form +++ /dev/null @@ -1,156 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/Crypto-Image and Text Encryption Decryption/src/crypto/Textencryption.java b/Crypto-Image and Text Encryption Decryption/src/crypto/Textencryption.java deleted file mode 100644 index 364e68da..00000000 --- a/Crypto-Image and Text Encryption Decryption/src/crypto/Textencryption.java +++ /dev/null @@ -1,234 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ -package crypto; - -import java.awt.Component; -import java.awt.Toolkit; -import java.awt.datatransfer.Clipboard; -import java.awt.datatransfer.StringSelection; -import javax.swing.JOptionPane; - -/** - * - * @author SP - */ -public class Textencryption extends javax.swing.JFrame { - - private Component JFrame; - - /** - * Creates new form Textencryption - */ - public Textencryption() { - initComponents(); - this.setLocationRelativeTo(null); - setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("icon.png"))); - } - - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is always - * regenerated by the Form Editor. - */ - @SuppressWarnings("unchecked") - // //GEN-BEGIN:initComponents - private void initComponents() { - - inp = new javax.swing.JTextArea(); - jScrollPane1 = new javax.swing.JScrollPane(); - jButton1 = new javax.swing.JButton(); - jButton2 = new javax.swing.JButton(); - jButton3 = new javax.swing.JButton(); - jButton4 = new javax.swing.JButton(); - jButton5 = new javax.swing.JButton(); - jButton6 = new javax.swing.JButton(); - jLabel1 = new javax.swing.JLabel(); - - setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); - setTitle("Crypto"); - setResizable(false); - getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); - - inp.setColumns(20); - inp.setRows(5); - getContentPane().add(inp, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 100, 500, 230)); - getContentPane().add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 220, -1, -1)); - - jButton1.setText("Encrypt"); - jButton1.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton1ActionPerformed(evt); - } - }); - getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 360, 110, 40)); - - jButton2.setText("Decrypt"); - jButton2.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton2ActionPerformed(evt); - } - }); - getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 360, 110, 40)); - - jButton3.setText("Clear"); - jButton3.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton3ActionPerformed(evt); - } - }); - getContentPane().add(jButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(320, 360, 110, 40)); - - jButton4.setText("Copy to Clipboard"); - jButton4.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton4ActionPerformed(evt); - } - }); - getContentPane().add(jButton4, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 360, 190, 40)); - - jButton5.setBackground(new java.awt.Color(5, 116, 232)); - jButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/icons8_back_arrow_64px_1.png"))); // NOI18N - jButton5.setOpaque(false); - jButton5.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton5ActionPerformed(evt); - } - }); - getContentPane().add(jButton5, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 70, 70)); - - jButton6.setBackground(new java.awt.Color(5, 116, 232)); - jButton6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/icons8_help_40px.png"))); // NOI18N - jButton6.setOpaque(false); - jButton6.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton6ActionPerformed(evt); - } - }); - getContentPane().add(jButton6, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 70, 70, 60)); - - jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/textecy.jpg"))); // NOI18N - getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1)); - - pack(); - }// //GEN-END:initComponents - - private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed - String s=inp.getText(); - - inp.setText(encryptkey(s)); - Component frame = null; - // TODO add your handling code here: - }//GEN-LAST:event_jButton1ActionPerformed - - private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed - String s=inp.getText(); - - inp.setText(decryptkey(s)); - - Component frame = null; - }//GEN-LAST:event_jButton2ActionPerformed - - private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed - inp.setText(" "); - }//GEN-LAST:event_jButton3ActionPerformed - - private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed - StringSelection stringSelection = new StringSelection (inp.getText()); - Clipboard clpbrd = Toolkit.getDefaultToolkit ().getSystemClipboard (); - clpbrd.setContents (stringSelection, null); - JOptionPane.showMessageDialog(JFrame,"Your Message is copied"); - }//GEN-LAST:event_jButton4ActionPerformed - - private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed - this.toBack(); - - -// TODO add your handling code here: - }//GEN-LAST:event_jButton5ActionPerformed - - private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed - JOptionPane.showMessageDialog(null, "This project, Crypto (Text Encryption and Decryption Software) is developed using NetBeans.\n This project is written in java language. \n The aim of this system was to create a Graphical User Interface program which can \n help user to Encrypt or Decrypt message or Image."); - }//GEN-LAST:event_jButton6ActionPerformed - int count=0; - public static String encryptkey(String s1) { -StringBuffer sb=new StringBuffer(); -for(int i=0;i - /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. - * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html - */ - try { - for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { - if ("Nimbus".equals(info.getName())) { - javax.swing.UIManager.setLookAndFeel(info.getClassName()); - break; - } - } - } catch (ClassNotFoundException ex) { - java.util.logging.Logger.getLogger(Textencryption.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (InstantiationException ex) { - java.util.logging.Logger.getLogger(Textencryption.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (IllegalAccessException ex) { - java.util.logging.Logger.getLogger(Textencryption.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (javax.swing.UnsupportedLookAndFeelException ex) { - java.util.logging.Logger.getLogger(Textencryption.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } - // - - /* Create and display the form */ - java.awt.EventQueue.invokeLater(new Runnable() { - public void run() { - new Textencryption().setVisible(true); - } - }); - } - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JTextArea inp; - private javax.swing.JButton jButton1; - private javax.swing.JButton jButton2; - private javax.swing.JButton jButton3; - private javax.swing.JButton jButton4; - private javax.swing.JButton jButton5; - private javax.swing.JButton jButton6; - private javax.swing.JLabel jLabel1; - private javax.swing.JScrollPane jScrollPane1; - // End of variables declaration//GEN-END:variables -} diff --git a/Crypto-Image and Text Encryption Decryption/src/crypto/f.java b/Crypto-Image and Text Encryption Decryption/src/crypto/f.java deleted file mode 100644 index 8e7eb0f0..00000000 --- a/Crypto-Image and Text Encryption Decryption/src/crypto/f.java +++ /dev/null @@ -1,14 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ -package crypto; - -/** - * - * @author SP - */ -class f { - -} diff --git a/Crypto-Image and Text Encryption Decryption/src/crypto/icon.png b/Crypto-Image and Text Encryption Decryption/src/crypto/icon.png deleted file mode 100644 index 527e7328..00000000 Binary files a/Crypto-Image and Text Encryption Decryption/src/crypto/icon.png and /dev/null differ diff --git a/Crypto-Image and Text Encryption Decryption/src/crypto/imagencryption.form b/Crypto-Image and Text Encryption Decryption/src/crypto/imagencryption.form deleted file mode 100644 index 4878dc94..00000000 --- a/Crypto-Image and Text Encryption Decryption/src/crypto/imagencryption.form +++ /dev/null @@ -1,134 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Crypto-Image and Text Encryption Decryption/src/crypto/imagencryption.java b/Crypto-Image and Text Encryption Decryption/src/crypto/imagencryption.java deleted file mode 100644 index db6b54fe..00000000 --- a/Crypto-Image and Text Encryption Decryption/src/crypto/imagencryption.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ -package crypto; - -import java.awt.Toolkit; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import javax.swing.JFileChooser; -import javax.swing.JOptionPane; - -/** - * - * @author SP - */ - - -public class imagencryption extends javax.swing.JFrame { - - /** - * Creates new form imagencryption - */ - public imagencryption() { - initComponents(); - this.setLocationRelativeTo(null); - setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("icon.png"))); - } - - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is always - * regenerated by the Form Editor. - */ - @SuppressWarnings("unchecked") - // //GEN-BEGIN:initComponents - private void initComponents() { - - inp = new javax.swing.JTextField(); - jButton1 = new javax.swing.JButton(); - jButton2 = new javax.swing.JButton(); - jLabel2 = new javax.swing.JLabel(); - jButton5 = new javax.swing.JButton(); - jButton3 = new javax.swing.JButton(); - jLabel1 = new javax.swing.JLabel(); - - setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); - setTitle("Crypto"); - setResizable(false); - getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); - - inp.setFont(new java.awt.Font("Arial", 0, 36)); // NOI18N - getContentPane().add(inp, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 270, 180, 50)); - - jButton1.setText("Encrypt"); - jButton1.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton1ActionPerformed(evt); - } - }); - getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 370, 160, 50)); - - jButton2.setText("Decrypt"); - jButton2.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton2ActionPerformed(evt); - } - }); - getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 370, 160, 50)); - - jLabel2.setFont(new java.awt.Font("Arial", 0, 36)); // NOI18N - jLabel2.setForeground(new java.awt.Color(255, 255, 255)); - jLabel2.setText("Enter Key"); - getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 260, 160, 60)); - - jButton5.setBackground(new java.awt.Color(5, 116, 232)); - jButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/icons8_back_arrow_64px_1.png"))); // NOI18N - jButton5.setOpaque(false); - jButton5.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton5ActionPerformed(evt); - } - }); - getContentPane().add(jButton5, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 70, 70)); - - jButton3.setBackground(new java.awt.Color(5, 116, 232)); - jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/icons8_help_40px.png"))); // NOI18N - jButton3.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton3ActionPerformed(evt); - } - }); - getContentPane().add(jButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(590, 0, -1, -1)); - - jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/imgencryptions.jpg"))); // NOI18N - getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1)); - - pack(); - }// //GEN-END:initComponents - - private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed - String text=inp.getText(); - int temp=Integer.parseInt(text); - operate(temp); - }//GEN-LAST:event_jButton1ActionPerformed - - private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed - String text=inp.getText(); - int temp=Integer.parseInt(text); - operate(temp); // TODO add your handling code here: - }//GEN-LAST:event_jButton2ActionPerformed - - private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed - this.toBack(); - - // TODO add your handling code here: - }//GEN-LAST:event_jButton5ActionPerformed - - private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed - JOptionPane.showMessageDialog(null, "This project, Crypto (Text Encryption and Decryption Software) is developed using NetBeans.\n This project is written in java language. \n The aim of this system was to create a Graphical User Interface program which can \n help user to Encrypt or Decrypt message or Image."); - }//GEN-LAST:event_jButton3ActionPerformed - - /** - * @param args the command line arguments - */ - - public static void operate(int key) - { - - JFileChooser fileChooser=new JFileChooser(); - fileChooser.showOpenDialog(null); - File file=fileChooser.getSelectedFile(); - //file FileInputStream - try - { - - FileInputStream fis=new FileInputStream(file); - - byte []data=new byte[fis.available()]; - fis.read(data); - int i=0; - for(byte b:data) - { - System.out.println(b); - data[i]=(byte)(b^key); - i++; - } - - FileOutputStream fos=new FileOutputStream(file); - fos.write(data); - fos.close(); - fis.close(); - JOptionPane.showMessageDialog(null, "Done"); - - }catch(Exception e) - { - e.printStackTrace(); - } - } - public static void main(String args[]) { - /* Set the Nimbus look and feel */ - // - /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. - * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html - */ - try { - for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { - if ("Nimbus".equals(info.getName())) { - javax.swing.UIManager.setLookAndFeel(info.getClassName()); - break; - } - } - } catch (ClassNotFoundException ex) { - java.util.logging.Logger.getLogger(imagencryption.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (InstantiationException ex) { - java.util.logging.Logger.getLogger(imagencryption.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (IllegalAccessException ex) { - java.util.logging.Logger.getLogger(imagencryption.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (javax.swing.UnsupportedLookAndFeelException ex) { - java.util.logging.Logger.getLogger(imagencryption.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } - // - - /* Create and display the form */ - java.awt.EventQueue.invokeLater(new Runnable() { - public void run() { - new imagencryption().setVisible(true); - } - }); - } - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JTextField inp; - private javax.swing.JButton jButton1; - private javax.swing.JButton jButton2; - private javax.swing.JButton jButton3; - private javax.swing.JButton jButton5; - private javax.swing.JLabel jLabel1; - private javax.swing.JLabel jLabel2; - // End of variables declaration//GEN-END:variables -} diff --git a/Currency Converter using Java/Converter.java b/Currency Converter using Java/Converter.java deleted file mode 100644 index 13c96e5e..00000000 --- a/Currency Converter using Java/Converter.java +++ /dev/null @@ -1,223 +0,0 @@ -package currencyConverter; - -import java.util.ArrayList; - -import java.util.HashMap; - -public class Currency { - -private String name; - -private String shortName; - -private HashMap exchangeValues = new HashMap(); - -// “Currency” Constructor - -public Currency(String nameValue, String shortNameValue) { - -this.name = nameValue; - -this.shortName = shortNameValue; - -} - -// Getter for name - -public String getName() { - -return this.name; - -} - -// Setter for name - -public void setName(String name) { - -this.name = name; - -} - -// Getter for shortName - -public String getShortName() { - -return this.shortName; - -} - -// Setter for shortName - -public void setShortName(String shortName) { - -this.shortName = shortName; - -} - -// Getter for exchangeValues - -public HashMap getExchangeValues() { - -return this.exchangeValues; - -} - -// Setter for exchangeValues - -public void setExchangeValues(String key, Double value) { - -this.exchangeValues.put(key, value); - -} - -// Set default values for a currency - -public void defaultValues() { - -String currency = this.name; - -switch (currency) { - -case “US Dollar”: - -this.exchangeValues.put(“USD”, 1.00); - -this.exchangeValues.put(“EUR”, 0.93); - -this.exchangeValues.put(“GBP”, 0.66); - -this.exchangeValues.put(“CHF”, 1.01); - -this.exchangeValues.put(“CNY”, 6.36); - -this.exchangeValues.put(“JPY”, 123.54); - -break; - -case “Euro”: - -this.exchangeValues.put(“USD”, 1.073); - -this.exchangeValues.put(“EUR”, 1.00); - -this.exchangeValues.put(“GBP”, 0.71); - -this.exchangeValues.put(“CHF”, 1.08); - -this.exchangeValues.put(“CNY”, 6.83); - -this.exchangeValues.put(“JPY”, 132.57); - -break; - -case “British Pound”: - -this.exchangeValues.put(“USD”, 1.51); - -this.exchangeValues.put(“EUR”, 1.41); - -this.exchangeValues.put(“GBP”, 1.00); - -this.exchangeValues.put(“CHF”, 1.52); - -this.exchangeValues.put(“CNY”, 9.60); - -this.exchangeValues.put(“JPY”, 186.41); - -break; - -case “Swiss Franc”: - -this.exchangeValues.put(“USD”, 0.99); - -this.exchangeValues.put(“EUR”, 0.93); - -this.exchangeValues.put(“GBP”, 0.66); - -this.exchangeValues.put(“CHF”, 1.00); - -this.exchangeValues.put(“CNY”, 6.33); - -this.exchangeValues.put(“JPY”, 122.84); - -break; - -case “Chinese Yuan Renminbi”: - -this.exchangeValues.put(“USD”, 0.16); - -this.exchangeValues.put(“EUR”, 0.15); - -this.exchangeValues.put(“GBP”, 0.11); - -this.exchangeValues.put(“CHF”, 0.16); - -this.exchangeValues.put(“CNY”, 1.00); - -this.exchangeValues.put(“JPY”, 19.41); - -break; - -case “Japanese Yen”: - -this.exchangeValues.put(“USD”, 0.008); - -this.exchangeValues.put(“EUR”, 0.007); - -this.exchangeValues.put(“GBP”, 0.005); - -this.exchangeValues.put(“CHF”, 0.008); - -this.exchangeValues.put(“CNY”, 0.051); - -this.exchangeValues.put(“JPY”, 1.000); - -break; - -} - -} - -// Initialize currencies - -public static ArrayList init() { - -ArrayList currencies = new ArrayList(); - -currencies.add( new Currency(“US Dollar”, “USD”) ); - -currencies.add( new Currency(“Euro”, “EUR”) ); - -currencies.add( new Currency(“British Pound”, “GBP”) ); - -currencies.add( new Currency(“Swiss Franc”, “CHF”) ); - -currencies.add( new Currency(“Chinese Yuan Renminbi”, “CNY”) ); - -currencies.add( new Currency(“Japanese Yen”, “JPY”) ); - -for (Integer i =0; i < currencies.size(); i++) { - -currencies.get(i).defaultValues(); - -} - -return currencies; - -} - -// Convert a currency to another - -public static Double convert(Double amount, Double exchangeValue) { - -Double price; - -price = amount * exchangeValue; - -price = Math.round(price * 100d) / 100d; - -return price; - -} - -} diff --git a/Currency Converter.java b/Currency Converter.java deleted file mode 100644 index 1a43e2fa..00000000 --- a/Currency Converter.java +++ /dev/null @@ -1,132 +0,0 @@ -// Java program to convert from -// rupee to the dollar and vice-versa -// using Java Swing - -import javax.swing.*; -import java.awt.*; -import java.awt.event.*; -public class GFG { - - // Function to convert from rupee - // to the dollar and vice-versa - // using Java Swing - public static void converter() - { - - // Creating a new frame using JFrame - JFrame f = new JFrame("CONVERTER"); - - // Creating two labels - JLabel l1, l2; - - // Creating two text fields. - // One for rupee and one for - // the dollar - JTextField t1, t2; - - // Creating three buttons - JButton b1, b2, b3; - - // Naming the labels and setting - // the bounds for the labels - l1 = new JLabel("Rupees:"); - l1.setBounds(20, 40, 60, 30); - l2 = new JLabel("Dollars:"); - l2.setBounds(170, 40, 60, 30); - - // Initializing the text fields with - // 0 by default and setting the - // bounds for the text fields - t1 = new JTextField("0"); - t1.setBounds(80, 40, 50, 30); - t2 = new JTextField("0"); - t2.setBounds(240, 40, 50, 30); - - // Creating a button for INR, - // one button for the dollar - // and one button to close - // and setting the bounds - b1 = new JButton("INR"); - b1.setBounds(50, 80, 60, 15); - b2 = new JButton("Dollar"); - b2.setBounds(190, 80, 60, 15); - b3 = new JButton("close"); - b3.setBounds(150, 150, 60, 30); - - // Adding action listener - b1.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) - { - // Converting to double - double d - = Double.parseDouble(t1.getText()); - - // Converting rupees to dollars - double d1 = (d / 65.25); - - // Getting the string value of the - // calculated value - String str1 = String.valueOf(d1); - - // Placing it in the text box - t2.setText(str1); - } - }); - - // Adding action listener - b2.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) - { - // Converting to double - double d2 - = Double.parseDouble(t2.getText()); - - // converting Dollars to rupees - double d3 = (d2 * 65.25); - - // Getting the string value of the - // calculated value - String str2 = String.valueOf(d3); - - // Placing it in the text box - t1.setText(str2); - } - }); - - // Action listener to close the form - b3.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) - { - f.dispose(); - } - }); - - // Default method for closing the frame - f.addWindowListener(new WindowAdapter() { - public void windowClosing(WindowEvent e) - { - System.exit(0); - } - }); - - // Adding the created objects - // to the form - f.add(l1); - f.add(t1); - f.add(l2); - f.add(t2); - f.add(b1); - f.add(b2); - f.add(b3); - - f.setLayout(null); - f.setSize(400, 300); - f.setVisible(true); - } - - // Driver code - public static void main(String args[]) - { - converter(); - } -} diff --git a/Currency Converter/CurrencyConverter.java b/Currency Converter/CurrencyConverter.java deleted file mode 100644 index ae187bcd..00000000 --- a/Currency Converter/CurrencyConverter.java +++ /dev/null @@ -1,226 +0,0 @@ -package com.exchange; - -import java.io.*; - -import java.net.*; - -import java.util.*; - -import javax.servlet.*; - -import javax.servlet.http.*; - -import java.io.InputStream; - -import java.net.*; - -import com.google.gson.*; - - -classRecv - -{ - -private String lhs; - -private String rhs; - -private String error; - -private String icc; - -public Recv( - -{ - -} - -public String getLhs() - -{ - -return lhs; - -} - -public String getRhs() - -{ - -return rhs; - -} - -} - -public classConvertextendsHttpServlet { - -/** - -* Processes requests for both HTTP GET and POST methods. - -* @param request servlet request - -* @param response servlet response - -* @throws ServletException if a servlet-specific error occurs - -* @throws IOException if an I/O error occurs - -*/ - -protected void processRequest(HttpServletRequest req, HttpServletResponse resp) - -throws ServletException, IOException { - -String query = ""; - -String amount = ""; - -String curTo = ""; - -String curFrom = ""; - -String submit = ""; - -String res = ""; - -HttpSession session; - -resp.setContentType("text/html;charset=UTF-8"); - -PrintWriter out = resp.getWriter(); - -/*Read request parameters*/ - -amount = req.getParameter("amount"); - -curTo = req.getParameter("to"); - -curFrom = req.getParameter("from"); - -/*Open a connection to google and read the result*/ - -try { - -query = "http://www.google.com/ig/calculator?hl=en&q=" + amount + curFrom + "=?" + curTo; - -URL url = new URL(query); - -InputStreamReader stream = new InputStreamReader(url.openStream()); - -BufferedReader in = new BufferedReader(stream); - -String str = ""; - -String temp = ""; - -while ((temp = in.readLine()) != null) { - -str = str + temp; - -} - -/*Parse the result which is in json format*/ - -Gson gson = new Gson(); - -Recv st = gson.fromJson(str, Recv.class); - -String rhs = st.getRhs(); - -rhs = rhs.replaceAll("�", ""); - -/*we do the check in order to print the additional word(millions,billions etc)*/ - -StringTokenizer strto = new StringTokenizer(rhs); - -String nextToken; - -out.write(strto.nextToken()); - -nextToken = strto.nextToken(); - -if( nextToken.equals("million") || nextToken.equals("billion") || nextToken.equals("trillion")) - -{ - -out.println(" "+nextToken); - -} - -} catch (NumberFormatException e) { - -out.println("The given amount is not a valid number"); - -} - -} - -// - -/** - -* Handles the HTTP GET method. - -* @param request servlet request - -* @param response servlet response - -* @throws ServletException if a servlet-specific error occurs - -* @throws IOException if an I/O error occurs - -*/ - -@Override - -protected void doGet(HttpServletRequest request, HttpServletResponse response) - -throws ServletException, IOException { - -processRequest(request, response); - -} - -/** - -* Handles the HTTP POST method. - -* @param request servlet request - -* @param response servlet response - -* @throws ServletException if a servlet-specific error occurs - -* @throws IOException if an I/O error occurs - -*/ - -@Override - -protected void doPost(HttpServletRequest request, HttpServletResponse response) - -throws ServletException, IOException { - -processRequest(request, response); - -} - -/** - -* Returns a short description of the servlet. - -* @return a String containing servlet description - -*/ - -@Override - -public String getServletInfo() { - -return "Short description"; - -} - -} \ No newline at end of file diff --git a/Currency Converter/currency_converter.java b/Currency Converter/currency_converter.java deleted file mode 100644 index cd1ea9e5..00000000 --- a/Currency Converter/currency_converter.java +++ /dev/null @@ -1,241 +0,0 @@ -/* - -* To change this template, choose Tools | Templates - -* and open the template in the editor. - -*/ - -package com.exchange; - -import java.io.*; - -import java.net.*; - -import java.util.*; - -import javax.servlet.*; - -import javax.servlet.http.*; - -import java.io.InputStream; - -import java.net.*; - -import com.google.gson.*; - -/** - -* - -* @author pakallis - -*/ - -classRecv - -{ - -private String lhs; - -private String rhs; - -private String error; - -private String icc; - -public Recv( - -{ - -} - -public String getLhs() - -{ - -return lhs; - -} - -public String getRhs() - -{ - -return rhs; - -} - -} - -public classConvertextendsHttpServlet { - -/** - -* Processes requests for both HTTP GET and POST methods. - -* @param request servlet request - -* @param response servlet response - -* @throws ServletException if a servlet-specific error occurs - -* @throws IOException if an I/O error occurs - -*/ - -protected void processRequest(HttpServletRequest req, HttpServletResponse resp) - -throws ServletException, IOException { - -String query = ""; - -String amount = ""; - -String curTo = ""; - -String curFrom = ""; - -String submit = ""; - -String res = ""; - -HttpSession session; - -resp.setContentType("text/html;charset=UTF-8"); - -PrintWriter out = resp.getWriter(); - -/*Read request parameters*/ - -amount = req.getParameter("amount"); - -curTo = req.getParameter("to"); - -curFrom = req.getParameter("from"); - -/*Open a connection to google and read the result*/ - -try { - -query = "http://www.google.com/ig/calculator?hl=en&q=" + amount + curFrom + "=?" + curTo; - -URL url = new URL(query); - -InputStreamReader stream = new InputStreamReader(url.openStream()); - -BufferedReader in = new BufferedReader(stream); - -String str = ""; - -String temp = ""; - -while ((temp = in.readLine()) != null) { - -str = str + temp; - -} - -/*Parse the result which is in json format*/ - -Gson gson = new Gson(); - -Recv st = gson.fromJson(str, Recv.class); - -String rhs = st.getRhs(); - -rhs = rhs.replaceAll("�", ""); - -/*we do the check in order to print the additional word(millions,billions etc)*/ - -StringTokenizer strto = new StringTokenizer(rhs); - -String nextToken; - -out.write(strto.nextToken()); - -nextToken = strto.nextToken(); - -if( nextToken.equals("million") || nextToken.equals("billion") || nextToken.equals("trillion")) - -{ - -out.println(" "+nextToken); - -} - -} catch (NumberFormatException e) { - -out.println("The given amount is not a valid number"); - -} - -} - -// - -/** - -* Handles the HTTP GET method. - -* @param request servlet request - -* @param response servlet response - -* @throws ServletException if a servlet-specific error occurs - -* @throws IOException if an I/O error occurs - -*/ - -@Override - -protected void doGet(HttpServletRequest request, HttpServletResponse response) - -throws ServletException, IOException { - -processRequest(request, response); - -} - -/** - -* Handles the HTTP POST method. - -* @param request servlet request - -* @param response servlet response - -* @throws ServletException if a servlet-specific error occurs - -* @throws IOException if an I/O error occurs - -*/ - -@Override - -protected void doPost(HttpServletRequest request, HttpServletResponse response) - -throws ServletException, IOException { - -processRequest(request, response); - -} - -/** - -* Returns a short description of the servlet. - -* @return a String containing servlet description - -*/ - -@Override - -public String getServletInfo() { - -return "Short description"; - -}// - -} diff --git a/Department-Wise Salary Calculation/App.json b/Department-Wise Salary Calculation/App.json deleted file mode 100644 index e14c3c1e..00000000 --- a/Department-Wise Salary Calculation/App.json +++ /dev/null @@ -1 +0,0 @@ -{"Department 4":64400,"Department 2":111400,"Department 3":61000,"Department 1":110000} \ No newline at end of file diff --git a/Department-Wise Salary Calculation/assessment.xml b/Department-Wise Salary Calculation/assessment.xml deleted file mode 100644 index 45dfd679..00000000 --- a/Department-Wise Salary Calculation/assessment.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Department-Wise Salary Calculation/pom.xml b/Department-Wise Salary Calculation/pom.xml deleted file mode 100644 index cb0be32a..00000000 --- a/Department-Wise Salary Calculation/pom.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - 4.0.0 - - org.example - assessment - 1.0-SNAPSHOT - - - - com.google.code.gson - gson - 2.2.4 - - - - - 16 - 16 - - - \ No newline at end of file diff --git a/Department-Wise Salary Calculation/src/main/java/assessment/Department_salary.java b/Department-Wise Salary Calculation/src/main/java/assessment/Department_salary.java deleted file mode 100644 index b4a5d8d0..00000000 --- a/Department-Wise Salary Calculation/src/main/java/assessment/Department_salary.java +++ /dev/null @@ -1,2 +0,0 @@ -package assessment;public class Department_salary { -} diff --git a/Department-Wise Salary Calculation/src/main/java/assessment/salary.java b/Department-Wise Salary Calculation/src/main/java/assessment/salary.java deleted file mode 100644 index ff499cf1..00000000 --- a/Department-Wise Salary Calculation/src/main/java/assessment/salary.java +++ /dev/null @@ -1,71 +0,0 @@ -package assessment; -import java.io.FileWriter; -import java.io.IOException; -import java.util.HashMap; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.parsers.ParserConfigurationException; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; -import org.xml.sax.SAXException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; - -public class salary { - public static void main( String [] args) throws Exception - { - DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); - HashMap map=new HashMap(); - String jsonString; - FileWriter myWriter = new FileWriter("App.json"); - - try { - DocumentBuilder builder = factory.newDocumentBuilder(); - Document doc = builder.parse("assessment.xml"); - NodeList departmentList =doc.getElementsByTagName("Department"); - String dep,s; - int sal,depsal=0; - for(int k=0; k -![Screenshot of the Output](Screenshot.png) - -## Working -The script first lists all the files in the directory. It takes MD5 hash of each file, when hash of 2 files become same it deletes the file. - -## Author Name -[Anandha Krishnan Aji](https://github.com/anandhakrishnanaji) diff --git a/Duplicate files remover/Screenshot.png b/Duplicate files remover/Screenshot.png deleted file mode 100644 index c69aefaa..00000000 Binary files a/Duplicate files remover/Screenshot.png and /dev/null differ diff --git a/Duplicate files remover/duplicatefileremover.py b/Duplicate files remover/duplicatefileremover.py deleted file mode 100644 index 7dd9dcd1..00000000 --- a/Duplicate files remover/duplicatefileremover.py +++ /dev/null @@ -1,40 +0,0 @@ -import hashlib -import os - -# Returns the hash string of the given file name - - -def hashFile(filename): - # For large files, if we read it all together it can lead to memory overflow, So we take a blocksize to read at a time - BLOCKSIZE = 65536 - hasher = hashlib.md5() - with open(filename, 'rb') as file: - # Reads the particular blocksize from file - buf = file.read(BLOCKSIZE) - while(len(buf) > 0): - hasher.update(buf) - buf = file.read(BLOCKSIZE) - return hasher.hexdigest() - - -if __name__ == "__main__": - # Dictionary to store the hash and filename - hashMap = {} - - # List to store deleted files - deletedFiles = [] - filelist = [f for f in os.listdir() if os.path.isfile(f)] - for f in filelist: - key = hashFile(f) - # If key already exists, it deletes the file - if key in hashMap.keys(): - deletedFiles.append(f) - os.remove(f) - else: - hashMap[key] = f - if len(deletedFiles) != 0: - print('Deleted Files') - for i in deletedFiles: - print(i) - else: - print('No duplicate files found') diff --git a/E-Health Care Management/E-Health Care Management/Ehospital.class b/E-Health Care Management/E-Health Care Management/Ehospital.class deleted file mode 100644 index cec84542..00000000 Binary files a/E-Health Care Management/E-Health Care Management/Ehospital.class and /dev/null differ diff --git a/E-Health Care Management/E-Health Care Management/Ehospital.java b/E-Health Care Management/E-Health Care Management/Ehospital.java deleted file mode 100644 index 55f0f20b..00000000 --- a/E-Health Care Management/E-Health Care Management/Ehospital.java +++ /dev/null @@ -1,379 +0,0 @@ -import java.util.*; -import java.lang.String; -import java.io.*; -import java.time.format.DateTimeFormatter; -import java.time.LocalDateTime; - -class Info -{ -Info() -{ -System.out.print("\t\t\t\t\t ___________________________________________________________________________________________\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| WELCOME TO E-HEALTH CARE MANAGEMENT SYSTEM |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| -Brought To You by |\n"); -System.out.print("\t\t\t\t\t| Md Fahad,Omer Mohiuddin and Yaseen Hussain |\n"); -System.out.print("\t\t\t\t\t|___________________________________________________________________________________________|\n"); -} -//Declaring variales to be used -Scanner scan=new Scanner(System.in); -String name; -String address; -long contact; -int age; -String bg; -String sex; -String disease; -long id; -String dadm; -//To take a pause -private void pressAnyKeyToContinue() - { - System.out.println("Press Enter key to continue..."); - try - { - System.in.read(); - } - catch(Exception e) - { - System.out.println("Press 'Enter' key to continue!"); - } - } - //Taking multiple words -String readString() -{ - Scanner scanner = new Scanner(System.in); - return scanner.nextLine(); -} -//Log in Module -void login() -{ - int a; - String pass; - System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); - System.out.print("\n\t\t\t\t\t\t\t\tE-HEALTH CARE MANAGEMENT SYSTEM \n"); - System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); - System.out.println("\n\n\t\t\t\t\t\t\t\t------------------------------"); - System.out.print("\n\t\t\t\t\t\t\t\t\t LOGIN \n"); - System.out.print("\t\t\t\t\t\t\t\t------------------------------\n\n"); - System.out.print("\t\t\t\t\t\t\t\tEnter the Password: "); - pass=scan.next(); - if(pass.equals("deccan")) - { - System.out.print("\n\n\t\t\t\t\t\t\t\tAccess Granted!\n"); - pressAnyKeyToContinue(); - } - else - { - System.out.print( "\n\n\t\t\t\t\t\t\t\tAccess Aborted...\n\t\t\t\t\t\t\t\t1.Try Again\n\n\t\t\t\t\t\t\t\t2.Exit"); - System.out.print("\n\n\t\t\t\t\t\t\tEnter the option: "); - try{ - a=scan.nextInt(); - if(a==1) - login(); - else if(a==2) - System.exit(0); - else - { - System.out.print("\n\n\t\t\t\t\t\tInvalid Choice\n"); - } - } - catch(InputMismatchException e){ - System.out.println("\n\n\t\t\t\t\t\t\t*Enter the correct option!*\n\n"); - login(); - } - } -} -//To get Date - public void getCurrentTimeUsingDate() - { - DateTimeFormatter dtf = DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm:ss"); - LocalDateTime now = LocalDateTime.now(); - dadm=dtf.format(now); - - } - -void menu() -{ -char k; -//giving option to the user for their choice -System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); -System.out.print("\n\n\t\t\t\t\t\t\t\t E-HEALTH CARE MANAGEMENT SYSTEM \n\n"); -System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); -System.out.print("\n\n\t\t\t\t\t\tPlease, Choose from the following Options: \n\n"); -System.out.print("\t\t\t\t\t\t _________________________________________________________________ \n"); -System.out.print("\t\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t\t| 1 >> Add New Patient Record |\n"); -System.out.print("\t\t\t\t\t\t| 2 >> Add Diagnosis Information |\n"); -System.out.print("\t\t\t\t\t\t| 3 >> History of the Patient |\n"); -System.out.print("\t\t\t\t\t\t| 4 >> Bill of the patient |\n"); -System.out.print("\t\t\t\t\t\t| 5 >> Help |\n"); -System.out.print("\t\t\t\t\t\t| 6 >> Exit |\n"); -System.out.print("\t\t\t\t\t\t|_________________________________________________________________|\n\n"); -System.out.print("\t\t\t\t\t\tEnter your choice: "); -k=scan.next().charAt(0); -//if inputed choice is other than given choice -switch(k) -{ -case '1': patient(); -break; -case '2': diagnos(); -break; -case '3': history(); -break; -case '4': bill(); -break; -case '5': info(); -break; -case '6': exit(); -break; -default: System.out.print("\n\n\t\t\t\t\t\tInvalid Choice\n"); - System.out.print("\t\t\t\t\t\tTry again...........\n\n"); - menu(); -} -menu(); -} -void patient() -{ -System.out.print("Enter the patient's file name: "); - -String fileName =scan.next(); -getCurrentTimeUsingDate(); - - try { - // Assume default encoding. - FileWriter fileWriter = new FileWriter(fileName+".txt"); - - // Always wrap FileWriter in BufferedWriter. - BufferedWriter bufferedWriter = new BufferedWriter(fileWriter); - - // Note that write() does not automatically - // append a newline character. - System.out.print("\n********************************************************************\n"); - bufferedWriter.write("Date of admission: "+dadm); - bufferedWriter.newLine(); - System.out.print("\nName : ");name=readString();bufferedWriter.write("Name : "+name); - bufferedWriter.newLine(); - System.out.print("\nAddress : ");address=readString();bufferedWriter.write("Address : "+address); - bufferedWriter.newLine(); - System.out.print("\nContact Number : ");contact=scan.nextLong();bufferedWriter.write("Contact Number : "+contact); - bufferedWriter.newLine(); - System.out.print("\nAge : ");age=scan.nextInt();bufferedWriter.write("Age : "+age); - bufferedWriter.newLine(); - System.out.print("\nSex : ");sex=scan.next();bufferedWriter.write("Sex : "+sex); - bufferedWriter.newLine(); - System.out.print("\nBlood Group : ");bg=scan.next();bufferedWriter.write("Blood Group : "+bg); - bufferedWriter.newLine(); - System.out.print("\nAny Major disease suffered earlier : ");disease=readString();bufferedWriter.write("Any Major disease suffered earlier : "+disease); - bufferedWriter.newLine(); - System.out.print("\nPatient ID : ");id=scan.nextLong();bufferedWriter.write("Patient ID : "+id); - bufferedWriter.newLine(); - System.out.print("\n********************************************************************\n"); - bufferedWriter.write("\n********************************************************************\n\n"); - bufferedWriter.newLine();System.out.print("\nInformation Saved Successfully\n"); - - // Always close files. - bufferedWriter.close(); - } - catch(IOException ex) - { - System.out.println("Error writing to file '"+ fileName +"'"); - } - pressAnyKeyToContinue(); -} -void diagnos() -{ - String symptom; - String diagnosis; - String medicine; - String addmission; - String ward; - String doctor; - getCurrentTimeUsingDate(); - System.out.print("\n\nEnter the patient's file name to be opened : "); - String fileName=scan.next(); - // This will reference one line at a time - String line = null; - try { - // FileReader reads text files in the default encoding. - FileReader fileReader = new FileReader(fileName+".txt"); - - // Always wrap FileReader in BufferedReader. - BufferedReader bufferedReader = new BufferedReader(fileReader); - System.out.println("\n\n\n\n\t\t\t\t........................................ Information about '"+fileName+"' ........................................\n\n\n\n"); - while((line = bufferedReader.readLine()) != null) - { - System.out.println(line); - } - - // Always close files. - bufferedReader.close(); - //Appending data in file - PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(fileName+".txt", true))); - System.out.print("Adding more information in patient's file................on : "+dadm); - out.println("Description of the day:"+dadm); - System.out.print("\nDoctor appointed:");doctor=readString();out.println("Doctor appointed: "+doctor); - System.out.print("\nSymptoms : ");symptom=readString();out.println("Symptoms : "+symptom); - System.out.print("\nDiagnosis : "); diagnosis=readString();out.println("Diagnosis : "+diagnosis); - System.out.print("\nMedicines : ");medicine=readString(); out.println("Medicines : "+medicine); - System.out.print("\nAddmission Required? : "); - addmission=readString();out.println("Addmission Required? : "+addmission); - if(addmission.equals("Yes")||addmission.equals("Y")) - { - System.out.print("\nType of ward : ");ward=readString(); out.println("Type of ward : "+ward); - out.println("\n*************************************************************************\n"); - System.out.print(ward+" ward is alloted Successfully\n"); - } - else - {out.println("*************************************************************************\n");} - out.close(); - pressAnyKeyToContinue(); - } - catch(FileNotFoundException ex) { - System.out.println( - "Unable to open file '" + fileName + "'"); - } - catch (IOException e) { - System.out.println("Error writing or Reading to file '"+ fileName +"'"); - } -} - -void history() - { - System.out.print("\n\nEnter the patient's file name to be opened : "); - String fileName=scan.next(); - // This will reference one line at a time - String line = null; - try { - // FileReader reads text files in the default encoding. - FileReader fileReader = new FileReader(fileName+".txt"); - - // Always wrap FileReader in BufferedReader. - BufferedReader bufferedReader = new BufferedReader(fileReader); - System.out.print("\n\n\n\n\t\t\t\t........................................ Full Medical History of '"+fileName+"' ........................................\n\n\n\n"); - while((line = bufferedReader.readLine()) != null) - { - System.out.println(line); - } - pressAnyKeyToContinue(); - // Always close files. - bufferedReader.close(); - } - catch(FileNotFoundException ex) { - System.out.println( - "Unable to open file '" + fileName + "'"); - } - catch(IOException ex) { - System.out.println( - "Error reading file '" + fileName + "'"); - } - } -void bill() -{ - getCurrentTimeUsingDate(); - int days; - double wcharge; - double doc; - double ser; -System.out.println("\t\t\t\t\t\t _________________________________________________________________ "); - System.out.print("\n\n\t\t\t\t\t\t\t\t E-HEALTH CARE MANAGEMENT SYSTEM \n\n"); -System.out.println("\t\t\t\t\t\t _________________________________________________________________ "); - System.out.print("Enter the patient's file name to get the Bill: "); - String fileName=scan.next(); - // This will reference one line at a time - String line = null; - try { - // FileReader reads text files in the default encoding. - FileReader fileReader = new FileReader(fileName+".txt"); - PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(fileName+".txt", true))); - - // Always wrap FileReader in BufferedReader. - BufferedReader bufferedReader = new BufferedReader(fileReader); - System.out.print("Date: "+dadm); - System.out.println("\n\n\n\n\t\t\t\tDetails of the patient:\n\n\n\n"); - while((line = bufferedReader.readLine()) != null) - { - System.out.println(line); - } - System.out.print("\t\t\t\t\t\t _________________________________________________________________ "); - System.out.println("\n\t\t\t\t\t\t\t\t\tBill of the patient:"); - System.out.print("\t\t\t\t\t\t _________________________________________________________________ \n\n"); - System.out.print("\t\t\t\t\t\tNo.of days patient stayed:");days=scan.nextInt(); - System.out.print("\t\t\t\t\t\tWard charges/day:");wcharge=scan.nextDouble(); - System.out.print("\n\t\t\t\t\t\tTotal ward charges:"+(wcharge*days)); - System.out.print("\n\t\t\t\t\t\tDoctor's fee:");doc=scan.nextDouble(); - System.out.print("\n\t\t\t\t\t\tService charges:");ser=scan.nextDouble(); - System.out.print("\n\t\t\t\t\t\tTOTAL AMOUNT:"+((wcharge*days)+doc+ser)); - out.println("Total Bill:"+((wcharge*days)+doc+ser)); - System.out.print("\n\t\t\t\t\t\t _________________________________________________________________ \n"); - // Always close files. - out.close(); - bufferedReader.close(); - } - catch(FileNotFoundException ex) { - System.out.println( - "Unable to open file '" + fileName + "'"); - } - catch(IOException ex) { - System.out.println( - "Error reading file '" + fileName + "'"); - } - pressAnyKeyToContinue(); -} -void exit() -{ -System.out.print("\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\n"); -System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| THANK YOU FOR USING |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| E-HEALTH CARE MANAGEMENT SYSTEM |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| -Brought To You by Fahad,Omer and Yaseen |\n"); -System.out.print("\t\t\t\t\t|_______________________________________________________________________________________|\n"); -System.out.print("\t\t\t\t\t\n\n\n\n\t\t\t\t\t"); -System.exit(0); -} -void info() -{ - System.out.println("\n\nE-Health care management system is command-driven application that helps to manage the record of the patient's as well as generate their hospital bills."); - System.out.print("\t\t\t\t__________________________________________________________________________________________________________________________________\n"); - System.out.print("\t\t\t\t\tOptions | Description\n"); - System.out.print("\t\t\t\t__________________________________________________________________________________________________________________________________\n"); - System.out.println("\t\t\t\t 1 >> Add New Patient Record | A new patient file can be created by using this module."); - System.out.println("\t\t\t\t 2 >> Add Diagnosis Information | Adding day-to-day evaluation of the patient or the diagnosis report in the existing file."); - System.out.println("\t\t\t\t 3 >> History of the Patient | Check the previous or existing details of particular patient by using their file name."); - System.out.println("\t\t\t\t 4 >> Bill of the patient | Generates the bill of the patient with displaying the details."); - System.out.println("\t\t\t\t 5 >> Help | Provide the help documentation."); - System.out.println("\t\t\t\t 6 >> Exit | Exits the application."); - pressAnyKeyToContinue(); -} -} -public class Ehospital -{ -public static void main (String args[]) -{ - Info i=new Info(); - i.login(); - i.menu(); -} -} diff --git a/E-Health Care Management/E-Health Care Management/Info.class b/E-Health Care Management/E-Health Care Management/Info.class deleted file mode 100644 index 9eb706cf..00000000 Binary files a/E-Health Care Management/E-Health Care Management/Info.class and /dev/null differ diff --git a/E-Health Care Management/Ehospital.class b/E-Health Care Management/Ehospital.class deleted file mode 100644 index cec84542..00000000 Binary files a/E-Health Care Management/Ehospital.class and /dev/null differ diff --git a/E-Health Care Management/Ehospital.java b/E-Health Care Management/Ehospital.java deleted file mode 100644 index 55f0f20b..00000000 --- a/E-Health Care Management/Ehospital.java +++ /dev/null @@ -1,379 +0,0 @@ -import java.util.*; -import java.lang.String; -import java.io.*; -import java.time.format.DateTimeFormatter; -import java.time.LocalDateTime; - -class Info -{ -Info() -{ -System.out.print("\t\t\t\t\t ___________________________________________________________________________________________\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| WELCOME TO E-HEALTH CARE MANAGEMENT SYSTEM |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| -Brought To You by |\n"); -System.out.print("\t\t\t\t\t| Md Fahad,Omer Mohiuddin and Yaseen Hussain |\n"); -System.out.print("\t\t\t\t\t|___________________________________________________________________________________________|\n"); -} -//Declaring variales to be used -Scanner scan=new Scanner(System.in); -String name; -String address; -long contact; -int age; -String bg; -String sex; -String disease; -long id; -String dadm; -//To take a pause -private void pressAnyKeyToContinue() - { - System.out.println("Press Enter key to continue..."); - try - { - System.in.read(); - } - catch(Exception e) - { - System.out.println("Press 'Enter' key to continue!"); - } - } - //Taking multiple words -String readString() -{ - Scanner scanner = new Scanner(System.in); - return scanner.nextLine(); -} -//Log in Module -void login() -{ - int a; - String pass; - System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); - System.out.print("\n\t\t\t\t\t\t\t\tE-HEALTH CARE MANAGEMENT SYSTEM \n"); - System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); - System.out.println("\n\n\t\t\t\t\t\t\t\t------------------------------"); - System.out.print("\n\t\t\t\t\t\t\t\t\t LOGIN \n"); - System.out.print("\t\t\t\t\t\t\t\t------------------------------\n\n"); - System.out.print("\t\t\t\t\t\t\t\tEnter the Password: "); - pass=scan.next(); - if(pass.equals("deccan")) - { - System.out.print("\n\n\t\t\t\t\t\t\t\tAccess Granted!\n"); - pressAnyKeyToContinue(); - } - else - { - System.out.print( "\n\n\t\t\t\t\t\t\t\tAccess Aborted...\n\t\t\t\t\t\t\t\t1.Try Again\n\n\t\t\t\t\t\t\t\t2.Exit"); - System.out.print("\n\n\t\t\t\t\t\t\tEnter the option: "); - try{ - a=scan.nextInt(); - if(a==1) - login(); - else if(a==2) - System.exit(0); - else - { - System.out.print("\n\n\t\t\t\t\t\tInvalid Choice\n"); - } - } - catch(InputMismatchException e){ - System.out.println("\n\n\t\t\t\t\t\t\t*Enter the correct option!*\n\n"); - login(); - } - } -} -//To get Date - public void getCurrentTimeUsingDate() - { - DateTimeFormatter dtf = DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm:ss"); - LocalDateTime now = LocalDateTime.now(); - dadm=dtf.format(now); - - } - -void menu() -{ -char k; -//giving option to the user for their choice -System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); -System.out.print("\n\n\t\t\t\t\t\t\t\t E-HEALTH CARE MANAGEMENT SYSTEM \n\n"); -System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); -System.out.print("\n\n\t\t\t\t\t\tPlease, Choose from the following Options: \n\n"); -System.out.print("\t\t\t\t\t\t _________________________________________________________________ \n"); -System.out.print("\t\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t\t| 1 >> Add New Patient Record |\n"); -System.out.print("\t\t\t\t\t\t| 2 >> Add Diagnosis Information |\n"); -System.out.print("\t\t\t\t\t\t| 3 >> History of the Patient |\n"); -System.out.print("\t\t\t\t\t\t| 4 >> Bill of the patient |\n"); -System.out.print("\t\t\t\t\t\t| 5 >> Help |\n"); -System.out.print("\t\t\t\t\t\t| 6 >> Exit |\n"); -System.out.print("\t\t\t\t\t\t|_________________________________________________________________|\n\n"); -System.out.print("\t\t\t\t\t\tEnter your choice: "); -k=scan.next().charAt(0); -//if inputed choice is other than given choice -switch(k) -{ -case '1': patient(); -break; -case '2': diagnos(); -break; -case '3': history(); -break; -case '4': bill(); -break; -case '5': info(); -break; -case '6': exit(); -break; -default: System.out.print("\n\n\t\t\t\t\t\tInvalid Choice\n"); - System.out.print("\t\t\t\t\t\tTry again...........\n\n"); - menu(); -} -menu(); -} -void patient() -{ -System.out.print("Enter the patient's file name: "); - -String fileName =scan.next(); -getCurrentTimeUsingDate(); - - try { - // Assume default encoding. - FileWriter fileWriter = new FileWriter(fileName+".txt"); - - // Always wrap FileWriter in BufferedWriter. - BufferedWriter bufferedWriter = new BufferedWriter(fileWriter); - - // Note that write() does not automatically - // append a newline character. - System.out.print("\n********************************************************************\n"); - bufferedWriter.write("Date of admission: "+dadm); - bufferedWriter.newLine(); - System.out.print("\nName : ");name=readString();bufferedWriter.write("Name : "+name); - bufferedWriter.newLine(); - System.out.print("\nAddress : ");address=readString();bufferedWriter.write("Address : "+address); - bufferedWriter.newLine(); - System.out.print("\nContact Number : ");contact=scan.nextLong();bufferedWriter.write("Contact Number : "+contact); - bufferedWriter.newLine(); - System.out.print("\nAge : ");age=scan.nextInt();bufferedWriter.write("Age : "+age); - bufferedWriter.newLine(); - System.out.print("\nSex : ");sex=scan.next();bufferedWriter.write("Sex : "+sex); - bufferedWriter.newLine(); - System.out.print("\nBlood Group : ");bg=scan.next();bufferedWriter.write("Blood Group : "+bg); - bufferedWriter.newLine(); - System.out.print("\nAny Major disease suffered earlier : ");disease=readString();bufferedWriter.write("Any Major disease suffered earlier : "+disease); - bufferedWriter.newLine(); - System.out.print("\nPatient ID : ");id=scan.nextLong();bufferedWriter.write("Patient ID : "+id); - bufferedWriter.newLine(); - System.out.print("\n********************************************************************\n"); - bufferedWriter.write("\n********************************************************************\n\n"); - bufferedWriter.newLine();System.out.print("\nInformation Saved Successfully\n"); - - // Always close files. - bufferedWriter.close(); - } - catch(IOException ex) - { - System.out.println("Error writing to file '"+ fileName +"'"); - } - pressAnyKeyToContinue(); -} -void diagnos() -{ - String symptom; - String diagnosis; - String medicine; - String addmission; - String ward; - String doctor; - getCurrentTimeUsingDate(); - System.out.print("\n\nEnter the patient's file name to be opened : "); - String fileName=scan.next(); - // This will reference one line at a time - String line = null; - try { - // FileReader reads text files in the default encoding. - FileReader fileReader = new FileReader(fileName+".txt"); - - // Always wrap FileReader in BufferedReader. - BufferedReader bufferedReader = new BufferedReader(fileReader); - System.out.println("\n\n\n\n\t\t\t\t........................................ Information about '"+fileName+"' ........................................\n\n\n\n"); - while((line = bufferedReader.readLine()) != null) - { - System.out.println(line); - } - - // Always close files. - bufferedReader.close(); - //Appending data in file - PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(fileName+".txt", true))); - System.out.print("Adding more information in patient's file................on : "+dadm); - out.println("Description of the day:"+dadm); - System.out.print("\nDoctor appointed:");doctor=readString();out.println("Doctor appointed: "+doctor); - System.out.print("\nSymptoms : ");symptom=readString();out.println("Symptoms : "+symptom); - System.out.print("\nDiagnosis : "); diagnosis=readString();out.println("Diagnosis : "+diagnosis); - System.out.print("\nMedicines : ");medicine=readString(); out.println("Medicines : "+medicine); - System.out.print("\nAddmission Required? : "); - addmission=readString();out.println("Addmission Required? : "+addmission); - if(addmission.equals("Yes")||addmission.equals("Y")) - { - System.out.print("\nType of ward : ");ward=readString(); out.println("Type of ward : "+ward); - out.println("\n*************************************************************************\n"); - System.out.print(ward+" ward is alloted Successfully\n"); - } - else - {out.println("*************************************************************************\n");} - out.close(); - pressAnyKeyToContinue(); - } - catch(FileNotFoundException ex) { - System.out.println( - "Unable to open file '" + fileName + "'"); - } - catch (IOException e) { - System.out.println("Error writing or Reading to file '"+ fileName +"'"); - } -} - -void history() - { - System.out.print("\n\nEnter the patient's file name to be opened : "); - String fileName=scan.next(); - // This will reference one line at a time - String line = null; - try { - // FileReader reads text files in the default encoding. - FileReader fileReader = new FileReader(fileName+".txt"); - - // Always wrap FileReader in BufferedReader. - BufferedReader bufferedReader = new BufferedReader(fileReader); - System.out.print("\n\n\n\n\t\t\t\t........................................ Full Medical History of '"+fileName+"' ........................................\n\n\n\n"); - while((line = bufferedReader.readLine()) != null) - { - System.out.println(line); - } - pressAnyKeyToContinue(); - // Always close files. - bufferedReader.close(); - } - catch(FileNotFoundException ex) { - System.out.println( - "Unable to open file '" + fileName + "'"); - } - catch(IOException ex) { - System.out.println( - "Error reading file '" + fileName + "'"); - } - } -void bill() -{ - getCurrentTimeUsingDate(); - int days; - double wcharge; - double doc; - double ser; -System.out.println("\t\t\t\t\t\t _________________________________________________________________ "); - System.out.print("\n\n\t\t\t\t\t\t\t\t E-HEALTH CARE MANAGEMENT SYSTEM \n\n"); -System.out.println("\t\t\t\t\t\t _________________________________________________________________ "); - System.out.print("Enter the patient's file name to get the Bill: "); - String fileName=scan.next(); - // This will reference one line at a time - String line = null; - try { - // FileReader reads text files in the default encoding. - FileReader fileReader = new FileReader(fileName+".txt"); - PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(fileName+".txt", true))); - - // Always wrap FileReader in BufferedReader. - BufferedReader bufferedReader = new BufferedReader(fileReader); - System.out.print("Date: "+dadm); - System.out.println("\n\n\n\n\t\t\t\tDetails of the patient:\n\n\n\n"); - while((line = bufferedReader.readLine()) != null) - { - System.out.println(line); - } - System.out.print("\t\t\t\t\t\t _________________________________________________________________ "); - System.out.println("\n\t\t\t\t\t\t\t\t\tBill of the patient:"); - System.out.print("\t\t\t\t\t\t _________________________________________________________________ \n\n"); - System.out.print("\t\t\t\t\t\tNo.of days patient stayed:");days=scan.nextInt(); - System.out.print("\t\t\t\t\t\tWard charges/day:");wcharge=scan.nextDouble(); - System.out.print("\n\t\t\t\t\t\tTotal ward charges:"+(wcharge*days)); - System.out.print("\n\t\t\t\t\t\tDoctor's fee:");doc=scan.nextDouble(); - System.out.print("\n\t\t\t\t\t\tService charges:");ser=scan.nextDouble(); - System.out.print("\n\t\t\t\t\t\tTOTAL AMOUNT:"+((wcharge*days)+doc+ser)); - out.println("Total Bill:"+((wcharge*days)+doc+ser)); - System.out.print("\n\t\t\t\t\t\t _________________________________________________________________ \n"); - // Always close files. - out.close(); - bufferedReader.close(); - } - catch(FileNotFoundException ex) { - System.out.println( - "Unable to open file '" + fileName + "'"); - } - catch(IOException ex) { - System.out.println( - "Error reading file '" + fileName + "'"); - } - pressAnyKeyToContinue(); -} -void exit() -{ -System.out.print("\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\n"); -System.out.print("\t\t\t\t\t _______________________________________________________________________________________ \n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| THANK YOU FOR USING |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| E-HEALTH CARE MANAGEMENT SYSTEM |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| |\n"); -System.out.print("\t\t\t\t\t| -Brought To You by Fahad,Omer and Yaseen |\n"); -System.out.print("\t\t\t\t\t|_______________________________________________________________________________________|\n"); -System.out.print("\t\t\t\t\t\n\n\n\n\t\t\t\t\t"); -System.exit(0); -} -void info() -{ - System.out.println("\n\nE-Health care management system is command-driven application that helps to manage the record of the patient's as well as generate their hospital bills."); - System.out.print("\t\t\t\t__________________________________________________________________________________________________________________________________\n"); - System.out.print("\t\t\t\t\tOptions | Description\n"); - System.out.print("\t\t\t\t__________________________________________________________________________________________________________________________________\n"); - System.out.println("\t\t\t\t 1 >> Add New Patient Record | A new patient file can be created by using this module."); - System.out.println("\t\t\t\t 2 >> Add Diagnosis Information | Adding day-to-day evaluation of the patient or the diagnosis report in the existing file."); - System.out.println("\t\t\t\t 3 >> History of the Patient | Check the previous or existing details of particular patient by using their file name."); - System.out.println("\t\t\t\t 4 >> Bill of the patient | Generates the bill of the patient with displaying the details."); - System.out.println("\t\t\t\t 5 >> Help | Provide the help documentation."); - System.out.println("\t\t\t\t 6 >> Exit | Exits the application."); - pressAnyKeyToContinue(); -} -} -public class Ehospital -{ -public static void main (String args[]) -{ - Info i=new Info(); - i.login(); - i.menu(); -} -} diff --git a/E-Health Care Management/Info.class b/E-Health Care Management/Info.class deleted file mode 100644 index 9eb706cf..00000000 Binary files a/E-Health Care Management/Info.class and /dev/null differ diff --git a/E-Health Care Management/~$oject Report 2.docx b/E-Health Care Management/~$oject Report 2.docx deleted file mode 100644 index 1c94c6e6..00000000 Binary files a/E-Health Care Management/~$oject Report 2.docx and /dev/null differ diff --git a/E-Health Care Management/~$stract2.docx b/E-Health Care Management/~$stract2.docx deleted file mode 100644 index 1c94c6e6..00000000 Binary files a/E-Health Care Management/~$stract2.docx and /dev/null differ diff --git a/Email_Generator/README.md b/Email_Generator/README.md deleted file mode 100644 index 7c8c2386..00000000 --- a/Email_Generator/README.md +++ /dev/null @@ -1,12 +0,0 @@ -## Email_Generator -This is basically Email Generator Application Program in Java. -
This program will Generate an email like this syntax: firstname.lastname@department.company.com -
You can select the department name, change the password, set the mailbox capacity and define an alternate email address -
It will Generate a random String for a password. - -## How To Run this Project -1. Download zip -2. After Download Extract it. -3. Right click -4. Open folder as intellij idea project or Open folder as project eclipse -5. Than, Open Src and also open .java files and Run. diff --git a/Email_Generator/bin/emailgenerator/EmailBackProgram.class b/Email_Generator/bin/emailgenerator/EmailBackProgram.class deleted file mode 100644 index 42c877a7..00000000 Binary files a/Email_Generator/bin/emailgenerator/EmailBackProgram.class and /dev/null differ diff --git a/Email_Generator/bin/emailgenerator/EmailMainProgram.class b/Email_Generator/bin/emailgenerator/EmailMainProgram.class deleted file mode 100644 index a9963525..00000000 Binary files a/Email_Generator/bin/emailgenerator/EmailMainProgram.class and /dev/null differ diff --git a/Email_Generator/src/emailgenerator/EmailBackProgram.java b/Email_Generator/src/emailgenerator/EmailBackProgram.java deleted file mode 100644 index 1e854d65..00000000 --- a/Email_Generator/src/emailgenerator/EmailBackProgram.java +++ /dev/null @@ -1,69 +0,0 @@ -package emailgenerator; - -import java.util.Scanner; - -public class EmailBackProgram { - private String firstname; - private String lastname; - private String password; - private String department; - private String email; - private int mailboxCapacity = 500; - private int defaultPasswordLength = 10; - private String alternateEmail; - private String companySuffix = "xyzemail.com"; - - public EmailBackProgram(String firstname, String lastname) { - this.firstname = firstname; - this.lastname = lastname; - - this.department = setDepartment(); - - this.password = randomPassword(defaultPasswordLength); - System.out.println("Your Password is: " + this.password); - - email = firstname.toLowerCase() + "." + lastname.toLowerCase() + "@" + department + "." + companySuffix; - } - - private String setDepartment() { - System.out.print("Welcome!! " + firstname + "."+" You are Our New Employee." + " \nChoose Department Codes\n1 C++\n2 Java\n3 Python\n0 None\nEnter Department Code: "); - Scanner in = new Scanner(System.in); - int depChoice = in.nextInt(); - if(depChoice == 1) {return "C++";} - else if(depChoice == 2) {return "Java";} - else if(depChoice == 3) {return "Python";} - else {return "";} - } - - private String randomPassword(int length) { - String passwordSet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%&*^"; - char [] password = new char[length]; - for(int i = 0; i expenses = new ArrayList<>(); + Scanner sc = new Scanner(System.in); + + while (true) { + System.out.println("\n1. Add Expense\n2. View All\n3. Total Expense\n4. Exit"); + System.out.print("Enter choice: "); + int ch = sc.nextInt(); + + switch (ch) { + case 1: + System.out.print("Enter category: "); + sc.nextLine(); + String cat = sc.nextLine(); + System.out.print("Enter amount: "); + double amt = sc.nextDouble(); + expenses.add(new Expense(cat, amt)); + break; + case 2: + System.out.println("Expenses List:"); + for (Expense e : expenses) + System.out.println(e.category + " - ₹" + e.amount); + break; + case 3: + double total = 0; + for (Expense e : expenses) total += e.amount; + System.out.println("Total Expense: ₹" + total); + break; + case 4: + System.out.println("Goodbye!"); + return; + } + } + } +} + // You can add more functionalities......... + // happy copsing :) + diff --git a/Face Recognition Using Python/Face.py b/Face Recognition Using Python/Face.py deleted file mode 100644 index d4abfb6e..00000000 --- a/Face Recognition Using Python/Face.py +++ /dev/null @@ -1,25 +0,0 @@ -import cv2 - -cap = cv2.VideoCapture(0) - -face_cascade = cv2.CascadeClassifier( - cv2.data.haarcascades + "haarcascade_frontalface_default.xml") -body_cascade = cv2.CascadeClassifier( - cv2.data.haarcascades + "haarcascade_fullbody.xml") - -while True: - _, frame = cap.read() - - gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) - faces = face_cascade.detectMultiScale(gray, 1.3, 5) - - for (x, y, width, height) in faces: - cv2.rectangle(frame, (x, y), (x + width, y + height), (255, 0, 0), 3) - - cv2.imshow("Camera", frame) - - if cv2.waitKey(1) == ord('q'): - break - -cap.release() -cv2.destroyAllWindows() diff --git a/Fee Management System/WebContent/AccountantLoginForm.html b/Fee Management System/WebContent/AccountantLoginForm.html deleted file mode 100644 index c938b39b..00000000 --- a/Fee Management System/WebContent/AccountantLoginForm.html +++ /dev/null @@ -1,7 +0,0 @@ -
- - - - -
Email:
Password:
-
\ No newline at end of file diff --git a/Fee Management System/WebContent/AddAccountantForm.html b/Fee Management System/WebContent/AddAccountantForm.html deleted file mode 100644 index 15dbe61e..00000000 --- a/Fee Management System/WebContent/AddAccountantForm.html +++ /dev/null @@ -1,10 +0,0 @@ -
- - - - - - - -
Name:
Password:
Email:
Address:
Contact:
-
\ No newline at end of file diff --git a/Fee Management System/WebContent/AddStudentForm.html b/Fee Management System/WebContent/AddStudentForm.html deleted file mode 100644 index d993ab25..00000000 --- a/Fee Management System/WebContent/AddStudentForm.html +++ /dev/null @@ -1,27 +0,0 @@ -

Add Student Form

-
- - - - - - - - - - - -
Name:
Email:
Sex: - Male - Female -
Course: - -
Fee:
Paid:
Due:
Address:
Contact No:
-
diff --git a/Fee Management System/WebContent/AdminLoginForm.html b/Fee Management System/WebContent/AdminLoginForm.html deleted file mode 100644 index e1c9c329..00000000 --- a/Fee Management System/WebContent/AdminLoginForm.html +++ /dev/null @@ -1,7 +0,0 @@ -
- - - - -
Email:
Password:
-
\ No newline at end of file diff --git a/Fee Management System/WebContent/META-INF/MANIFEST.MF b/Fee Management System/WebContent/META-INF/MANIFEST.MF deleted file mode 100644 index 5e949512..00000000 --- a/Fee Management System/WebContent/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: - diff --git a/Fee Management System/WebContent/SearchStudentForm.html b/Fee Management System/WebContent/SearchStudentForm.html deleted file mode 100644 index cf4c6153..00000000 --- a/Fee Management System/WebContent/SearchStudentForm.html +++ /dev/null @@ -1,7 +0,0 @@ -

Search Student Form

-
- - - -
Rollno:
-
\ No newline at end of file diff --git a/Fee Management System/WebContent/accountanthome.html b/Fee Management System/WebContent/accountanthome.html deleted file mode 100644 index 36067629..00000000 --- a/Fee Management System/WebContent/accountanthome.html +++ /dev/null @@ -1,23 +0,0 @@ - \ No newline at end of file diff --git a/Fee Management System/WebContent/adminhome.html b/Fee Management System/WebContent/adminhome.html deleted file mode 100644 index ce2368b2..00000000 --- a/Fee Management System/WebContent/adminhome.html +++ /dev/null @@ -1,23 +0,0 @@ - \ No newline at end of file diff --git a/Fee Management System/WebContent/db.sql b/Fee Management System/WebContent/db.sql deleted file mode 100644 index 568505a8..00000000 --- a/Fee Management System/WebContent/db.sql +++ /dev/null @@ -1,25 +0,0 @@ -CREATE TABLE "FEE_STUDENT" - ("ROLLNO" VARCHAR2(4000), - "NAME" VARCHAR2(4000), - "EMAIL" VARCHAR2(4000), - "SEX" VARCHAR2(4000), - "COURSE" VARCHAR2(4000), - "FEE" NUMBER, - "PAID" NUMBER, - "DUE" NUMBER, - "ADDRESS" VARCHAR2(4000), - "CONTACT" VARCHAR2(4000), - CONSTRAINT "FEE_STUDENT_PK" PRIMARY KEY ("ROLLNO") ENABLE - ) -/ - -CREATE TABLE "FEE_ACCOUNTANT" - ( "ID" NUMBER, - "NAME" VARCHAR2(4000), - "EMAIL" VARCHAR2(4000), - "PASSWORD" VARCHAR2(4000), - "ADDRESS" VARCHAR2(4000), - "CONTACT" VARCHAR2(4000), - CONSTRAINT "FEE_ACCOUNTANT_PK" PRIMARY KEY ("ID") ENABLE - ) -/ \ No newline at end of file diff --git a/Fee Management System/WebContent/footer.html b/Fee Management System/WebContent/footer.html deleted file mode 100644 index 1223b5e4..00000000 --- a/Fee Management System/WebContent/footer.html +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/Fee Management System/WebContent/index.html b/Fee Management System/WebContent/index.html deleted file mode 100644 index e7535f32..00000000 --- a/Fee Management System/WebContent/index.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - -Fee Report - - - - - - - -
-
-
-

Admin Login Form

-
- - - - -
Email:
Password:
-
-
- -
-

Accountant Login Form

-
- - - - -
Email:
Password:
-
-
-
- -
- - - - - - \ No newline at end of file diff --git a/Fee Management System/WebContent/navaccountant.html b/Fee Management System/WebContent/navaccountant.html deleted file mode 100644 index b7dec422..00000000 --- a/Fee Management System/WebContent/navaccountant.html +++ /dev/null @@ -1,27 +0,0 @@ - \ No newline at end of file diff --git a/Fee Management System/WebContent/navadmin.html b/Fee Management System/WebContent/navadmin.html deleted file mode 100644 index 590a1caa..00000000 --- a/Fee Management System/WebContent/navadmin.html +++ /dev/null @@ -1,26 +0,0 @@ - \ No newline at end of file diff --git a/Fee Management System/WebContent/navhome.html b/Fee Management System/WebContent/navhome.html deleted file mode 100644 index aa9227e7..00000000 --- a/Fee Management System/WebContent/navhome.html +++ /dev/null @@ -1,22 +0,0 @@ - \ No newline at end of file diff --git a/Fee Management System/WebContent/resources/bootstrap.min.css b/Fee Management System/WebContent/resources/bootstrap.min.css deleted file mode 100644 index 4cf729e4..00000000 --- a/Fee Management System/WebContent/resources/bootstrap.min.css +++ /dev/null @@ -1,6 +0,0 @@ -/*! - * 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/Fee Management System/WebContent/resources/bootstrap.min.js b/Fee Management System/WebContent/resources/bootstrap.min.js deleted file mode 100644 index 133aeecb..00000000 --- a/Fee Management System/WebContent/resources/bootstrap.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Bootstrap v3.3.5 (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)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&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.5",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.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[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.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); \ No newline at end of file diff --git a/Fee Management System/WebContent/resources/images/accountant1.jpg b/Fee Management System/WebContent/resources/images/accountant1.jpg deleted file mode 100644 index 2a2aa701..00000000 Binary files a/Fee Management System/WebContent/resources/images/accountant1.jpg and /dev/null differ diff --git a/Fee Management System/WebContent/resources/images/accountant2.jpg b/Fee Management System/WebContent/resources/images/accountant2.jpg deleted file mode 100644 index 92430832..00000000 Binary files a/Fee Management System/WebContent/resources/images/accountant2.jpg and /dev/null differ diff --git a/Fee Management System/WebContent/resources/images/accountant3.jpeg b/Fee Management System/WebContent/resources/images/accountant3.jpeg deleted file mode 100644 index 04c0cd42..00000000 Binary files a/Fee Management System/WebContent/resources/images/accountant3.jpeg and /dev/null differ diff --git a/Fee Management System/WebContent/resources/images/admin1.jpg b/Fee Management System/WebContent/resources/images/admin1.jpg deleted file mode 100644 index 5e433613..00000000 Binary files a/Fee Management System/WebContent/resources/images/admin1.jpg and /dev/null differ diff --git a/Fee Management System/WebContent/resources/images/admin2.jpg b/Fee Management System/WebContent/resources/images/admin2.jpg deleted file mode 100644 index bce18950..00000000 Binary files a/Fee Management System/WebContent/resources/images/admin2.jpg and /dev/null differ diff --git a/Fee Management System/WebContent/resources/images/admin3.jpg b/Fee Management System/WebContent/resources/images/admin3.jpg deleted file mode 100644 index 0165efec..00000000 Binary files a/Fee Management System/WebContent/resources/images/admin3.jpg and /dev/null differ diff --git a/Fee Management System/WebContent/resources/jquery.min.js b/Fee Management System/WebContent/resources/jquery.min.js deleted file mode 100644 index f3644431..00000000 --- a/Fee Management System/WebContent/resources/jquery.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! jQuery v1.11.3 | (c) 2005, 2015 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.3",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)+1>=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="length"in a&&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"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=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)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(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||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(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 H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(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 pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),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===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(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?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.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 ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.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=ga.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=ga.selectors={cacheLength:50,createPseudo:ia,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(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===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]||ga.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]&&ga.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(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").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()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).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:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sa(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 ta(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 ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(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 wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(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 wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(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]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.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(ca,da),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(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(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.lengthh;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 aa(){return!0}function ba(){return!1}function ca(){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]","i"),ha=/^\s+/,ia=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ja=/<([\w:]+)/,ka=/\s*$/g,ra={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:k.htmlSerialize?[0,"",""]:[1,"X
","
"]},sa=da(y),ta=sa.appendChild(y.createElement("div"));ra.optgroup=ra.option,ra.tbody=ra.tfoot=ra.colgroup=ra.caption=ra.thead,ra.th=ra.td;function ua(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,ua(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function va(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wa(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 xa(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function ya(a){var b=pa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function za(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Aa(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 Ba(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?(xa(b).text=a.text,ya(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)||!ga.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ta.innerHTML=a.outerHTML,ta.removeChild(f=ta.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ua(f),h=ua(a),g=0;null!=(e=h[g]);++g)d[g]&&Ba(e,d[g]);if(b)if(c)for(h=h||ua(a),d=d||ua(f),g=0;null!=(e=h[g]);g++)Aa(e,d[g]);else Aa(a,f);return d=ua(f,"script"),d.length>0&&za(d,!i&&ua(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=da(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(la.test(f)){h=h||o.appendChild(b.createElement("div")),i=(ja.exec(f)||["",""])[1].toLowerCase(),l=ra[i]||ra._default,h.innerHTML=l[1]+f.replace(ia,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&ha.test(f)&&p.push(b.createTextNode(ha.exec(f)[0])),!k.tbody){f="table"!==i||ka.test(f)?""!==l[1]||ka.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(ua(p,"input"),va),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ua(o.appendChild(f),"script"),g&&za(h),c)){e=0;while(f=h[e++])oa.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=wa(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=wa(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(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(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(ua(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(fa,""):void 0;if(!("string"!=typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra[(ja.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ia,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ua(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(ua(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&&na.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(ua(i,"script"),xa),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ua(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,ya),j=0;f>j;j++)d=g[j],oa.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(qa,"")));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 Ca,Da={};function Ea(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 Fa(a){var b=y,c=Da[a];return c||(c=Ea(a,b),"none"!==c&&c||(Ca=(Ca||m("