# HG changeset patch # User veltr # Date 1370870593 -7200 # Node ID 26d288400bea78e5256822342cdb9f83d6a55df9 # Parent a4921d3fb6b85a48a2abd9a23274b1c2063cd762 Refactored Integration Directory diff -r a4921d3fb6b8 -r 26d288400bea integration/css/egonomy.css --- a/integration/css/egonomy.css Thu May 02 14:40:30 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,333 +0,0 @@ -/* http://meyerweb.com/eric/tools/css/reset/ - v2.0 | 20110126 - License: none (public domain) -*/ - -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; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} -body { - line-height: 1; -} -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; -} - -.clear{ - clear: both; -} - -input::-moz-focus-inner { - border: 0 none; - padding: 0; -} - -/* END RESET.CSS */ - -html { - font-family: Arial, Helvetica, sans-serif; -} - -body { - background: #FFFFFF; -} - -a { - text-decoration: none; color: inherit; -} - -a:hover { - text-decoration: underline; -} - -.fullwidth { - width: 100%; float: left; clear: both; -} - -header, .main { - width: 968px; margin: 0 auto; -} - -.header-wrap { - background: #666666; /* Old browsers */ - background: -moz-linear-gradient(top, #666666 20%, #333333 80%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(20%,#666666), color-stop(80%,#333333)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #666666 20%,#333333 80%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #666666 20%,#333333 80%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #666666 20%,#333333 80%); /* IE10+ */ - background: linear-gradient(to bottom, #666666 20%,#333333 80%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666666', endColorstr='#333333',GradientType=0 ); /* IE6-9 */ -} - -header { - height: 40px; -} - - -h1 { - font-weight: bold; - font-size: 24px; - text-shadow: 1px 1px 1px #000; color: #f0f0f0; -} - -nav { - text-align: right; color: #ffffff; font-size: 13px; margin: 5px 0; -} - -h2 { - font-size: 18px; font-weight: bold; color: #003366; - margin: 10px 0 5px; padding-bottom: 5px; border-bottom: 1px solid #666; -} - -h3 { - font-size: 13px; font-weight: bold; color: #555555; margin: 4px 0; -} - -h4 { - font-size: 12px; font-style: italic; margin: 4px 0; -} - -p { - font-size: 11px; margin: 4px 0; -} - -strong { - font-weight: bold; -} - -.main-wrap { - background: #ffffff; /* Old browsers */ - background: -moz-linear-gradient(top, #f0f0f0 20%, #ffffff 80%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(20%,#f0f0f0), color-stop(80%,#ffffff)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #f0f0f0 20%,#ffffff 80%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #f0f0f0 20%,#ffffff 80%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #f0f0f0 20%,#ffffff 80%); /* IE10+ */ - background: linear-gradient(to bottom, #f0f0f0 20%,#ffffff 80%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f0f0', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */ -} - -footer { - margin: 40px 0 20px; padding: 10px 0 0; border-top: 1px solid #666; -} - -.footer-list li { - float: right; margin-left: 10px; -} - -.search-field { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - border: none; background: #d0e0FF; - padding: 2px; margin: 2px 0; height: 20px; - font-size: 13px; width: 210px; float: left; - line-height: 20px; height: 20px; -} - -.search-type { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - border: none; background: #E0E0E0; - float: left; width: 100px; - padding: 2px; margin: 2px 0 0 1px; - font-size: 13px; - line-height: 20px; height: 20px; -} - -.placeholder { - background: #d0e0FF; -} - -.column { - float: left; margin: 6px 0 6px 16px; -} - -.subcol { - float: left; margin: 2px 0 4px 12px; -} - -.column-third { - float: left; width: 312px; -} - -.column-third:nth-child(3n+1) { - margin-left: 0; clear: left; -} - -.subcol-third-third { - width: 96px; -} - -.subcol-third-third:nth-child(3n+1) { - margin-left: 0; clear: left; -} - -.column-half { - width: 476px; -} - -.column-half:nth-child(2n+1) { - margin-left: 0; clear: left; -} - -.subcol-half-fourth { - width: 110px; -} - -.subcol-half-fourth:nth-child(4n+1) { - margin-left: 0; clear: left; -} - -.column-full { - margin-left: 0; width: 968px; -} - -.subcol-eighth { - width: 110px; margin-left: 12px; -} - -.subcol-eighth:nth-child(even) { - margin-left: 13px; -} - -.subcol-eighth:nth-child(8n+1) { - margin-left: 0; clear: left; -} - -.center-image { - text-align: center; -} - -.image-and-fragment { - position: relative; margin: 0 auto; display: inline-block; -} - -.center-image img { - display: inline-block; -} -/* -.image-and-fragment img:after { - content: "."; display: block; clear: both; width: 0; line-height: 0; visibility: hidden; -} -*/ -.image-and-fragment svg, .cutout-canvas { - position: absolute; top: 0; left: 0; width: 100%; height: 100%; -} - -/* STYLES SPECIFIQUES A home.html */ - -.homeviz { - float: left; width: 968px; height: 400px; margin: 2px 0 4px; -} - -/* STYLES SPECIFIQUES A image.html */ - -.image-metadata { - width: 100%; margin: 30px 0 0; font-size: 14px; -} - -.image-metadata th { - font-weight: bold; width: 152px; text-align: left; padding: 4px 10px 4px 0; vertical-align: top; -} - -.image-metadata td { - width: 314px; padding: 4px 0; -} - -.image-metadata input[type=text] { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - width: 100%; border: 1px solid #6699FF; background: #FFFFFF; - padding: 2px; margin: 3px 0; - font-size: 13px; -} - -.image-metadata textarea { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - width: 100%; border: 1px solid #6699FF; background: #FFFFFF; - padding: 2px; margin: 3px 0; height: 100px; - font-size: 13px; - resize: none; -} - -.image-keywords { - width: 100%; margin: 10px 0 0; -} - -.image-keywords th { - font-size: 14px; font-weight: bold; text-align: left; padding: 4px 0 4px 0; width: 33%; -} - -.image-keywords tbody tr:nth-child(odd) { - background: #e0e0e0; -} - -.image-keywords td { - font-size: 13px; text-align: left; padding: 4px 4px 4px 0; -} - -.add-button { - background: #D0E0FF; margin: 5px 0; padding: 6px; border-radius: 4px; color: #003366; - font-weight: bold; font-size: 13px; float: left; -} - -.big-button { - background: #D0E0FF; margin: 10px 0 10px 16px; padding: 8px; border-radius: 4px; color: #003366; - font-weight: bold; font-size: 15px; width: 214px; text-align: center; float: left; -} - -.big-button:first-child { - margin-left: 0; -} - -.highlight { - background: #ffff80; -} - -/* STYLES SPECIFIQUES A fragment-edit */ - -.head-button { - font-weight: bold; float: right; margin: 8px 0 0 2px; font-size: 20px; -} - -a.clear-fragment { - color: #800000; -} diff -r a4921d3fb6b8 -r 26d288400bea integration/fragment-edit-create-v1.html --- a/integration/fragment-edit-create-v1.html Thu May 02 14:40:30 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,152 +0,0 @@ - - - - - - eGonomy » Edit or Create Fragment - - - - - - - - -
-
-

