commit 42b31c2383270b6ab5048b13193153d4d05615dd parent 6e62e1527ffc465e1a000b7cedc11571ef39c0ef Author: MTRNord <mtrnord1@gmail.com> Date: Wed, 9 Jul 2014 18:33:12 +0200 auto clean Diffstat:
136 files changed, 0 insertions(+), 8813 deletions(-)
diff --git a/core/admin/admin.php b/core/admin/admin.php @@ -1,10 +0,0 @@ -<?php - if (!isset($_COOKIE["user"])){ - echo $_COOKIE["user"]; - echo "Bitte erst <a href=\"login.php\">einloggen</a>."; - exit; - }else{ - echo "Welcome " . $_COOKIE["user"] . "!<br>"; - echo "<a href=\"logout.php\">Abmelden</a>"; - } -?> diff --git a/core/admin/blog/newpost.php b/core/admin/blog/newpost.php diff --git a/core/admin/login.php b/core/admin/login.php @@ -1,17 +0,0 @@ -<form action="login_check.php" method="post"> - <table cellpadding="1" cellspacing="4"> - <tr> - <td><strong>E-Mail-Adresse:</strong></td> - <td><input type="email" name="username" value="<?php echo $username; ?>" required="required" placeholder="E-Mail-Adresse" maxlength="255" /></td> - </tr> - <tr> - <td><strong>Passwort:</strong></td> - <td><input type="password" name="password" required="required" placeholder="Passwort" maxlength="50" /></td> - </tr> - <tr> - <td colspan="2"><input type="submit" name="send" value="Login" /></td> - </tr> - </table> -</form> - -<a href="register.php" title="Registrierung">Registrier dich</a> diff --git a/core/admin/login_check.php b/core/admin/login_check.php @@ -1,83 +0,0 @@ -<?php - - - $username = $_POST["username"]; - $pw = $_REQUEST['password']; - - if(empty($pw)){ - echo"Bääähhh!!!"; - exit; - } - if(empty($username)){ - echo"Bääähhh!!!"; - exit; - } - - $verbindung = mysql_connect("localhost", "root" , "1199Mtr3#") - or die("Verbindung zur Datenbank konnte nicht hergestellt werden"); - mysql_select_db("blog") or die ("Datenbank konnte nicht ausgewaelt werden"); - - $abfrage = "SELECT EMail, password FROM users WHERE EMail LIKE '$username' LIMIT 1"; - $ergebnis = mysql_query($abfrage); - $row = mysql_fetch_object($ergebnis); - - - //secure - include '../secure/aes.php'; - - $inputKey = '1554831687984849746489478'; - - $inputText = $row->password; - - $blockSize = 256; - $aes = new AES($inputText, $inputKey, $blockSize); - $dec=$aes->decrypt(); -// $string = $_REQUEST['pw']; - - - - - - if($dec == $_POST['password']){ - ob_start(); - $expire=time()+60*60*24*30; - setcookie('user', $username, $expire, '/', 'rpimarcel1.fritz.box', false, false); - setcookie('user', $username, $expire, '/', '192.168.178.40', false, false); - ob_end_flush(); - echo "Login erfolgreich. <br> <a href=\"admin.php\">Geschützer Bereich</a>"; - } - else{ - echo "Benutzername und/oder Passwort waren falsch."; - } -/* -DEBUG ----- -echo $username; -echo $verbindung; -echo $ergebnis; - -echo "<br/>"; -echo "-----------------------------"; -echo "<br/>"; -//echo $row[1]; -echo "<br/>"; -echo "-----------------------------"; -echo "<br/>"; -echo "Back aus include"; -echo $inputKey; -echo "<br/>"; -echo $inputText; -echo "<br/>"; -echo "<br/>"; -echo "-----------------------------"; -echo "<br/>"; - echo "After decryption: ".$dec."<br/>"; - -echo "<br/>"; -echo $_POST['password']; -echo "<br/>"; - echo $row->password; - echo "<br/>"; - echo $encrypted_string; -*/ -?> diff --git a/core/admin/logout.php b/core/admin/logout.php @@ -1,6 +0,0 @@ -<?php - setcookie('user', '#', time() -1, '/', 'rpimarcel1.fritz.box', false, false); - setcookie('user', '#', time() -1, '/', '192.168.178.40', false, false); - echo"<p>Erfolgreich abgemeldet</p></br>" - #header("refresh:5;url=http://rpimarcel1.fritz.box/PisIte_new"); -?> diff --git a/core/admin/register.php b/core/admin/register.php @@ -1,48 +0,0 @@ -<form action="" method="post"> -Benutzername: <input maxlength="255" name="Name" type="text"><br> -eMail: <input maxlength="255" name="EMail" type="text"><br> -Wähle dein Passwort: <input maxlength="255" name="pw" type="password"><br> -<input name="Send" type="submit" value="Absenden"> -</form> -<?php - $DatabaseHost = "localhost"; - $DatabaseUser = "root"; - $DatabasePassword = "1199Mtr3#"; - $Database = "blog"; - $TableAktivierung = "users"; - $Absender = "info@nordgedanken.de"; - if($_REQUEST['Send']){ - $DatabasePointer = mysql_connect($DatabaseHost, $DatabaseUser, $DatabasePassword); - mysql_select_db($Database, $DatabasePointer); - $_REQUEST['Email'] = mysql_real_escape_string($_REQUEST['Email']); - $_REQUEST['Name'] = mysql_real_escape_string($_REQUEST['Name']); - $_REQUEST['pw'] = mysql_real_escape_string($_REQUEST['pw']); - - //secure - include '../secure/aes.php'; - $imputKey = '1554831687984849746489478'; - $imputText = $_REQUEST['pw']; - $blockSize = 256; - $aes = new AES($imputText, $imputKey, $blockSize); - $enc = $aes->encrypt(); - $aes->setData($enc); - echo "After encryption: ".$enc."<br/>"; - - $Erstellt = date("Y-m-d H:i:s"); - $Aktivierungscode = rand(1, 9999); - - mysql_query("INSERT INTO $TableAktivierung (Aktivierungscode, Erstellt, EMail, Aktiviert, name, password) VALUES ('$Aktivierungscode', '$Erstellt', '".$_REQUEST['EMail']."', '0', '".$_REQUEST['Name']."', '$enc')", $DatabasePointer); - - $ID = mysql_insert_id(); - mail($_REQUEST['EMail'], "Registrierung abschließen", "Hallo,\n\num die Registrierung abzuschließen, klicken Sie bitte auf den folgenden Link:\n\nhttp://192.168.178.40/cms_new/core/admin/register_activation.php?ID=$ID&Aktivierungscode=$Aktivierungscode", "FROM: $Absender"); - echo"Um die Registrierung abzuschließen, rufen Sie Ihr E-Mail-Postfach ab und klicken Sie auf den Aktivierungslink in der soeben an Sie versandten E-Mail."; - } - //else{ - // echo'<form action="" method="post">'; - // echo'Benutzername: <input maxlength="255" name="Name" type="text"><br>'; - // echo'eMail: <input maxlength="255" name="EMail" type="text"><br>'; - // echo'Wähle dein Passwort: <input maxlength="255" name="pw" type="password"><br>'; - // echo'<input name="Send" type="submit" value="Absenden">'; - // echo'</form>'; - //} -?> diff --git a/core/admin/register_activation.php b/core/admin/register_activation.php @@ -1,23 +0,0 @@ -<?php - $DatabaseHost = "localhost"; - $DatabaseUser = "root"; - $DatabasePassword = "1199Mtr3#"; - $Database = "blog"; - $TableAktivierung = "users"; - - if($_REQUEST['ID'] && $_REQUEST['Aktivierungscode']){ - $DatabasePointer = mysql_connect($DatabaseHost, $DatabaseUser, $DatabasePassword); - mysql_select_db($Database, $DatabasePointer); - - $_REQUEST['ID'] = mysql_real_escape_string($_REQUEST['ID']); - $_REQUEST['Aktivierungscode'] = mysql_real_escape_string($_REQUEST['Aktivierungscode']); - - $ResultPointer = mysql_query("SELECT ID FROM $TableAktivierung WHERE ID = '".$_REQUEST['ID']."' AND Aktivierungscode = '".$_REQUEST['Aktivierungscode']."'", $DatabasePointer); - - if(mysql_num_rows($ResultPointer) > 0){ - @mysql_query("UPDATE $TableAktivierung SET Aktiviert = '1' WHERE ID = '".$_REQUEST['ID']."'", $DatabasePointer); - echo"Vielen Dank für Ihre Registrierung. Der Aktivierungsprozess ist nun abgeschlossen."; - } - } -?> - diff --git a/core/admin/test.php b/core/admin/test.php @@ -1,12 +0,0 @@ -<?php - include '../secure/aes.php'; - $imputText = "My text to encrypt"; - $imputKey = "dfhrharhaerhaerhaerh"; - $blockSize = 256; - $aes = new AES($imputText, $imputKey, $blockSize); - $enc = $aes->encrypt(); - $aes->setData($enc); - $dec=$aes->decrypt(); - echo "After encryption: ".$enc."<br/>"; - echo "After decryption: ".$dec."<br/>"; -?> diff --git a/core/admin/user/login.php b/core/admin/user/login.php @@ -1,17 +0,0 @@ -<form action="login_check.php" method="post"> - <table cellpadding="1" cellspacing="4"> - <tr> - <td><strong>E-Mail-Adresse:</strong></td> - <td><input type="email" name="username" value="<?php echo $username; ?>" required="required" placeholder="E-Mail-Adresse" maxlength="255" /></td> - </tr> - <tr> - <td><strong>Passwort:</strong></td> - <td><input type="password" name="password" required="required" placeholder="Passwort" maxlength="50" /></td> - </tr> - <tr> - <td colspan="2"><input type="submit" name="send" value="Login" /></td> - </tr> - </table> -</form> - -<a href="register.php" title="Registrierung">Registrier dich</a> diff --git a/core/admin/user/login_check.php b/core/admin/user/login_check.php @@ -1,83 +0,0 @@ -<?php - - - $username = $_POST["username"]; - $pw = $_REQUEST['password']; - - if(empty($pw)){ - echo"Bääähhh!!!"; - exit; - } - if(empty($username)){ - echo"Bääähhh!!!"; - exit; - } - - $verbindung = mysql_connect("localhost", "root" , "1199Mtr3#") - or die("Verbindung zur Datenbank konnte nicht hergestellt werden"); - mysql_select_db("blog") or die ("Datenbank konnte nicht ausgewaelt werden"); - - $abfrage = "SELECT EMail, password FROM users WHERE EMail LIKE '$username' LIMIT 1"; - $ergebnis = mysql_query($abfrage); - $row = mysql_fetch_object($ergebnis); - - - //secure - include '../secure/aes.php'; - - $inputKey = '1554831687984849746489478'; - - $inputText = $row->password; - - $blockSize = 256; - $aes = new AES($inputText, $inputKey, $blockSize); - $dec=$aes->decrypt(); -// $string = $_REQUEST['pw']; - - - - - - if($dec == $_POST['password']){ - ob_start(); - $expire=time()+60*60*24*30; - setcookie('user', $username, $expire, '/', 'rpimarcel1.fritz.box', false, false); - setcookie('user', $username, $expire, '/', '192.168.178.40', false, false); - ob_end_flush(); - echo "Login erfolgreich. <br> <a href=\"admin.php\">Geschützer Bereich</a>"; - } - else{ - echo "Benutzername und/oder Passwort waren falsch."; - } -/* -DEBUG ----- -echo $username; -echo $verbindung; -echo $ergebnis; - -echo "<br/>"; -echo "-----------------------------"; -echo "<br/>"; -//echo $row[1]; -echo "<br/>"; -echo "-----------------------------"; -echo "<br/>"; -echo "Back aus include"; -echo $inputKey; -echo "<br/>"; -echo $inputText; -echo "<br/>"; -echo "<br/>"; -echo "-----------------------------"; -echo "<br/>"; - echo "After decryption: ".$dec."<br/>"; - -echo "<br/>"; -echo $_POST['password']; -echo "<br/>"; - echo $row->password; - echo "<br/>"; - echo $encrypted_string; -*/ -?> diff --git a/core/admin/user/logout.php b/core/admin/user/logout.php @@ -1,6 +0,0 @@ -<?php - setcookie('user', '#', time() -1, '/', 'rpimarcel1.fritz.box', false, false); - setcookie('user', '#', time() -1, '/', '192.168.178.40', false, false); - echo"<p>Erfolgreich abgemeldet</p></br>" - #header("refresh:5;url=http://rpimarcel1.fritz.box/PisIte_new"); -?> diff --git a/core/admin/user/register.php b/core/admin/user/register.php @@ -1,48 +0,0 @@ -<form action="" method="post"> -Benutzername: <input maxlength="255" name="Name" type="text"><br> -eMail: <input maxlength="255" name="EMail" type="text"><br> -Wähle dein Passwort: <input maxlength="255" name="pw" type="password"><br> -<input name="Send" type="submit" value="Absenden"> -</form> -<?php - $DatabaseHost = "localhost"; - $DatabaseUser = "root"; - $DatabasePassword = "1199Mtr3#"; - $Database = "blog"; - $TableAktivierung = "users"; - $Absender = "info@nordgedanken.de"; - if($_REQUEST['Send']){ - $DatabasePointer = mysql_connect($DatabaseHost, $DatabaseUser, $DatabasePassword); - mysql_select_db($Database, $DatabasePointer); - $_REQUEST['Email'] = mysql_real_escape_string($_REQUEST['Email']); - $_REQUEST['Name'] = mysql_real_escape_string($_REQUEST['Name']); - $_REQUEST['pw'] = mysql_real_escape_string($_REQUEST['pw']); - - //secure - include '../secure/aes.php'; - $imputKey = '1554831687984849746489478'; - $imputText = $_REQUEST['pw']; - $blockSize = 256; - $aes = new AES($imputText, $imputKey, $blockSize); - $enc = $aes->encrypt(); - $aes->setData($enc); - echo "After encryption: ".$enc."<br/>"; - - $Erstellt = date("Y-m-d H:i:s"); - $Aktivierungscode = rand(1, 9999); - - mysql_query("INSERT INTO $TableAktivierung (Aktivierungscode, Erstellt, EMail, Aktiviert, name, password) VALUES ('$Aktivierungscode', '$Erstellt', '".$_REQUEST['EMail']."', '0', '".$_REQUEST['Name']."', '$enc')", $DatabasePointer); - - $ID = mysql_insert_id(); - mail($_REQUEST['EMail'], "Registrierung abschließen", "Hallo,\n\num die Registrierung abzuschließen, klicken Sie bitte auf den folgenden Link:\n\nhttp://192.168.178.40/cms_new/core/admin/register_activation.php?ID=$ID&Aktivierungscode=$Aktivierungscode", "FROM: $Absender"); - echo"Um die Registrierung abzuschließen, rufen Sie Ihr E-Mail-Postfach ab und klicken Sie auf den Aktivierungslink in der soeben an Sie versandten E-Mail."; - } - //else{ - // echo'<form action="" method="post">'; - // echo'Benutzername: <input maxlength="255" name="Name" type="text"><br>'; - // echo'eMail: <input maxlength="255" name="EMail" type="text"><br>'; - // echo'Wähle dein Passwort: <input maxlength="255" name="pw" type="password"><br>'; - // echo'<input name="Send" type="submit" value="Absenden">'; - // echo'</form>'; - //} -?> diff --git a/core/admin/user/register_activation.php b/core/admin/user/register_activation.php @@ -1,23 +0,0 @@ -<?php - $DatabaseHost = "localhost"; - $DatabaseUser = "root"; - $DatabasePassword = "1199Mtr3#"; - $Database = "blog"; - $TableAktivierung = "users"; - - if($_REQUEST['ID'] && $_REQUEST['Aktivierungscode']){ - $DatabasePointer = mysql_connect($DatabaseHost, $DatabaseUser, $DatabasePassword); - mysql_select_db($Database, $DatabasePointer); - - $_REQUEST['ID'] = mysql_real_escape_string($_REQUEST['ID']); - $_REQUEST['Aktivierungscode'] = mysql_real_escape_string($_REQUEST['Aktivierungscode']); - - $ResultPointer = mysql_query("SELECT ID FROM $TableAktivierung WHERE ID = '".$_REQUEST['ID']."' AND Aktivierungscode = '".$_REQUEST['Aktivierungscode']."'", $DatabasePointer); - - if(mysql_num_rows($ResultPointer) > 0){ - @mysql_query("UPDATE $TableAktivierung SET Aktiviert = '1' WHERE ID = '".$_REQUEST['ID']."'", $DatabasePointer); - echo"Vielen Dank für Ihre Registrierung. Der Aktivierungsprozess ist nun abgeschlossen."; - } - } -?> - diff --git a/core/blog/posts.php b/core/blog/posts.php @@ -1,24 +0,0 @@ -<?php - include('../inc/db_connect.inc.php'); - $query = 'SELECT * FROM posts'; - $db_command = mysql_query($query); - - while($row = mysql_fetch_object($db_command)){ - echo '</br>'; - echo '</br>'; - echo '<h4>' . $row->title . '</h4>'; - echo '</br>'; - echo '<p>' . $row->text . '</p>'; - echo '</br>'; - echo '</br>'; - echo '<p><i>Erstellt um: ' . $row->time . '</p></i>'; - } - - while($row = mysql_fetch_object($db_command)){ - echo '</br>'; - echo '</br>'; - echo '<p><i>Erstellt von: ' . $row->name . '</p></i>'; - } - if($db_command == 0){ - print ("FEHLER"); - }; diff --git a/core/config/variables.config.php b/core/config/variables.config.php @@ -1,48 +0,0 @@ -$connection = mysql_connect($db_servername, $db_username, $db_password) or die ("<p>Verbindung war nicht möglich</p>"); mysql_select_db($db_name) or die ("<p>Die Datenbank ist nicht vorhanden</p>");$connection = mysql_connect($db_servername, $db_username, $db_password) or die ("<p>Verbindung war nicht möglich</p>"); mysql_select_db($db_name) or die ("<p>Die Datenbank ist nicht vorhanden</p>"); - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - - - -$db_name = 'blog_1'; - diff --git a/core/inc/db_connect.inc.php b/core/inc/db_connect.inc.php diff --git a/core/inc/db_connect.inc.php.1 b/core/inc/db_connect.inc.php.1 @@ -1,10 +0,0 @@ -<?php - -$db_servername = "localhost"; -$db_username = "root"; -$db_password = "1199Mtr3#"; -$db_name = "blog"; - -$connection = mysql_connect($db_servername, $db_username, $db_password) or die ("<p>Verbindung war nicht möglich</p>"); -mysql_select_db($db_name) or die ("<p>Die Datenbank ist nicht vorhanden</p>"); - diff --git a/core/inc/db_connect.inc.php.original b/core/inc/db_connect.inc.php.original @@ -1,10 +0,0 @@ -<?php - -$db_servername = "localhost"; -$db_username = "root"; -$db_password = "1199Mtr3#"; -$db_name = "blog"; - -$connection = mysql_connect($db_servername, $db_username, $db_password) or die ("<p>Verbindung war nicht möglich</p>"); -mysql_select_db($db_name) or die ("<p>Die Datenbank ist nicht vorhanden</p>"); - diff --git a/core/secure/aes.php b/core/secure/aes.php @@ -1,140 +0,0 @@ -<?php - /** - Aes encryption - */ - class AES { - const M_CBC = 'cbc'; - const M_CFB = 'cfb'; - const M_ECB = 'ecb'; - const M_NOFB = 'nofb'; - const M_OFB = 'ofb'; - const M_STREAM = 'stream'; - protected $key; - protected $cipher; - protected $data; - protected $mode; - protected $IV; - /** - * - * @param type $data - * @param type $key - * @param type $blockSize - * @param type $mode - */ - function __construct($data = null, $key = null, $blockSize = null, $mode = null) { - $this->setData($data); - $this->setKey($key); - $this->setBlockSize($blockSize); - $this->setMode($mode); - $this->setIV(""); - } - /** - * - * @param type $data - */ - public function setData($data) { - $this->data = $data; - } - /** - * - * @param type $key - */ - public function setKey($key) { - $this->key = $key; - } - /** - * - * @param type $blockSize - */ - public function setBlockSize($blockSize) { - switch ($blockSize) { - case 128: - $this->cipher = MCRYPT_RIJNDAEL_128; - break; - case 192: - $this->cipher = MCRYPT_RIJNDAEL_192; - break; - case 256: - $this->cipher = MCRYPT_RIJNDAEL_256; - break; - } - } - /** - * - * @param type $mode - */ - public function setMode($mode) { - switch ($mode) { - case AES::M_CBC: - $this->mode = MCRYPT_MODE_CBC; - break; - case AES::M_CFB: - $this->mode = MCRYPT_MODE_CFB; - break; - case AES::M_ECB: - $this->mode = MCRYPT_MODE_ECB; - break; - case AES::M_NOFB: - $this->mode = MCRYPT_MODE_NOFB; - break; - case AES::M_OFB: - $this->mode = MCRYPT_MODE_OFB; - break; - case AES::M_STREAM: - $this->mode = MCRYPT_MODE_STREAM; - break; - default: - $this->mode = MCRYPT_MODE_ECB; - break; - } - } - /** - * - * @return boolean - */ - public function validateParams() { - if ($this->data != null && - $this->key != null && - $this->cipher != null) { - return true; - } else { - return FALSE; - } - } - public function setIV($IV) { - $this->IV = $IV; - } - protected function getIV() { - if ($this->IV == "") { - $this->IV = mcrypt_create_iv(mcrypt_get_iv_size($this->cipher, $this->mode), MCRYPT_RAND); - } - return $this->IV; - } - /** - * @return type - * @throws Exception - */ - public function encrypt() { - if ($this->validateParams()) { - return trim(base64_encode( - mcrypt_encrypt( - $this->cipher, $this->key, $this->data, $this->mode, $this->getIV()))); - } else { - throw new Exception('Invlid params!'); - } - } - /** - * - * @return type - * @throws Exception - */ - public function decrypt() { - if ($this->validateParams()) { - return trim(mcrypt_decrypt( - $this->cipher, $this->key, base64_decode($this->data), $this->mode, $this->getIV())); - } else { - throw new Exception('Invlid params!'); - } - } - } -?> diff --git a/core/security_checks/checkforinstalldir.php b/core/security_checks/checkforinstalldir.php @@ -1,5 +0,0 @@ -<?php -if (is_dir(../../install)) { - echo 'Please remove the install dir!'; -} -?> diff --git a/install/add_database.php b/install/add_database.php @@ -1,50 +0,0 @@ -<?php - require_once ('../core/inc/db_connect.inc.php'); - $sql = 'CREATE DATABASE '.$db_name; - - $result = mysqli_query($connection, $sql) - or die("Anfrage fehlgeschlagen: " . mysql_error()); - - $sql = " - CREATE TABLE `posts` ( - `id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , - `text` TEXT NOT NULL , - `title` TEXT NOT NULL , - `name` TEXT NOT NULL , - `time` DATETIME NOT NULL - ) ENGINE = MYISAM ; - "; - $result = mysqli_query($connection, $sql) - or die("Anfrage fehlgeschlagen: " . mysql_error()); - - echo 'Erstellen erfolgreich'; - -#Dantenbank auswählbar machen -$filename = '../core/inc/db_connect.inc.php'; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, 'mysql_select_db($db_name) or die ("<p>Die Datenbank ist nicht vorhanden</p>");')) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_dbn geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} -?> - diff --git a/install/generate_configs.php b/install/generate_configs.php @@ -1,193 +0,0 @@ -<?php -################### -# MySQL # -################### -#Serverpfad -$filename = '../core/inc/db_connect.inc.php'; -$serverpfad = $_POST["serverpfad"]; -$var_str_sp = var_export($serverpfad, true); -$var_sp = "<?php\n\n\$db_servername = $var_str_sp;\n"; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_sp)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_sp geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} - -#Userame -$filename = '../core/inc/db_connect.inc.php'; -$username = $_POST["username"]; -$var_str_u = var_export($username, true); -$var_u = "\n\n\$db_username = $var_str_u;\n"; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_u)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_u geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} - -#Passwort -$filename = '../core/inc/db_connect.inc.php'; -$password = $_POST["password"]; -$var_str_pw = var_export($password, true); -$var_pw = "\n\n\$db_password = $var_str_pw;\n"; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_pw)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_pw geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} - -#DB Name -$filename = '../core/inc/db_connect.inc.php'; -$db_name = $_POST["db_name"]; -$var_str_dbn = var_export($db_name, true); -$var_dbn = "\n\n\$db_name = $var_str_dbn;\n\n"; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_dbn)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_dbn geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} - -#Funktion der Datenbank -$filename = '../core/inc/db_connect.inc.php'; -#$var_dbn = ('$connection = 'mysql_connect($db_servername, $db_username, $db_password) or die ("<p>Verbindung war nicht möglich</p>"); mysql_select_db($db_name) or die ("<p>Die Datenbank ist nicht vorhanden</p>"');'); - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, '$connection = mysqli_connect($db_servername, $db_username, $db_password) or die ("Verbindung war nicht möglich");')) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_dbn geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} -################### -# Basics # -################### -#Blog Name -$filename = '../core/config/variables.config.php'; -$blog_name = $_POST["blog_name"]; -$var_str_bn = var_export($blog_name, true); -$var_bn = "<?php\n\$blog_name = $var_str_bn;\n\n"; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_dbn)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_bn geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} -sleep(5); -header('Location: add_database.php'); -?> - diff --git a/install/install.php b/install/install.php @@ -1,57 +0,0 @@ -<!Doctype html> -<html> -<head> -<title>Installieren</title> -</head> -<body> -<?php - if (!extension_loaded('mysql')) { - if (!dl('mysql.so')) { - print ("MySQL is not installed! Please install this module!"); - exit; - }else{print("MySQL has been successfully loaded");} - } -?> -<h1>Installer</h1> -<h3>MySQL</h3> -<form action="generate_configs.php" method="post"> - <table cellpadding="1" cellspacing="4"> - <tr> - <td><p>Datenbank Adresse: </p></td> - <td><input type="name" name="serverpfad" required="required" placeholder="Datenbank Adresse" maxlength="255" /></td> - </tr> - <tr> - <td><p>Nutzername: </p></td> - <td><input type="name" name="username" required="required" placeholder="Nutzername" maxlength="255" /></td> - </tr> - <tr> - <td><p>Passwort: </p></td> - <td><input type="password" name="password" required="required" placeholder="Passwort" maxlength="50" /></td> - </tr> - <tr> - <td><p>Datenbank Name: </p></td> - <td><input type="name" name="db_name" required="required" placeholder="Datenbank Name" maxlength="255" /></td> - </tr> - </table> -<h3>Basics</h3> - <table cellpadding="1" cellspacing="4"> - <tr> - <td><p>Website Name: </p></td> - <td style="text-indent:40px;"><input type="name" name="blog_name" required="required" placeholder="Website Name" maxlength="255" /></td> - </tr> - <tr> - <td><p>Untertitel: </p></td> - <td style="text-indent:40px;"><input type="text" name="admin_username" required="required" placeholder="Untertitel" maxlength="255" /></td> - </tr> - <tr> - <td><p>Schlagwörter: </p></td> - <td style="text-indent:40px;"><input type="text" name="admin_password" required="required" placeholder="Schlagwörter" maxlength="50" /></td> - </tr> - <tr> - <td colspan="2"><input type="submit" name="send" value="Weiter" /></td> - </tr> - </table> -</form> -<strong>Sollte ein Fehler auftreten einfach zurück gehen und nochmal ausführen.</strong> -</body> -</html> diff --git a/install/install_mysql.php b/install/install_mysql.php @@ -1,156 +0,0 @@ -<?php -#Serverpfad -$filename = '../core/inc/db_connect.inc.php'; -$serverpfad = $_POST["serverpfad"]; -$var_str_sp = var_export($serverpfad, true); -$var_sp = "<?php\n\n\$db_servername = $var_str_sp;\n"; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_sp)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_sp geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} - -#Userame -$filename = '../core/inc/db_connect.inc.php'; -$username = $_POST["username"]; -$var_str_u = var_export($username, true); -$var_u = "\n\n\$db_username = $var_str_u;\n"; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_u)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_u geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} - -#Passwort -$filename = '../core/inc/db_connect.inc.php'; -$password = $_POST["password"]; -$var_str_pw = var_export($password, true); -$var_pw = "\n\n\$db_password = $var_str_pw;\n"; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_pw)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_pw geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} - -#DB Name -$filename = '../core/inc/db_connect.inc.php'; -$db_name = $_POST["db_name"]; -$var_str_dbn = var_export($db_name, true); -$var_dbn = "\n\n\$db_name = $var_str_dbn;\n\n"; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_dbn)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_dbn geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} - -#Funktion der Datenbank -$filename = '../core/inc/db_connect.inc.php'; -$var_dbn = '$connection = mysql_connect($db_servername, $db_username, $db_password) or die ("<p>Verbindung war nicht möglich</p>"); mysql_select_db($db_name) or die ("<p>Die Datenbank ist nicht vorhanden</p>");'; - -// Sichergehen, dass die Datei existiert und beschreibbar ist -if (is_writable($filename)) { - - // Wir öffnen $filename im "Anhänge" - Modus. - // Der Dateizeiger befindet sich am Ende der Datei, und - // dort wird $somecontent später mit fwrite() geschrieben. - if (!$handle = fopen($filename, "a")) { - print "Kann die Datei $filename nicht öffnen"; - exit; - } - - // Schreibe $somecontent in die geöffnete Datei. - if (!fwrite($handle, $var_dbn)) { - print "Kann in die Datei $filename nicht schreiben"; - exit; - } - - print "Fertig, in Datei $filename wurde $var_dbn geschrieben"; - - fclose($handle); - -} else { - print "Die Datei $filename ist nicht schreibbar"; -} - -?> - diff --git a/themes/accentbox/css/style.css b/themes/accentbox/css/style.css @@ -1,1249 +0,0 @@ -/* -Theme Name: AccentBox -Theme URI: http://mythemeshop.com/themes/accentbox -Author: MyThemeShop -Author URI: http://mythemeshop.com/ -Description: Clean and responsive free WordPress theme by MyThemeShop. -Version: 1.1 - -*/ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video{ -margin:0; -padding:0; -border:0; -font-size:100%; -font:inherit; -vertical-align:baseline; -} -html { -overflow-x: hidden; -} -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section{ -display:block; -} -ol, ul{ -list-style:none; -} -blockquote, q{ -quotes:none; -} -blockquote:before, blockquote:after, -q:before, q:after{ -content:'';content:none; -} -table{ -border-collapse:collapse; -border-spacing:0; -} -button, input, select, textarea{ -margin:0; -} -:focus{ -outline:0 -} -a:link{ --webkit-tap-highlight-color:#FF5E99; -} -img,video,object,embed{ -max-width:100%; -} -iframe { -max-width:100%; -} -blockquote{ -font-style:italic; -font-weight:normal; -font-family:Georgia,Serif; -font-size:15px; -padding:0 10px 20px 27px; -position:relative; -margin-top: 25px; -} -blockquote:after{ -position:absolute; -content:'"'; -font-size:40px; -color:#D0D9E0; -width:50px; -top:-5px; -left:0; -font-family:arial; -} -blockquote p{ -margin-bottom:10px; -} -strong ,b { -font-weight:bold; -} -em, i, cite { -font-style:italic; -font-family:georgia; -} -small{ -font-size:100%; -} -figure{ -margin:10px 0; -} -code,pre{ -font-family:monospace,consolas,sans-serif; -font-weight:normal; -font-style:normal; -} -pre{ -margin:5px 0 20px 0; -line-height:1.3em; -padding:8px 10px; -overflow:auto; -} -code{ -padding:0 8px; -line-height:1.5; -} -mark{ -padding:1px 6px; -margin:0 2px; -color:black; -background:#FFD700; -} -address{ -margin:10px 0 -} - -@font-face { - font-family: 'BebasNeueRegular'; - src: url('fonts/BebasNeue-webfont.eot'); - src: url('fonts/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'), - url('fonts/BebasNeue-webfont.woff') format('woff'), - url('fonts/BebasNeue-webfont.ttf') format('truetype'), - url('fonts/BebasNeue-webfont.svg#BebasNeueRegular') format('svg'); - font-weight: normal; - font-style: normal; -} - -/*-[ Framework ]--------------------*/ -body{ -line-height:1; -font: 14px/23px 'PT Sans', sans-serif; -color: #666; -background:white; -background-image: url(images/cbg.png); -} -::-moz-selection{ -background:#333; -color:white; -text-shadow:none; -} -::selection{ -background:#333; -color:white; -text-shadow:none; -} -#page, .container { -position: relative; -margin-right: auto; -margin-left: auto; -overflow: hidden; -} -h1,h2,h3,h4,h5,h6{ -font-weight:normal; -margin-bottom:12px; -font-family: 'BebasNeueRegular', sans-serif; -color: #777; -text-shadow: 0px 2px #CCC; -} -h1{ -font-size:28px; -line-height:44px; -} -h2{ -font-size:24px; -line-height:40px; -} -h3{ -font-size:22px; -line-height: 38px; -} -h4{ -font-size:20px; -line-height:24px; -} -h5{ -font-size:18px; -line-height:34px; -} -h6{ -font-size:16px; -line-height:24px; -} -.sub-title{ -font-size:12px; -} -p{ -margin-bottom: 20px; -line-height: 20px; -} -a{ -text-decoration:none; -color: #79ACCD; --webkit-transition: background-color, color 0.2s linear; --moz-transition: background-color, color 0.2s linear; -transition: background-color, color 0.2s linear; -text-shadow: 0px 1px white; -} -a:hover{ -color:#000000; -} -a:link, a:visited, a:active{ -text-decoration:none; -} -:target{ -padding-top:20px; -} -/*-[ Main container ]---------------*/ -#page, -.container{ -max-width: 960px; -min-width:240px; -overflow:visible; -} -#page{ -min-height:100px; -float: none; -clear: both; -overflow:hidden; -} -/*-[ Header ]-----------------------*/ -body > header{ -float: left; -width: 100%; -position: relative; -} -.main-header { -position: relative; -float: left; -width: 100%; -z-index: 99; -background-image: url(images/hbg.gif); -border-bottom: 7px solid #5E5E5E; -} -#header{ -float:left; -position: relative; -width: 100%; -margin: 20px 0; -} -#header h1, #header h2 { -font-size: 34px; -font-family: 'BebasNeueRegular', sans-serif; -display: block; -float: left; -display: inline-block; -margin: 0; -line-height: 48px; -text-transform: uppercase; -margin-top: 20px; -} -#logo a { -color: #777; -text-shadow: 0px 2px #fff; -} -.widget-header { -float: right; -width: 75.9%; -} -/*-[ Navigation ]-----------------*/ -.secondary-navigation { -display: block; -float: left; -width: 100%; -} -.secondary-navigation ul li { -} -.secondary-navigation a { -font-family: 'BebasNeueRegular', sans-serif; -font-size: 22px; -line-height: 1.2em; -text-align: center; -text-decoration: none; -text-transform: uppercase; -padding: 17px 35px 0 0; --webkit-transition: all 0.25s linear; -moz-transition: all 0.25s linear; transition: all 0.25s linear; -text-shadow: 0px 2px #CCC; -color: #777; -} -.secondary-navigation a:hover { -color: #79ACCD; -} -#navigation{ -margin: 0 auto; -font-size:13px; -float: left; -width: 100%; -} -#navigation select{ -display:none; -} -#navigation ul{ -float:left; -} -#navigation ul li{ -float:left; -position:relative; -} -#navigation > ul > li:last-child{ -border-right:none; -} -#navigation ul li a, -#navigation ul li a:link, -#navigation ul li a:visited{ -overflow:hidden; -display:block; -} -#navigation > ul > li > a{ -font-weight:normal; -} -#navigation > ul > li > a:hover{ -color: #79ACCD; -} -#navigation > ul > .current{ -border-top-color:rgba(0,0,0,0.3); -} -#navigation > ul > .current a{ -background:transparent; -color:#BFC5C9 !important; -} -#navigation ul li li{ -margin-top:-2px; -} -#navigation ul ul{ -position:absolute; -width:190px; -padding: 5px 0 5px 0; -z-index: 400; -font-size:12px; -background: #fff; -text-shadow:0 1px 0 rgba(0, 0, 0, 0.1); -color: #000; -border: 3px solid #ddd; -} -#navigation ul ul li{ -padding:0; -border-right: 0; -} -#navigation ul ul a, -#navigation ul ul a:link, -#navigation ul ul a:visited{ -padding: 9px 20px; -width:148px; --moz-border-radius:0; -border-radius:0; -text-align: left; -} -#navigation ul ul li:first-child a{ -border-top:none; -text-align: left; -} -#navigation ul ul li:last-child a{ -border-bottom:none; -text-align: left; -} -#navigation ul ul li a:hover{ -color: #79ACCD; -} -#navigation ul li li:hover > a{ -} -#navigation ul ul{ -opacity:0; -left:-999em; -} -#navigation ul li:hover ul{ -left: -22px;opacity:1; -} -#navigation ul ul ul{ -top:-10px; -} -#navigation li:hover ul ul, -#navigation li:hover ul ul ul, -#navigation li:hover ul ul ul ul{ -left:-999em; -opacity:0; -} -#navigation li:hover ul, -#navigation li li:hover ul, -#navigation li li li:hover ul, -#navigation li li li li:hover ul{ -opacity:1; -left: 195px; -} -#navigation ul ul:after{ -} -#navigation ul ul ul:after{ -border-color:transparent #282E33 transparent transparent; -border-color:transparent rgba(14,19,22,0.92) transparent transparent; -left:-12px; -top:3px; -} -/*-[ Content ]--------------------*/ -.article{ -width: 66.5%; -float: left; -margin-bottom: 20px; -} -.post-content { -overflow: hidden; -font-size: 14px; -line-height: 23px; -} -#content_box { -padding-right: 35px; -} -.post.excerpt { -clear: both; -margin-bottom: 30px; -overflow: hidden; -border-bottom: 1px solid #eee; -margin-top: 40px; -} -.wp-post-image { -float: left; -margin: 7px 15px 10px 0; -} -#featured-thumbnail { -float: left; -margin-right: 15px; -} -.featured-thumbnail img { -margin-bottom:0; -margin-top: 3px; -margin-right: 0; -} -.rating img { -background: #222; -margin: 0 auto; -width: 130px; -padding: 4% 16%; -border: 1px solid #333; -} -.title { -font-family: 'BebasNeueRegular', sans-serif; -font-size: 28px; -line-height: 34px; -margin-bottom: 0; -} -.title a, .title { -color: #777; -text-shadow: 0px 2px #CCC; -} -.title a:hover { -color: #79ACCD; -} -.page h1.title { -margin-bottom: 20px; -margin-top: 20px; -} -.post-info{ -display:block; -color: #BBB; -font-size: 13px; -} -ul.recent-reviews li { -padding-left: 0; -background: none; -margin-bottom: 10px; -} -.theauthor:after, .post-info time:after ,.comment .fn:after{ -content:"|"; -padding:0 5px; -} -.thecomment:before { -content:"|"; -padding:0 5px; -} -article header { -margin-bottom:15px; -} -.single #content_box header { -margin-top: 20px; -} -.post-info a { -color: #BBB; -} -.article img.left, -.article img.alignleft, -.wp-caption.alignleft { -margin: 0.571em 1.571em 0.571em 0; -display: block; -float: left; -} -.article img.right, -.article img.alignright, -.wp-caption.alignright { -margin: 0.571em 0 0.571em 1.571em; -display: block; -float: right; -} -.article img.center, -.article img.aligncenter, -.wp-caption.aligncenter { -margin: 1em auto 1em auto; -display: block; -} -.article img.aligncenter, .article img.alignnone { -margin-top:1em; -margin-bottom:1em; -display: block; -} -.article ul { -margin: 0.5em 0 1.571em 1.3em; -list-style-type: circle; -} -.article ol { -margin: 1.5em 0 1.571em 1.571em; -list-style-type: decimal; -} -/*-[ Form Input ]------------------*/ -input,textarea,select{ -padding:8px 12px; -border:none; -font-size:12px; -border: 1px solid #D7D7D9; -color: #5E656D; -} -textarea{ -overflow:auto; -resize:vertical; -} -select{ -padding:12px 20px; -} -input:focus, -textarea:focus{ -} -::-webkit-input-placeholder{ -color:#585F65; -text-shadow:0 1px 1px rgba(255,255,255,0.4); -} -::-moz-input-placeholder{ -color:#585F65; -text-shadow:0 1px 1px rgba(255,255,255,0.4); -} -::-ie-input-placeholder{ -color:#585F65; -text-shadow:0 1px 1px rgba(255,255,255,0.4); -} -::-o-input-placeholder{ -color:#585F65; -text-shadow:0 1px 1px rgba(255,255,255,0.4); -} -::input-placeholder{ -color:#585F65; -text-shadow:0 1px 1px rgba(255,255,255,0.4); -} -/*-[ Tables ]--------------------*/ -table{ -width:100%; -text-align:left; -margin-bottom:25px; -border:2px solid #F1F4F6; -} -thead{ -background:#F7F8F9; -font-size:14px; -color:#585F65; -} -table th ,table td{ -padding:7px 15px; -text-align:left; -} -thead th{ -padding:14px; -} -tbody th{ -font-weight:normal; -border-bottom:1px solid #F5F7F9; -} -/*-[ Line ]---------------------*/ -hr{ -border:none; -border-bottom:1px solid #E5E5E5; -border-bottom:1px solid rgba(0,0,0,0.1); -width:100%; -margin:35px 0; -clear:both; -position:relative; -} -/*-[ Search Form ]------------------*/ -nav #searchform { -float: right; -} -nav #searchform fieldset { -padding: 7px 0 6px 15px; -border: 0; -border-left: 1px solid #eee; -} -#searchform fieldset { -border: 1px solid #D7D7D9; -background:#fff; -float: left; -} -#searchform input { -border: 0; -} -.sbutton { -padding: 6px 12px 6px 0; -} -.main-header #s { -width: 150px; -} -.sidebar #s { -width: 78%; -padding: 10px 12px; -} -.footer-widgets fieldset, #sidebars fieldset { -width: 99%; -} -.footer-widgets #s { -width: 78%; -} -.footer-widgets .sbutton, #sidebars .sbutton { -float: right; -} -.sidebar .sbutton { -padding-top: 10px; -} - -.breadcrumb { -margin-top: 40px; -} -/*-[ Read More ]-------------------*/ -.more { -float: right; -box-shadow: 0px 2px #CCC; --webkit-box-shadow: 0px 2px #CCC; --moz-box-shadow: 0px 2px #CCC; -margin-bottom: 5px; -font-size: 12px; -letter-spacing: 1px; -margin-top: -15px; -} -.more a{ -float: left; -background-color: #79ACCD; -color: white; -padding: 4px 10px; -overflow: hidden; -text-shadow: none; -} -.more a:hover { -color:#fff; -} -/*-[ Sidebar ]---------------------*/ -.sidebar.c-4-12 { -float: right; -width: 31.5%; -line-height: 23px; -margin-top:40px; -} -.widget { -margin-bottom: 27px; -overflow: hidden; -} -.widget .title{ -font-weight:bold; -text-transform:uppercase; -color:#545E68; -font-size:12px; -} -.widget li { -display: block; -overflow: hidden; -list-style-type: none; -padding-left: 20px; -background: url(images/arrow.png) 0 5px no-repeat; -} -.widget h3 { -font-size: 20px; -line-height: 26px; -font-family: 'BebasNeueRegular', sans-serif; -margin-bottom: 5px; -font-style:normal; -color: #777; -text-shadow: 0px 2px #CCC; -} -.pcomments { -float: right; -padding: 0 7px; -font-family:arial; -font-weight:bold; -background: #2DB2EB; -} -/*-[ Footer ]-------------------*/ -body > footer{ -min-height:50px; -overflow:hidden; -margin-top: 0px; -width: 100%; -background: url(images/hbg.gif); border-bottom: 7px solid #5E5E5E; border-top: 7px solid #5E5E5E; -padding-top: 25px; -} -body > footer .widget{ -padding:10px 0 30px 0; -margin-left: 20px; margin-right: 20px; -} -body > footer .sidebar .widget .title{ -font-size:135%; -color:#D4D8DB; -} -footer .widget li a { - color: #666; -} -footer { -position: relative; -overflow: hidden; -} -footer .container { -} -footer p { -color: #8D8D8D; -} -footer a:hover, footer .widget li a:hover { -color:#333; -} -.footer-widgets { -overflow: hidden; -padding-bottom: 10px; -} -.footer-widgets h3 { -padding-bottom: 5px; -color: #594F4F; -} -footer a{ -} -.f-widget { -width: 32%; -float: left; -position: relative; -margin-right: 2%; -color: #8D8D8D; -} -.copyrights { -float: left; -width: 100%; -} -#copyright-note { -float: left; -} -#sidebars .wp-post-image, footer .wp-post-image { -margin-bottom: 0; -margin-top: 2px; -} -.postsby { -margin-bottom: -20px; -margin-top: 30px; -} -/*-[ Comment count ]--------------------------*/ -.bubble a{ -font-size: 14px; -line-height: 35px; -text-align: center; -width: 34px; -height: 34px; -font-family: 'BebasNeueRegular', sans-serif; -float: right; -background-color: #666; -border-radius: 20px; -color: white; -} -.bubble a:hover { -background-color: #79ACCD; -} -/*-[ Social Buttons ]-------------------------*/ -#social-icons { -margin-top:1em; -float:left; -} -.shareit { -font-size: 2em; -font-family: 'BebasNeueRegular', sans-serif; -float: left; - - padding: 5px 5px 0 0; -color: #C6C6C6; -text-shadow: 0px 1px #AAA; -} -.tagtext { -margin-right: 10px; -} -/*-[ Related Posts ]---------------------------*/ -.related-posts { -overflow: hidden; -} -.related-posts ul { -margin-left:0; -overflow: hidden; -margin-top:0; -} -.related-posts h3 { -font-size: 18px; -margin: 10px 0; -color: #666; -} -.relatedthumb img { -width: 75px; -height: 75px; -margin-top: 5px; -margin-bottom:0; -border: 1px solid #747474; -} -.related-posts li { -width:48%; -float: left; -list-style:none; -margin-right: 4%; -border-bottom: 1px solid #EEE; -margin-bottom: 12px; -min-height: 100px; -} -.rthumb { -float: left; -} -.related-posts .last { -margin-right:0; -} -.related-posts a { -color: #777; -font-weight: bold; -} -.related-posts a:hover { - color: #333; -} -.postauthor { - padding: 1.5em 1.6em 0.5em; - margin: 1.5em 0 1em 0; background-image: url(images/hbg.gif); border: 1px solid #D4CFC1; min-height: 100px; -} -.postauthor h4 { -color: #666; -font-weight: normal; -font-size: 22px; -margin-bottom: 5px; font-family: 'BebasNeueRegular', sans-serif; -text-shadow: 0px 2px whitesmoke; -} -.postauthor img { -float: right; -margin: 5px 0 15px 25px; -} -.postauthor h4 a { -} -.clear{ -clear:both; -} -.left { -float:left; -} -.right { -float:right; -} -.last { -margin-right:0!important; -padding-right:0!important; -} -/*-[ Subscribe Widget ]------------------------*/ -.mts-subscribe input[type="text"] { -color: #888; -border: 1px solid #DFDFDF; --webkit-transition: all 0.25s linear; --moz-transition: all 0.25s linear; -transition: all 0.25s linear; --webkit-box-sizing: border-box; --moz-box-sizing: border-box; -box-sizing: border-box; -width: 70%; -float: left; -padding: 9px; -} -.mts-subscribe input[type="text"]:hover { -border: 1px solid #C1C1C1; -} -.mts-subscribe input[type="submit"] { -background: #474747; -cursor: pointer; -color: white!important; -padding: 10px 12px; -float: right; -border: 0; --webkit-transition: all 0.25s linear; --moz-transition: all 0.25s linear; -transition: all 0.25s linear; -float:left; -height:35px; -} -.mts-subscribe input[type="submit"]:hover { -background: #333333; -} -/*-[ Ad Widgets ]------------------------------*/ -.ad-125 ul { -float: left; -width: 330px; -margin: 0; -list-style: none; -max-width: 100%; -} -.ad-125 li{ -float: left; -border: none; -list-style: none!important; -padding-left: 0; -background: none; -margin-bottom: 15px; -} -.ad-125 img { -padding: 0.4em; -background: #fff; -border: 1px solid #bbb; -} -li.oddad { -margin-right: 8%; -} -.ad-300 img { -padding: 0px; -background: #fff; -border: 1px solid #bbb; -} -footer .ad-300 img, footer .ad-125 img { -padding: 0; -background: #FAFAFA; -border: 0; -} -footer li.oddad { -margin-right: 5%; -} -/*-[ Calender Widget ]-------------------------*/ -#wp-calendar { -width: 300px; -} -#wp-calendar td { -text-align: center; -} -#wp-calendar caption { -font-size: 16px; -padding-bottom: 10px; -font-weight: bold; -} -#wp-calendar #prev { -text-align: left; -padding-left: 12px; -} -/*-[Comments]--------------*/ -.total-comments { -font-size: 18px; -font-family: 'BebasNeueRegular', arial; -} -.cnumber { -color: #2DB2EB; -} -#comments { -margin-right: 20px; -} -#comments .avatar { -float:left; -margin-right: 20px; -} -input.text-input, #commentform input { -padding: 11px; -} -input#author, input#email, input#url { -width: 380px; -background: white; -font-size: 14px; -} -input#author:hover, input#email:hover, input#url:hover, #comment:hover{ - -} -input#author, input#email, input#url, #comment { --webkit-transition: all 0.25s ease-in-out; --moz-transition: all 0.25s ease-in-out; -transition: all 0.25s ease-in-out; -} -.contactform input[type="text"] { -width: 380px; -} -.contact-submit, -#cancel-comment-reply-link { -padding: 7px 20px; -color: white; -border: 1px solid #383838; -cursor: pointer; -background:#333; -} -#commentform input#submit { -font-size: 14px; -line-height: 25px; -font-weight: normal; -background-color: #79ACCD; -padding: 7px 22px; -color: #fff; -text-decoration: none; -cursor: pointer; -display: inline-block; --webkit-transition: all 0.25s linear; --moz-transition: all 0.25s linear; -transition: all 0.25s linear; -border: 0; --webkit-border-radius: 4px; --moz-border-radius: 4px; -border-radius: 4px; -} -ol.commentlist { -margin-left: 0; -} -.commentlist li { -list-style: none; -margin: 10px 0; -padding: 20px 0; -border-top: 1px dashed #BBB; -} -.commentlist p { -margin-bottom: 1em; -line-height: 21px; -margin-left: 95px; -} -.fn { -font-size: 14px; -line-height: 1.375em; -font-style: normal; -font-family: arial; -} -.fn a { -color: #777; -font-weight:bold; -} -.comment-meta { -font-size: 12px; -font-style: italic; -} -.comment-meta a{ -color:#888; -} -.reply { -margin-top: 10px; -padding-bottom: 5px; -overflow: hidden; -width: 100%; -border-bottom: 1px solid #eee; -} -.reply a { -float: right; -padding: 0 14px; -font-family: "'BebasNeueRegular'", sans-serif; -} -.commentlist .children { -margin-left: 17%; -margin-top: 30px; -margin-bottom: 0; -} -.commentlist .children li { -margin-bottom: 0; -padding-bottom: 0; -} -.avatar { -float: left; -} -#respond h3{ -margin-top: 18px; -font-size: 18px; -margin: 15px 0 0 0; -padding: 0 0 20px 0; -color: #666; -} -.cancel-comment-reply a{ -float:right; -margin-top: -8px; -font-size: 14px; -} -.comment-awaiting-moderation { -font-style: italic; -font-weight: bold; -} -/*-[ Comment Form ]----------------------------*/ -#commentform textarea { -width: 96.4%; -border: 1px solid #D4CFC1; -background: white; -font-size: 14px; -padding: 5px 10px 10px 10px; -line-height: 25px; -font-family: georgia; -font-style: italic; -} -#commentform p { -margin-bottom: 15px; -} -/*-[ pagination ]------------------*/ -.pagination { -clear: both; -overflow: hidden; -margin-bottom: 20px; -float: left; -width: 96.5%; -padding: 10px 7px 7px 15px; -border: 1px solid #eee; --moz-box-shadow: 0px 3px #eee; --webkit-box-shadow: 0px 3px #eee; -box-shadow: 0px 3px #eee; --webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -font-family: arial; -} -.pagination ul { -list-style: none; -margin: 0; -} -.currenttext, .pagination a:hover { -background: #2DB2EB; -color: #fff!important; -margin: 0 6px; -display: inline-block; -float: left; -line-height: 1.2em; -text-decoration: none; -padding: 5px 10px; --webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -} -.pagination a, .pagination2 { -margin: 0 6px; -display: inline-block; -float: left; -font-weight: 400; -line-height: 1.2em; -text-decoration: none; -color: #4D4D4D; -padding: 5px 10px; -} -.pagination a:hover { -color:#000; -} -.pagination2 { -clear: both; -} -.top { -float: right; -margin-right: 20px; -} -.top a { -color: #555; -} -.top a:hover { -color:#BBB; -} -.pnavigation2 { -display: block; -width: 100%; -overflow: hidden; -padding: 0 0 10px 0; -} -/*----------------------------------------------- -/* Responsive -/*---------------------------------------------*/ -@media screen and (max-width:960px){ -#page, .container { -max-width: 96%; -} -.article { -width: 68%; -} -.sidebar.c-4-12 { -width: 30%; -} -.related-posts li { -margin-right: 10px; -} -img,embed{ -max-width:100%; -height:auto!important; -} -.ad-125 li { -max-width: 40%; -} -.footer-widgets #s, #sidebars #s { -width: 68%; -} -.ad-125 img { -padding: 0; -background: #FAFAFA; -border: 0; -} -.ad-300 { -width: 90%; -} -.mts-subscribe input[type="text"] { -width:60%; -} -} -@media screen and (max-width:728px){ -.widget-header { width:100%; } -} -@media screen and (max-width:700px){ -.article { -width: 98%; -} -#content_box { -padding-right: 0; -} -.sidebar.c-4-12 { -width: 98%; -} -.f-widget { -width: 48%; -} -} -@media screen and (max-width:600px){ -#navigation ul{float:none;display:inline-block;} -#navigation ul ul{display:none;} -.js #navigation > ul{display:none !important;} -.js #navigation select{display:inline-block !important;max-width:none;border:none;padding:7px 15px;margin-top:10px;width:100%;color: #fff; -background: #222;text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4); font-size: 12px; --moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset , 0 1px 1px rgba(255, 255, 255, 0.9); --webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset , 0 1px 1px rgba(255, 255, 255, 0.9); -box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset , 0 1px 1px rgba(255, 255, 255, 0.9); -} -} -@media screen and (max-width:480px){ -.f-widget { -width: 98%; -} -#featured-thumbnail { -max-width: 40%; -margin-right: 15px; -} -.postauthor img { -width: 22%; -} -} -@media screen and (max-width:450px){ -.related-posts li { -width: 100%; -} -.commentlist .children { -margin-left: 5%; -} -#comments .avatar { -width: 18%; -} -.commentlist p { -margin-left: 22.5%; -} -} -\ No newline at end of file diff --git a/themes/accentbox/fonts/BebasNeue-webfont.eot b/themes/accentbox/fonts/BebasNeue-webfont.eot Binary files differ. diff --git a/themes/accentbox/fonts/BebasNeue-webfont.svg b/themes/accentbox/fonts/BebasNeue-webfont.svg @@ -1,245 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> -<metadata> -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2010 by Ryoichi Tsunekawa All rights reserved -Designer : Ryoichi Tsunekawa -Foundry : Ryoichi Tsunekawa -</metadata> -<defs> -<font id="BebasNeueRegular" horiz-adv-x="811" > -<font-face units-per-em="2048" ascent="1638" descent="-410" /> -<missing-glyph horiz-adv-x="317" /> -<glyph unicode=" " horiz-adv-x="317" /> -<glyph unicode="	" horiz-adv-x="317" /> -<glyph unicode=" " horiz-adv-x="317" /> -<glyph unicode="!" horiz-adv-x="389" d="M82 836v598h225v-598l-28 -519h-168zM86 0v217h217v-217h-217z" /> -<glyph unicode=""" horiz-adv-x="665" d="M82 1434h217l-33 -422h-153zM367 1434h217l-33 -422h-154z" /> -<glyph unicode="#" horiz-adv-x="839" d="M31 410l16 159h100l39 375h-102l16 160h103l35 330h184l-35 -330h133l35 330h184l-34 -330h104l-16 -160h-105l-39 -375h105l-17 -159h-104l-43 -410h-184l43 410h-134l-43 -410h-184l43 410h-100zM332 569h133l39 375h-133z" /> -<glyph unicode="$" d="M70 365v98h213v-113q0 -139 116.5 -139t116.5 139q0 68 -32.5 127.5t-82 99t-105.5 89.5l-106 100q-49 49 -81.5 128t-32.5 175q0 297 237 350v107h185v-107q242 -49 241 -350v-45h-213v59q0 141 -112 141h-1q-112 0 -112 -141q0 -80 45 -146.5t110 -117.5l130 -108 q65 -56 110 -145t45 -201q0 -147 -62.5 -237.5t-180.5 -115.5v-104h-185v104q-244 49 -243 353z" /> -<glyph unicode="%" horiz-adv-x="1284" d="M70 743v471q0 111 55 170.5t161.5 59.5t162 -59.5t55.5 -170.5v-471q0 -111 -55.5 -170t-162 -59t-161.5 59t-55 170zM213 733q0 -90 73.5 -90t73.5 90v492q0 90 -73.5 90t-73.5 -90v-492zM287 0l565 1434h133l-565 -1434h-133zM780 219v471q0 111 55.5 170.5t162 59.5 t161.5 -59.5t55 -170.5v-471q0 -111 -55 -170t-161.5 -59t-162 59t-55.5 170zM924 209q0 -90 73.5 -90t73.5 90v491q0 90 -73.5 90t-73.5 -90v-491z" /> -<glyph unicode="&" horiz-adv-x="847" d="M84 311v146q0 231 156 301q-156 66 -156 295v26q0 354 336 355h258v-205h-254q-115 0 -115 -139v-89q0 -82 34 -116.5t101 -34.5h99v160h225v-160h59v-205h-59v-471q0 -117 25 -174h-230q-16 45 -20 113q-59 -129 -209 -129q-250 0 -250 327zM309 330q0 -141 117 -142 q111 0 117 125v332h-86q-78 0 -113 -42t-35 -140v-133z" /> -<glyph unicode="'" horiz-adv-x="368" d="M76 1434h217l-33 -422h-154z" /> -<glyph unicode="(" horiz-adv-x="514" d="M96 313v807q0 170 73 242t243 72h69v-185h-55q-55 0 -79.5 -27.5t-24.5 -101.5v-807q0 -74 24.5 -101.5t79.5 -27.5h55v-184h-69q-170 0 -243 71.5t-73 241.5z" /> -<glyph unicode=")" horiz-adv-x="514" d="M33 0v184h55q55 0 80 28t25 101v807q0 74 -25 101.5t-80 27.5h-55v185h69q170 0 243 -72t73 -242v-807q0 -170 -73 -241.5t-243 -71.5h-69z" /> -<glyph unicode="*" d="M4 1075l57 174l306 -153l-54 338h185l-54 -338l306 153l57 -174l-336 -57l240 -240l-148 -108l-157 303l-158 -303l-148 108l240 240z" /> -<glyph unicode="+" d="M51 637v160h275v276h159v-276h275v-160h-275v-281h-159v281h-275z" /> -<glyph unicode="," horiz-adv-x="380" d="M82 0v217h217v-194l-98 -228h-92l59 205h-86z" /> -<glyph unicode="-" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" /> -<glyph unicode="." horiz-adv-x="380" d="M82 0v217h217v-217h-217z" /> -<glyph unicode="/" horiz-adv-x="780" d="M10 0l565 1434h195l-565 -1434h-195z" /> -<glyph unicode="0" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM289 330q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="1" d="M221 1094v159q82 0 134.5 28t71.5 60.5t42 92.5h152v-1434h-226v1094h-174z" /> -<glyph unicode="2" d="M82 0v176q0 117 46 214t111 170l131 144q66 70 112 166t46 211q0 92 -29.5 128t-86.5 36q-117 0 -117 -141v-154h-213v140q0 174 86 267t250 93t250 -93t86 -267q0 -131 -50.5 -247t-120 -198t-137 -153.5t-109.5 -144.5q-33 -57 -33 -111q0 -16 3 -31h426v-205h-651z " /> -<glyph unicode="3" d="M70 344v119h213v-133q0 -141 116 -142q57 0 87 36t30 126v113q0 98 -35 140t-112 42h-76v205h88q68 0 101.5 34.5t33.5 116.5v80q0 92 -29.5 128t-87.5 36q-117 0 -116 -141v-92h-213v78q0 174 86 267t249.5 93t249.5 -93t86 -267v-37q0 -229 -157 -295q158 -70 157 -301 v-113q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267z" /> -<glyph unicode="4" d="M29 260v205l409 969h246v-969h107v-205h-107v-260h-225v260h-430zM236 465h223v530z" /> -<glyph unicode="5" d="M72 344v119h213v-133q0 -139 117 -140q116 0 116 140v315q0 141 -116.5 141t-116.5 -141v-43h-213l41 832h594v-205h-392l-18 -342q63 104 197 104q250 0 249 -327v-320q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267z" /> -<glyph unicode="6" d="M68 344v733q0 373 344 373q164 0 250 -93t86 -267v-37h-213v51q0 141 -117 141q-63 0 -94 -39t-31 -137v-262q59 127 209 127q250 0 250 -328v-262q0 -172 -88.5 -266t-254 -94t-253.5 94t-88 266zM293 330q0 -139 117 -140q116 0 116 140v258q0 141 -116.5 141 t-116.5 -141v-258z" /> -<glyph unicode="7" d="M68 1229v205h675v-197l-331 -1237h-226l330 1229h-448z" /> -<glyph unicode="8" d="M53 1044v46q0 172 91.5 266t261 94t261 -94t91.5 -266v-46q0 -211 -140 -288q139 -78 140 -299v-113q0 -172 -91.5 -266t-261 -94t-261 94t-91.5 266v113q0 221 140 299q-139 76 -140 288zM279 350q0 -162 127 -162q125 0 126 162v133q0 162 -126.5 162t-126.5 -162v-133 zM279 1001q0 -152 126 -152l1 1q126 0 126 151v80q0 164 -126.5 164t-126.5 -164v-80z" /> -<glyph unicode="9" d="M59 827v263q0 172 88.5 266t254 94t253.5 -94t88 -266v-734q0 -372 -342 -372h-2q-164 0 -250 93t-86 267v37h213v-51q0 -141 117 -142q63 0 94 39t31 138v262q-59 -127 -209 -127q-250 0 -250 327zM285 846q0 -141 116.5 -141t116.5 141v258q0 139 -116.5 139 t-116.5 -139v-258z" /> -<glyph unicode=":" horiz-adv-x="380" d="M82 0v217h217v-217h-217zM82 780v217h217v-217h-217z" /> -<glyph unicode=";" horiz-adv-x="380" d="M82 0v217h217v-194l-98 -228h-92l59 205h-86zM82 780v217h217v-217h-217z" /> -<glyph unicode="<" d="M61 637v160l668 245v-161l-459 -164l459 -164v-162z" /> -<glyph unicode="=" d="M72 471v160h667v-160h-667zM72 803v160h667v-160h-667z" /> -<glyph unicode=">" d="M82 391v162l459 164l-459 164v161l668 -245v-160z" /> -<glyph unicode="?" horiz-adv-x="737" d="M41 948v142q0 174 84 267t248 93t248 -93t84 -267q0 -125 -42 -228.5t-91.5 -160t-91.5 -137.5t-42 -167q0 -45 8 -80h-200q-12 37 -13 89q0 104 39 191t84 141.5t84 150.5t39 215q0 141 -112.5 141t-112.5 -141v-156h-213zM236 0v217h217v-217h-217z" /> -<glyph unicode="@" horiz-adv-x="1411" d="M49 594q0 193 48 358.5t139.5 291.5t238 199t330.5 73q303 0 436 -164t133 -439q0 -178 -39 -312t-102.5 -204.5t-127.5 -103.5t-130 -33q-168 0 -180 135q-60 -123 -187 -123h-12q-188 5 -188 239q0 36 4 77l22 207q16 152 80 229q61 74 160 74h10q127 -2 168 -127 l12 119h197l-62 -592q-1 -6 -1 -11q0 -40 42 -41q80 0 122 142.5t42 320.5q0 201 -100 316.5t-307 115.5q-270 0 -412.5 -200.5t-142.5 -556.5q0 -254 119.5 -394.5t357.5 -140.5q244 0 424 139l-17 -196q-172 -115 -419 -115q-334 0 -496 191.5t-162 525.5zM610 598 q-2 -16 -2 -30q0 -101 90 -105h6q43 0 71 29q30 32 38 100l21 194q1 11 1 21q0 42 -20 65q-24 29 -70 29h-6q-45 0 -73 -29q-29 -30 -37 -100z" /> -<glyph unicode="A" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM297 455h217l-108 725z" /> -<glyph unicode="B" horiz-adv-x="831" d="M82 0v1434h340q174 0 254 -81t80 -249v-51q0 -221 -146 -289q168 -66 168 -307v-117q0 -166 -87 -253t-255 -87h-354zM307 205h129q59 0 88 31.5t29 109.5v125q0 98 -33.5 136t-111.5 38h-101v-440zM307 850h88q68 0 101.5 35t33.5 116v80q1 148 -114 148h-109v-379z" /> -<glyph unicode="C" horiz-adv-x="790" d="M63 344v746q0 174 86.5 267t250 93t249.5 -93t86 -267v-140h-213v154q0 141 -116.5 141t-116.5 -141v-774q1 -140 117 -140q117 0 116 140v205h213v-191q0 -174 -86 -267t-249.5 -93t-250 93t-86.5 267z" /> -<glyph unicode="D" horiz-adv-x="835" d="M82 0v1434h356q336 0 336 -355v-725q0 -354 -336 -354h-356zM307 205h127q115 0 115 139v746q0 139 -115 139h-127v-1024z" /> -<glyph unicode="E" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614z" /> -<glyph unicode="F" horiz-adv-x="704" d="M82 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225z" /> -<glyph unicode="G" horiz-adv-x="798" d="M63 344v746q0 174 86.5 267t250 93t249.5 -93t86 -267v-140h-213v154q0 141 -116.5 141t-116.5 -141v-774q0 -139 117 -140q116 0 116 140v264h-102v205h315v-455q0 -174 -86 -267t-249.5 -93t-250 93t-86.5 267z" /> -<glyph unicode="H" horiz-adv-x="874" d="M82 0v1434h225v-615h256v615h230v-1434h-230v614h-256v-614h-225z" /> -<glyph unicode="I" horiz-adv-x="389" d="M82 0v1434h225v-1434h-225z" /> -<glyph unicode="J" horiz-adv-x="524" d="M20 0v205q25 -2 78 -2q129 0 129 137v1094h226v-1078q0 -360 -324 -360q-72 0 -109 4z" /> -<glyph unicode="K" horiz-adv-x="847" d="M82 0v1434h225v-625l295 625h225l-313 -639l313 -795h-231l-219 571l-70 -131v-440h-225z" /> -<glyph unicode="L" horiz-adv-x="694" d="M82 0v1434h225v-1229h371v-205h-596z" /> -<glyph unicode="M" horiz-adv-x="1107" d="M80 0v1434h313l166 -1018l154 1018h313v-1434h-213v1028l-156 -1028h-213l-168 1014v-1014h-196z" /> -<glyph unicode="N" horiz-adv-x="874" d="M80 0v1434h282l232 -859v859h201v-1434h-232l-280 1038v-1038h-203z" /> -<glyph unicode="O" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM289 330q1 -141 117 -142q117 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="P" horiz-adv-x="772" d="M82 0v1434h332q336 0 336 -355v-186q0 -354 -336 -354h-107v-539h-225zM307 743h107q55 0 82.5 31t27.5 105v215q0 74 -27.5 104.5t-82.5 30.5h-107v-486z" /> -<glyph unicode="Q" d="M63 1090q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -121 -43 -201q12 -30 60 -30h3h20v-201h-30q-145 0 -195 98q-71 -26 -151 -26h-6q-166 0 -254.5 94t-88.5 266v746zM289 330q0 -141 116 -142h1q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="R" horiz-adv-x="823" d="M82 0v1434h340q174 0 254 -81t80 -249v-113q0 -221 -148 -291q150 -63 150 -305v-221v-9q0 -110 24 -165h-229q-20 61 -21 176v225q0 98 -34.5 140.5t-112.5 42.5h-78v-584h-225zM307 788h88q68 0 101.5 35t33.5 117v141q1 148 -114 148h-109v-441z" /> -<glyph unicode="S" horiz-adv-x="765" d="M47 344v88h213v-102q0 -140 117 -140h1q116 0 116 140q0 80 -46 150t-110 128l-130 120q-66 63 -110.5 156t-44.5 206q0 174 84 267t248 93t248 -93t84 -267v-46h-213v60q0 141 -112.5 141t-112.5 -141q0 -59 24.5 -112.5t63.5 -96.5t86 -85t93 -88t85 -98.5t63.5 -124 t24.5 -155.5q0 -174 -86 -267t-250 -93t-250 93t-86 267z" /> -<glyph unicode="T" horiz-adv-x="729" d="M16 1229v205h697v-205h-236v-1229h-225v1229h-236z" /> -<glyph unicode="U" horiz-adv-x="815" d="M72 342v1092h225v-1106q1 -140 117 -140q117 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267z" /> -<glyph unicode="V" horiz-adv-x="823" d="M23 1434h227l172 -1170l172 1170h207l-221 -1434h-336z" /> -<glyph unicode="W" horiz-adv-x="1153" d="M31 1434h219l121 -1131l108 1131h217l113 -1139l117 1139h196l-159 -1434h-299l-82 764l-82 -764h-310z" /> -<glyph unicode="X" horiz-adv-x="880" d="M31 0l252 737l-236 697h234l170 -529l174 529h209l-236 -697l252 -737h-238l-184 567l-186 -567h-211z" /> -<glyph unicode="Y" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475z" /> -<glyph unicode="Z" horiz-adv-x="757" d="M47 0v201l428 1028h-407v205h639v-201l-428 -1028h428v-205h-660z" /> -<glyph unicode="[" horiz-adv-x="514" d="M96 0v1434h373v-185h-147v-1065h147v-184h-373z" /> -<glyph unicode="\" horiz-adv-x="780" d="M10 1434h195l565 -1434h-195z" /> -<glyph unicode="]" horiz-adv-x="514" d="M45 0v184h148v1065h-148v185h373v-1434h-373z" /> -<glyph unicode="^" d="M41 799l285 635h159l285 -635h-180l-184 430l-185 -430h-180z" /> -<glyph unicode="_" horiz-adv-x="1024" d="M0 -20h1024v-164h-1024v164z" /> -<glyph unicode="`" horiz-adv-x="512" d="M90 1737h232l139 -228h-162z" /> -<glyph unicode="a" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM297 455h217l-108 725z" /> -<glyph unicode="b" horiz-adv-x="831" d="M82 0v1434h340q174 0 254 -81t80 -249v-51q0 -221 -146 -289q168 -66 168 -307v-117q0 -166 -87 -253t-255 -87h-354zM307 205h129q59 0 88 31.5t29 109.5v125q0 98 -33.5 136t-111.5 38h-101v-440zM307 850h88q68 0 101.5 35t33.5 116v80q1 148 -114 148h-109v-379z" /> -<glyph unicode="c" horiz-adv-x="790" d="M63 344v746q0 174 86.5 267t250 93t249.5 -93t86 -267v-140h-213v154q0 141 -116.5 141t-116.5 -141v-774q1 -140 117 -140q117 0 116 140v205h213v-191q0 -174 -86 -267t-249.5 -93t-250 93t-86.5 267z" /> -<glyph unicode="d" horiz-adv-x="835" d="M82 0v1434h356q336 0 336 -355v-725q0 -354 -336 -354h-356zM307 205h127q115 0 115 139v746q0 139 -115 139h-127v-1024z" /> -<glyph unicode="e" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614z" /> -<glyph unicode="f" horiz-adv-x="704" d="M82 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225z" /> -<glyph unicode="g" horiz-adv-x="798" d="M63 344v746q0 174 86.5 267t250 93t249.5 -93t86 -267v-140h-213v154q0 141 -116.5 141t-116.5 -141v-774q0 -139 117 -140q116 0 116 140v264h-102v205h315v-455q0 -174 -86 -267t-249.5 -93t-250 93t-86.5 267z" /> -<glyph unicode="h" horiz-adv-x="874" d="M82 0v1434h225v-615h256v615h230v-1434h-230v614h-256v-614h-225z" /> -<glyph unicode="i" horiz-adv-x="389" d="M82 0v1434h225v-1434h-225z" /> -<glyph unicode="j" horiz-adv-x="524" d="M20 0v205q25 -2 78 -2q129 0 129 137v1094h226v-1078q0 -360 -324 -360q-72 0 -109 4z" /> -<glyph unicode="k" horiz-adv-x="847" d="M82 0v1434h225v-625l295 625h225l-313 -639l313 -795h-231l-219 571l-70 -131v-440h-225z" /> -<glyph unicode="l" horiz-adv-x="694" d="M82 0v1434h225v-1229h371v-205h-596z" /> -<glyph unicode="m" horiz-adv-x="1107" d="M80 0v1434h313l166 -1018l154 1018h313v-1434h-213v1028l-156 -1028h-213l-168 1014v-1014h-196z" /> -<glyph unicode="n" horiz-adv-x="874" d="M80 0v1434h282l232 -859v859h201v-1434h-232l-280 1038v-1038h-203z" /> -<glyph unicode="o" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM289 330q1 -141 117 -142q117 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="p" horiz-adv-x="772" d="M82 0v1434h332q336 0 336 -355v-186q0 -354 -336 -354h-107v-539h-225zM307 743h107q55 0 82.5 31t27.5 105v215q0 74 -27.5 104.5t-82.5 30.5h-107v-486z" /> -<glyph unicode="q" d="M63 1090q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -121 -43 -201q12 -30 60 -30h3h20v-201h-30q-145 0 -195 98q-71 -26 -151 -26h-6q-166 0 -254.5 94t-88.5 266v746zM289 330q0 -141 116 -142h1q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="r" horiz-adv-x="823" d="M82 0v1434h340q174 0 254 -81t80 -249v-113q0 -221 -148 -291q150 -63 150 -305v-221v-9q0 -110 24 -165h-229q-20 61 -21 176v225q0 98 -34.5 140.5t-112.5 42.5h-78v-584h-225zM307 788h88q68 0 101.5 35t33.5 117v141q1 148 -114 148h-109v-441z" /> -<glyph unicode="s" horiz-adv-x="765" d="M47 344v88h213v-102q0 -140 117 -140h1q116 0 116 140q0 80 -46 150t-110 128l-130 120q-66 63 -110.5 156t-44.5 206q0 174 84 267t248 93t248 -93t84 -267v-46h-213v60q0 141 -112.5 141t-112.5 -141q0 -59 24.5 -112.5t63.5 -96.5t86 -85t93 -88t85 -98.5t63.5 -124 t24.5 -155.5q0 -174 -86 -267t-250 -93t-250 93t-86 267z" /> -<glyph unicode="t" horiz-adv-x="729" d="M16 1229v205h697v-205h-236v-1229h-225v1229h-236z" /> -<glyph unicode="u" horiz-adv-x="815" d="M72 342v1092h225v-1106q1 -140 117 -140q117 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267z" /> -<glyph unicode="v" horiz-adv-x="823" d="M23 1434h227l172 -1170l172 1170h207l-221 -1434h-336z" /> -<glyph unicode="w" horiz-adv-x="1153" d="M31 1434h219l121 -1131l108 1131h217l113 -1139l117 1139h196l-159 -1434h-299l-82 764l-82 -764h-310z" /> -<glyph unicode="x" horiz-adv-x="880" d="M31 0l252 737l-236 697h234l170 -529l174 529h209l-236 -697l252 -737h-238l-184 567l-186 -567h-211z" /> -<glyph unicode="y" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475z" /> -<glyph unicode="z" horiz-adv-x="757" d="M47 0v201l428 1028h-407v205h639v-201l-428 -1028h428v-205h-660z" /> -<glyph unicode="{" horiz-adv-x="526" d="M23 625v184q63 0 85.5 25.5t26.5 97.5l17 274q8 113 68.5 170.5t158.5 57.5h115v-185h-33q-55 0 -80 -31.5t-29 -113.5l-10 -205q-8 -149 -133 -182q125 -33 133 -182l10 -205q4 -82 29 -114t80 -32h33v-184h-115q-98 0 -158.5 57.5t-68.5 169.5l-17 275 q-4 72 -26.5 97.5t-85.5 25.5z" /> -<glyph unicode="|" horiz-adv-x="1024" d="M430 -133v1700h184v-1700h-184z" /> -<glyph unicode="}" horiz-adv-x="526" d="M33 1249v185h114q98 0 159 -57.5t69 -170.5l16 -274q4 -72 26.5 -97.5t86.5 -25.5v-184q-63 0 -86 -26t-27 -97l-16 -275q-8 -113 -68.5 -170t-159.5 -57h-114v184h33q55 0 79.5 32t28.5 114l10 205q8 149 133 182q-125 33 -133 182l-10 205q-4 82 -28.5 113.5 t-79.5 31.5h-33z" /> -<glyph unicode="~" d="M16 680q70 104 126.5 144t117.5 40q59 0 155.5 -62.5t137.5 -62.5q33 0 58.5 23.5t76.5 93.5l107 -111q-70 -102 -125.5 -139t-118.5 -37q-59 0 -155.5 62.5t-137.5 62.5q-35 0 -60.5 -23t-74.5 -93z" /> -<glyph unicode="¡" horiz-adv-x="389" d="M82 0v598l29 518h168l28 -518v-598h-225zM86 1217v217h217v-217h-217z" /> -<glyph unicode="¢" d="M74 426v582q0 297 239 350v106h185v-104q248 -49 247 -352v-99h-213v113q0 141 -116.5 141t-116.5 -141v-610q0 -139 117 -140q116 0 116 140v163h213v-149q0 -305 -247 -352v-105h-185v107q-240 49 -239 350z" /> -<glyph unicode="£" d="M61 0v197q82 0 137.5 62.5t57.5 170.5h-166v174h137q-14 39 -56 123t-65.5 167t-23.5 196q0 174 84 267t248 93t247.5 -93t83.5 -267v-142h-213v156q0 141 -112.5 141t-112.5 -141q0 -113 24.5 -200t62.5 -167t50 -133h248v-174h-233q-14 -145 -115 -225h387v-205h-670z " /> -<glyph unicode="¥" d="M14 1434h236l166 -633l166 633h215l-262 -879h170v-113h-187v-92h187v-112h-187v-238h-225v238h-187v112h187v92h-187v113h168z" /> -<glyph unicode="¦" horiz-adv-x="1024" d="M430 -133v727h184v-727h-184zM430 840v727h184v-727h-184z" /> -<glyph unicode="§" d="M72 643q0 170 141 250q-141 92 -141 266q0 129 86 210t245.5 81t245.5 -76t86 -203v-73h-213v43q0 55 -29.5 89t-82.5 34q-113 0 -113 -115q0 -45 45 -79t109.5 -61.5t130 -64.5t110.5 -109.5t45 -177.5q0 -170 -143 -251q143 -88 143 -265q0 -129 -86 -210t-245.5 -81 t-245.5 76t-86 203v102h213v-71q0 -55 29.5 -89t82.5 -34q113 0 113 115q0 45 -45 78.5t-110.5 61t-130 64.5t-109.5 110t-45 177zM287 651q0 -57 31.5 -92t93.5 -65q49 8 79.5 52t30.5 103q0 94 -127 156q-49 -8 -78.5 -51.5t-29.5 -102.5z" /> -<glyph unicode="¨" horiz-adv-x="512" d="M2 1509v197h197v-197h-197zM313 1509v197h197v-197h-197z" /> -<glyph unicode="©" horiz-adv-x="1507" d="M41 716.5q0 317.5 204 525.5t509 208t508.5 -208t203.5 -525.5t-203.5 -525t-508.5 -207.5t-509 207.5t-204 525zM188 717q0 -256 161 -423t404.5 -167t404.5 167t161 423t-161 423t-404.5 167t-404.5 -167t-161 -423zM514 516v397q0 254 231.5 254t231.5 -254v-73h-148 v86q0 98 -79.5 98t-79.5 -98v-418q0 -96 79.5 -96t79.5 96v123h148v-115q0 -250 -231.5 -250t-231.5 250z" /> -<glyph unicode="ª" horiz-adv-x="569" d="M61 446v142h435v-142h-435zM61 879v8q0 137 76 194.5t215 61.5v94q0 76 -57 76q-70 0 -70 -88v-47h-135v39q0 227 211 227q195 0 195 -227v-535h-121l-8 98q-35 -108 -144 -108h-2q-160 0 -160 207zM205 909v-18q0 -88 74 -88q68 0 73 74v159q-147 -6 -147 -127z" /> -<glyph unicode="«" horiz-adv-x="727" d="M33 719l127 526h202l-124 -526l124 -559h-202zM365 719l127 526h202l-125 -526l125 -559h-202z" /> -<glyph unicode="¬" d="M51 637v160h709v-441h-160v281h-549z" /> -<glyph unicode="­" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" /> -<glyph unicode="®" horiz-adv-x="1507" d="M41 716.5q0 317.5 204 525.5t509 208t508.5 -208t203.5 -525.5t-203.5 -525t-508.5 -207.5t-509 207.5t-204 525zM188 717q0 -256 161 -423t404.5 -167t404.5 167t161 423t-161 423t-404.5 167t-404.5 -167t-161 -423zM528 279v876h238q231 0 231 -229v-19 q0 -156 -106 -202q106 -43 106 -211v-95q1 -79 19 -120h-160q-14 37 -14 122v95q0 70 -24.5 98.5t-80.5 28.5h-53v-344h-156zM684 766h64q94 0 94 104v37q0 105 -84 105h-74v-246z" /> -<glyph unicode="¯" horiz-adv-x="512" d="M20 1518v159h472v-159h-472z" /> -<glyph unicode="°" horiz-adv-x="466" d="M31 1247q0 84 59.5 143.5t143 59.5t143 -59.5t59.5 -143.5t-59.5 -143.5t-143 -59.5t-143 59.5t-59.5 143.5zM133 1247q0 -41 30 -70.5t70.5 -29.5t70.5 29.5t30 70.5t-30 71t-70.5 30t-70.5 -30t-30 -71z" /> -<glyph unicode="±" d="M72 356v160h254v164h-254v160h254v233h159v-233h254v-160h-254v-164h254v-160h-667z" /> -<glyph unicode="²" horiz-adv-x="573" d="M86 719v110q0 74 28.5 136.5t70.5 108.5l84 92q42 46 71 108.5t29 134.5q0 102 -74 102t-74 -90v-96h-135v88q0 227 213 227t213 -227q0 -100 -48 -191.5t-104.5 -144.5t-98.5 -115q-34 -49 -34 -93q0 -11 2 -21h271v-129h-414z" /> -<glyph unicode="³" horiz-adv-x="573" d="M74 1362v47q0 229 213 229t213 -229v-23q0 -145 -101 -186q100 -43 101 -190v-72q0 -229 -213 -229t-213 229v74h135v-84q0 -90 73.5 -90t73.5 104v70q0 63 -21.5 88.5t-70.5 25.5h-49v129h55q86 0 86 99v51q0 104 -73.5 104t-73.5 -90v-57h-135z" /> -<glyph unicode="´" horiz-adv-x="512" d="M55 1509l140 228h221l-209 -228h-152z" /> -<glyph unicode="¶" d="M29 893v186q0 354 336 355h364v-1567h-164v1403h-110v-1403h-164l4 676q-127 0 -196.5 96t-69.5 254z" /> -<glyph unicode="·" horiz-adv-x="380" d="M82 608v217h217v-217h-217z" /> -<glyph unicode="¸" horiz-adv-x="512" d="M53 -162h152v-16q0 -41 45 -41q51 0 51 49q0 53 -74 53h-20v146h98v-109q78 0 115 -21.5t37 -74.5q0 -76 -51.5 -100.5t-155.5 -24.5q-197 0 -197 119v20z" /> -<glyph unicode="¹" horiz-adv-x="409" d="M51 1413v100q74 0 105.5 29t54.5 86h94v-909h-143v694h-111z" /> -<glyph unicode="º" horiz-adv-x="573" d="M70 446v142h434v-142h-434zM70 899v318q0 109 56 168t160.5 59t161 -59.5t56.5 -167.5v-318q0 -109 -56.5 -168t-161 -59t-160.5 59t-56 168zM213 891q0 -88 73.5 -88t73.5 88v334q0 88 -73.5 88t-73.5 -88v-334z" /> -<glyph unicode="»" horiz-adv-x="727" d="M33 160l125 559l-125 526h203l126 -526l-126 -559h-203zM365 160l124 559l-124 526h202l127 -526l-127 -559h-202z" /> -<glyph unicode="¼" horiz-adv-x="1284" d="M133 1219v100q74 0 105.5 28.5t54.5 86.5h94v-910h-143v695h-111zM328 0l565 1434h133l-565 -1434h-133zM760 164v131l260 614h156v-614h67v-131h-67v-164h-142v164h-274zM889 295h145v336z" /> -<glyph unicode="½" horiz-adv-x="1284" d="M133 1219v100q74 0 105.5 28.5t54.5 86.5h94v-910h-143v695h-111zM266 0l565 1434h134l-566 -1434h-133zM797 606v88q0 227 213 228h1q212 0 212 -228q0 -100 -48.5 -191t-104.5 -144.5t-98 -114.5q-34 -50 -34 -94q0 -11 2 -21h270v-129h-413v111q0 74 28.5 136 t70.5 108l84 93q42 46 70.5 108t28.5 134q0 102 -74 103q-73 0 -73 -91v-96h-135z" /> -<glyph unicode="¾" horiz-adv-x="1284" d="M74 1167v47q0 229 213 230h1q212 0 212 -230v-22q0 -145 -101 -186q100 -43 101 -191v-72q0 -229 -213 -229t-213 229v74h135v-84q0 -90 73 -90v1q74 0 74 104v69q0 63 -21.5 89t-70.5 26h-49v129h55q86 0 86 98v51q0 104 -74 105q-73 0 -73 -90v-58h-135zM348 0 l565 1434h134l-566 -1434h-133zM760 164v131l260 614h156v-614h67v-131h-67v-164h-142v164h-274zM889 295h145v336z" /> -<glyph unicode="¿" horiz-adv-x="737" d="M33 344q0 125 42 228.5t91 159.5t91 137t42 167q0 45 -8 80h201q12 -37 12 -88q0 -104 -39 -191t-84 -141.5t-84 -150.5t-39 -215q0 -141 112 -142h1q112 0 112 142v155h213v-141q0 -174 -84 -267t-247.5 -93t-247.5 93t-84 267zM285 1217v217h217v-217h-217z" /> -<glyph unicode="À" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM170 1737h231l140 -228h-162zM297 455h217l-108 725z" /> -<glyph unicode="Á" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM297 455h217l-108 725zM297 1509l139 228h221l-208 -228h-152z" /> -<glyph unicode="Â" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM133 1509l182 228h203l182 -228h-192l-92 113l-90 -113h-193zM297 455h217l-108 725z" /> -<glyph unicode="Ã" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM139 1577q51 139 174 139q47 0 102.5 -25.5t82.5 -25.5q59 0 88 59l108 -75q-51 -139 -174 -140q-45 0 -100 26t-84 26q-59 0 -88 -60zM297 455h217l-108 725z" /> -<glyph unicode="Ä" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM162 1509v197h196v-197h-196zM297 455h217l-108 725zM473 1509v197h197v-197h-197z" /> -<glyph unicode="Å" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM252 1667q0 70 47 117t116.5 47t117 -47t47.5 -117t-47.5 -117t-117 -47t-116.5 47t-47 117zM297 455h217l-108 725zM354 1667q0 -27 17.5 -44t44 -17t44 17t17.5 44t-17.5 44.5t-44 17.5t-44 -17.5 t-17.5 -44.5z" /> -<glyph unicode="Æ" horiz-adv-x="1187" d="M8 0l383 1434h739v-205h-389v-400h310v-204h-310v-420h389v-205h-614v260h-227l-66 -260h-215zM340 455h176v690z" /> -<glyph unicode="Ç" horiz-adv-x="790" d="M63 344v746q0 174 86.5 267t250 93t249.5 -93t86 -267v-140h-213v154q0 141 -116.5 141t-116.5 -141v-774q0 -139 117 -140q116 0 116 140v205h213v-191q0 -160 -74.5 -253t-216.5 -105v-66q78 0 115 -21.5t37 -74.5q0 -76 -51 -100.5t-156 -24.5q-197 0 -196 119v20h151 v-16q0 -41 45 -41q51 0 51 49q0 53 -73 53h-21v105q-283 29 -283 356z" /> -<glyph unicode="È" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM139 1737h232l139 -228h-162z" /> -<glyph unicode="É" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM268 1509l140 228h221l-209 -228h-152z" /> -<glyph unicode="Ê" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM102 1509l183 228h202l183 -228h-193l-92 113l-90 -113h-193z" /> -<glyph unicode="Ë" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM133 1509v197h197v-197h-197zM444 1509v197h197v-197h-197z" /> -<glyph unicode="Ì" horiz-adv-x="389" d="M-51 1737h231l139 -228h-161zM82 0v1434h225v-1434h-225z" /> -<glyph unicode="Í" horiz-adv-x="389" d="M76 1509l139 228h221l-209 -228h-151zM82 0v1434h225v-1434h-225z" /> -<glyph unicode="Î" horiz-adv-x="389" d="M-88 1509l182 228h203l182 -228h-192l-92 113l-91 -113h-192zM82 0v1434h225v-1434h-225z" /> -<glyph unicode="Ï" horiz-adv-x="389" d="M-59 1509v197h196v-197h-196zM82 0v1434h225v-1434h-225zM252 1509v197h197v-197h-197z" /> -<glyph unicode="Ð" horiz-adv-x="835" d="M8 625v184h74v625h356q336 0 336 -355v-725q0 -354 -336 -354h-356v625h-74zM307 205h127q115 0 115 139v746q0 139 -115 139h-127v-420h139v-184h-139v-420z" /> -<glyph unicode="Ñ" horiz-adv-x="874" d="M80 0v1434h282l232 -859v859h201v-1434h-232l-280 1038v-1038h-203zM160 1577q51 139 174 139q47 0 102 -25.5t82 -25.5q59 0 88 59l109 -75q-51 -139 -174 -140q-45 0 -100.5 26t-84.5 26q-59 0 -88 -60z" /> -<glyph unicode="Ò" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM158 1737h231l139 -228h-161zM289 330q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="Ó" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM287 1509l139 228h221l-209 -228h-151zM289 330q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="Ô" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM121 1509l182 228h203l182 -228h-192l-93 113l-90 -113h-192zM289 330q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="Õ" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM129 1577q51 139 174 139q45 0 100 -25.5t84 -25.5q59 0 88 59l109 -75q-51 -139 -174 -140q-47 0 -102.5 26t-81.5 26q-59 0 -88 -60zM289 330 q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="Ö" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM152 1509v197h196v-197h-196zM289 330q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774zM463 1509v197h196v-197h-196z" /> -<glyph unicode="×" d="M78 500l217 217l-215 215l108 108l218 -215l217 217l108 -108l-217 -217l217 -217l-108 -109l-217 217l-220 -217z" /> -<glyph unicode="Ø" d="M63 344v746q0 172 88.5 266t254.5 94q123 0 204 -53l41 112l76 -26l-53 -146q74 -88 74 -247v-746q0 -172 -88.5 -266t-253.5 -94q-127 0 -205 51l-41 -111l-76 27l51 143q-72 94 -72 250zM289 514l229 633q-14 98 -112 98q-117 0 -117 -141v-590zM291 287 q17 -99 115 -99q117 0 116 142v590z" /> -<glyph unicode="Ù" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -139 117 -140q116 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267zM162 1737h231l139 -228h-161z" /> -<glyph unicode="Ú" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -139 117 -140q116 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267zM291 1509l139 228h221l-209 -228h-151z" /> -<glyph unicode="Û" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -139 117 -140q116 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267zM127 1509l182 228h203l182 -228h-192l-92 113l-91 -113h-192z" /> -<glyph unicode="Ü" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -139 117 -140q116 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267zM158 1509v197h196v-197h-196zM469 1509v197h197v-197h-197z" /> -<glyph unicode="Ý" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475zM295 1509l139 228h221l-209 -228h-151z" /> -<glyph unicode="Þ" horiz-adv-x="772" d="M82 0v1434h225v-164h107q336 0 336 -355v-186q0 -354 -336 -354h-107v-375h-225zM307 580h107q55 0 82.5 30.5t27.5 104.5v215q0 74 -27.5 104.5t-82.5 30.5h-107v-485z" /> -<glyph unicode="ß" horiz-adv-x="1531" d="M47 344v88h213v-102q0 -139 117 -140h1q116 0 116 140q0 80 -45.5 150.5t-110.5 127.5l-130 120q-65 63 -110 156t-45 206q0 174 84 267t248 93t248 -93t84 -267v-46h-213v60q0 141 -112.5 141t-112.5 -141q0 -59 24.5 -112.5t63.5 -96.5t86 -85t93 -88t85 -98.5 t63.5 -124t24.5 -155.5q0 -174 -86 -267t-250 -93t-250 93t-86 267zM813 344v88h213v-102q0 -139 117 -139q0 -1 1 -1q116 0 116 140q0 80 -45.5 150.5t-110.5 128.5l-130 120q-65 62 -110 155t-45 206q0 174 84 267t248 93t248 -93t84 -267v-46h-213v60q0 141 -113 141 t-113 -141q0 -59 25 -112.5t63.5 -96.5t86 -85t93.5 -88t85 -98.5t63.5 -124t24.5 -155.5q0 -174 -86 -267t-250 -93t-250 93t-86 267z" /> -<glyph unicode="à" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM170 1737h231l140 -228h-162zM297 455h217l-108 725z" /> -<glyph unicode="á" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM297 455h217l-108 725zM297 1509l139 228h221l-208 -228h-152z" /> -<glyph unicode="â" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM133 1509l182 228h203l182 -228h-192l-92 113l-90 -113h-193zM297 455h217l-108 725z" /> -<glyph unicode="ã" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM139 1577q51 139 174 139q47 0 102.5 -25.5t82.5 -25.5q59 0 88 59l108 -75q-51 -139 -174 -140q-45 0 -100 26t-84 26q-59 0 -88 -60zM297 455h217l-108 725z" /> -<glyph unicode="ä" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM162 1509v197h196v-197h-196zM297 455h217l-108 725zM473 1509v197h197v-197h-197z" /> -<glyph unicode="å" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM252 1667q0 70 47 117t116.5 47t117 -47t47.5 -117t-47.5 -117t-117 -47t-116.5 47t-47 117zM297 455h217l-108 725zM354 1667q0 -27 17.5 -44t44 -17t44 17t17.5 44t-17.5 44.5t-44 17.5t-44 -17.5 t-17.5 -44.5z" /> -<glyph unicode="æ" horiz-adv-x="1187" d="M8 0l383 1434h739v-205h-389v-400h310v-204h-310v-420h389v-205h-614v260h-227l-66 -260h-215zM340 455h176v690z" /> -<glyph unicode="ç" horiz-adv-x="790" d="M63 344v746q0 174 86.5 267t250 93t249.5 -93t86 -267v-140h-213v154q0 141 -116.5 141t-116.5 -141v-774q0 -139 117 -140q116 0 116 140v205h213v-191q0 -160 -74.5 -253t-216.5 -105v-66q78 0 115 -21.5t37 -74.5q0 -76 -51 -100.5t-156 -24.5q-197 0 -196 119v20h151 v-16q0 -41 45 -41q51 0 51 49q0 53 -73 53h-21v105q-283 29 -283 356z" /> -<glyph unicode="è" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM139 1737h232l139 -228h-162z" /> -<glyph unicode="é" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM268 1509l140 228h221l-209 -228h-152z" /> -<glyph unicode="ê" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM102 1509l183 228h202l183 -228h-193l-92 113l-90 -113h-193z" /> -<glyph unicode="ë" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM133 1509v197h197v-197h-197zM444 1509v197h197v-197h-197z" /> -<glyph unicode="ì" horiz-adv-x="389" d="M-51 1737h231l139 -228h-161zM82 0v1434h225v-1434h-225z" /> -<glyph unicode="í" horiz-adv-x="389" d="M76 1509l139 228h221l-209 -228h-151zM82 0v1434h225v-1434h-225z" /> -<glyph unicode="î" horiz-adv-x="389" d="M-88 1509l182 228h203l182 -228h-192l-92 113l-91 -113h-192zM82 0v1434h225v-1434h-225z" /> -<glyph unicode="ï" horiz-adv-x="389" d="M-59 1509v197h196v-197h-196zM82 0v1434h225v-1434h-225zM252 1509v197h197v-197h-197z" /> -<glyph unicode="ð" horiz-adv-x="835" d="M8 625v184h74v625h356q336 0 336 -355v-725q0 -354 -336 -354h-356v625h-74zM307 205h127q115 0 115 139v746q0 139 -115 139h-127v-420h139v-184h-139v-420z" /> -<glyph unicode="ñ" horiz-adv-x="874" d="M80 0v1434h282l232 -859v859h201v-1434h-232l-280 1038v-1038h-203zM160 1577q51 139 174 139q47 0 102 -25.5t82 -25.5q59 0 88 59l109 -75q-51 -139 -174 -140q-45 0 -100.5 26t-84.5 26q-59 0 -88 -60z" /> -<glyph unicode="ò" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM158 1737h231l139 -228h-161zM289 330q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="ó" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM287 1509l139 228h221l-209 -228h-151zM289 330q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="ô" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM121 1509l182 228h203l182 -228h-192l-93 113l-90 -113h-192zM289 330q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="õ" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM129 1577q51 139 174 139q45 0 100 -25.5t84 -25.5q59 0 88 59l109 -75q-51 -139 -174 -140q-47 0 -102.5 26t-81.5 26q-59 0 -88 -60zM289 330 q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774z" /> -<glyph unicode="ö" d="M63 344v746q0 172 88.5 266t254 94t254 -94t88.5 -266v-746q0 -172 -88.5 -266t-254 -94t-254 94t-88.5 266zM152 1509v197h196v-197h-196zM289 330q0 -141 117 -142q116 0 116 142v774q0 141 -116.5 141t-116.5 -141v-774zM463 1509v197h196v-197h-196z" /> -<glyph unicode="÷" d="M51 637v160h709v-160h-709zM297 295v217h217v-217h-217zM297 920v217h217v-217h-217z" /> -<glyph unicode="ø" d="M63 344v746q0 172 88.5 266t254.5 94q123 0 204 -53l41 112l76 -26l-53 -146q74 -88 74 -247v-746q0 -172 -88.5 -266t-253.5 -94q-127 0 -205 51l-41 -111l-76 27l51 143q-72 94 -72 250zM289 514l229 633q-14 98 -112 98q-117 0 -117 -141v-590zM291 287 q17 -99 115 -99q117 0 116 142v590z" /> -<glyph unicode="ù" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -139 117 -140q116 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267zM162 1737h231l139 -228h-161z" /> -<glyph unicode="ú" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -139 117 -140q116 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267zM291 1509l139 228h221l-209 -228h-151z" /> -<glyph unicode="û" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -139 117 -140q116 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267zM127 1509l182 228h203l182 -228h-192l-92 113l-91 -113h-192z" /> -<glyph unicode="ü" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -139 117 -140q116 0 116 140v1106h213v-1092q0 -174 -86 -267t-249.5 -93t-249.5 93t-86 267zM158 1509v197h196v-197h-196zM469 1509v197h197v-197h-197z" /> -<glyph unicode="ý" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475zM295 1509l139 228h221l-209 -228h-151z" /> -<glyph unicode="þ" horiz-adv-x="772" d="M82 0v1434h225v-164h107q336 0 336 -355v-186q0 -354 -336 -354h-107v-375h-225zM307 580h107q55 0 82.5 30.5t27.5 104.5v215q0 74 -27.5 104.5t-82.5 30.5h-107v-485z" /> -<glyph unicode="ÿ" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475zM160 1509v197h196v-197h-196zM471 1509v197h197v-197h-197z" /> -<glyph unicode="Œ" horiz-adv-x="1200" d="M61 354v725q0 354 336 355h746v-205h-389v-400h309v-204h-309v-420h389v-205h-746q-336 0 -336 354zM287 344q0 -139 114 -139h127v1024h-127q-115 0 -114 -139v-746z" /> -<glyph unicode="œ" horiz-adv-x="1200" d="M61 354v725q0 354 336 355h746v-205h-389v-400h309v-204h-309v-420h389v-205h-746q-336 0 -336 354zM287 344q0 -139 114 -139h127v1024h-127q-115 0 -114 -139v-746z" /> -<glyph unicode="Ÿ" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475zM160 1509v197h196v-197h-196zM471 1509v197h197v-197h-197z" /> -<glyph unicode="ˆ" horiz-adv-x="512" d="M-27 1509l183 228h202l183 -228h-193l-92 113l-90 -113h-193z" /> -<glyph unicode="˜" horiz-adv-x="512" d="M-20 1577q51 139 174 139q47 0 102 -25.5t82 -25.5q59 0 88 59l109 -75q-51 -139 -175 -140q-45 0 -100 26t-84 26q-59 0 -88 -60z" /> -<glyph unicode=" " horiz-adv-x="915" /> -<glyph unicode=" " horiz-adv-x="1831" /> -<glyph unicode=" " horiz-adv-x="915" /> -<glyph unicode=" " horiz-adv-x="1831" /> -<glyph unicode=" " horiz-adv-x="610" /> -<glyph unicode=" " horiz-adv-x="457" /> -<glyph unicode=" " horiz-adv-x="305" /> -<glyph unicode=" " horiz-adv-x="305" /> -<glyph unicode=" " horiz-adv-x="228" /> -<glyph unicode=" " horiz-adv-x="366" /> -<glyph unicode=" " horiz-adv-x="101" /> -<glyph unicode="‐" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" /> -<glyph unicode="‑" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" /> -<glyph unicode="‒" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" /> -<glyph unicode="–" horiz-adv-x="1024" d="M0 625v184h1024v-184h-1024z" /> -<glyph unicode="—" horiz-adv-x="2048" d="M0 625v184h2048v-184h-2048z" /> -<glyph unicode="‘" horiz-adv-x="380" d="M82 1012v194l98 228h92l-59 -205h86v-217h-217z" /> -<glyph unicode="’" horiz-adv-x="380" d="M82 1217v217h217v-195l-98 -227h-92l59 205h-86z" /> -<glyph unicode="‚" horiz-adv-x="380" d="M82 0v217h217v-194l-98 -228h-92l59 205h-86z" /> -<glyph unicode="“" horiz-adv-x="679" d="M82 1012v194l98 228h92l-59 -205h86v-217h-217zM381 1012v194l98 228h92l-59 -205h86v-217h-217z" /> -<glyph unicode="”" horiz-adv-x="679" d="M82 1217v217h217v-195l-98 -227h-92l59 205h-86zM381 1217v217h217v-195l-98 -227h-92l59 205h-86z" /> -<glyph unicode="„" horiz-adv-x="679" d="M82 0v217h217v-194l-98 -228h-92l59 205h-86zM381 0v217h217v-194l-98 -228h-92l59 205h-86z" /> -<glyph unicode="•" d="M121 717q0 119 83 201.5t201.5 82.5t201.5 -82.5t83 -201.5t-83 -202t-201.5 -83t-201.5 83t-83 202z" /> -<glyph unicode="…" horiz-adv-x="978" d="M82 0v217h217v-217h-217zM381 0v217h217v-217h-217zM680 0v217h217v-217h-217z" /> -<glyph unicode=" " horiz-adv-x="366" /> -<glyph unicode="‹" horiz-adv-x="401" d="M33 719l123 545h213l-121 -545l121 -578h-213z" /> -<glyph unicode="›" horiz-adv-x="401" d="M33 141l121 578l-121 545h213l123 -545l-123 -578h-213z" /> -<glyph unicode=" " horiz-adv-x="457" /> -<glyph unicode="€" d="M39 553v113h57v112h-57v113h57v199q0 174 83 267t247 93t247 -93t83 -267v-105h-213v119q0 141 -110.5 141t-110.5 -141v-213h315v-113h-315v-112h315v-113h-315v-223q0 -139 110 -140h1q110 0 110 140v129h213v-115q0 -174 -83 -267t-247 -93t-247 93t-83 267v209h-57z " /> -<glyph unicode="™" horiz-adv-x="1200" d="M20 1303v131h443v-131h-150v-598h-143v598h-150zM549 705v729h199l106 -512l96 512h199v-729h-135v518l-96 -518h-136l-108 514v-514h-125z" /> -<glyph unicode="" horiz-adv-x="1435" d="M0 1435h1435v-1435h-1435v1435z" /> -<glyph unicode="fi" horiz-adv-x="1093" d="M82 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225zM786 0v1434h225v-1434h-225z" /> -<glyph unicode="fl" horiz-adv-x="1398" d="M82 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225zM786 0v1434h225v-1229h371v-205h-596z" /> -<glyph unicode="ffi" horiz-adv-x="1797" d="M82 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225zM786 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225zM1490 0v1434h225v-1434h-225z" /> -<glyph unicode="ffl" horiz-adv-x="2102" d="M82 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225zM786 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225zM1490 0v1434h225v-1229h371v-205h-596z" /> -</font> -</defs></svg> -\ No newline at end of file diff --git a/themes/accentbox/fonts/BebasNeue-webfont.ttf b/themes/accentbox/fonts/BebasNeue-webfont.ttf Binary files differ. diff --git a/themes/accentbox/fonts/BebasNeue-webfont.woff b/themes/accentbox/fonts/BebasNeue-webfont.woff Binary files differ. diff --git a/themes/accentbox/fonts/font credit.txt b/themes/accentbox/fonts/font credit.txt @@ -1 +0,0 @@ -Dharma Type http://dharmatype.com/ diff --git a/themes/accentbox/images/103642-1335226181.png b/themes/accentbox/images/103642-1335226181.png Binary files differ. diff --git a/themes/accentbox/images/125x125.gif b/themes/accentbox/images/125x125.gif Binary files differ. diff --git a/themes/accentbox/images/125x125.gif.png b/themes/accentbox/images/125x125.gif.png Binary files differ. diff --git a/themes/accentbox/images/2457315858_32ffd98aec_n-150x150.jpg b/themes/accentbox/images/2457315858_32ffd98aec_n-150x150.jpg Binary files differ. diff --git a/themes/accentbox/images/2470289415_b98e0e1dae_n-150x150.jpg b/themes/accentbox/images/2470289415_b98e0e1dae_n-150x150.jpg Binary files differ. diff --git a/themes/accentbox/images/300x250.gif b/themes/accentbox/images/300x250.gif Binary files differ. diff --git a/themes/accentbox/images/300x250.gif.png b/themes/accentbox/images/300x250.gif.png Binary files differ. diff --git a/themes/accentbox/images/3478158612_4a09ab2d3c-150x150.jpg b/themes/accentbox/images/3478158612_4a09ab2d3c-150x150.jpg Binary files differ. diff --git a/themes/accentbox/images/44066633_e0ab44de09_n-150x150.jpg b/themes/accentbox/images/44066633_e0ab44de09_n-150x150.jpg Binary files differ. diff --git a/themes/accentbox/images/6585158069_29788f608e_n-150x150.jpg b/themes/accentbox/images/6585158069_29788f608e_n-150x150.jpg Binary files differ. diff --git a/themes/accentbox/images/arrow.png b/themes/accentbox/images/arrow.png Binary files differ. diff --git a/themes/accentbox/images/cbg.png b/themes/accentbox/images/cbg.png Binary files differ. diff --git a/themes/accentbox/images/delicious.png b/themes/accentbox/images/delicious.png Binary files differ. diff --git a/themes/accentbox/images/digg.png b/themes/accentbox/images/digg.png Binary files differ. diff --git a/themes/accentbox/images/facebook.png b/themes/accentbox/images/facebook.png Binary files differ. diff --git a/themes/accentbox/images/hbg.gif b/themes/accentbox/images/hbg.gif Binary files differ. diff --git a/themes/accentbox/images/logo.png b/themes/accentbox/images/logo.png Binary files differ. diff --git a/themes/accentbox/images/nobg.png b/themes/accentbox/images/nobg.png Binary files differ. diff --git a/themes/accentbox/images/nothumb.png b/themes/accentbox/images/nothumb.png Binary files differ. diff --git a/themes/accentbox/images/quote.png b/themes/accentbox/images/quote.png Binary files differ. diff --git a/themes/accentbox/images/relthumb.png b/themes/accentbox/images/relthumb.png Binary files differ. diff --git a/themes/accentbox/images/search.png b/themes/accentbox/images/search.png Binary files differ. diff --git a/themes/accentbox/images/smallthumb.png b/themes/accentbox/images/smallthumb.png Binary files differ. diff --git a/themes/accentbox/images/stumbleupon.png b/themes/accentbox/images/stumbleupon.png Binary files differ. diff --git a/themes/accentbox/images/stylishuserinterface300x250.jpg b/themes/accentbox/images/stylishuserinterface300x250.jpg Binary files differ. diff --git a/themes/accentbox/images/thumb.png b/themes/accentbox/images/thumb.png Binary files differ. diff --git a/themes/accentbox/images/thumbs_arrow.png b/themes/accentbox/images/thumbs_arrow.png Binary files differ. diff --git a/themes/accentbox/images/tick.png b/themes/accentbox/images/tick.png Binary files differ. diff --git a/themes/accentbox/images/twitter.png b/themes/accentbox/images/twitter.png Binary files differ. diff --git a/themes/accentbox/index.php b/themes/accentbox/index.php @@ -1,324 +0,0 @@ -<!DOCTYPE html> -<html crossriderapp2258="true" class=" js flexbox no-touch rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio" dir="ltr" lang="en"><head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> - <meta charset="UTF-8"> - - <title>Accentbox Theme Demo</title> - - <!--iOS/android/handheld specific --> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta name="apple-mobile-web-app-capable" content="yes"> - <meta name="apple-mobile-web-app-status-bar-style" content="black"> - - <link rel="stylesheet" type="text/css" media="all" href="css/style.css"> - - <!--[if lt IE 9]> - <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - - <script src="js/modernizr.js"></script> - <script src="js/customscript.js" type="text/javascript"></script> - - <style type="text/css"> - #header h1, #header h2 { - text-indent: -999em; - min-width:200px; margin-top: 0; - } - #header h1 a, #header h2 a{ - background: url(images/logo.png) no-repeat; - min-width: 200px; - display: block; - min-height: 80px; - line-height: 28px; - } - .more a, .bubble a:hover, #commentform input#submit { - background-color: #79ACCD; - } - a, .title a:hover, #navigation ul ul li a:hover, #navigation > ul > li > a:hover { - color:#79ACCD; - } - </style> - - </head> - - <body> - - <header class="main-header"> - <div class="container"> - <div id="header"> - <h1 id="logo"> - <a href="#">Accentbox WordPress Theme Demo</a> - </h1><!-- END #logo --> - <div class="widget-area widget-header"> <ul><div class="textwidget"></div></ul></div> - </div><!--#header--> - </div><!--.container--> - </header> - - <div class="container"> - <div class="secondary-navigation"> - <nav id="navigation"> - <ul class="menu"><li class="menu-item"><a href="#">Home</a></li> - <li class="menu-item"><a href="#">About</a></li> - <li class="menu-item"><a href="#">Contact Us</a></li> - <li class="menu-item"><a href="#">Awesomeness</a></li> - <li class="menu-item"><a href="#">featured</a></li> - <li class="menu-item"><a href="#">Brochure</a></li> - <li class="menu-item"><a href="#">Design</a></li> - <li class="menu-item"><a href="#">Inspiration</a></li> - </ul> - <select><option value="" selected="selected">Go to...</option><option value="#">Home</option><option value="#">About</option><option value="#">Contact Us</option><option value="#">Awesomeness</option><option value="#">featured</option><option value="#">Brochure</option><option value="#">Design</option><option value="#">Inspiration</option></select></nav> - </div> - </div> - - <div id="page"> - <div class="content"> - <article class="article"> - <div id="content_box"> - - <div class="post excerpt "> - <header> - <div class="bubble"><a href="#">4</a></div> - <h2 class="title"> - <a href="#" rel="bookmark">Porttitor Lectus Tincidunt Elementum Nascetur Montes</a> - </h2> - <div class="post-info"> - <span class="theauthor"><a href="#" rel="author">MTS</a></span> - <time>March 26, 2012</time> - <span class="thecategory"><a href="#" rel="category tag">Awesomeness</a></span> - </div> - </header><!--.header--> - <div class="post-content image-caption-format-1"> - <a href="#" rel="nofollow" id="featured-thumbnail"> - - <div class="featured-thumbnail"><img src="images/2457315858_32ffd98aec_n-150x150.jpg" class="attachment-featured wp-post-image" height="150" width="150"><div> </a> - <p>Nascetur, vel massa enim lundium nec in, phasellus vel nisi - nec penatibus? Duis phasellus, ut! Amet risus ultricies integer! - Elementum natoque! Nec, tincidunt risus adipiscing. Magna, augue - dignissim in elementum diam ultricies. Enim, enim, sed augue nec? Montes - habitasse ac, ridiculus, placerat cras sed! Dis nunc? Adipiscing, porta - magna? Nunc non lundium? Vel, pulvinar aenean, </p> - <p class="more"><a href="#">Read More…</a></p> - </div> - </div><!--.post excerpt--> - - <div class="post excerpt "> - <header> - <div class="bubble"><a href="#">0</a></div> - <h2 class="title"> - <a href="#" rel="bookmark">Mauris Dictum Libero Id Justo Fusce In Est</a> - </h2> - <div class="post-info"> - <span class="theauthor"><a href="#" rel="author">MTS</a></span> - <time>September 17, 2008</time> - <span class="thecategory"><a href="#" rel="category tag">Awesomeness</a>, <a href="#" rel="category tag">featured</a></span> - </div> - </header><!--.header--> - <div class="post-content image-caption-format-1"> - <a href="#" rel="nofollow" id="featured-thumbnail"> - - <div class="featured-thumbnail"><img src="images/6585158069_29788f608e_n-150x150.jpg" class="attachment-featured wp-post-image" height="150" width="150"></div> </a> - <p>Nulla sagittis convallis arcu. Sed sed nunc. Curabitur - consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, - nibh. Duis vulputate elit in elit. Mauris dictum libero id justo. Fusce - in est. Sed nec diam. Pellentesque habitant morbi tristique senectus et - netus et malesuada fames ac turpis egestas. Quisque semper nibh eget - nibh. Sed tempor. </p> - <p class="more"><a href="#">Read More…</a> - </p> - </div> - </div><!--.post excerpt--> - - <div class="post excerpt last"> - <header> - <div class="bubble"><a href="#">0</a></div> - <h2 class="title"> - <a href="#" rel="bookmark">Cum Sociis Natoque Penatibus Magnis</a> - </h2> - <div class="post-info"> - <span class="theauthor"><a href="#" rel="author">MTS</a></span> - <time>September 17, 2008</time> - <span class="thecategory"><a href="#" rel="category tag">Child Category III</a>, <a href="#" rel="category tag">featured</a>, <a href="#" rel="category tag">Parent Category III</a></span> - </div> - </header><!--.header--> - <div class="post-content image-caption-format-1"> - <a href="#" rel="nofollow" id="featured-thumbnail"> - - <div class="featured-thumbnail"><img src="images/44066633_e0ab44de09_n-150x150.jpg" class="attachment-featured wp-post-image" height="150" width="150"></div> </a> - <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed - eleifend urna eu sapien. Quisque posuere nunc eu massa. Praesent - bibendum lorem non leo. Morbi volutpat, urna eu fermentum rutrum, ligula - lacus interdum mauris, ac pulvinar libero pede a enim. Etiam commodo - malesuada ante. Donec nec ligula. Curabitur mollis semper diam. Duis - viverra nibh a felis </p> - <p class="more"><a href="#">Read More…</a> - </p> - </div> - </div><!--.post excerpt--> - - <div class="post excerpt "> - <header> - <div class="bubble"><a href="#">2</a></div> - <h2 class="title"> - <a href="#" rel="bookmark">Aliquet Pid Massa Porttitor Dictumst Ac Aenean A Dolor?</a> - </h2> - <div class="post-info"> - <span class="theauthor"><a href="#" rel="author">MTS</a></span> - <time>September 11, 2008</time> - <span class="thecategory"><a href="#" rel="category tag">Awesomeness</a>, <a href="#" rel="category tag">featured</a></span> - </div> - </header><!--.header--> - <div class="post-content image-caption-format-1"> - <a href="#" rel="nofollow" id="featured-thumbnail"> - - <div class="featured-thumbnail"><img src="images/2470289415_b98e0e1dae_n-150x150.jpg" class="attachment-featured wp-post-image" height="150" width="150"></div> </a> - <p>Elit quis est sit integer rhoncus integer vel lorem mattis - rhoncus natoque, cum. Sed, cras, sed? Dis tincidunt! Vel lacus - elementum, in augue mus. Placerat, velit tristique et, magna tristique - dolor magna, aliquam et elementum in elementum! Turpis placerat proin - porta etiam augue adipiscing ridiculus. In, ridiculus nec aliquam nisi - turpis rhoncus in tempor. A, </p> - <p class="more"><a href="#">Read More…</a> - </p> - </div> - </div><!--.post excerpt--> - - <div class="post excerpt "> - <header> - <div class="bubble"><a href="#">0</a></div> - <h2 class="title"> - <a href="#" rel="bookmark">Quotes Time!</a> - </h2> - <div class="post-info"> - <span class="theauthor"><a href="#" rel="author">MTS</a></span> - <time>September 11, 2008</time> - <span class="thecategory"><a href="#" rel="category tag">Awesomeness</a></span> - </div> - </header><!--.header--> - <div class="post-content image-caption-format-1"> - <a href="#" rel="nofollow" id="featured-thumbnail"> - - <div class="featured-thumbnail"></div> </a> - <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. - Curabitur quam augue, vehicula quis, tincidunt vel, varius vitae, nulla. - Sed convallis orci. Duis libero orci, pretium a, convallis quis, - pellentesque a, dolor. Curabitur vitae nisi non dolor vestibulum - consequat. Proin vestibulum. Ut ligula. Nullam sed dolor id odio - volutpat pulvinar. Integer a leo. In et eros </p> - <p class="more"><a href="#">Read More…</a> - </p> - </div> - </div><!--.post excerpt--> - - <div class="post excerpt last"> - <header> - <div class="bubble"><a href="#">0</a></div> - <h2 class="title"> - <a href="#" rel="bookmark">A Post With A Left-Aligned Image</a> - </h2> - <div class="post-info"> - <span class="theauthor"><a href="#" rel="author">MTS</a></span> - <time>September 11, 2008</time> - <span class="thecategory"><a href="#" rel="category tag">Parent Category II</a>, <a href="#" rel="category tag">Parent Category III</a></span> - </div> - </header><!--.header--> - <div class="post-content image-caption-format-1"> - <a href="#" rel="nofollow" id="featured-thumbnail"> - - <div class="featured-thumbnail"><img src="images/3478158612_4a09ab2d3c-150x150.jpg" class="attachment-featured wp-post-image" height="150" width="150"></div> </a> - <p>Nulla sagittis convallis arcu. Sed sed nunc. Curabitur - consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, - nibh. Duis vulputate elit in elit. Mauris dictum libero id justo. Fusce - in est. Sed nec diam. Pellentesque habitant morbi tristique senectus et - netus et malesuada fames ac turpis egestas. Quisque semper nibh eget - nibh. Sed tempor. </p> - <p class="more"><a href="#">Read More…</a> - </p> - </div> - </div><!--.post excerpt--> - - <div class="pnavigation2"> - <div class="nav-previous left"><a href="#"><span class="meta-nav">←</span> Older posts</a></div> - <div class="nav-next right"></div> - </div> - - </div> - </article> - - <aside class="sidebar c-4-12"> - <div id="sidebars" class="g"> - <div class="sidebar"> - <ul class="sidebar_list"> - <li class="widget widget-sidebar"> - <form method="get" id="searchform" class="search-form" _lpchecked="1"> - <fieldset> - <input name="s" id="s" value="Search this Site..." type="text"> - <input id="search-image" class="sbutton" src="images/search.png" style="border: 0px none; vertical-align: top;" type="image"> - </fieldset> - </form> - </li> - - <li class="widget widget-sidebar"><div class="ad-300"><a href="#"><img src="images/stylishuserinterface300x250.jpg" height="250" width="300"></a></div></li> - <li class="widget widget-sidebar"><h3>Our Sponsors</h3><div class="ad-125"><ul><li class="oddad"><a href="#"><img src="images/125x125.gif" height="125" width="125"></a></li><li class="evenad"><a href="#"><img src="images/125x125.gif" height="125" width="125"></a></li></ul></div></li> - <li class="widget widget-sidebar"> <h3>Recent Posts</h3> <ul> - <li><a href="#">Porttitor Lectus Tincidunt Elementum Nascetur Montes</a></li> - <li><a href="#">Mauris Dictum Libero Id Justo Fusce In Est</a></li> - <li><a href="#">Cum Sociis Natoque Penatibus Magnis</a></li> - <li><a href="#">Aliquet Pid Massa Porttitor Dictumst Ac Aenean A Dolor?</a></li> - <li><a href="#">Quotes Time!</a></li> - </ul> - </li> - <li class="widget widget-sidebar"> - <div class="mts-subscribe"> - - <form style="" action="#" method="post" target="popupwindow" _lpchecked="1"> - <input value="Your email Address..." type="text"> - <input value="mythemeshop" name="uri" type="hidden"><input name="loc" value="en_US" type="hidden"><input value="Subscribe" type="submit"> - </form> - - <div class="result"></div> - - </div><!--subscribe_widget--> - - </li> - </ul> - </div> - </div><!--sidebars--> - </aside> - - </div><!--#page--> -</div><!--.container--> - <footer> - <div class="container"> - <div class="footer-widgets"> - <div class="f-widget"> - <div class="widget"><h3>Lorem ipsum</h3> - <div class="textwidget">Lorem - ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur quam - augue, vehicula quis, tincidunt vel, varius vitae, nulla. Sed convallis - orci. Duis libero orci, pretium a.</div> - </div> - </div> - <div class="f-widget"> - <div class="widget"><h3>Consectetuer adipiscing</h3> <div class="textwidget">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <a href="#">Curabitur</a> quam augue, vehicula quis, tincidunt vel, varius vitae, nulla. Sed convallis orci. Duis libero orci, pretium a.</div> - </div> - </div> - <div class="f-widget last"> - <div class="widget"> <h3>Recent Posts</h3> <ul> - <li><a href="#">Porttitor Lectus Tincidunt Elementum Nascetur Montes</a></li> - <li><a href="#">Mauris Dictum Libero Id Justo Fusce In Est</a></li> - <li><a href="#">Cum Sociis Natoque Penatibus Magnis</a></li> - <li><a href="#">Aliquet Pid Massa Porttitor Dictumst Ac Aenean A Dolor?</a></li> - </ul> - </div> - </div> - <div class="copyrights"> - <div class="row" id="copyright-note"> - <span>© 2012</span> - <span>Theme by <a href="http://mythemeshop.com/">MyThemeShop</a>.</span> - </div> - <div class="top"><a href="#">Back to Top ↑</a></div> - </div> - </div><!--.footer-widgets--> - </div><!--.container--> - </footer><!--footer--> - -</body></html> diff --git a/themes/accentbox/js/customscript.js b/themes/accentbox/js/customscript.js @@ -1,81 +0,0 @@ - /* - * Superfish v1.4.8 - jQuery menu widget - * Copyright (c) 2008 Joel Birch - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - * - * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt - */ -(function($){$.fn.superfish=function(op){var sf=$.fn.superfish,c=sf.c,$arrow=$(['<span class="',c.arrowClass,'"> »</span>'].join("")),over=function(){var $$=$(this),menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();},out=function(){var $$=$(this),menu=getMenu($$),o=sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if(o.$path.length&&$$.parents(["li.",o.hoverClass].join("")).length<1){over.call(o.$path);}},o.delay);},getMenu=function($menu){var menu=$menu.parents(["ul.",c.menuClass,":first"].join(""))[0];sf.op=sf.o[menu.serial];return menu;},addArrow=function($a){$a.addClass(c.anchorClass).append($arrow.clone());};return this.each(function(){var s=this.serial=sf.o.length;var o=$.extend({},sf.defaults,op);o.$path=$("li."+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(" ")).filter("li:has(ul)").removeClass(o.pathClass);});sf.o[s]=sf.op=o;$("li:has(ul)",this)[($.fn.hoverIntent&&!o.disableHI)?"hoverIntent":"hover"](over,out).each(function(){if(o.autoArrows){addArrow($(">a:first-child",this));}}).not("."+c.bcClass).hideSuperfishUl();var $a=$("a",this);$a.each(function(i){var $li=$a.eq(i).parents("li");$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});o.onInit.call(this);}).each(function(){var menuClasses=[c.menuClass];if(sf.op.dropShadows&&!($.browser.msie&&$.browser.version<7)){menuClasses.push(c.shadowClass);}$(this).addClass(menuClasses.join(" "));});};var sf=$.fn.superfish;sf.o=[];sf.op={};sf.IE7fix=function(){var o=sf.op;if($.browser.msie&&$.browser.version>6&&o.dropShadows&&o.animation.opacity!=undefined){this.toggleClass(sf.c.shadowClass+"-off");}};sf.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};sf.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){var o=sf.op,not=(o.retainPath===true)?o.$path:"";o.retainPath=false;var $ul=$(["li.",o.hoverClass].join(""),this).add(this).not(not).removeClass(o.hoverClass).find(">ul").hide().css("visibility","hidden");o.onHide.call($ul);return this;},showSuperfishUl:function(){var o=sf.op,sh=sf.c.shadowClass+"-off",$ul=this.addClass(o.hoverClass).find(">ul:hidden").css("visibility","visible");sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){sf.IE7fix.call($ul);o.onShow.call($ul);});return this;}});})(jQuery); - - $(document).ready(function($) { - - $('ul.menu, ul#children, ul.sub-menu').superfish({ - delay: 100, // 0.1 second delay on mouseout - animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation - dropShadows: false // disable drop shadows - }); - -}); - -$(document).ready(function() { - // Create the dropdown base - $("<select />").appendTo("#navigation"); - - // Create default option "Go to..." - $("<option />", { - "selected": "selected", - "value" : "", - "text" : "Go to..." - }).appendTo("#navigation select"); - - // Populate dropdown with menu items - $("#navigation > ul > li:not([data-toggle])").each(function() { - - var el = $(this); - - var hasChildren = el.find("ul"), - children = el.find("li > a"); - - if (hasChildren.length) { - - $("<optgroup />", { - "label": el.find("> a").text() - }).appendTo("#navigation select"); - - children.each(function() { - - $("<option />", { - "value" : $(this).attr("href"), - "text": " - " + $(this).text() - }).appendTo("optgroup:last"); - - }); - - } else { - - $("<option />", { - "value" : el.find("> a").attr("href"), - "text" : el.find("> a").text() - }).appendTo("#navigation select"); - - } - - }); - - $("#navigation select").change(function() { - window.location = $(this).find("option:selected").val(); - }); - - //END -- Menus to <SELECT> - -// Scroll to Top script -jQuery(document).ready(function($){ - $('a[href=#top]').click(function(){ - $('html, body').animate({scrollTop:0}, 'slow'); - return false; - }); -}); - }); //END -- JQUERY document.ready -\ No newline at end of file diff --git a/themes/accentbox/js/modernizr.min.js b/themes/accentbox/js/modernizr.min.js @@ -1,2 +0,0 @@ -/* Modernizr 2.0.6 (Custom Build) | MIT & BSD | http://www.modernizr.com/ */ -;window.Modernizr=function(a,b,c){function G(){e.input=function(a){for(var b=0,c=a.length;b<c;b++)s[a[b]]=a[b]in l;return s}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)l.setAttribute("type",f=a[d]),e=l.type!=="text",e&&(l.value=m,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&l.style.WebkitAppearance!==c?(g.appendChild(l),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(l,null).WebkitAppearance!=="textfield"&&l.offsetHeight!==0,g.removeChild(l)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=l.checkValidity&&l.checkValidity()===!1:/^color$/.test(f)?(g.appendChild(l),g.offsetWidth,e=l.value!=m,g.removeChild(l)):e=l.value!=m)),r[a[d]]=!!e;return r}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function E(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+p.join(c+" ")+c).split(" ");return D(d,b)}function D(a,b){for(var d in a)if(k[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function C(a,b){return!!~(""+a).indexOf(b)}function B(a,b){return typeof a===b}function A(a,b){return z(o.join(a+";")+(b||""))}function z(a){k.cssText=a}var d="2.0.6",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l=b.createElement("input"),m=":)",n=Object.prototype.toString,o=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),p="Webkit Moz O ms Khtml".split(" "),q={},r={},s={},t=[],u=function(a,c,d,e){var f,h,j,k=b.createElement("div");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:i+(d+1),k.appendChild(j);f=["­","<style>",a,"</style>"].join(""),k.id=i,k.innerHTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},v=function(b){if(a.matchMedia)return matchMedia(b).matches;var c;u("@media "+b+" { #"+i+" { position: absolute; } }",function(b){c=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position=="absolute"});return c},w,x={}.hasOwnProperty,y;!B(x,c)&&!B(x.call,c)?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],c)};var F=function(c,d){var f=c.join(""),g=d.length;u(f,function(c,d){var f=b.styleSheets[b.styleSheets.length-1],h=f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"",i=c.childNodes,j={};while(g--)j[i[g].id]=i[g];e.touch="ontouchstart"in a||j.touch.offsetTop===9,e.csstransforms3d=j.csstransforms3d.offsetLeft===9,e.generatedcontent=j.generatedcontent.offsetHeight>=1,e.fontface=/src/i.test(h)&&h.indexOf(d.split(" ")[0])===0},g,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",o.join("touch-enabled),("),i,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",o.join("transform-3d),("),i,")","{#csstransforms3d{left:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',m,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);q.flexbox=function(){function c(a,b,c,d){a.style.cssText=o.join(b+":"+c+";")+(d||"")}function a(a,b,c,d){b+=":",a.style.cssText=(b+o.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");a(d,"display","box","width:42px;padding:0;"),c(e,"box-flex","1","width:10px;"),d.appendChild(e),g.appendChild(d);var f=e.offsetWidth===42;d.removeChild(e),g.removeChild(d);return f},q.touch=function(){return e.touch},q.rgba=function(){z("background-color:rgba(150,255,150,.5)");return C(k.backgroundColor,"rgba")},q.hsla=function(){z("background-color:hsla(120,40%,100%,.5)");return C(k.backgroundColor,"rgba")||C(k.backgroundColor,"hsla")},q.multiplebgs=function(){z("background:url(https://),url(https://),red url(https://)");return/(url\s*\(.*?){3}/.test(k.background)},q.backgroundsize=function(){return E("backgroundSize")},q.borderimage=function(){return E("borderImage")},q.borderradius=function(){return E("borderRadius")},q.boxshadow=function(){return E("boxShadow")},q.textshadow=function(){return b.createElement("div").style.textShadow===""},q.opacity=function(){A("opacity:.55");return/^0.55$/.test(k.opacity)},q.cssanimations=function(){return E("animationName")},q.csscolumns=function(){return E("columnCount")},q.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";z((a+o.join(b+a)+o.join(c+a)).slice(0,-a.length));return C(k.backgroundImage,"gradient")},q.cssreflections=function(){return E("boxReflect")},q.csstransforms=function(){return!!D(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},q.csstransforms3d=function(){var a=!!D(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in g.style&&(a=e.csstransforms3d);return a},q.csstransitions=function(){return E("transitionProperty")},q.fontface=function(){return e.fontface},q.generatedcontent=function(){return e.generatedcontent},q.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType){c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"');var d='video/mp4; codecs="avc1.42E01E';c.h264=a.canPlayType(d+'"')||a.canPlayType(d+', mp4a.40.2"'),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}}catch(e){}return c},q.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"'),c.mp3=a.canPlayType("audio/mpeg;"),c.wav=a.canPlayType('audio/wav; codecs="1"'),c.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}catch(d){}return c};for(var H in q)y(q,H)&&(w=H.toLowerCase(),e[w]=q[H](),t.push((e[w]?"":"no-")+w));e.input||G(),z(""),j=l=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b<g)a.createElement(f[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",f=e.split("|"),g=f.length,h=new RegExp("(^|\\s)("+e+")","gi"),i=new RegExp("<(/*)("+e+")","gi"),j=/^\s*[\{\}]\s*$/,k=new RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=b.createDocumentFragment(),m=b.documentElement,n=m.firstChild,o=b.createElement("body"),p=b.createElement("style"),q=/print|all/,r;d.getCSS=function(a,b){if(a+""===c)return"";var e=-1,f=a.length,g,h=[];while(++e<f){g=a[e];if(g.disabled)continue;b=g.media||b,q.test(b)&&h.push(d.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},d.parseCSS=function(a){var b=[],c;while((c=k.exec(a))!=null)b.push(((j.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(h,"$1.iepp_$2")+c[4]);return b.join("\n")},d.writeHTML=function(){var a=-1;r=r||b.body;while(++a<g){var c=b.getElementsByTagName(f[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+f[a])}l.appendChild(r),m.appendChild(o),o.className=r.className,o.id=r.id,o.innerHTML=r.innerHTML.replace(i,"<$1font")},d._beforePrint=function(){p.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all")),d.writeHTML()},d.restoreHTML=function(){o.innerHTML="",m.removeChild(o),m.appendChild(r)},d._afterPrint=function(){d.restoreHTML(),p.styleSheet.cssText=""},s(b),s(l);d.disablePP||(n.insertBefore(p,n.firstChild),p.media="print",p.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint))}(a,b),e._version=d,e._prefixes=o,e._domPrefixes=p,e.mq=v,e.testProp=function(a){return D([a])},e.testAllProps=E,e.testStyles=u,g.className=g.className.replace(/\bno-js\b/,"")+(f?" js "+t.join(" "):"");return e}(this,this.document),function(a,b){function u(){r(!0)}a.respond={},respond.update=function(){},respond.mediaQueriesSupported=b;if(!b){var c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=j.getElementsByTagName("link"),l=[],m=function(){var b=k,c=b.length,d=0,e,f,g,i;for(;d<c;d++)e=b[d],f=e.href,g=e.media,i=e.rel&&e.rel.toLowerCase()==="stylesheet",!!f&&i&&!h[f]&&(!/^([a-zA-Z]+?:(\/\/)?(www\.)?)/.test(f)||f.replace(RegExp.$1,"").split("http://dl.dropbox.com/")[0]===a.location.host?l.push({href:f,media:g}):h[f]=!0);n()},n=function(){if(l.length){var a=l.shift();s(a.href,function(b){o(b,a.href,a.media),h[a.href]=!0,n()})}},o=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gi),g=d&&d.length||0,b=b.substring(0,b.lastIndexOf("http://dl.dropbox.com/")),h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c,j=0,k,l,m,n,o;b.length&&(b+="/"),i&&(g=1);for(;j<g;j++){k=0,i?(l=c,f.push(h(a))):(l=d[j].match(/@media ([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),n=l.split(","),o=n.length;for(;k<o;k++)m=n[k],e.push({media:m.match(/(only\s+)?([a-zA-Z]+)(\sand)?/)&&RegExp.$2,rules:f.length-1,minw:m.match(/\(min\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1),maxw:m.match(/\(max\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1)})}r()},p,q,r=function(a){var b="clientWidth",h=d[b],l=c.compatMode==="CSS1Compat"&&h||c.body[b]||h,m={},n=c.createDocumentFragment(),o=k[k.length-1],s=(new Date).getTime();if(a&&p&&s-p<i)clearTimeout(q),q=setTimeout(r,i);else{p=s;for(var t in e){var u=e[t];if(!u.minw&&!u.maxw||(!u.minw||u.minw&&l>=u.minw)&&(!u.maxw||u.maxw&&l<=u.maxw))m[u.media]||(m[u.media]=[]),m[u.media].push(f[u.rules])}for(var t in g)g[t]&&g[t].parentNode===j&&j.removeChild(g[t]);for(var t in m){var v=c.createElement("style"),w=m[t].join("\n");v.type="text/css",v.media=t,v.styleSheet?v.styleSheet.cssText=w:v.appendChild(c.createTextNode(w)),n.appendChild(v),g.push(v)}j.insertBefore(n,o.nextSibling)}},s=function(a,b){var c=t();if(!!c){c.open("GET",a,!0),c.onreadystatechange=function(){c.readyState==4&&(c.status==200||c.status==304)&&b(c.responseText)};if(c.readyState==4)return;c.send()}},t=function(){var a=!1,b=[function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new XMLHttpRequest}],c=b.length;while(c--){try{a=b[c]()}catch(d){continue}break}return function(){return a}}();m(),respond.update=m,a.addEventListener?a.addEventListener("resize",u,!1):a.attachEvent&&a.attachEvent("onresize",u)}}(this,Modernizr.mq("only all")),function(a,b,c){function k(a){return!a||a=="loaded"||a=="complete"}function j(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&g()}function i(a){var c=b.createElement("script"),d;c.src=a.s,c.onreadystatechange=c.onload=function(){!d&&k(c.readyState)&&(d=1,j(),c.onload=c.onreadystatechange=null)},m(function(){d||(d=1,j())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function h(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var e=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,j()):e(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){j()},0)):e(a)}},0)};e(c)}else c.onload=function(){d||(d=1,m(function(){j()},0))},a.e&&c.onload();m(function(){d||(d=1,j())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function g(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?h(a):i(a)},0):(a(),j()):q=0}function f(a,c,d,e,f,h){function i(){!o&&k(l.readyState)&&(r.r=o=1,!q&&j(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:d,s:c,e:h};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=d),l.onload=l.onreadystatechange=i,a=="img"?l.onerror=i:a=="script"&&(l.onerror=function(){r.e=r.r=1,g()}),p.splice(e,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,j())},H.errorTimeout)}function e(a,b,c){var d=b=="c"?z:y;q=0,b=b||"j",C(a)?f(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&g());return this}function d(){var a=H;a.loader={load:e,i:0};return a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function f(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function e(a,b,e,g,h){var i=f(a),j=i.autoCallback;if(!i.bypass){b&&(b=D(b)?b:b[a]||b[g]||b[a.split("/").pop().split("?")[0]]);if(i.instead)return i.instead(a,b,e,g,h);e.load(i.url,i.forceCSS||!i.forceJS&&/css$/.test(i.url)?"c":c,i.noexec),(D(b)||D(j))&&e.load(function(){d(),b&&b(i.origUrl,h,g),j&&j(i.origUrl,h,g)})}}function b(a,b){function c(a){if(C(a))e(a,h,b,0,d);else if(B(a))for(i in a)a.hasOwnProperty(i)&&e(a[i],h,b,i,d)}var d=!!a.test,f=d?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var g,h,i=this.yepnope.loader;if(C(a))e(a,0,i,0);else if(A(a))for(g=0;g<a.length;g++)h=a[g],C(h)?e(h,0,i,0):A(h)?H(h):B(h)&&b(h,i);else B(a)&&b(a,i)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=d()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}; diff --git a/themes/parkzone/css/camera.css b/themes/parkzone/css/camera.css @@ -1,1067 +0,0 @@ -/************************** -* -* GENERAL -* -**************************/ -.camera_wrap a, .camera_wrap img, -.camera_wrap ol, .camera_wrap ul, .camera_wrap li, -.camera_wrap table, .camera_wrap tbody, .camera_wrap tfoot, .camera_wrap thead, .camera_wrap tr, .camera_wrap th, .camera_wrap td -.camera_thumbs_wrap a, .camera_thumbs_wrap img, -.camera_thumbs_wrap ol, .camera_thumbs_wrap ul, .camera_thumbs_wrap li, -.camera_thumbs_wrap table, .camera_thumbs_wrap tbody, .camera_thumbs_wrap tfoot, .camera_thumbs_wrap thead, .camera_thumbs_wrap tr, .camera_thumbs_wrap th, .camera_thumbs_wrap td { - background: none; - border: 0; - font: inherit; - font-size: 100%; - margin: 0; - padding: 0; - vertical-align: baseline; - list-style: none -} -.camera_wrap { - display: none; - float: left; - position: relative; - z-index: 0; -} -.camera_wrap img { - max-width: none!important; -} -.camera_fakehover { - height: 100%; - min-height: 60px; - position: relative; - width: 100%; - z-index: 1; -} -.camera_wrap { - width: 100%; -} -.camera_src { - display: none; -} -.cameraCont, .cameraContents { - height: 100%; - position: relative; - width: 100%; - z-index: 1; -} -.cameraSlide { - bottom: 0; - left: 0; - position: absolute; - right: 0; - top: 0; - width: 100%; -} -.cameraContent { - bottom: 0; - display: none; - left: 0; - position: absolute; - right: 0; - top: 0; - width: 100%; -} -.camera_target { - bottom: 0; - height: 100%; - left: 0; - overflow: hidden; - position: absolute; - right: 0; - text-align: left; - top: 0; - width: 100%; - z-index: 0; -} -.camera_overlayer { - bottom: 0; - height: 100%; - left: 0; - overflow: hidden; - position: absolute; - right: 0; - top: 0; - width: 100%; - z-index: 0; -} -.camera_target_content { - bottom: 0; - left: 0; - overflow: hidden; - position: absolute; - right: 0; - top: 0; - z-index: 2; -} -.camera_target_content .camera_link { - background: url(../images/blank.gif); - display: block; - height: 100%; - text-decoration: none; -} -.camera_loader { - background: #fff url(../images/camera-loader.gif) no-repeat center; - background: rgba(255, 255, 255, 0.9) url(../images/camera-loader.gif) no-repeat center; - border: 1px solid #ffffff; - -webkit-border-radius: 18px; - -moz-border-radius: 18px; - border-radius: 18px; - height: 36px; - left: 50%; - overflow: hidden; - position: absolute; - margin: -18px 0 0 -18px; - top: 50%; - width: 36px; - z-index: 3; -} -.camera_bar { - bottom: 0; - left: 0; - overflow: hidden; - position: absolute; - right: 0; - top: 0; - z-index: 3; -} -.camera_thumbs_wrap.camera_left .camera_bar, .camera_thumbs_wrap.camera_right .camera_bar { - height: 100%; - position: absolute; - width: auto; -} -.camera_thumbs_wrap.camera_bottom .camera_bar, .camera_thumbs_wrap.camera_top .camera_bar { - height: auto; - position: absolute; - width: 100%; -} -.camera_nav_cont { - height: 65px; - overflow: hidden; - position: absolute; - right: 9px; - top: 15px; - width: 120px; - z-index: 4; -} -.camera_caption { - bottom: 0; - display: block; - position: absolute; - width: 100%; -} -.camera_caption > div { - padding: 10px 20px; -} -.camerarelative { - overflow: hidden; - position: relative; -} -.imgFake { - cursor: pointer; -} -.camera_prevThumbs { - bottom: 4px; - cursor: pointer; - left: 0; - position: absolute; - top: 4px; - visibility: hidden; - width: 30px; - z-index: 10; -} -.camera_prevThumbs div { - background: url(../images/camera_skins.png) no-repeat -160px 0; - display: block; - height: 40px; - margin-top: -20px; - position: absolute; - top: 50%; - width: 30px; -} -.camera_nextThumbs { - bottom: 4px; - cursor: pointer; - position: absolute; - right: 0; - top: 4px; - visibility: hidden; - width: 30px; - z-index: 10; -} -.camera_nextThumbs div { - background: url(../images/camera_skins.png) no-repeat -190px 0; - display: block; - height: 40px; - margin-top: -20px; - position: absolute; - top: 50%; - width: 30px; -} -.camera_command_wrap .hideNav { - display: none; -} -.camera_command_wrap { - left: 0; - position: relative; - right:0; - z-index: 4; -} -.camera_wrap .camera_pag .camera_pag_ul { - list-style: none; - margin: 0; - padding: 0; -} -.camera_wrap .camera_pag .camera_pag_ul li { - -webkit-border-radius: 8px; - -moz-border-radius: 8px; - border-radius: 8px; - cursor: pointer; - display: inline-block; - height: 16px; - margin: 20px 5px; - position: relative; - text-align: left; - text-indent: -9999px; - width: 16px; -} -.camera_commands_emboss .camera_pag .camera_pag_ul li { - -moz-box-shadow: - 0px 1px 0px rgba(255,255,255,1), - inset 0px 1px 1px rgba(0,0,0,0.2); - -webkit-box-shadow: - 0px 1px 0px rgba(255,255,255,1), - inset 0px 1px 1px rgba(0,0,0,0.2); - box-shadow: - 0px 1px 0px rgba(255,255,255,1), - inset 0px 1px 1px rgba(0,0,0,0.2); -} -.camera_wrap .camera_pag .camera_pag_ul li > span { - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - height: 8px; - left: 4px; - overflow: hidden; - position: absolute; - top: 4px; - width: 8px; -} -.camera_commands_emboss .camera_pag .camera_pag_ul li:hover > span { - -moz-box-shadow: - 0px 1px 0px rgba(255,255,255,1), - inset 0px 1px 1px rgba(0,0,0,0.2); - -webkit-box-shadow: - 0px 1px 0px rgba(255,255,255,1), - inset 0px 1px 1px rgba(0,0,0,0.2); - box-shadow: - 0px 1px 0px rgba(255,255,255,1), - inset 0px 1px 1px rgba(0,0,0,0.2); -} -.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent > span { - -moz-box-shadow: 0; - -webkit-box-shadow: 0; - box-shadow: 0; -} -.camera_pag_ul li img { - display: none; - position: absolute; -} -.camera_pag_ul .thumb_arrow { - border-left: 4px solid transparent; - border-right: 4px solid transparent; - border-top: 4px solid; - top: 0; - left: 50%; - margin-left: -4px; - position: absolute; -} -.camera_prev, .camera_next, .camera_commands { - cursor: pointer; - height: 40px; - margin-top: -20px; - position: absolute; - top: 50%; - width: 40px; - z-index: 2; -} -.camera_prev { - left: 0; -} -.camera_prev > span { - background: url(../images/camera_skins.png) no-repeat 0 0; - display: block; - height: 40px; - width: 40px; -} -.camera_next { - right: 0; -} -.camera_next > span { - background: url(../images/camera_skins.png) no-repeat -40px 0; - display: block; - height: 40px; - width: 40px; -} -.camera_commands { - right: 41px; -} -.camera_commands > .camera_play { - background: url(../images/camera_skins.png) no-repeat -80px 0; - height: 40px; - width: 40px; -} -.camera_commands > .camera_stop { - background: url(../images/camera_skins.png) no-repeat -120px 0; - display: block; - height: 40px; - width: 40px; -} -.camera_wrap .camera_pag .camera_pag_ul li { - -webkit-border-radius: 8px; - -moz-border-radius: 8px; - border-radius: 8px; - cursor: pointer; - display: inline-block; - height: 16px; - margin: 20px 5px; - position: relative; - text-indent: -9999px; - width: 16px; -} -.camera_thumbs_cont { - -webkit-border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomright: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 4px; - overflow: hidden; - position: relative; - width: 100%; -} -.camera_commands_emboss .camera_thumbs_cont { - -moz-box-shadow: - 0px 1px 0px rgba(255,255,255,1), - inset 0px 1px 1px rgba(0,0,0,0.2); - -webkit-box-shadow: - 0px 1px 0px rgba(255,255,255,1), - inset 0px 1px 1px rgba(0,0,0,0.2); - box-shadow: - 0px 1px 0px rgba(255,255,255,1), - inset 0px 1px 1px rgba(0,0,0,0.2); -} -.camera_thumbs_cont > div { - float: left; - width: 100%; -} -.camera_thumbs_cont ul { - overflow: hidden; - padding: 3px 4px 8px; - position: relative; - text-align: center; -} -.camera_thumbs_cont ul li { - display: inline; - padding: 0 4px; -} -.camera_thumbs_cont ul li > img { - border: 1px solid; - cursor: pointer; - margin-top: 5px; - vertical-align:bottom; -} -.camera_clear { - display: block; - clear: both; -} -.showIt { - display: none; -} -.camera_clear { - clear: both; - display: block; - height: 1px; - margin: -1px 0 25px; - position: relative; -} -/************************** -* -* COLORS & SKINS -* -**************************/ -.pattern_1 .camera_overlayer { - background: url(../images/patterns/overlay1.png) repeat; -} -.pattern_2 .camera_overlayer { - background: url(../images/patterns/overlay2.png) repeat; -} -.pattern_3 .camera_overlayer { - background: url(../images/patterns/overlay3.png) repeat; -} -.pattern_4 .camera_overlayer { - background: url(../images/patterns/overlay4.png) repeat; -} -.pattern_5 .camera_overlayer { - background: url(../images/patterns/overlay5.png) repeat; -} -.pattern_6 .camera_overlayer { - background: url(../images/patterns/overlay6.png) repeat; -} -.pattern_7 .camera_overlayer { - background: url(../images/patterns/overlay7.png) repeat; -} -.pattern_8 .camera_overlayer { - background: url(../images/patterns/overlay8.png) repeat; -} -.pattern_9 .camera_overlayer { - background: url(../images/patterns/overlay9.png) repeat; -} -.pattern_10 .camera_overlayer { - background: url(../images/patterns/overlay10.png) repeat; -} -.camera_caption { - color: #fff; - text-shadow: none; -} -.camera_caption > div { - background: #000; - background: rgba(0, 0, 0, 0.8); -} -.camera_wrap .camera_pag .camera_pag_ul li { - background: #b7b7b7; -} -.camera_wrap .camera_pag .camera_pag_ul li:hover > span { - background: #b7b7b7; -} -.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent > span { - background: #434648; -} -.camera_pag_ul li img { - border: 4px solid #e6e6e6; - -moz-box-shadow: 0px 3px 6px rgba(0,0,0,.5); - -webkit-box-shadow: 0px 3px 6px rgba(0,0,0,.5); - box-shadow: 0px 3px 6px rgba(0,0,0,.5); -} -.camera_pag_ul .thumb_arrow { - border-top-color: #e6e6e6; -} -.camera_prevThumbs, .camera_nextThumbs, .camera_prev, .camera_next, .camera_commands, .camera_thumbs_cont { - background: #d8d8d8; - background: rgba(216, 216, 216, 0.85); -} -.camera_wrap .camera_pag .camera_pag_ul li { - background: #b7b7b7; -} -.camera_thumbs_cont ul li > img { - border-color: 1px solid #000; -} -/*AMBER SKIN*/ -.camera_amber_skin .camera_prevThumbs div { - background-position: -160px -160px; -} -.camera_amber_skin .camera_nextThumbs div { - background-position: -190px -160px; -} -.camera_amber_skin .camera_prev > span { - background-position: 0 -160px; -} -.camera_amber_skin .camera_next > span { - background-position: -40px -160px; -} -.camera_amber_skin .camera_commands > .camera_play { - background-position: -80px -160px; -} -.camera_amber_skin .camera_commands > .camera_stop { - background-position: -120px -160px; -} -/*ASH SKIN*/ -.camera_ash_skin .camera_prevThumbs div { - background-position: -160px -200px; -} -.camera_ash_skin .camera_nextThumbs div { - background-position: -190px -200px; -} -.camera_ash_skin .camera_prev > span { - background-position: 0 -200px; -} -.camera_ash_skin .camera_next > span { - background-position: -40px -200px; -} -.camera_ash_skin .camera_commands > .camera_play { - background-position: -80px -200px; -} -.camera_ash_skin .camera_commands > .camera_stop { - background-position: -120px -200px; -} -/*AZURE SKIN*/ -.camera_azure_skin .camera_prevThumbs div { - background-position: -160px -240px; -} -.camera_azure_skin .camera_nextThumbs div { - background-position: -190px -240px; -} -.camera_azure_skin .camera_prev > span { - background-position: 0 -240px; -} -.camera_azure_skin .camera_next > span { - background-position: -40px -240px; -} -.camera_azure_skin .camera_commands > .camera_play { - background-position: -80px -240px; -} -.camera_azure_skin .camera_commands > .camera_stop { - background-position: -120px -240px; -} -/*BEIGE SKIN*/ -.camera_beige_skin .camera_prevThumbs div { - background-position: -160px -120px; -} -.camera_beige_skin .camera_nextThumbs div { - background-position: -190px -120px; -} -.camera_beige_skin .camera_prev > span { - background-position: 0 -120px; -} -.camera_beige_skin .camera_next > span { - background-position: -40px -120px; -} -.camera_beige_skin .camera_commands > .camera_play { - background-position: -80px -120px; -} -.camera_beige_skin .camera_commands > .camera_stop { - background-position: -120px -120px; -} -/*BLACK SKIN*/ -.camera_black_skin .camera_prevThumbs div { - background-position: -160px -40px; -} -.camera_black_skin .camera_nextThumbs div { - background-position: -190px -40px; -} -.camera_black_skin .camera_prev > span { - background-position: 0 -40px; -} -.camera_black_skin .camera_next > span { - background-position: -40px -40px; -} -.camera_black_skin .camera_commands > .camera_play { - background-position: -80px -40px; -} -.camera_black_skin .camera_commands > .camera_stop { - background-position: -120px -40px; -} -/*BLUE SKIN*/ -.camera_blue_skin .camera_prevThumbs div { - background-position: -160px -280px; -} -.camera_blue_skin .camera_nextThumbs div { - background-position: -190px -280px; -} -.camera_blue_skin .camera_prev > span { - background-position: 0 -280px; -} -.camera_blue_skin .camera_next > span { - background-position: -40px -280px; -} -.camera_blue_skin .camera_commands > .camera_play { - background-position: -80px -280px; -} -.camera_blue_skin .camera_commands > .camera_stop { - background-position: -120px -280px; -} -/*BROWN SKIN*/ -.camera_brown_skin .camera_prevThumbs div { - background-position: -160px -320px; -} -.camera_brown_skin .camera_nextThumbs div { - background-position: -190px -320px; -} -.camera_brown_skin .camera_prev > span { - background-position: 0 -320px; -} -.camera_brown_skin .camera_next > span { - background-position: -40px -320px; -} -.camera_brown_skin .camera_commands > .camera_play { - background-position: -80px -320px; -} -.camera_brown_skin .camera_commands > .camera_stop { - background-position: -120px -320px; -} -/*BURGUNDY SKIN*/ -.camera_burgundy_skin .camera_prevThumbs div { - background-position: -160px -360px; -} -.camera_burgundy_skin .camera_nextThumbs div { - background-position: -190px -360px; -} -.camera_burgundy_skin .camera_prev > span { - background-position: 0 -360px; -} -.camera_burgundy_skin .camera_next > span { - background-position: -40px -360px; -} -.camera_burgundy_skin .camera_commands > .camera_play { - background-position: -80px -360px; -} -.camera_burgundy_skin .camera_commands > .camera_stop { - background-position: -120px -360px; -} -/*CHARCOAL SKIN*/ -.camera_charcoal_skin .camera_prevThumbs div { - background-position: -160px -400px; -} -.camera_charcoal_skin .camera_nextThumbs div { - background-position: -190px -400px; -} -.camera_charcoal_skin .camera_prev > span { - background-position: 0 -400px; -} -.camera_charcoal_skin .camera_next > span { - background-position: -40px -400px; -} -.camera_charcoal_skin .camera_commands > .camera_play { - background-position: -80px -400px; -} -.camera_charcoal_skin .camera_commands > .camera_stop { - background-position: -120px -400px; -} -/*CHOCOLATE SKIN*/ -.camera_chocolate_skin .camera_prevThumbs div { - background-position: -160px -440px; -} -.camera_chocolate_skin .camera_nextThumbs div { - background-position: -190px -440px; -} -.camera_chocolate_skin .camera_prev > span { - background-position: 0 -440px; -} -.camera_chocolate_skin .camera_next > span { - background-position: -40px -440px; -} -.camera_chocolate_skin .camera_commands > .camera_play { - background-position: -80px -440px; -} -.camera_chocolate_skin .camera_commands > .camera_stop { - background-position: -120px -440px ; -} -/*COFFEE SKIN*/ -.camera_coffee_skin .camera_prevThumbs div { - background-position: -160px -480px; -} -.camera_coffee_skin .camera_nextThumbs div { - background-position: -190px -480px; -} -.camera_coffee_skin .camera_prev > span { - background-position: 0 -480px; -} -.camera_coffee_skin .camera_next > span { - background-position: -40px -480px; -} -.camera_coffee_skin .camera_commands > .camera_play { - background-position: -80px -480px; -} -.camera_coffee_skin .camera_commands > .camera_stop { - background-position: -120px -480px ; -} -/*CYAN SKIN*/ -.camera_cyan_skin .camera_prevThumbs div { - background-position: -160px -520px; -} -.camera_cyan_skin .camera_nextThumbs div { - background-position: -190px -520px; -} -.camera_cyan_skin .camera_prev > span { - background-position: 0 -520px; -} -.camera_cyan_skin .camera_next > span { - background-position: -40px -520px; -} -.camera_cyan_skin .camera_commands > .camera_play { - background-position: -80px -520px; -} -.camera_cyan_skin .camera_commands > .camera_stop { - background-position: -120px -520px ; -} -/*FUCHSIA SKIN*/ -.camera_fuchsia_skin .camera_prevThumbs div { - background-position: -160px -560px; -} -.camera_fuchsia_skin .camera_nextThumbs div { - background-position: -190px -560px; -} -.camera_fuchsia_skin .camera_prev > span { - background-position: 0 -560px; -} -.camera_fuchsia_skin .camera_next > span { - background-position: -40px -560px; -} -.camera_fuchsia_skin .camera_commands > .camera_play { - background-position: -80px -560px; -} -.camera_fuchsia_skin .camera_commands > .camera_stop { - background-position: -120px -560px ; -} -/*GOLD SKIN*/ -.camera_gold_skin .camera_prevThumbs div { - background-position: -160px -600px; -} -.camera_gold_skin .camera_nextThumbs div { - background-position: -190px -600px; -} -.camera_gold_skin .camera_prev > span { - background-position: 0 -600px; -} -.camera_gold_skin .camera_next > span { - background-position: -40px -600px; -} -.camera_gold_skin .camera_commands > .camera_play { - background-position: -80px -600px; -} -.camera_gold_skin .camera_commands > .camera_stop { - background-position: -120px -600px ; -} -/*GREEN SKIN*/ -.camera_green_skin .camera_prevThumbs div { - background-position: -160px -640px; -} -.camera_green_skin .camera_nextThumbs div { - background-position: -190px -640px; -} -.camera_green_skin .camera_prev > span { - background-position: 0 -640px; -} -.camera_green_skin .camera_next > span { - background-position: -40px -640px; -} -.camera_green_skin .camera_commands > .camera_play { - background-position: -80px -640px; -} -.camera_green_skin .camera_commands > .camera_stop { - background-position: -120px -640px ; -} -/*GREY SKIN*/ -.camera_grey_skin .camera_prevThumbs div { - background-position: -160px -680px; -} -.camera_grey_skin .camera_nextThumbs div { - background-position: -190px -680px; -} -.camera_grey_skin .camera_prev > span { - background-position: 0 -680px; -} -.camera_grey_skin .camera_next > span { - background-position: -40px -680px; -} -.camera_grey_skin .camera_commands > .camera_play { - background-position: -80px -680px; -} -.camera_grey_skin .camera_commands > .camera_stop { - background-position: -120px -680px ; -} -/*INDIGO SKIN*/ -.camera_indigo_skin .camera_prevThumbs div { - background-position: -160px -720px; -} -.camera_indigo_skin .camera_nextThumbs div { - background-position: -190px -720px; -} -.camera_indigo_skin .camera_prev > span { - background-position: 0 -720px; -} -.camera_indigo_skin .camera_next > span { - background-position: -40px -720px; -} -.camera_indigo_skin .camera_commands > .camera_play { - background-position: -80px -720px; -} -.camera_indigo_skin .camera_commands > .camera_stop { - background-position: -120px -720px ; -} -/*KHAKI SKIN*/ -.camera_khaki_skin .camera_prevThumbs div { - background-position: -160px -760px; -} -.camera_khaki_skin .camera_nextThumbs div { - background-position: -190px -760px; -} -.camera_khaki_skin .camera_prev > span { - background-position: 0 -760px; -} -.camera_khaki_skin .camera_next > span { - background-position: -40px -760px; -} -.camera_khaki_skin .camera_commands > .camera_play { - background-position: -80px -760px; -} -.camera_khaki_skin .camera_commands > .camera_stop { - background-position: -120px -760px ; -} -/*LIME SKIN*/ -.camera_lime_skin .camera_prevThumbs div { - background-position: -160px -800px; -} -.camera_lime_skin .camera_nextThumbs div { - background-position: -190px -800px; -} -.camera_lime_skin .camera_prev > span { - background-position: 0 -800px; -} -.camera_lime_skin .camera_next > span { - background-position: -40px -800px; -} -.camera_lime_skin .camera_commands > .camera_play { - background-position: -80px -800px; -} -.camera_lime_skin .camera_commands > .camera_stop { - background-position: -120px -800px ; -} -/*MAGENTA SKIN*/ -.camera_magenta_skin .camera_prevThumbs div { - background-position: -160px -840px; -} -.camera_magenta_skin .camera_nextThumbs div { - background-position: -190px -840px; -} -.camera_magenta_skin .camera_prev > span { - background-position: 0 -840px; -} -.camera_magenta_skin .camera_next > span { - background-position: -40px -840px; -} -.camera_magenta_skin .camera_commands > .camera_play { - background-position: -80px -840px; -} -.camera_magenta_skin .camera_commands > .camera_stop { - background-position: -120px -840px ; -} -/*MAROON SKIN*/ -.camera_maroon_skin .camera_prevThumbs div { - background-position: -160px -880px; -} -.camera_maroon_skin .camera_nextThumbs div { - background-position: -190px -880px; -} -.camera_maroon_skin .camera_prev > span { - background-position: 0 -880px; -} -.camera_maroon_skin .camera_next > span { - background-position: -40px -880px; -} -.camera_maroon_skin .camera_commands > .camera_play { - background-position: -80px -880px; -} -.camera_maroon_skin .camera_commands > .camera_stop { - background-position: -120px -880px ; -} -/*ORANGE SKIN*/ -.camera_orange_skin .camera_prevThumbs div { - background-position: -160px -920px; -} -.camera_orange_skin .camera_nextThumbs div { - background-position: -190px -920px; -} -.camera_orange_skin .camera_prev > span { - background-position: 0 -920px; -} -.camera_orange_skin .camera_next > span { - background-position: -40px -920px; -} -.camera_orange_skin .camera_commands > .camera_play { - background-position: -80px -920px; -} -.camera_orange_skin .camera_commands > .camera_stop { - background-position: -120px -920px ; -} -/*OLIVE SKIN*/ -.camera_olive_skin .camera_prevThumbs div { - background-position: -160px -1080px; -} -.camera_olive_skin .camera_nextThumbs div { - background-position: -190px -1080px; -} -.camera_olive_skin .camera_prev > span { - background-position: 0 -1080px; -} -.camera_olive_skin .camera_next > span { - background-position: -40px -1080px; -} -.camera_olive_skin .camera_commands > .camera_play { - background-position: -80px -1080px; -} -.camera_olive_skin .camera_commands > .camera_stop { - background-position: -120px -1080px ; -} -/*PINK SKIN*/ -.camera_pink_skin .camera_prevThumbs div { - background-position: -160px -960px; -} -.camera_pink_skin .camera_nextThumbs div { - background-position: -190px -960px; -} -.camera_pink_skin .camera_prev > span { - background-position: 0 -960px; -} -.camera_pink_skin .camera_next > span { - background-position: -40px -960px; -} -.camera_pink_skin .camera_commands > .camera_play { - background-position: -80px -960px; -} -.camera_pink_skin .camera_commands > .camera_stop { - background-position: -120px -960px ; -} -/*PISTACHIO SKIN*/ -.camera_pistachio_skin .camera_prevThumbs div { - background-position: -160px -1040px; -} -.camera_pistachio_skin .camera_nextThumbs div { - background-position: -190px -1040px; -} -.camera_pistachio_skin .camera_prev > span { - background-position: 0 -1040px; -} -.camera_pistachio_skin .camera_next > span { - background-position: -40px -1040px; -} -.camera_pistachio_skin .camera_commands > .camera_play { - background-position: -80px -1040px; -} -.camera_pistachio_skin .camera_commands > .camera_stop { - background-position: -120px -1040px ; -} -/*PINK SKIN*/ -.camera_pink_skin .camera_prevThumbs div { - background-position: -160px -80px; -} -.camera_pink_skin .camera_nextThumbs div { - background-position: -190px -80px; -} -.camera_pink_skin .camera_prev > span { - background-position: 0 -80px; -} -.camera_pink_skin .camera_next > span { - background-position: -40px -80px; -} -.camera_pink_skin .camera_commands > .camera_play { - background-position: -80px -80px; -} -.camera_pink_skin .camera_commands > .camera_stop { - background-position: -120px -80px; -} -/*RED SKIN*/ -.camera_red_skin .camera_prevThumbs div { - background-position: -160px -1000px; -} -.camera_red_skin .camera_nextThumbs div { - background-position: -190px -1000px; -} -.camera_red_skin .camera_prev > span { - background-position: 0 -1000px; -} -.camera_red_skin .camera_next > span { - background-position: -40px -1000px; -} -.camera_red_skin .camera_commands > .camera_play { - background-position: -80px -1000px; -} -.camera_red_skin .camera_commands > .camera_stop { - background-position: -120px -1000px ; -} -/*TANGERINE SKIN*/ -.camera_tangerine_skin .camera_prevThumbs div { - background-position: -160px -1120px; -} -.camera_tangerine_skin .camera_nextThumbs div { - background-position: -190px -1120px; -} -.camera_tangerine_skin .camera_prev > span { - background-position: 0 -1120px; -} -.camera_tangerine_skin .camera_next > span { - background-position: -40px -1120px; -} -.camera_tangerine_skin .camera_commands > .camera_play { - background-position: -80px -1120px; -} -.camera_tangerine_skin .camera_commands > .camera_stop { - background-position: -120px -1120px ; -} -/*TURQUOISE SKIN*/ -.camera_turquoise_skin .camera_prevThumbs div { - background-position: -160px -1160px; -} -.camera_turquoise_skin .camera_nextThumbs div { - background-position: -190px -1160px; -} -.camera_turquoise_skin .camera_prev > span { - background-position: 0 -1160px; -} -.camera_turquoise_skin .camera_next > span { - background-position: -40px -1160px; -} -.camera_turquoise_skin .camera_commands > .camera_play { - background-position: -80px -1160px; -} -.camera_turquoise_skin .camera_commands > .camera_stop { - background-position: -120px -1160px ; -} -/*VIOLET SKIN*/ -.camera_violet_skin .camera_prevThumbs div { - background-position: -160px -1200px; -} -.camera_violet_skin .camera_nextThumbs div { - background-position: -190px -1200px; -} -.camera_violet_skin .camera_prev > span { - background-position: 0 -1200px; -} -.camera_violet_skin .camera_next > span { - background-position: -40px -1200px; -} -.camera_violet_skin .camera_commands > .camera_play { - background-position: -80px -1200px; -} -.camera_violet_skin .camera_commands > .camera_stop { - background-position: -120px -1200px ; -} -/*WHITE SKIN*/ -.camera_white_skin .camera_prevThumbs div { - background-position: -160px -80px; -} -.camera_white_skin .camera_nextThumbs div { - background-position: -190px -80px; -} -.camera_white_skin .camera_prev > span { - background-position: 0 -80px; -} -.camera_white_skin .camera_next > span { - background-position: -40px -80px; -} -.camera_white_skin .camera_commands > .camera_play { - background-position: -80px -80px; -} -.camera_white_skin .camera_commands > .camera_stop { - background-position: -120px -80px; -} -/*YELLOW SKIN*/ -.camera_yellow_skin .camera_prevThumbs div { - background-position: -160px -1240px; -} -.camera_yellow_skin .camera_nextThumbs div { - background-position: -190px -1240px; -} -.camera_yellow_skin .camera_prev > span { - background-position: 0 -1240px; -} -.camera_yellow_skin .camera_next > span { - background-position: -40px -1240px; -} -.camera_yellow_skin .camera_commands > .camera_play { - background-position: -80px -1240px; -} -.camera_yellow_skin .camera_commands > .camera_stop { - background-position: -120px -1240px ; -} diff --git a/themes/parkzone/css/styles.css b/themes/parkzone/css/styles.css @@ -1,253 +0,0 @@ -/* -AUTHOR -Design and code by: http://www.free-responsive-templates.com -Free stock photos by: http://free-responsive-templates.com/category/free-stock-photos/ -Created: 18 September 2012 - -LICENSE -Released for free under a Creative Commons Attribution 3.0 Unported License (CC BY 3.0) -http://creativecommons.org/licenses/by/3.0/ -License: http://free-responsive-templates.com/license/ - -SUPPORT -E-mail: free.responsive.templates@gmail.com -Contact: http://free-responsive-templates.com/contact/ -*/ -* { - margin:0; - padding:0; -} -body { - font-family: 'Lustria', serif; - font-size:100%; - background: url(../images/siteBackground.jpg) repeat left top; - margin: 0; - padding: 0; - color: #434648; - text-shadow:0 0px, 1px 1px #ffffff; -} -h1 { - padding:15px 10px; -} -h1 a { - font-size:1.9em; - font-family: 'Niconne', cursive; - text-decoration:none; -} -h2 { - font-family: 'McLaren', cursive; - font-size:1.7142857142857142857142857142857em; - color:#2eaaea; - font-weight:inherit; -} -span { - font-size:1em; -} -a img { - border: none; -} -a { - color: #2eaaea; - text-decoration: underline; -} -a:hover { - color: #178ac6; - text-decoration: none; -} -img { - max-width: 100%; - height: auto; - width: auto; -} -p { - line-height:140%; -} -hr { - background: none repeat scroll 0 0 #b2b2b2; - border: 0 none; - box-shadow: 0 0px, 1px 1px #ececec; - height: 1px; - margin:1px 0; -} -.wrapper { - width:93.75%; /* 960px/1024px */ - margin:0 auto; -} -.camera_pag { - text-align:center; -} -header { - text-align:center; - background:url(../images/headerBackground.jpg) repeat left top; - margin-bottom:20px; -} -.welcome { - width:72.916666666667%; /* 460px/960px; */ - float:left; -} -.wel { - margin-bottom:20px; -} -.testimonials { - background:url(../images/headerBackground.jpg) repeat left top; - padding:5%; - margin-top:20px; -} -.testim { - padding: 0 0 30px 0; -} -.testim p { - font-style:italic; -} -.testim span { - float:right; - font-weight:bold; -} -.rightBox { - width:22.916666666667%; /* 220px/960px */ - float:right; -} -.rb { - padding-bottom:40px; -} -.sidebar { - margin:0 0 0 77%; - border:1px solid #b2b2b2; - width:22.916666666667%; /* 220px/960px */ -} -.sBox { -} -.sBox h2 { - background:url(../images/headerBackground.jpg) repeat left top; - padding:3%; -} -.sBox ul { - padding:3%; -} -.sBox li { - list-style:none; - width:100%; -} -.sBox li a { - padding:10px 5px 10px 20px; - background:url(../images/p.png) no-repeat 7px 16px; - display:block; -} -.sBox li a:hover { - padding:10px 5px 10px 20px; - background: url(../images/headerBackground.jpg) repeat 7px 16px; -} -footer { - text-align: center; - margin:20px 0; -} -footer p { - font-size:0.8571428571428571em; /* 12px/14px */ - float:left; - padding:30px 0 40px 10px; -} -.icons { - float:right; - padding:25px 10px 0 0; -} -.icons li { - list-style:none; - display:inline; -} -.clearfloat { - clear:both; - height:0; - line-height: 0px; -} -/**************************/ -/*********************************Begin main menu****************************************/ -/**************************/ -nav { - text-align:center; - margin:20px 0; -} -nav li { - list-style:none; - display:inline; -} -nav li a { - font-family: 'McLaren', cursive; - text-shadow: none; - color:#8c8c8c; - text-transform:uppercase; - text-decoration: none; - padding:3px 10px; - font-weight:bold; -} -nav li a:hover { - color:#46494b; -} -nav .active a { - color:#ffffff; - background-color:#2eaaea; - text-shadow:none; -} -nav select { - display: none; - } -select { - width:200px; -} -/**************************/ -/*********************************End main menu****************************************/ -/**************************/ -/*********************************Begin Media Queries****************************************/ -/**************************/ -/* for 960px or less */ -@media screen and (max-width: 980px) { - .wrapper { - width:93.75%; /* 960px/1024px */ - margin:0 auto; - } -} -/* for 768px or less */ -@media screen and (max-width: 768px) { - .welcome, .rightBox, .sidebar, footer p, footer .icons { - float:none; - width:auto; - } - .rightBox { - text-align:center; - margin-top:20px; - } - .sidebar { - margin:0; - } - footer .icons { - padding:0; - } - footer p { - padding:30px 0 15px 10px; -} -/* for 480px or less */ -@media screen and (max-width: 480px) { - h1 { - padding:0; - } - nav { - text-align:center; - margin:0; - } - nav li { - list-style:none; - width:100%; - } - nav li a { - font-family: 'McLaren', cursive; - text-shadow: none; - color:#8c8c8c; - text-transform:uppercase; - text-decoration: none; - padding:3px 15px; - font-weight:bold; - display:block; - } -} -/**************************/ -/*********************************End Media Queries****************************************/ -/**************************/ diff --git a/themes/parkzone/images/.DS_Store b/themes/parkzone/images/.DS_Store Binary files differ. diff --git a/themes/parkzone/images/blank.gif b/themes/parkzone/images/blank.gif Binary files differ. diff --git a/themes/parkzone/images/camera-loader.gif b/themes/parkzone/images/camera-loader.gif Binary files differ. diff --git a/themes/parkzone/images/camera_skins.png b/themes/parkzone/images/camera_skins.png Binary files differ. diff --git a/themes/parkzone/images/dribbble.png b/themes/parkzone/images/dribbble.png Binary files differ. diff --git a/themes/parkzone/images/facebook.png b/themes/parkzone/images/facebook.png Binary files differ. diff --git a/themes/parkzone/images/galleryPic1.jpg b/themes/parkzone/images/galleryPic1.jpg Binary files differ. diff --git a/themes/parkzone/images/googleplus.png b/themes/parkzone/images/googleplus.png Binary files differ. diff --git a/themes/parkzone/images/headerBackground.jpg b/themes/parkzone/images/headerBackground.jpg Binary files differ. diff --git a/themes/parkzone/images/p.png b/themes/parkzone/images/p.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay1.png b/themes/parkzone/images/patterns/overlay1.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay10.png b/themes/parkzone/images/patterns/overlay10.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay2.png b/themes/parkzone/images/patterns/overlay2.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay3.png b/themes/parkzone/images/patterns/overlay3.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay4.png b/themes/parkzone/images/patterns/overlay4.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay5.png b/themes/parkzone/images/patterns/overlay5.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay6.png b/themes/parkzone/images/patterns/overlay6.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay7.png b/themes/parkzone/images/patterns/overlay7.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay8.png b/themes/parkzone/images/patterns/overlay8.png Binary files differ. diff --git a/themes/parkzone/images/patterns/overlay9.png b/themes/parkzone/images/patterns/overlay9.png Binary files differ. diff --git a/themes/parkzone/images/rspic1.jpg b/themes/parkzone/images/rspic1.jpg Binary files differ. diff --git a/themes/parkzone/images/rspic2.jpg b/themes/parkzone/images/rspic2.jpg Binary files differ. diff --git a/themes/parkzone/images/siteBackground.jpg b/themes/parkzone/images/siteBackground.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/.DS_Store b/themes/parkzone/images/slides/.DS_Store Binary files differ. diff --git a/themes/parkzone/images/slides/1.jpg b/themes/parkzone/images/slides/1.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/2.jpg b/themes/parkzone/images/slides/2.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/3.jpg b/themes/parkzone/images/slides/3.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/4.jpg b/themes/parkzone/images/slides/4.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/5.jpg b/themes/parkzone/images/slides/5.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/thumbs/.DS_Store b/themes/parkzone/images/slides/thumbs/.DS_Store Binary files differ. diff --git a/themes/parkzone/images/slides/thumbs/1.jpg b/themes/parkzone/images/slides/thumbs/1.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/thumbs/2.jpg b/themes/parkzone/images/slides/thumbs/2.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/thumbs/3.jpg b/themes/parkzone/images/slides/thumbs/3.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/thumbs/4.jpg b/themes/parkzone/images/slides/thumbs/4.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/thumbs/5.jpg b/themes/parkzone/images/slides/thumbs/5.jpg Binary files differ. diff --git a/themes/parkzone/images/slides/thumbs/header_bg.png b/themes/parkzone/images/slides/thumbs/header_bg.png Binary files differ. diff --git a/themes/parkzone/images/twitter.png b/themes/parkzone/images/twitter.png Binary files differ. diff --git a/themes/parkzone/index.php b/themes/parkzone/index.php @@ -1,156 +0,0 @@ -<!doctype html> -<!-- -AUTHOR -Design and code by: http://www.free-responsive-templates.com -Free stock photos by: http://free-responsive-templates.com/category/free-stock-photos/ -Created: 18 September 2012 - -LICENSE -Released for free under a Creative Commons Attribution 3.0 Unported License (CC BY 3.0) -http://creativecommons.org/licenses/by/3.0/ -License: http://free-responsive-templates.com/license/ - -SUPPORT -E-mail: free.responsive.templates@gmail.com -Contact: http://free-responsive-templates.com/contact/ ---> -<html> -<head> -<meta charset="utf-8"> -<meta name="viewport" content="width=device-width, initial-scale=1.0"> -<title>Template- Park Zone</title> -<link href='http://fonts.googleapis.com/css?family=Lustria|Niconne|McLaren' rel='stylesheet' type='text/css'> -<link href="css/styles.css" rel="stylesheet" type="text/css"> -<link rel='stylesheet' id='camera-css' href='css/camera.css' type='text/css' media='all'> -<script type='text/javascript' src='scripts/jquery.min.js'></script> -<script type='text/javascript' src='scripts/jquery.mobile.customized.min.js'></script> -<script type='text/javascript' src='scripts/jquery.easing.1.3.js'></script> -<script type='text/javascript' src='scripts/camera.min.js'></script> -<script> - jQuery(function(){ - - jQuery('#camera_wrap_1').camera({ - thumbnails: true - }); - }); -</script> -</head> -<body> -<header> - <h1><a href="">park zone</a></h1> - <hr> - <hr> - <nav> - <ul> - <li class="active"><a href="">Home</a></li> - <li><a href="">About</a></li> - <li><a href="">Services</a></li> - <li><a href="">Blog</a></li> - <li><a href="">Contact</a></li> - </ul> - </nav> - <hr> - <hr> - <div class="clearfloat"></div> -</header> -<div class="wrapper"> - <!--begin Welcome--> - <div class="welcome"> - <!--begin slider--> - <div class="camera_wrap camera_azure_skin" id="camera_wrap_1"> - <div data-thumb="images/slides/thumbs/1.jpg" data-src="images/slides/1.jpg"> - <div class="camera_caption fadeFromBottom">Park 1! <em>Park Zone description</em></div> - </div> - <div data-thumb="images/slides/thumbs/2.jpg" data-src="images/slides/2.jpg"> - <div class="camera_caption fadeFromBottom">Park 2! <em>Park Zone description</em></div> - </div> - <div data-thumb="images/slides/thumbs/3.jpg" data-src="images/slides/3.jpg"> - <div class="camera_caption fadeFromBottom">Park 3! <em>Park Zone description</em></div> - </div> - <div data-thumb="images/slides/thumbs/4.jpg" data-src="images/slides/4.jpg"> - <div class="camera_caption fadeFromBottom">Park 4! <em>Park Zone description</em></div> - </div> - <div data-thumb="images/slides/thumbs/5.jpg" data-src="images/slides/5.jpg"> - <div class="camera_caption fadeFromBottom">Park 5! <em>Park Zone description</em></div> - </div> - </div> - <!--end slider--> - <div class="wel"> - <h2>Welcome</h2> - <p> - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. - </p> - <p> - It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum - </p> - </div> - <hr> - <hr> - <div class="testimonials"> - <h2>Testimonials</h2> - <div class="testim"> - <p> - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown - </p> - <span>Julia White</span> - </div> - <div class="testim"> - <p> - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown - </p> - <span>Julia White</span> - </div> - </div> - </div> - <!--end Welcome--> - <!--begin Sidebar --> - <div class="sidebar"> - <div class="sBox"> - <h2>Sidebar</h2> - <ul> - <li><a href="">Lorem Ipsum is simply </a></li> - <li><a href="">Dummy text of the</a></li> - <li><a href="">Printing and typesetting</a></li> - <li><a href="">Industry lorem Ipsum</a></li> - <li><a href="">Has been the industry's</a></li> - <li><a href="">Standard dummy text</a></li> - <li><a href="">Ever since the 1500s</a></li> - <li><a href="">When an unknown</a></li> - <li><a href="">Printer took a galley</a></li> - </ul> - </div> - <div class="sBox"> - <h2>Park List</h2> - <ul> - <li><a href="">Lorem Ipsum is simply </a></li> - <li><a href="">Dummy text of the</a></li> - <li><a href="">Printing and typesetting</a></li> - <li><a href="">Industry lorem Ipsum</a></li> - <li><a href="">Has been the industry's</a></li> - <li><a href="">Standard dummy text</a></li> - <li><a href="">Ever since the 1500s</a></li> - <li><a href="">When an unknown</a></li> - <li><a href="">Printer took a galley</a></li> - </ul> - </div> - </div> - <!--end Sidebar--> - <div class="clearfloat"></div> -</div> -<footer> - <hr> - <hr> - <p> - Copyright © <a href="#">Your Site Name</a> | Designed by <a href="http://www.free-responsive-templates.com" title="free responsive templates">Free Responsive Templates</a> - </p> - <div class="icons"> - <ul> - <li><a href=""><img src="images/facebook.png" alt="facebook icon"></a></li> - <li><a href=""><img src="images/twitter.png" alt="twitter icon"></a></li> - <li><a href=""><img src="images/googleplus.png" alt="google plus icon"></a></li> - <li><a href=""><img src="images/dribbble.png" alt="dribble icon"></a></li> - </ul> - </div> -</footer> -</body> -</html> diff --git a/themes/parkzone/scripts/camera.js b/themes/parkzone/scripts/camera.js @@ -1,2268 +0,0 @@ -// Camera slideshow v1.3.3 - a jQuery slideshow with many effects, transitions, easy to customize, using canvas and mobile ready, based on jQuery 1.4+ -// Copyright (c) 2012 by Manuel Masia - www.pixedelic.com -// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php -;(function($){$.fn.camera = function(opts, callback) { - - var defaults = { - alignment : 'center', //topLeft, topCenter, topRight, centerLeft, center, centerRight, bottomLeft, bottomCenter, bottomRight - - autoAdvance : true, //true, false - - mobileAutoAdvance : true, //true, false. Auto-advancing for mobile devices - - barDirection : 'leftToRight', //'leftToRight', 'rightToLeft', 'topToBottom', 'bottomToTop' - - barPosition : 'bottom', //'bottom', 'left', 'top', 'right' - - cols : 6, - - easing : 'easeInOutExpo', //for the complete list http://jqueryui.com/demos/effect/easing.html - - mobileEasing : '', //leave empty if you want to display the same easing on mobile devices and on desktop etc. - - fx : 'random', //'random','simpleFade', 'curtainTopLeft', 'curtainTopRight', 'curtainBottomLeft', 'curtainBottomRight', 'curtainSliceLeft', 'curtainSliceRight', 'blindCurtainTopLeft', 'blindCurtainTopRight', 'blindCurtainBottomLeft', 'blindCurtainBottomRight', 'blindCurtainSliceBottom', 'blindCurtainSliceTop', 'stampede', 'mosaic', 'mosaicReverse', 'mosaicRandom', 'mosaicSpiral', 'mosaicSpiralReverse', 'topLeftBottomRight', 'bottomRightTopLeft', 'bottomLeftTopRight', 'bottomLeftTopRight' - //you can also use more than one effect, just separate them with commas: 'simpleFade, scrollRight, scrollBottom' - - mobileFx : '', //leave empty if you want to display the same effect on mobile devices and on desktop etc. - - gridDifference : 250, //to make the grid blocks slower than the slices, this value must be smaller than transPeriod - - height : '50%', //here you can type pixels (for instance '300px'), a percentage (relative to the width of the slideshow, for instance '50%') or 'auto' - - imagePath : 'images/', //he path to the image folder (it serves for the blank.gif, when you want to display videos) - - hover : true, //true, false. Puase on state hover. Not available for mobile devices - - loader : 'pie', //pie, bar, none (even if you choose "pie", old browsers like IE8- can't display it... they will display always a loading bar) - - loaderColor : '#eeeeee', - - loaderBgColor : '#222222', - - loaderOpacity : .8, //0, .1, .2, .3, .4, .5, .6, .7, .8, .9, 1 - - loaderPadding : 2, //how many empty pixels you want to display between the loader and its background - - loaderStroke : 7, //the thickness both of the pie loader and of the bar loader. Remember: for the pie, the loader thickness must be less than a half of the pie diameter - - minHeight : '200px', //you can also leave it blank - - navigation : true, //true or false, to display or not the navigation buttons - - navigationHover : true, //if true the navigation button (prev, next and play/stop buttons) will be visible on hover state only, if false they will be visible always - - mobileNavHover : true, //same as above, but only for mobile devices - - opacityOnGrid : false, //true, false. Decide to apply a fade effect to blocks and slices: if your slideshow is fullscreen or simply big, I recommend to set it false to have a smoother effect - - overlayer : true, //a layer on the images to prevent the users grab them simply by clicking the right button of their mouse (.camera_overlayer) - - pagination : true, - - playPause : true, //true or false, to display or not the play/pause buttons - - pauseOnClick : true, //true, false. It stops the slideshow when you click the sliders. - - pieDiameter : 38, - - piePosition : 'rightTop', //'rightTop', 'leftTop', 'leftBottom', 'rightBottom' - - portrait : false, //true, false. Select true if you don't want that your images are cropped - - rows : 4, - - slicedCols : 12, //if 0 the same value of cols - - slicedRows : 8, //if 0 the same value of rows - - slideOn : 'random', //next, prev, random: decide if the transition effect will be applied to the current (prev) or the next slide - - thumbnails : false, - - time : 7000, //milliseconds between the end of the sliding effect and the start of the nex one - - transPeriod : 1500, //lenght of the sliding effect in milliseconds - -////////callbacks - - onEndTransition : function() { }, //this callback is invoked when the transition effect ends - - onLoaded : function() { }, //this callback is invoked when the image on a slide has completely loaded - - onStartLoading : function() { }, //this callback is invoked when the image on a slide start loading - - onStartTransition : function() { } //this callback is invoked when the transition effect starts - - }; - - - function isMobile() { - if( navigator.userAgent.match(/Android/i) || - navigator.userAgent.match(/webOS/i) || - navigator.userAgent.match(/iPad/i) || - navigator.userAgent.match(/iPhone/i) || - navigator.userAgent.match(/iPod/i) - ){ - return true; - } - } - - var opts = $.extend({}, defaults, opts); - - var wrap = $(this).addClass('camera_wrap'); - - wrap.wrapInner( - '<div class="camera_src" />' - ).wrapInner( - '<div class="camera_fakehover" />' - ); - - var fakeHover = $('.camera_fakehover',wrap); - - fakeHover.append( - '<div class="camera_target"></div>' - ); - if(opts.overlayer == true){ - fakeHover.append( - '<div class="camera_overlayer"></div>' - ) - } - fakeHover.append( - '<div class="camera_target_content"></div>' - ); - - var loader; - - if(opts.loader=='pie' && $.browser.msie && $.browser.version < 9){ - loader = 'bar'; - } else { - loader = opts.loader; - } - - if(loader == 'pie'){ - fakeHover.append( - '<div class="camera_pie"></div>' - ) - } else if (loader == 'bar') { - fakeHover.append( - '<div class="camera_bar"></div>' - ) - } else { - fakeHover.append( - '<div class="camera_bar" style="display:none"></div>' - ) - } - - if(opts.playPause==true){ - fakeHover.append( - '<div class="camera_commands"></div>' - ) - } - - if(opts.navigation==true){ - fakeHover.append( - '<div class="camera_prev"><span></span></div>' - ).append( - '<div class="camera_next"><span></span></div>' - ); - } - - if(opts.thumbnails==true){ - wrap.append( - '<div class="camera_thumbs_cont" />' - ); - } - - if(opts.thumbnails==true && opts.pagination!=true){ - $('.camera_thumbs_cont',wrap).wrap( - '<div />' - ).wrap( - '<div class="camera_thumbs" />' - ).wrap( - '<div />' - ).wrap( - '<div class="camera_command_wrap" />' - ); - } - - if(opts.pagination==true){ - wrap.append( - '<div class="camera_pag"></div>' - ); - } - - wrap.append( - '<div class="camera_loader"></div>' - ); - - $('.camera_caption',wrap).each(function(){ - $(this).wrapInner('<div />'); - }); - - - var pieID = 'pie_'+wrap.index(), - elem = $('.camera_src',wrap), - target = $('.camera_target',wrap), - content = $('.camera_target_content',wrap), - pieContainer = $('.camera_pie',wrap), - barContainer = $('.camera_bar',wrap), - prevNav = $('.camera_prev',wrap), - nextNav = $('.camera_next',wrap), - commands = $('.camera_commands',wrap), - pagination = $('.camera_pag',wrap), - thumbs = $('.camera_thumbs_cont',wrap); - - - var w, - h; - - - var allImg = new Array(); - $('> div', elem).each( function() { - allImg.push($(this).attr('data-src')); - }); - - var allLinks = new Array(); - $('> div', elem).each( function() { - if($(this).attr('data-link')){ - allLinks.push($(this).attr('data-link')); - } else { - allLinks.push(''); - } - }); - - var allTargets = new Array(); - $('> div', elem).each( function() { - if($(this).attr('data-target')){ - allTargets.push($(this).attr('data-target')); - } else { - allTargets.push(''); - } - }); - - var allPor = new Array(); - $('> div', elem).each( function() { - if($(this).attr('data-portrait')){ - allPor.push($(this).attr('data-portrait')); - } else { - allPor.push(''); - } - }); - - var allAlign= new Array(); - $('> div', elem).each( function() { - if($(this).attr('data-alignment')){ - allAlign.push($(this).attr('data-alignment')); - } else { - allAlign.push(''); - } - }); - - - var allThumbs = new Array(); - $('> div', elem).each( function() { - if($(this).attr('data-thumb')){ - allThumbs.push($(this).attr('data-thumb')); - } else { - allThumbs.push(''); - } - }); - - var amountSlide = allImg.length; - - $(content).append('<div class="cameraContents" />'); - var loopMove; - for (loopMove=0;loopMove<amountSlide;loopMove++) - { - $('.cameraContents',content).append('<div class="cameraContent" />'); - if(allLinks[loopMove]!=''){ - //only for Wordpress plugin - var dataBox = $('> div ',elem).eq(loopMove).attr('data-box'); - if(typeof dataBox !== 'undefined' && dataBox !== false && dataBox != '') { - dataBox = 'data-box="'+$('> div ',elem).eq(loopMove).attr('data-box')+'"'; - } else { - dataBox = ''; - } - // - $('.camera_target_content .cameraContent:eq('+loopMove+')',wrap).append('<a class="camera_link" href="'+allLinks[loopMove]+'" '+dataBox+' target="'+allTargets[loopMove]+'"></a>'); - } - - } - $('.camera_caption',wrap).each(function(){ - var ind = $(this).parent().index(), - cont = wrap.find('.cameraContent').eq(ind); - $(this).appendTo(cont); - }); - - target.append('<div class="cameraCont" />'); - var cameraCont = $('.cameraCont',wrap); - - - - var loop; - for (loop=0;loop<amountSlide;loop++) - { - cameraCont.append('<div class="cameraSlide cameraSlide_'+loop+'" />'); - var div = $('> div:eq('+loop+')',elem); - target.find('.cameraSlide_'+loop).clone(div); - } - - - function thumbnailVisible() { - var wTh = $(thumbs).width(); - $('li', thumbs).removeClass('camera_visThumb'); - $('li', thumbs).each(function(){ - var pos = $(this).position(), - ulW = $('ul', thumbs).outerWidth(), - offUl = $('ul', thumbs).offset().left, - offDiv = $('> div',thumbs).offset().left, - ulLeft = offDiv-offUl; - if(ulLeft>0){ - $('.camera_prevThumbs',camera_thumbs_wrap).removeClass('hideNav'); - } else { - $('.camera_prevThumbs',camera_thumbs_wrap).addClass('hideNav'); - } - if((ulW-ulLeft)>wTh){ - $('.camera_nextThumbs',camera_thumbs_wrap).removeClass('hideNav'); - } else { - $('.camera_nextThumbs',camera_thumbs_wrap).addClass('hideNav'); - } - var left = pos.left, - right = pos.left+($(this).width()); - if(right-ulLeft<=wTh && left-ulLeft>=0){ - $(this).addClass('camera_visThumb'); - } - }); - } - - $(window).bind('load resize pageshow',function(){ - thumbnailPos(); - thumbnailVisible(); - }); - - - cameraCont.append('<div class="cameraSlide cameraSlide_'+loop+'" />'); - - - var started; - - wrap.show(); - var w = target.width(); - var h = target.height(); - - var setPause; - - $(window).bind('resize pageshow',function(){ - if(started == true) { - resizeImage(); - } - $('ul', thumbs).animate({'margin-top':0},0,thumbnailPos); - if(!elem.hasClass('paused')){ - elem.addClass('paused'); - if($('.camera_stop',camera_thumbs_wrap).length){ - $('.camera_stop',camera_thumbs_wrap).hide() - $('.camera_play',camera_thumbs_wrap).show(); - if(loader!='none'){ - $('#'+pieID).hide(); - } - } else { - if(loader!='none'){ - $('#'+pieID).hide(); - } - } - clearTimeout(setPause); - setPause = setTimeout(function(){ - elem.removeClass('paused'); - if($('.camera_play',camera_thumbs_wrap).length){ - $('.camera_play',camera_thumbs_wrap).hide(); - $('.camera_stop',camera_thumbs_wrap).show(); - if(loader!='none'){ - $('#'+pieID).fadeIn(); - } - } else { - if(loader!='none'){ - $('#'+pieID).fadeIn(); - } - } - },1500); - } - }); - - function resizeImage(){ - var res; - function resizeImageWork(){ - w = wrap.width(); - if(opts.height.indexOf('%')!=-1) { - var startH = Math.round(w / (100/parseFloat(opts.height))); - if(opts.minHeight != '' && startH < parseFloat(opts.minHeight)){ - h = parseFloat(opts.minHeight); - } else { - h = startH; - } - wrap.css({height:h}); - } else if (opts.height=='auto') { - h = wrap.height(); - } else { - h = parseFloat(opts.height); - wrap.css({height:h}); - } - $('.camerarelative',target).css({'width':w,'height':h}); - $('.imgLoaded',target).each(function(){ - var t = $(this), - wT = t.attr('width'), - hT = t.attr('height'), - imgLoadIn = t.index(), - mTop, - mLeft, - alignment = t.attr('data-alignment'), - portrait = t.attr('data-portrait'); - - if(typeof alignment === 'undefined' || alignment === false || alignment === ''){ - alignment = opts.alignment; - } - - if(typeof portrait === 'undefined' || portrait === false || portrait === ''){ - portrait = opts.portrait; - } - - if(portrait==false||portrait=='false'){ - if((wT/hT)<(w/h)) { - var r = w / wT; - var d = (Math.abs(h - (hT*r)))*0.5; - switch(alignment){ - case 'topLeft': - mTop = 0; - break; - case 'topCenter': - mTop = 0; - break; - case 'topRight': - mTop = 0; - break; - case 'centerLeft': - mTop = '-'+d+'px'; - break; - case 'center': - mTop = '-'+d+'px'; - break; - case 'centerRight': - mTop = '-'+d+'px'; - break; - case 'bottomLeft': - mTop = '-'+d*2+'px'; - break; - case 'bottomCenter': - mTop = '-'+d*2+'px'; - break; - case 'bottomRight': - mTop = '-'+d*2+'px'; - break; - } - t.css({ - 'height' : hT*r, - 'margin-left' : 0, - 'margin-top' : mTop, - 'position' : 'absolute', - 'visibility' : 'visible', - 'width' : w - }); - } - else { - var r = h / hT; - var d = (Math.abs(w - (wT*r)))*0.5; - switch(alignment){ - case 'topLeft': - mLeft = 0; - break; - case 'topCenter': - mLeft = '-'+d+'px'; - break; - case 'topRight': - mLeft = '-'+d*2+'px'; - break; - case 'centerLeft': - mLeft = 0; - break; - case 'center': - mLeft = '-'+d+'px'; - break; - case 'centerRight': - mLeft = '-'+d*2+'px'; - break; - case 'bottomLeft': - mLeft = 0; - break; - case 'bottomCenter': - mLeft = '-'+d+'px'; - break; - case 'bottomRight': - mLeft = '-'+d*2+'px'; - break; - } - t.css({ - 'height' : h, - 'margin-left' : mLeft, - 'margin-top' : 0, - 'position' : 'absolute', - 'visibility' : 'visible', - 'width' : wT*r - }); - } - } else { - if((wT/hT)<(w/h)) { - var r = h / hT; - var d = (Math.abs(w - (wT*r)))*0.5; - switch(alignment){ - case 'topLeft': - mLeft = 0; - break; - case 'topCenter': - mLeft = d+'px'; - break; - case 'topRight': - mLeft = d*2+'px'; - break; - case 'centerLeft': - mLeft = 0; - break; - case 'center': - mLeft = d+'px'; - break; - case 'centerRight': - mLeft = d*2+'px'; - break; - case 'bottomLeft': - mLeft = 0; - break; - case 'bottomCenter': - mLeft = d+'px'; - break; - case 'bottomRight': - mLeft = d*2+'px'; - break; - } - t.css({ - 'height' : h, - 'margin-left' : mLeft, - 'margin-top' : 0, - 'position' : 'absolute', - 'visibility' : 'visible', - 'width' : wT*r - }); - } - else { - var r = w / wT; - var d = (Math.abs(h - (hT*r)))*0.5; - switch(alignment){ - case 'topLeft': - mTop = 0; - break; - case 'topCenter': - mTop = 0; - break; - case 'topRight': - mTop = 0; - break; - case 'centerLeft': - mTop = d+'px'; - break; - case 'center': - mTop = d+'px'; - break; - case 'centerRight': - mTop = d+'px'; - break; - case 'bottomLeft': - mTop = d*2+'px'; - break; - case 'bottomCenter': - mTop = d*2+'px'; - break; - case 'bottomRight': - mTop = d*2+'px'; - break; - } - t.css({ - 'height' : hT*r, - 'margin-left' : 0, - 'margin-top' : mTop, - 'position' : 'absolute', - 'visibility' : 'visible', - 'width' : w - }); - } - } - }); - } - if (started == true) { - clearTimeout(res); - res = setTimeout(resizeImageWork,200); - } else { - resizeImageWork(); - } - - started = true; - } - - - var u, - setT; - - var clickEv, - autoAdv, - navHover, - commands, - pagination; - - var videoHover, - videoPresent; - - if(isMobile() && opts.mobileAutoAdvance!=''){ - autoAdv = opts.mobileAutoAdvance; - } else { - autoAdv = opts.autoAdvance; - } - - if(autoAdv==false){ - elem.addClass('paused'); - } - - if(isMobile() && opts.mobileNavHover!=''){ - navHover = opts.mobileNavHover; - } else { - navHover = opts.navigationHover; - } - - if(elem.length!=0){ - - var selector = $('.cameraSlide',target); - selector.wrapInner('<div class="camerarelative" />'); - - var navSlide; - - var barDirection = opts.barDirection; - - var camera_thumbs_wrap = wrap; - - - $('iframe',fakeHover).each(function(){ - var t = $(this); - var src = t.attr('src'); - t.attr('data-src',src); - var divInd = t.parent().index('.camera_src > div'); - $('.camera_target_content .cameraContent:eq('+divInd+')',wrap).append(t); - }); - function imgFake() { - $('iframe',fakeHover).each(function(){ - $('.camera_caption',fakeHover).show(); - var t = $(this); - var cloneSrc = t.attr('data-src'); - t.attr('src',cloneSrc); - var imgFakeUrl = opts.imagePath+'blank.gif'; - var imgFake = new Image(); - imgFake.src = imgFakeUrl; - if(opts.height.indexOf('%')!=-1) { - var startH = Math.round(w / (100/parseFloat(opts.height))); - if(opts.minHeight != '' && startH < parseFloat(opts.minHeight)){ - h = parseFloat(opts.minHeight); - } else { - h = startH; - } - } else if (opts.height=='auto') { - h = wrap.height(); - } else { - h = parseFloat(opts.height); - } - t.after($(imgFake).attr({'class':'imgFake','width':w,'height':h})); - var clone = t.clone(); - t.remove(); - $(imgFake).bind('click',function(){ - if($(this).css('position')=='absolute') { - $(this).remove(); - if(cloneSrc.indexOf('vimeo') != -1 || cloneSrc.indexOf('youtube') != -1) { - if(cloneSrc.indexOf('?') != -1){ - autoplay = '&autoplay=1'; - } else { - autoplay = '?autoplay=1'; - } - } else if(cloneSrc.indexOf('dailymotion') != -1) { - if(cloneSrc.indexOf('?') != -1){ - autoplay = '&autoPlay=1'; - } else { - autoplay = '?autoPlay=1'; - } - } - clone.attr('src',cloneSrc+autoplay); - videoPresent = true; - } else { - $(this).css({position:'absolute',top:0,left:0,zIndex:10}).after(clone); - clone.css({position:'absolute',top:0,left:0,zIndex:9}); - } - }); - }); - } - - imgFake(); - - - if(opts.hover==true){ - if(!isMobile()){ - fakeHover.hover(function(){ - elem.addClass('hovered'); - },function(){ - elem.removeClass('hovered'); - }); - } - } - - if(navHover==true){ - $(prevNav,wrap).animate({opacity:0},0); - $(nextNav,wrap).animate({opacity:0},0); - $(commands,wrap).animate({opacity:0},0); - if(isMobile()){ - fakeHover.live('vmouseover',function(){ - $(prevNav,wrap).animate({opacity:1},200); - $(nextNav,wrap).animate({opacity:1},200); - $(commands,wrap).animate({opacity:1},200); - }); - fakeHover.live('vmouseout',function(){ - $(prevNav,wrap).delay(500).animate({opacity:0},200); - $(nextNav,wrap).delay(500).animate({opacity:0},200); - $(commands,wrap).delay(500).animate({opacity:0},200); - }); - } else { - fakeHover.hover(function(){ - $(prevNav,wrap).animate({opacity:1},200); - $(nextNav,wrap).animate({opacity:1},200); - $(commands,wrap).animate({opacity:1},200); - },function(){ - $(prevNav,wrap).animate({opacity:0},200); - $(nextNav,wrap).animate({opacity:0},200); - $(commands,wrap).animate({opacity:0},200); - }); - } - } - - - $('.camera_stop',camera_thumbs_wrap).live('click',function(){ - autoAdv = false; - elem.addClass('paused'); - if($('.camera_stop',camera_thumbs_wrap).length){ - $('.camera_stop',camera_thumbs_wrap).hide() - $('.camera_play',camera_thumbs_wrap).show(); - if(loader!='none'){ - $('#'+pieID).hide(); - } - } else { - if(loader!='none'){ - $('#'+pieID).hide(); - } - } - }); - - $('.camera_play',camera_thumbs_wrap).live('click',function(){ - autoAdv = true; - elem.removeClass('paused'); - if($('.camera_play',camera_thumbs_wrap).length){ - $('.camera_play',camera_thumbs_wrap).hide(); - $('.camera_stop',camera_thumbs_wrap).show(); - if(loader!='none'){ - $('#'+pieID).show(); - } - } else { - if(loader!='none'){ - $('#'+pieID).show(); - } - } - }); - - if(opts.pauseOnClick==true){ - $('.camera_target_content',fakeHover).mouseup(function(){ - autoAdv = false; - elem.addClass('paused'); - $('.camera_stop',camera_thumbs_wrap).hide() - $('.camera_play',camera_thumbs_wrap).show(); - $('#'+pieID).hide(); - }); - } - $('.cameraContent, .imgFake',fakeHover).hover(function(){ - videoHover = true; - },function(){ - videoHover = false; - }); - - $('.cameraContent, .imgFake',fakeHover).bind('click',function(){ - if(videoPresent == true && videoHover == true) { - autoAdv = false; - $('.camera_caption',fakeHover).hide(); - elem.addClass('paused'); - $('.camera_stop',camera_thumbs_wrap).hide() - $('.camera_play',camera_thumbs_wrap).show(); - $('#'+pieID).hide(); - } - }); - - - } - - - function shuffle(arr) { - for( - var j, x, i = arr.length; i; - j = parseInt(Math.random() * i), - x = arr[--i], arr[i] = arr[j], arr[j] = x - ); - return arr; - } - - function isInteger(s) { - return Math.ceil(s) == Math.floor(s); - } - - if (loader != 'pie') { - barContainer.append('<span class="camera_bar_cont" />'); - $('.camera_bar_cont',barContainer) - .animate({opacity:opts.loaderOpacity},0) - .css({'position':'absolute', 'left':0, 'right':0, 'top':0, 'bottom':0, 'background-color':opts.loaderBgColor}) - .append('<span id="'+pieID+'" />'); - $('#'+pieID).animate({opacity:0},0); - var canvas = $('#'+pieID); - canvas.css({'position':'absolute', 'background-color':opts.loaderColor}); - switch(opts.barPosition){ - case 'left': - barContainer.css({right:'auto',width:opts.loaderStroke}); - break; - case 'right': - barContainer.css({left:'auto',width:opts.loaderStroke}); - break; - case 'top': - barContainer.css({bottom:'auto',height:opts.loaderStroke}); - break; - case 'bottom': - barContainer.css({top:'auto',height:opts.loaderStroke}); - break; - } - switch(barDirection){ - case 'leftToRight': - canvas.css({'left':0, 'right':0, 'top':opts.loaderPadding, 'bottom':opts.loaderPadding}); - break; - case 'rightToLeft': - canvas.css({'left':0, 'right':0, 'top':opts.loaderPadding, 'bottom':opts.loaderPadding}); - break; - case 'topToBottom': - canvas.css({'left':opts.loaderPadding, 'right':opts.loaderPadding, 'top':0, 'bottom':0}); - break; - case 'bottomToTop': - canvas.css({'left':opts.loaderPadding, 'right':opts.loaderPadding, 'top':0, 'bottom':0}); - break; - } - } else { - pieContainer.append('<canvas id="'+pieID+'"></canvas>'); - var G_vmlCanvasManager; - var canvas = document.getElementById(pieID); - canvas.setAttribute("width", opts.pieDiameter); - canvas.setAttribute("height", opts.pieDiameter); - var piePosition; - switch(opts.piePosition){ - case 'leftTop' : - piePosition = 'left:0; top:0;'; - break; - case 'rightTop' : - piePosition = 'right:0; top:0;'; - break; - case 'leftBottom' : - piePosition = 'left:0; bottom:0;'; - break; - case 'rightBottom' : - piePosition = 'right:0; bottom:0;'; - break; - } - canvas.setAttribute("style", "position:absolute; z-index:1002; "+piePosition); - var rad; - var radNew; - - if (canvas && canvas.getContext) { - var ctx = canvas.getContext("2d"); - ctx.rotate(Math.PI*(3/2)); - ctx.translate(-opts.pieDiameter,0); - } - - } - if(loader=='none' || autoAdv==false) { - $('#'+pieID).hide(); - $('.camera_canvas_wrap',camera_thumbs_wrap).hide(); - } - - if($(pagination).length) { - $(pagination).append('<ul class="camera_pag_ul" />'); - var li; - for (li = 0; li < amountSlide; li++){ - $('.camera_pag_ul',wrap).append('<li class="pag_nav_'+li+'" style="position:relative; z-index:1002"><span><span>'+li+'</span></span></li>'); - } - $('.camera_pag_ul li',wrap).hover(function(){ - $(this).addClass('camera_hover'); - if($('.camera_thumb',this).length){ - var wTh = $('.camera_thumb',this).outerWidth(), - hTh = $('.camera_thumb',this).outerHeight(), - wTt = $(this).outerWidth(); - $('.camera_thumb',this).show().css({'top':'-'+hTh+'px','left':'-'+(wTh-wTt)/2+'px'}).animate({'opacity':1,'margin-top':'-3px'},200); - $('.thumb_arrow',this).show().animate({'opacity':1,'margin-top':'-3px'},200); - } - },function(){ - $(this).removeClass('camera_hover'); - $('.camera_thumb',this).animate({'margin-top':'-20px','opacity':0},200,function(){ - $(this).css({marginTop:'5px'}).hide(); - }); - $('.thumb_arrow',this).animate({'margin-top':'-20px','opacity':0},200,function(){ - $(this).css({marginTop:'5px'}).hide(); - }); - }); - } - - - - if($(thumbs).length) { - var thumbUrl; - if(!$(pagination).length) { - $(thumbs).append('<div />'); - $(thumbs).before('<div class="camera_prevThumbs hideNav"><div></div></div>').before('<div class="camera_nextThumbs hideNav"><div></div></div>'); - $('> div',thumbs).append('<ul />'); - $.each(allThumbs, function(i, val) { - if($('> div', elem).eq(i).attr('data-thumb')!='') { - var thumbUrl = $('> div', elem).eq(i).attr('data-thumb'), - newImg = new Image(); - newImg.src = thumbUrl; - $('ul',thumbs).append('<li class="pix_thumb pix_thumb_'+i+'" />'); - $('li.pix_thumb_'+i,thumbs).append($(newImg).attr('class','camera_thumb')); - } - }); - } else { - $.each(allThumbs, function(i, val) { - if($('> div', elem).eq(i).attr('data-thumb')!='') { - var thumbUrl = $('> div', elem).eq(i).attr('data-thumb'), - newImg = new Image(); - newImg.src = thumbUrl; - $('li.pag_nav_'+i,pagination).append($(newImg).attr('class','camera_thumb').css({'position':'absolute'}).animate({opacity:0},0)); - $('li.pag_nav_'+i+' > img',pagination).after('<div class="thumb_arrow" />'); - $('li.pag_nav_'+i+' > .thumb_arrow',pagination).animate({opacity:0},0); - } - }); - wrap.css({marginBottom:$(pagination).outerHeight()}); - } - } else if(!$(thumbs).length && $(pagination).length) { - wrap.css({marginBottom:$(pagination).outerHeight()}); - } - - - var firstPos = true; - - function thumbnailPos() { - if($(thumbs).length && !$(pagination).length) { - var wTh = $(thumbs).outerWidth(), - owTh = $('ul > li',thumbs).outerWidth(), - pos = $('li.cameracurrent', thumbs).length ? $('li.cameracurrent', thumbs).position() : '', - ulW = ($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth()), - offUl = $('ul', thumbs).offset().left, - offDiv = $('> div', thumbs).offset().left, - ulLeft; - - if(offUl<0){ - ulLeft = '-'+ (offDiv-offUl); - } else { - ulLeft = offDiv-offUl; - } - - - - if(firstPos == true) { - $('ul', thumbs).width($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth()); - if($(thumbs).length && !$(pagination).lenght) { - wrap.css({marginBottom:$(thumbs).outerHeight()}); - } - thumbnailVisible(); - /*I repeat this two lines because of a problem with iPhones*/ - $('ul', thumbs).width($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth()); - if($(thumbs).length && !$(pagination).lenght) { - wrap.css({marginBottom:$(thumbs).outerHeight()}); - } - /*...*/ - } - firstPos = false; - - var left = $('li.cameracurrent', thumbs).length ? pos.left : '', - right = $('li.cameracurrent', thumbs).length ? pos.left+($('li.cameracurrent', thumbs).outerWidth()) : ''; - if(left<$('li.cameracurrent', thumbs).outerWidth()) { - left = 0; - } - if(right-ulLeft>wTh){ - if((left+wTh)<ulW){ - $('ul', thumbs).animate({'margin-left':'-'+(left)+'px'},500,thumbnailVisible); - } else { - $('ul', thumbs).animate({'margin-left':'-'+($('ul', thumbs).outerWidth()-wTh)+'px'},500,thumbnailVisible); - } - } else if(left-ulLeft<0) { - $('ul', thumbs).animate({'margin-left':'-'+(left)+'px'},500,thumbnailVisible); - } else { - $('ul', thumbs).css({'margin-left':'auto', 'margin-right':'auto'}); - setTimeout(thumbnailVisible,100); - } - - } - } - - if($(commands).length) { - $(commands).append('<div class="camera_play"></div>').append('<div class="camera_stop"></div>'); - if(autoAdv==true){ - $('.camera_play',camera_thumbs_wrap).hide(); - $('.camera_stop',camera_thumbs_wrap).show(); - } else { - $('.camera_stop',camera_thumbs_wrap).hide(); - $('.camera_play',camera_thumbs_wrap).show(); - } - - } - - - function canvasLoader() { - rad = 0; - var barWidth = $('.camera_bar_cont',camera_thumbs_wrap).width(), - barHeight = $('.camera_bar_cont',camera_thumbs_wrap).height(); - - if (loader != 'pie') { - switch(barDirection){ - case 'leftToRight': - $('#'+pieID).css({'right':barWidth}); - break; - case 'rightToLeft': - $('#'+pieID).css({'left':barWidth}); - break; - case 'topToBottom': - $('#'+pieID).css({'bottom':barHeight}); - break; - case 'bottomToTop': - $('#'+pieID).css({'top':barHeight}); - break; - } - } else { - ctx.clearRect(0,0,opts.pieDiameter,opts.pieDiameter); - } - } - - - canvasLoader(); - - - $('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom',fakeHover).each(function(){ - $(this).css('visibility','hidden'); - }); - - opts.onStartLoading.call(this); - - nextSlide(); - - - /*************************** FUNCTION nextSlide() ***************************/ - - function nextSlide(navSlide){ - elem.addClass('camerasliding'); - - videoPresent = false; - var vis = parseFloat($('div.cameraSlide.cameracurrent',target).index()); - - if(navSlide>0){ - var slideI = navSlide-1; - } else if (vis == amountSlide-1) { - var slideI = 0; - } else { - var slideI = vis+1; - } - - - var slide = $('.cameraSlide:eq('+slideI+')',target); - var slideNext = $('.cameraSlide:eq('+(slideI+1)+')',target).addClass('cameranext'); - if( vis != slideI+1 ) { - slideNext.hide(); - } - $('.cameraContent',fakeHover).fadeOut(600); - $('.camera_caption',fakeHover).show(); - - $('.camerarelative',slide).append($('> div ',elem).eq(slideI).find('> div.camera_effected')); - - $('.camera_target_content .cameraContent:eq('+slideI+')',wrap).append($('> div ',elem).eq(slideI).find('> div')); - - if(!$('.imgLoaded',slide).length){ - var imgUrl = allImg[slideI]; - var imgLoaded = new Image(); - imgLoaded.src = imgUrl +"?"+ new Date().getTime(); - slide.css('visibility','hidden'); - slide.prepend($(imgLoaded).attr('class','imgLoaded').css('visibility','hidden')); - var wT, hT; - if (!$(imgLoaded).get(0).complete || wT == '0' || hT == '0' || typeof wT === 'undefined' || wT === false || typeof hT === 'undefined' || hT === false) { - $('.camera_loader',wrap).delay(500).fadeIn(400); - imgLoaded.onload = function() { - wT = imgLoaded.naturalWidth; - hT = imgLoaded.naturalHeight; - $(imgLoaded).attr('data-alignment',allAlign[slideI]).attr('data-portrait',allPor[slideI]); - $(imgLoaded).attr('width',wT); - $(imgLoaded).attr('height',hT); - target.find('.cameraSlide_'+slideI).hide().css('visibility','visible'); - resizeImage(); - nextSlide(slideI+1); - }; - } - } else { - if( allImg.length > (slideI+1) && !$('.imgLoaded',slideNext).length ){ - var imgUrl2 = allImg[(slideI+1)]; - var imgLoaded2 = new Image(); - imgLoaded2.src = imgUrl2 +"?"+ new Date().getTime(); - slideNext.prepend($(imgLoaded2).attr('class','imgLoaded').css('visibility','hidden')); - imgLoaded2.onload = function() { - wT = imgLoaded2.naturalWidth; - hT = imgLoaded2.naturalHeight; - $(imgLoaded2).attr('data-alignment',allAlign[slideI+1]).attr('data-portrait',allPor[slideI+1]); - $(imgLoaded2).attr('width',wT); - $(imgLoaded2).attr('height',hT); - resizeImage(); - }; - } - opts.onLoaded.call(this); - if($('.camera_loader',wrap).is(':visible')){ - $('.camera_loader',wrap).fadeOut(400); - } else { - $('.camera_loader',wrap).css({'visibility':'hidden'}); - $('.camera_loader',wrap).fadeOut(400,function(){ - $('.camera_loader',wrap).css({'visibility':'visible'}); - }); - } - var rows = opts.rows, - cols = opts.cols, - couples = 1, - difference = 0, - dataSlideOn, - time, - transPeriod, - fx, - easing, - randomFx = new Array('simpleFade','curtainTopLeft','curtainTopRight','curtainBottomLeft','curtainBottomRight','curtainSliceLeft','curtainSliceRight','blindCurtainTopLeft','blindCurtainTopRight','blindCurtainBottomLeft','blindCurtainBottomRight','blindCurtainSliceBottom','blindCurtainSliceTop','stampede','mosaic','mosaicReverse','mosaicRandom','mosaicSpiral','mosaicSpiralReverse','topLeftBottomRight','bottomRightTopLeft','bottomLeftTopRight','topRightBottomLeft','scrollLeft','scrollRight','scrollTop','scrollBottom','scrollHorz'); - marginLeft = 0, - marginTop = 0, - opacityOnGrid = 0; - - if(opts.opacityOnGrid==true){ - opacityOnGrid = 0; - } else { - opacityOnGrid = 1; - } - - - - var dataFx = $(' > div',elem).eq(slideI).attr('data-fx'); - - if(isMobile()&&opts.mobileFx!=''&&opts.mobileFx!='default'){ - fx = opts.mobileFx; - } else { - if(typeof dataFx !== 'undefined' && dataFx!== false && dataFx!== 'default'){ - fx = dataFx; - } else { - fx = opts.fx; - } - } - - if(fx=='random') { - fx = shuffle(randomFx); - fx = fx[0]; - } else { - fx = fx; - if(fx.indexOf(',')>0){ - fx = fx.replace(/ /g,''); - fx = fx.split(','); - fx = shuffle(fx); - fx = fx[0]; - } - } - - dataEasing = $(' > div',elem).eq(slideI).attr('data-easing'); - mobileEasing = $(' > div',elem).eq(slideI).attr('data-mobileEasing'); - - if(isMobile()&&opts.mobileEasing!=''&&opts.mobileEasing!='default'){ - if(typeof mobileEasing !== 'undefined' && mobileEasing!== false && mobileEasing!== 'default') { - easing = mobileEasing; - } else { - easing = opts.mobileEasing; - } - } else { - if(typeof dataEasing !== 'undefined' && dataEasing!== false && dataEasing!== 'default') { - easing = dataEasing; - } else { - easing = opts.easing; - } - } - - dataSlideOn = $(' > div',elem).eq(slideI).attr('data-slideOn'); - if(typeof dataSlideOn !== 'undefined' && dataSlideOn!== false){ - slideOn = dataSlideOn; - } else { - if(opts.slideOn=='random'){ - var slideOn = new Array('next','prev'); - slideOn = shuffle(slideOn); - slideOn = slideOn[0]; - } else { - slideOn = opts.slideOn; - } - } - - var dataTime = $(' > div',elem).eq(slideI).attr('data-time'); - if(typeof dataTime !== 'undefined' && dataTime!== false && dataTime!== ''){ - time = parseFloat(dataTime); - } else { - time = opts.time; - } - - var dataTransPeriod = $(' > div',elem).eq(slideI).attr('data-transPeriod'); - if(typeof dataTransPeriod !== 'undefined' && dataTransPeriod!== false && dataTransPeriod!== ''){ - transPeriod = parseFloat(dataTransPeriod); - } else { - transPeriod = opts.transPeriod; - } - - if(!$(elem).hasClass('camerastarted')){ - fx = 'simpleFade'; - slideOn = 'next'; - easing = ''; - transPeriod = 400; - $(elem).addClass('camerastarted') - } - - switch(fx){ - case 'simpleFade': - cols = 1; - rows = 1; - break; - case 'curtainTopLeft': - if(opts.slicedCols == 0) { - cols = opts.cols; - } else { - cols = opts.slicedCols; - } - rows = 1; - break; - case 'curtainTopRight': - if(opts.slicedCols == 0) { - cols = opts.cols; - } else { - cols = opts.slicedCols; - } - rows = 1; - break; - case 'curtainBottomLeft': - if(opts.slicedCols == 0) { - cols = opts.cols; - } else { - cols = opts.slicedCols; - } - rows = 1; - break; - case 'curtainBottomRight': - if(opts.slicedCols == 0) { - cols = opts.cols; - } else { - cols = opts.slicedCols; - } - rows = 1; - break; - case 'curtainSliceLeft': - if(opts.slicedCols == 0) { - cols = opts.cols; - } else { - cols = opts.slicedCols; - } - rows = 1; - break; - case 'curtainSliceRight': - if(opts.slicedCols == 0) { - cols = opts.cols; - } else { - cols = opts.slicedCols; - } - rows = 1; - break; - case 'blindCurtainTopLeft': - if(opts.slicedRows == 0) { - rows = opts.rows; - } else { - rows = opts.slicedRows; - } - cols = 1; - break; - case 'blindCurtainTopRight': - if(opts.slicedRows == 0) { - rows = opts.rows; - } else { - rows = opts.slicedRows; - } - cols = 1; - break; - case 'blindCurtainBottomLeft': - if(opts.slicedRows == 0) { - rows = opts.rows; - } else { - rows = opts.slicedRows; - } - cols = 1; - break; - case 'blindCurtainBottomRight': - if(opts.slicedRows == 0) { - rows = opts.rows; - } else { - rows = opts.slicedRows; - } - cols = 1; - break; - case 'blindCurtainSliceTop': - if(opts.slicedRows == 0) { - rows = opts.rows; - } else { - rows = opts.slicedRows; - } - cols = 1; - break; - case 'blindCurtainSliceBottom': - if(opts.slicedRows == 0) { - rows = opts.rows; - } else { - rows = opts.slicedRows; - } - cols = 1; - break; - case 'stampede': - difference = '-'+transPeriod; - break; - case 'mosaic': - difference = opts.gridDifference; - break; - case 'mosaicReverse': - difference = opts.gridDifference; - break; - case 'mosaicRandom': - break; - case 'mosaicSpiral': - difference = opts.gridDifference; - couples = 1.7; - break; - case 'mosaicSpiralReverse': - difference = opts.gridDifference; - couples = 1.7; - break; - case 'topLeftBottomRight': - difference = opts.gridDifference; - couples = 6; - break; - case 'bottomRightTopLeft': - difference = opts.gridDifference; - couples = 6; - break; - case 'bottomLeftTopRight': - difference = opts.gridDifference; - couples = 6; - break; - case 'topRightBottomLeft': - difference = opts.gridDifference; - couples = 6; - break; - case 'scrollLeft': - cols = 1; - rows = 1; - break; - case 'scrollRight': - cols = 1; - rows = 1; - break; - case 'scrollTop': - cols = 1; - rows = 1; - break; - case 'scrollBottom': - cols = 1; - rows = 1; - break; - case 'scrollHorz': - cols = 1; - rows = 1; - break; - } - - var cycle = 0; - var blocks = rows*cols; - var leftScrap = w-(Math.floor(w/cols)*cols); - var topScrap = h-(Math.floor(h/rows)*rows); - var addLeft; - var addTop; - var tAppW = 0; - var tAppH = 0; - var arr = new Array(); - var delay = new Array(); - var order = new Array(); - while(cycle < blocks){ - arr.push(cycle); - delay.push(cycle); - cameraCont.append('<div class="cameraappended" style="display:none; overflow:hidden; position:absolute; z-index:1000" />'); - var tApp = $('.cameraappended:eq('+cycle+')',target); - if(fx=='scrollLeft' || fx=='scrollRight' || fx=='scrollTop' || fx=='scrollBottom' || fx=='scrollHorz'){ - selector.eq(slideI).clone().show().appendTo(tApp); - } else { - if(slideOn=='next'){ - selector.eq(slideI).clone().show().appendTo(tApp); - } else { - selector.eq(vis).clone().show().appendTo(tApp); - } - } - - if(cycle%cols<leftScrap){ - addLeft = 1; - } else { - addLeft = 0; - } - if(cycle%cols==0){ - tAppW = 0; - } - if(Math.floor(cycle/cols)<topScrap){ - addTop = 1; - } else { - addTop = 0; - } - tApp.css({ - 'height': Math.floor((h/rows)+addTop+1), - 'left': tAppW, - 'top': tAppH, - 'width': Math.floor((w/cols)+addLeft+1) - }); - $('> .cameraSlide', tApp).css({ - 'height': h, - 'margin-left': '-'+tAppW+'px', - 'margin-top': '-'+tAppH+'px', - 'width': w - }); - tAppW = tAppW+tApp.width()-1; - if(cycle%cols==cols-1){ - tAppH = tAppH + tApp.height() - 1; - } - cycle++; - } - - - - switch(fx){ - case 'curtainTopLeft': - break; - case 'curtainBottomLeft': - break; - case 'curtainSliceLeft': - break; - case 'curtainTopRight': - arr = arr.reverse(); - break; - case 'curtainBottomRight': - arr = arr.reverse(); - break; - case 'curtainSliceRight': - arr = arr.reverse(); - break; - case 'blindCurtainTopLeft': - break; - case 'blindCurtainBottomLeft': - arr = arr.reverse(); - break; - case 'blindCurtainSliceTop': - break; - case 'blindCurtainTopRight': - break; - case 'blindCurtainBottomRight': - arr = arr.reverse(); - break; - case 'blindCurtainSliceBottom': - arr = arr.reverse(); - break; - case 'stampede': - arr = shuffle(arr); - break; - case 'mosaic': - break; - case 'mosaicReverse': - arr = arr.reverse(); - break; - case 'mosaicRandom': - arr = shuffle(arr); - break; - case 'mosaicSpiral': - var rows2 = rows/2, x, y, z, n=0; - for (z = 0; z < rows2; z++){ - y = z; - for (x = z; x < cols - z - 1; x++) { - order[n++] = y * cols + x; - } - x = cols - z - 1; - for (y = z; y < rows - z - 1; y++) { - order[n++] = y * cols + x; - } - y = rows - z - 1; - for (x = cols - z - 1; x > z; x--) { - order[n++] = y * cols + x; - } - x = z; - for (y = rows - z - 1; y > z; y--) { - order[n++] = y * cols + x; - } - } - - arr = order; - - break; - case 'mosaicSpiralReverse': - var rows2 = rows/2, x, y, z, n=blocks-1; - for (z = 0; z < rows2; z++){ - y = z; - for (x = z; x < cols - z - 1; x++) { - order[n--] = y * cols + x; - } - x = cols - z - 1; - for (y = z; y < rows - z - 1; y++) { - order[n--] = y * cols + x; - } - y = rows - z - 1; - for (x = cols - z - 1; x > z; x--) { - order[n--] = y * cols + x; - } - x = z; - for (y = rows - z - 1; y > z; y--) { - order[n--] = y * cols + x; - } - } - - arr = order; - - break; - case 'topLeftBottomRight': - for (var y = 0; y < rows; y++) - for (var x = 0; x < cols; x++) { - order.push(x + y); - } - delay = order; - break; - case 'bottomRightTopLeft': - for (var y = 0; y < rows; y++) - for (var x = 0; x < cols; x++) { - order.push(x + y); - } - delay = order.reverse(); - break; - case 'bottomLeftTopRight': - for (var y = rows; y > 0; y--) - for (var x = 0; x < cols; x++) { - order.push(x + y); - } - delay = order; - break; - case 'topRightBottomLeft': - for (var y = 0; y < rows; y++) - for (var x = cols; x > 0; x--) { - order.push(x + y); - } - delay = order; - break; - } - - - - $.each(arr, function(index, value) { - - if(value%cols<leftScrap){ - addLeft = 1; - } else { - addLeft = 0; - } - if(value%cols==0){ - tAppW = 0; - } - if(Math.floor(value/cols)<topScrap){ - addTop = 1; - } else { - addTop = 0; - } - - switch(fx){ - case 'simpleFade': - height = h; - width = w; - opacityOnGrid = 0; - break; - case 'curtainTopLeft': - height = 0, - width = Math.floor((w/cols)+addLeft+1), - marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px'; - break; - case 'curtainTopRight': - height = 0, - width = Math.floor((w/cols)+addLeft+1), - marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px'; - break; - case 'curtainBottomLeft': - height = 0, - width = Math.floor((w/cols)+addLeft+1), - marginTop = Math.floor((h/rows)+addTop+1)+'px'; - break; - case 'curtainBottomRight': - height = 0, - width = Math.floor((w/cols)+addLeft+1), - marginTop = Math.floor((h/rows)+addTop+1)+'px'; - break; - case 'curtainSliceLeft': - height = 0, - width = Math.floor((w/cols)+addLeft+1); - if(value%2==0){ - marginTop = Math.floor((h/rows)+addTop+1)+'px'; - } else { - marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px'; - } - break; - case 'curtainSliceRight': - height = 0, - width = Math.floor((w/cols)+addLeft+1); - if(value%2==0){ - marginTop = Math.floor((h/rows)+addTop+1)+'px'; - } else { - marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px'; - } - break; - case 'blindCurtainTopLeft': - height = Math.floor((h/rows)+addTop+1), - width = 0, - marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px'; - break; - case 'blindCurtainTopRight': - height = Math.floor((h/rows)+addTop+1), - width = 0, - marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; - break; - case 'blindCurtainBottomLeft': - height = Math.floor((h/rows)+addTop+1), - width = 0, - marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px'; - break; - case 'blindCurtainBottomRight': - height = Math.floor((h/rows)+addTop+1), - width = 0, - marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; - break; - case 'blindCurtainSliceBottom': - height = Math.floor((h/rows)+addTop+1), - width = 0; - if(value%2==0){ - marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px'; - } else { - marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; - } - break; - case 'blindCurtainSliceTop': - height = Math.floor((h/rows)+addTop+1), - width = 0; - if(value%2==0){ - marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px'; - } else { - marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; - } - break; - case 'stampede': - height = 0; - width = 0; - marginLeft = (w*0.2)*(((index)%cols)-(cols-(Math.floor(cols/2))))+'px'; - marginTop = (h*0.2)*((Math.floor(index/cols)+1)-(rows-(Math.floor(rows/2))))+'px'; - break; - case 'mosaic': - height = 0; - width = 0; - break; - case 'mosaicReverse': - height = 0; - width = 0; - marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; - marginTop = Math.floor((h/rows)+addTop+1)+'px'; - break; - case 'mosaicRandom': - height = 0; - width = 0; - marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px'; - marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px'; - break; - case 'mosaicSpiral': - height = 0; - width = 0; - marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px'; - marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px'; - break; - case 'mosaicSpiralReverse': - height = 0; - width = 0; - marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px'; - marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px'; - break; - case 'topLeftBottomRight': - height = 0; - width = 0; - break; - case 'bottomRightTopLeft': - height = 0; - width = 0; - marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; - marginTop = Math.floor((h/rows)+addTop+1)+'px'; - break; - case 'bottomLeftTopRight': - height = 0; - width = 0; - marginLeft = 0; - marginTop = Math.floor((h/rows)+addTop+1)+'px'; - break; - case 'topRightBottomLeft': - height = 0; - width = 0; - marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; - marginTop = 0; - break; - case 'scrollRight': - height = h; - width = w; - marginLeft = -w; - break; - case 'scrollLeft': - height = h; - width = w; - marginLeft = w; - break; - case 'scrollTop': - height = h; - width = w; - marginTop = h; - break; - case 'scrollBottom': - height = h; - width = w; - marginTop = -h; - break; - case 'scrollHorz': - height = h; - width = w; - if(vis==0 && slideI==amountSlide-1) { - marginLeft = -w; - } else if(vis<slideI || (vis==amountSlide-1 && slideI==0)) { - marginLeft = w; - } else { - marginLeft = -w; - } - break; - } - - - var tApp = $('.cameraappended:eq('+value+')',target); - - if(typeof u !== 'undefined'){ - clearInterval(u); - clearTimeout(setT); - setT = setTimeout(canvasLoader,transPeriod+difference); - } - - - if($(pagination).length){ - $('.camera_pag li',wrap).removeClass('cameracurrent'); - $('.camera_pag li',wrap).eq(slideI).addClass('cameracurrent'); - } - - if($(thumbs).length){ - $('li', thumbs).removeClass('cameracurrent'); - $('li', thumbs).eq(slideI).addClass('cameracurrent'); - $('li', thumbs).not('.cameracurrent').find('img').animate({opacity:.5},0); - $('li.cameracurrent img', thumbs).animate({opacity:1},0); - $('li', thumbs).hover(function(){ - $('img',this).stop(true,false).animate({opacity:1},150); - },function(){ - if(!$(this).hasClass('cameracurrent')){ - $('img',this).stop(true,false).animate({opacity:.5},150); - } - }); - } - - - var easedTime = parseFloat(transPeriod)+parseFloat(difference); - - function cameraeased() { - - $(this).addClass('cameraeased'); - if($('.cameraeased',target).length>=0){ - $(thumbs).css({visibility:'visible'}); - } - if($('.cameraeased',target).length==blocks){ - - thumbnailPos(); - - $('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom',fakeHover).each(function(){ - $(this).css('visibility','hidden'); - }); - - selector.eq(slideI).show().css('z-index','999').removeClass('cameranext').addClass('cameracurrent'); - selector.eq(vis).css('z-index','1').removeClass('cameracurrent'); - $('.cameraContent',fakeHover).eq(slideI).addClass('cameracurrent'); - if (vis >= 0) { - $('.cameraContent',fakeHover).eq(vis).removeClass('cameracurrent'); - } - - opts.onEndTransition.call(this); - - if($('> div', elem).eq(slideI).attr('data-video')!='hide' && $('.cameraContent.cameracurrent .imgFake',fakeHover).length ){ - $('.cameraContent.cameracurrent .imgFake',fakeHover).click(); - } - - - var lMoveIn = selector.eq(slideI).find('.fadeIn').length; - var lMoveInContent = $('.cameraContent',fakeHover).eq(slideI).find('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom').length; - - if (lMoveIn!=0){ - $('.cameraSlide.cameracurrent .fadeIn',fakeHover).each(function(){ - if($(this).attr('data-easing')!=''){ - var easeMove = $(this).attr('data-easing'); - } else { - var easeMove = easing; - } - var t = $(this); - if(typeof t.attr('data-outerWidth') === 'undefined' || t.attr('data-outerWidth') === false || t.attr('data-outerWidth') === '') { - var wMoveIn = t.outerWidth(); - t.attr('data-outerWidth',wMoveIn); - } else { - var wMoveIn = t.attr('data-outerWidth'); - } - if(typeof t.attr('data-outerHeight') === 'undefined' || t.attr('data-outerHeight') === false || t.attr('data-outerHeight') === '') { - var hMoveIn = t.outerHeight(); - t.attr('data-outerHeight',hMoveIn); - } else { - var hMoveIn = t.attr('data-outerHeight'); - } - //t.css('width',wMoveIn); - var pos = t.position(); - var left = pos.left; - var top = pos.top; - var tClass = t.attr('class'); - var ind = t.index(); - var hRel = t.parents('.camerarelative').outerHeight(); - var wRel = t.parents('.camerarelative').outerWidth(); - if(tClass.indexOf("fadeIn") != -1) { - t.animate({opacity:0},0).css('visibility','visible').delay((time/lMoveIn)*(0.1*(ind-1))).animate({opacity:1},(time/lMoveIn)*0.15,easeMove); - } else { - t.css('visibility','visible'); - } - }); - } - - $('.cameraContent.cameracurrent',fakeHover).show(); - if (lMoveInContent!=0){ - - $('.cameraContent.cameracurrent .moveFromLeft, .cameraContent.cameracurrent .moveFromRight, .cameraContent.cameracurrent .moveFromTop, .cameraContent.cameracurrent .moveFromBottom, .cameraContent.cameracurrent .fadeIn, .cameraContent.cameracurrent .fadeFromLeft, .cameraContent.cameracurrent .fadeFromRight, .cameraContent.cameracurrent .fadeFromTop, .cameraContent.cameracurrent .fadeFromBottom',fakeHover).each(function(){ - if($(this).attr('data-easing')!=''){ - var easeMove = $(this).attr('data-easing'); - } else { - var easeMove = easing; - } - var t = $(this); - var pos = t.position(); - var left = pos.left; - var top = pos.top; - var tClass = t.attr('class'); - var ind = t.index(); - var thisH = t.outerHeight(); - if(tClass.indexOf("moveFromLeft") != -1) { - t.css({'left':'-'+(w)+'px','right':'auto'}); - t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left},(time/lMoveInContent)*0.15,easeMove); - } else if(tClass.indexOf("moveFromRight") != -1) { - t.css({'left':w+'px','right':'auto'}); - t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left},(time/lMoveInContent)*0.15,easeMove); - } else if(tClass.indexOf("moveFromTop") != -1) { - t.css({'top':'-'+h+'px','bottom':'auto'}); - t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top},(time/lMoveInContent)*0.15,easeMove,function(){ - t.css({top:'auto',bottom:0}); - }); - } else if(tClass.indexOf("moveFromBottom") != -1) { - t.css({'top':h+'px','bottom':'auto'}); - t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top},(time/lMoveInContent)*0.15,easeMove); - } else if(tClass.indexOf("fadeFromLeft") != -1) { - t.animate({opacity:0},0).css({'left':'-'+(w)+'px','right':'auto'}); - t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left,opacity:1},(time/lMoveInContent)*0.15,easeMove); - } else if(tClass.indexOf("fadeFromRight") != -1) { - t.animate({opacity:0},0).css({'left':(w)+'px','right':'auto'}); - t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left,opacity:1},(time/lMoveInContent)*0.15,easeMove); - } else if(tClass.indexOf("fadeFromTop") != -1) { - t.animate({opacity:0},0).css({'top':'-'+(h)+'px','bottom':'auto'}); - t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top,opacity:1},(time/lMoveInContent)*0.15,easeMove,function(){ - t.css({top:'auto',bottom:0}); - }); - } else if(tClass.indexOf("fadeFromBottom") != -1) { - t.animate({opacity:0},0).css({'bottom':'-'+thisH+'px'}); - t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'bottom':'0',opacity:1},(time/lMoveInContent)*0.15,easeMove); - } else if(tClass.indexOf("fadeIn") != -1) { - t.animate({opacity:0},0).css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({opacity:1},(time/lMoveInContent)*0.15,easeMove); - } else { - t.css('visibility','visible'); - } - }); - } - - - $('.cameraappended',target).remove(); - elem.removeClass('camerasliding'); - selector.eq(vis).hide(); - var barWidth = $('.camera_bar_cont',camera_thumbs_wrap).width(), - barHeight = $('.camera_bar_cont',camera_thumbs_wrap).height(), - radSum; - if (loader != 'pie') { - radSum = 0.05; - } else { - radSum = 0.005; - } - $('#'+pieID).animate({opacity:opts.loaderOpacity},200); - u = setInterval( - function(){ - if(elem.hasClass('stopped')){ - clearInterval(u); - } - if (loader != 'pie') { - if(rad<=1.002 && !elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')){ - rad = (rad+radSum); - } else if (rad<=1 && (elem.hasClass('stopped') || elem.hasClass('paused') || elem.hasClass('stopped') || elem.hasClass('hovered'))){ - rad = rad; - } else { - if(!elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')) { - clearInterval(u); - imgFake(); - $('#'+pieID).animate({opacity:0},200,function(){ - clearTimeout(setT); - setT = setTimeout(canvasLoader,easedTime); - nextSlide(); - opts.onStartLoading.call(this); - }); - } - } - switch(barDirection){ - case 'leftToRight': - $('#'+pieID).animate({'right':barWidth-(barWidth*rad)},(time*radSum),'linear'); - break; - case 'rightToLeft': - $('#'+pieID).animate({'left':barWidth-(barWidth*rad)},(time*radSum),'linear'); - break; - case 'topToBottom': - $('#'+pieID).animate({'bottom':barHeight-(barHeight*rad)},(time*radSum),'linear'); - break; - case 'bottomToTop': - $('#'+pieID).animate({'bottom':barHeight-(barHeight*rad)},(time*radSum),'linear'); - break; - } - - } else { - radNew = rad; - ctx.clearRect(0,0,opts.pieDiameter,opts.pieDiameter); - ctx.globalCompositeOperation = 'destination-over'; - ctx.beginPath(); - ctx.arc((opts.pieDiameter)/2, (opts.pieDiameter)/2, (opts.pieDiameter)/2-opts.loaderStroke,0,Math.PI*2,false); - ctx.lineWidth = opts.loaderStroke; - ctx.strokeStyle = opts.loaderBgColor; - ctx.stroke(); - ctx.closePath(); - ctx.globalCompositeOperation = 'source-over'; - ctx.beginPath(); - ctx.arc((opts.pieDiameter)/2, (opts.pieDiameter)/2, (opts.pieDiameter)/2-opts.loaderStroke,0,Math.PI*2*radNew,false); - ctx.lineWidth = opts.loaderStroke-(opts.loaderPadding*2); - ctx.strokeStyle = opts.loaderColor; - ctx.stroke(); - ctx.closePath(); - - if(rad<=1.002 && !elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')){ - rad = (rad+radSum); - } else if (rad<=1 && (elem.hasClass('stopped') || elem.hasClass('paused') || elem.hasClass('hovered'))){ - rad = rad; - } else { - if(!elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')) { - clearInterval(u); - imgFake(); - $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},200,function(){ - clearTimeout(setT); - setT = setTimeout(canvasLoader,easedTime); - nextSlide(); - opts.onStartLoading.call(this); - }); - } - } - } - },time*radSum - ); - } - - } - - - - if(fx=='scrollLeft' || fx=='scrollRight' || fx=='scrollTop' || fx=='scrollBottom' || fx=='scrollHorz'){ - opts.onStartTransition.call(this); - easedTime = 0; - tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({ - 'display' : 'block', - 'height': height, - 'margin-left': marginLeft, - 'margin-top': marginTop, - 'width': width - }).animate({ - 'height': Math.floor((h/rows)+addTop+1), - 'margin-top' : 0, - 'margin-left' : 0, - 'width' : Math.floor((w/cols)+addLeft+1) - },(transPeriod-difference),easing,cameraeased); - selector.eq(vis).delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).animate({ - 'margin-left': marginLeft*(-1), - 'margin-top': marginTop*(-1) - },(transPeriod-difference),easing,function(){ - $(this).css({'margin-top' : 0,'margin-left' : 0}); - }); - } else { - opts.onStartTransition.call(this); - easedTime = parseFloat(transPeriod)+parseFloat(difference); - if(slideOn=='next'){ - tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({ - 'display' : 'block', - 'height': height, - 'margin-left': marginLeft, - 'margin-top': marginTop, - 'width': width, - 'opacity' : opacityOnGrid - }).animate({ - 'height': Math.floor((h/rows)+addTop+1), - 'margin-top' : 0, - 'margin-left' : 0, - 'opacity' : 1, - 'width' : Math.floor((w/cols)+addLeft+1) - },(transPeriod-difference),easing,cameraeased); - } else { - selector.eq(slideI).show().css('z-index','999').addClass('cameracurrent'); - selector.eq(vis).css('z-index','1').removeClass('cameracurrent'); - $('.cameraContent',fakeHover).eq(slideI).addClass('cameracurrent'); - $('.cameraContent',fakeHover).eq(vis).removeClass('cameracurrent'); - tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({ - 'display' : 'block', - 'height': Math.floor((h/rows)+addTop+1), - 'margin-top' : 0, - 'margin-left' : 0, - 'opacity' : 1, - 'width' : Math.floor((w/cols)+addLeft+1) - }).animate({ - 'height': height, - 'margin-left': marginLeft, - 'margin-top': marginTop, - 'width': width, - 'opacity' : opacityOnGrid - },(transPeriod-difference),easing,cameraeased); - } - } - - - - - - }); - - - - - } - } - - - if($(prevNav).length){ - $(prevNav).click(function(){ - if(!elem.hasClass('camerasliding')){ - var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); - clearInterval(u); - imgFake(); - $('#'+pieID+', .camera_canvas_wrap',wrap).animate({opacity:0},0); - canvasLoader(); - if(idNum!=0){ - nextSlide(idNum); - } else { - nextSlide(amountSlide); - } - opts.onStartLoading.call(this); - } - }); - } - - if($(nextNav).length){ - $(nextNav).click(function(){ - if(!elem.hasClass('camerasliding')){ - var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); - clearInterval(u); - imgFake(); - $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); - canvasLoader(); - if(idNum==amountSlide-1){ - nextSlide(1); - } else { - nextSlide(idNum+2); - } - opts.onStartLoading.call(this); - } - }); - } - - - if(isMobile()){ - fakeHover.bind('swipeleft',function(event){ - if(!elem.hasClass('camerasliding')){ - var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); - clearInterval(u); - imgFake(); - $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); - canvasLoader(); - if(idNum==amountSlide-1){ - nextSlide(1); - } else { - nextSlide(idNum+2); - } - opts.onStartLoading.call(this); - } - }); - fakeHover.bind('swiperight',function(event){ - if(!elem.hasClass('camerasliding')){ - var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); - clearInterval(u); - imgFake(); - $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); - canvasLoader(); - if(idNum!=0){ - nextSlide(idNum); - } else { - nextSlide(amountSlide); - } - opts.onStartLoading.call(this); - } - }); - } - - if($(pagination).length){ - $('.camera_pag li',wrap).click(function(){ - if(!elem.hasClass('camerasliding')){ - var idNum = parseFloat($(this).index()); - var curNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); - if(idNum!=curNum) { - clearInterval(u); - imgFake(); - $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); - canvasLoader(); - nextSlide(idNum+1); - opts.onStartLoading.call(this); - } - } - }); - } - - if($(thumbs).length) { - - $('.pix_thumb img',thumbs).click(function(){ - if(!elem.hasClass('camerasliding')){ - var idNum = parseFloat($(this).parents('li').index()); - var curNum = parseFloat($('.cameracurrent',target).index()); - if(idNum!=curNum) { - clearInterval(u); - imgFake(); - $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); - $('.pix_thumb',thumbs).removeClass('cameracurrent'); - $(this).parents('li').addClass('cameracurrent'); - canvasLoader(); - nextSlide(idNum+1); - thumbnailPos(); - opts.onStartLoading.call(this); - } - } - }); - - $('.camera_thumbs_cont .camera_prevThumbs',camera_thumbs_wrap).hover(function(){ - $(this).stop(true,false).animate({opacity:1},250); - },function(){ - $(this).stop(true,false).animate({opacity:.7},250); - }); - $('.camera_prevThumbs',camera_thumbs_wrap).click(function(){ - var sum = 0, - wTh = $(thumbs).outerWidth(), - offUl = $('ul', thumbs).offset().left, - offDiv = $('> div', thumbs).offset().left, - ulLeft = offDiv-offUl; - $('.camera_visThumb',thumbs).each(function(){ - var tW = $(this).outerWidth(); - sum = sum+tW; - }); - if(ulLeft-sum>0){ - $('ul', thumbs).animate({'margin-left':'-'+(ulLeft-sum)+'px'},500,thumbnailVisible); - } else { - $('ul', thumbs).animate({'margin-left':0},500,thumbnailVisible); - } - }); - - $('.camera_thumbs_cont .camera_nextThumbs',camera_thumbs_wrap).hover(function(){ - $(this).stop(true,false).animate({opacity:1},250); - },function(){ - $(this).stop(true,false).animate({opacity:.7},250); - }); - $('.camera_nextThumbs',camera_thumbs_wrap).click(function(){ - var sum = 0, - wTh = $(thumbs).outerWidth(), - ulW = $('ul', thumbs).outerWidth(), - offUl = $('ul', thumbs).offset().left, - offDiv = $('> div', thumbs).offset().left, - ulLeft = offDiv-offUl; - $('.camera_visThumb',thumbs).each(function(){ - var tW = $(this).outerWidth(); - sum = sum+tW; - }); - if(ulLeft+sum+sum<ulW){ - $('ul', thumbs).animate({'margin-left':'-'+(ulLeft+sum)+'px'},500,thumbnailVisible); - } else { - $('ul', thumbs).animate({'margin-left':'-'+(ulW-wTh)+'px'},500,thumbnailVisible); - } - }); - - } - - - -} - -})(jQuery); - -;(function($){$.fn.cameraStop = function() { - var wrap = $(this), - elem = $('.camera_src',wrap), - pieID = 'pie_'+wrap.index(); - elem.addClass('stopped'); - if($('.camera_showcommands').length) { - var camera_thumbs_wrap = $('.camera_thumbs_wrap',wrap); - } else { - var camera_thumbs_wrap = wrap; - } -} -})(jQuery); - -;(function($){$.fn.cameraPause = function() { - var wrap = $(this); - var elem = $('.camera_src',wrap); - elem.addClass('paused'); -} -})(jQuery); - -;(function($){$.fn.cameraResume = function() { - var wrap = $(this); - var elem = $('.camera_src',wrap); - if(typeof autoAdv === 'undefined' || autoAdv!==true){ - elem.removeClass('paused'); - } -} -})(jQuery); -\ No newline at end of file diff --git a/themes/parkzone/scripts/camera.min.js b/themes/parkzone/scripts/camera.min.js @@ -1,4 +0,0 @@ -// Camera slideshow v1.3.3 - a jQuery slideshow with many effects, transitions, easy to customize, using canvas and mobile ready, based on jQuery 1.4+ -// Copyright (c) 2012 by Manuel Masia - www.pixedelic.com -// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php -;(function(a){a.fn.camera=function(b,c){function e(){if(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)){return true}}function H(){var b=a(s).width();a("li",s).removeClass("camera_visThumb");a("li",s).each(function(){var c=a(this).position(),d=a("ul",s).outerWidth(),e=a("ul",s).offset().left,f=a("> div",s).offset().left,g=f-e;if(g>0){a(".camera_prevThumbs",V).removeClass("hideNav")}else{a(".camera_prevThumbs",V).addClass("hideNav")}if(d-g>b){a(".camera_nextThumbs",V).removeClass("hideNav")}else{a(".camera_nextThumbs",V).addClass("hideNav")}var h=c.left,i=c.left+a(this).width();if(i-g<=b&&h-g>=0){a(this).addClass("camera_visThumb")}})}function K(){function d(){t=f.width();if(b.height.indexOf("%")!=-1){var c=Math.round(t/(100/parseFloat(b.height)));if(b.minHeight!=""&&c<parseFloat(b.minHeight)){u=parseFloat(b.minHeight)}else{u=c}f.css({height:u})}else if(b.height=="auto"){u=f.height()}else{u=parseFloat(b.height);f.css({height:u})}a(".camerarelative",k).css({width:t,height:u});a(".imgLoaded",k).each(function(){var c=a(this),d=c.attr("width"),e=c.attr("height"),f=c.index(),g,h,i=c.attr("data-alignment"),j=c.attr("data-portrait");if(typeof i==="undefined"||i===false||i===""){i=b.alignment}if(typeof j==="undefined"||j===false||j===""){j=b.portrait}if(j==false||j=="false"){if(d/e<t/u){var k=t/d;var l=Math.abs(u-e*k)*.5;switch(i){case"topLeft":g=0;break;case"topCenter":g=0;break;case"topRight":g=0;break;case"centerLeft":g="-"+l+"px";break;case"center":g="-"+l+"px";break;case"centerRight":g="-"+l+"px";break;case"bottomLeft":g="-"+l*2+"px";break;case"bottomCenter":g="-"+l*2+"px";break;case"bottomRight":g="-"+l*2+"px";break}c.css({height:e*k,"margin-left":0,"margin-top":g,position:"absolute",visibility:"visible",width:t})}else{var k=u/e;var l=Math.abs(t-d*k)*.5;switch(i){case"topLeft":h=0;break;case"topCenter":h="-"+l+"px";break;case"topRight":h="-"+l*2+"px";break;case"centerLeft":h=0;break;case"center":h="-"+l+"px";break;case"centerRight":h="-"+l*2+"px";break;case"bottomLeft":h=0;break;case"bottomCenter":h="-"+l+"px";break;case"bottomRight":h="-"+l*2+"px";break}c.css({height:u,"margin-left":h,"margin-top":0,position:"absolute",visibility:"visible",width:d*k})}}else{if(d/e<t/u){var k=u/e;var l=Math.abs(t-d*k)*.5;switch(i){case"topLeft":h=0;break;case"topCenter":h=l+"px";break;case"topRight":h=l*2+"px";break;case"centerLeft":h=0;break;case"center":h=l+"px";break;case"centerRight":h=l*2+"px";break;case"bottomLeft":h=0;break;case"bottomCenter":h=l+"px";break;case"bottomRight":h=l*2+"px";break}c.css({height:u,"margin-left":h,"margin-top":0,position:"absolute",visibility:"visible",width:d*k})}else{var k=t/d;var l=Math.abs(u-e*k)*.5;switch(i){case"topLeft":g=0;break;case"topCenter":g=0;break;case"topRight":g=0;break;case"centerLeft":g=l+"px";break;case"center":g=l+"px";break;case"centerRight":g=l+"px";break;case"bottomLeft":g=l*2+"px";break;case"bottomCenter":g=l*2+"px";break;case"bottomRight":g=l*2+"px";break}c.css({height:e*k,"margin-left":0,"margin-top":g,position:"absolute",visibility:"visible",width:t})}}})}var c;if(I==true){clearTimeout(c);c=setTimeout(d,200)}else{d()}I=true}function X(a){for(var b,c,d=a.length;d;b=parseInt(Math.random()*d),c=a[--d],a[d]=a[b],a[b]=c);return a}function Y(a){return Math.ceil(a)==Math.floor(a)}function hb(){if(a(s).length&&!a(r).length){var b=a(s).outerWidth(),c=a("ul > li",s).outerWidth(),d=a("li.cameracurrent",s).length?a("li.cameracurrent",s).position():"",e=a("ul > li",s).length*a("ul > li",s).outerWidth(),g=a("ul",s).offset().left,h=a("> div",s).offset().left,i;if(g<0){i="-"+(h-g)}else{i=h-g}if(gb==true){a("ul",s).width(a("ul > li",s).length*a("ul > li",s).outerWidth());if(a(s).length&&!a(r).lenght){f.css({marginBottom:a(s).outerHeight()})}H();a("ul",s).width(a("ul > li",s).length*a("ul > li",s).outerWidth());if(a(s).length&&!a(r).lenght){f.css({marginBottom:a(s).outerHeight()})}}gb=false;var j=a("li.cameracurrent",s).length?d.left:"",k=a("li.cameracurrent",s).length?d.left+a("li.cameracurrent",s).outerWidth():"";if(j<a("li.cameracurrent",s).outerWidth()){j=0}if(k-i>b){if(j+b<e){a("ul",s).animate({"margin-left":"-"+j+"px"},500,H)}else{a("ul",s).animate({"margin-left":"-"+(a("ul",s).outerWidth()-b)+"px"},500,H)}}else if(j-i<0){a("ul",s).animate({"margin-left":"-"+j+"px"},500,H)}else{a("ul",s).css({"margin-left":"auto","margin-right":"auto"});setTimeout(H,100)}}}function ib(){bb=0;var c=a(".camera_bar_cont",V).width(),d=a(".camera_bar_cont",V).height();if(h!="pie"){switch(U){case"leftToRight":a("#"+i).css({right:c});break;case"rightToLeft":a("#"+i).css({left:c});break;case"topToBottom":a("#"+i).css({bottom:d});break;case"bottomToTop":a("#"+i).css({top:d});break}}else{db.clearRect(0,0,b.pieDiameter,b.pieDiameter)}}function jb(c){j.addClass("camerasliding");R=false;var d=parseFloat(a("div.cameraSlide.cameracurrent",k).index());if(c>0){var l=c-1}else if(d==B-1){var l=0}else{var l=d+1}var m=a(".cameraSlide:eq("+l+")",k);var n=a(".cameraSlide:eq("+(l+1)+")",k).addClass("cameranext");if(d!=l+1){n.hide()}a(".cameraContent",g).fadeOut(600);a(".camera_caption",g).show();a(".camerarelative",m).append(a("> div ",j).eq(l).find("> div.camera_effected"));a(".camera_target_content .cameraContent:eq("+l+")",f).append(a("> div ",j).eq(l).find("> div"));if(!a(".imgLoaded",m).length){var o=v[l];var p=new Image;p.src=o+"?"+(new Date).getTime();m.css("visibility","hidden");m.prepend(a(p).attr("class","imgLoaded").css("visibility","hidden"));var q,w;if(!a(p).get(0).complete||q=="0"||w=="0"||typeof q==="undefined"||q===false||typeof w==="undefined"||w===false){a(".camera_loader",f).delay(500).fadeIn(400);p.onload=function(){q=p.naturalWidth;w=p.naturalHeight;a(p).attr("data-alignment",z[l]).attr("data-portrait",y[l]);a(p).attr("width",q);a(p).attr("height",w);k.find(".cameraSlide_"+l).hide().css("visibility","visible");K();jb(l+1)}}}else{if(v.length>l+1&&!a(".imgLoaded",n).length){var x=v[l+1];var A=new Image;A.src=x+"?"+(new Date).getTime();n.prepend(a(A).attr("class","imgLoaded").css("visibility","hidden"));A.onload=function(){q=A.naturalWidth;w=A.naturalHeight;a(A).attr("data-alignment",z[l+1]).attr("data-portrait",y[l+1]);a(A).attr("width",q);a(A).attr("height",w);K()}}b.onLoaded.call(this);if(a(".camera_loader",f).is(":visible")){a(".camera_loader",f).fadeOut(400)}else{a(".camera_loader",f).css({visibility:"hidden"});a(".camera_loader",f).fadeOut(400,function(){a(".camera_loader",f).css({visibility:"visible"})})}var C=b.rows,D=b.cols,F=1,G=0,H,I,J,N,O,P=new Array("simpleFade","curtainTopLeft","curtainTopRight","curtainBottomLeft","curtainBottomRight","curtainSliceLeft","curtainSliceRight","blindCurtainTopLeft","blindCurtainTopRight","blindCurtainBottomLeft","blindCurtainBottomRight","blindCurtainSliceBottom","blindCurtainSliceTop","stampede","mosaic","mosaicReverse","mosaicRandom","mosaicSpiral","mosaicSpiralReverse","topLeftBottomRight","bottomRightTopLeft","bottomLeftTopRight","topRightBottomLeft","scrollLeft","scrollRight","scrollTop","scrollBottom","scrollHorz");marginLeft=0,marginTop=0,opacityOnGrid=0;if(b.opacityOnGrid==true){opacityOnGrid=0}else{opacityOnGrid=1}var Q=a(" > div",j).eq(l).attr("data-fx");if(e()&&b.mobileFx!=""&&b.mobileFx!="default"){N=b.mobileFx}else{if(typeof Q!=="undefined"&&Q!==false&&Q!=="default"){N=Q}else{N=b.fx}}if(N=="random"){N=X(P);N=N[0]}else{N=N;if(N.indexOf(",")>0){N=N.replace(/ /g,"");N=N.split(",");N=X(N);N=N[0]}}dataEasing=a(" > div",j).eq(l).attr("data-easing");mobileEasing=a(" > div",j).eq(l).attr("data-mobileEasing");if(e()&&b.mobileEasing!=""&&b.mobileEasing!="default"){if(typeof mobileEasing!=="undefined"&&mobileEasing!==false&&mobileEasing!=="default"){O=mobileEasing}else{O=b.mobileEasing}}else{if(typeof dataEasing!=="undefined"&&dataEasing!==false&&dataEasing!=="default"){O=dataEasing}else{O=b.easing}}H=a(" > div",j).eq(l).attr("data-slideOn");if(typeof H!=="undefined"&&H!==false){T=H}else{if(b.slideOn=="random"){var T=new Array("next","prev");T=X(T);T=T[0]}else{T=b.slideOn}}var Y=a(" > div",j).eq(l).attr("data-time");if(typeof Y!=="undefined"&&Y!==false&&Y!==""){I=parseFloat(Y)}else{I=b.time}var Z=a(" > div",j).eq(l).attr("data-transPeriod");if(typeof Z!=="undefined"&&Z!==false&&Z!==""){J=parseFloat(Z)}else{J=b.transPeriod}if(!a(j).hasClass("camerastarted")){N="simpleFade";T="next";O="";J=400;a(j).addClass("camerastarted")}switch(N){case"simpleFade":D=1;C=1;break;case"curtainTopLeft":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainTopRight":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainBottomLeft":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainBottomRight":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainSliceLeft":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainSliceRight":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"blindCurtainTopLeft":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainTopRight":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainBottomLeft":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainBottomRight":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainSliceTop":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainSliceBottom":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"stampede":G="-"+J;break;case"mosaic":G=b.gridDifference;break;case"mosaicReverse":G=b.gridDifference;break;case"mosaicRandom":break;case"mosaicSpiral":G=b.gridDifference;F=1.7;break;case"mosaicSpiralReverse":G=b.gridDifference;F=1.7;break;case"topLeftBottomRight":G=b.gridDifference;F=6;break;case"bottomRightTopLeft":G=b.gridDifference;F=6;break;case"bottomLeftTopRight":G=b.gridDifference;F=6;break;case"topRightBottomLeft":G=b.gridDifference;F=6;break;case"scrollLeft":D=1;C=1;break;case"scrollRight":D=1;C=1;break;case"scrollTop":D=1;C=1;break;case"scrollBottom":D=1;C=1;break;case"scrollHorz":D=1;C=1;break}var _=0;var ab=C*D;var eb=t-Math.floor(t/D)*D;var fb=u-Math.floor(u/C)*C;var gb;var kb;var lb=0;var mb=0;var nb=new Array;var ob=new Array;var pb=new Array;while(_<ab){nb.push(_);ob.push(_);E.append('<div class="cameraappended" style="display:none; overflow:hidden; position:absolute; z-index:1000" />');var qb=a(".cameraappended:eq("+_+")",k);if(N=="scrollLeft"||N=="scrollRight"||N=="scrollTop"||N=="scrollBottom"||N=="scrollHorz"){S.eq(l).clone().show().appendTo(qb)}else{if(T=="next"){S.eq(l).clone().show().appendTo(qb)}else{S.eq(d).clone().show().appendTo(qb)}}if(_%D<eb){gb=1}else{gb=0}if(_%D==0){lb=0}if(Math.floor(_/D)<fb){kb=1}else{kb=0}qb.css({height:Math.floor(u/C+kb+1),left:lb,top:mb,width:Math.floor(t/D+gb+1)});a("> .cameraSlide",qb).css({height:u,"margin-left":"-"+lb+"px","margin-top":"-"+mb+"px",width:t});lb=lb+qb.width()-1;if(_%D==D-1){mb=mb+qb.height()-1}_++}switch(N){case"curtainTopLeft":break;case"curtainBottomLeft":break;case"curtainSliceLeft":break;case"curtainTopRight":nb=nb.reverse();break;case"curtainBottomRight":nb=nb.reverse();break;case"curtainSliceRight":nb=nb.reverse();break;case"blindCurtainTopLeft":break;case"blindCurtainBottomLeft":nb=nb.reverse();break;case"blindCurtainSliceTop":break;case"blindCurtainTopRight":break;case"blindCurtainBottomRight":nb=nb.reverse();break;case"blindCurtainSliceBottom":nb=nb.reverse();break;case"stampede":nb=X(nb);break;case"mosaic":break;case"mosaicReverse":nb=nb.reverse();break;case"mosaicRandom":nb=X(nb);break;case"mosaicSpiral":var rb=C/2,sb,tb,ub,vb=0;for(ub=0;ub<rb;ub++){tb=ub;for(sb=ub;sb<D-ub-1;sb++){pb[vb++]=tb*D+sb}sb=D-ub-1;for(tb=ub;tb<C-ub-1;tb++){pb[vb++]=tb*D+sb}tb=C-ub-1;for(sb=D-ub-1;sb>ub;sb--){pb[vb++]=tb*D+sb}sb=ub;for(tb=C-ub-1;tb>ub;tb--){pb[vb++]=tb*D+sb}}nb=pb;break;case"mosaicSpiralReverse":var rb=C/2,sb,tb,ub,vb=ab-1;for(ub=0;ub<rb;ub++){tb=ub;for(sb=ub;sb<D-ub-1;sb++){pb[vb--]=tb*D+sb}sb=D-ub-1;for(tb=ub;tb<C-ub-1;tb++){pb[vb--]=tb*D+sb}tb=C-ub-1;for(sb=D-ub-1;sb>ub;sb--){pb[vb--]=tb*D+sb}sb=ub;for(tb=C-ub-1;tb>ub;tb--){pb[vb--]=tb*D+sb}}nb=pb;break;case"topLeftBottomRight":for(var tb=0;tb<C;tb++)for(var sb=0;sb<D;sb++){pb.push(sb+tb)}ob=pb;break;case"bottomRightTopLeft":for(var tb=0;tb<C;tb++)for(var sb=0;sb<D;sb++){pb.push(sb+tb)}ob=pb.reverse();break;case"bottomLeftTopRight":for(var tb=C;tb>0;tb--)for(var sb=0;sb<D;sb++){pb.push(sb+tb)}ob=pb;break;case"topRightBottomLeft":for(var tb=0;tb<C;tb++)for(var sb=D;sb>0;sb--){pb.push(sb+tb)}ob=pb;break}a.each(nb,function(c,e){function o(){a(this).addClass("cameraeased");if(a(".cameraeased",k).length>=0){a(s).css({visibility:"visible"})}if(a(".cameraeased",k).length==ab){hb();a(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom",g).each(function(){a(this).css("visibility","hidden")});S.eq(l).show().css("z-index","999").removeClass("cameranext").addClass("cameracurrent");S.eq(d).css("z-index","1").removeClass("cameracurrent");a(".cameraContent",g).eq(l).addClass("cameracurrent");if(d>=0){a(".cameraContent",g).eq(d).removeClass("cameracurrent")}b.onEndTransition.call(this);if(a("> div",j).eq(l).attr("data-video")!="hide"&&a(".cameraContent.cameracurrent .imgFake",g).length){a(".cameraContent.cameracurrent .imgFake",g).click()}var c=S.eq(l).find(".fadeIn").length;var e=a(".cameraContent",g).eq(l).find(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom").length;if(c!=0){a(".cameraSlide.cameracurrent .fadeIn",g).each(function(){if(a(this).attr("data-easing")!=""){var b=a(this).attr("data-easing")}else{var b=O}var d=a(this);if(typeof d.attr("data-outerWidth")==="undefined"||d.attr("data-outerWidth")===false||d.attr("data-outerWidth")===""){var e=d.outerWidth();d.attr("data-outerWidth",e)}else{var e=d.attr("data-outerWidth")}if(typeof d.attr("data-outerHeight")==="undefined"||d.attr("data-outerHeight")===false||d.attr("data-outerHeight")===""){var f=d.outerHeight();d.attr("data-outerHeight",f)}else{var f=d.attr("data-outerHeight")}var g=d.position();var h=g.left;var i=g.top;var j=d.attr("class");var k=d.index();var l=d.parents(".camerarelative").outerHeight();var m=d.parents(".camerarelative").outerWidth();if(j.indexOf("fadeIn")!=-1){d.animate({opacity:0},0).css("visibility","visible").delay(I/c*.1*(k-1)).animate({opacity:1},I/c*.15,b)}else{d.css("visibility","visible")}})}a(".cameraContent.cameracurrent",g).show();if(e!=0){a(".cameraContent.cameracurrent .moveFromLeft, .cameraContent.cameracurrent .moveFromRight, .cameraContent.cameracurrent .moveFromTop, .cameraContent.cameracurrent .moveFromBottom, .cameraContent.cameracurrent .fadeIn, .cameraContent.cameracurrent .fadeFromLeft, .cameraContent.cameracurrent .fadeFromRight, .cameraContent.cameracurrent .fadeFromTop, .cameraContent.cameracurrent .fadeFromBottom",g).each(function(){if(a(this).attr("data-easing")!=""){var b=a(this).attr("data-easing")}else{var b=O}var c=a(this);var d=c.position();var f=d.left;var g=d.top;var h=c.attr("class");var i=c.index();var j=c.outerHeight();if(h.indexOf("moveFromLeft")!=-1){c.css({left:"-"+t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left},I/e*.15,b)}else if(h.indexOf("moveFromRight")!=-1){c.css({left:t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left},I/e*.15,b)}else if(h.indexOf("moveFromTop")!=-1){c.css({top:"-"+u+"px",bottom:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({top:d.top},I/e*.15,b,function(){c.css({top:"auto",bottom:0})})}else if(h.indexOf("moveFromBottom")!=-1){c.css({top:u+"px",bottom:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({top:d.top},I/e*.15,b)}else if(h.indexOf("fadeFromLeft")!=-1){c.animate({opacity:0},0).css({left:"-"+t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left,opacity:1},I/e*.15,b)}else if(h.indexOf("fadeFromRight")!=-1){c.animate({opacity:0},0).css({left:t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left,opacity:1},I/e*.15,b)}else if(h.indexOf("fadeFromTop")!=-1){c.animate({opacity:0},0).css({top:"-"+u+"px",bottom:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({top:d.top,opacity:1},I/e*.15,b,function(){c.css({top:"auto",bottom:0})})}else if(h.indexOf("fadeFromBottom")!=-1){c.animate({opacity:0},0).css({bottom:"-"+j+"px"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({bottom:"0",opacity:1},I/e*.15,b)}else if(h.indexOf("fadeIn")!=-1){c.animate({opacity:0},0).css("visibility","visible").delay(I/e*.1*(i-1)).animate({opacity:1},I/e*.15,b)}else{c.css("visibility","visible")}})}a(".cameraappended",k).remove();j.removeClass("camerasliding");S.eq(d).hide();var f=a(".camera_bar_cont",V).width(),m=a(".camera_bar_cont",V).height(),o;if(h!="pie"){o=.05}else{o=.005}a("#"+i).animate({opacity:b.loaderOpacity},200);L=setInterval(function(){if(j.hasClass("stopped")){clearInterval(L)}if(h!="pie"){if(bb<=1.002&&!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){bb=bb+o}else if(bb<=1&&(j.hasClass("stopped")||j.hasClass("paused")||j.hasClass("stopped")||j.hasClass("hovered"))){bb=bb}else{if(!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){clearInterval(L);W();a("#"+i).animate({opacity:0},200,function(){clearTimeout(M);M=setTimeout(ib,n);jb();b.onStartLoading.call(this)})}}switch(U){case"leftToRight":a("#"+i).animate({right:f-f*bb},I*o,"linear");break;case"rightToLeft":a("#"+i).animate({left:f-f*bb},I*o,"linear");break;case"topToBottom":a("#"+i).animate({bottom:m-m*bb},I*o,"linear");break;case"bottomToTop":a("#"+i).animate({bottom:m-m*bb},I*o,"linear");break}}else{cb=bb;db.clearRect(0,0,b.pieDiameter,b.pieDiameter);db.globalCompositeOperation="destination-over";db.beginPath();db.arc(b.pieDiameter/2,b.pieDiameter/2,b.pieDiameter/2-b.loaderStroke,0,Math.PI*2,false);db.lineWidth=b.loaderStroke;db.strokeStyle=b.loaderBgColor;db.stroke();db.closePath();db.globalCompositeOperation="source-over";db.beginPath();db.arc(b.pieDiameter/2,b.pieDiameter/2,b.pieDiameter/2-b.loaderStroke,0,Math.PI*2*cb,false);db.lineWidth=b.loaderStroke-b.loaderPadding*2;db.strokeStyle=b.loaderColor;db.stroke();db.closePath();if(bb<=1.002&&!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){bb=bb+o}else if(bb<=1&&(j.hasClass("stopped")||j.hasClass("paused")||j.hasClass("hovered"))){bb=bb}else{if(!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},200,function(){clearTimeout(M);M=setTimeout(ib,n);jb();b.onStartLoading.call(this)})}}}},I*o)}}if(e%D<eb){gb=1}else{gb=0}if(e%D==0){lb=0}if(Math.floor(e/D)<fb){kb=1}else{kb=0}switch(N){case"simpleFade":height=u;width=t;opacityOnGrid=0;break;case"curtainTopLeft":height=0,width=Math.floor(t/D+gb+1),marginTop="-"+Math.floor(u/C+kb+1)+"px";break;case"curtainTopRight":height=0,width=Math.floor(t/D+gb+1),marginTop="-"+Math.floor(u/C+kb+1)+"px";break;case"curtainBottomLeft":height=0,width=Math.floor(t/D+gb+1),marginTop=Math.floor(u/C+kb+1)+"px";break;case"curtainBottomRight":height=0,width=Math.floor(t/D+gb+1),marginTop=Math.floor(u/C+kb+1)+"px";break;case"curtainSliceLeft":height=0,width=Math.floor(t/D+gb+1);if(e%2==0){marginTop=Math.floor(u/C+kb+1)+"px"}else{marginTop="-"+Math.floor(u/C+kb+1)+"px"}break;case"curtainSliceRight":height=0,width=Math.floor(t/D+gb+1);if(e%2==0){marginTop=Math.floor(u/C+kb+1)+"px"}else{marginTop="-"+Math.floor(u/C+kb+1)+"px"}break;case"blindCurtainTopLeft":height=Math.floor(u/C+kb+1),width=0,marginLeft="-"+Math.floor(t/D+gb+1)+"px";break;case"blindCurtainTopRight":height=Math.floor(u/C+kb+1),width=0,marginLeft=Math.floor(t/D+gb+1)+"px";break;case"blindCurtainBottomLeft":height=Math.floor(u/C+kb+1),width=0,marginLeft="-"+Math.floor(t/D+gb+1)+"px";break;case"blindCurtainBottomRight":height=Math.floor(u/C+kb+1),width=0,marginLeft=Math.floor(t/D+gb+1)+"px";break;case"blindCurtainSliceBottom":height=Math.floor(u/C+kb+1),width=0;if(e%2==0){marginLeft="-"+Math.floor(t/D+gb+1)+"px"}else{marginLeft=Math.floor(t/D+gb+1)+"px"}break;case"blindCurtainSliceTop":height=Math.floor(u/C+kb+1),width=0;if(e%2==0){marginLeft="-"+Math.floor(t/D+gb+1)+"px"}else{marginLeft=Math.floor(t/D+gb+1)+"px"}break;case"stampede":height=0;width=0;marginLeft=t*.2*(c%D-(D-Math.floor(D/2)))+"px";marginTop=u*.2*(Math.floor(c/D)+1-(C-Math.floor(C/2)))+"px";break;case"mosaic":height=0;width=0;break;case"mosaicReverse":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)+"px";marginTop=Math.floor(u/C+kb+1)+"px";break;case"mosaicRandom":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)*.5+"px";marginTop=Math.floor(u/C+kb+1)*.5+"px";break;case"mosaicSpiral":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)*.5+"px";marginTop=Math.floor(u/C+kb+1)*.5+"px";break;case"mosaicSpiralReverse":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)*.5+"px";marginTop=Math.floor(u/C+kb+1)*.5+"px";break;case"topLeftBottomRight":height=0;width=0;break;case"bottomRightTopLeft":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)+"px";marginTop=Math.floor(u/C+kb+1)+"px";break;case"bottomLeftTopRight":height=0;width=0;marginLeft=0;marginTop=Math.floor(u/C+kb+1)+"px";break;case"topRightBottomLeft":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)+"px";marginTop=0;break;case"scrollRight":height=u;width=t;marginLeft=-t;break;case"scrollLeft":height=u;width=t;marginLeft=t;break;case"scrollTop":height=u;width=t;marginTop=u;break;case"scrollBottom":height=u;width=t;marginTop=-u;break;case"scrollHorz":height=u;width=t;if(d==0&&l==B-1){marginLeft=-t}else if(d<l||d==B-1&&l==0){marginLeft=t}else{marginLeft=-t}break}var m=a(".cameraappended:eq("+e+")",k);if(typeof L!=="undefined"){clearInterval(L);clearTimeout(M);M=setTimeout(ib,J+G)}if(a(r).length){a(".camera_pag li",f).removeClass("cameracurrent");a(".camera_pag li",f).eq(l).addClass("cameracurrent")}if(a(s).length){a("li",s).removeClass("cameracurrent");a("li",s).eq(l).addClass("cameracurrent");a("li",s).not(".cameracurrent").find("img").animate({opacity:.5},0);a("li.cameracurrent img",s).animate({opacity:1},0);a("li",s).hover(function(){a("img",this).stop(true,false).animate({opacity:1},150)},function(){if(!a(this).hasClass("cameracurrent")){a("img",this).stop(true,false).animate({opacity:.5},150)}})}var n=parseFloat(J)+parseFloat(G);if(N=="scrollLeft"||N=="scrollRight"||N=="scrollTop"||N=="scrollBottom"||N=="scrollHorz"){b.onStartTransition.call(this);n=0;m.delay((J+G)/ab*ob[c]*F*.5).css({display:"block",height:height,"margin-left":marginLeft,"margin-top":marginTop,width:width}).animate({height:Math.floor(u/C+kb+1),"margin-top":0,"margin-left":0,width:Math.floor(t/D+gb+1)},J-G,O,o);S.eq(d).delay((J+G)/ab*ob[c]*F*.5).animate({"margin-left":marginLeft*-1,"margin-top":marginTop*-1},J-G,O,function(){a(this).css({"margin-top":0,"margin-left":0})})}else{b.onStartTransition.call(this);n=parseFloat(J)+parseFloat(G);if(T=="next"){m.delay((J+G)/ab*ob[c]*F*.5).css({display:"block",height:height,"margin-left":marginLeft,"margin-top":marginTop,width:width,opacity:opacityOnGrid}).animate({height:Math.floor(u/C+kb+1),"margin-top":0,"margin-left":0,opacity:1,width:Math.floor(t/D+gb+1)},J-G,O,o)}else{S.eq(l).show().css("z-index","999").addClass("cameracurrent");S.eq(d).css("z-index","1").removeClass("cameracurrent");a(".cameraContent",g).eq(l).addClass("cameracurrent");a(".cameraContent",g).eq(d).removeClass("cameracurrent");m.delay((J+G)/ab*ob[c]*F*.5).css({display:"block",height:Math.floor(u/C+kb+1),"margin-top":0,"margin-left":0,opacity:1,width:Math.floor(t/D+gb+1)}).animate({height:height,"margin-left":marginLeft,"margin-top":marginTop,width:width,opacity:opacityOnGrid},J-G,O,o)}}})}}var d={alignment:"center",autoAdvance:true,mobileAutoAdvance:true,barDirection:"leftToRight",barPosition:"bottom",cols:6,easing:"easeInOutExpo",mobileEasing:"",fx:"random",mobileFx:"",gridDifference:250,height:"50%",imagePath:"images/",hover:true,loader:"pie",loaderColor:"#eeeeee",loaderBgColor:"#222222",loaderOpacity:.8,loaderPadding:2,loaderStroke:7,minHeight:"200px",navigation:true,navigationHover:true,mobileNavHover:true,opacityOnGrid:false,overlayer:true,pagination:true,playPause:true,pauseOnClick:true,pieDiameter:38,piePosition:"rightTop",portrait:false,rows:4,slicedCols:12,slicedRows:8,slideOn:"random",thumbnails:false,time:7e3,transPeriod:1500,onEndTransition:function(){},onLoaded:function(){},onStartLoading:function(){},onStartTransition:function(){}};var b=a.extend({},d,b);var f=a(this).addClass("camera_wrap");f.wrapInner('<div class="camera_src" />').wrapInner('<div class="camera_fakehover" />');var g=a(".camera_fakehover",f);g.append('<div class="camera_target"></div>');if(b.overlayer==true){g.append('<div class="camera_overlayer"></div>')}g.append('<div class="camera_target_content"></div>');var h;if(b.loader=="pie"&&a.browser.msie&&a.browser.version<9){h="bar"}else{h=b.loader}if(h=="pie"){g.append('<div class="camera_pie"></div>')}else if(h=="bar"){g.append('<div class="camera_bar"></div>')}else{g.append('<div class="camera_bar" style="display:none"></div>')}if(b.playPause==true){g.append('<div class="camera_commands"></div>')}if(b.navigation==true){g.append('<div class="camera_prev"><span></span></div>').append('<div class="camera_next"><span></span></div>')}if(b.thumbnails==true){f.append('<div class="camera_thumbs_cont" />')}if(b.thumbnails==true&&b.pagination!=true){a(".camera_thumbs_cont",f).wrap("<div />").wrap('<div class="camera_thumbs" />').wrap("<div />").wrap('<div class="camera_command_wrap" />')}if(b.pagination==true){f.append('<div class="camera_pag"></div>')}f.append('<div class="camera_loader"></div>');a(".camera_caption",f).each(function(){a(this).wrapInner("<div />")});var i="pie_"+f.index(),j=a(".camera_src",f),k=a(".camera_target",f),l=a(".camera_target_content",f),m=a(".camera_pie",f),n=a(".camera_bar",f),o=a(".camera_prev",f),p=a(".camera_next",f),q=a(".camera_commands",f),r=a(".camera_pag",f),s=a(".camera_thumbs_cont",f);var t,u;var v=new Array;a("> div",j).each(function(){v.push(a(this).attr("data-src"))});var w=new Array;a("> div",j).each(function(){if(a(this).attr("data-link")){w.push(a(this).attr("data-link"))}else{w.push("")}});var x=new Array;a("> div",j).each(function(){if(a(this).attr("data-target")){x.push(a(this).attr("data-target"))}else{x.push("")}});var y=new Array;a("> div",j).each(function(){if(a(this).attr("data-portrait")){y.push(a(this).attr("data-portrait"))}else{y.push("")}});var z=new Array;a("> div",j).each(function(){if(a(this).attr("data-alignment")){z.push(a(this).attr("data-alignment"))}else{z.push("")}});var A=new Array;a("> div",j).each(function(){if(a(this).attr("data-thumb")){A.push(a(this).attr("data-thumb"))}else{A.push("")}});var B=v.length;a(l).append('<div class="cameraContents" />');var C;for(C=0;C<B;C++){a(".cameraContents",l).append('<div class="cameraContent" />');if(w[C]!=""){var D=a("> div ",j).eq(C).attr("data-box");if(typeof D!=="undefined"&&D!==false&&D!=""){D='data-box="'+a("> div ",j).eq(C).attr("data-box")+'"'}else{D=""}a(".camera_target_content .cameraContent:eq("+C+")",f).append('<a class="camera_link" href="'+w[C]+'" '+D+' target="'+x[C]+'"></a>')}}a(".camera_caption",f).each(function(){var b=a(this).parent().index(),c=f.find(".cameraContent").eq(b);a(this).appendTo(c)});k.append('<div class="cameraCont" />');var E=a(".cameraCont",f);var F;for(F=0;F<B;F++){E.append('<div class="cameraSlide cameraSlide_'+F+'" />');var G=a("> div:eq("+F+")",j);k.find(".cameraSlide_"+F).clone(G)}a(window).bind("load resize pageshow",function(){hb();H()});E.append('<div class="cameraSlide cameraSlide_'+F+'" />');var I;f.show();var t=k.width();var u=k.height();var J;a(window).bind("resize pageshow",function(){if(I==true){K()}a("ul",s).animate({"margin-top":0},0,hb);if(!j.hasClass("paused")){j.addClass("paused");if(a(".camera_stop",V).length){a(".camera_stop",V).hide();a(".camera_play",V).show();if(h!="none"){a("#"+i).hide()}}else{if(h!="none"){a("#"+i).hide()}}clearTimeout(J);J=setTimeout(function(){j.removeClass("paused");if(a(".camera_play",V).length){a(".camera_play",V).hide();a(".camera_stop",V).show();if(h!="none"){a("#"+i).fadeIn()}}else{if(h!="none"){a("#"+i).fadeIn()}}},1500)}});var L,M;var N,O,P,q,r;var Q,R;if(e()&&b.mobileAutoAdvance!=""){O=b.mobileAutoAdvance}else{O=b.autoAdvance}if(O==false){j.addClass("paused")}if(e()&&b.mobileNavHover!=""){P=b.mobileNavHover}else{P=b.navigationHover}if(j.length!=0){var S=a(".cameraSlide",k);S.wrapInner('<div class="camerarelative" />');var T;var U=b.barDirection;var V=f;a("iframe",g).each(function(){var b=a(this);var c=b.attr("src");b.attr("data-src",c);var d=b.parent().index(".camera_src > div");a(".camera_target_content .cameraContent:eq("+d+")",f).append(b)});function W(){a("iframe",g).each(function(){a(".camera_caption",g).show();var c=a(this);var d=c.attr("data-src");c.attr("src",d);var e=b.imagePath+"blank.gif";var h=new Image;h.src=e;if(b.height.indexOf("%")!=-1){var i=Math.round(t/(100/parseFloat(b.height)));if(b.minHeight!=""&&i<parseFloat(b.minHeight)){u=parseFloat(b.minHeight)}else{u=i}}else if(b.height=="auto"){u=f.height()}else{u=parseFloat(b.height)}c.after(a(h).attr({"class":"imgFake",width:t,height:u}));var j=c.clone();c.remove();a(h).bind("click",function(){if(a(this).css("position")=="absolute"){a(this).remove();if(d.indexOf("vimeo")!=-1||d.indexOf("youtube")!=-1){if(d.indexOf("?")!=-1){autoplay="&autoplay=1"}else{autoplay="?autoplay=1"}}else if(d.indexOf("dailymotion")!=-1){if(d.indexOf("?")!=-1){autoplay="&autoPlay=1"}else{autoplay="?autoPlay=1"}}j.attr("src",d+autoplay);R=true}else{a(this).css({position:"absolute",top:0,left:0,zIndex:10}).after(j);j.css({position:"absolute",top:0,left:0,zIndex:9})}})})}W();if(b.hover==true){if(!e()){g.hover(function(){j.addClass("hovered")},function(){j.removeClass("hovered")})}}if(P==true){a(o,f).animate({opacity:0},0);a(p,f).animate({opacity:0},0);a(q,f).animate({opacity:0},0);if(e()){g.live("vmouseover",function(){a(o,f).animate({opacity:1},200);a(p,f).animate({opacity:1},200);a(q,f).animate({opacity:1},200)});g.live("vmouseout",function(){a(o,f).delay(500).animate({opacity:0},200);a(p,f).delay(500).animate({opacity:0},200);a(q,f).delay(500).animate({opacity:0},200)})}else{g.hover(function(){a(o,f).animate({opacity:1},200);a(p,f).animate({opacity:1},200);a(q,f).animate({opacity:1},200)},function(){a(o,f).animate({opacity:0},200);a(p,f).animate({opacity:0},200);a(q,f).animate({opacity:0},200)})}}a(".camera_stop",V).live("click",function(){O=false;j.addClass("paused");if(a(".camera_stop",V).length){a(".camera_stop",V).hide();a(".camera_play",V).show();if(h!="none"){a("#"+i).hide()}}else{if(h!="none"){a("#"+i).hide()}}});a(".camera_play",V).live("click",function(){O=true;j.removeClass("paused");if(a(".camera_play",V).length){a(".camera_play",V).hide();a(".camera_stop",V).show();if(h!="none"){a("#"+i).show()}}else{if(h!="none"){a("#"+i).show()}}});if(b.pauseOnClick==true){a(".camera_target_content",g).mouseup(function(){O=false;j.addClass("paused");a(".camera_stop",V).hide();a(".camera_play",V).show();a("#"+i).hide()})}a(".cameraContent, .imgFake",g).hover(function(){Q=true},function(){Q=false});a(".cameraContent, .imgFake",g).bind("click",function(){if(R==true&&Q==true){O=false;a(".camera_caption",g).hide();j.addClass("paused");a(".camera_stop",V).hide();a(".camera_play",V).show();a("#"+i).hide()}})}if(h!="pie"){n.append('<span class="camera_bar_cont" />');a(".camera_bar_cont",n).animate({opacity:b.loaderOpacity},0).css({position:"absolute",left:0,right:0,top:0,bottom:0,"background-color":b.loaderBgColor}).append('<span id="'+i+'" />');a("#"+i).animate({opacity:0},0);var Z=a("#"+i);Z.css({position:"absolute","background-color":b.loaderColor});switch(b.barPosition){case"left":n.css({right:"auto",width:b.loaderStroke});break;case"right":n.css({left:"auto",width:b.loaderStroke});break;case"top":n.css({bottom:"auto",height:b.loaderStroke});break;case"bottom":n.css({top:"auto",height:b.loaderStroke});break}switch(U){case"leftToRight":Z.css({left:0,right:0,top:b.loaderPadding,bottom:b.loaderPadding});break;case"rightToLeft":Z.css({left:0,right:0,top:b.loaderPadding,bottom:b.loaderPadding});break;case"topToBottom":Z.css({left:b.loaderPadding,right:b.loaderPadding,top:0,bottom:0});break;case"bottomToTop":Z.css({left:b.loaderPadding,right:b.loaderPadding,top:0,bottom:0});break}}else{m.append('<canvas id="'+i+'"></canvas>');var _;var Z=document.getElementById(i);Z.setAttribute("width",b.pieDiameter);Z.setAttribute("height",b.pieDiameter);var ab;switch(b.piePosition){case"leftTop":ab="left:0; top:0;";break;case"rightTop":ab="right:0; top:0;";break;case"leftBottom":ab="left:0; bottom:0;";break;case"rightBottom":ab="right:0; bottom:0;";break}Z.setAttribute("style","position:absolute; z-index:1002; "+ab);var bb;var cb;if(Z&&Z.getContext){var db=Z.getContext("2d");db.rotate(Math.PI*(3/2));db.translate(-b.pieDiameter,0)}}if(h=="none"||O==false){a("#"+i).hide();a(".camera_canvas_wrap",V).hide()}if(a(r).length){a(r).append('<ul class="camera_pag_ul" />');var eb;for(eb=0;eb<B;eb++){a(".camera_pag_ul",f).append('<li class="pag_nav_'+eb+'" style="position:relative; z-index:1002"><span><span>'+eb+"</span></span></li>")}a(".camera_pag_ul li",f).hover(function(){a(this).addClass("camera_hover");if(a(".camera_thumb",this).length){var b=a(".camera_thumb",this).outerWidth(),c=a(".camera_thumb",this).outerHeight(),d=a(this).outerWidth();a(".camera_thumb",this).show().css({top:"-"+c+"px",left:"-"+(b-d)/2+"px"}).animate({opacity:1,"margin-top":"-3px"},200);a(".thumb_arrow",this).show().animate({opacity:1,"margin-top":"-3px"},200)}},function(){a(this).removeClass("camera_hover");a(".camera_thumb",this).animate({"margin-top":"-20px",opacity:0},200,function(){a(this).css({marginTop:"5px"}).hide()});a(".thumb_arrow",this).animate({"margin-top":"-20px",opacity:0},200,function(){a(this).css({marginTop:"5px"}).hide()})})}if(a(s).length){var fb;if(!a(r).length){a(s).append("<div />");a(s).before('<div class="camera_prevThumbs hideNav"><div></div></div>').before('<div class="camera_nextThumbs hideNav"><div></div></div>');a("> div",s).append("<ul />");a.each(A,function(b,c){if(a("> div",j).eq(b).attr("data-thumb")!=""){var d=a("> div",j).eq(b).attr("data-thumb"),e=new Image;e.src=d;a("ul",s).append('<li class="pix_thumb pix_thumb_'+b+'" />');a("li.pix_thumb_"+b,s).append(a(e).attr("class","camera_thumb"))}})}else{a.each(A,function(b,c){if(a("> div",j).eq(b).attr("data-thumb")!=""){var d=a("> div",j).eq(b).attr("data-thumb"),e=new Image;e.src=d;a("li.pag_nav_"+b,r).append(a(e).attr("class","camera_thumb").css({position:"absolute"}).animate({opacity:0},0));a("li.pag_nav_"+b+" > img",r).after('<div class="thumb_arrow" />');a("li.pag_nav_"+b+" > .thumb_arrow",r).animate({opacity:0},0)}});f.css({marginBottom:a(r).outerHeight()})}}else if(!a(s).length&&a(r).length){f.css({marginBottom:a(r).outerHeight()})}var gb=true;if(a(q).length){a(q).append('<div class="camera_play"></div>').append('<div class="camera_stop"></div>');if(O==true){a(".camera_play",V).hide();a(".camera_stop",V).show()}else{a(".camera_stop",V).hide();a(".camera_play",V).show()}}ib();a(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom",g).each(function(){a(this).css("visibility","hidden")});b.onStartLoading.call(this);jb();if(a(o).length){a(o).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",f).animate({opacity:0},0);ib();if(c!=0){jb(c)}else{jb(B)}b.onStartLoading.call(this)}})}if(a(p).length){a(p).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(c==B-1){jb(1)}else{jb(c+2)}b.onStartLoading.call(this)}})}if(e()){g.bind("swipeleft",function(c){if(!j.hasClass("camerasliding")){var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(d==B-1){jb(1)}else{jb(d+2)}b.onStartLoading.call(this)}});g.bind("swiperight",function(c){if(!j.hasClass("camerasliding")){var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(d!=0){jb(d)}else{jb(B)}b.onStartLoading.call(this)}})}if(a(r).length){a(".camera_pag li",f).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(this).index());var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());if(c!=d){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();jb(c+1);b.onStartLoading.call(this)}}})}if(a(s).length){a(".pix_thumb img",s).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(this).parents("li").index());var d=parseFloat(a(".cameracurrent",k).index());if(c!=d){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);a(".pix_thumb",s).removeClass("cameracurrent");a(this).parents("li").addClass("cameracurrent");ib();jb(c+1);hb();b.onStartLoading.call(this)}}});a(".camera_thumbs_cont .camera_prevThumbs",V).hover(function(){a(this).stop(true,false).animate({opacity:1},250)},function(){a(this).stop(true,false).animate({opacity:.7},250)});a(".camera_prevThumbs",V).click(function(){var b=0,c=a(s).outerWidth(),d=a("ul",s).offset().left,e=a("> div",s).offset().left,f=e-d;a(".camera_visThumb",s).each(function(){var c=a(this).outerWidth();b=b+c});if(f-b>0){a("ul",s).animate({"margin-left":"-"+(f-b)+"px"},500,H)}else{a("ul",s).animate({"margin-left":0},500,H)}});a(".camera_thumbs_cont .camera_nextThumbs",V).hover(function(){a(this).stop(true,false).animate({opacity:1},250)},function(){a(this).stop(true,false).animate({opacity:.7},250)});a(".camera_nextThumbs",V).click(function(){var b=0,c=a(s).outerWidth(),d=a("ul",s).outerWidth(),e=a("ul",s).offset().left,f=a("> div",s).offset().left,g=f-e;a(".camera_visThumb",s).each(function(){var c=a(this).outerWidth();b=b+c});if(g+b+b<d){a("ul",s).animate({"margin-left":"-"+(g+b)+"px"},500,H)}else{a("ul",s).animate({"margin-left":"-"+(d-c)+"px"},500,H)}})}}})(jQuery);(function(a){a.fn.cameraStop=function(){var b=a(this),c=a(".camera_src",b),d="pie_"+b.index();c.addClass("stopped");if(a(".camera_showcommands").length){var e=a(".camera_thumbs_wrap",b)}else{var e=b}}})(jQuery);(function(a){a.fn.cameraPause=function(){var b=a(this);var c=a(".camera_src",b);c.addClass("paused")}})(jQuery);(function(a){a.fn.cameraResume=function(){var b=a(this);var c=a(".camera_src",b);if(typeof autoAdv==="undefined"||autoAdv!==true){c.removeClass("paused")}}})(jQuery); -\ No newline at end of file diff --git a/themes/parkzone/scripts/jquery.easing.1.3.js b/themes/parkzone/scripts/jquery.easing.1.3.js @@ -1,205 +0,0 @@ -/* - * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ - * - * Uses the built in easing capabilities added In jQuery 1.1 - * to offer multiple easing options - * - * TERMS OF USE - jQuery Easing - * - * Open source under the BSD License. - * - * Copyright © 2008 George McGinley Smith - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this list of - * conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, this list - * of conditions and the following disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * Neither the name of the author nor the names of contributors may be used to endorse - * or promote products derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. - * -*/ - -// t: current time, b: begInnIng value, c: change In value, d: duration -jQuery.easing['jswing'] = jQuery.easing['swing']; - -jQuery.extend( jQuery.easing, -{ - def: 'easeOutQuad', - swing: function (x, t, b, c, d) { - //alert(jQuery.easing.default); - return jQuery.easing[jQuery.easing.def](x, t, b, c, d); - }, - easeInQuad: function (x, t, b, c, d) { - return c*(t/=d)*t + b; - }, - easeOutQuad: function (x, t, b, c, d) { - return -c *(t/=d)*(t-2) + b; - }, - easeInOutQuad: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return c/2*t*t + b; - return -c/2 * ((--t)*(t-2) - 1) + b; - }, - easeInCubic: function (x, t, b, c, d) { - return c*(t/=d)*t*t + b; - }, - easeOutCubic: function (x, t, b, c, d) { - return c*((t=t/d-1)*t*t + 1) + b; - }, - easeInOutCubic: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return c/2*t*t*t + b; - return c/2*((t-=2)*t*t + 2) + b; - }, - easeInQuart: function (x, t, b, c, d) { - return c*(t/=d)*t*t*t + b; - }, - easeOutQuart: function (x, t, b, c, d) { - return -c * ((t=t/d-1)*t*t*t - 1) + b; - }, - easeInOutQuart: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return c/2*t*t*t*t + b; - return -c/2 * ((t-=2)*t*t*t - 2) + b; - }, - easeInQuint: function (x, t, b, c, d) { - return c*(t/=d)*t*t*t*t + b; - }, - easeOutQuint: function (x, t, b, c, d) { - return c*((t=t/d-1)*t*t*t*t + 1) + b; - }, - easeInOutQuint: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; - return c/2*((t-=2)*t*t*t*t + 2) + b; - }, - easeInSine: function (x, t, b, c, d) { - return -c * Math.cos(t/d * (Math.PI/2)) + c + b; - }, - easeOutSine: function (x, t, b, c, d) { - return c * Math.sin(t/d * (Math.PI/2)) + b; - }, - easeInOutSine: function (x, t, b, c, d) { - return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; - }, - easeInExpo: function (x, t, b, c, d) { - return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; - }, - easeOutExpo: function (x, t, b, c, d) { - return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; - }, - easeInOutExpo: function (x, t, b, c, d) { - if (t==0) return b; - if (t==d) return b+c; - if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; - return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; - }, - easeInCirc: function (x, t, b, c, d) { - return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; - }, - easeOutCirc: function (x, t, b, c, d) { - return c * Math.sqrt(1 - (t=t/d-1)*t) + b; - }, - easeInOutCirc: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; - return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; - }, - easeInElastic: function (x, t, b, c, d) { - var s=1.70158;var p=0;var a=c; - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; - if (a < Math.abs(c)) { a=c; var s=p/4; } - else var s = p/(2*Math.PI) * Math.asin (c/a); - return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; - }, - easeOutElastic: function (x, t, b, c, d) { - var s=1.70158;var p=0;var a=c; - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; - if (a < Math.abs(c)) { a=c; var s=p/4; } - else var s = p/(2*Math.PI) * Math.asin (c/a); - return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; - }, - easeInOutElastic: function (x, t, b, c, d) { - var s=1.70158;var p=0;var a=c; - if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); - if (a < Math.abs(c)) { a=c; var s=p/4; } - else var s = p/(2*Math.PI) * Math.asin (c/a); - if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; - return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; - }, - easeInBack: function (x, t, b, c, d, s) { - if (s == undefined) s = 1.70158; - return c*(t/=d)*t*((s+1)*t - s) + b; - }, - easeOutBack: function (x, t, b, c, d, s) { - if (s == undefined) s = 1.70158; - return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; - }, - easeInOutBack: function (x, t, b, c, d, s) { - if (s == undefined) s = 1.70158; - if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; - return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; - }, - easeInBounce: function (x, t, b, c, d) { - return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; - }, - easeOutBounce: function (x, t, b, c, d) { - if ((t/=d) < (1/2.75)) { - return c*(7.5625*t*t) + b; - } else if (t < (2/2.75)) { - return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; - } else if (t < (2.5/2.75)) { - return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; - } else { - return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; - } - }, - easeInOutBounce: function (x, t, b, c, d) { - if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; - return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; - } -}); - -/* - * - * TERMS OF USE - EASING EQUATIONS - * - * Open source under the BSD License. - * - * Copyright © 2001 Robert Penner - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this list of - * conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, this list - * of conditions and the following disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * Neither the name of the author nor the names of contributors may be used to endorse - * or promote products derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. - * - */ -\ No newline at end of file diff --git a/themes/parkzone/scripts/jquery.min.js b/themes/parkzone/scripts/jquery.min.js @@ -1,5 +0,0 @@ -/*! jQuery v1.7.1 jquery.com | jquery.org/license */ -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); -jQuery.noConflict(); -\ No newline at end of file diff --git a/themes/parkzone/scripts/jquery.mobile.customized.min.js b/themes/parkzone/scripts/jquery.mobile.customized.min.js @@ -1,10 +0,0 @@ -// jQuery Mobile framework customized for Camera slideshow, made by -// 'jquery.mobile.define.js', -// 'jquery.ui.widget.js', -// 'jquery.mobile.widget.js', -// 'jquery.mobile.media.js', -// 'jquery.mobile.support.js', -// 'jquery.mobile.vmouse.js', -// 'jquery.mobile.event.js', -// 'jquery.mobile.core.js' -window.define=function(){Array.prototype.slice.call(arguments).pop()(window.jQuery)};define(["jquery"],function(a){(function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++){a(e).triggerHandler("remove")}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){if(!c){if(!b||a.filter(b,[this]).length){a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")})}}return d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(".")[0],f;b=b.split(".")[1];f=e+"-"+b;if(!d){d=c;c=a.Widget}a.expr[":"][f]=function(c){return!!a.data(c,b)};a[e]=a[e]||{};a[e][b]=function(a,b){if(arguments.length){this._createWidget(a,b)}};var g=new c;g.options=a.extend(true,{},g.options);a[e][b].prototype=a.extend(true,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d);a.widget.bridge(b,a[e][b])};a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e==="string",g=Array.prototype.slice.call(arguments,1),h=this;e=!f&&g.length?a.extend.apply(null,[true,e].concat(g)):e;if(f&&e.charAt(0)==="_"){return h}if(f){this.each(function(){var d=a.data(this,c);if(!d){throw"cannot call methods on "+c+" prior to initialization; "+"attempted to call method '"+e+"'"}if(!a.isFunction(d[e])){throw"no such method '"+e+"' for "+c+" widget instance"}var f=d[e].apply(d,g);if(f!==d&&f!==b){h=f;return false}})}else{this.each(function(){var b=a.data(this,c);if(b){b.option(e||{})._init()}else{a.data(this,c,new d(e,this))}})}return h}};a.Widget=function(a,b){if(arguments.length){this._createWidget(a,b)}};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(b,c){a.data(c,this.widgetName,this);this.element=a(c);this.options=a.extend(true,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){var b={};if(a.metadata){b=a.metadata.get(element)[this.widgetName]}return b},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+"ui-state-disabled")},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0){return a.extend({},this.options)}if(typeof c==="string"){if(d===b){return this.options[c]}e={};e[c]=d}this._setOptions(e);return this},_setOptions:function(b){var c=this;a.each(b,function(a,b){c._setOption(a,b)});return this},_setOption:function(a,b){this.options[a]=b;if(a==="disabled"){this.widget()[b?"addClass":"removeClass"](this.widgetBaseClass+"-disabled"+" "+"ui-state-disabled").attr("aria-disabled",b)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(b,c,d){var e=this.options[b];c=a.Event(c);c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase();d=d||{};if(c.originalEvent){for(var f=a.event.props.length,g;f;){g=a.event.props[--f];c[g]=c.originalEvent[g]}}this.element.trigger(c,d);return!(a.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery)});define(["jquery","./jquery.ui.widget"],function(a){(function(a,b){a.widget("mobile.widget",{_createWidget:function(){a.Widget.prototype._createWidget.apply(this,arguments);this._trigger("init")},_getCreateOptions:function(){var c=this.element,d={};a.each(this.options,function(a){var e=c.jqmData(a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()}));if(e!==b){d[a]=e}});return d},enhanceWithin:function(b){var c=a.mobile.closestPageData(a(b)),d=c&&c.keepNativeSelector()||"";a(this.options.initSelector,b).not(d)[this.widgetName]()}})})(jQuery)});define(["jquery","./jquery.mobile.core"],function(a){(function(a,b){var c=a(window),d=a("html");a.mobile.media=function(){var b={},c=a("<div id='jquery-mediatest'>"),e=a("<body>").append(c);return function(a){if(!(a in b)){var f=document.createElement("style"),g="@media "+a+" { #jquery-mediatest { position:absolute; } }";f.type="text/css";if(f.styleSheet){f.styleSheet.cssText=g}else{f.appendChild(document.createTextNode(g))}d.prepend(e).prepend(f);b[a]=c.css("position")==="absolute";e.add(f).remove()}return b[a]}}()})(jQuery)});define(["jquery","./jquery.mobile.media"],function(a){(function(a,b){function m(){var b=location.protocol+"//"+location.host+location.pathname+"ui-dir/",d=a("head base"),e=null,f="",g,h;if(!d.length){d=e=a("<base>",{href:b}).appendTo("head")}else{f=d.attr("href")}g=a("<a href='testurl' />").prependTo(c);h=g[0].href;d[0].href=f||location.pathname;if(e){e.remove()}return h.indexOf(b)===0}function l(){var b="transform-3d";return k("perspective","10px","moz")||a.mobile.media("(-"+e.join("-"+b+"),(-")+"-"+b+"),("+b+")")}function k(a,b,c){var d=document.createElement("div"),f=function(a){return a.charAt(0).toUpperCase()+a.substr(1)},g=function(a){return"-"+a.charAt(0).toLowerCase()+a.substr(1)+"-"},h=function(c){var e=g(c)+a+": "+b+";",h=f(c),i=h+f(a);d.setAttribute("style",e);if(!!d.style[i]){k=true}},j=c?[c]:e,k;for(i=0;i<j.length;i++){h(j[i])}return!!k}function j(a){var c=a.charAt(0).toUpperCase()+a.substr(1),f=(a+" "+e.join(c+" ")+c).split(" ");for(var g in f){if(d[f[g]]!==b){return true}}}var c=a("<body>").prependTo("html"),d=c[0].style,e=["Webkit","Moz","O"],f="palmGetResource"in window,g=window.operamini&&{}.toString.call(window.operamini)==="[object OperaMini]",h=window.blackberry;a.extend(a.mobile,{browser:{}});a.mobile.browser.ie=function(){var a=3,b=document.createElement("div"),c=b.all||[];while(b.innerHTML="<!--[if gt IE "+ ++a+"]><br><![endif]-->",c[0]){}return a>4?a:!a}();a.extend(a.support,{orientation:"orientation"in window&&"onorientationchange"in window,touch:"ontouchend"in document,cssTransitions:"WebKitTransitionEvent"in window||k("transition","height 100ms linear"),pushState:"pushState"in history&&"replaceState"in history,mediaquery:a.mobile.media("only all"),cssPseudoElement:!!j("content"),touchOverflow:!!j("overflowScrolling"),cssTransform3d:l(),boxShadow:!!j("boxShadow")&&!h,scrollTop:("pageXOffset"in window||"scrollTop"in document.documentElement||"scrollTop"in c[0])&&!f&&!g,dynamicBaseTag:m()});c.remove();var n=function(){var a=window.navigator.userAgent;return a.indexOf("Nokia")>-1&&(a.indexOf("Symbian/3")>-1||a.indexOf("Series60/5")>-1)&&a.indexOf("AppleWebKit")>-1&&a.match(/(BrowserNG|NokiaBrowser)\/7\.[0-3]/)}();a.mobile.ajaxBlacklist=window.blackberry&&!window.WebKitPoint||g||n;if(n){a(function(){a("head link[rel='stylesheet']").attr("rel","alternate stylesheet").attr("rel","stylesheet")})}if(!a.support.boxShadow){a("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery)});define(["jquery"],function(a){(function(a,b,c,d){function O(b){var c=b.substr(1);return{setup:function(d,f){if(!M(this)){a.data(this,e,{})}var g=a.data(this,e);g[b]=true;k[b]=(k[b]||0)+1;if(k[b]===1){t.bind(c,H)}a(this).bind(c,N);if(s){k["touchstart"]=(k["touchstart"]||0)+1;if(k["touchstart"]===1){t.bind("touchstart",I).bind("touchend",L).bind("touchmove",K).bind("scroll",J)}}},teardown:function(d,f){--k[b];if(!k[b]){t.unbind(c,H)}if(s){--k["touchstart"];if(!k["touchstart"]){t.unbind("touchstart",I).unbind("touchmove",K).unbind("touchend",L).unbind("scroll",J)}}var g=a(this),h=a.data(this,e);if(h){h[b]=false}g.unbind(c,N);if(!M(this)){g.removeData(e)}}}}function N(){}function M(b){var c=a.data(b,e),d;if(c){for(d in c){if(c[d]){return true}}}return false}function L(a){if(r){return}B();var b=y(a.target),c;G("vmouseup",a,b);if(!o){var d=G("vclick",a,b);if(d&&d.isDefaultPrevented()){c=w(a).changedTouches[0];p.push({touchID:v,x:c.clientX,y:c.clientY});q=true}}G("vmouseout",a,b);o=false;E()}function K(b){if(r){return}var c=w(b).touches[0],d=o,e=a.vmouse.moveDistanceThreshold;o=o||Math.abs(c.pageX-m)>e||Math.abs(c.pageY-n)>e,flags=y(b.target);if(o&&!d){G("vmousecancel",b,flags)}G("vmousemove",b,flags);E()}function J(a){if(r){return}if(!o){G("vmousecancel",a,y(a.target))}o=true;E()}function I(b){var c=w(b).touches,d,e;if(c&&c.length===1){d=b.target;e=y(d);if(e.hasVirtualBinding){v=u++;a.data(d,f,v);F();D();o=false;var g=w(b).touches[0];m=g.pageX;n=g.pageY;G("vmouseover",b,e);G("vmousedown",b,e)}}}function H(b){var c=a.data(b.target,f);if(!q&&(!v||v!==c)){var d=G("v"+b.type,b);if(d){if(d.isDefaultPrevented()){b.preventDefault()}if(d.isPropagationStopped()){b.stopPropagation()}if(d.isImmediatePropagationStopped()){b.stopImmediatePropagation()}}}}function G(b,c,d){var e;if(d&&d[b]||!d&&z(c.target,b)){e=x(c,b);a(c.target).trigger(e)}return e}function F(){if(l){clearTimeout(l);l=0}}function E(){F();l=setTimeout(function(){l=0;C()},a.vmouse.resetTimerDuration)}function D(){A()}function C(){v=0;p.length=0;q=false;B()}function B(){r=true}function A(){r=false}function z(b,c){var d;while(b){d=a.data(b,e);if(d&&(!c||d[c])){return b}b=b.parentNode}return null}function y(b){var c={},d,f;while(b){d=a.data(b,e);for(f in d){if(d[f]){c[f]=c.hasVirtualBinding=true}}b=b.parentNode}return c}function x(b,c){var e=b.type,f,g,i,k,l,m,n,o;b=a.Event(b);b.type=c;f=b.originalEvent;g=a.event.props;if(e.search(/mouse/)>-1){g=j}if(f){for(n=g.length,k;n;){k=g[--n];b[k]=f[k]}}if(e.search(/mouse(down|up)|click/)>-1&&!b.which){b.which=1}if(e.search(/^touch/)!==-1){i=w(f);e=i.touches;l=i.changedTouches;m=e&&e.length?e[0]:l&&l.length?l[0]:d;if(m){for(o=0,len=h.length;o<len;o++){k=h[o];b[k]=m[k]}}}return b}function w(a){while(a&&typeof a.originalEvent!=="undefined"){a=a.originalEvent}return a}var e="virtualMouseBindings",f="virtualTouchID",g="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),h="clientX clientY pageX pageY screenX screenY".split(" "),i=a.event.mouseHooks?a.event.mouseHooks.props:[],j=a.event.props.concat(i),k={},l=0,m=0,n=0,o=false,p=[],q=false,r=false,s="addEventListener"in c,t=a(c),u=1,v=0;a.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(var P=0;P<g.length;P++){a.event.special[g[P]]=O(g[P])}if(s){c.addEventListener("click",function(b){var c=p.length,d=b.target,e,g,h,i,j,k;if(c){e=b.clientX;g=b.clientY;threshold=a.vmouse.clickDistanceThreshold;h=d;while(h){for(i=0;i<c;i++){j=p[i];k=0;if(h===d&&Math.abs(j.x-e)<threshold&&Math.abs(j.y-g)<threshold||a.data(h,f)===j.touchID){b.preventDefault();b.stopPropagation();return}}h=h.parentNode}}},true)}})(jQuery,window,document)});define(["jquery","./jquery.mobile.core","./jquery.mobile.media","./jquery.mobile.support","./jquery.mobile.vmouse"],function(a){(function(a,b,c){function i(b,c,d){var e=d.type;d.type=c;a.event.handle.call(b,d);d.type=e}a.each(("touchstart touchmove touchend orientationchange throttledresize "+"tap taphold swipe swipeleft swiperight scrollstart scrollstop").split(" "),function(b,c){a.fn[c]=function(a){return a?this.bind(c,a):this.trigger(c)};a.attrFn[c]=true});var d=a.support.touch,e="touchmove scroll",f=d?"touchstart":"mousedown",g=d?"touchend":"mouseup",h=d?"touchmove":"mousemove";a.event.special.scrollstart={enabled:true,setup:function(){function g(a,c){d=c;i(b,d?"scrollstart":"scrollstop",a)}var b=this,c=a(b),d,f;c.bind(e,function(b){if(!a.event.special.scrollstart.enabled){return}if(!d){g(b,true)}clearTimeout(f);f=setTimeout(function(){g(b,false)},50)})}};a.event.special.tap={setup:function(){var b=this,c=a(b);c.bind("vmousedown",function(d){function k(a){j();if(e==a.target){i(b,"tap",a)}}function j(){h();c.unbind("vclick",k).unbind("vmouseup",h);a(document).unbind("vmousecancel",j)}function h(){clearTimeout(g)}if(d.which&&d.which!==1){return false}var e=d.target,f=d.originalEvent,g;c.bind("vmouseup",h).bind("vclick",k);a(document).bind("vmousecancel",j);g=setTimeout(function(){i(b,"taphold",a.Event("taphold"))},750)})}};a.event.special.swipe={scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var b=this,d=a(b);d.bind(f,function(b){function j(b){if(!f){return}var c=b.originalEvent.touches?b.originalEvent.touches[0]:b;i={time:(new Date).getTime(),coords:[c.pageX,c.pageY]};if(Math.abs(f.coords[0]-i.coords[0])>a.event.special.swipe.scrollSupressionThreshold){b.preventDefault()}}var e=b.originalEvent.touches?b.originalEvent.touches[0]:b,f={time:(new Date).getTime(),coords:[e.pageX,e.pageY],origin:a(b.target)},i;d.bind(h,j).one(g,function(b){d.unbind(h,j);if(f&&i){if(i.time-f.time<a.event.special.swipe.durationThreshold&&Math.abs(f.coords[0]-i.coords[0])>a.event.special.swipe.horizontalDistanceThreshold&&Math.abs(f.coords[1]-i.coords[1])<a.event.special.swipe.verticalDistanceThreshold){f.origin.trigger("swipe").trigger(f.coords[0]>i.coords[0]?"swipeleft":"swiperight")}}f=i=c})})}};(function(a,b){function j(){var a=e();if(a!==f){f=a;c.trigger("orientationchange")}}var c=a(b),d,e,f,g,h,i={0:true,180:true};if(a.support.orientation){g=a.mobile.media("all and (orientation: landscape)");h=i[b.orientation];if(g&&h||!g&&!h){i={"-90":true,90:true}}}a.event.special.orientationchange=d={setup:function(){if(a.support.orientation&&a.mobile.orientationChangeEnabled){return false}f=e();c.bind("throttledresize",j)},teardown:function(){if(a.support.orientation&&a.mobile.orientationChangeEnabled){return false}c.unbind("throttledresize",j)},add:function(a){var b=a.handler;a.handler=function(a){a.orientation=e();return b.apply(this,arguments)}}};a.event.special.orientationchange.orientation=e=function(){var c=true,d=document.documentElement;if(a.support.orientation){c=i[b.orientation]}else{c=d&&d.clientWidth/d.clientHeight<1.1}return c?"portrait":"landscape"}})(jQuery,b);(function(){a.event.special.throttledresize={setup:function(){a(this).bind("resize",c)},teardown:function(){a(this).unbind("resize",c)}};var b=250,c=function(){f=(new Date).getTime();g=f-d;if(g>=b){d=f;a(this).trigger("throttledresize")}else{if(e){clearTimeout(e)}e=setTimeout(c,b-g)}},d=0,e,f,g})();a.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(b,c){a.event.special[b]={setup:function(){a(this).bind(c,a.noop)}}})})(jQuery,this)});define(["jquery","../external/requirejs/text!../version.txt","./jquery.mobile.widget"],function(a,b){(function(a,c,d){var e={};a.mobile=a.extend({},{version:b,ns:"",subPageUrlKey:"ui-page",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",focusClass:"ui-focus",ajaxEnabled:true,hashListeningEnabled:true,linkBindingEnabled:true,defaultPageTransition:"fade",maxTransitionWidth:false,minScrollBack:10,touchOverflowEnabled:false,defaultDialogTransition:"pop",loadingMessage:"loading",pageLoadErrorMessage:"Error Loading Page",loadingMessageTextVisible:false,loadingMessageTheme:"a",pageLoadErrorMessageTheme:"e",autoInitializePage:true,pushStateEnabled:true,orientationChangeEnabled:true,gradeA:function(){return a.support.mediaquery||a.mobile.browser.ie&&a.mobile.browser.ie>=7},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},silentScroll:function(b){if(a.type(b)!=="number"){b=a.mobile.defaultHomeScroll}a.event.special.scrollstart.enabled=false;setTimeout(function(){c.scrollTo(0,b);a(document).trigger("silentscroll",{x:0,y:b})},20);setTimeout(function(){a.event.special.scrollstart.enabled=true},150)},nsNormalizeDict:e,nsNormalize:function(b){if(!b){return}return e[b]||(e[b]=a.camelCase(a.mobile.ns+b))},getInheritedTheme:function(a,b){var c=a[0],d="",e=/ui-(bar|body)-([a-z])\b/,f,g;while(c){var f=c.className||"";if((g=e.exec(f))&&(d=g[2])){break}c=c.parentNode}return d||b||"a"},closestPageData:function(a){return a.closest(':jqmData(role="page"), :jqmData(role="dialog")').data("page")}},a.mobile);a.fn.jqmData=function(b,c){var d;if(typeof b!="undefined"){d=this.data(b?a.mobile.nsNormalize(b):b,c)}return d};a.jqmData=function(b,c,d){var e;if(typeof c!="undefined"){e=a.data(b,c?a.mobile.nsNormalize(c):c,d)}return e};a.fn.jqmRemoveData=function(b){return this.removeData(a.mobile.nsNormalize(b))};a.jqmRemoveData=function(b,c){return a.removeData(b,a.mobile.nsNormalize(c))};a.fn.removeWithDependents=function(){a.removeWithDependents(this)};a.removeWithDependents=function(b){var c=a(b);(c.jqmData("dependents")||a()).remove();c.remove()};a.fn.addDependents=function(b){a.addDependents(a(this),b)};a.addDependents=function(b,c){var d=a(b).jqmData("dependents")||a();a(b).jqmData("dependents",a.merge(d,c))};a.fn.getEncodedText=function(){return a("<div/>").text(a(this).text()).html()};var f=a.find,g=/:jqmData\(([^)]*)\)/g;a.find=function(b,c,d,e){b=b.replace(g,"[data-"+(a.mobile.ns||"")+"$1]");return f.call(this,b,c,d,e)};a.extend(a.find,f);a.find.matches=function(b,c){return a.find(b,null,null,c)};a.find.matchesSelector=function(b,c){return a.find(c,null,null,[b]).length>0}})(jQuery,this)}) -\ No newline at end of file diff --git a/themes/zResponsive/css/responsive.css b/themes/zResponsive/css/responsive.css @@ -1,29 +0,0 @@ -html { - -webkit-text-size-adjust: none; -} -.video embed, -.video object, -.video iframe { - width: 100%; - height: auto; -} -img{ - max-width:100%; - height: auto; - width: auto\9; /* ie8 */ -} - -@media only screen and (min-width: 768px) and (max-width: 959px) { - nav{width:100%;} -} - -@media only screen and (max-width: 767px) { - header #logo, header #search-box{margin:0 auto; text-align:center;} - nav {width:100%;background:none;height:auto;} - nav ul li {float: none;background:#006699 url(../images/lines2.png);text-align:center; } - #content{background-color:#ffffff;} -} - -@media only screen and (min-width: 480px) and (max-width: 767px) { - -} -\ No newline at end of file diff --git a/themes/zResponsive/css/responsiveslides.css b/themes/zResponsive/css/responsiveslides.css @@ -1,159 +0,0 @@ -/*! http://responsiveslides.com v1.32 by @viljamis */ - -.rslides { - position: relative; - list-style: none; - overflow: hidden; - width: 100%; - padding: 0; - margin: 0; - } - -.rslides li { - position: absolute; - display: none; - width: 100%; - left: 0; - top: 0; - } - -.rslides li:first-child { - position: relative; - display: block; - float: left; - } - -.rslides img { - display: block; - height: auto; - float: left; - width: 100%; - border: 0; - } - - .rslides { - margin: 0 auto; - } - -.rslides_container { - - position: relative; - } - -.centered-btns_nav { - position: absolute; - -webkit-tap-highlight-color: rgba(0,0,0,0); - top: 50%; - left: 0; - opacity: 0.7; - text-indent: -9999px; - overflow: hidden; - text-decoration: none; - height: 61px; - width: 38px; - background: transparent url("../images/themes.gif") no-repeat left top; - margin-top: -45px; - } - -.centered-btns_nav:active { - opacity: 1.0; - } - -.centered-btns_nav.next { - left: auto; - background-position: right top; - right: 0; - } - -.transparent-btns_nav { - position: absolute; - -webkit-tap-highlight-color: rgba(0,0,0,0); - top: 0; - left: 0; - display: block; - background: #fff; /* Fix for IE6-9 */ - opacity: 0; - filter: alpha(opacity=1); - width: 48%; - text-indent: -9999px; - overflow: hidden; - height: 91%; - } - -.transparent-btns_nav.next { - left: auto; - right: 0; - } - -.large-btns_nav { - position: absolute; - -webkit-tap-highlight-color: rgba(0,0,0,0); - opacity: 0.6; - text-indent: -9999px; - overflow: hidden; - top: 0; - bottom: 0; - left: 0; - background: #000 url("../images/themes.gif") no-repeat left 50%; - width: 38px; - } - -.large-btns_nav:active { - opacity: 1.0; - } - -.large-btns_nav.next { - left: auto; - background-position: right 50%; - right: 0; - } - -.centered-btns_nav:focus, -.transparent-btns_nav:focus, -.large-btns_nav:focus { - outline: none; - } - -.centered-btns_tabs, -.transparent-btns_tabs, -.large-btns_tabs { - margin-top: 10px; - text-align: center; - } - -.centered-btns_tabs li, -.transparent-btns_tabs li, -.large-btns_tabs li { - display: inline; - float: none; - _float: left; - *float: left; - margin-right: 5px; - } - -.centered-btns_tabs a, -.transparent-btns_tabs a, -.large-btns_tabs a { - text-indent: -9999px; - overflow: hidden; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; - background: #ccc; - background: rgba(0,0,0, .2); - display: inline-block; - _display: block; - *display: block; - -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3); - -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3); - box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3); - width: 9px; - height: 9px; - } - -.centered-btns_here a, -.transparent-btns_here a, -.large-btns_here a { - background: #222; - background: rgba(0,0,0, .8); - } diff --git a/themes/zResponsive/css/style.css b/themes/zResponsive/css/style.css @@ -1,86 +0,0 @@ -/* -Free Basic Html5 Responsive Templates -Author: Kimmy -Author URI: http://www.zerotheme.com/ -*/ -/* ---------------------Reset----------------------- */ -a,abbr,acronym,address,applet,article,aside,audio,b,blockquote,big,body,center,canvas,caption,cite,code,command,datalist,dd,del,details,dfn,dl,div,dt,em,embed,fieldset,figcaption,figure,font,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,keygen,label,legend,li,meter,nav,object,ol,output,p,pre,progress,q,s,samp,section,small,span,source,strike,strong,sub,sup,table,tbody,tfoot,thead,th,tr,tdvideo,tt,u,ul,var{background:transparent;border:0 none;font-size:100%;margin:0;padding:0;border:0;outline:0;vertical-align:top;}ol, ul {list-style:none;}blockquote, q {quotes:none;}table, table td {padding:0;border:none;border-collapse:collapse;}img {vertical-align:top;}embed {vertical-align:top;} -article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {display:block;} -mark, rp, rt, ruby, summary, time {display:inline;} -input, textarea {border:0; padding:0; margin:0; outline: 0;} -iframe {border:0; margin:0; padding:0;} -input, textarea, select {margin:0; padding:0px;} - -/* -------------------------------------------- */ -/* ------------------Style---------------------- */ -/* -------------------------------------------- */ -html, body {width:100%; padding:0; margin:0;} -body {background-color: #E2E2E2;color: #292929;font: 14px/25px Arial, Helvetica, sans-serif;} - -/*-------------------------*/ -a{color: #006699;text-decoration: none;} -a:hover {text-decoration: none;} - -a.button, input.button { cursor: pointer; color: #808080; line-height: 12px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; background: #E4E4E4; border:1px solid #DFDFDF;} -a.button { display: inline-block; text-decoration: none; padding: 6px 12px 6px 12px;} -input.button { margin: 0; border: 0; height: 24px; padding: 0px 12px 0px 12px;} -a.button:hover, input.button:hover {background: #006699;color:#ffffff;} - -/*-------------header */ -header {height: 145px;width:100%; background:url('../images/bg-header.png') repeat-x;margin-bottom:15px;} - -header #logo {margin-top:20px;} - -header #search-box {position: relative;width: 300px;margin-top:30px;} -header #search-form {height: 25px;border: 1px solid #999;background-color: #fff;overflow: hidden;} -header #search-text {font-size: 14px;color: #ddd;background: transparent;} -header #search-box input[type="text"] {width: 80%;padding: 5px 0 5px 1em;color: #333;outline: none;} -header #search-button {position: absolute;top: 0;right: 0;height: 27px;width: 80px;font-size: 14px;color: #fff;text-align: center;line-height: 26px;background-color: #999;cursor: pointer;border:0px;} - -/*------------menu */ -nav {width:960px;height: 37px;margin: 0 auto 15px auto;background:#006699 url(../images/lines2.png);} -nav ul {list-style: none;margin: 0;padding: 0;} -nav ul li {position: relative;float: left;padding: 6px 5px 0px 5px} -nav ul li:hover {background: #006699 url('../images/lines.png');} -nav ul li a {font-size: 13px; line-height:14px;color: #ffffff;display: block;padding: 6px 10px 6px 10px;margin-bottom: 5px;z-index: 6;position: relative;font-weight:bold;} -nav ul li:hover a{} - -/*-------------content */ -#content {} - -.block {padding: 10px 0px;background:#ffffff;} - -.main-content{} -.main-content article{margin: 20px 0;overflow:hidden; position:relative} -.main-content .heading h2{ font-size:20px; line-height:25px; letter-spacing:-1px; font-weight:bold;} -.main-content .heading .info{font-size:12px; font-style:italic;} -.main-content .content{} -.main-content .content img{float:left; margin:3px 30px 0px 0; border:#BDBDBD 5px solid;} -.main-content .footer{} -.main-content .footer .more{float:right;} -.main-content .footer .more a{ text-decoration:none;} - -.sidebar section{margin-bottom: 20px;} -.sidebar .heading{color:#ffffff; background:#006699 url('../images/boxtitle.png') no-repeat left center; font-size:22px; font-weight:normal; padding: 10px 10px 10px 50px;} -.sidebar .content{padding:15px;} -.sidebar .content img{float:left; margin:5px; border:#BDBDBD 5px solid;} - -.featured{width:100%; margin-bottom: 20px;} - -ul {margin:0; padding:0;list-style-image:none;} -ul.list li {padding:0px 0 5px 12px; line-height:25px; background:url(../images/marker-1.gif) 0 11px no-repeat;} -ul.list li a { font-size:14px; color:#292929; line-height:25px;} -ul.list li a:hover {color:#006699; text-decoration:none;} - -/*------------footer */ -footer {padding: 20px 10px; background:#3F3F3F;margin-top:15px;} -footer .heading{ color:#ffffff; padding-bottom:5px;font-size:20px; font-weight:normal; text-transform:uppercase;} -footer .content{color:#ffffff;} -footer .content img{float:left; margin:5px; border:#ffffff 5px solid;} -footer ul {margin:0; padding:0;list-style-image:none;} -footer ul li { list-style:circle;margin-left:20px;} -footer ul li a { font-size:14px; color:#ffffff;} -footer ul li a:hover {color:#006699; text-decoration:none; cursor:pointer;} - -/*-------------copyright*/ -#copyright{display:inline-block; width:100%; text-align: center; background:url(../images/bg-footer.png);padding:8px 0px;color:#ffffff;} -\ No newline at end of file diff --git a/themes/zResponsive/css/zerogrid.css b/themes/zResponsive/css/zerogrid.css @@ -1,233 +0,0 @@ -/* -* Zerogrid V1.0 -* Copyright 2012, Kimmy | wwww.zerotheme.com -*/ - - -/*--------------Table of Contents - #Base 960 Grid - #Tablet (Portrait) - #Mobile (Portrait) - #Mobile (Landscape) -*/ -/*--------------Base 960 Grid*/ - - .zerogrid { position: relative; width: 960px; margin: 0 auto; padding: 0;} - .zerogrid .row { margin-bottom: 10px;} - - .zerogrid .offleft { margin-left: 0px!important;} - .zerogrid .offright { margin-right: 0px!important;} - .zerogrid .offtop { margin-top: 0px!important;} - .zerogrid .offbottom { margin-bottom: 0px!important;} - - - .zerogrid .col01,.zerogrid .col02,.zerogrid .col03,.zerogrid .col04,.zerogrid .col05,.zerogrid .col06,.zerogrid .col07,.zerogrid .col08, - .zerogrid .col09,.zerogrid .col10,.zerogrid .col11,.zerogrid .col12,.zerogrid .col13 ,.zerogrid .col14,.zerogrid .col15 ,.zerogrid .col16, - .zerogrid .col-1-3,.zerogrid .col-2-3 { float: left; display: inline; margin:10px;} - - /* Base Grid */ - .zerogrid .col01 { width: 40px; } - .zerogrid .col02 { width: 100px; } - .zerogrid .col03 { width: 160px; } - .zerogrid .col04 { width: 220px; } - .zerogrid .col05 { width: 280px; } - .zerogrid .col06 { width: 340px; } - .zerogrid .col07 { width: 400px; } - .zerogrid .col08 { width: 460px; } - .zerogrid .col09 { width: 520px; } - .zerogrid .col10 { width: 580px; } - .zerogrid .col11 { width: 640px; } - .zerogrid .col12 { width: 700px; } - .zerogrid .col13 { width: 760px; } - .zerogrid .col14 { width: 820px; } - .zerogrid .col15 { width: 880px; } - .zerogrid .col16 { width: 940px; } - - .zerogrid .col-1-3 { width: 300px; } - .zerogrid .col-2-3 { width: 620px; } - - /* Offsets */ - .zerogrid .offset01 { margin-left: 60px; } - .zerogrid .offset02 { margin-left: 120px; } - .zerogrid .offset03 { margin-left: 180px; } - .zerogrid .offset04 { margin-left: 240px; } - .zerogrid .offset05 { margin-left: 300px; } - .zerogrid .offset06 { margin-left: 360px; } - .zerogrid .offset07 { margin-left: 420px; } - .zerogrid .offset08 { margin-left: 480px; } - .zerogrid .offset09 { margin-left: 540px; } - .zerogrid .offset10 { margin-left: 600px; } - .zerogrid .offset11 { margin-left: 660px; } - .zerogrid .offset12 { margin-left: 720px; } - .zerogrid .offset13 { margin-left: 780px; } - .zerogrid .offset14 { margin-left: 840px; } - .zerogrid .offset15 { margin-left: 900px; } - - - -/*--------------Tablet (Portrait)*/ - - /* Note: Design for a width of 768px */ - - @media only screen and (min-width: 768px) and (max-width: 959px) { - .zerogrid { width: 768px; } - - .zerogrid .col01,.zerogrid .col02,.zerogrid .col03,.zerogrid .col04,.zerogrid .col05,.zerogrid .col06,.zerogrid .col07,.zerogrid .col08, - .zerogrid .col09,.zerogrid .col10,.zerogrid .col11,.zerogrid .col12,.zerogrid .col13 ,.zerogrid .col14,.zerogrid .col15 ,.zerogrid .col16, - .zerogrid .col-1-3,.zerogrid .col-2-3 { margin: 10px; } - - .zerogrid .col01 { width: 28px; } - .zerogrid .col02 { width: 76px; } - .zerogrid .col03 { width: 124px; } - .zerogrid .col04 { width: 172px; } - .zerogrid .col05 { width: 220px; } - .zerogrid .col06 { width: 268px; } - .zerogrid .col07 { width: 316px; } - .zerogrid .col08 { width: 364px; } - .zerogrid .col09 { width: 412px; } - .zerogrid .col10 { width: 460px; } - .zerogrid .col11 { width: 508px; } - .zerogrid .col12 { width: 556px; } - .zerogrid .col13 { width: 604px; } - .zerogrid .col14 { width: 652px; } - .zerogrid .col15 { width: 700px; } - .zerogrid .col16 { width: 748px; } - - .zerogrid .col-1-3 { width: 236px; } - .zerogrid .col-2-3 { width: 492px; } - - /* Offsets */ - .zerogrid .offset01 { margin-left: 48px; } - .zerogrid .offset02 { margin-left: 96px; } - .zerogrid .offset03 { margin-left: 144px; } - .zerogrid .offset04 { margin-left: 192px; } - .zerogrid .offset05 { margin-left: 240px; } - .zerogrid .offset06 { margin-left: 288px; } - .zerogrid .offset07 { margin-left: 336px; } - .zerogrid .offset08 { margin-left: 384px; } - .zerogrid .offset09 { margin-left: 432px; } - .zerogrid .offset10 { margin-left: 480px; } - .zerogrid .offset11 { margin-left: 528px; } - .zerogrid .offset12 { margin-left: 576px; } - .zerogrid .offset13 { margin-left: 624px; } - .zerogrid .offset14 { margin-left: 672px; } - .zerogrid .offset15 { margin-left: 720px; } - } - - -/*--------------Mobile (Portrait)*/ - - /* Note: Design for a width of 320px */ - - @media only screen and (max-width: 767px) { - .zerogrid { width: 300px; } - - .zerogrid .col01,.zerogrid .col02,.zerogrid .col03,.zerogrid .col04,.zerogrid .col05,.zerogrid .col06,.zerogrid .col07,.zerogrid .col08, - .zerogrid .col09,.zerogrid .col10,.zerogrid .col11,.zerogrid .col12,.zerogrid .col13 ,.zerogrid .col14,.zerogrid .col15 ,.zerogrid .col16, - .zerogrid .col-1-3,.zerogrid .col-2-3 {margin: 10px 0; } - - .zerogrid .col01, - .zerogrid .col02, - .zerogrid .col03, - .zerogrid .col04, - .zerogrid .col05, - .zerogrid .col06, - .zerogrid .col07, - .zerogrid .col08, - .zerogrid .col09, - .zerogrid .col10, - .zerogrid .col11, - .zerogrid .col12, - .zerogrid .col13, - .zerogrid .col14, - .zerogrid .col15, - .zerogrid .col16, - .zerogrid .col-1-3, - .zerogrid .col-2-3 { width: 300px; } - - /* Offsets */ - .zerogrid .offset01, - .zerogrid .offset02, - .zerogrid .offset03, - .zerogrid .offset04, - .zerogrid .offset05, - .zerogrid .offset06, - .zerogrid .offset07, - .zerogrid .offset08, - .zerogrid .offset09, - .zerogrid .offset10, - .zerogrid .offset11, - .zerogrid .offset12, - .zerogrid .offset13, - .zerogrid .offset14, - .zerogrid .offset15 { margin-left: 0; } - - } - - -/*--------------Mobile (Landscape)*/ - - /* Note: Design for a width of 480px */ - - @media only screen and (min-width: 480px) and (max-width: 767px) { - .zerogrid { width: 420px; } - - .zerogrid .col01,.zerogrid .col02,.zerogrid .col03,.zerogrid .col04,.zerogrid .col05,.zerogrid .col06,.zerogrid .col07,.zerogrid .col08, - .zerogrid .col09,.zerogrid .col10,.zerogrid .col11,.zerogrid .col12,.zerogrid .col13 ,.zerogrid .col14,.zerogrid .col15 ,.zerogrid .col16, - .zerogrid .col-1-3,.zerogrid .col-2-3 {margin: 10px 0; } - - .zerogrid .col01, - .zerogrid .col02, - .zerogrid .col03, - .zerogrid .col04, - .zerogrid .col05, - .zerogrid .col06, - .zerogrid .col07, - .zerogrid .col08, - .zerogrid .col09, - .zerogrid .col10, - .zerogrid .col11, - .zerogrid .col12, - .zerogrid .col13, - .zerogrid .col14, - .zerogrid .col15, - .zerogrid .col16, - .zerogrid .col-1-3, - .zerogrid .col-2-3 { width: 420px; } - } - - -/* #Clearing -================================================== */ - -/* Self Clearing Goodness */ -.zerogrid:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; } - -/* Use clearfix class on parent to clear nested columns, -or wrap each row of columns in a <div class="row"> */ -.clearfix:before, -.clearfix:after, -.row:before, -.row:after { - content: '\0020'; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; } -.row:after, -.clearfix:after { - clear: both; } -.row, -.clearfix { - zoom: 1; } - -/* You can also use a <br class="clear" /> to clear columns */ -.clear { - clear: both; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; -} diff --git a/themes/zResponsive/images/1.jpg b/themes/zResponsive/images/1.jpg Binary files differ. diff --git a/themes/zResponsive/images/2.jpg b/themes/zResponsive/images/2.jpg Binary files differ. diff --git a/themes/zResponsive/images/3.jpg b/themes/zResponsive/images/3.jpg Binary files differ. diff --git a/themes/zResponsive/images/4.jpg b/themes/zResponsive/images/4.jpg Binary files differ. diff --git a/themes/zResponsive/images/bg-footer.png b/themes/zResponsive/images/bg-footer.png Binary files differ. diff --git a/themes/zResponsive/images/bg-header.png b/themes/zResponsive/images/bg-header.png Binary files differ. diff --git a/themes/zResponsive/images/boxtitle.png b/themes/zResponsive/images/boxtitle.png Binary files differ. diff --git a/themes/zResponsive/images/button-search.png b/themes/zResponsive/images/button-search.png Binary files differ. diff --git a/themes/zResponsive/images/favicon.ico b/themes/zResponsive/images/favicon.ico Binary files differ. diff --git a/themes/zResponsive/images/lines.png b/themes/zResponsive/images/lines.png Binary files differ. diff --git a/themes/zResponsive/images/lines2.png b/themes/zResponsive/images/lines2.png Binary files differ. diff --git a/themes/zResponsive/images/logo.png b/themes/zResponsive/images/logo.png Binary files differ. diff --git a/themes/zResponsive/images/marker-1.gif b/themes/zResponsive/images/marker-1.gif Binary files differ. diff --git a/themes/zResponsive/images/themes.gif b/themes/zResponsive/images/themes.gif Binary files differ. diff --git a/themes/zResponsive/images/thumb1.jpg b/themes/zResponsive/images/thumb1.jpg Binary files differ. diff --git a/themes/zResponsive/images/thumb2.jpg b/themes/zResponsive/images/thumb2.jpg Binary files differ. diff --git a/themes/zResponsive/images/thumb3.jpg b/themes/zResponsive/images/thumb3.jpg Binary files differ. diff --git a/themes/zResponsive/images/thumb4.jpg b/themes/zResponsive/images/thumb4.jpg Binary files differ. diff --git a/themes/zResponsive/images/thumb5.jpg b/themes/zResponsive/images/thumb5.jpg Binary files differ. diff --git a/themes/zResponsive/images/thumb6.jpg b/themes/zResponsive/images/thumb6.jpg Binary files differ. diff --git a/themes/zResponsive/index.php b/themes/zResponsive/index.php @@ -1,249 +0,0 @@ -<!DOCTYPE html> -<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> -<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> -<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> -<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> -<head> - - <!-- Basic Page Needs - ================================================== --> - <meta charset="utf-8"> - <title>zResponsive Free Html5 Responsive Template</title> - <meta name="description" content="Free Html5 Templates and Free Responsive Themes Designed by Kimmy | zerotheme.com"> - <meta name="author" content="www.zerotheme.com"> - - <!-- Mobile Specific Metas - ================================================== --> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> - - <!-- CSS - ================================================== --> - <link rel="stylesheet" href="css/zerogrid.css"> - <link rel="stylesheet" href="css/style.css"> - <link rel="stylesheet" href="css/responsive.css"> - <link rel="stylesheet" href="css/responsiveslides.css" /> - - <!--[if lt IE 8]> - <div style=' clear: both; text-align:center; position: relative;'> - <a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode"> - <img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." /> - </a> - </div> - <![endif]--> - <!--[if lt IE 9]> - <script src="js/html5.js"></script> - <script src="js/css3-mediaqueries.js"></script> - <![endif]--> - - <link href='./images/favicon.ico' rel='icon' type='image/x-icon'/> - - <script src="js/jquery.min.js"></script> - <script src="js/responsiveslides.js"></script> - <script> - $(function () { - $("#slider").responsiveSlides({ - auto: true, - pager: true, - nav: true, - speed: 500, - maxwidth: 800, - namespace: "centered-btns" - }); - }); - </script> - -</head> -<body> -<!--------------Header---------------> -<header> - <div class="zerogrid"> - <div class="row"> - <div class="col05"> - <div id="logo"><a href=""><img src="./images/logo.png"/></a></div> - </div> - <div class="col06 offset05"> - <div id='search-box'> - <form action='' id='search-form' method='get' target='_top'> - <input id='search-text' name='q' placeholder='type here' type='text'/> - <button id='search-button' type='submit'><span>Search</span></button> - </form> - </div> - </div> - </div> - </div> -</header> - -<!--------------Navigation---------------> - -<nav> - <ul> - <li><a href="#">Home</a></li> - <li><a href="#">Blog</a></li> - <li><a href="#">Gallery</a></li> - <li><a href="#">Contact</a></li> - <li><a href="#">About</a></li> - </ul> -</nav> - - -<!--------------Content---------------> -<section id="content"> - <div class="zerogrid"> - <div class="row block"> - <div class="main-content col11"> - - <div class="rslides_container"> - <ul class="rslides" id="slider"> - <li><img src="images/1.jpg"/></li> - <li><img src="images/2.jpg"/></li> - <li><img src="images/3.jpg"/></li> - <li><img src="images/4.jpg"/></li> - </ul> - </div> - - <article> - <div class="heading"> - <h2><a href="#">Sample post with, links, paragraphs and comments</a></h2> - <p class="info">>>> Posted by Admin - 01/01/2012 - 0 Comments</p> - </div> - <div class="content"> - <img src="images/thumb1.jpg"/> - <p>Nulla facilisi. Ut fringilla. Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet. Vestibulum sapien. Proin quam. Etiam ultrices. Suspendisse in justo eu magna luctus suscipit.Nulla facilisi. Ut fringilla. Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet. Vestibulum sapien. Proin quam. Etiam ultrices. Suspendisse in justo eu magna luctus suscipit.</p> - </div> - <div class="footer"> - <p class="more"><a class="button" href="#">Read more >></a></p> - </div> - </article> - <article> - <div class="heading"> - <h2><a href="#">This is Just Going To Be Another Test Post</a></h2> - <p class="info">>>> Posted by Admin - 01/01/2012 - 0 Comments</p> - </div> - <div class="content"> - <img src="images/thumb2.jpg"/> - <p>Lorem ipsum eu usu assum liberavisse, ut munere praesent complectitur mea. Sit an option maiorum principes. Ne per probo magna idque, est veniam exerci appareat no. Sit at amet propriae intellegebat, natum iusto forensibus duo ut. Pro hinc aperiri fabulas ut, probo tractatos euripidis an vis, ignota oblique ut nec. Ad ius munere soluta deterruisset, quot veri id vim, te vel bonorum ornatus persequeris. Sea stet iudico cetero cu, ut mei ferri mnesarchum, at duo enim vivendum abhorreant. Usu eruditi veritus vivendo ut, ut cibo lucilius inciderint eam, ne hinc discere explicari sea. Nam iusto delicata ne, eam dolore singulis maiestatis ex. Cu eruditi dolorem accusam pri, ea vidisse aliquip forensibus eam, ut erant labore fastidii has. Cum quod saepe periculis ea, eos iuvaret maiorum moderatius eu, pro ferri scaevola mnesarchum ut.</p> - </div> - <div class="footer"> - <p class="more"><a class="button" href="#">Read more >></a></p> - </div> - </article> - <article> - <div class="heading"> - <h2><a href="#">This Is Going To Be A Decent Length Title With Little Text</a></h2> - <p class="info">>>> Posted by Admin - 01/01/2012 - 0 Comments</p> - </div> - <div class="content"> - <img src="images/thumb3.jpg"/> - <p>Lorem ipsum no has veniam elaboraret constituam, ne nibh posidonium vel. Has ad quaeque omittantur, malis abhorreant eam no, qui cu minim placerat definitionem. Et sonet ludus apeirian mei, ut tibique corpora posidonium vis, iusto nominavi prodesset in pro. Ad mea omnes aliquando, idque democritum incorrupte at sed, nostrud feugiat consetetur duo in. Aeque reformidans ex quo, facilisis appellantur ea mei. Illud scaevola pertinacia mel ad, est ex tractatos aliquando, cibo eloquentiam ea per. Cibo quas assum mel an, mel partiendo adipiscing quaerendum ne, dictas iisque ad usu. Invenire delicata sit at, ad est mollis civibus corrumpit. Ne has delenit eligendi splendide, harum numquam epicuri quo ea, sed verear aliquando consequuntur eu. Ad mea mucius expetenda liberavisse, mei ea assentior dissentiunt, delectus antiopam disputando vel ad. Ad pro erat quaeque suscipiantur, vis alia pertinacia at, ei duo zzril tibique necessitatibus. Tritani reprehendunt et vel, et habeo viderer eruditi eos, ornatus pertinax periculis mel ea.</p> - </div> - <div class="footer"> - <p class="more"><a class="button" href="#">Read more >></a></p> - </div> - </article> - </div> - - <div class="sidebar col05"> - <section> - <div class="heading">About us</div> - <div class="content"> - Free Basic Html5 Templates created by <a href="http://www.zerotheme.com">Zerotheme</a>. You can use and modify the template for both personal and commercial use. You must keep all copyright information and credit links in the template and associated files. - </div> - </section> - <section> - <div class="heading">Categories</div> - <div class="content"> - <ul class="list"> - <li><a href="http://www.zerotheme.com">Free Html5 Templates</a></li> - <li><a href="http://www.zerotheme.com">Free Css3 Templates</a></li> - <li><a href="http://www.zerotheme.com">Free Responsive Html5 Templates</a></li> - <li><a href="http://www.zerotheme.com">Free Basic Html5 Templates</a></li> - <li><a href="http://www.zerotheme.com">Free Layout Html5 Templates</a></li> - </ul> - </div> - </section> - <section> - <div class="heading">Links List</div> - <div class="content"> - <ul class="list"> - <li><a href="#">Free html5 templates</a></li> - <li><a href="#">Free css3 menus</a></li> - <li><a href="#">Free responsive html5 themes</a></li> - <li><a href="#">Free onepage html5 themes</a></li> - <li><a href="#">Free animated html5 themes</a></li> - </ul> - </div> - </section> - <section> - <div class="heading">Popular Post</div> - <div class="content"> - <section> - <img src="images/thumb4.jpg"/> - <h4><a href="#">Sample post with, links, paragraphs and comments</a></h4> - <p>Nulla facilisi. Ut fringilla. Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet. Vestibulum sapien. Proin quam. Etiam ultrices.</p> - </section> - <section> - <img src="images/thumb5.jpg"/> - <h4><a href="#">This is Just Going To Be Another Test Post</a></h4> - <p>Nulla facilisi. Ut fringilla. Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet. Vestibulum sapien. Proin quam. Etiam ultrices.</p> - </section> - <section> - <img src="images/thumb6.jpg"/> - <h4><a href="#">This Is Going To Be A Decent Length Title With Little Text</a></h4> - <p>Nulla facilisi. Ut fringilla. Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet. Vestibulum sapien. Proin quam. Etiam ultrices.</p> - </section> - </div> - </section> - </div> - - </div> - </div> -</section> -<!--------------Footer---------------> -<footer> - <div class="zerogrid"> - <div class="row"> - <section class="col-1-3"> - <div class="heading">About us</div> - <div class="content"> - Free Basic Html5 Templates created by <a href="http://www.zerotheme.com">Zerotheme</a>. You can use and modify the template for both personal and commercial use. You must keep all copyright information and credit links in the template and associated files. - </div> - </section> - <section class="col-1-3"> - <div class="heading">Categories</div> - <div class="content"> - <ul> - <li><a href="http://www.zerotheme.com">Free Html5 Templates</a></li> - <li><a href="http://www.zerotheme.com">Free Css3 Templates</a></li> - <li><a href="http://www.zerotheme.com">Free Responsive Html5 Templates</a></li> - <li><a href="http://www.zerotheme.com">Free Basic Html5 Templates</a></li> - <li><a href="http://www.zerotheme.com">Free Layout Html5 Templates</a></li> - </ul> - </div> - </section> - <section class="col-1-3"> - <div class="heading">Featured Post</div> - <div class="content"> - <table border="0px"> - <tr> - <td><img src="images/thumb4.jpg"/></td> - <td><img src="images/thumb5.jpg"/></td> - <td><img src="images/thumb6.jpg"/></td> - </tr> - <tr> - <td><img src="images/thumb6.jpg"/></td> - <td><img src="images/thumb5.jpg"/></td> - <td><img src="images/thumb4.jpg"/></td> - </tr> - </table> - </div> - </section> - </div> - </div> -</footer> - -<div id="copyright"> - <p>Copyright © 2012 - Domain Name</p> - <p><a href="http://www.zerotheme.com/432/free-responsive-html5-css3-website-templates.html" target="_blank">Free Responsive Html5 Templates</a> by <a href="http://www.zerotheme.com" target="_blank">Zerotheme.com</a></p> -</div> - -</body></html> -\ No newline at end of file diff --git a/themes/zResponsive/js/css3-mediaqueries.js b/themes/zResponsive/js/css3-mediaqueries.js @@ -1,779 +0,0 @@ -if(typeof Object.create!=="function"){ -Object.create=function(o){ -function F(){ -}; -F.prototype=o; -return new F(); -}; -} -var ua={toString:function(){ -return navigator.userAgent; -},test:function(s){ -return this.toString().toLowerCase().indexOf(s.toLowerCase())>-1; -}}; -ua.version=(ua.toString().toLowerCase().match(/[\s\S]+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1]; -ua.webkit=ua.test("webkit"); -ua.gecko=ua.test("gecko")&&!ua.webkit; -ua.opera=ua.test("opera"); -ua.ie=ua.test("msie")&&!ua.opera; -ua.ie6=ua.ie&&document.compatMode&&typeof document.documentElement.style.maxHeight==="undefined"; -ua.ie7=ua.ie&&document.documentElement&&typeof document.documentElement.style.maxHeight!=="undefined"&&typeof XDomainRequest==="undefined"; -ua.ie8=ua.ie&&typeof XDomainRequest!=="undefined"; -var domReady=function(){ -var _1=[]; -var _2=function(){ -if(!arguments.callee.done){ -arguments.callee.done=true; -for(var i=0;i<_1.length;i++){ -_1[i](); -} -} -}; -if(document.addEventListener){ -document.addEventListener("DOMContentLoaded",_2,false); -} -if(ua.ie){ -(function(){ -try{ -document.documentElement.doScroll("left"); -} -catch(e){ -setTimeout(arguments.callee,50); -return; -} -_2(); -})(); -document.onreadystatechange=function(){ -if(document.readyState==="complete"){ -document.onreadystatechange=null; -_2(); -} -}; -} -if(ua.webkit&&document.readyState){ -(function(){ -if(document.readyState!=="loading"){ -_2(); -}else{ -setTimeout(arguments.callee,10); -} -})(); -} -window.onload=_2; -return function(fn){ -if(typeof fn==="function"){ -_1[_1.length]=fn; -} -return fn; -}; -}(); -var cssHelper=function(){ -var _3={BLOCKS:/[^\s{][^{]*\{(?:[^{}]*\{[^{}]*\}[^{}]*|[^{}]*)*\}/g,BLOCKS_INSIDE:/[^\s{][^{]*\{[^{}]*\}/g,DECLARATIONS:/[a-zA-Z\-]+[^;]*:[^;]+;/g,RELATIVE_URLS:/url\(['"]?([^\/\)'"][^:\)'"]+)['"]?\)/g,REDUNDANT_COMPONENTS:/(?:\/\*([^*\\\\]|\*(?!\/))+\*\/|@import[^;]+;)/g,REDUNDANT_WHITESPACE:/\s*(,|:|;|\{|\})\s*/g,MORE_WHITESPACE:/\s{2,}/g,FINAL_SEMICOLONS:/;\}/g,NOT_WHITESPACE:/\S+/g}; -var _4,_5=false; -var _6=[]; -var _7=function(fn){ -if(typeof fn==="function"){ -_6[_6.length]=fn; -} -}; -var _8=function(){ -for(var i=0;i<_6.length;i++){ -_6[i](_4); -} -}; -var _9={}; -var _a=function(n,v){ -if(_9[n]){ -var _b=_9[n].listeners; -if(_b){ -for(var i=0;i<_b.length;i++){ -_b[i](v); -} -} -} -}; -var _c=function(_d,_e,_f){ -if(ua.ie&&!window.XMLHttpRequest){ -window.XMLHttpRequest=function(){ -return new ActiveXObject("Microsoft.XMLHTTP"); -}; -} -if(!XMLHttpRequest){ -return ""; -} -var r=new XMLHttpRequest(); -try{ -r.open("get",_d,true); -r.setRequestHeader("X_REQUESTED_WITH","XMLHttpRequest"); -} -catch(e){ -_f(); -return; -} -var _10=false; -setTimeout(function(){ -_10=true; -},5000); -document.documentElement.style.cursor="progress"; -r.onreadystatechange=function(){ -if(r.readyState===4&&!_10){ -if(!r.status&&location.protocol==="file:"||(r.status>=200&&r.status<300)||r.status===304||navigator.userAgent.indexOf("Safari")>-1&&typeof r.status==="undefined"){ -_e(r.responseText); -}else{ -_f(); -} -document.documentElement.style.cursor=""; -r=null; -} -}; -r.send(""); -}; -var _11=function(_12){ -_12=_12.replace(_3.REDUNDANT_COMPONENTS,""); -_12=_12.replace(_3.REDUNDANT_WHITESPACE,"$1"); -_12=_12.replace(_3.MORE_WHITESPACE," "); -_12=_12.replace(_3.FINAL_SEMICOLONS,"}"); -return _12; -}; -var _13={mediaQueryList:function(s){ -var o={}; -var idx=s.indexOf("{"); -var lt=s.substring(0,idx); -s=s.substring(idx+1,s.length-1); -var mqs=[],rs=[]; -var qts=lt.toLowerCase().substring(7).split(","); -for(var i=0;i<qts.length;i++){ -mqs[mqs.length]=_13.mediaQuery(qts[i],o); -} -var rts=s.match(_3.BLOCKS_INSIDE); -if(rts!==null){ -for(i=0;i<rts.length;i++){ -rs[rs.length]=_13.rule(rts[i],o); -} -} -o.getMediaQueries=function(){ -return mqs; -}; -o.getRules=function(){ -return rs; -}; -o.getListText=function(){ -return lt; -}; -o.getCssText=function(){ -return s; -}; -return o; -},mediaQuery:function(s,mql){ -s=s||""; -var not=false,_14; -var exp=[]; -var _15=true; -var _16=s.match(_3.NOT_WHITESPACE); -for(var i=0;i<_16.length;i++){ -var _17=_16[i]; -if(!_14&&(_17==="not"||_17==="only")){ -if(_17==="not"){ -not=true; -} -}else{ -if(!_14){ -_14=_17; -}else{ -if(_17.charAt(0)==="("){ -var _18=_17.substring(1,_17.length-1).split(":"); -exp[exp.length]={mediaFeature:_18[0],value:_18[1]||null}; -} -} -} -} -return {getList:function(){ -return mql||null; -},getValid:function(){ -return _15; -},getNot:function(){ -return not; -},getMediaType:function(){ -return _14; -},getExpressions:function(){ -return exp; -}}; -},rule:function(s,mql){ -var o={}; -var idx=s.indexOf("{"); -var st=s.substring(0,idx); -var ss=st.split(","); -var ds=[]; -var dts=s.substring(idx+1,s.length-1).split(";"); -for(var i=0;i<dts.length;i++){ -ds[ds.length]=_13.declaration(dts[i],o); -} -o.getMediaQueryList=function(){ -return mql||null; -}; -o.getSelectors=function(){ -return ss; -}; -o.getSelectorText=function(){ -return st; -}; -o.getDeclarations=function(){ -return ds; -}; -o.getPropertyValue=function(n){ -for(var i=0;i<ds.length;i++){ -if(ds[i].getProperty()===n){ -return ds[i].getValue(); -} -} -return null; -}; -return o; -},declaration:function(s,r){ -var idx=s.indexOf(":"); -var p=s.substring(0,idx); -var v=s.substring(idx+1); -return {getRule:function(){ -return r||null; -},getProperty:function(){ -return p; -},getValue:function(){ -return v; -}}; -}}; -var _19=function(el){ -if(typeof el.cssHelperText!=="string"){ -return; -} -var o={mediaQueryLists:[],rules:[],selectors:{},declarations:[],properties:{}}; -var _1a=o.mediaQueryLists; -var ors=o.rules; -var _1b=el.cssHelperText.match(_3.BLOCKS); -if(_1b!==null){ -for(var i=0;i<_1b.length;i++){ -if(_1b[i].substring(0,7)==="@media "){ -_1a[_1a.length]=_13.mediaQueryList(_1b[i]); -ors=o.rules=ors.concat(_1a[_1a.length-1].getRules()); -}else{ -ors[ors.length]=_13.rule(_1b[i]); -} -} -} -var oss=o.selectors; -var _1c=function(r){ -var ss=r.getSelectors(); -for(var i=0;i<ss.length;i++){ -var n=ss[i]; -if(!oss[n]){ -oss[n]=[]; -} -oss[n][oss[n].length]=r; -} -}; -for(i=0;i<ors.length;i++){ -_1c(ors[i]); -} -var ods=o.declarations; -for(i=0;i<ors.length;i++){ -ods=o.declarations=ods.concat(ors[i].getDeclarations()); -} -var ops=o.properties; -for(i=0;i<ods.length;i++){ -var n=ods[i].getProperty(); -if(!ops[n]){ -ops[n]=[]; -} -ops[n][ops[n].length]=ods[i]; -} -el.cssHelperParsed=o; -_4[_4.length]=el; -return o; -}; -var _1d=function(el,s){ -el.cssHelperText=_11(s||el.innerHTML); -return _19(el); -}; -var _1e=function(){ -_5=true; -_4=[]; -var _1f=[]; -var _20=function(){ -for(var i=0;i<_1f.length;i++){ -_19(_1f[i]); -} -var _21=document.getElementsByTagName("style"); -for(i=0;i<_21.length;i++){ -_1d(_21[i]); -} -_5=false; -_8(); -}; -var _22=document.getElementsByTagName("link"); -for(var i=0;i<_22.length;i++){ -var _23=_22[i]; -if(_23.getAttribute("rel").indexOf("style")>-1&&_23.href&&_23.href.length!==0&&!_23.disabled){ -_1f[_1f.length]=_23; -} -} -if(_1f.length>0){ -var c=0; -var _24=function(){ -c++; -if(c===_1f.length){ -_20(); -} -}; -var _25=function(_26){ -var _27=_26.href; -_c(_27,function(_28){ -_28=_11(_28).replace(_3.RELATIVE_URLS,"url("+_27.substring(0,_27.lastIndexOf("/"))+"/$1)"); -_26.cssHelperText=_28; -_24(); -},_24); -}; -for(i=0;i<_1f.length;i++){ -_25(_1f[i]); -} -}else{ -_20(); -} -}; -var _29={mediaQueryLists:"array",rules:"array",selectors:"object",declarations:"array",properties:"object"}; -var _2a={mediaQueryLists:null,rules:null,selectors:null,declarations:null,properties:null}; -var _2b=function(_2c,v){ -if(_2a[_2c]!==null){ -if(_29[_2c]==="array"){ -return (_2a[_2c]=_2a[_2c].concat(v)); -}else{ -var c=_2a[_2c]; -for(var n in v){ -if(v.hasOwnProperty(n)){ -if(!c[n]){ -c[n]=v[n]; -}else{ -c[n]=c[n].concat(v[n]); -} -} -} -return c; -} -} -}; -var _2d=function(_2e){ -_2a[_2e]=(_29[_2e]==="array")?[]:{}; -for(var i=0;i<_4.length;i++){ -_2b(_2e,_4[i].cssHelperParsed[_2e]); -} -return _2a[_2e]; -}; -domReady(function(){ -var els=document.body.getElementsByTagName("*"); -for(var i=0;i<els.length;i++){ -els[i].checkedByCssHelper=true; -} -if(document.implementation.hasFeature("MutationEvents","2.0")||window.MutationEvent){ -document.body.addEventListener("DOMNodeInserted",function(e){ -var el=e.target; -if(el.nodeType===1){ -_a("DOMElementInserted",el); -el.checkedByCssHelper=true; -} -},false); -}else{ -setInterval(function(){ -var els=document.body.getElementsByTagName("*"); -for(var i=0;i<els.length;i++){ -if(!els[i].checkedByCssHelper){ -_a("DOMElementInserted",els[i]); -els[i].checkedByCssHelper=true; -} -} -},1000); -} -}); -var _2f=function(d){ -if(typeof window.innerWidth!="undefined"){ -return window["inner"+d]; -}else{ -if(typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0){ -return document.documentElement["client"+d]; -} -} -}; -return {addStyle:function(s,_30){ -var el=document.createElement("style"); -el.setAttribute("type","text/css"); -document.getElementsByTagName("head")[0].appendChild(el); -if(el.styleSheet){ -el.styleSheet.cssText=s; -}else{ -el.appendChild(document.createTextNode(s)); -} -el.addedWithCssHelper=true; -if(typeof _30==="undefined"||_30===true){ -cssHelper.parsed(function(_31){ -var o=_1d(el,s); -for(var n in o){ -if(o.hasOwnProperty(n)){ -_2b(n,o[n]); -} -} -_a("newStyleParsed",el); -}); -}else{ -el.parsingDisallowed=true; -} -return el; -},removeStyle:function(el){ -return el.parentNode.removeChild(el); -},parsed:function(fn){ -if(_5){ -_7(fn); -}else{ -if(typeof _4!=="undefined"){ -if(typeof fn==="function"){ -fn(_4); -} -}else{ -_7(fn); -_1e(); -} -} -},mediaQueryLists:function(fn){ -cssHelper.parsed(function(_32){ -fn(_2a.mediaQueryLists||_2d("mediaQueryLists")); -}); -},rules:function(fn){ -cssHelper.parsed(function(_33){ -fn(_2a.rules||_2d("rules")); -}); -},selectors:function(fn){ -cssHelper.parsed(function(_34){ -fn(_2a.selectors||_2d("selectors")); -}); -},declarations:function(fn){ -cssHelper.parsed(function(_35){ -fn(_2a.declarations||_2d("declarations")); -}); -},properties:function(fn){ -cssHelper.parsed(function(_36){ -fn(_2a.properties||_2d("properties")); -}); -},broadcast:_a,addListener:function(n,fn){ -if(typeof fn==="function"){ -if(!_9[n]){ -_9[n]={listeners:[]}; -} -_9[n].listeners[_9[n].listeners.length]=fn; -} -},removeListener:function(n,fn){ -if(typeof fn==="function"&&_9[n]){ -var ls=_9[n].listeners; -for(var i=0;i<ls.length;i++){ -if(ls[i]===fn){ -ls.splice(i,1); -i-=1; -} -} -} -},getViewportWidth:function(){ -return _2f("Width"); -},getViewportHeight:function(){ -return _2f("Height"); -}}; -}(); -domReady(function enableCssMediaQueries(){ -var _37; -var _38={LENGTH_UNIT:/[0-9]+(em|ex|px|in|cm|mm|pt|pc)$/,RESOLUTION_UNIT:/[0-9]+(dpi|dpcm)$/,ASPECT_RATIO:/^[0-9]+\/[0-9]+$/,ABSOLUTE_VALUE:/^[0-9]*(\.[0-9]+)*$/}; -var _39=[]; -var _3a=function(){ -var id="css3-mediaqueries-test"; -var el=document.createElement("div"); -el.id=id; -var _3b=cssHelper.addStyle("@media all and (width) { #"+id+" { width: 1px !important; } }",false); -document.body.appendChild(el); -var ret=el.offsetWidth===1; -_3b.parentNode.removeChild(_3b); -el.parentNode.removeChild(el); -_3a=function(){ -return ret; -}; -return ret; -}; -var _3c=function(){ -_37=document.createElement("div"); -_37.style.cssText="position:absolute;top:-9999em;left:-9999em;"+"margin:0;border:none;padding:0;width:1em;font-size:1em;"; -document.body.appendChild(_37); -if(_37.offsetWidth!==16){ -_37.style.fontSize=16/_37.offsetWidth+"em"; -} -_37.style.width=""; -}; -var _3d=function(_3e){ -_37.style.width=_3e; -var _3f=_37.offsetWidth; -_37.style.width=""; -return _3f; -}; -var _40=function(_41,_42){ -var l=_41.length; -var min=(_41.substring(0,4)==="min-"); -var max=(!min&&_41.substring(0,4)==="max-"); -if(_42!==null){ -var _43; -var _44; -if(_38.LENGTH_UNIT.exec(_42)){ -_43="length"; -_44=_3d(_42); -}else{ -if(_38.RESOLUTION_UNIT.exec(_42)){ -_43="resolution"; -_44=parseInt(_42,10); -var _45=_42.substring((_44+"").length); -}else{ -if(_38.ASPECT_RATIO.exec(_42)){ -_43="aspect-ratio"; -_44=_42.split("/"); -}else{ -if(_38.ABSOLUTE_VALUE){ -_43="absolute"; -_44=_42; -}else{ -_43="unknown"; -} -} -} -} -} -var _46,_47; -if("device-width"===_41.substring(l-12,l)){ -_46=screen.width; -if(_42!==null){ -if(_43==="length"){ -return ((min&&_46>=_44)||(max&&_46<_44)||(!min&&!max&&_46===_44)); -}else{ -return false; -} -}else{ -return _46>0; -} -}else{ -if("device-height"===_41.substring(l-13,l)){ -_47=screen.height; -if(_42!==null){ -if(_43==="length"){ -return ((min&&_47>=_44)||(max&&_47<_44)||(!min&&!max&&_47===_44)); -}else{ -return false; -} -}else{ -return _47>0; -} -}else{ -if("width"===_41.substring(l-5,l)){ -_46=document.documentElement.clientWidth||document.body.clientWidth; -if(_42!==null){ -if(_43==="length"){ -return ((min&&_46>=_44)||(max&&_46<_44)||(!min&&!max&&_46===_44)); -}else{ -return false; -} -}else{ -return _46>0; -} -}else{ -if("height"===_41.substring(l-6,l)){ -_47=document.documentElement.clientHeight||document.body.clientHeight; -if(_42!==null){ -if(_43==="length"){ -return ((min&&_47>=_44)||(max&&_47<_44)||(!min&&!max&&_47===_44)); -}else{ -return false; -} -}else{ -return _47>0; -} -}else{ -if("device-aspect-ratio"===_41.substring(l-19,l)){ -return _43==="aspect-ratio"&&screen.width*_44[1]===screen.height*_44[0]; -}else{ -if("color-index"===_41.substring(l-11,l)){ -var _48=Math.pow(2,screen.colorDepth); -if(_42!==null){ -if(_43==="absolute"){ -return ((min&&_48>=_44)||(max&&_48<_44)||(!min&&!max&&_48===_44)); -}else{ -return false; -} -}else{ -return _48>0; -} -}else{ -if("color"===_41.substring(l-5,l)){ -var _49=screen.colorDepth; -if(_42!==null){ -if(_43==="absolute"){ -return ((min&&_49>=_44)||(max&&_49<_44)||(!min&&!max&&_49===_44)); -}else{ -return false; -} -}else{ -return _49>0; -} -}else{ -if("resolution"===_41.substring(l-10,l)){ -var res; -if(_45==="dpcm"){ -res=_3d("1cm"); -}else{ -res=_3d("1in"); -} -if(_42!==null){ -if(_43==="resolution"){ -return ((min&&res>=_44)||(max&&res<_44)||(!min&&!max&&res===_44)); -}else{ -return false; -} -}else{ -return res>0; -} -}else{ -return false; -} -} -} -} -} -} -} -} -}; -var _4a=function(mq){ -var _4b=mq.getValid(); -var _4c=mq.getExpressions(); -var l=_4c.length; -if(l>0){ -for(var i=0;i<l&&_4b;i++){ -_4b=_40(_4c[i].mediaFeature,_4c[i].value); -} -var not=mq.getNot(); -return (_4b&&!not||not&&!_4b); -} -}; -var _4d=function(mql){ -var mqs=mql.getMediaQueries(); -var t={}; -for(var i=0;i<mqs.length;i++){ -if(_4a(mqs[i])){ -t[mqs[i].getMediaType()]=true; -} -} -var s=[],c=0; -for(var n in t){ -if(t.hasOwnProperty(n)){ -if(c>0){ -s[c++]=","; -} -s[c++]=n; -} -} -if(s.length>0){ -_39[_39.length]=cssHelper.addStyle("@media "+s.join("")+"{"+mql.getCssText()+"}",false); -} -}; -var _4e=function(_4f){ -for(var i=0;i<_4f.length;i++){ -_4d(_4f[i]); -} -if(ua.ie){ -document.documentElement.style.display="block"; -setTimeout(function(){ -document.documentElement.style.display=""; -},0); -setTimeout(function(){ -cssHelper.broadcast("cssMediaQueriesTested"); -},100); -}else{ -cssHelper.broadcast("cssMediaQueriesTested"); -} -}; -var _50=function(){ -for(var i=0;i<_39.length;i++){ -cssHelper.removeStyle(_39[i]); -} -_39=[]; -cssHelper.mediaQueryLists(_4e); -}; -var _51=0; -var _52=function(){ -var _53=cssHelper.getViewportWidth(); -var _54=cssHelper.getViewportHeight(); -if(ua.ie){ -var el=document.createElement("div"); -el.style.position="absolute"; -el.style.top="-9999em"; -el.style.overflow="scroll"; -document.body.appendChild(el); -_51=el.offsetWidth-el.clientWidth; -document.body.removeChild(el); -} -var _55; -var _56=function(){ -var vpw=cssHelper.getViewportWidth(); -var vph=cssHelper.getViewportHeight(); -if(Math.abs(vpw-_53)>_51||Math.abs(vph-_54)>_51){ -_53=vpw; -_54=vph; -clearTimeout(_55); -_55=setTimeout(function(){ -if(!_3a()){ -_50(); -}else{ -cssHelper.broadcast("cssMediaQueriesTested"); -} -},500); -} -}; -window.onresize=function(){ -var x=window.onresize||function(){ -}; -return function(){ -x(); -_56(); -}; -}(); -}; -var _57=document.documentElement; -_57.style.marginLeft="-32767px"; -setTimeout(function(){ -_57.style.marginTop=""; -},20000); -return function(){ -if(!_3a()){ -cssHelper.addListener("newStyleParsed",function(el){ -_4e(el.cssHelperParsed.mediaQueryLists); -}); -cssHelper.addListener("cssMediaQueriesTested",function(){ -if(ua.ie){ -_57.style.width="1px"; -} -setTimeout(function(){ -_57.style.width=""; -_57.style.marginLeft=""; -},0); -cssHelper.removeListener("cssMediaQueriesTested",arguments.callee); -}); -_3c(); -_50(); -}else{ -_57.style.marginLeft=""; -} -_52(); -}; -}()); -try{ -document.execCommand("BackgroundImageCache",false,true); -} -catch(e){ -} - diff --git a/themes/zResponsive/js/html5.js b/themes/zResponsive/js/html5.js @@ -1,3 +0,0 @@ -/*! HTML5 Shiv vpre3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed - Uncompressed source: https://github.com/aFarkas/html5shiv */ -(function(a,b){function h(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createElement,f=a.createDocumentFragment,g=f();a.createElement=function(a){if(!l.shivMethods)return c(a);var f;return b[a]?f=b[a].cloneNode():e.test(a)?f=(b[a]=c(a)).cloneNode():f=c(a),f.canHaveChildren&&!d.test(a)?g.appendChild(f):f},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(a){return c(a),g.createElement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentShived?a:(l.shivCSS&&!f&&(b=!!h(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),g||(b=!j(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,f,g;(function(){var c=b.createElement("a");c.innerHTML="<xyz></xyz>",f="hidden"in c,f&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(b){b.hidden=!0,f=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).display=="none"}),g=c.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var l={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:k};a.html5=l,k(b)})(this,document) -\ No newline at end of file diff --git a/themes/zResponsive/js/jquery.min.js b/themes/zResponsive/js/jquery.min.js @@ -1,2 +0,0 @@ -/*! jQuery v1.8.2 jquery.com | jquery.org/license */ -(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d<e;d++)p.event.add(b,c,h[c][d])}g.data&&(g.data=p.extend({},g.data))}function bE(a,b){var c;if(b.nodeType!==1)return;b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),c==="object"?(b.parentNode&&(b.outerHTML=a.outerHTML),p.support.html5Clone&&a.innerHTML&&!p.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):c==="input"&&bv.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):c==="option"?b.selected=a.defaultSelected:c==="input"||c==="textarea"?b.defaultValue=a.defaultValue:c==="script"&&b.text!==a.text&&(b.text=a.text),b.removeAttribute(p.expando)}function bF(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bG(a){bv.test(a.type)&&(a.defaultChecked=a.checked)}function bY(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=bW.length;while(e--){b=bW[e]+c;if(b in a)return b}return d}function bZ(a,b){return a=b||a,p.css(a,"display")==="none"||!p.contains(a.ownerDocument,a)}function b$(a,b){var c,d,e=[],f=0,g=a.length;for(;f<g;f++){c=a[f];if(!c.style)continue;e[f]=p._data(c,"olddisplay"),b?(!e[f]&&c.style.display==="none"&&(c.style.display=""),c.style.display===""&&bZ(c)&&(e[f]=p._data(c,"olddisplay",cc(c.nodeName)))):(d=bH(c,"display"),!e[f]&&d!=="none"&&p._data(c,"olddisplay",d))}for(f=0;f<g;f++){c=a[f];if(!c.style)continue;if(!b||c.style.display==="none"||c.style.display==="")c.style.display=b?e[f]||"":"none"}return a}function b_(a,b,c){var d=bP.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function ca(a,b,c,d){var e=c===(d?"border":"content")?4:b==="width"?1:0,f=0;for(;e<4;e+=2)c==="margin"&&(f+=p.css(a,c+bV[e],!0)),d?(c==="content"&&(f-=parseFloat(bH(a,"padding"+bV[e]))||0),c!=="margin"&&(f-=parseFloat(bH(a,"border"+bV[e]+"Width"))||0)):(f+=parseFloat(bH(a,"padding"+bV[e]))||0,c!=="padding"&&(f+=parseFloat(bH(a,"border"+bV[e]+"Width"))||0));return f}function cb(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=!0,f=p.support.boxSizing&&p.css(a,"boxSizing")==="border-box";if(d<=0||d==null){d=bH(a,b);if(d<0||d==null)d=a.style[b];if(bQ.test(d))return d;e=f&&(p.support.boxSizingReliable||d===a.style[b]),d=parseFloat(d)||0}return d+ca(a,b,c||(f?"border":"content"),e)+"px"}function cc(a){if(bS[a])return bS[a];var b=p("<"+a+">").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write("<!doctype html><html><body>"),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bS[a]=c,c}function ci(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||ce.test(a)?d(a,e):ci(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ci(a+"["+e+"]",b[e],c,d);else d(a,b)}function cz(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h<i;h++)d=g[h],f=/^\+/.test(d),f&&(d=d.substr(1)||"*"),e=a[d]=a[d]||[],e[f?"unshift":"push"](c)}}function cA(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h,i=a[f],j=0,k=i?i.length:0,l=a===cv;for(;j<k&&(l||!h);j++)h=i[j](c,d,e),typeof h=="string"&&(!l||g[h]?h=b:(c.dataTypes.unshift(h),h=cA(a,c,d,e,h,g)));return(l||!h)&&!g["*"]&&(h=cA(a,c,d,e,"*",g)),h}function cB(a,c){var d,e,f=p.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((f[d]?a:e||(e={}))[d]=c[d]);e&&p.extend(!0,a,e)}function cC(a,c,d){var e,f,g,h,i=a.contents,j=a.dataTypes,k=a.responseFields;for(f in k)f in d&&(c[k[f]]=d[f]);while(j[0]==="*")j.shift(),e===b&&(e=a.mimeType||c.getResponseHeader("content-type"));if(e)for(f in i)if(i[f]&&i[f].test(e)){j.unshift(f);break}if(j[0]in d)g=j[0];else{for(f in d){if(!j[0]||a.converters[f+" "+j[0]]){g=f;break}h||(h=f)}g=g||h}if(g)return g!==j[0]&&j.unshift(g),d[g]}function cD(a,b){var c,d,e,f,g=a.dataTypes.slice(),h=g[0],i={},j=0;a.dataFilter&&(b=a.dataFilter(b,a.dataType));if(g[1])for(c in a.converters)i[c.toLowerCase()]=a.converters[c];for(;e=g[++j];)if(e!=="*"){if(h!=="*"&&h!==e){c=i[h+" "+e]||i["* "+e];if(!c)for(d in i){f=d.split(" ");if(f[1]===e){c=i[h+" "+f[0]]||i["* "+f[0]];if(c){c===!0?c=i[d]:i[d]!==!0&&(e=f[0],g.splice(j--,0,e));break}}}if(c!==!0)if(c&&a["throws"])b=c(b);else try{b=c(b)}catch(k){return{state:"parsererror",error:c?k:"No conversion from "+h+" to "+e}}}h=e}return{state:"success",data:b}}function cL(){try{return new a.XMLHttpRequest}catch(b){}}function cM(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function cU(){return setTimeout(function(){cN=b},0),cN=p.now()}function cV(a,b){p.each(b,function(b,c){var d=(cT[b]||[]).concat(cT["*"]),e=0,f=d.length;for(;e<f;e++)if(d[e].call(a,b,c))return})}function cW(a,b,c){var d,e=0,f=0,g=cS.length,h=p.Deferred().always(function(){delete i.elem}),i=function(){var b=cN||cU(),c=Math.max(0,j.startTime+j.duration-b),d=1-(c/j.duration||0),e=0,f=j.tweens.length;for(;e<f;e++)j.tweens[e].run(d);return h.notifyWith(a,[j,d,c]),d<1&&f?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:p.extend({},b),opts:p.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:cN||cU(),duration:c.duration,tweens:[],createTween:function(b,c,d){var e=p.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(e),e},stop:function(b){var c=0,d=b?j.tweens.length:0;for(;c<d;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;cX(k,j.opts.specialEasing);for(;e<g;e++){d=cS[e].call(j,a,k,j.opts);if(d)return d}return cV(j,k),p.isFunction(j.opts.start)&&j.opts.start.call(a,j),p.fx.timer(p.extend(i,{anim:j,queue:j.opts.queue,elem:a})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}function cX(a,b){var c,d,e,f,g;for(c in a){d=p.camelCase(c),e=b[d],f=a[c],p.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=p.cssHooks[d];if(g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}}function cY(a,b,c){var d,e,f,g,h,i,j,k,l=this,m=a.style,n={},o=[],q=a.nodeType&&bZ(a);c.queue||(j=p._queueHooks(a,"fx"),j.unqueued==null&&(j.unqueued=0,k=j.empty.fire,j.empty.fire=function(){j.unqueued||k()}),j.unqueued++,l.always(function(){l.always(function(){j.unqueued--,p.queue(a,"fx").length||j.empty.fire()})})),a.nodeType===1&&("height"in b||"width"in b)&&(c.overflow=[m.overflow,m.overflowX,m.overflowY],p.css(a,"display")==="inline"&&p.css(a,"float")==="none"&&(!p.support.inlineBlockNeedsLayout||cc(a.nodeName)==="inline"?m.display="inline-block":m.zoom=1)),c.overflow&&(m.overflow="hidden",p.support.shrinkWrapBlocks||l.done(function(){m.overflow=c.overflow[0],m.overflowX=c.overflow[1],m.overflowY=c.overflow[2]}));for(d in b){f=b[d];if(cP.exec(f)){delete b[d];if(f===(q?"hide":"show"))continue;o.push(d)}}g=o.length;if(g){h=p._data(a,"fxshow")||p._data(a,"fxshow",{}),q?p(a).show():l.done(function(){p(a).hide()}),l.done(function(){var b;p.removeData(a,"fxshow",!0);for(b in n)p.style(a,b,n[b])});for(d=0;d<g;d++)e=o[d],i=l.createTween(e,q?h[e]:0),n[e]=h[e]||p.style(a,e),e in h||(h[e]=i.start,q&&(i.end=i.start,i.start=e==="width"||e==="height"?1:0))}}function cZ(a,b,c,d,e){return new cZ.prototype.init(a,b,c,d,e)}function c$(a,b){var c,d={height:a},e=0;b=b?1:0;for(;e<4;e+=2-b)c=bV[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function da(a){return p.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var c,d,e=a.document,f=a.location,g=a.navigator,h=a.jQuery,i=a.$,j=Array.prototype.push,k=Array.prototype.slice,l=Array.prototype.indexOf,m=Object.prototype.toString,n=Object.prototype.hasOwnProperty,o=String.prototype.trim,p=function(a,b){return new p.fn.init(a,b,c)},q=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,r=/\S/,s=/\s+/,t=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i<j;i++)if((a=arguments[i])!=null)for(c in a){d=h[c],e=a[c];if(h===e)continue;k&&e&&(p.isPlainObject(e)||(f=p.isArray(e)))?(f?(f=!1,g=d&&p.isArray(d)?d:[]):g=d&&p.isPlainObject(d)?d:{},h[c]=p.extend(k,g,e)):e!==b&&(h[c]=e)}return h},p.extend({noConflict:function(b){return a.$===p&&(a.$=i),b&&a.jQuery===p&&(a.jQuery=h),p},isReady:!1,readyWait:1,holdReady:function(a){a?p.readyWait++:p.ready(!0)},ready:function(a){if(a===!0?--p.readyWait:p.isReady)return;if(!e.body)return setTimeout(p.ready,1);p.isReady=!0;if(a!==!0&&--p.readyWait>0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f<g;)if(c.apply(a[f++],d)===!1)break}else if(h){for(e in a)if(c.call(a[e],e,a[e])===!1)break}else for(;f<g;)if(c.call(a[f],f,a[f++])===!1)break;return a},trim:o&&!o.call(" ")?function(a){return a==null?"":o.call(a)}:function(a){return a==null?"":(a+"").replace(t,"")},makeArray:function(a,b){var c,d=b||[];return a!=null&&(c=p.type(a),a.length==null||c==="string"||c==="function"||c==="regexp"||p.isWindow(a)?j.call(d,a):p.merge(d,a)),d},inArray:function(a,b,c){var d;if(b){if(l)return l.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=c.length,e=a.length,f=0;if(typeof d=="number")for(;f<d;f++)a[e++]=c[f];else while(c[f]!==b)a[e++]=c[f++];return a.length=e,a},grep:function(a,b,c){var d,e=[],f=0,g=a.length;c=!!c;for(;f<g;f++)d=!!b(a[f],f),c!==d&&e.push(a[f]);return e},map:function(a,c,d){var e,f,g=[],h=0,i=a.length,j=a instanceof p||i!==b&&typeof i=="number"&&(i>0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h<i;h++)e=c(a[h],h,d),e!=null&&(g[g.length]=e);else for(f in a)e=c(a[f],f,d),e!=null&&(g[g.length]=e);return g.concat.apply([],g)},guid:1,proxy:function(a,c){var d,e,f;return typeof c=="string"&&(d=a[c],c=a,a=d),p.isFunction(a)?(e=k.call(arguments,2),f=function(){return a.apply(c,e.concat(k.call(arguments)))},f.guid=a.guid=a.guid||p.guid++,f):b},access:function(a,c,d,e,f,g,h){var i,j=d==null,k=0,l=a.length;if(d&&typeof d=="object"){for(k in d)p.access(a,c,k,d[k],1,g,e);f=1}else if(e!==b){i=h===b&&p.isFunction(e),j&&(i?(i=c,c=function(a,b,c){return i.call(p(a),c)}):(c.call(a,e),c=null));if(c)for(;k<l;k++)c(a[k],d,i?e.call(a[k],k,c(a[k],d)):e,h);f=1}return f?a:j?c.call(a):l?c(a[0],d):g},now:function(){return(new Date).getTime()}}),p.ready.promise=function(b){if(!d){d=p.Deferred();if(e.readyState==="complete")setTimeout(p.ready,1);else if(e.addEventListener)e.addEventListener("DOMContentLoaded",D,!1),a.addEventListener("load",p.ready,!1);else{e.attachEvent("onreadystatechange",D),a.attachEvent("onload",p.ready);var c=!1;try{c=a.frameElement==null&&e.documentElement}catch(f){}c&&c.doScroll&&function g(){if(!p.isReady){try{c.doScroll("left")}catch(a){return setTimeout(g,50)}p.ready()}}()}}return d.promise(b)},p.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){E["[object "+b+"]"]=b.toLowerCase()}),c=p(e);var F={};p.Callbacks=function(a){a=typeof a=="string"?F[a]||G(a):p.extend({},a);var c,d,e,f,g,h,i=[],j=!a.once&&[],k=function(b){c=a.memory&&b,d=!0,h=f||0,f=0,g=i.length,e=!0;for(;i&&h<g;h++)if(i[h].apply(b[0],b[1])===!1&&a.stopOnFalse){c=!1;break}e=!1,i&&(j?j.length&&k(j.shift()):c?i=[]:l.disable())},l={add:function(){if(i){var b=i.length;(function d(b){p.each(b,function(b,c){var e=p.type(c);e==="function"&&(!a.unique||!l.has(c))?i.push(c):c&&c.length&&e!=="string"&&d(c)})})(arguments),e?g=i.length:c&&(f=b,k(c))}return this},remove:function(){return i&&p.each(arguments,function(a,b){var c;while((c=p.inArray(b,i,c))>-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return a!=null?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b<d;b++)c[b]&&p.isFunction(c[b].promise)?c[b].promise().done(g(b,j,c)).fail(f.reject).progress(g(b,i,h)):--e}return e||f.resolveWith(j,c),f.promise()}}),p.support=function(){var b,c,d,f,g,h,i,j,k,l,m,n=e.createElement("div");n.setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="<div></div>",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||p.guid++:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e<f;e++)delete d[b[e]];if(!(c?K:p.isEmptyObject)(d))return}}if(!c){delete h[i].data;if(!K(h[i]))return}g?p.cleanData([a],!0):p.support.deleteExpando||h!=h.window?delete h[i]:h[i]=null},_data:function(a,b,c){return p.data(a,b,c,!0)},acceptData:function(a){var b=a.nodeName&&p.noData[a.nodeName.toLowerCase()];return!b||b!==!0&&a.getAttribute("classid")===b}}),p.fn.extend({data:function(a,c){var d,e,f,g,h,i=this[0],j=0,k=null;if(a===b){if(this.length){k=p.data(i);if(i.nodeType===1&&!p._data(i,"parsedAttrs")){f=i.attributes;for(h=f.length;j<h;j++)g=f[j].name,g.indexOf("data-")||(g=p.camelCase(g.substring(5)),J(i,g,k[g]));p._data(i,"parsedAttrs",!0)}}return k}return typeof a=="object"?this.each(function(){p.data(this,a)}):(d=a.split(".",2),d[1]=d[1]?"."+d[1]:"",e=d[1]+"!",p.access(this,function(c){if(c===b)return k=this.triggerHandler("getData"+e,[d[0]]),k===b&&i&&(k=p.data(i,a),k=J(i,a,k)),k===b&&d[1]?this.data(d[0]):k;d[1]=c,this.each(function(){var b=p(this);b.triggerHandler("setData"+e,d),p.data(this,a,c),b.triggerHandler("changeData"+e,d)})},null,c,arguments.length>1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.length,e=c.shift(),f=p._queueHooks(a,b),g=function(){p.dequeue(a,b)};e==="inprogress"&&(e=c.shift(),d--),e&&(b==="fx"&&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 p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length<d?p.queue(this[0],a):c===b?this:this.each(function(){var b=p.queue(this,a,c);p._queueHooks(this,a),a==="fx"&&b[0]!=="inprogress"&&p.dequeue(this,a)})},dequeue:function(a){return this.each(function(){p.dequeue(this,a)})},delay:function(a,b){return a=p.fx?p.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){var d,e=1,f=p.Deferred(),g=this,h=this.length,i=function(){--e||f.resolveWith(g,[g])};typeof a!="string"&&(c=a,a=b),a=a||"fx";while(h--)d=p._data(g[h],a+"queueHooks"),d&&d.empty&&(e++,d.empty.add(i));return i(),f.promise(c)}});var L,M,N,O=/[\t\r\n]/g,P=/\r/g,Q=/^(?:button|input)$/i,R=/^(?:button|input|object|select|textarea)$/i,S=/^a(?:rea|)$/i,T=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,U=p.support.getSetAttribute;p.fn.extend({attr:function(a,b){return p.access(this,p.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{f=" "+e.className+" ";for(g=0,h=b.length;g<h;g++)f.indexOf(" "+b[g]+" ")<0&&(f+=b[g]+" ");e.className=p.trim(f)}}}return this},removeClass:function(a){var c,d,e,f,g,h,i;if(p.isFunction(a))return this.each(function(b){p(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(s);for(h=0,i=this.length;h<i;h++){e=this[h];if(e.nodeType===1&&e.className){d=(" "+e.className+" ").replace(O," ");for(f=0,g=c.length;f<g;f++)while(d.indexOf(" "+c[f]+" ")>=0)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(O," ").indexOf(b)>=0)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c<d;c++){e=h[c];if(e.selected&&(p.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!p.nodeName(e.parentNode,"optgroup"))){b=p(e).val();if(i)return b;g.push(b)}}return i&&!g.length&&h.length?p(h[f]).val():g},set:function(a,b){var c=p.makeArray(b);return p(a).find("option").each(function(){this.selected=p.inArray(p(this).val(),c)>=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,d+""),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g<d.length;g++)e=d[g],e&&(c=p.propFix[e]||e,f=T.test(e),f||p.attr(a,e,""),a.removeAttribute(U?e:c),f&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(Q.test(a.nodeName)&&a.parentNode)p.error("type property can't be changed");else if(!p.support.radioValue&&b==="radio"&&p.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}},value:{get:function(a,b){return L&&p.nodeName(a,"button")?L.get(a,b):b in a?a.value:null},set:function(a,b,c){if(L&&p.nodeName(a,"button"))return L.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,f,g,h=a.nodeType;if(!a||h===3||h===8||h===2)return;return g=h!==1||!p.isXMLDoc(a),g&&(c=p.propFix[c]||c,f=p.propHooks[c]),d!==b?f&&"set"in f&&(e=f.set(a,d,c))!==b?e:a[c]=d:f&&"get"in f&&(e=f.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):R.test(a.nodeName)||S.test(a.nodeName)&&a.href?0:b}}}}),M={get:function(a,c){var d,e=p.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;return b===!1?p.removeAttr(a,c):(d=p.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase())),c}},U||(N={name:!0,id:!0,coords:!0},L=p.valHooks.button={get:function(a,c){var d;return d=a.getAttributeNode(c),d&&(N[c]?d.value!=="":d.specified)?d.value:b},set:function(a,b,c){var d=a.getAttributeNode(c);return d||(d=e.createAttribute(c),a.setAttributeNode(d)),d.value=b+""}},p.each(["width","height"],function(a,b){p.attrHooks[b]=p.extend(p.attrHooks[b],{set:function(a,c){if(c==="")return a.setAttribute(b,"auto"),c}})}),p.attrHooks.contenteditable={get:L.get,set:function(a,b,c){b===""&&(b="false"),L.set(a,b,c)}}),p.support.hrefNormalized||p.each(["href","src","width","height"],function(a,c){p.attrHooks[c]=p.extend(p.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),p.support.style||(p.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=b+""}}),p.support.optSelected||(p.propHooks.selected=p.extend(p.propHooks.selected,{get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}})),p.support.enctype||(p.propFix.enctype="encoding"),p.support.checkOn||p.each(["radio","checkbox"],function(){p.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),p.each(["radio","checkbox"],function(){p.valHooks[this]=p.extend(p.valHooks[this],{set:function(a,b){if(p.isArray(b))return a.checked=p.inArray(p(a).val(),b)>=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j<c.length;j++){k=W.exec(c[j])||[],l=k[1],m=(k[2]||"").split(".").sort(),r=p.event.special[l]||{},l=(f?r.delegateType:r.bindType)||l,r=p.event.special[l]||{},n=p.extend({type:l,origType:k[1],data:e,handler:d,guid:d.guid,selector:f,needsContext:f&&p.expr.match.needsContext.test(f),namespace:m.join(".")},o),q=i[l];if(!q){q=i[l]=[],q.delegateCount=0;if(!r.setup||r.setup.call(a,e,m,h)===!1)a.addEventListener?a.addEventListener(l,h,!1):a.attachEvent&&a.attachEvent("on"+l,h)}r.add&&(r.add.call(a,n),n.handler.guid||(n.handler.guid=d.guid)),f?q.splice(q.delegateCount++,0,n):q.push(n),p.event.global[l]=!0}a=null},global:{},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,q,r=p.hasData(a)&&p._data(a);if(!r||!(m=r.events))return;b=p.trim(_(b||"")).split(" ");for(f=0;f<b.length;f++){g=W.exec(b[f])||[],h=i=g[1],j=g[2];if(!h){for(h in m)p.event.remove(a,h+b[f],c,d,!0);continue}n=p.event.special[h]||{},h=(d?n.delegateType:n.bindType)||h,o=m[h]||[],k=o.length,j=j?new RegExp("(^|\\.)"+j.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(l=0;l<o.length;l++)q=o[l],(e||i===q.origType)&&(!c||c.guid===q.guid)&&(!j||j.test(q.namespace))&&(!d||d===q.selector||d==="**"&&q.selector)&&(o.splice(l--,1),q.selector&&o.delegateCount--,n.remove&&n.remove.call(a,q));o.length===0&&k!==o.length&&((!n.teardown||n.teardown.call(a,j,r.handle)===!1)&&p.removeEvent(a,h,r.handle),delete m[h])}p.isEmptyObject(m)&&(delete r.handle,p.removeData(a,"events",!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,f,g){if(!f||f.nodeType!==3&&f.nodeType!==8){var h,i,j,k,l,m,n,o,q,r,s=c.type||c,t=[];if($.test(s+p.event.triggered))return;s.indexOf("!")>=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;j<q.length&&!c.isPropagationStopped();j++)k=q[j][0],c.type=q[j][1],o=(p._data(k,"events")||{})[c.type]&&p._data(k,"handle"),o&&o.apply(k,d),o=m&&k[m],o&&p.acceptData(k)&&o.apply&&o.apply(k,d)===!1&&c.preventDefault();return c.type=s,!g&&!c.isDefaultPrevented()&&(!n._default||n._default.apply(f.ownerDocument,d)===!1)&&(s!=="click"||!p.nodeName(f,"a"))&&p.acceptData(f)&&m&&f[s]&&(s!=="focus"&&s!=="blur"||c.target.offsetWidth!==0)&&!p.isWindow(f)&&(l=f[m],l&&(f[m]=null),p.event.triggered=s,f[s](),p.event.triggered=b,l&&(f[m]=l)),c.result}return},dispatch:function(c){c=p.event.fix(c||a.event);var d,e,f,g,h,i,j,l,m,n,o=(p._data(this,"events")||{})[c.type]||[],q=o.delegateCount,r=k.call(arguments),s=!c.exclusive&&!c.namespace,t=p.event.special[c.type]||{},u=[];r[0]=c,c.delegateTarget=this;if(t.preDispatch&&t.preDispatch.call(this,c)===!1)return;if(q&&(!c.button||c.type!=="click"))for(f=c.target;f!=this;f=f.parentNode||this)if(f.disabled!==!0||c.type!=="click"){h={},j=[];for(d=0;d<q;d++)l=o[d],m=l.selector,h[m]===b&&(h[m]=l.needsContext?p(m,this).index(f)>=0:p.find(m,this,null,[f]).length),h[m]&&j.push(l);j.length&&u.push({elem:f,matches:j})}o.length>q&&u.push({elem:this,matches:o.slice(q)});for(d=0;d<u.length&&!c.isPropagationStopped();d++){i=u[d],c.currentTarget=i.elem;for(e=0;e<i.matches.length&&!c.isImmediatePropagationStopped();e++){l=i.matches[e];if(s||!c.namespace&&!l.namespace||c.namespace_re&&c.namespace_re.test(l.namespace))c.data=l.data,c.handleObj=l,g=((p.event.special[l.origType]||{}).handle||l.handler).apply(i.elem,r),g!==b&&(c.result=g,g===!1&&(c.preventDefault(),c.stopPropagation()))}}return t.postDispatch&&t.postDispatch.call(this,c),c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,c){var d,f,g,h=c.button,i=c.fromElement;return a.pageX==null&&c.clientX!=null&&(d=a.target.ownerDocument||e,f=d.documentElement,g=d.body,a.pageX=c.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=c.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?c.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0),a}},fix:function(a){if(a[p.expando])return a;var b,c,d=a,f=p.event.fixHooks[a.type]||{},g=f.props?this.props.concat(f.props):this.props;a=p.Event(d);for(b=g.length;b;)c=g[--b],a[c]=d[c];return a.target||(a.target=d.srcElement||e),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,f.filter?f.filter(a,d):a},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){p.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=p.extend(new p.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?p.event.trigger(e,null,b):p.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},p.event.handle=p.event.dispatch,p.removeEvent=e.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]=="undefined"&&(a[d]=null),a.detachEvent(d,c))},p.Event=function(a,b){if(this instanceof p.Event)a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?bb:ba):this.type=a,b&&p.extend(this,b),this.timeStamp=a&&a.timeStamp||p.now(),this[p.expando]=!0;else return new p.Event(a,b)},p.Event.prototype={preventDefault:function(){this.isDefaultPrevented=bb;var a=this.originalEvent;if(!a)return;a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=bb;var a=this.originalEvent;if(!a)return;a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=bb,this.stopPropagation()},isDefaultPrevented:ba,isPropagationStopped:ba,isImmediatePropagationStopped:ba},p.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){p.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj,g=f.selector;if(!e||e!==d&&!p.contains(d,e))a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b;return c}}}),p.support.submitBubbles||(p.event.special.submit={setup:function(){if(p.nodeName(this,"form"))return!1;p.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=p.nodeName(c,"input")||p.nodeName(c,"button")?c.form:b;d&&!p._data(d,"_submit_attached")&&(p.event.add(d,"submit._submit",function(a){a._submit_bubble=!0}),p._data(d,"_submit_attached",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&p.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(p.nodeName(this,"form"))return!1;p.event.remove(this,"._submit")}}),p.support.changeBubbles||(p.event.special.change={setup:function(){if(V.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")p.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),p.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),p.event.simulate("change",this,a,!0)});return!1}p.event.add(this,"beforeactivate._change",function(a){var b=a.target;V.test(b.nodeName)&&!p._data(b,"_change_attached")&&(p.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&p.event.simulate("change",this.parentNode,a,!0)}),p._data(b,"_change_attached",!0))})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){return p.event.remove(this,"._change"),!V.test(this.nodeName)}}),p.support.focusinBubbles||p.each({focus:"focusin",blur:"focusout"},function(a,b){var c=0,d=function(a){p.event.simulate(b,a.target,p.event.fix(a),!0)};p.event.special[b]={setup:function(){c++===0&&e.addEventListener(a,d,!0)},teardown:function(){--c===0&&e.removeEventListener(a,d,!0)}}}),p.fn.extend({on:function(a,c,d,e,f){var g,h;if(typeof a=="object"){typeof c!="string"&&(d=d||c,c=b);for(h in a)this.on(h,c,d,a[h],f);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=ba;else if(!e)return this;return f===1&&(g=e,e=function(a){return p().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=p.guid++)),this.each(function(){p.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,c,d){var e,f;if(a&&a.preventDefault&&a.handleObj)return e=a.handleObj,p(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler),this;if(typeof a=="object"){for(f in a)this.off(f,c,a[f]);return this}if(c===!1||typeof c=="function")d=c,c=b;return d===!1&&(d=ba),this.each(function(){p.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){return p(this.context).on(a,this.selector,b,c),this},die:function(a,b){return p(this.context).off(a,this.selector||"**",b),this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length===1?this.off(a,"**"):this.off(b,a||"**",c)},trigger:function(a,b){return this.each(function(){p.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return p.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||p.guid++,d=0,e=function(c){var e=(p._data(this,"lastToggle"+a.guid)||0)%d;return p._data(this,"lastToggle"+a.guid,e+1),c.preventDefault(),b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),p.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){p.fn[b]=function(a,c){return c==null&&(c=a,a=null),arguments.length>0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function bc(a,b,c,d){c=c||[],b=b||r;var e,f,i,j,k=b.nodeType;if(!a||typeof a!="string")return c;if(k!==1&&k!==9)return[];i=g(b);if(!i&&!d)if(e=P.exec(a))if(j=e[1]){if(k===9){f=b.getElementById(j);if(!f||!f.parentNode)return c;if(f.id===j)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(j))&&h(b,f)&&f.id===j)return c.push(f),c}else{if(e[2])return w.apply(c,x.call(b.getElementsByTagName(a),0)),c;if((j=e[3])&&_&&b.getElementsByClassName)return w.apply(c,x.call(b.getElementsByClassName(j),0)),c}return bp(a.replace(L,"$1"),b,c,d,i)}function bd(a){return function(b){var c=b.nodeName.toLowerCase();return c==="input"&&b.type===a}}function be(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}}function bf(a){return z(function(b){return b=+b,z(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 bg(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}function bh(a,b){var c,d,f,g,h,i,j,k=C[o][a];if(k)return b?0:k.slice(0);h=a,i=[],j=e.preFilter;while(h){if(!c||(d=M.exec(h)))d&&(h=h.slice(d[0].length)),i.push(f=[]);c=!1;if(d=N.exec(h))f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=d[0].replace(L," ");for(g in e.filter)(d=W[g].exec(h))&&(!j[g]||(d=j[g](d,r,!0)))&&(f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.error(a):C(a,i).slice(0)}function bi(a,b,d){var e=b.dir,f=d&&b.dir==="parentNode",g=u++;return b.first?function(b,c,d){while(b=b[e])if(f||b.nodeType===1)return a(b,c,d)}:function(b,d,h){if(!h){var i,j=t+" "+g+" ",k=j+c;while(b=b[e])if(f||b.nodeType===1){if((i=b[o])===k)return b.sizset;if(typeof i=="string"&&i.indexOf(j)===0){if(b.sizset)return b}else{b[o]=k;if(a(b,d,h))return b.sizset=!0,b;b.sizset=!1}}}else while(b=b[e])if(f||b.nodeType===1)if(a(b,d,h))return b}}function bj(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 bk(a,b,c,d,e){var f,g=[],h=0,i=a.length,j=b!=null;for(;h<i;h++)if(f=a[h])if(!c||c(f,d,e))g.push(f),j&&b.push(h);return g}function bl(a,b,c,d,e,f){return d&&!d[o]&&(d=bl(d)),e&&!e[o]&&(e=bl(e,f)),z(function(f,g,h,i){if(f&&e)return;var j,k,l,m=[],n=[],o=g.length,p=f||bo(b||"*",h.nodeType?[h]:h,[],f),q=a&&(f||!b)?bk(p,m,a,h,i):p,r=c?e||(f?a:o||d)?[]:g:q;c&&c(q,r,h,i);if(d){l=bk(r,n),d(l,[],h,i),j=l.length;while(j--)if(k=l[j])r[n[j]]=!(q[n[j]]=k)}if(f){j=a&&r.length;while(j--)if(k=r[j])f[m[j]]=!(g[m[j]]=k)}else r=bk(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):w.apply(g,r)})}function bm(a){var b,c,d,f=a.length,g=e.relative[a[0].type],h=g||e.relative[" "],i=g?1:0,j=bi(function(a){return a===b},h,!0),k=bi(function(a){return y.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==l)||((b=c).nodeType?j(a,c,d):k(a,c,d))}];for(;i<f;i++)if(c=e.relative[a[i].type])m=[bi(bj(m),c)];else{c=e.filter[a[i].type].apply(null,a[i].matches);if(c[o]){d=++i;for(;d<f;d++)if(e.relative[a[d].type])break;return bl(i>1&&bj(m),i>1&&a.slice(0,i-1).join("").replace(L,"$1"),c,i<d&&bm(a.slice(i,d)),d<f&&bm(a=a.slice(d)),d<f&&a.join(""))}m.push(c)}return bj(m)}function bn(a,b){var d=b.length>0,f=a.length>0,g=function(h,i,j,k,m){var n,o,p,q=[],s=0,u="0",x=h&&[],y=m!=null,z=l,A=h||f&&e.find.TAG("*",m&&i.parentNode||i),B=t+=z==null?1:Math.E;y&&(l=i!==r&&i,c=g.el);for(;(n=A[u])!=null;u++){if(f&&n){for(o=0;p=a[o];o++)if(p(n,i,j)){k.push(n);break}y&&(t=B,c=++g.el)}d&&((n=!p&&n)&&s--,h&&x.push(n))}s+=u;if(d&&u!==s){for(o=0;p=b[o];o++)p(x,q,i,j);if(h){if(s>0)while(u--)!x[u]&&!q[u]&&(q[u]=v.call(k));q=bk(q)}w.apply(k,q),y&&!h&&q.length>0&&s+b.length>1&&bc.uniqueSort(k)}return y&&(t=B,l=z),x};return g.el=0,d?z(g):g}function bo(a,b,c,d){var e=0,f=b.length;for(;e<f;e++)bc(a,b[e],c,d);return c}function bp(a,b,c,d,f){var g,h,j,k,l,m=bh(a),n=m.length;if(!d&&m.length===1){h=m[0]=m[0].slice(0);if(h.length>2&&(j=h[0]).type==="ID"&&b.nodeType===9&&!f&&e.relative[h[1].type]){b=e.find.ID(j.matches[0].replace(V,""),b,f)[0];if(!b)return c;a=a.slice(h.shift().length)}for(g=W.POS.test(a)?-1:h.length-1;g>=0;g--){j=h[g];if(e.relative[k=j.type])break;if(l=e.find[k])if(d=l(j.matches[0].replace(V,""),R.test(h[0].type)&&b.parentNode||b,f)){h.splice(g,1),a=d.length&&h.join("");if(!a)return w.apply(c,x.call(d,0)),c;break}}}return i(a,m)(d,b,f,c,R.test(a)),c}function bq(){}var c,d,e,f,g,h,i,j,k,l,m=!0,n="undefined",o=("sizcache"+Math.random()).replace(".",""),q=String,r=a.document,s=r.documentElement,t=0,u=0,v=[].pop,w=[].push,x=[].slice,y=[].indexOf||function(a){var b=0,c=this.length;for(;b<c;b++)if(this[b]===a)return b;return-1},z=function(a,b){return a[o]=b==null||b,a},A=function(){var a={},b=[];return z(function(c,d){return b.push(c)>e.cacheLength&&delete a[b.shift()],a[c]=d},a)},B=A(),C=A(),D=A(),E="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",G=F.replace("w","w#"),H="([*^$|!~]?=)",I="\\["+E+"*("+F+")"+E+"*(?:"+H+E+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+G+")|)|)"+E+"*\\]",J=":("+F+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+I+")|[^:]|\\\\.)*|.*))\\)|)",K=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)",L=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g"),M=new RegExp("^"+E+"*,"+E+"*"),N=new RegExp("^"+E+"*([\\x20\\t\\r\\n\\f>+~])"+E+"*"),O=new RegExp(J),P=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Q=/^:not/,R=/[\x20\t\r\n\f]*[+~]/,S=/:not\($/,T=/h\d/i,U=/input|select|textarea|button/i,V=/\\(?!\\)/g,W={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),NAME:new RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+J),POS:new RegExp(K,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),needsContext:new RegExp("^"+E+"*[>+~]|"+K,"i")},X=function(a){var b=r.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}},Y=X(function(a){return a.appendChild(r.createComment("")),!a.getElementsByTagName("*").length}),Z=X(function(a){return a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!==n&&a.firstChild.getAttribute("href")==="#"}),$=X(function(a){a.innerHTML="<select></select>";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),_=X(function(a){return a.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!a.getElementsByClassName||!a.getElementsByClassName("e").length?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length===2)}),ba=X(function(a){a.id=o+0,a.innerHTML="<a name='"+o+"'></a><div name='"+o+"'></div>",s.insertBefore(a,s.firstChild);var b=r.getElementsByName&&r.getElementsByName(o).length===2+r.getElementsByName(o+0).length;return d=!r.getElementById(o),s.removeChild(a),b});try{x.call(s.childNodes,0)[0].nodeType}catch(bb){x=function(a){var b,c=[];for(;b=this[a];a++)c.push(b);return c}}bc.matches=function(a,b){return bc(a,null,null,b)},bc.matchesSelector=function(a,b){return bc(b,null,null,[a]).length>0},f=bc.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=f(a)}else if(e===3||e===4)return a.nodeValue}else for(;b=a[d];d++)c+=f(b);return c},g=bc.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},h=bc.contains=s.contains?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b&&b.parentNode;return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))}:s.compareDocumentPosition?function(a,b){return b&&!!(a.compareDocumentPosition(b)&16)}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},bc.attr=function(a,b){var c,d=g(a);return d||(b=b.toLowerCase()),(c=e.attrHandle[b])?c(a):d||$?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)},e=bc.selectors={cacheLength:50,createPseudo:z,match:W,attrHandle:Z?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},find:{ID:d?function(a,b,c){if(typeof b.getElementById!==n&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==n&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==n&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:Y?function(a,b){if(typeof b.getElementsByTagName!==n)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c},NAME:ba&&function(a,b){if(typeof b.getElementsByName!==n)return b.getElementsByName(name)},CLASS:_&&function(a,b,c){if(typeof b.getElementsByClassName!==n&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(V,""),a[3]=(a[4]||a[5]||"").replace(V,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||bc.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&bc.error(a[0]),a},PSEUDO:function(a){var b,c;if(W.CHILD.test(a[0]))return null;if(a[3])a[2]=a[3];else if(b=a[4])O.test(b)&&(c=bh(b,!0))&&(c=b.indexOf(")",b.length-c)-b.length)&&(b=b.slice(0,c),a[0]=a[0].slice(0,c)),a[2]=b;return a.slice(0,3)}},filter:{ID:d?function(a){return a=a.replace(V,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(V,""),function(b){var c=typeof b.getAttributeNode!==n&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(V,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=B[o][a];return b||(b=B(a,new RegExp("(^|"+E+")"+a+"("+E+"|$)"))),function(a){return b.test(a.className||typeof a.getAttribute!==n&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return function(d,e){var f=bc.attr(d,a);return f==null?b==="!=":b?(f+="",b==="="?f===c:b==="!="?f!==c:b==="^="?c&&f.indexOf(c)===0:b==="*="?c&&f.indexOf(c)>-1:b==="$="?c&&f.substr(f.length-c.length)===c:b==="~="?(" "+f+" ").indexOf(c)>-1:b==="|="?f===c||f.substr(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d){return a==="nth"?function(a){var b,e,f=a.parentNode;if(c===1&&d===0)return!0;if(f){e=0;for(b=f.firstChild;b;b=b.nextSibling)if(b.nodeType===1){e++;if(a===b)break}}return e-=d,e===c||e%c===0&&e/c>=0}:function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b){var c,d=e.pseudos[a]||e.setFilters[a.toLowerCase()]||bc.error("unsupported pseudo: "+a);return d[o]?d(b):d.length>1?(c=[a,a,"",b],e.setFilters.hasOwnProperty(a.toLowerCase())?z(function(a,c){var e,f=d(a,b),g=f.length;while(g--)e=y.call(a,f[g]),a[e]=!(c[e]=f[g])}):function(a){return d(a,0,c)}):d}},pseudos:{not:z(function(a){var b=[],c=[],d=i(a.replace(L,"$1"));return d[o]?z(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)if(f=g[h])a[h]=!(b[h]=f)}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:z(function(a){return function(b){return bc(a,b).length>0}}),contains:z(function(a){return function(b){return(b.textContent||b.innerText||f(b)).indexOf(a)>-1}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!e.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},header:function(a){return T.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:bd("radio"),checkbox:bd("checkbox"),file:bd("file"),password:bd("password"),image:bd("image"),submit:be("submit"),reset:be("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return U.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement},first:bf(function(a,b,c){return[0]}),last:bf(function(a,b,c){return[b-1]}),eq:bf(function(a,b,c){return[c<0?c+b:c]}),even:bf(function(a,b,c){for(var d=0;d<b;d+=2)a.push(d);return a}),odd:bf(function(a,b,c){for(var d=1;d<b;d+=2)a.push(d);return a}),lt:bf(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:bf(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},j=s.compareDocumentPosition?function(a,b){return a===b?(k=!0,0):(!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition:a.compareDocumentPosition(b)&4)?-1:1}:function(a,b){if(a===b)return k=!0,0;if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,h=b.parentNode,i=g;if(g===h)return bg(a,b);if(!g)return-1;if(!h)return 1;while(i)e.unshift(i),i=i.parentNode;i=h;while(i)f.unshift(i),i=i.parentNode;c=e.length,d=f.length;for(var j=0;j<c&&j<d;j++)if(e[j]!==f[j])return bg(e[j],f[j]);return j===c?bg(a,f[j],-1):bg(e[j],b,1)},[0,0].sort(j),m=!k,bc.uniqueSort=function(a){var b,c=1;k=m,a.sort(j);if(k)for(;b=a[c];c++)b===a[c-1]&&a.splice(c--,1);return a},bc.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},i=bc.compile=function(a,b){var c,d=[],e=[],f=D[o][a];if(!f){b||(b=bh(a)),c=b.length;while(c--)f=bm(b[c]),f[o]?d.push(f):e.push(f);f=D(a,bn(e,d))}return f},r.querySelectorAll&&function(){var a,b=bp,c=/'|\\/g,d=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,e=[":focus"],f=[":active",":focus"],h=s.matchesSelector||s.mozMatchesSelector||s.webkitMatchesSelector||s.oMatchesSelector||s.msMatchesSelector;X(function(a){a.innerHTML="<select><option selected=''></option></select>",a.querySelectorAll("[selected]").length||e.push("\\["+E+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),X(function(a){a.innerHTML="<p test=''></p>",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+E+"*(?:\"\"|'')"),a.innerHTML="<input type='hidden'/>",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=new RegExp(e.join("|")),bp=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a))){var i,j,k=!0,l=o,m=d,n=d.nodeType===9&&a;if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){i=bh(a),(k=d.getAttribute("id"))?l=k.replace(c,"\\$&"):d.setAttribute("id",l),l="[id='"+l+"'] ",j=i.length;while(j--)i[j]=l+i[j].join("");m=R.test(a)&&d.parentNode||d,n=i.join(",")}if(n)try{return w.apply(f,x.call(m.querySelectorAll(n),0)),f}catch(p){}finally{k||d.removeAttribute("id")}}return b(a,d,f,g,h)},h&&(X(function(b){a=h.call(b,"div");try{h.call(b,"[test!='']:sizzle"),f.push("!=",J)}catch(c){}}),f=new RegExp(f.join("|")),bc.matchesSelector=function(b,c){c=c.replace(d,"='$1']");if(!g(b)&&!f.test(c)&&(!e||!e.test(c)))try{var i=h.call(b,c);if(i||a||b.document&&b.document.nodeType!==11)return i}catch(j){}return bc(c,null,null,[b]).length>0})}(),e.pseudos.nth=e.pseudos.eq,e.filters=bq.prototype=e.pseudos,e.setFilters=new bq,bc.attr=p.attr,p.find=bc,p.expr=bc.selectors,p.expr[":"]=p.expr.pseudos,p.unique=bc.uniqueSort,p.text=bc.getText,p.isXMLDoc=bc.isXML,p.contains=bc.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b<c;b++)if(p.contains(h[b],this))return!0});g=this.pushStack("","find",a);for(b=0,c=this.length;b<c;b++){d=g.length,p.find(a,this[b],g);if(b>0)for(e=d;e<g.length;e++)for(f=0;f<d;f++)if(g[f]===g[e]){g.splice(e--,1);break}}return g},has:function(a){var b,c=p(a,this),d=c.length;return this.filter(function(){for(b=0;b<d;b++)if(p.contains(this,c[b]))return!0})},not:function(a){return this.pushStack(bj(this,a,!1),"not",a)},filter:function(a){return this.pushStack(bj(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?bf.test(a)?p(a,this.context).index(this[0])>=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d<e;d++){c=this[d];while(c&&c.ownerDocument&&c!==b&&c.nodeType!==11){if(g?g.index(c)>-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/<tbody/i,br=/<|&#?\w+;/,bs=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,bu=new RegExp("<(?:"+bl+")[\\s/>]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,bz={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X<div>","</div>"]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1></$2>");try{for(;d<e;d++)c=this[d]||{},c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),c.innerHTML=a);c=0}catch(f){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){return bh(this[0])?this.length?this.pushStack(p(p.isFunction(a)?a():a),"replaceWith",a):this:p.isFunction(a)?this.each(function(b){var c=p(this),d=c.html();c.replaceWith(a.call(this,b,d))}):(typeof a!="string"&&(a=p(a).detach()),this.each(function(){var b=this.nextSibling,c=this.parentNode;p(this).remove(),b?p(b).before(a):p(c).append(a)}))},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){a=[].concat.apply([],a);var e,f,g,h,i=0,j=a[0],k=[],l=this.length;if(!p.support.checkClone&&l>1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i<l;i++)d.call(c&&p.nodeName(this[i],"table")?bC(this[i],"tbody"):this[i],i===h?g:p.clone(g,!0,!0))}g=f=null,k.length&&p.each(k,function(a,b){b.src?p.ajax?p.ajax({url:b.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):p.error("no ajax"):p.globalEval((b.text||b.textContent||b.innerHTML||"").replace(by,"")),b.parentNode&&b.parentNode.removeChild(b)})}return this}}),p.buildFragment=function(a,c,d){var f,g,h,i=a[0];return c=c||e,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,a.length===1&&typeof i=="string"&&i.length<512&&c===e&&i.charAt(0)==="<"&&!bt.test(i)&&(p.support.checkClone||!bw.test(i))&&(p.support.html5Clone||!bu.test(i))&&(g=!0,f=p.fragments[i],h=f!==b),f||(f=c.createDocumentFragment(),p.clean(a,c,f,d),g&&(p.fragments[i]=h&&f)),{fragment:f,cacheable:g}},p.fragments={},p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){p.fn[a]=function(c){var d,e=0,f=[],g=p(c),h=g.length,i=this.length===1&&this[0].parentNode;if((i==null||i&&i.nodeType===11&&i.childNodes.length===1)&&h===1)return g[b](this[0]),this;for(;e<h;e++)d=(e>0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=b===e&&bA,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(f=0;(h=a[f])!=null;f++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{s=s||bk(b),l=b.createElement("div"),s.appendChild(l),h=h.replace(bo,"<$1></$2>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]==="<table>"&&!m?l.childNodes:[];for(g=n.length-1;g>=0;--g)p.nodeName(n[g],"tbody")&&!n[g].childNodes.length&&n[g].parentNode.removeChild(n[g])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l.parentNode.removeChild(l)}h.nodeType?t.push(h):p.merge(t,h)}l&&(h=l=s=null);if(!p.support.appendChecked)for(f=0;(h=t[f])!=null;f++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(f=0;(h=t[f])!=null;f++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[f+1,0].concat(r)),f+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.chrome?b.webkit=!0:b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^(none|table(?!-c[ea]).+)/,bO=/^margin/,bP=new RegExp("^("+q+")(.*)$","i"),bQ=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bR=new RegExp("^([-+])=("+q+")","i"),bS={},bT={position:"absolute",visibility:"hidden",display:"block"},bU={letterSpacing:0,fontWeight:400},bV=["Top","Right","Bottom","Left"],bW=["Webkit","O","Moz","ms"],bX=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return b$(this,!0)},hide:function(){return b$(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bX.apply(this,arguments):this.each(function(){(c?a:bZ(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bY(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bR.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bY(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bU&&(f=bU[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(b,c){var d,e,f,g,h=a.getComputedStyle(b,null),i=b.style;return h&&(d=h[c],d===""&&!p.contains(b.ownerDocument,b)&&(d=p.style(b,c)),bQ.test(d)&&bO.test(c)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=d,d=h.width,i.width=e,i.minWidth=f,i.maxWidth=g)),d}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bQ.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth===0&&bN.test(bH(a,"display"))?p.swap(a,bT,function(){return cb(a,b,d)}):cb(a,b,d)},set:function(a,c,d){return b_(a,c,d?ca(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bQ.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bV[d]+b]=e[d]||e[d-2]||e[0];return f}},bO.test(a)||(p.cssHooks[a+b].set=b_)});var cd=/%20/g,ce=/\[\]$/,cf=/\r?\n/g,cg=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ch=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ch.test(this.nodeName)||cg.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(cf,"\r\n")}}):{name:b.name,value:c.replace(cf,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ci(d,a[d],c,f);return e.join("&").replace(cd,"+")};var cj,ck,cl=/#.*$/,cm=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,co=/^(?:GET|HEAD)$/,cp=/^\/\//,cq=/\?/,cr=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,cs=/([?&])_=[^&]*/,ct=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,cu=p.fn.load,cv={},cw={},cx=["*/"]+["*"];try{ck=f.href}catch(cy){ck=e.createElement("a"),ck.href="",ck=ck.href}cj=ct.exec(ck.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&cu)return cu.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):c&&typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("<div>").append(a.replace(cr,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cB(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cB(a,b),a},ajaxSettings:{url:ck,isLocal:cn.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cx},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cz(cv),ajaxTransport:cz(cw),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cC(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cD(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=(c||y)+"",k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cm.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(cl,"").replace(cp,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=ct.exec(l.url.toLowerCase())||!1,l.crossDomain=i&&i.join(":")+(i[3]?"":i[1]==="http:"?80:443)!==cj.join(":")+(cj[3]?"":cj[1]==="http:"?80:443)),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cA(cv,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!co.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cq.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cs,"$1_="+z);l.url=A+(A===l.url?(cq.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cx+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cA(cw,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cE=[],cF=/\?/,cG=/(=)\?(?=&|$)|\?\?/,cH=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cE.pop()||p.expando+"_"+cH++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cG.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cG.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cG,"$1"+f):m?c.data=i.replace(cG,"$1"+f):k&&(c.url+=(cF.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cE.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cI,cJ=a.ActiveXObject?function(){for(var a in cI)cI[a](0,1)}:!1,cK=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cL()||cM()}:cL,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cJ&&delete cI[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cK,cJ&&(cI||(cI={},p(a).unload(cJ)),cI[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cN,cO,cP=/^(?:toggle|show|hide)$/,cQ=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cR=/queueHooks$/,cS=[cY],cT={"*":[function(a,b){var c,d,e=this.createTween(a,b),f=cQ.exec(b),g=e.cur(),h=+g||0,i=1,j=20;if(f){c=+f[2],d=f[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&h){h=p.css(e.elem,a,!0)||c||1;do i=i||".5",h=h/i,p.style(e.elem,a,h+d);while(i!==(i=e.cur()/g)&&i!==1&&--j)}e.unit=d,e.start=h,e.end=f[1]?h+(f[1]+1)*c:c}return e}]};p.Animation=p.extend(cW,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d<e;d++)c=a[d],cT[c]=cT[c]||[],cT[c].unshift(b)},prefilter:function(a,b){b?cS.unshift(a):cS.push(a)}}),p.Tween=cZ,cZ.prototype={constructor:cZ,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(p.cssNumber[c]?"":"px")},cur:function(){var a=cZ.propHooks[this.prop];return a&&a.get?a.get(this):cZ.propHooks._default.get(this)},run:function(a){var b,c=cZ.propHooks[this.prop];return this.options.duration?this.pos=b=p.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):cZ.propHooks._default.set(this),this}},cZ.prototype.init.prototype=cZ.prototype,cZ.propHooks={_default:{get:function(a){var b;return a.elem[a.prop]==null||!!a.elem.style&&a.elem.style[a.prop]!=null?(b=p.css(a.elem,a.prop,!1,""),!b||b==="auto"?0:b):a.elem[a.prop]},set:function(a){p.fx.step[a.prop]?p.fx.step[a.prop](a):a.elem.style&&(a.elem.style[p.cssProps[a.prop]]!=null||p.cssHooks[a.prop])?p.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},cZ.propHooks.scrollTop=cZ.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},p.each(["toggle","show","hide"],function(a,b){var c=p.fn[b];p.fn[b]=function(d,e,f){return d==null||typeof d=="boolean"||!a&&p.isFunction(d)&&p.isFunction(e)?c.apply(this,arguments):this.animate(c$(b,!0),d,e,f)}}),p.fn.extend({fadeTo:function(a,b,c,d){return this.filter(bZ).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=p.isEmptyObject(a),f=p.speed(b,c,d),g=function(){var b=cW(this,p.extend({},a),f);e&&b.stop(!0)};return e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,c,d){var e=function(a){var b=a.stop;delete a.stop,b(d)};return typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,c=a!=null&&a+"queueHooks",f=p.timers,g=p._data(this);if(c)g[c]&&g[c].stop&&e(g[c]);else for(c in g)g[c]&&g[c].stop&&cR.test(c)&&e(g[c]);for(c=f.length;c--;)f[c].elem===this&&(a==null||f[c].queue===a)&&(f[c].anim.stop(d),b=!1,f.splice(c,1));(b||!d)&&p.dequeue(this,a)})}}),p.each({slideDown:c$("show"),slideUp:c$("hide"),slideToggle:c$("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){p.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),p.speed=function(a,b,c){var d=a&&typeof a=="object"?p.extend({},a):{complete:c||!c&&b||p.isFunction(a)&&a,duration:a,easing:c&&b||b&&!p.isFunction(b)&&b};d.duration=p.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in p.fx.speeds?p.fx.speeds[d.duration]:p.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";return d.old=d.complete,d.complete=function(){p.isFunction(d.old)&&d.old.call(this),d.queue&&p.dequeue(this,d.queue)},d},p.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},p.timers=[],p.fx=cZ.prototype.init,p.fx.tick=function(){var a,b=p.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||p.fx.stop()},p.fx.timer=function(a){a()&&p.timers.push(a)&&!cO&&(cO=setInterval(p.fx.tick,p.fx.interval))},p.fx.interval=13,p.fx.stop=function(){clearInterval(cO),cO=null},p.fx.speeds={slow:600,fast:200,_default:400},p.fx.step={},p.expr&&p.expr.filters&&(p.expr.filters.animated=function(a){return p.grep(p.timers,function(b){return a===b.elem}).length});var c_=/^(?:body|html)$/i;p.fn.offset=function(a){if(arguments.length)return a===b?this:this.each(function(b){p.offset.setOffset(this,a,b)});var c,d,e,f,g,h,i,j={top:0,left:0},k=this[0],l=k&&k.ownerDocument;if(!l)return;return(d=l.body)===k?p.offset.bodyOffset(k):(c=l.documentElement,p.contains(c,k)?(typeof k.getBoundingClientRect!="undefined"&&(j=k.getBoundingClientRect()),e=da(l),f=c.clientTop||d.clientTop||0,g=c.clientLeft||d.clientLeft||0,h=e.pageYOffset||c.scrollTop,i=e.pageXOffset||c.scrollLeft,{top:j.top+h-f,left:j.left+i-g}):j)},p.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;return p.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(p.css(a,"marginTop"))||0,c+=parseFloat(p.css(a,"marginLeft"))||0),{top:b,left:c}},setOffset:function(a,b,c){var d=p.css(a,"position");d==="static"&&(a.style.position="relative");var e=p(a),f=e.offset(),g=p.css(a,"top"),h=p.css(a,"left"),i=(d==="absolute"||d==="fixed")&&p.inArray("auto",[g,h])>-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c_.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c_.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=da(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window); -\ No newline at end of file diff --git a/themes/zResponsive/js/responsiveslides.js b/themes/zResponsive/js/responsiveslides.js @@ -1,321 +0,0 @@ -/*! ResponsiveSlides.js v1.32 - * http://responsiveslides.com - * http://viljamis.com - * - * Copyright (c) 2011-2012 @viljamis - * Available under the MIT license - */ - -/*jslint browser: true, sloppy: true, vars: true, plusplus: true, indent: 2 */ - -(function ($, window, i) { - $.fn.responsiveSlides = function (options) { - - // Default settings - var settings = $.extend({ - "auto": true, // Boolean: Animate automatically, true or false - "speed": 1000, // Integer: Speed of the transition, in milliseconds - "timeout": 4000, // Integer: Time between slide transitions, in milliseconds - "pager": false, // Boolean: Show pager, true or false - "nav": false, // Boolean: Show navigation, true or false - "random": false, // Boolean: Randomize the order of the slides, true or false - "pause": false, // Boolean: Pause on hover, true or false - "pauseControls": false, // Boolean: Pause when hovering controls, true or false - "prevText": "Previous", // String: Text for the "previous" button - "nextText": "Next", // String: Text for the "next" button - "maxwidth": "", // Integer: Max-width of the slideshow, in pixels - "controls": "", // Selector: Where controls should be appended to, default is after the <ul> - "namespace": "rslides", // String: change the default namespace used - before: function () {}, // Function: Before callback - after: function () {} // Function: After callback - }, options); - - return this.each(function () { - - // Index for namespacing - i++; - - var $this = $(this), - - // Local variables - selectTab, - startCycle, - restartCycle, - rotate, - $tabs, - - // Helpers - index = 0, - $slide = $this.children(), - length = $slide.size(), - fadeTime = parseFloat(settings.speed), - waitTime = parseFloat(settings.timeout), - maxw = parseFloat(settings.maxwidth), - - // Namespacing - namespace = settings.namespace, - namespaceIdx = namespace + i, - - // Classes - navClass = namespace + "_nav " + namespaceIdx + "_nav", - activeClass = namespace + "_here", - visibleClass = namespaceIdx + "_on", - slideClassPrefix = namespaceIdx + "_s", - - // Pager - $pager = $("<ul class='" + namespace + "_tabs " + namespaceIdx + "_tabs' />"), - - // Styles for visible and hidden slides - visible = {"float": "left", "position": "relative"}, - hidden = {"float": "none", "position": "absolute"}, - - // Fading animation - slideTo = function (idx) { - settings.before(); - $slide - .stop() - .fadeOut(fadeTime, function () { - $(this) - .removeClass(visibleClass) - .css(hidden); - }) - .eq(idx) - .fadeIn(fadeTime, function () { - $(this) - .addClass(visibleClass) - .css(visible); - settings.after(); - index = idx; - }); - }; - - // Random order - if (settings.random) { - $slide.sort(function () { - return (Math.round(Math.random()) - 0.5); - }); - $this - .empty() - .append($slide); - } - - // Add ID's to each slide - $slide.each(function (i) { - this.id = slideClassPrefix + i; - }); - - // Add max-width and classes - $this.addClass(namespace + " " + namespaceIdx); - if (options && options.maxwidth) { - $this.css("max-width", maxw); - } - - // Hide all slides, then show first one - $slide - .hide() - .eq(0) - .addClass(visibleClass) - .css(visible) - .show(); - - // Only run if there's more than one slide - if ($slide.size() > 1) { - - // Make sure the timeout is at least 100ms longer than the fade - if (waitTime < fadeTime + 100) { - return; - } - - // Pager - if (settings.pager) { - var tabMarkup = []; - $slide.each(function (i) { - var n = i + 1; - tabMarkup += - "<li>" + - "<a href='#' class='" + slideClassPrefix + n + "'>" + n + "</a>" + - "</li>"; - }); - $pager.append(tabMarkup); - - $tabs = $pager.find("a"); - - // Inject pager - if (options.controls) { - $(settings.controls).append($pager); - } else { - $this.after($pager); - } - - // Select pager item - selectTab = function (idx) { - $tabs - .closest("li") - .removeClass(activeClass) - .eq(idx) - .addClass(activeClass); - }; - } - - // Auto cycle - if (settings.auto) { - - startCycle = function () { - rotate = setInterval(function () { - - // Clear the event queue - $slide.stop(true, true); - - var idx = index + 1 < length ? index + 1 : 0; - - // Remove active state and set new if pager is set - if (settings.pager) { - selectTab(idx); - } - - slideTo(idx); - }, waitTime); - }; - - // Init cycle - startCycle(); - } - - // Restarting cycle - restartCycle = function () { - if (settings.auto) { - // Stop - clearInterval(rotate); - // Restart - startCycle(); - } - }; - - // Pause on hover - if (settings.pause) { - $this.hover(function () { - clearInterval(rotate); - }, function () { - restartCycle(); - }); - } - - // Pager click event handler - if (settings.pager) { - $tabs.bind("click", function (e) { - e.preventDefault(); - - if (!settings.pauseControls) { - restartCycle(); - } - - // Get index of clicked tab - var idx = $tabs.index(this); - - // Break if element is already active or currently animated - if (index === idx || $("." + visibleClass + ":animated").length) { - return; - } - - // Remove active state from old tab and set new one - selectTab(idx); - - // Do the animation - slideTo(idx); - }) - .eq(0) - .closest("li") - .addClass(activeClass); - - // Pause when hovering pager - if (settings.pauseControls) { - $tabs.hover(function () { - clearInterval(rotate); - }, function () { - restartCycle(); - }); - } - } - - // Navigation - if (settings.nav) { - var navMarkup = - "<a href='#' class='" + navClass + " prev'>" + settings.prevText + "</a>" + - "<a href='#' class='" + navClass + " next'>" + settings.nextText + "</a>"; - - // Inject navigation - if (options.controls) { - $(settings.controls).append(navMarkup); - } else { - $this.after(navMarkup); - } - - var $trigger = $("." + namespaceIdx + "_nav"), - $prev = $("." + namespaceIdx + "_nav.prev"); - - // Click event handler - $trigger.bind("click", function (e) { - e.preventDefault(); - - // Prevent clicking if currently animated - if ($("." + visibleClass + ":animated").length) { - return; - } - - // Adds active class during slide animation - // $(this) - // .addClass(namespace + "_active") - // .delay(fadeTime) - // .queue(function (next) { - // $(this).removeClass(namespace + "_active"); - // next(); - // }); - - // Determine where to slide - var idx = $slide.index($("." + visibleClass)), - prevIdx = idx - 1, - nextIdx = idx + 1 < length ? index + 1 : 0; - - // Go to slide - slideTo($(this)[0] === $prev[0] ? prevIdx : nextIdx); - if (settings.pager) { - selectTab($(this)[0] === $prev[0] ? prevIdx : nextIdx); - } - - if (!settings.pauseControls) { - restartCycle(); - } - }); - - // Pause when hovering navigation - if (settings.pauseControls) { - $trigger.hover(function () { - clearInterval(rotate); - }, function () { - restartCycle(); - }); - } - } - - } - - // Max-width fallback - if (typeof document.body.style.maxWidth === "undefined" && options.maxwidth) { - var widthSupport = function () { - $this.css("width", "100%"); - if ($this.width() > maxw) { - $this.css("width", maxw); - } - }; - - // Init fallback - widthSupport(); - $(window).bind("resize", function () { - widthSupport(); - }); - } - - }); - - }; -})(jQuery, this, 0);