TagItAll by eGonomy

-
- -
- -
-
-
- -
-
-
-
- × - -

Nouveau fragment :

-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
-
-
-

Fragments de cette image

-
    -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
-
-
- - - -
- -
- - diff -r a4921d3fb6b8 -r 26d288400bea integration/fragment-view-v1.html --- a/integration/fragment-view-v1.html Thu May 02 14:40:30 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,141 +0,0 @@ - - - - - - eGonomy » Fragment - - - - - -
-
-

TagItAll by eGonomy

-
- -
- -
-
-
- -
-
-
-

Titre du fragment

-
- - - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-

Fragments de cette image

-
    -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
-
-
- - - -
- -
- - diff -r a4921d3fb6b8 -r 26d288400bea integration/home-v1.html --- a/integration/home-v1.html Thu May 02 14:40:30 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,139 +0,0 @@ - - - - - - eGonomy » Accueil - - - - - -
-
-

TagItAll by eGonomy

-
- - -
- -
-
-
- -
-
- - - -
-

Dernières images annotées

-
    -
  • -
    - -
    -

    Titre de l'image

    -

    Annotée par Julien75

    -
  • -
  • -
    - -
    -

    Titre de l'image

    -

    Annotée par Julien75

    -
  • -
  • -
    - -
    -

    Titre de l'image

    -

    Annotée par Julien75

    -
  • -
  • -
    - -
    -

    Titre de l'image

    -

    Annotée par Julien75

    -
  • -
-
- - - -
-

Derniers fragments modifiés

-
    -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Fragment de Titre de l'image

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Fragment de Titre de l'image

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Fragment de Titre de l'image

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Fragment de Titre de l'image

    -

    Annoté par Julien75

    -
  • -
-
-
- - - -
- -
- - diff -r a4921d3fb6b8 -r 26d288400bea integration/home.html --- a/integration/home.html Thu May 02 14:40:30 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,141 +0,0 @@ - - - - - - eGonomy » Accueil - - - - - -
-
-

TagItAll by eGonomy

-
- -
- -
-
-
- -
-
-

Contenus à annoter

-
- Visualisation des contenus en souffrance -
-
-
-
-

Dernières images annotées

-
    -
  • -
    - -
    -

    Titre de l'image

    -

    Annotée par Julien75

    -
  • -
  • -
    - -
    -

    Titre de l'image

    -

    Annotée par Julien75

    -
  • -
  • -
    - -
    -

    Titre de l'image

    -

    Annotée par Julien75

    -
  • -
-
-
-

Derniers fragments annotés

-
    -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Fragment de Titre de l'image

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Fragment de Titre de l'image

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Fragment de Titre de l'image

    -

    Annoté par Julien75

    -
  • -
-
-
-

Derniers renkans créés

-
    -
  • -
    - -
    -

    Titre du Renkan

    -

    Créé par Julien75

    -
  • -
  • -
    - -
    -

    Titre du Renkan

    -

    Créé par Julien75

    -
  • -
  • -
    - -
    -

    Titre du Renkan

    -

    Créé par Julien75

    -
  • -
-
-
- - - -
- - - - diff -r a4921d3fb6b8 -r 26d288400bea integration/image-v1.html --- a/integration/image-v1.html Thu May 02 14:40:30 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,157 +0,0 @@ - - - - - - eGonomy » Image - - - - - -
-
-

TagItAll by eGonomy

-
- -
- -
-
-
- -
-
-
-

Titre de l'image

-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
-

Fragments de cette image

-
    -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
-
-
- - - -
- -
- - diff -r a4921d3fb6b8 -r 26d288400bea integration/image.html --- a/integration/image.html Thu May 02 14:40:30 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,184 +0,0 @@ - - - - - - eGonomy » Image - - - - - -
-
-

TagItAll by eGonomy

-
- -
- -
-
-
- -
-
-
-

Titre de l'image

-
- -
-
-
- - - - - - - - - - -

Mots-clés

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mot-cléRelation à l'imageSource / Annoté par
Louis XVest représenté(e)Import Base RMN
Marcel Duchampest l'auteurImport Base RMN
Parisest représenté(e)Enrichissement Pertimm
Libertéest symbolisé(e)Julien75
- - -
-
-
-
-

Fragments de cette image

-
    -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
  • -
    -
    - - - - -
    -
    -

    Titre du fragment

    -

    Annoté par Julien75

    -
  • -
-
-
-

Renkans utilisant cette image

-
    -
  • -
    - -
    -

    Titre du Renkan

    -

    Créé par Julien75

    -
  • -
  • -
    - -
    -

    Titre du Renkan

    -

    Créé par Julien75

    -
  • -
  • -
    - -
    -

    Titre du Renkan

    -

    Créé par Julien75

    -
  • -
  • -
    - -
    -

    Titre du Renkan

    -

    Créé par Julien75

    -
  • -
-
-
- - - -
- -
- - diff -r a4921d3fb6b8 -r 26d288400bea integration/img/empty.gif Binary file integration/img/empty.gif has changed diff -r a4921d3fb6b8 -r 26d288400bea integration/js/cutout.js --- a/integration/js/cutout.js Thu May 02 14:40:30 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,281 +0,0 @@ -$(function() { - - var startPath = $(".fragment-path").val(); - - var PATHCOLOR = "#ff00ff", - SELECTEDCOLOR = "#ffff00", - HANDLESIZE = 6; - - var jqs = $(".cutout-canvas"), - offset = jqs.offset(), - paper = new Raphael(jqs[0]), - closed = false, - rectangleMode = false, - closeTimeout, - points = []; - - paper.rect(0, 0, paper.width, paper.height) - .attr({ - stroke: "none", - fill: "#fff", - "fill-opacity": .01 - }) - .click(clickAddPoint) - .drag( - function(dx, dy, mx, my) { - - if (dx*dx+dy*dy < 4) { - return; - } - - if (!pathDragging) { - clearTimeout(closeTimeout); - closed = true; - resetPoints(); - for (var i = 0; i < 4; i++) { - addPoint(mx - offset.left, my - offset.top) - } - redrawPath(); - pathDragging = true; - rectangleMode = true; - } - - var x = mx - offset.left, - y = my - offset.top; - points[1].x = points[2].x = x; - points[2].y = points[3].y = y; - redrawPath(); - }, - function(mx, my) { - pathDragging = false; - }, - function() { - setTimeout(function() { - pointDragging = false; - },0); - } - ); - - function resetPoints() { - rectangleMode = false; - points.forEach(function(p) { - p.handle.remove(); - }); - points = []; - } - - function addPoint(x, y) { - - var dragdeltax, dragdeltay, pointDragging, - point = { - x: Math.floor(x), - y: Math.floor(y) - } - - var pointsWithSameX = [], pointsWithSameY = []; - - var pointrect = paper.rect(0, 0, HANDLESIZE, HANDLESIZE) - .attr({ - stroke: PATHCOLOR, - fill: PATHCOLOR, - "fill-opacity": .3 - }) - .hover(shapeMouseOver, shapeMouseOut) - .drag( - function(dx, dy) { - pointDragging = true; - point.x = dx + dragdeltax; - point.y = dy + dragdeltay; - if (rectangleMode) { - pointsWithSameX.forEach(function(p) { - p.x = point.x; - }); - pointsWithSameY.forEach(function(p) { - p.y = point.y; - }); - } - redrawPath(); - }, - function() { - dragdeltax = point.x; - dragdeltay = point.y; - if (rectangleMode) { - pointsWithSameX = points.filter(function(p) { - return p !== point && p.x === point.x; - }); - pointsWithSameY = points.filter(function(p) { - return p !== point && p.y === point.y; - }); - } - }, - function() { - setTimeout(function() { - pointDragging = false; - shapeMouseOut(pointrect); - },0); - } - ) - .click(function() { - if (pointDragging) { - return; - } - this.remove(); - points = points.filter(function(p) { - return p != point; - }); - redrawPath(); - }); - - point.handle = pointrect; - - points.push(point); - - } - - function clickAddPoint(e, mx, my) { - - if (pathDragging) { - return; - } - - if (rectangleMode) { - resetPoints(); - } - - clearTimeout(closeTimeout); - closed = false; - - addPoint(mx - offset.left, my - offset.top); - - redrawPath(); - - closeTimeout = setTimeout(function() { - closed = true; - redrawPath(); - }, 1000) - - } - - function shapeMouseOver() { - points.forEach(function(point) { - if (point.handle !== this) { - point.handle.attr({ - stroke: PATHCOLOR, - fill: PATHCOLOR - }); - } - }); - if (this !== path) { - path.attr({ - stroke: PATHCOLOR, - fill: PATHCOLOR - }); - } - this.attr({ - stroke: SELECTEDCOLOR, - fill: SELECTEDCOLOR - }); - } - - function shapeMouseOut() { - if (pathDragging || !this || !this.attr) { - return; - } - this.attr({ - stroke: PATHCOLOR, - fill: PATHCOLOR - }); - } - - function redrawPath() { - var d = "M" - + points.map(function(p) { return p.x + " " + p.y }).join("L") - + (closed ? "Z" : ""); - path.attr({ - path: d - }); - points.forEach(function(point) { - point.handle.attr({ - x: point.x - HANDLESIZE / 2, - y: point.y - HANDLESIZE / 2 - }); - }); - var transd = "M" - + points.map(function(p) { return (p.x / paper.width).toString().replace(/(\.\d{4})\d*/,"$1") + " " + (p.y / paper.height).toString().replace(/(\.\d{4})\d*/,"$1") }).join("L") - + "Z"; - $(".fragment-path").val(transd).change(); - } - - var dragdeltax, dragdeltay, pathDragging; - - var path = paper.path() - .attr({ - stroke: PATHCOLOR, - fill: PATHCOLOR, - "fill-opacity": .1 - }) - .click(clickAddPoint) - .hover(shapeMouseOver, shapeMouseOut) - .drag( - function(dx, dy) { - pathDragging = true; - points.forEach(function(point) { - point.x += dx - dragdeltax; - point.y += dy - dragdeltay; - }); - dragdeltax = dx; - dragdeltay = dy; - redrawPath(); - }, - function() { - dragdeltax = 0; - dragdeltay = 0; - }, - function() { - setTimeout(function() { - pathDragging = false; - shapeMouseOut(path); - },0); - } - ); - - $(".clear-fragment").click(function() { - resetPoints(); - redrawPath(); - return false; - }); - - function revertPath() { - startPath.split(/\s*[A-Z]\s*/).forEach(function(coords) { - xy = coords.split(/[\s,]/); - if (xy.length === 2) { - addPoint(paper.width * parseFloat(xy[0]), paper.height * parseFloat(xy[1])); - } - }); - - if (points.length) { - closed = true; - } - - if ( - points.length === 4 - && points[0].x === points[3].x - && points[0].y === points[1].y - && points[1].x === points[2].x - && points[2].y === points[3].y - ) { - rectangleMode = true; - } - - redrawPath(); - } - - revertPath(); - - $(".reset-fragment").click(function() { - resetPoints(); - revertPath(); - return false; - }) - -}); diff -r a4921d3fb6b8 -r 26d288400bea integration/lib/jquery.min.js --- a/integration/lib/jquery.min.js Thu May 02 14:40:30 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.match(lt)||[],function(e,n){t[n]=!0}),t}function i(e,n,r,i){if(st.acceptData(e)){var o,a,s=st.expando,u="string"==typeof n,l=e.nodeType,c=l?st.cache:e,f=l?e[s]:e[s]&&s;if(f&&c[f]&&(i||c[f].data)||!u||r!==t)return f||(l?e[s]=f=K.pop()||st.guid++:f=s),c[f]||(c[f]={},l||(c[f].toJSON=st.noop)),("object"==typeof n||"function"==typeof n)&&(i?c[f]=st.extend(c[f],n):c[f].data=st.extend(c[f].data,n)),o=c[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[st.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[st.camelCase(n)])):a=o,a}}function o(e,t,n){if(st.acceptData(e)){var r,i,o,a=e.nodeType,u=a?st.cache:e,l=a?e[st.expando]:st.expando;if(u[l]){if(t&&(r=n?u[l]:u[l].data)){st.isArray(t)?t=t.concat(st.map(t,st.camelCase)):t in r?t=[t]:(t=st.camelCase(t),t=t in r?[t]:t.split(" "));for(i=0,o=t.length;o>i;i++)delete r[t[i]];if(!(n?s:st.isEmptyObject)(r))return}(n||(delete u[l].data,s(u[l])))&&(a?st.cleanData([e],!0):st.support.deleteExpando||u!=u.window?delete u[l]:u[l]=null)}}}function a(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(Nt,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:wt.test(r)?st.parseJSON(r):r}catch(o){}st.data(e,n,r)}else r=t}return r}function s(e){var t;for(t in e)if(("data"!==t||!st.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function u(){return!0}function l(){return!1}function c(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function f(e,t,n){if(t=t||0,st.isFunction(t))return st.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return st.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=st.grep(e,function(e){return 1===e.nodeType});if(Wt.test(t))return st.filter(t,r,!n);t=st.filter(t,r)}return st.grep(e,function(e){return st.inArray(e,t)>=0===n})}function p(e){var t=zt.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function d(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function h(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function g(e){var t=nn.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function m(e,t){for(var n,r=0;null!=(n=e[r]);r++)st._data(n,"globalEval",!t||st._data(t[r],"globalEval"))}function y(e,t){if(1===t.nodeType&&st.hasData(e)){var n,r,i,o=st._data(e),a=st._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)st.event.add(t,n,s[n][r])}a.data&&(a.data=st.extend({},a.data))}}function v(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!st.support.noCloneEvent&&t[st.expando]){r=st._data(t);for(i in r.events)st.removeEvent(t,i,r.handle);t.removeAttribute(st.expando)}"script"===n&&t.text!==e.text?(h(t).text=e.text,g(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),st.support.html5Clone&&e.innerHTML&&!st.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Zt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function b(e,n){var r,i,o=0,a=e.getElementsByTagName!==t?e.getElementsByTagName(n||"*"):e.querySelectorAll!==t?e.querySelectorAll(n||"*"):t;if(!a)for(a=[],r=e.childNodes||e;null!=(i=r[o]);o++)!n||st.nodeName(i,n)?a.push(i):st.merge(a,b(i,n));return n===t||n&&st.nodeName(e,n)?st.merge([e],a):a}function x(e){Zt.test(e.type)&&(e.defaultChecked=e.checked)}function T(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Nn.length;i--;)if(t=Nn[i]+n,t in e)return t;return r}function w(e,t){return e=t||e,"none"===st.css(e,"display")||!st.contains(e.ownerDocument,e)}function N(e,t){for(var n,r=[],i=0,o=e.length;o>i;i++)n=e[i],n.style&&(r[i]=st._data(n,"olddisplay"),t?(r[i]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&w(n)&&(r[i]=st._data(n,"olddisplay",S(n.nodeName)))):r[i]||w(n)||st._data(n,"olddisplay",st.css(n,"display")));for(i=0;o>i;i++)n=e[i],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?r[i]||"":"none"));return e}function C(e,t,n){var r=mn.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function k(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=st.css(e,n+wn[o],!0,i)),r?("content"===n&&(a-=st.css(e,"padding"+wn[o],!0,i)),"margin"!==n&&(a-=st.css(e,"border"+wn[o]+"Width",!0,i))):(a+=st.css(e,"padding"+wn[o],!0,i),"padding"!==n&&(a+=st.css(e,"border"+wn[o]+"Width",!0,i)));return a}function E(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ln(e),a=st.support.boxSizing&&"border-box"===st.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=un(e,t,o),(0>i||null==i)&&(i=e.style[t]),yn.test(i))return i;r=a&&(st.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+k(e,t,n||(a?"border":"content"),r,o)+"px"}function S(e){var t=V,n=bn[e];return n||(n=A(e,t),"none"!==n&&n||(cn=(cn||st("